:root {
  color-scheme: light;
  --ink: #23213b;
  --accent: #443bcd;
  --soft-ink: #53536b;
  --paper: #fafaff;
  --cloud: #edf0ff;
  --gutter: clamp(1.35rem, 6vw, 5.5rem);
  --font: 'Avenir Next', 'Helvetica Neue', Arial, sans-serif;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; }
button { font: inherit; }
button[hidden] { display: none; }
p, h1, h2, dl, dd { margin: 0; }
img, video { display: block; width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }

.frame {
  width: min(100%, 91rem);
  padding-inline: var(--gutter);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: .75rem;
  left: .75rem;
  z-index: 3;
  transform: translateY(-200%);
  padding: .75rem 1rem;
  border-radius: .75rem;
  color: white;
  background: var(--accent);
}

.skip-link:focus { transform: none; }

.header { position: relative; z-index: 1; }
.header-inner {
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  color: var(--ink);
  font-size: 1.025rem;
  font-weight: 650;
  letter-spacing: -.025em;
  text-decoration: none;
}

nav { display: flex; align-items: center; gap: clamp(.95rem, 3vw, 2.65rem); }
nav a {
  padding-block: .75rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--soft-ink);
  text-decoration: none;
  text-underline-offset: .28em;
}

nav a:hover { color: var(--accent); text-decoration: underline; }

.hero, .watch {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero::before, .watch::before {
  --film-ink: #7060aa;
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border-block: 1px solid var(--film-ink);
  background:
    repeating-linear-gradient(90deg, var(--film-ink) 0 1px, transparent 1px 6.5rem) center / 100% calc(100% - 1.7rem) no-repeat,
    linear-gradient(var(--film-ink) 0 1px, transparent 1px calc(100% - 1px), var(--film-ink) calc(100% - 1px)) center / 100% calc(100% - 1.7rem) no-repeat,
    repeating-linear-gradient(90deg, var(--film-ink) 0 .5rem, transparent .5rem 1.1rem) left 0 top .24rem / 100% .25rem no-repeat,
    repeating-linear-gradient(90deg, var(--film-ink) 0 .5rem, transparent .5rem 1.1rem) left 0 bottom .24rem / 100% .25rem no-repeat,
    #7060aa18;
}

.hero::before {
  inset-inline-start: clamp(-10rem, -8vw, -4rem);
  inset-block-end: clamp(2.25rem, 5.3vw, 4.5rem);
  width: clamp(25rem, 45vw, 40rem);
  height: clamp(5rem, 8vw, 7rem);
  transform: rotate(-12deg);
  mask-image: linear-gradient(90deg, #000 20%, transparent 94%);
  opacity: .12;
}

.watch::before {
  inset-inline-end: -9rem;
  inset-block-start: 1.9rem;
  width: 32rem;
  height: 5rem;
  transform: rotate(11deg);
  mask-image: linear-gradient(90deg, transparent 6%, #000 78%);
  opacity: .08;
}

.hero {
  margin-top: -5rem;
  padding-top: 5rem;
  background:
    radial-gradient(ellipse at 88% 9%, #e3e3ff 0%, #eeedff 25%, transparent 57%),
    linear-gradient(133deg, #fffefd 9%, #f8f7ff 60%, #f3f3ff 100%);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(1.3rem, 2.4vw, 2.4rem);
  padding-block: clamp(1.65rem, 3.6vw, 4.25rem) clamp(4.2rem, 7.6vw, 8rem);
}

.hero-copy { padding-block: 1.1rem; }

.eyebrow {
  font-size: clamp(.94rem, 1.5vw, 1.13rem);
  font-weight: 600;
  color: var(--accent);
  margin-bottom: clamp(1rem, 2.25vw, 1.9rem);
}

h1, h2 { font-weight: 650; letter-spacing: -.065em; }
h1 { font-size: clamp(2.75rem, 6.35vw, 6.3rem); line-height: .985; }
h1 span { color: var(--accent); }

.hero-credit, .cities {
  color: var(--soft-ink);
  font-size: clamp(1.015rem, 1.5vw, 1.2rem);
  line-height: 1.5;
  max-width: 42ch;
}

.hero-credit {
  margin-top: clamp(1.2rem, 2.2vw, 1.85rem);
}
.hero-credit a { color: var(--ink); font-weight: 600; text-underline-offset: .2em; }
.cities { margin-top: .65rem; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .8rem;
  margin-top: 1.55rem;
}

.primary {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  min-height: 3.15rem;
  padding: .5rem 1.1rem .5rem .55rem;
  color: white;
  background: var(--accent);
  border-radius: 2rem;
  font-size: .94rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .18s ease;
}

.primary:hover { background: #3028b5; }

.social-links { display: flex; gap: .45rem; }
.social-links a {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid #dedaf6;
  border-radius: 50%;
  background: #fff;
}
.social-links a:hover { border-color: var(--accent); }
.social-links img { width: 1.85rem; height: 1.85rem; object-fit: contain; }

.play-mark {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: #ffffff25;
}

.play-icon {
  width: 0;
  height: 0;
  flex: none;
  border-block: .37rem solid transparent;
  border-left: .54rem solid currentColor;
}

.play-mark .play-icon { margin-left: .12rem; }

.portrait {
  min-width: 0;
  width: min(100%, 35rem);
  justify-self: end;
}

.portrait-frame {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1.02 / 1;
}

.portrait-frame::before {
  content: '';
  position: absolute;
  inset: 8% -3.5% -4% 9%;
  z-index: -1;
  border-radius: 2.2rem;
  background: #cbc5fd;
  transform: rotate(4deg);
}

.portrait-track {
  display: flex;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  border-radius: clamp(1.45rem, 3vw, 2.45rem);
  box-shadow: 0 1rem 2.5rem #37316120;
  background: #807e77;
}

.portrait-track::-webkit-scrollbar { display: none; }

.portrait-slide {
  flex: 0 0 100%;
  min-width: 0;
  height: 100%;
  margin: 0;
  scroll-snap-align: start;
}

.portrait-slide img {
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
}

.portrait-slide--full {
  background:
    linear-gradient(#39393b, #545351 22%, #5f5b58 42%, #56524f 59%, #6e6d6b 72%, #979694 86%, #9c9c9c) left / 50% 100% no-repeat,
    linear-gradient(#3d3d3d, #535250 22%, #5c5855 42%, #51504c 59%, #605f5b 72%, #949492 86%, #909191) right / 50% 100% no-repeat;
}
.portrait-slide--full img { object-fit: contain; object-position: center; }
.portrait-slide--long, .portrait-slide--wide { background: #5a5753; }
.portrait-slide--long img, .portrait-slide--wide img { object-fit: contain; object-position: center; }
.portrait-slide--seated img { object-position: center 55%; }
.portrait-slide--motion img { object-position: center 62%; }

.portrait-controls:not([hidden]) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(.5rem, 2vw, 1.2rem);
  margin-top: 1.75rem;
}

.portrait-thumbs {
  display: flex;
  flex: 1 1 0;
  gap: clamp(.2rem, 1.25vw, .65rem);
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}
.portrait-thumbs::-webkit-scrollbar { display: none; }

.portrait-controls button {
  color: var(--accent);
  cursor: pointer;
  background: #fff;
}

.portrait-thumbs button {
  display: block;
  flex: 0 0 clamp(2.6rem, 8vw, 3.75rem);
  min-width: 0;
  height: clamp(2.65rem, 8vw, 3.35rem);
  padding: .14rem;
  border: 2px solid transparent;
  border-radius: .7rem;
  background: #ffffff8c;
}
.portrait-thumbs button:focus-visible { outline-offset: -2px; }

.portrait-thumbs img {
  height: 100%;
  object-fit: cover;
  object-position: center 39%;
  border-radius: .45rem;
}

.portrait-thumbs .thumb-long img { object-fit: contain; background: #898580; }
.portrait-thumbs button[aria-current="true"] { border-color: var(--accent); }
.portrait-thumbs button:hover { background: #dcd8ff; }

.portrait-nav { display: flex; gap: clamp(.22rem, .8vw, .45rem); }
.portrait-nav button {
  display: grid;
  place-items: center;
  width: clamp(2.45rem, 5vw, 2.95rem);
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid #dedaf7;
  border-radius: 50%;
}
.portrait-nav button:hover { background: #eae7ff; }
.portrait-nav span {
  width: .48rem;
  height: .48rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translateX(-.07rem) rotate(45deg);
}
.portrait-prev span { transform: translateX(.07rem) rotate(225deg); }

.portrait-status {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.section { padding-block: clamp(3.15rem, 6.5vw, 6rem); }
h2 { font-size: clamp(2.35rem, 4.15vw, 4.15rem); line-height: 1.05; }

.watch { background: #fff; }
.video-layout {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: clamp(1.6rem, 5vw, 5rem);
}

.section-copy p, .contact p {
  margin-top: 1rem;
  max-width: 28ch;
  font-size: clamp(1.03rem, 1.55vw, 1.18rem);
  line-height: 1.55;
  color: var(--soft-ink);
}

.player {
  position: relative;
  overflow: hidden;
  background: #d6d5e0;
  border-radius: clamp(1rem, 2.2vw, 1.65rem);
}

.player video { aspect-ratio: 16 / 9; height: auto; }

.play {
  display: flex;
  align-items: center;
  gap: .65rem;
  position: absolute;
  inset-block-end: clamp(.7rem, 3vw, 1.3rem);
  inset-inline-start: clamp(.7rem, 3vw, 1.3rem);
  min-height: 2.95rem;
  padding: .6rem .95rem;
  border: none;
  border-radius: 2rem;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
}

.play:hover { background: #eeedff; }
.play .play-icon { color: var(--accent); }
.play .duration { color: var(--soft-ink); font-size: .875rem; font-variant-numeric: tabular-nums; }
.play .duration:empty { display: none; }

.about {
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
  background: #fcfbff;
}
.about .video-layout { align-items: start; }
.about-copy {
  max-width: 62ch;
  color: var(--soft-ink);
  font-size: clamp(1.03rem, 1.55vw, 1.18rem);
  line-height: 1.6;
}
.about-copy p + p { margin-top: .85rem; }

.experience { background: #f5f6ff; }
.experience h2 { margin-bottom: clamp(1.4rem, 3vw, 2.6rem); }
.experience dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.8rem, 1.65vw, 1.45rem);
}

.credit {
  border-radius: 1.25rem;
  padding: clamp(1.1rem, 2.35vw, 1.7rem);
  background: #fff;
}
.credit dt { font-size: clamp(1.13rem, 2vw, 1.45rem); font-weight: 650; }
.credit dd { margin-top: .42rem; font-size: 1.015rem; line-height: 1.48; color: var(--soft-ink); }
.credit dd strong { color: var(--ink); }
.credit-venue { display: block; margin-top: .4rem; }
.credit[id] { scroll-margin-top: 1.25rem; }
.credit-links { display: flex; flex-wrap: wrap; gap: .45rem 1rem; margin-top: .85rem; }
.credit-links .section-link { margin-top: 0; }
.section-link {
  display: inline-block;
  margin-top: .85rem;
  color: var(--accent);
  font-weight: 600;
  text-underline-offset: .22em;
}
.credit dd > .section-link:first-child { margin-top: 0; }

.dance { background: linear-gradient(135deg, #fff5ee, #fff9f6 55%, #f9f5ff); }
.dance-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(1.2rem, 3vw, 2.2rem);
}
.dance-header p { margin-top: .6rem; color: #73514e; font-size: 1.05rem; }
.dance-nav[hidden] { display: none; }
.dance-nav button {
  color: #85394d;
  background: #fff;
  border-color: #ead8d8;
  cursor: pointer;
}
.dance-nav button:hover { background: #fce6e9; }
.dance-nav button:disabled { opacity: .44; background: #fff; cursor: default; }

.dance-track {
  --photo-gap: clamp(.65rem, 1.8vw, 1.5rem);
  position: relative;
  display: flex;
  gap: var(--photo-gap);
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}
.dance-track::-webkit-scrollbar { display: none; }
.dance-photo {
  flex: 0 0 calc((100% - 2 * var(--photo-gap)) / 3);
  margin: 0;
  overflow: hidden;
  border-radius: clamp(1rem, 2.6vw, 1.8rem);
  background: #71514a;
  scroll-snap-align: start;
}
.dance-photo img { height: auto; aspect-ratio: 2 / 3; }

.more-videos { background: #f8f6ff; }
.video-gallery-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .75rem 1.5rem;
  margin-bottom: clamp(1.4rem, 3vw, 2.6rem);
}
.video-gallery-header .section-link { margin: 0; }
.video-gallery-links { display: flex; flex-wrap: wrap; gap: .6rem 1.1rem; }
.gallery-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
  align-items: start;
  gap: clamp(.9rem, 1.75vw, 1.6rem);
}
.gallery-video {
  min-width: 0;
  padding: .7rem;
  border-radius: 1.35rem;
  background: #fff;
}
.gallery-video[id] { scroll-margin-top: 1.25rem; }
.gallery-video:target { outline: 2px solid #7566ba; outline-offset: 3px; }
.gallery-player { position: relative; }
.gallery-video video {
  aspect-ratio: 9 / 16;
  object-fit: contain;
  border-radius: .95rem;
  background: #2e253f;
}
.gallery-video--wide video { aspect-ratio: 16 / 9; }
.gallery-play {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 3.15rem;
  height: 3.15rem;
  padding: 0;
  color: #fff;
  background: #23213bd9;
  border: 1px solid #ffffff92;
  border-radius: 50%;
  cursor: pointer;
}
.gallery-play:hover { background: var(--accent); }
.gallery-play .play-icon { margin-left: .16rem; }
.commercials {
  margin-top: clamp(2.4rem, 5vw, 4.2rem);
  padding-top: clamp(1.65rem, 3vw, 2.6rem);
  border-top: 1px solid #7566ba32;
  scroll-margin-top: 1.25rem;
}
.commercials h3 { margin: 0 0 1.25rem; font-size: clamp(1.6rem, 3vw, 2.6rem); }
.commercial-projects, .commercial-videos--pair {
  display: grid;
  gap: clamp(.9rem, 1.75vw, 1.6rem);
  align-items: start;
}
.commercial-projects { grid-template-columns: minmax(0, 4fr) minmax(0, 1fr); }
.commercial-projects h4 { margin: 0 0 .75rem; font-size: 1.12rem; }
.commercial-videos--pair {
  grid-template-columns: minmax(0, 3fr) minmax(10rem, 1fr);
  align-items: stretch;
}
.commercial-projects > section:last-child .gallery-video { max-width: 20rem; }

@media (min-width: 871px) {
  .commercial-projects > section {
    display: grid;
    grid-row: span 2;
    grid-template-rows: subgrid;
    row-gap: .75rem;
  }
  .commercial-projects h4 { margin-bottom: 0; }
}

.contact { background: #fff; }
.contact-layout {
  width: min(calc(100% - 2 * var(--gutter)), 80rem);
  padding: clamp(1.5rem, 4.2vw, 4.15rem);
  border-radius: clamp(1.25rem, 3vw, 2.4rem);
  text-align: center;
  background: linear-gradient(120deg, #e7e4ff, #edf0ff 60%, #f5eeff);
}
.contact p { margin: 1rem auto 0; max-width: 50ch; }
.contact-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 1.1rem clamp(.75rem, 2vw, 1.6rem);
  width: min(100%, 35rem);
  margin: 1.4rem auto 0;
  padding-top: 1.15rem;
  border-top: 1px solid #7566ba32;
  font-style: normal;
}
.contact-method { display: grid; justify-items: center; gap: .15rem; min-width: 0; }
.contact-method a {
  width: fit-content;
  max-width: 100%;
  color: var(--accent);
  font-weight: 650;
  overflow-wrap: anywhere;
  text-underline-offset: .2em;
}
.contact-label { color: var(--soft-ink); font-size: .94rem; line-height: 1.45; }

@media (max-width: 870px) {
  .video-layout { grid-template-columns: 1fr; gap: 1.55rem; }
  .section-copy p { max-width: 38ch; }
  .dance-photo { flex-basis: calc((100% - var(--photo-gap)) / 2); }
  .commercial-projects { grid-template-columns: 1fr; gap: 1.75rem; }
}

@media (max-width: 680px) {
  .header-inner { min-height: 4rem; }
  .hero { margin-top: -4rem; padding-top: 4rem; }
  .hero::before {
    inset-inline: auto -10.5rem;
    inset-block: 14.5rem auto;
    width: 23rem;
    height: 4.6rem;
    mask-image: linear-gradient(90deg, transparent 10%, #000 76%);
    opacity: .085;
  }
  .watch::before { inset-inline-end: -19rem; inset-block-start: .8rem; }
  .hero-layout, .experience dl { grid-template-columns: 1fr; }
  .hero-layout { padding-top: 1.3rem; padding-bottom: 3.5rem; gap: 1.35rem; }
  .hero-copy { padding: .65rem 0 .55rem; }
  h1 { font-size: clamp(2.65rem, 10.75vw, 4.8rem); }
  .hero-credit { margin-top: 1.05rem; }
  .hero-actions { margin-top: 1.1rem; }
  .portrait { justify-self: center; width: calc(100% - .5rem); }
  .portrait-frame { aspect-ratio: 1.06 / 1; }
  .portrait-frame::before { inset: 9% -2% -3% 7%; border-radius: 1.55rem; }
  .portrait-slide:not(.portrait-slide--full, .portrait-slide--long, .portrait-slide--wide, .portrait-slide--seated, .portrait-slide--motion) img { object-position: center 31%; }
  .portrait-slide--motion img { object-position: center 57%; }
  .portrait-controls:not([hidden]) { margin-top: 1rem; }
  .dance-photo { flex-basis: 82%; }
}

@media (max-width: 700px) {
  .commercial-videos--pair { grid-template-columns: 1fr; }
  .commercial-videos .gallery-video:not(.gallery-video--wide) { max-width: 20rem; }
}

@media (max-width: 500px) {
  .contact-details { grid-template-columns: 1fr; }
}

@media (max-width: 355px) {
  .header-inner { padding-inline: 1rem; gap: .4rem; }
  .wordmark { font-size: .95rem; }
  nav { gap: .5rem; }
  nav a { font-size: .85rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .primary { transition: none; }
}
