:root {
  color-scheme: light;
  --paper: #f7f4ed;
  --ink: #191914;
  --muted: #544f47;
  --blue: #2739d5;
  --blue-deep: #1f2daf;
  --pink: #f9a2c2;
  --line: #c9c1b3;
  --stage: #202638;
  --stage-light: #faf4e8;
  --stage-muted: #d6d2cb;
  --gold: #f2ce95;
  --gold-paper: #ede0cb;
  --gold-ink: #7c5426;
  --gutter: clamp(1.15rem, 5.2vw, 5.75rem);
  --sans: "Helvetica Neue", "PingFang SC", Arial, "Microsoft YaHei", sans-serif;
  --serif: "Baskerville", Georgia, "Times New Roman", serif;
  --mono: "SFMono-Regular", Consolas, monospace;
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body, h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }
section[id], footer[id] { scroll-margin-top: .75rem; }
.shell { width: min(calc(100% - var(--gutter) * 2), 90rem); margin-inline: auto; }
.skip-link {
  position: fixed;
  z-index: 5;
  top: 1rem;
  left: 1rem;
  transform: translateY(-180%);
  padding: .8rem 1rem;
  background: var(--ink);
  color: white;
}
.skip-link:focus { transform: none; }

.masthead, .site-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.masthead { min-height: 4.55rem; border-bottom: 1px solid var(--line); }
nav { display: flex; align-items: center; gap: clamp(.65rem, 2.5vw, 2.55rem); font-size: .92rem; font-weight: 720; }
nav a, .site-footer a { padding-block: .6rem; }
nav a:hover, .site-footer a:hover { color: var(--blue); }
nav .contact-link { padding: .62rem .9rem; color: var(--blue); box-shadow: inset 0 0 0 1px currentColor; }
nav .contact-link:hover { background: var(--blue); color: white; }

.feature {
  --frame-ratio: 9 / 16;
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
  gap: clamp(1.65rem, 5.1vw, 5.5rem);
  align-items: center;
  min-height: calc(100svh - 4.55rem);
  padding-block: clamp(1.7rem, 4vw, 4.1rem);
}
.intro { container-type: inline-size; }
.section-kicker {
  display: flex;
  align-items: center;
  gap: .72rem;
  font-size: .82rem;
  font-weight: 650;
  letter-spacing: .16em;
}
.section-kicker::before {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: currentColor;
}
.intro-name {
  display: block;
  width: fit-content;
  margin-left: -.035em;
  font: 400 clamp(3.5rem, 27cqw, 7.65rem) / .85 var(--serif);
  letter-spacing: -.065em;
}
.intro-name span { display: block; color: var(--gold-ink); font-style: italic; }
.intro-role {
  margin-top: 1.55rem;
  color: var(--gold-ink);
  font: 600 clamp(.86rem, 3.8cqw, 1rem) / 1.52 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.intro-role span { display: inline-block; white-space: nowrap; }
.intro-copy {
  max-width: 23em;
  margin-top: .86rem;
  color: var(--muted);
  font-size: clamp(1rem, 3.8cqw, 1.12rem);
  line-height: 1.72;
  text-wrap: pretty;
}
.intro-links, .contact-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .62rem 1.18rem; margin-top: 1.55rem; }
.action-link, .copy-brief {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: .6rem 1.05rem;
  border: 1px solid transparent;
  background: var(--blue);
  color: #fff;
  font-size: .94rem;
  font-weight: 760;
  transition: background-color 160ms ease, transform 160ms ease;
}
.action-link:hover { background: var(--blue-deep); transform: translateY(-2px); }
.action-link:active, .copy-brief:active { transform: translateY(1px); }
.text-link { font-size: .94rem; font-weight: 720; text-decoration: underline; text-underline-offset: .29em; }
.text-link:hover { color: var(--blue); }

.feature-reel { min-width: 0; }
.feature-roles {
  margin-top: .7rem;
  color: var(--gold-ink);
  font-size: clamp(.8rem, 1.15vw, .89rem);
  line-height: 1.55;
  font-weight: 650;
  letter-spacing: .055em;
  text-align: right;
}
.showcase {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr);
  align-items: end;
  position: relative;
  gap: clamp(.8rem, 2.4vw, 2.45rem);
  padding: clamp(1.05rem, 2.75vw, 2.7rem);
  overflow: hidden;
  background: var(--stage);
  color: var(--stage-light);
}
.showcase::before {
  content: "";
  width: clamp(1.2rem, 3vw, 2.7rem);
  height: 1px;
  background: var(--gold);
  position: absolute;
  top: clamp(.9rem, 2vw, 1.85rem);
  left: clamp(1.05rem, 2.75vw, 2.7rem);
}
.screen { min-width: 0; grid-column: 2; grid-row: 1; }
.frame {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: var(--frame-ratio);
  background: #141722;
  outline: 1px solid rgb(250 244 232 / 20%);
}
.frame video { grid-area: 1 / 1; display: block; width: 100%; height: 100%; aspect-ratio: var(--frame-ratio); object-fit: contain; }
.play {
  grid-area: 1 / 1;
  z-index: 1;
  display: grid;
  place-items: center;
  place-self: end;
  width: clamp(2.8rem, 5.2vw, 4.35rem);
  aspect-ratio: 1;
  margin: .8rem;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease;
}
.feature[data-project="myclinic-talk"] .play { align-self: start; }
.play:hover { transform: scale(1.04); background: var(--stage-light); }
.play:active { transform: scale(.98); }
.showcase :focus-visible { outline-color: var(--gold); }
.play-icon { width: 0; height: 0; margin-left: .17rem; border-block: .48rem solid transparent; border-inline-start: .79rem solid currentColor; }
.fallback-video { position: absolute; bottom: 1rem; left: 1rem; padding: .5rem; background: var(--paper); color: var(--ink); }
.play-status { margin-top: .45rem; color: white; font-size: .9rem; }
.feature-info { min-width: 0; grid-column: 1; grid-row: 1; }
.feature-stills { display: none; }
.project-category { color: var(--gold); font-size: .92rem; font-weight: 650; letter-spacing: .08em; }
.feature-info h2 {
  margin-block: .32rem .68rem;
  font: italic 400 clamp(2.25rem, 3.5vw, 4rem) / 1.04 var(--serif);
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}
.feature[data-project="twinkle-blossom"] .feature-info h2 { font-size: clamp(1.78rem, 3.05vw, 3.6rem); }
.project-description { max-width: 19em; color: var(--stage-muted); font-size: .96rem; line-height: 1.7; }
.project-specs {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem .8rem;
  margin-top: .85rem;
  padding-top: .58rem;
  border-top: 1px solid rgb(250 244 232 / 18%);
  color: var(--stage-muted);
  font: .91rem var(--mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: .035em;
}
.picker { margin-top: 1.05rem; }
.picker-label { margin-bottom: .52rem; color: var(--stage-muted); font-size: .88rem; font-weight: 650; }
.picker-items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .46rem; max-width: 10rem; }
.picker-button {
  display: block;
  aspect-ratio: 5 / 6;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 52%);
  background: var(--stage);
  cursor: pointer;
  transition: opacity 180ms ease;
}
.picker-button img { width: 100%; height: 100%; object-fit: cover; }
.picker-button:not([aria-pressed="true"]) { opacity: .73; }
.picker-button:hover { opacity: 1; }
.picker-button[aria-pressed="true"] { outline: 1px solid var(--gold); outline-offset: 3px; }
.picker-button:focus-visible { outline: 2px dashed var(--stage-light); outline-offset: 4px; }

.archive { background: #ede8dd; padding-block: clamp(3.65rem, 8vw, 7.25rem); }
.section-top { text-align: center; margin-bottom: clamp(2.75rem, 5.1vw, 4.85rem); }
.section-top h2 {
  font-size: clamp(2.1rem, 4.1vw, 4.05rem);
  line-height: 1.1;
  font-weight: 720;
  letter-spacing: -.06em;
}
.section-top h2 span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  margin-top: .47em;
  color: var(--gold-ink);
  font: italic 400 clamp(1rem, 1.9vw, 1.53rem) / 1 var(--serif);
  letter-spacing: 0;
}
.section-top h2 span::before, .section-top h2 span::after { content: ""; width: .95em; border-top: 1px solid var(--line); }
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  width: min(93%, 65rem);
  margin-inline: auto;
}
.work-card {
  --poster: #ff6c3a;
  --poster-ink: #191411;
  --angle: -4deg;
  --cover-y: 60%;
  --drop: clamp(.9rem, 1.9vw, 1.65rem);
  position: relative;
  display: grid;
  min-width: 0;
  margin-inline: -.6rem;
  margin-top: var(--drop);
  padding: clamp(.62rem, 1.2vw, 1rem);
  border: 0;
  background: var(--poster);
  color: var(--poster-ink);
  box-shadow: 0 2px 0 rgb(21 21 21 / 14%);
  text-align: left;
  cursor: pointer;
  transform: rotate(var(--angle));
  transition: transform 195ms ease, box-shadow 195ms ease;
}
.work-card:nth-child(2) { --poster: var(--blue); --poster-ink: #fff; --angle: .8deg; --cover-y: 47%; --drop: 0rem; z-index: 1; }
.work-card:nth-child(3) { --poster: var(--pink); --angle: 3.6deg; --drop: clamp(1.45rem, 3.4vw, 3rem); }
.work-card:hover, .work-card:focus-visible { z-index: 2; box-shadow: 0 .65rem 1.1rem rgb(21 21 21 / 13%); transform: translateY(-3px) rotate(var(--angle)); }
.work-card:active { transform: translateY(1px) rotate(var(--angle)); }
.work-card:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.work-cover { display: block; width: 100%; min-width: 0; aspect-ratio: 5 / 5.65; overflow: hidden; background: var(--ink); }
.work-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center var(--cover-y); transition: transform 190ms ease; }
.work-card:hover img { transform: scale(1.025); }
.work-caption {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "name ratio" "specs ratio";
  align-items: center;
  gap: .29rem .55rem;
  padding: .77rem .44rem .26rem;
}
.work-card:first-child .work-caption { padding-inline-end: 1.95rem; }
.work-card:last-child .work-caption { padding-inline-start: 1.05rem; }
.work-name { grid-area: name; font-size: clamp(1.27rem, 2.55vw, 2.25rem); line-height: 1.1; font-weight: 790; letter-spacing: -.053em; }
.work-card[data-project="twinkle-blossom"] .work-name { font-size: clamp(1.06rem, 1.95vw, 1.72rem); }
.work-specs { grid-area: specs; font-size: .88rem; line-height: 1.4; }
.work-ratio { grid-area: ratio; font: 600 .82rem / 1 var(--mono); white-space: nowrap; }

.collection-nav {
  margin-top: clamp(2.2rem, 5.5vw, 4.25rem);
  justify-content: center;
  flex-wrap: wrap;
  gap: .5rem clamp(.65rem, 3.6vw, 2.6rem);
}
.collection-nav a { color: var(--gold-ink); font-size: .84rem; font-weight: 650; text-decoration: underline; text-underline-offset: .4em; }

.collection, .project-archive, .studies { background: #191817; color: var(--stage-light); }
.collection + .collection, .collection + .project-archive, .project-archive + .collection { border-top: 1px solid #554a3c; }
.collection-inner, .project-archive-inner { padding-block: clamp(3.65rem, 8.15vw, 7.5rem); }
.project-archive-heading { margin-bottom: clamp(2rem, 4.5vw, 3.6rem); }
.collection h2, .project-archive h2, .studies h2 {
  font-size: clamp(2rem, 3.75vw, 3.55rem);
  line-height: 1.16;
  letter-spacing: -.055em;
  font-weight: 710;
}
.collection-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .9rem 2rem;
  margin-bottom: clamp(2rem, 4.5vw, 3.6rem);
}
.collection-heading > p { max-width: 23em; color: var(--stage-muted); font-size: 1rem; line-height: 1.68; }
.social-grid, .series-grid { display: grid; gap: clamp(.9rem, 1.7vw, 1.45rem); }
.social-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.social-grid > article { grid-column: span 2; }
.social-grid > article:nth-child(-n+2) { grid-column: span 3; }
.series-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.collection-links { display: flex; flex-wrap: wrap; align-items: start; gap: .3rem 1rem; margin-top: auto; padding-top: 1.1rem; }
.project-note .collection-links a { margin-top: 0; padding-block: .2rem; }

.reels-collection { background: #1f1d1a; }
.reels-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 24rem);
  align-items: center;
  gap: clamp(1.75rem, 9vw, 8rem);
  max-width: 75rem;
}
.reels-copy { padding-block: 1rem; }
.reels-copy h2 { font: 400 clamp(2.3rem, 5vw, 4.15rem) / 1.03 var(--serif); letter-spacing: -.052em; }
.reels-credit { color: var(--stage-muted); line-height: 1.6; margin-block: 1.05rem 1.55rem; }
.reels-copy a { color: var(--gold); text-decoration: underline; text-underline-offset: .3em; font-size: .93rem; }
.reels-copy a:hover { color: var(--stage-light); }
.reels-preview { width: min(100%, 16.75rem); justify-self: center; }
.reels-preview video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: contain; background: #26211b; border: 1px solid #554a3c; }
.reels-preview figcaption { display: flex; justify-content: space-between; gap: .6rem; padding-block: .65rem 0; color: var(--stage-muted); font-size: .88rem; }
.reels-preview figcaption span + span { font-family: var(--mono); }

.editing-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #554a3c; }
.editing-list li { border-bottom: 1px solid #554a3c; }
.editing-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .48fr) auto;
  align-items: center;
  gap: .5rem 1.5rem;
  min-height: 3.7rem;
  padding: .85rem .2rem;
}
.editing-list a:hover { color: var(--gold); }
.editing-type { color: var(--stage-muted); font-size: .9rem; }
.editing-action { color: var(--gold); font-size: .9rem; text-decoration: underline; text-underline-offset: .28em; }

.design-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.35rem); }
.design-project { scroll-margin-top: 1rem; }
.design-project a { display: block; border: 1px solid #554a3c; }
.design-project a:hover { border-color: var(--gold); }
.design-project img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: contain; background: #26211b; }
.design-project figcaption { display: grid; gap: .35rem; padding-top: .7rem; }
.design-project figcaption strong { font: 400 clamp(1.2rem, 1.85vw, 1.65rem) / 1.2 var(--serif); }
.design-project figcaption span { color: var(--stage-muted); font-size: .86rem; line-height: 1.55; }
.project-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.9rem, 1.7vw, 1.45rem); }
.project-note {
  display: flex;
  flex-direction: column;
  padding: clamp(1.15rem, 2.5vw, 2.1rem);
  border: 1px solid #554a3c;
  background: #211e1a;
  transition: border-color 170ms ease;
}
.project-note:hover, .project-note:focus-within { border-color: #98774c; }
.project-note h3,
.production-credits h3 { font-size: clamp(1.22rem, 1.9vw, 1.72rem); letter-spacing: -.025em; line-height: 1.25; }
.project-note h3:lang(en), .project-note h3 > span:lang(en) { font-family: var(--serif); font-weight: 400; letter-spacing: -.025em; }
.project-note h3 { margin-block: .56rem .8rem; }
.project-note p, .production-credits details > p { color: var(--stage-muted); font-size: .96rem; line-height: 1.72; }
.project-note .project-note-type { color: var(--gold); font-size: .82rem; }
.project-note-type span { margin-inline: .24em; }
.project-note a {
  align-self: start;
  padding-top: 1.22rem;
  margin-top: auto;
  color: var(--gold);
  font-size: .94rem;
  text-decoration: underline;
  text-underline-offset: .27em;
}
.project-note a span { margin-inline-start: .38rem; font: .82rem var(--mono); }
.project-note a:hover { color: var(--stage-light); }
.production-credits { margin-top: clamp(2.5rem, 6vw, 4.8rem); }
.production-credits h3 { margin-bottom: 1.1rem; }
.production-credits details { border-top: 1px solid #554a3c; }
.production-credits details:last-child { border-bottom: 1px solid #554a3c; }
.production-credits summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .8fr) 1rem;
  align-items: center;
  gap: .45rem 1.25rem;
  min-height: 3.65rem;
  padding: .75rem .15rem;
  list-style: none;
  cursor: pointer;
}
.production-credits summary::-webkit-details-marker { display: none; }
.production-credits summary::after { content: "+"; justify-self: center; color: var(--gold); font: 1.12rem var(--mono); }
.production-credits details[open] summary::after { content: "−"; }
.credit-title { font-size: 1.03rem; font-weight: 690; }
.credit-role { color: var(--gold); font-size: .87rem; }
.production-credits summary:hover .credit-title { color: var(--gold); }
.production-credits details > p { max-width: 40rem; padding: 0 .15rem .95rem; }
.collection :focus-visible, .project-archive :focus-visible, .studies :focus-visible { outline-color: var(--gold); }
.studies { border-top: 1px solid #554a3c; }
.studies-inner { padding-block: clamp(3.65rem, 8.15vw, 7.5rem); }
.studies-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .65rem 1.25rem;
  margin-bottom: clamp(2rem, 4.5vw, 3.6rem);
}
.section-kicker { color: var(--gold-ink); text-transform: uppercase; margin-bottom: .7rem; }
.collection .section-kicker, .project-archive .section-kicker, .studies .section-kicker, .study-category { color: var(--gold); }
.studies-note { color: var(--stage-muted); font-size: .94rem; }
.study-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.8rem, 2.4vw, 2.2rem); }
.study-card {
  display: grid;
  grid-template-columns: minmax(0, 10.5rem) minmax(0, 1fr);
  align-items: center;
  gap: clamp(.9rem, 2.4vw, 2rem);
  padding: clamp(.9rem, 2vw, 1.6rem);
  border: 1px solid #554a3c;
}
.study-card:focus-within { border-color: var(--gold); }
.study-card video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #25211c;
  object-fit: contain;
}
.study-copy { min-width: 0; }
.study-copy p { color: var(--stage-muted); font-size: .94rem; line-height: 1.55; }
.study-copy .study-category { color: var(--gold); }
.study-copy h3 { margin-block: .38rem .55rem; font-size: clamp(1.35rem, 2.4vw, 2rem); letter-spacing: -.035em; }
.study-copy .study-format { margin-top: 1rem; font-family: var(--mono); font-size: .8rem; white-space: nowrap; }

.closing { background: var(--gold-paper); }
.closing-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
  align-items: end;
  gap: 1.25rem clamp(1.8rem, 7vw, 6rem);
  padding-block: clamp(2.45rem, 6.2vw, 5.65rem);
}
.closing h2 { font-size: clamp(2rem, 3.65vw, 3.5rem); line-height: 1.14; letter-spacing: -.055em; }
.contact-panel > p { max-width: 25em; line-height: 1.67; }
.contact-email {
  display: inline-block;
  margin-top: .8rem;
  color: var(--gold-ink);
  font-size: .94rem;
  text-decoration: underline;
  text-underline-offset: .28em;
  overflow-wrap: anywhere;
}
.contact-email:hover { color: var(--blue); }
.contact-actions { margin-top: .98rem; }
.contact-panel .action-link { background: var(--ink); }
.contact-panel .action-link:hover { background: var(--blue); }
.copy-brief { border-color: var(--ink); background: transparent; color: var(--ink); cursor: pointer; }
.copy-brief:hover { background: var(--ink); color: white; }
.brief-status { margin-top: .6rem; font-size: .93rem; }
#brief-text { width: 100%; min-height: 5.5rem; margin-top: .55rem; border: 1px solid var(--ink); background: white; padding: .65rem; }
.site-footer { min-height: 3.9rem; border-top: 1px solid var(--line); }
.site-footer a { font-size: .94rem; }

.edit-cursor { display: none; }
@media (any-hover: hover) and (any-pointer: fine) {
  .edit-cursor-active, .edit-cursor-active :is(a[href], button, summary) { cursor: none; }
  .edit-cursor {
    display: block;
    position: fixed;
    inset: 0 auto auto 0;
    z-index: 10;
    pointer-events: none;
    visibility: hidden;
    width: 24px;
    height: 24px;
    translate: -50% -50%;
    color: #785626;
  }
  .edit-cursor[data-dark] { color: #efcb90; }
  .edit-cursor-active .edit-cursor { visibility: visible; }
  .edit-cursor::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid currentColor;
    border-radius: 50%;
    opacity: 0;
    scale: .72;
    transition: opacity 160ms ease-out, scale 180ms ease-out;
  }
  .edit-cursor[data-action]::before { opacity: .75; scale: 1; }
  .edit-cursor > span { position: absolute; inset: 50% auto auto 50%; width: 5px; height: 5px; translate: -50% -50%; border-radius: 50%; background: currentColor; }
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(.75rem); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes reveal-name {
  from { opacity: 0; clip-path: inset(-32% -20% 101%); transform: translateY(.9rem); }
  to { opacity: 1; clip-path: inset(-32% -20% -32%); transform: translateY(0); }
}
@keyframes reveal-showcase {
  from { opacity: 0; transform: translateX(.6rem); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes rise-on-scroll {
  from { opacity: 0; translate: 0 .95rem; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes extend-rule {
  from { scale: .25 1; }
  to { scale: 1; }
}

@media (prefers-reduced-motion: no-preference) {
  [data-enter] { animation: rise-in 970ms cubic-bezier(.18, .7, .22, 1) var(--entrance-delay, 0ms) backwards; }
  [data-enter="name"] { --entrance-delay: 290ms; animation-name: reveal-name; animation-duration: 1320ms; }
  [data-enter="role"] { --entrance-delay: 630ms; }
  [data-enter="copy"] { --entrance-delay: 1010ms; }
  [data-enter="actions"] { --entrance-delay: 1130ms; }
  [data-enter="showcase"] { --entrance-delay: 590ms; animation-name: reveal-showcase; animation-duration: 1450ms; }
  [data-enter]:focus-within { animation: none; }

  [data-reveal-state="pending"] { opacity: 0; translate: 0 .95rem; }
  [data-reveal-state="shown"] {
    animation: rise-on-scroll 720ms cubic-bezier(.18, .68, .22, 1) var(--reveal-delay, 0ms) backwards;
  }
  [data-reveal-state]:focus-within { opacity: 1; translate: none; animation: none; }
  [data-reveal="heading"][data-reveal-state] .section-kicker::before { transform-origin: left; }
  [data-reveal="heading"][data-reveal-state="pending"] .section-kicker::before { scale: .25 1; }
  [data-reveal="heading"][data-reveal-state="shown"] .section-kicker::before { animation: extend-rule 780ms cubic-bezier(.18, .68, .22, 1) backwards; }
  [data-reveal-grid] > :nth-child(3n + 2) { --reveal-delay: 75ms; }
  [data-reveal-grid] > :nth-child(3n) { --reveal-delay: 150ms; }
}

@media (min-width: 1100px) {
  .showcase { grid-template-columns: minmax(0, 1fr) minmax(0, min(55%, 23.3rem, 34svh)); }
}
@media (min-width: 1200px) and (min-height: 790px) {
  .feature-stills {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3px;
    margin-bottom: 1.45rem;
  }
  .feature-stills img { width: 100%; height: auto; aspect-ratio: 1.5; object-fit: cover; object-position: center 41%; }
}
@media (max-width: 880px) {
  .feature { gap: clamp(1.2rem, 3.6vw, 2.6rem); grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
  .showcase { grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); }
  .showcase::before { display: none; }
  .feature-info h2 { font-size: 2.2rem; }
  .project-description { font-size: .88rem; }
  .work-card:first-child .work-caption { padding-inline-end: .62rem; }
  .work-card:last-child .work-caption { padding-inline-start: .55rem; }
  .work-caption { gap: .3rem .35rem; padding-inline: .15rem; }
}
@media (max-width: 700px) {
  .masthead { min-height: 3.65rem; }
  nav { font-size: .88rem; gap: .7rem; }
  nav .contact-link { padding: .36rem .55rem; }
  .feature { grid-template-columns: minmax(0, 1fr); min-height: calc(100svh - 3.65rem); align-content: start; padding-block: 1.55rem 2.05rem; }
  .intro-name { font-size: clamp(3.15rem, 15.9cqw, 6.75rem); }
  .intro-name span { display: inline; }
  .intro-role { margin-top: .9rem; }
  .intro-copy { max-width: 27em; margin-top: .68rem; }
  .intro-links { margin-top: .95rem; }
  .showcase { grid-template-columns: minmax(0, .92fr) minmax(0, min(53%, 15.5rem)); align-items: center; }
  .project-description { line-height: 1.55; }
  .feature-info h2 { margin-block: .22rem .43rem; }
  .project-specs, .picker { margin-top: .62rem; }
  .work-grid { width: min(95%, 37rem); }
  .work-card { margin-inline: -.23rem; }
  .work-ratio { display: none; }
  .work-caption { grid-template-columns: minmax(0, 1fr); grid-template-areas: "name" "specs"; }
  .study-grid, .closing-inner { grid-template-columns: 1fr; }
  .study-card { grid-template-columns: minmax(0, 43%) minmax(0, 1fr); }
  .project-notes { grid-template-columns: 1fr; }
  .social-grid, .series-grid { grid-template-columns: 1fr; }
  .social-grid > article, .social-grid > article:nth-child(-n+2) { grid-column: auto; }
  .design-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reels-inner { grid-template-columns: 1fr; }
  .reels-copy { padding-block: 0; }
  .reels-preview { justify-self: start; }
  [data-reveal-grid] > [data-reveal-state] { --reveal-delay: 0ms; }
  .production-credits summary { grid-template-columns: minmax(0, 1fr) 1rem; }
  .production-credits summary::after { grid-column: 2; grid-row: 1 / span 2; }
  .credit-role { grid-column: 1; grid-row: 2; }
}
@media (max-width: 480px) {
  .archive { padding-block: 3.25rem 3.7rem; }
  .work-grid { grid-template-columns: minmax(0, 1fr); width: min(80%, 16.5rem); }
  .work-card { margin: 0; }
  .work-card:nth-child(2), .work-card:nth-child(3) { margin-top: -.4rem; }
  .work-card:nth-child(2) { z-index: auto; }
  .work-card:nth-child(3) { --angle: -2.6deg; }
  .work-card:hover, .work-card:focus-visible { z-index: 2; }
  .work-cover { aspect-ratio: 5 / 4.5; }
  .work-caption { padding-bottom: .43rem; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name ratio" "specs ratio"; }
  .work-ratio { display: block; }
  .design-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .editing-list a { grid-template-columns: minmax(0, 1fr) auto; gap: .35rem .75rem; }
  .editing-type { grid-row: 2; }
  .editing-action { grid-column: 2; grid-row: 1 / span 2; }
}
@media (max-width: 355px) {
  .masthead { flex-wrap: wrap; padding-block: .45rem; gap: .1rem .45rem; }
  .showcase { gap: .7rem; padding: .85rem; }
  .project-description { display: none; }
  .feature-info h2 { font-size: 1.76rem; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
