: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 {
  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; }
.phone-frame {
  --phone-bezel: clamp(.24rem, .52vw, .4rem);
  --phone-corner: clamp(1.2rem, 3.1vw, 2.22rem);
  --phone-screen-corner: calc(var(--phone-corner) - var(--phone-bezel));
  position: relative;
  padding: var(--phone-bezel);
  border: 1px solid #978d84;
  border-radius: var(--phone-corner);
  background: linear-gradient(145deg, #766d63, #201d1d 26%, #514a46 70%, #211e1d);
  box-shadow: 0 1.3rem 3.5rem rgb(0 0 0 / 46%), inset 0 0 0 2px #312e2c;
}
.phone-frame::before, .phone-frame::after, .phone-screen::after {
  position: absolute;
  pointer-events: none;
  content: "";
}
.phone-frame::before {
  inset: 16% auto auto -3px;
  width: 2px;
  height: min(5.4%, 1.9rem);
  border-radius: 3px;
  background: #716862;
  box-shadow: 0 2.3rem #716862;
}
.phone-frame::after {
  z-index: 2;
  top: 2.65%;
  left: 50%;
  width: 13.5%;
  height: 1.55%;
  border-radius: 1rem;
  background: #030304;
  translate: -50%;
}
.phone-screen {
  position: relative;
  overflow: hidden;
  border: 1px solid #080807;
  border-radius: var(--phone-screen-corner);
  aspect-ratio: 1206 / 2622;
  background: #10100f;
}
.phone-screen::after {
  z-index: 1;
  inset: auto auto .4rem 50%;
  width: 31%;
  height: .14rem;
  border-radius: 1rem;
  background: rgb(250 244 232 / 66%);
  translate: -50%;
}
#feature-frame {
  aspect-ratio: 719 / 1500;
  padding: 0;
  border: 0;
  border-radius: 15.3% / 7.33%;
  background: linear-gradient(152deg, #74777b, #292a2e 30%, #3b3e44 65%, #17191b);
  box-shadow: 0 1.3rem 3.5rem rgb(0 0 0 / 42%), inset 0 0 0 1px rgb(188 194 201 / 44%);
}
#feature-frame::before {
  inset: 14% auto auto -1px;
  width: 2px;
  height: 3%;
  background: #46494f;
  box-shadow: 0 1.05em #46494f, 0 2em #46494f;
}
#feature-frame::after {
  z-index: 3;
  top: 3.1%;
  width: 21%;
  height: 1.8%;
  background: radial-gradient(circle at 85% 50%, #252935, #08090b 8%, #030305 17%);
}
.phone-side-controls::before, .phone-side-controls::after {
  content: "";
  position: absolute;
  right: -1px;
  width: 2px;
  border-radius: 2px;
  background: #46494f;
}
.phone-side-controls::before { top: 24%; height: 7%; }
.phone-side-controls::after { top: 69%; height: 5%; }
#feature-frame .phone-screen--video {
  position: absolute;
  inset: 1.7% 3.65%;
  border: 0;
  border-radius: 13% / 6%;
  aspect-ratio: auto;
  background: #08090b;
  box-shadow: 0 0 0 2px #090a0d;
}
#feature-frame .phone-screen--video::after {
  z-index: 2;
  bottom: 1.5%;
  height: .10rem;
  width: 32%;
}
.screen-backdrop, .phone-screen--video video, .feature-concept {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.screen-backdrop {
  display: none;
  background: var(--screen-poster, url('media/oaka-ad.jpg')) center / 100% 100%;
  filter: blur(.55rem) brightness(.73) saturate(.85);
  scale: 1.09;
}
.screen-backdrop.is-playing { filter: none; scale: 1; }
#feature-frame[data-format="9:16"] .screen-backdrop { display: block; }
.phone-screen--video video, .feature-concept {
  z-index: 1;
  object-fit: contain;
}
.phone-screen--video .fallback-video { z-index: 2; }
.sound-toggle {
  display: flex;
  align-items: center;
  gap: .45rem;
  min-height: 2.75rem;
  margin-block-start: .35rem;
  margin-inline-start: auto;
  padding: .35rem .65rem;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: var(--stage-light);
  font-size: .8rem;
  cursor: pointer;
}
.sound-toggle:hover { border-color: rgb(250 244 232 / 32%); }
.sound-toggle span { padding: .08rem .3rem; border: 1px solid currentColor; border-radius: .22rem; color: var(--stage-muted); }
.sound-toggle[aria-pressed="true"] span { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.showcase :focus-visible { outline-color: var(--gold); }
.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, .studies {
  --section-bg: #191817;
  --section-ink: var(--stage-light);
  --section-muted: var(--stage-muted);
  --section-accent: var(--gold);
  --section-line: #554a3c;
  --section-card: #211e1a;
  --section-hover: #98774c;
  --section-media: #26211b;
  background: var(--section-bg);
  color: var(--section-ink);
}
[data-tone="light"] {
  --section-bg: var(--paper);
  --section-ink: var(--ink);
  --section-muted: var(--muted);
  --section-accent: var(--gold-ink);
  --section-line: #d9cdbb;
  --section-card: #fffcf5;
  --section-hover: #a48255;
  --section-media: #eee7da;
}
.collection + .collection { border-top: 1px solid var(--section-line); }
.collection-inner { padding-block: clamp(3.65rem, 8.15vw, 7.5rem); }
.collection 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(--section-muted); font-size: 1rem; line-height: 1.68; }
#social .collection-inner { max-width: 62rem; }
.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: clamp(.35rem, .68vw, .6rem);
}
.social-grid > .project-note {
  position: relative;
  aspect-ratio: 1;
  padding: clamp(1.25rem, 2.6vw, 2.15rem);
}
.social-grid .project-note-type { line-height: 1.4; }
.project-duties {
  display: grid;
  gap: .13rem;
  margin: 0;
  padding-inline-start: 1em;
  color: #a39885;
  font-size: .8125rem;
  line-height: 1.42;
}
.project-duties li::marker { font-size: .7em; }
.social-grid .collection-links { padding-top: .8rem; }
.social-grid .profile-link::after { content: ""; position: absolute; inset: 0; }
.social-grid .profile-link:focus-visible { outline: none; }
.social-grid .profile-link:focus-visible::after { outline: 2px solid var(--section-accent); outline-offset: 3px; }
.series-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.9rem, 1.7vw, 1.45rem); }
.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 {
  --section-bg: #171615;
  position: relative;
  isolation: isolate;
  overflow: clip;
}
.reels-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: radial-gradient(ellipse at 74% 45%, #4c4540, var(--section-bg) 76%);
  pointer-events: none;
}
.reels-backdrop video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 44%;
  filter: saturate(.42) brightness(.72);
}
.reels-backdrop::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(20 19 18 / 89%), rgb(20 19 18 / 21%) 71%, rgb(20 19 18 / 52%)),
    linear-gradient(0deg, rgb(20 19 18 / 86%), transparent 30%, transparent 70%, rgb(20 19 18 / 48%));
  content: "";
}
.reels-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, min(47%, 23rem));
  align-items: center;
  gap: clamp(2rem, 7vw, 6.5rem);
  max-width: 69rem;
  padding-block: clamp(3.25rem, 6.4vw, 6rem);
}
.reels-copy { padding-block: 1rem; }
.reels-copy h2 {
  margin-block-start: .7rem;
  font: 400 clamp(3rem, 6vw, 5.5rem) / .94 var(--serif);
  letter-spacing: -.055em;
}
.reels-copy h2 em { color: var(--section-accent); font-weight: inherit; }
.reels-credit { color: var(--section-muted); line-height: 1.55; margin-block: 1.15rem 1.05rem; font-size: .9rem; }
.reels-copy a { color: var(--section-accent); text-decoration: underline; text-underline-offset: .3em; font-size: .93rem; }
.reels-copy a:hover { color: var(--section-ink); }
.reel-picker {
  display: flex;
  flex-wrap: wrap;
  gap: .42rem;
  min-inline-size: 0;
  margin: 1.5rem 0 0;
  padding: 0;
  border: 0;
}
.episode-option {
  display: grid;
  gap: .35rem;
  width: clamp(3.25rem, 7.5vw, 4.45rem);
  min-height: 2.75rem;
  padding: .23rem .23rem .36rem;
  border: 1px solid rgb(250 244 232 / 36%);
  border-radius: .25rem;
  background: rgb(23 22 21 / 62%);
  color: var(--section-ink);
  font: 600 .74rem / 1 var(--mono);
  letter-spacing: .025em;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.episode-option img { width: 100%; aspect-ratio: 1.35; border-radius: .14rem; object-fit: cover; object-position: center 33%; }
.episode-option:hover { border-color: var(--section-accent); }
.episode-option[aria-pressed="true"] {
  border-color: var(--section-accent);
  background: var(--section-accent);
  color: var(--ink);
}
.reels-preview { width: min(100%, 17.75rem); justify-self: center; }
.reels-phone {
  --phone-bezel: .4rem;
  --phone-corner: 2.22rem;
  --phone-screen-corner: 1.83rem;
  box-shadow: 0 1.3rem 3.5rem rgb(0 0 0 / 56%), inset 0 0 0 2px #312e2c;
}
.reels-phone::before { height: 1.9rem; }
.reels-phone::after { top: .86rem; height: .66rem; background: #070707; }
.reels-screen { color: #fff; }
.reels-screen video {
  position: absolute;
  inset: 7.5% 0 auto;
  display: block;
  width: 100%;
  height: 85%;
  border: 0;
  object-fit: contain;
}
.reels-top, .reels-overlay { position: absolute; inset-inline: 0; pointer-events: none; }
.reels-top {
  inset-block-start: 0;
  padding: 1.16rem .88rem .48rem;
  font-size: .9rem;
  font-weight: 700;
}
.reels-overlay {
  inset-block-end: 0;
  display: flex;
  align-items: end;
  justify-content: space-between;
  padding: .95rem .9rem .82rem;
  background: linear-gradient(transparent, rgb(0 0 0 / 72%));
}
.reels-byline { font-size: .83rem; }
.reels-pending {
  display: grid;
  position: absolute;
  inset: 7.5% 0;
  z-index: 1;
  align-content: center;
  justify-items: center;
  gap: .7rem;
  padding: 1.15rem;
  background: radial-gradient(ellipse at 68% 30%, #423832, #171615 82%);
  text-align: center;
  font-size: .84rem;
  line-height: 1.45;
}
.reels-preview figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .6rem;
  min-height: 2.75rem;
  margin-block-start: .55rem;
  color: var(--section-muted);
  font-size: .8rem;
}
.reels-tools .reel-source { color: var(--section-accent); text-decoration: underline; text-underline-offset: .26em; }
.reels-tools .reel-source:hover { color: var(--section-ink); }
.reels-tools .sound-toggle { margin-block-start: 0; }

.editing-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--section-line); }
.editing-list li { border-bottom: 1px solid var(--section-line); }
.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(--section-accent); }
.editing-type { color: var(--section-muted); font-size: .9rem; }
.editing-action { color: var(--section-accent); font-size: .9rem; text-decoration: underline; text-underline-offset: .28em; }

#visual-design {
  --design-index-row-height: 2.75rem;
  --design-index-safe-top: env(safe-area-inset-top, 0px);
  --design-index-padding: .375rem;
  --design-index-ink: #654955;
}
.design-index, .design-feature {
  width: min(100%, 42rem);
  margin-inline: auto;
}
.design-index {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: max-content;
  margin-block-end: clamp(1.85rem, 4vw, 3.25rem);
  padding-block: calc(var(--design-index-padding) + var(--design-index-safe-top)) var(--design-index-padding);
  background: var(--section-bg);
  box-shadow: 0 1px 0 var(--section-line);
}
.design-index a {
  display: grid;
  place-items: center;
  min-width: 6rem;
  min-height: var(--design-index-row-height);
  padding: .25rem .22rem;
  border: 1px solid var(--section-line);
  border-radius: .35rem;
  background: var(--section-card);
  color: var(--design-index-ink);
  font-size: .78rem;
  white-space: nowrap;
}
.design-index a:hover { border-color: var(--section-hover); color: var(--section-ink); }
.design-index a[aria-current="location"] {
  border-color: var(--design-index-ink);
  background: var(--design-index-ink);
  color: var(--section-card);
}
.design-index a:focus-visible { outline-offset: 2px; }
.design-feature, .design-tile {
  scroll-margin-top: calc(var(--design-index-safe-top) + 2 * var(--design-index-padding) + var(--design-index-row-height) + 1rem);
}
.design-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2px, .28vw, 4px);
  overflow: hidden;
  border: 1px solid var(--section-line);
  border-radius: clamp(.5rem, 1.15vw, .95rem);
  background: var(--section-card);
}
.design-feature-heading {
  display: grid;
  gap: .4rem;
  margin-block-end: clamp(.8rem, 2vw, 1.45rem);
}
.design-feature-heading h3 {
  font: 400 clamp(2.15rem, 5.2vw, 3.45rem) / 1 var(--serif);
  letter-spacing: -.055em;
}
.design-feature-type {
  color: #654955;
  font-size: .75rem;
  font-weight: 650;
  line-height: 1.32;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.design-tile {
  position: relative;
  display: block;
  min-width: 0;
  aspect-ratio: var(--design-tile-ratio, 1);
  padding: 0;
  border: 0;
  background: var(--section-media);
  cursor: zoom-in;
}
.design-tile--portrait { --design-tile-ratio: 4 / 5; }
.design-tile:focus-visible { outline-offset: -4px; }
.design-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: filter 180ms ease;
}
.design-tile:hover img { filter: brightness(1.06); }
.design-note {
  max-width: 42ch;
  margin: .85rem auto 0;
  color: var(--section-muted);
  font-size: .88rem;
  line-height: 1.6;
  text-align: center;
}
:root:has(.design-lightbox[open]) { overflow: hidden; }
.design-lightbox {
  max-width: calc(100% - 1.5rem);
  max-height: calc(100% - 1.5rem);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--stage-light);
  overscroll-behavior: contain;
}
.design-lightbox::backdrop { background: rgb(18 16 17 / 88%); }
.design-lightbox form { display: flex; align-items: center; gap: .35rem; margin-block-end: .5rem; }
.design-lightbox button {
  min-height: 2.75rem;
  padding: .35rem .8rem;
  border: 1px solid rgb(250 244 232 / 45%);
  border-radius: 4px;
  background: #211e1e;
  cursor: pointer;
}
.design-lightbox button:focus-visible { outline: 2px solid var(--gold); outline-offset: -3px; }
.design-lightbox button[aria-disabled="true"] { opacity: .45; cursor: default; }
.design-lightbox-arrow { min-width: 2.75rem; font-size: 1.35rem; line-height: 1; }
.design-lightbox-position { min-width: 3rem; text-align: center; font: .78rem var(--mono); }
.design-lightbox-close { margin-inline-start: auto; }
.design-lightbox-viewport {
  position: relative;
  width: min(52rem, calc(100vw - 1.5rem), calc(100vh - 5rem));
  width: min(52rem, calc(100vw - 1.5rem), calc(100dvh - 5rem));
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: .55rem;
  background: #211e1e;
  touch-action: pan-y pinch-zoom;
  user-select: none;
  cursor: grab;
}
.design-lightbox-viewport[data-dragging] { cursor: grabbing; }
.design-lightbox-track {
  position: absolute;
  inset: 0;
  display: flex;
  transform: translate3d(calc(var(--design-slide, 0%) + var(--design-drag, 0px)), 0, 0);
  transition: transform 260ms cubic-bezier(.22, .7, .24, 1);
}
.design-lightbox-viewport[data-dragging] .design-lightbox-track { transition: none; }
.design-lightbox-track img {
  display: block;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  min-width: 0;
  object-fit: contain;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .design-lightbox-track { transition: none; }
}

.project-note {
  display: flex;
  flex-direction: column;
  padding: clamp(1.15rem, 2.5vw, 2.1rem);
  border: 1px solid var(--section-line);
  background: var(--section-card);
  transition: border-color 170ms ease;
}
.project-note:hover, .project-note:focus-within { border-color: var(--section-hover); }
.project-note 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 { color: var(--section-muted); font-size: .96rem; line-height: 1.72; }
.project-note .project-note-type { color: var(--section-accent); font-size: .82rem; }
.project-note a {
  align-self: start;
  padding-top: 1.22rem;
  margin-top: auto;
  color: var(--section-accent);
  font-size: .94rem;
  text-decoration: underline;
  text-underline-offset: .27em;
}
.project-note a:hover { color: var(--section-ink); }
.series-card { padding: 0; }
.series-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(16rem, 27vw, 25rem);
  background: var(--section-media);
}
.series-episode, .series-concept-image {
  display: block;
  width: auto;
  max-width: 100%;
  height: 100%;
  aspect-ratio: var(--episode-ratio, 9 / 16);
  object-fit: contain;
}
.series-sound {
  position: absolute;
  right: .55rem;
  bottom: .55rem;
  padding-inline: .5rem;
  background: rgb(25 24 23 / 90%);
}
.series-card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(1.15rem, 2.25vw, 1.8rem);
}
.series-card h3 { margin-block: 0 .6rem; }
.series-card .collection-links { padding-top: .85rem; }
.series-card .series-concept-credit { margin-top: auto; padding-top: .85rem; color: var(--section-accent); font-size: .85rem; }
.collection :focus-visible, .studies :focus-visible { outline-color: var(--section-accent); }
.studies { border-top: 1px solid var(--section-line); }
.studies-inner { padding-block: clamp(3.65rem, 8.15vw, 7.5rem); }
.studies-heading { margin-bottom: clamp(2rem, 4.5vw, 3.6rem); }
.section-kicker { color: var(--gold-ink); text-transform: uppercase; margin-bottom: .7rem; }
.collection .section-kicker, .studies .section-kicker, .study-category { color: var(--section-accent); }
.study-card {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(.9rem, 3.2vw, 3.5rem);
  padding: clamp(.9rem, 2vw, 1.6rem);
  border: 1px solid var(--section-line);
}
.study-card:focus-within { border-color: var(--section-accent); }
.study-media { min-width: 0; }
.study-media video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #25211c;
  object-fit: contain;
}
.study-copy { min-width: 0; }
.study-copy p { max-width: 24em; color: var(--section-muted); font-size: .94rem; line-height: 1.55; }
.study-copy .study-category { color: var(--section-accent); }
.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, 29svh)); }
}
@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-card, .closing-inner { grid-template-columns: 1fr; }
  .series-grid { grid-template-columns: 1fr; }
  .series-stage { height: min(93vw, 27rem); }
  [data-reveal-grid] > [data-reveal-state] { --reveal-delay: 0ms; }
}
@media (max-width: 620px) {
  #social .collection-inner { max-width: 23rem; }
}
@media (max-width: 600px) {
  .reels-inner { grid-template-columns: 1fr; gap: 1.55rem; }
  .reels-copy { padding-block: 0; }
  .reels-backdrop::after { background: linear-gradient(180deg, rgb(20 19 18 / 91%), rgb(20 19 18 / 30%) 66%, rgb(20 19 18 / 88%)); }
}
@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; }
  .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; }
}
