/* =========================================================================
   VITTI — portfolio styles
   Palette mapped from color_palette_3.jpg
   Display: Oswald (condensed, light weight) · Body: Plus Jakarta Sans · Signature: handwritten PNG
   ========================================================================= */

:root {
  /* ---- Color ---- */
  --pearl:        #1A2C30;  /* Black Pearl — base */
  --pearl-raise:  #223a40;  /* lifted panel (derived) */
  --pearl-deep:   #14232a;  /* deeper wells (derived) */
  --bone:         #EFE7D8;  /* text / light */
  --bone-dim:     #b8b1a6;  /* muted text (derived) */
  --orange:       #FE7E3C;  /* Burnt Orange — primary accent */
  --lagoon:       #0E6873;  /* Blue Lagoon — secondary accent */
  --lust:         #E4201B;  /* Lust — punch, sparing */
  --copper:       #61413C;  /* Copper — earth / hairlines */

  /* ---- Type ---- */
  --display: "Oswald", "Arial Narrow", sans-serif;   /* condensed, weights 200–700 */
  --body:    "Plus Jakarta Sans", system-ui, sans-serif;

  /* ---- Rhythm ---- */
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --maxw: 1400px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  font-family: var(--body);
  background: var(--pearl);
  color: var(--bone);
  line-height: 1.55;
  font-size: 1.02rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--orange); color: var(--pearl); }

/* Display titles: keep the blocky caps identity, but thin (Oswald 300) */
.project__title, .footer__cta, .proj-hero__title, .proj-credits__role,
.proj-next__inner a, .cover .ph, .about__photo .ph {
  text-transform: uppercase; font-weight: 300;
}

/* ---------- Page-load / transition blur ---------- */
.page {
  opacity: 0;
  filter: blur(14px);
  transform: translateY(10px);
  transition: opacity .7s var(--ease), filter .7s var(--ease), transform .7s var(--ease);
}
body.is-loaded .page { opacity: 1; filter: blur(0); transform: none; }
body.is-leaving .page { opacity: 0; filter: blur(14px); transform: translateY(-10px); }

/* ---------- Custom cursor ---------- */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; border-radius: 50%; }
.cursor-dot  { width: 7px;  height: 7px;  background: var(--orange); transform: translate(-50%, -50%); }
.cursor-ring { width: 34px; height: 34px; border: 1.5px solid var(--orange); transform: translate(-50%, -50%);
               transition: width .25s var(--ease), height .25s var(--ease), background .25s var(--ease), opacity .25s var(--ease); }
.cursor-ring.is-hover { width: 60px; height: 60px; background: rgba(254,126,60,.14); }
body.cursor-on { cursor: none; }
body.cursor-on a, body.cursor-on button { cursor: none; }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* ---------- Loading bar (page switch) ---------- */
.loadbar {
  position: fixed; left: 0; bottom: 0; height: 3px; width: 0;
  background: var(--orange); z-index: 10002;   /* above the eyebrow loader (10001) */
  box-shadow: 0 0 6px rgba(254,126,60,.6);
  transition: width .5s var(--ease), opacity .3s ease;
  opacity: 0;
}
.loadbar.run { opacity: 1; }

/* ---------- Eyebrow loader (page load + transitions) ---------- */
.loader { position: fixed; inset: 0; z-index: 10001; display: grid; place-items: center; background: var(--pearl);
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s var(--ease); }
.loader.show { opacity: 1; visibility: visible; }
/* hide the custom cursor while the loader is up so it can't sit over the face */
body.loading .cursor-dot, body.loading .cursor-ring { opacity: 0; transition: opacity .2s ease; }
body.theme-light .loader { background: #F3EDE1; }
.loader__face { position: relative; height: clamp(79px, 11vh, 115px); aspect-ratio: 238 / 432; }
.loader__face img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.loader__face .rest { opacity: 1; }
.loader__face .up   { opacity: 0; }
/* alternate: rest visible then up visible, never both */
.loader.show .rest { animation: browRest .5s steps(1, end) infinite; }
.loader.show .up   { animation: browUp   .5s steps(1, end) infinite; }
@keyframes browRest { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes browUp   { 0%, 49% { opacity: 0; } 50%, 100% { opacity: 1; } }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 500; }
.nav__inner { max-width: var(--maxw); margin: 0 auto; padding: 1.15rem var(--gutter);
  display: flex; align-items: center; justify-content: space-between; }
.nav__sig { display: flex; align-items: center; }
.nav__sig img { height: 34px; width: auto; display: block; filter: drop-shadow(0 1px 6px rgba(20,35,42,.4)); transition: transform .3s var(--ease); }
.nav__sig:hover img { transform: rotate(-2deg) scale(1.03); }
.nav__links { display: flex; gap: clamp(1rem, 3vw, 2.5rem); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.nav__links a { position: relative; padding-bottom: 3px; text-shadow: 0 1px 10px rgba(20,35,42,.6); }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--orange); transition: width .35s var(--ease); }
.nav__links a:hover::after, .nav__links a:focus-visible::after { width: 100%; }

/* ---------- Hero / reel ---------- */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
/* Reel: very slight, very quick blur-in so the start isn't jarring (independent of the signature) */
.reel { position: absolute; inset: 0; overflow: hidden; opacity: 0; filter: blur(6px); }
body.is-loaded .reel { animation: reelIn .5s ease .05s forwards; }
@keyframes reelIn { to { opacity: 1; filter: blur(0); } }
/* PLACEHOLDER reel — swap this .reel__ph block for a Vimeo <iframe> or <video> */
.reel__ph {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 72% 22%, rgba(254,126,60,.42), transparent 58%),
    radial-gradient(120% 120% at 18% 92%, rgba(14,104,115,.28), transparent 60%),
    linear-gradient(120deg, var(--pearl-deep), var(--pearl));
  animation: drift 20s var(--ease) infinite alternate;
}
.reel__grain { position: absolute; inset: 0; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.reel__scrim { position: absolute; inset: 0; background: radial-gradient(82% 74% at 50% 46%, rgba(20,35,42,.08) 0%, rgba(20,35,42,.08) 32%, rgba(20,35,42,.42) 100%); }
.reel__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
@keyframes drift { from { transform: scale(1) translate(0,0); } to { transform: scale(1.1) translate(-2%, -2%); } }

/* centered hero, signature fades up on load */
.hero__inner { position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.4rem; }
.hero__sig { line-height: 0; opacity: 0; will-change: opacity; }
.hero__sig img { width: min(306px, 53vw); height: auto; display: block; filter: drop-shadow(0 2px 14px rgba(16,26,30,.55)); }
.hero__eyebrow { display: inline-flex; gap: .9rem; align-items: center; font-size: .74rem; letter-spacing: .28em; text-transform: uppercase; color: var(--bone-dim);
  text-shadow: 0 1px 9px rgba(16,26,30,.55);
  opacity: 0; will-change: opacity; }
.hero__eyebrow span + span::before { content: "—"; margin-right: .9rem; color: var(--orange); }

/* Shared name + underline entrance: a single, gradual 2s opacity fade.
   Used on the landing hero (sig + eyebrow) and the contact card (sig + role). */
@keyframes nameFadeIn { from { opacity: 0; } to { opacity: .85; } }
body.is-revealed .hero__sig,
body.is-revealed .hero__eyebrow,
body.is-revealed .card__sig,
body.is-revealed .card__role { animation: nameFadeIn 2s ease .15s both; }

/* ---------- Section shell ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(4.5rem, 11vh, 9rem) var(--gutter); scroll-margin-top: clamp(72px, 10vh, 96px); }
/* consecutive sections would otherwise stack both paddings (99px + 99px = ~200px of dead air) */
.section + .section { padding-top: clamp(1rem, 2vh, 1.5rem); }
/* balance the space around "View all work" on desktop */
#work { padding-bottom: clamp(2.5rem, 5vh, 4rem); }
.section__label { font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--orange); margin-bottom: 2.4rem; }

/* ---------- Work: landing highlights (open 3-up) ---------- */
.work-featured { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 720px) {
  .work-featured { grid-template-columns: repeat(3, 1fr); gap: clamp(.9rem, 1.4vw, 1.5rem); }
  /* make the landing highlights bigger + more eye-catching (wider than the text column) */
  #work.section { max-width: 1900px; }
}
.project { display: block; text-decoration: none; }

/* Media cover — holds a looping <video> or an animated placeholder */
.cover { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--pearl-deep); border: 1px solid rgba(97,65,60,.4); }
.cover video, .cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover .ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--bone-dim);
  font-family: var(--display); font-size: 1rem; letter-spacing: .06em;
  background: linear-gradient(135deg, var(--pearl-raise), var(--pearl-deep)); }
/* moving light sweep so covers read as motion until real video is dropped in */
.cover .ph::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 32%, rgba(254,126,60,.16) 50%, transparent 68%);
  transform: translateX(-110%); animation: sweep 3.6s var(--ease) infinite; }
@keyframes sweep { 0% { transform: translateX(-110%); } 100% { transform: translateX(110%); } }
.cover::after { content: "VIEW →"; position: absolute; z-index: 2; bottom: .8rem; right: .8rem; padding: .4rem .75rem;
  font-size: .68rem; letter-spacing: .12em; background: var(--orange); color: var(--pearl);
  opacity: 0; transform: translateY(6px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.project:hover .cover::after, .tile:hover .cover::after { opacity: 1; transform: none; }
.cover > * { transition: transform .6s var(--ease); }
.project:hover .cover video, .project:hover .cover img, .project:hover .cover .ph,
.tile:hover .cover video, .tile:hover .cover img, .tile:hover .cover .ph { transform: scale(1.04); }

.project__meta { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .4rem 1.2rem; margin-top: .9rem; }
.project__title { font-family: var(--display); font-size: clamp(1.3rem, 1.8vw, 1.7rem); line-height: 1; letter-spacing: .04em; transition: color .3s var(--ease); }
.project:hover .project__title { color: var(--orange); }
.project__tags { display: flex; gap: 1.1rem; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--bone-dim); }
.project__tags b { color: var(--bone); font-weight: 600; }

/* view-all link into the Work archive */
.work-viewall { margin-top: clamp(2.2rem, 5vh, 3.5rem); }
.work-viewall a { font-family: var(--display); text-transform: uppercase; font-weight: 300; letter-spacing: .08em;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem); border-bottom: 1px solid var(--copper); padding-bottom: 5px; transition: color .3s var(--ease), border-color .3s var(--ease); }
.work-viewall a:hover { color: var(--orange); border-color: var(--orange); }

/* ---------- More work: mixed vertical + horizontal (masonry via columns) ---------- */
.work-more { columns: 2; column-gap: .8rem; margin-top: 1.2rem; }
@media (min-width: 700px)  { .work-more { columns: 3; } }
@media (min-width: 1050px) { .work-more { columns: 4; } }
.tile { break-inside: avoid; margin: 0 0 .8rem; display: block; text-decoration: none; }
.tile .cover { aspect-ratio: 16 / 9; }
.tile.tile--v .cover { aspect-ratio: 9 / 16; }        /* vertical / social */
.tile__cap { display: flex; justify-content: space-between; gap: .8rem; margin-top: .55rem;
  font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--bone-dim); }
.tile__cap b { color: var(--bone); font-weight: 600; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about__photo { aspect-ratio: 4 / 5; max-width: 320px; background: var(--pearl-raise); border: 1px solid rgba(97,65,60,.5); position: relative; overflow: hidden; }
.about__photo .ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--bone-dim); font-family: var(--display); letter-spacing: .06em;
  background: radial-gradient(120% 100% at 30% 20%, rgba(14,104,115,.4), transparent), linear-gradient(160deg, var(--pearl-raise), var(--pearl-deep)); }
.about__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about__text h2 { font-family: var(--body); font-weight: 700; font-size: clamp(1.5rem, 3.4vw, 2.3rem); line-height: 1.12; margin-bottom: 1.4rem; letter-spacing: -.015em; }
.about__text h2 em { font-style: normal; color: var(--orange); }
.about__text p { max-width: 52ch; color: var(--bone-dim); margin-bottom: 1.1rem; }
.about__text p strong { color: var(--bone); font-weight: 600; }
@media (min-width: 900px) { .about { grid-template-columns: .5fr 1fr; } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--copper); margin-top: clamp(4rem, 10vh, 8rem); }
.footer__inner { max-width: var(--maxw); margin: 0 auto; padding: clamp(3rem, 8vh, 6rem) var(--gutter); display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: flex-end; }
.footer__cta { font-family: var(--display); font-size: clamp(2rem, 5vw, 3.8rem); line-height: .92; letter-spacing: .02em; }
.footer__cta a:hover { color: var(--orange); }
.footer__links { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
/* Two equal, minimal outlined text links — identical size/padding/weight, no fill by default */
.footer__links a { display: inline-flex; align-items: center; justify-content: center;
  min-width: 10rem; padding: .95rem 1.9rem; border: 1px solid var(--copper); border-radius: 2px;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--bone); text-decoration: none; background: transparent;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
/* One subtle interaction: fill with the brand accent + invert text (hover-capable devices only) */
@media (hover: hover) {
  .footer__links a:hover { background: var(--orange); border-color: var(--orange); color: var(--pearl); }
}
.footer__links a:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.footer__links a:active { background: var(--orange); border-color: var(--orange); color: var(--pearl); } /* touch pressed state */
body.theme-light .footer__links a { color: var(--pearl); }
body.cursor-on .footer__links a { cursor: none; }
@media (max-width: 560px) { .footer__links { width: 100%; } .footer__links a { flex: 1 1 0; min-width: 0; } }
/* EMERY temporary cover image inside the 16:9 project video frame */
.proj-video__cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

/* =========================================================================
   PROJECT DETAIL PAGE
   ========================================================================= */
.proj-hero { padding: clamp(7rem, 14vh, 11rem) var(--gutter) clamp(1.4rem, 3vh, 2.4rem); max-width: var(--maxw); margin: 0 auto; }
.proj-hero__eyebrow { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); margin-bottom: 1rem; }
.proj-hero__title { font-family: var(--display); font-size: clamp(2.4rem, 7vw, 5.5rem); line-height: .88; letter-spacing: .02em; }
.proj-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.3rem; }
.proj-tags span { font: 600 .68rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--bone-dim);
  border: 1px solid var(--copper); padding: .5rem .75rem; }
.proj-hero__facts { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; margin-top: 1.6rem; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--bone-dim); }
.proj-hero__facts b { display: block; color: var(--bone); font-weight: 600; margin-top: .2rem; }

/* Video */
.proj-video { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.proj-video__frame { position: relative; aspect-ratio: 16 / 9; background: var(--pearl-raise); border: 1px solid rgba(97,65,60,.5); overflow: hidden; }
/* PLACEHOLDER — replace .proj-video__ph with a Vimeo <iframe> */
.proj-video__ph { position: absolute; inset: 0; display: grid; place-items: center; gap: .6rem;
  background: radial-gradient(120% 100% at 50% 40%, rgba(254,126,60,.22), transparent), linear-gradient(160deg, var(--pearl-raise), var(--pearl-deep)); }
.proj-video__ph .play { width: 78px; height: 78px; border-radius: 50%; border: 2px solid var(--orange); display: grid; place-items: center; }
.proj-video__ph .play::after { content: ""; border-left: 18px solid var(--orange); border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 4px; }
.proj-video__ph span { font-family: var(--display); letter-spacing: .1em; color: var(--bone-dim); font-size: .9rem; }

/* Story / description */
.proj-story { max-width: 940px; margin: 0 auto; padding: clamp(4rem, 10vh, 8rem) var(--gutter); }
.proj-story__lede { font-family: var(--body); font-weight: 700; font-size: clamp(1.35rem, 3vw, 2rem); line-height: 1.25; letter-spacing: -.01em; max-width: 30ch; margin-bottom: 2.4rem; }
.proj-story__lede em { font-style: normal; color: var(--orange); }
.proj-story__body { margin-bottom: clamp(2rem, 5vh, 3.5rem); }
.proj-story__body p { max-width: 66ch; color: var(--bone-dim); margin-bottom: 1.2rem; }
/* Client / Goal / Result — editorial label + paragraph rows */
.proj-cgr { border-top: 1px solid var(--copper); }
.proj-cgr__row { padding: 1.5rem 0; border-bottom: 1px solid rgba(97,65,60,.4); display: grid; grid-template-columns: 1fr; gap: .6rem; }
.proj-cgr__row h4 { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); }
.proj-cgr__row p { color: var(--bone-dim); max-width: 64ch; }
@media (min-width: 760px) { .proj-cgr__row { grid-template-columns: 180px 1fr; gap: 2rem; } }

/* Credits */
.proj-credits { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter) clamp(4rem, 10vh, 8rem); }
.proj-credits__role { font-family: var(--display); font-size: clamp(1.9rem, 5vw, 3.2rem); line-height: 1; letter-spacing: .01em; margin-bottom: 2.5rem; }
.proj-credits__role em { font-style: normal; color: var(--orange); }
.credits-grid { display: grid; grid-template-columns: 1fr; gap: .1rem; border-top: 1px solid var(--copper); }
.credit-row { display: grid; grid-template-columns: 1fr 1.5fr; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid rgba(97,65,60,.4); }
.credit-row dt { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--bone-dim); }
.credit-row dd { font-size: .95rem; color: var(--bone); }
.credit-row dd .h { color: var(--bone-dim); font-weight: 400; }
.credit-row dd strong { color: var(--orange); font-weight: 600; }

/* Role block: primary role + key contributions */
.role-block { display: grid; grid-template-columns: 1fr; gap: 2.5rem; margin-bottom: 2.8rem; }
@media (min-width: 760px) { .role-block { grid-template-columns: 240px 1fr; gap: 3rem; } }
.role-block h4 { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); margin-bottom: .8rem; }
.role-primary__val { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .02em;
  font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.05; color: var(--bone); }
.role-key ul { list-style: none; display: flex; flex-direction: column; gap: .7rem; }
.role-key li { position: relative; padding-left: 1.3rem; color: var(--bone); max-width: 60ch; }
.role-key li::before { content: ""; position: absolute; left: 0; top: .5em; width: 6px; height: 6px; background: var(--orange); }

/* Expandable full credits */
.full-credits { border-top: 1px solid var(--copper); padding-top: 1.4rem; }
.full-credits summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .6rem;
  font-size: .86rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--bone); transition: color .25s; }
.full-credits summary::-webkit-details-marker { display: none; }
.full-credits summary::after { content: "+"; font-size: 1.1rem; line-height: 1; color: var(--orange); }
.full-credits[open] summary::after { content: "–"; }
.full-credits summary:hover { color: var(--orange); }
body.cursor-on .full-credits summary { cursor: none; }
.full-credits .credits-grid { margin-top: 1.6rem; }
@media (min-width: 700px) { .credit-row { grid-template-columns: 240px 1fr; } }

/* BTS gallery */
.proj-bts { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter) clamp(5rem, 12vh, 9rem); }
.bts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; margin-top: 2rem; }
.bts-grid .ph { width: 100%; min-width: 0; }
.bts-grid .ph { aspect-ratio: 3 / 4; background: linear-gradient(150deg, var(--pearl-raise), var(--pearl-deep)); border: 1px solid rgba(97,65,60,.4);
  display: grid; place-items: center; color: var(--bone-dim); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.bts-grid .ph:nth-child(3n+1) { aspect-ratio: 4 / 3; }

/* ---------- Stills carousel (uniform across all project pages) ---------- */
.stills { max-width: var(--maxw); margin: 0 auto; padding: clamp(2.5rem, 6vh, 4.5rem) var(--gutter); }
/* Horizontal project pages: connect the credits + stills sections (pull stills up) */
.proj-credits:has(+ .stills) { padding-bottom: clamp(1.5rem, 3vh, 2.5rem); }
.proj-credits + .stills { padding-top: clamp(1.6rem, 3.2vh, 2.6rem); }
.stills__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: clamp(1.9rem, 4vh, 2.7rem); }
.stills__label { font-size: .82rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--orange); }
.stills__nav { display: flex; gap: .5rem; flex: 0 0 auto; }
.stills__nav button { width: 2.6rem; height: 2.6rem; display: grid; place-items: center; padding: 0;
  border: 1px solid var(--copper); border-radius: 2px; background: transparent; color: var(--bone);
  cursor: pointer; transition: border-color .25s var(--ease), color .25s var(--ease), opacity .25s var(--ease); }
.stills__nav button:hover:not(:disabled) { border-color: var(--orange); color: var(--orange); }
.stills__nav button:disabled { opacity: .3; cursor: default; }
.stills__nav button:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.stills__nav svg { width: 1.05rem; height: 1.05rem; display: block; }
body.cursor-on .stills__nav button:not(:disabled) { cursor: none; }

.stills-track { display: flex; gap: clamp(.85rem, 1.6vw, 1.25rem); overflow-x: auto; scroll-snap-type: x mandatory;
  padding: .4rem .1rem 1.1rem; scrollbar-width: thin; scrollbar-color: var(--copper) transparent; }
.stills-track::-webkit-scrollbar { height: 6px; }
.stills-track::-webkit-scrollbar-thumb { background: var(--copper); border-radius: 3px; }

.still-card { flex: 0 0 auto; border: 1px solid var(--copper); border-radius: 3px; overflow: hidden;
  background: var(--pearl-raise); box-shadow: 0 6px 20px -12px rgba(0,0,0,.55); scroll-snap-align: start;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.still-card img { display: block; height: clamp(150px, 22vh, 230px); aspect-ratio: 16 / 9; width: auto;
  object-fit: cover; cursor: pointer; }
.still-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -14px rgba(0,0,0,.6); }
body.cursor-on .still-card img { cursor: none; }

/* Vertical project pages: 3-up (desktop) / 2-up (mobile) portrait carousel */
.stills--v { --vis: 3; --sgap: clamp(.7rem, 1.4vw, 1.1rem); }
.stills--v .stills-track { gap: var(--sgap); }
.stills--v .still-card { flex: 0 0 calc((100% - (var(--vis) - 1) * var(--sgap)) / var(--vis)); }
.stills--v .still-card img { height: auto; width: 100%; aspect-ratio: 3 / 4; }
@media (max-width: 700px) { .stills--v { --vis: 2; } }

/* Vertical stills carousel nested in the right-hand text column (beside the video) */
.lite-show--v .stills { max-width: none; padding: clamp(1.3rem, 3vh, 1.9rem) 0 0; margin: 0; }
.lite-show--v .stills__head { margin-bottom: .95rem; }
.stills--v .still-card { box-shadow: 0 4px 14px -10px rgba(0,0,0,.45); }
.stills--v .still-card:hover { box-shadow: 0 9px 22px -14px rgba(0,0,0,.5); }

/* Behind-the-scenes filmstrip: mixed orientation, uniform height, native aspect */
.stills--bts .still-card img { height: clamp(170px, 27vh, 260px); width: auto; aspect-ratio: auto; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 10050; display: none; place-items: center; padding: 4vw;
  background: rgba(10,17,20,.92); backdrop-filter: blur(4px); cursor: zoom-out; }
.lightbox.open { display: grid; animation: lbFade .25s var(--ease); }
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; border: 1px solid rgba(239,231,216,.15); }
.lightbox__close { position: fixed; top: 1.4rem; right: 1.6rem; font-size: 2rem; line-height: 1; color: var(--bone); background: none; border: none; cursor: pointer; }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }
.bts-grid img { width: 100%; height: 100%; object-fit: cover; display: block; border: 1px solid rgba(97,65,60,.4); }
.proj-bts .bts-grid img { aspect-ratio: 3 / 2; }
.lite-bts .bts-grid img { aspect-ratio: 3 / 4; }
@media (min-width: 700px) { .bts-grid { grid-template-columns: repeat(4, 1fr); } }

.proj-next { border-top: 1px solid var(--copper); }
.proj-next__inner { max-width: var(--maxw); margin: 0 auto; padding: clamp(3rem, 8vh, 6rem) var(--gutter); display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; flex-wrap: wrap; }
.proj-next__inner span { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--bone-dim); }
.proj-next__inner a { font-family: var(--display); font-size: clamp(2.1rem, 6vw, 4.2rem); line-height: .9; letter-spacing: .01em; transition: color .3s var(--ease); }
.proj-next__inner a:hover { color: var(--orange); }

/* ---------- Scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
[data-reveal].revealed { opacity: 1; transform: none; }
/* gallery grids read smoother as a clean fade (no per-card slide) */
.wcard[data-reveal], .stills[data-reveal] { transform: none; transition: opacity .55s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .page { opacity: 1; filter: none; transform: none; transition: none; }
  .reel__ph { animation: none; }
  .cover .ph::before { animation: none; display: none; }
  .loader.show .up { animation: none; }
  .card { animation: none; opacity: 1; transform: none; }
  .card > *, .card__rows, .card__cta { animation: none; opacity: 1; transform: none; }
  .card__sig, .card__role { animation: none; transform: none; opacity: .85; }
  body.is-revealed .hero__sig, body.is-revealed .hero__eyebrow { animation: none; transform: none; opacity: .85; }
  .hero__sig, .hero__eyebrow { opacity: .85; }
  .reel, body.is-loaded .reel { animation: none; opacity: 1; filter: none; }
  .reel__video { display: none; }
  .reel__ph { display: none; }
  .reel { background: center / cover no-repeat url("reel-poster.jpg"); }
}

/* ---------- Focus ---------- */
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* =========================================================================
   PROJECT HIGHLIGHTS
   Two treatments:
   .proj-highlights           -> bold filled PANEL (pages with real material)
   .proj-highlights--quiet    -> quiet single-line credential (personal pieces)
   ========================================================================= */
.proj-panel-wrap { max-width: var(--maxw); margin: 0 auto clamp(2.6rem, 6vh, 4.2rem); padding: 0 var(--gutter); }
.proj-highlights { background: var(--pearl-raise); border: 1px solid var(--copper); border-left: 4px solid var(--orange); border-radius: 3px;
  box-shadow: 0 10px 40px -20px rgba(0,0,0,.5);
  padding: clamp(1.4rem, 3vh, 2rem) clamp(1.5rem, 3vw, 2.6rem);
  display: flex; flex-wrap: wrap; align-items: center;
  column-gap: clamp(1.6rem, 3.5vw, 3rem); row-gap: clamp(1.2rem, 3vh, 1.6rem); }
.hl { display: flex; flex-direction: column; gap: .4rem; position: relative; }
.hl__num { font-family: var(--display); font-weight: 300; font-size: clamp(2.4rem, 5.5vw, 3.8rem); line-height: .8; color: var(--orange); letter-spacing: .01em; }
.hl__val { font-family: var(--display); font-weight: 500; text-transform: uppercase; font-size: clamp(1.1rem, 2.1vw, 1.6rem); line-height: .95; color: var(--bone); letter-spacing: .015em; }
.hl__label { font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); font-weight: 600; }
/* divider between cells */
.hl + .hl::before { content: ""; position: absolute; left: calc(-1 * clamp(.8rem, 1.75vw, 1.5rem)); top: 50%; transform: translateY(-50%); height: 2.4rem; width: 1px; background: var(--copper); }
/* skill-tag row (for pages whose material is craft, not numbers) */
.hl--tags { flex-direction: row; flex-wrap: wrap; gap: .5rem; }
.hl--tags .tag { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--bone);
  border: 1px solid var(--copper); border-radius: 2px; padding: .45rem .7rem; }
.hl--tags + .hl::before, .hl--tags::before { display: none; }

body.theme-light .proj-highlights { background: #EFE7D8; }

/* Quiet one-liner — personal pieces */
.proj-highlights--quiet { max-width: var(--maxw); margin: 0 auto clamp(2.4rem, 5vh, 3.5rem); padding: clamp(1rem, 2.5vh, 1.4rem) var(--gutter);
  border-top: 1px solid rgba(97,65,60,.4); border-bottom: 1px solid rgba(97,65,60,.4);
  display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; align-items: center;
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; }
.proj-highlights--quiet .q { color: var(--bone-dim); position: relative; }
.proj-highlights--quiet .q--lead { color: var(--orange); font-weight: 600; }
.proj-highlights--quiet .q + .q::before { content: "·"; margin-right: 1.4rem; color: var(--copper); }

@media (max-width: 640px) {
  .proj-highlights { column-gap: clamp(1.2rem, 4vw, 2rem); }
}

/* staggered rise-in when scrolled into view */
.proj-highlights .hl { transform: translateY(14px); }
.proj-highlights.revealed .hl { animation: hlRise .5s var(--ease) both; }
.proj-highlights.revealed .hl:nth-child(1) { animation-delay: .04s; }
.proj-highlights.revealed .hl:nth-child(2) { animation-delay: .1s; }
.proj-highlights.revealed .hl:nth-child(3) { animation-delay: .16s; }
.proj-highlights.revealed .hl:nth-child(4) { animation-delay: .22s; }
.proj-highlights.revealed .hl:nth-child(5) { animation-delay: .28s; }
@keyframes hlRise { to { transform: none; } }

/* Next / Back project bands */
.next-project { border-top: 1px solid var(--copper); margin-top: clamp(3rem, 8vh, 6rem); }
.next-project__inner { max-width: var(--maxw); margin: 0 auto; padding: clamp(2.2rem, 5vh, 3.4rem) var(--gutter);
  display: flex; justify-content: space-between; align-items: center; gap: 1.2rem; }
.np-link { text-decoration: none; display: flex; flex-direction: column; gap: .3rem; }
.np-link--back { align-items: flex-start; }
.np-link--next { align-items: flex-end; text-align: right; }
.next-project__eyebrow { font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); }
.next-project__name { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .02em;
  font-size: clamp(1.2rem, 3.2vw, 2.4rem); line-height: 1; color: var(--bone); transition: color .3s var(--ease); }
.np-link:hover .next-project__name { color: var(--orange); }
body.cursor-on .np-link { cursor: none; }
@media (max-width: 560px) {
  .next-project__name { font-size: .9rem; }
  .next-project__eyebrow { font-size: .6rem; }
  .np-link { max-width: 46%; }
  .np-link--back { align-items: flex-start; }
  .next-project__inner { gap: 1rem; }
}

/* =========================================================================
   LIGHTWEIGHT PROJECT PAGES (shorts / social / for-fun)
   ========================================================================= */
.lite-hero { padding: clamp(7rem, 14vh, 11rem) var(--gutter) clamp(1.5rem, 4vh, 3rem); max-width: var(--maxw); margin: 0 auto; }
.lite-line { font-family: var(--body); font-weight: 700; font-size: clamp(1.2rem, 2.6vw, 1.8rem); line-height: 1.25; letter-spacing: -.01em; max-width: 26ch; margin-top: 1.2rem; }
.lite-line em { font-style: normal; color: var(--orange); }

.lite-show { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter) clamp(3rem, 8vh, 6rem); }
.lite-video { position: relative; overflow: hidden; background: var(--pearl-raise); border: 1px solid rgba(97,65,60,.5); }
.lite-video .proj-video__ph { position: absolute; inset: 0; display: grid; place-items: center; gap: .6rem;
  background: radial-gradient(120% 100% at 50% 40%, rgba(254,126,60,.22), transparent), linear-gradient(160deg, var(--pearl-raise), var(--pearl-deep)); }
.lite-video iframe, .lite-video video { position: absolute; inset: 0; width: 100%; height: 100%; }

/* horizontal: video full width, info below */
.lite-show--h .lite-video { aspect-ratio: 16 / 9; }
.lite-show--h .lite-info { margin: clamp(2rem, 5vh, 3.5rem) auto 0; max-width: 940px; width: 100%; padding: 0 var(--gutter); }
/* vertical: video beside info */
.lite-show--v { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.lite-show--v .lite-video { aspect-ratio: 9 / 16; max-width: 340px; }
@media (min-width: 820px) {
  .lite-show--v { grid-template-columns: minmax(280px, 340px) minmax(0, 620px); column-gap: clamp(2.5rem, 5vw, 4rem); row-gap: clamp(1.8rem, 3vh, 2.6rem); align-items: start; }
  .lite-show--v .lite-video { grid-column: 1; grid-row: 1 / span 2; }
  .lite-show--v .lite-info  { grid-column: 2; grid-row: 1; padding-top: .5rem; }
  .lite-show--v .lite-bts   { grid-column: 2; grid-row: 2; align-self: start; }
  .lite-show--v .lite-bts .bts-grid .ph { aspect-ratio: 4 / 3; }
  .lite-show--v .stills     { grid-column: 2; grid-row: 2; padding: 0; align-self: start; }
}
.lite-bts { margin-top: 0; }
.lite-bts .bts-grid { margin-top: 1.4rem; grid-template-columns: repeat(2, 1fr); }

.lite-desc { color: var(--bone-dim); max-width: 60ch; }
.lite-subtitle { font-family: var(--body); font-weight: 700; font-size: clamp(1.35rem, 3vw, 2rem); line-height: 1.25; letter-spacing: -.01em;
  color: var(--bone); margin-bottom: 1.4rem; max-width: 34ch; }
.lite-subtitle em { font-style: normal; color: var(--orange); }
.lite-stats { display: flex; flex-wrap: wrap; gap: 1.8rem 2.6rem; margin: 1.8rem 0 0; }
.stat b { display: block; font-family: var(--display); font-weight: 300; text-transform: uppercase; font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1; color: var(--orange); letter-spacing: .02em; }
.stat span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bone-dim); }
.lite-meta { display: flex; flex-wrap: wrap; gap: 1.4rem 2.4rem; margin-top: 1.8rem; padding-top: 1.5rem; border-top: 1px solid rgba(97,65,60,.4);
  font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--bone-dim); }
.lite-meta b { display: block; color: var(--bone); font-weight: 600; margin-top: .2rem; }

/* ---------- Contact: business card ---------- */
.card-wrap { min-height: 100svh; display: grid; place-items: center; padding: 7rem var(--gutter) 4rem;
  perspective: 1600px; }
.card { width: 100%; max-width: 520px; border: 1px solid var(--copper); padding: clamp(2rem, 5vw, 3.2rem); background: var(--pearl-raise);
  transform-style: preserve-3d; backface-visibility: hidden;
  animation: coinflip 1.15s var(--ease) both; }
@keyframes coinflip {
  0%   { transform: rotateY(-180deg) scale(.92); opacity: 0; }
  55%  { opacity: 1; }
  100% { transform: rotateY(0deg) scale(1); opacity: 1; }
}
/* info fades in only after the flip lands */
.card > *:not(.card__sig) { opacity: 0; animation: cardIn .6s var(--ease) both; }
.card__sig { opacity: 0; animation: cardIn .6s var(--ease) .85s both; }
.card__role { animation-delay: 1.0s; }
.card__rows { animation-delay: 1.15s; }
.card__cta  { animation-delay: 1.3s; }
@keyframes cardIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.card__sig { width: min(221px, 60%); height: auto; display: block; margin-bottom: 1.6rem; }
.card__role { font-family: var(--display); font-weight: 300; text-transform: uppercase; letter-spacing: .16em;
  font-size: .82rem; color: var(--bone-dim); padding-bottom: 1.6rem; border-bottom: 1px solid rgba(97,65,60,.5); }
.card__rows { margin: 1.6rem 0 2rem; }
.card__row { display: grid; grid-template-columns: 1fr; gap: .2rem; padding: .85rem 0; }
.card__row + .card__row { border-top: 1px solid rgba(97,65,60,.3); }
.card__row dt { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--bone-dim); }
.card__row dd { font-size: .98rem; color: var(--bone); }
.card__row dd a { border-bottom: 1px solid var(--copper); padding-bottom: 2px; transition: color .3s var(--ease), border-color .3s var(--ease); }
.card__row dd a:hover { color: var(--orange); border-color: var(--orange); }
.card__row dd { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; }
.copy-btn { font: 600 .6rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; cursor: pointer;
  color: var(--bone-dim); background: transparent; border: 1px solid var(--copper); padding: .35rem .55rem; transition: color .25s, border-color .25s; }
.copy-btn:hover { color: var(--orange); border-color: var(--orange); }
.copy-btn.copied { color: var(--orange); border-color: var(--orange); }
body.cursor-on .copy-btn { cursor: none; }
@media (min-width: 520px) { .card__row { grid-template-columns: 120px 1fr; gap: 1rem; align-items: baseline; } }
.card__cta { display: inline-block; font-family: var(--display); font-weight: 300; text-transform: uppercase; letter-spacing: .1em;
  font-size: 1rem; padding: .85rem 1.4rem; background: var(--orange); color: var(--pearl); transition: opacity .3s var(--ease); }
.card__cta:hover { opacity: .85; }
body.theme-light .card { background: #EFE7D8; }
body.theme-light .card__cta { color: #F3EDE1; }

/* ---------- Archive ---------- */
.archive .tile { display: block; text-decoration: none; }
.archive .cover { position: relative; }

/* Films: 3 across the top, caption underneath */
.archive--films { display: grid; grid-template-columns: 1fr; gap: clamp(1.6rem, 3vw, 2.6rem); }
@media (min-width: 760px) { .archive--films { grid-template-columns: repeat(3, 1fr); } }
.archive--films .cover { aspect-ratio: 16 / 9; }

/* Social: mixed orientation, roomier, vertical tiles ~15% larger */
.archive--social { display: flex; flex-wrap: wrap; gap: clamp(2.4rem, 4vw, 3.6rem); align-items: flex-start; }
.archive--social .cover { width: auto; height: clamp(210px, 30vh, 300px); aspect-ratio: 16 / 9; }
.archive--social .tile--v .cover { height: clamp(280px, 42vh, 415px); aspect-ratio: 9 / 16; }

/* Caption under each tile (matches films) */
.tile__cap { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: .7rem;
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--bone-dim); }
.tile__cap b { color: var(--bone); font-weight: 600; transition: color .3s var(--ease); }
.tile:hover .tile__cap b { color: var(--orange); }

/* "Open Project" affordance under each tile */
.tile__open { display: block; width: 100%; margin-top: .35rem; font-size: .68rem; letter-spacing: .14em;
  text-transform: uppercase; font-weight: 600; color: var(--orange);
  opacity: 0; transform: translateY(-4px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.tile:hover .tile__open, .tile:focus-visible .tile__open { opacity: 1; transform: none; }

/* Hover: light scrim + tag chip. Theme-aware so it never turns into a murky wash. */
.tile__hover { position: absolute; inset: 0; z-index: 3; display: flex; align-items: flex-end; padding: .9rem;
  opacity: 0; transition: opacity .35s var(--ease);
  background: linear-gradient(180deg, rgba(20,35,42,0) 55%, rgba(20,35,42,.42) 100%); }
.tile:hover .tile__hover, .tile:focus-visible .tile__hover { opacity: 1; }
.tile__hover span { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  background: var(--orange); color: var(--pearl); padding: .38rem .6rem;
  transform: translateY(8px); transition: transform .35s var(--ease); }
.tile:hover .tile__hover span { transform: none; }
body.theme-light .tile__hover { background: linear-gradient(180deg, rgba(243,237,225,0) 55%, rgba(243,237,225,.5) 100%); }
body.theme-light .tile__hover span { color: #F3EDE1; }

.archive-group + .archive-group { margin-top: clamp(4.5rem, 10vh, 8rem); }

/* ---------- Work page: filter tabs ---------- */
.wfilter { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 clamp(2.2rem, 5vh, 3.5rem); }
.wfilter button { font: 600 .76rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; cursor: pointer;
  color: var(--bone-dim); background: transparent; border: 1px solid var(--copper); padding: .6rem 1.1rem; border-radius: 2px;
  transition: color .25s var(--ease), border-color .25s var(--ease); }
.wfilter button:hover { color: var(--bone); }
.wfilter button.active { color: var(--orange); border-color: var(--orange); }
body.cursor-on .wfilter button { cursor: none; }

.wgroup { margin-bottom: clamp(3rem, 7vh, 5rem); }
.wgroup:last-child { margin-bottom: 0; }

/* Cards (shared) */
.wcard { position: relative; display: block; text-decoration: none; overflow: hidden; border: 1px solid rgba(97,65,60,.3); background: var(--pearl-deep); }
.wcard__media { position: relative; overflow: hidden; }
.wcard__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.wcard__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.wcard:hover .wcard__media img, .wcard:hover .wcard__media video { transform: scale(1.04); }
.wcard__ph { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-weight: 400;
  text-transform: uppercase; letter-spacing: .06em; color: var(--bone-dim); background: linear-gradient(135deg, var(--pearl-raise), var(--pearl-deep)); }
.wcard__media::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 45%, rgba(15,26,30,.8)); }
.wcard__title { position: absolute; z-index: 2; left: 1rem; bottom: .9rem; font-family: var(--display); font-weight: 400;
  text-transform: uppercase; letter-spacing: .02em; line-height: 1.05; color: #F4EFE6; }
/* Unified tag: transparent bordered box (consistent across films + social/personal) */
.wcard__tag, .wcard__cat { position: absolute; z-index: 2; font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
  color: #F4EFE6; background: transparent; border: 1px solid rgba(244,239,230,.55); padding: .42rem .7rem; }

/* Film cards — full-width horizontal, cinematic */
.wfilms { display: flex; flex-direction: column; gap: clamp(1.4rem, 3vw, 2.2rem); }
.wcard--h .wcard__media { aspect-ratio: 5 / 2; }
.wcard--h .wcard__title { font-size: clamp(1.4rem, 2.6vw, 2.2rem); left: 1.3rem; bottom: 1.1rem; }
.wcard--h .wcard__tag { right: 1.3rem; bottom: 1.35rem; }

/* Vertical grid — social / personal */
.wgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(.7rem, 1.6vw, 1.2rem); }
@media (min-width: 760px) { .wgrid { grid-template-columns: repeat(3, 1fr); } }
.wcard--v { position: relative; border: none; background: none; }
.wcard--v .wcard__media { position: relative; aspect-ratio: 4 / 5; border: 1px solid rgba(97,65,60,.3); }
/* desktop: title bottom-left, tag bottom-right — both overlaid, matching films */
.wcard--v .wcard__title { font-size: clamp(1rem, 1.7vw, 1.35rem); left: 1rem; bottom: 1.05rem; }
.wcard--v .wcard__cat { right: .8rem; bottom: 1rem; font-size: .6rem; padding: .35rem .55rem; }

/* mobile: clean thumbnail — transparent tag stays bottom-right on image, title drops below */
@media (max-width: 700px) {
  .wcard--v .wcard__media::after { display: none; }
  .wcard--v .wcard__cat { bottom: .6rem; right: .6rem; }
  .wcard--v .wcard__title { position: static; display: block; color: var(--bone); margin: .5rem 0 0; padding: 0; font-size: 1rem; }
}

.archive .cover::after { display: none; }   /* archive uses the hover tag, not the VIEW badge */

/* =========================================================================
   MOBILE  (≤ 700px)
   Desktop layout is untouched — these rules only apply on small screens.
   ========================================================================= */
@media (max-width: 700px) {

  /* --- Fix stacked section padding (was 93px + 93px = 186px of dead air) --- */
  .section { padding-top: clamp(3rem, 7vh, 4rem); padding-bottom: clamp(3rem, 7vh, 4rem); }
  .section + .section { padding-top: 0; }          /* neighbour already paid for the gap */

  /* --- Nav: keep signature + links on one comfortable row --- */
  .nav__inner { padding: .9rem var(--gutter); }
  .nav__sig img { height: 22px; }
  .nav__links { gap: 1rem; font-size: .68rem; letter-spacing: .06em; }

  /* --- Display type: Oswald 300 gets fragile small; bump to 400 --- */
  .project__title, .proj-hero__title, .footer__cta,
  .proj-credits__role, .proj-next__inner a, .work-viewall a { font-weight: 400; }

  /* --- Hero --- */
  .hero__sig img { width: min(255px, 63vw); }

  /* =====================================================================
     WORK ARCHIVE — "Clarke stack, capped"
     Tiles match by HEIGHT, not width. Horizontals go full-width (16:9).
     Verticals center at ~62% width so they land at a similar height
     instead of towering ~690px tall.
     ===================================================================== */
  .archive--films,
  .archive--social { display: flex; flex-direction: column; gap: clamp(2.2rem, 6vh, 3rem); }

  .archive .tile { width: 100%; }
  .archive .cover { width: 100%; height: auto; aspect-ratio: 16 / 9; }

  /* Verticals: strict height-matching would force them to ~110px wide (absurd),
     so instead give them presence but cap the height so they never dominate.
     Horizontal ≈ 197px tall; vertical ≈ 340px — bigger, but under half a screen. */
  .archive .tile--v { width: 58%; margin-left: auto; margin-right: auto; }
  .archive .tile--v .cover { aspect-ratio: 9 / 16; max-height: 42vh; }

  /* Landing highlights stack full-width too */
  .work-featured { grid-template-columns: 1fr; gap: 2.2rem; }
  /* center "View all work" between the last project and "The Director",
     with generous space so the About section isn't overlooked */
  .work-viewall { margin-top: 5.25rem; }
  #work { padding-bottom: 5rem; }
  /* make "The Director" a clear, unmissable section marker on mobile */
  #about { padding-top: clamp(2rem, 5vh, 3rem); }
  #about .section__label { font-size: 1rem; letter-spacing: .22em; color: var(--orange);
    padding-top: 1.6rem; border-top: 1px solid var(--copper); display: block; margin-bottom: 1.8rem; }

  /* --- Touch has no hover: show the tag permanently, kill the scrim --- */
  .tile__hover { opacity: 1; background: none; align-items: flex-start; justify-content: flex-end;
    flex-direction: column; padding: .7rem; pointer-events: none; }
  .tile__hover span { transform: none; font-size: .6rem; padding: .3rem .5rem; }
  .cover::after { display: none; }                 /* no VIEW badge on touch */
  /* "Open Project" always visible on mobile so the moving clip reads as clickable */
  .tile__open { opacity: 1; transform: none; }

  /* --- Project pages: vertical video shouldn't eat the screen --- */
  .lite-show--v { grid-template-columns: 1fr !important; }
  .lite-show--v .lite-video { max-width: 100%; width: 100%; margin: 0 auto; aspect-ratio: 9 / 16; max-height: 70vh; }
  .lite-show--h .lite-video { max-height: 62vh; }

  /* --- Contact card: no forced full-height band --- */
  .card-wrap { min-height: auto; padding: 6rem var(--gutter) 3rem; }

  /* --- About: photo full-width-ish, text below --- */
  .about { grid-template-columns: 1fr; }
  .about__photo { max-width: 100%; }

  /* --- Credits stack --- */
  .credit-row { grid-template-columns: 1fr; gap: .2rem; }
}

/* --- Tablet (701–1000px): 3-across squeezes films too small; use 2 --- */
@media (min-width: 701px) and (max-width: 1000px) {
  .archive--films { grid-template-columns: repeat(2, 1fr); }
  .archive--social .cover { height: clamp(180px, 24vh, 230px); }
  .archive--social .tile--v .cover { height: clamp(240px, 34vh, 330px); }
}

/* =========================================================================
   LIGHT THEME  —  body.theme-light
   Recalibrated (not inverted): accents deepened, reel de-glowed, ink type.
   Core color variables are reassigned so every component using them flips.
   ========================================================================= */
body.theme-light {
  background: #F3EDE1;                 /* warm paper */
  --bone:      #22343a;               /* now = ink text */
  --bone-dim:  #6f6e66;               /* now = muted ink */
  --pearl-raise: #E9E1D2;            /* light panel */
  --pearl-deep:  #DCD3C2;            /* deeper light panel */
  --accent-ink:  #C9551A;           /* deepened orange for small text */
}

/* Reel — de-glowed, soft warm panel that fades to paper */
body.theme-light .reel__ph {
  background:
    radial-gradient(120% 90% at 72% 22%, rgba(254,126,60,.16), transparent 55%),
    radial-gradient(120% 120% at 18% 90%, rgba(14,104,115,.14), transparent 55%),
    linear-gradient(120deg, #F6F1E7, #ECE3D4);
  filter: none;
}
body.theme-light .reel__grain { opacity: .04; mix-blend-mode: multiply; }
body.theme-light .reel__scrim {
  background: radial-gradient(82% 74% at 50% 46%, rgba(243,237,225,.1) 0%, rgba(243,237,225,.1) 32%, rgba(243,237,225,.48) 100%);
}

/* Type: small orange labels deepened for contrast on paper */
body.theme-light .section__label,
body.theme-light .proj-hero__eyebrow,
body.theme-light .proj-block h4 { color: var(--accent-ink); }

/* Nav: ink logo + links, no dark shadow */
body.theme-light .nav__sig img { filter: drop-shadow(0 1px 2px rgba(26,44,48,.14)); }
body.theme-light .nav__links a { text-shadow: none; }

/* Hero signature (ink) softened shadow */
body.theme-light .hero__sig img { filter: drop-shadow(0 2px 16px rgba(246,241,231,.92)); }

/* Panels & hairlines a touch stronger against paper */
body.theme-light .project__media,
body.theme-light .about__photo,
body.theme-light .proj-video__frame { border-color: rgba(97,65,60,.35); }

/* Stills: cards + arrows on paper */
body.theme-light .still-card { background: #fff; box-shadow: 0 6px 18px -12px rgba(26,44,48,.3); }
body.theme-light .stills__nav button { color: var(--pearl); }
body.theme-light .stills__nav button:hover:not(:disabled) { color: var(--orange); }

/* ---- Theme toggle control ---- */
.theme-toggle {
  position: fixed; left: var(--gutter); bottom: 1.4rem; z-index: 600;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem .8rem; border-radius: 2px;
  font: 600 .7rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase;
  color: var(--bone); background: rgba(34,58,64,.55); border: 1px solid var(--copper);
  backdrop-filter: blur(8px); cursor: pointer; transition: color .25s var(--ease), border-color .25s var(--ease);
}
body.cursor-on .theme-toggle { cursor: none; }
.theme-toggle:hover { color: var(--orange); border-color: var(--orange); }
.theme-toggle .dot { width: 8px; height: 8px; background: var(--orange); }
body.theme-light .theme-toggle { background: rgba(243,237,225,.6); }


/* Local media replacement for Vimeo embeds; layout is otherwise unchanged. */
.proj-video__frame > video.local-project-video { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; background:#000; display:block; }
.lite-video > video.local-project-video { object-fit:cover; background:#000; display:block; }


/* Mobile hardening only; original project page design/content retained. */
html,body{max-width:100%;overflow-x:hidden}
img,video,iframe{max-width:100%}
.local-project-video{width:100%;height:100%;object-fit:cover;background:#000}
@media(max-width:700px){
  :root{--gutter:18px}
  .proj-hero{padding-top:6.8rem;padding-left:18px;padding-right:18px}
  .proj-hero__title{font-size:clamp(2.45rem,13vw,4rem);line-height:.9;overflow-wrap:break-word}
  .proj-panel-wrap,.proj-video,.proj-story,.proj-credits,.stills-section,.bts-section{max-width:100%;overflow:hidden}
  .proj-video{padding-left:18px!important;padding-right:18px!important}
  .proj-video__frame{width:100%;max-width:100%;overflow:hidden}
  .proj-story,.proj-credits,.stills-section,.bts-section{padding-left:18px!important;padding-right:18px!important}
  .proj-story__lede{font-size:clamp(1.45rem,7vw,2rem);line-height:1.18}
  .proj-highlights{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hl{min-width:0}.hl__val,.hl__num{overflow-wrap:anywhere}
  .stills__track{max-width:100%}
  .next-project__inner{padding-left:18px!important;padding-right:18px!important;gap:16px}
  .next-project__name{overflow-wrap:break-word}
}
@media(max-width:430px){
  .nav__inner{padding-left:18px;padding-right:18px}
  .nav__links{gap:.75rem;font-size:.62rem}
  .proj-hero__title{font-size:clamp(2.2rem,12.2vw,3.2rem)}
  .proj-highlights{grid-template-columns:1fr 1fr}
  .next-project__inner{grid-template-columns:1fr 1fr}
}

/* =====================================================================
   Current-site brand skin over the original project-page structure.
   Structure/order stays from the previous portfolio; only art direction changes.
   ===================================================================== */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=Instrument+Sans:wght@400;500;600;700&display=swap');
:root{--pearl:#091212;--pearl-raise:#101918;--pearl-deep:#06100f;--bone:#f1ead8;--bone-dim:#cfc7b7;--orange:#fe7e3c;--lagoon:#0e6873;--lust:#e4201b;--copper:#61413c;--display:Impact,'Arial Narrow',sans-serif;--body:'Instrument Sans',Arial,sans-serif;--gutter:clamp(20px,3.5vw,58px);--maxw:1680px}
body{background:var(--pearl);color:var(--bone);font-family:var(--body);font-size:1rem;line-height:1.6;-webkit-font-smoothing:antialiased}
body::before{content:"";position:fixed;inset:0;pointer-events:none;z-index:9998;opacity:.09;mix-blend-mode:soft-light;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E")}
.page{max-width:1680px;margin:0 auto;border-left:1px solid rgba(241,234,216,.16);border-right:1px solid rgba(241,234,216,.16)}

/* Current pill navigation, same mark as shell pages. */
.nav{position:fixed;z-index:500;left:50%;top:14px;right:auto;bottom:auto;transform:translateX(-50%);width:min(calc(100% - 28px),1652px);background:rgba(9,18,18,.78);backdrop-filter:blur(18px);border:1px solid rgba(241,234,216,.16);border-radius:999px}
.nav__inner{max-width:none;margin:0;padding:14px 22px;display:flex;align-items:center;justify-content:space-between}
.nav__links{font-family:'IBM Plex Mono',monospace;font-size:11px;letter-spacing:.13em;text-transform:uppercase;gap:34px}.nav__links a{text-shadow:none}
.nav__sig{width:30px;height:30px;display:flex;align-items:center}.nav__sig img{display:none}

/* Same grungy home/loading mark. */
.sigil{--sigil-size:30px;width:var(--sigil-size);height:var(--sigil-size);position:relative;display:inline-block;isolation:isolate;filter:drop-shadow(0 0 8px rgba(228,32,27,.28));transform:rotate(-7deg)}
.sigil::before{content:"";position:absolute;inset:2%;background:var(--lust);clip-path:polygon(47% 0,57% 32%,82% 12%,70% 42%,100% 48%,68% 57%,88% 86%,58% 70%,48% 100%,39% 69%,8% 88%,30% 58%,0 47%,34% 40%,17% 13%,42% 31%);animation:pjMark 1.15s steps(4,end) infinite}
.sigil::after{content:"";position:absolute;left:36%;top:36%;width:29%;height:29%;background:var(--bone);border-radius:45% 55% 48% 52%;box-shadow:-4px 2px 0 rgba(254,126,60,.8),4px -2px 0 rgba(14,104,115,.65);animation:pjBlink 1.15s steps(2,end) infinite}
.sigil i,.sigil b{position:absolute;display:block;height:22%;transform-origin:center;opacity:.95}.sigil i{width:46%;left:3%;top:19%;background:var(--lagoon);clip-path:polygon(5% 30%,86% 0,100% 50%,78% 84%,0 70%);transform:rotate(-21deg)}.sigil b{width:43%;right:-2%;bottom:10%;background:var(--orange);clip-path:polygon(0 18%,84% 0,100% 67%,28% 100%);transform:rotate(-18deg)}
.sigil--loader{--sigil-size:92px}.sigil--nav{--sigil-size:27px}
@keyframes pjMark{0%,100%{transform:translate(0) rotate(0)}40%{transform:translate(1px,-1px) rotate(4deg) scale(.97)}70%{transform:translate(-1px,1px) rotate(-3deg) scale(1.03)}}@keyframes pjBlink{0%,48%,100%{opacity:1}49%,65%{opacity:.38;transform:scale(.72)}}

/* Page transition: mark only, no label. */
.loader,.project-transition{position:fixed;inset:0;z-index:10001;display:grid;place-items:center;background:rgba(4,10,10,.97);opacity:0;visibility:hidden;transition:opacity .35s ease,visibility .35s ease}
.loader.show,.project-transition.show{opacity:1;visibility:visible}.project-transition:not(.show){pointer-events:none}.loader__face{display:none!important}

/* Type + palette skin */
.proj-hero{padding-top:clamp(130px,13vw,190px);padding-bottom:clamp(54px,6vw,86px)}
.proj-hero__eyebrow,.hl__label,.proj-tags,.proj-story h4,.role-block h4,.full-credits summary,.stills__label,.next-project__eyebrow,.footer__links,.credit-row dt{font-family:'IBM Plex Mono',monospace!important;text-transform:uppercase;letter-spacing:.11em}
.proj-hero__eyebrow,.hl__label,.proj-story h4,.role-block h4,.stills__label,.next-project__eyebrow,.credit-row dt{color:var(--lust)!important}
.proj-hero__title,.next-project__name,.footer__cta{font-family:Impact,'Arial Narrow',sans-serif!important;font-weight:900!important;letter-spacing:-.035em!important;line-height:.86!important}
.proj-hero__title{font-size:clamp(64px,10vw,150px)!important}
.proj-tags span{border-color:rgba(241,234,216,.18)!important;color:var(--bone-dim)!important;background:transparent!important}
.proj-panel-wrap,.proj-story,.proj-credits,.stills,.next-project,.footer{border-color:rgba(241,234,216,.16)!important}
.proj-highlights{background:rgba(241,234,216,.16)!important;gap:1px!important}.hl{background:var(--pearl)!important}.hl__num,.hl__val{color:var(--bone)!important}
.proj-video{background:var(--pearl)!important}.proj-video__frame{border:1px solid rgba(241,234,216,.18)!important;background:#000!important}
.local-project-video{background:#000!important;filter:none!important}
.proj-story__lede{font-family:'Instrument Sans',Arial,sans-serif!important;font-size:clamp(25px,3vw,46px)!important;font-weight:500!important;line-height:1.2!important;color:var(--bone)!important}.proj-story__lede em{font-family:Georgia,'Times New Roman',serif;font-style:italic;font-weight:400;color:var(--bone)}
.proj-story__body p,.proj-cgr p,.role-key li,.credit-row dd{color:var(--bone-dim)!important}.proj-cgr__row{border-color:rgba(241,234,216,.16)!important}
.role-primary__val{font-family:Impact,'Arial Narrow',sans-serif!important;text-transform:uppercase;font-size:clamp(35px,5vw,72px)!important;line-height:.9!important}
.full-credits{border-color:rgba(241,234,216,.16)!important}.credit-row{border-color:rgba(241,234,216,.12)!important}.credit-row .h{color:#79a8a8!important}
.stills-track{scrollbar-color:var(--orange) transparent}.still-card{border-color:rgba(241,234,216,.16)!important;background:var(--pearl-raise)!important}.stills__nav button{border-color:rgba(241,234,216,.2)!important;color:var(--bone)!important;background:transparent!important}.stills__nav button:hover{background:var(--orange)!important;color:var(--pearl)!important}
.next-project{background:rgba(241,234,216,.16)!important}.next-project__inner{background:var(--pearl)!important}.np-link:hover{color:var(--orange)!important}
.footer{background:var(--pearl)!important}.footer__links a:hover{color:var(--orange)!important}

@media(max-width:700px){
  :root{--gutter:18px}
  .page{width:100%;max-width:100%;overflow:hidden}
  .nav{top:8px;width:calc(100% - 16px)}.nav__inner{padding:12px 16px}.nav__links{gap:17px;font-size:9px}.sigil--nav{--sigil-size:25px}
  .proj-hero{padding:106px 18px 44px!important}.proj-hero__title{font-size:clamp(48px,15vw,72px)!important;overflow-wrap:normal;word-break:normal}.proj-hero__eyebrow{font-size:9px}
  .proj-panel-wrap{padding-inline:18px!important}.proj-highlights{grid-template-columns:repeat(2,minmax(0,1fr))!important}.hl{padding:18px 12px!important}.hl__val,.hl__num{font-size:21px!important}
  .proj-video{padding:36px 18px!important}.proj-video__frame{width:100%!important}.local-project-video{width:100%!important;height:auto!important;aspect-ratio:16/9;object-fit:contain}
  .proj-story,.proj-credits,.stills{padding-left:18px!important;padding-right:18px!important}.proj-story__lede{font-size:27px!important}.proj-story__body{font-size:15px!important}.proj-cgr{grid-template-columns:1fr!important}.proj-cgr__row{padding:24px 0!important}
  .role-block{grid-template-columns:1fr!important;gap:28px!important}.role-primary__val{font-size:43px!important}.role-key li{font-size:14px!important}
  .credits-grid{grid-template-columns:1fr!important}.credit-row{grid-template-columns:1fr!important;gap:5px!important;padding:15px 0!important}
  .stills__head{align-items:center!important}.stills-track{margin-right:-18px!important;padding-right:18px!important}.still-card{flex-basis:82vw!important}
  .next-project__inner{grid-template-columns:1fr!important}.np-link{padding:28px 18px!important}.np-link--next{text-align:left!important}.next-project__name{font-size:35px!important}
  .footer__inner{padding:38px 18px!important;grid-template-columns:1fr!important;gap:30px!important}.footer__cta{font-size:44px!important}.footer__links{justify-content:flex-start!important}
}
.project-mobile-menu{display:none;border:0;background:none;color:var(--bone);font:11px 'IBM Plex Mono',monospace;text-transform:uppercase;letter-spacing:.13em}.project-mobile-drawer{display:none}
@media(max-width:700px){
  .nav__links{display:none!important}.project-mobile-menu{display:block}
  .project-mobile-drawer{position:fixed;z-index:499;top:76px;left:8px;right:8px;padding:22px;background:rgba(9,18,18,.98);border:1px solid rgba(241,234,216,.16);border-radius:24px;flex-direction:column;gap:14px;font:12px 'IBM Plex Mono',monospace;text-transform:uppercase;letter-spacing:.12em}.project-mobile-drawer.open{display:flex}.project-mobile-drawer a{padding:7px 2px;border-bottom:1px solid rgba(241,234,216,.16)}
}

/* =====================================================================
   Aug 07 — final project-page polish
   ===================================================================== */

/* Shared HOME icon — same small moving gradient outline as shell navigation. */
.sigil--nav{
  --sigil-size:27px!important;width:var(--sigil-size)!important;height:var(--sigil-size)!important;
  transform:none!important;filter:drop-shadow(0 0 5px rgba(254,126,60,.12))!important;overflow:visible!important;
}
.sigil--nav::before{
  content:""!important;position:absolute!important;inset:2px!important;clip-path:none!important;border-radius:0!important;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 10.8 12 3l9 7.8v9.2a1 1 0 0 1-1 1h-5.4v-6.4H9.4V21H4a1 1 0 0 1-1-1z' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat!important;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 10.8 12 3l9 7.8v9.2a1 1 0 0 1-1 1h-5.4v-6.4H9.4V21H4a1 1 0 0 1-1-1z' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat!important;
  background:linear-gradient(110deg,var(--bone) 0 20%,var(--orange) 38%,var(--lust) 52%,#69a8a7 70%,var(--bone) 92%)!important;background-size:260% 100%!important;
  animation:projectHomeFlow 7s ease-in-out infinite!important;
}
.sigil--nav::after{display:none!important}.sigil--nav i,.sigil--nav b{display:none!important}
@keyframes projectHomeFlow{0%,100%{background-position:0% 50%;transform:translate(0,0) scale(1)}40%{background-position:100% 50%;transform:translate(.3px,-.4px) scale(1.015)}70%{background-position:55% 50%;transform:translate(-.35px,.25px) scale(.995)}}

/* Shared PERFECT-inspired LOADING mark — no extra label, no tech spinner. */
.sigil--loader{--sigil-size:auto!important;width:min(330px,72vw)!important;height:112px!important;transform:none!important;filter:none!important;overflow:visible!important;isolation:isolate}
.sigil--loader::before,.sigil--loader::after{
  content:"LOADING"!important;position:absolute!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;
  clip-path:none!important;border-radius:0!important;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif!important;font-weight:800!important;
  font-size:clamp(43px,7vw,78px)!important;line-height:1!important;letter-spacing:-.065em!important;white-space:nowrap!important;
}
.sigil--loader::before{z-index:3!important;color:#071010!important;background:none!important;-webkit-text-stroke:1.35px rgba(241,234,216,.92)!important;text-shadow:0 0 2px rgba(241,234,216,.55),-2px 1px 3px rgba(0,220,238,.88),2px -1px 3px rgba(255,55,74,.92),0 4px 11px rgba(254,126,60,.7)!important;animation:pjLoadingBody 1.85s cubic-bezier(.45,0,.3,1) infinite alternate!important}
.sigil--loader::after{z-index:1!important;color:transparent!important;background:linear-gradient(90deg,#00d7ea 0%,#ff344d 22%,#ff8c32 43%,#f02594 63%,#17cfe4 82%,#ff4c2f 100%)!important;-webkit-background-clip:text!important;background-clip:text!important;-webkit-text-fill-color:transparent!important;filter:blur(5px) saturate(1.55)!important;transform-origin:50% 28%!important;opacity:.9!important;animation:pjLoadingColor 1.85s cubic-bezier(.45,0,.3,1) infinite alternate!important}
.sigil--loader i,.sigil--loader b{display:block!important;position:absolute!important;z-index:0!important;top:48%!important;height:78%!important;border-radius:45% 45% 65% 65%!important;transform-origin:50% 0!important;filter:blur(14px) saturate(1.55)!important;opacity:.6!important;clip-path:polygon(2% 0,98% 0,93% 30%,87% 100%,76% 55%,68% 94%,58% 45%,49% 100%,38% 54%,28% 92%,18% 44%,8% 100%)!important}
.sigil--loader i{left:7%!important;width:57%!important;background:linear-gradient(90deg,#ff2c45,#ff7a31 25%,#14c9df 52%,#ff2490 78%,#f44b24)!important;animation:pjLoadingDripA 1.85s ease-in-out infinite alternate!important}
.sigil--loader b{right:5%!important;width:49%!important;background:linear-gradient(90deg,#19d3df,#ff255f 34%,#ff8a2d 66%,#1bc9d5)!important;animation:pjLoadingDripB 1.85s .16s ease-in-out infinite alternate!important}
@keyframes pjLoadingBody{0%{transform:translateY(-1px) scaleY(.99) skewX(-.3deg)}45%{transform:translateY(1px) scaleY(1.02) skewX(.5deg)}100%{transform:translateY(3px) scaleY(1.055) skewX(-.7deg)}}
@keyframes pjLoadingColor{0%{transform:translateY(2px) scaleY(1.05);opacity:.58}45%{transform:translateY(8px) scaleY(1.25) skewX(.8deg);opacity:.78}100%{transform:translateY(17px) scaleY(1.55) skewX(-1.2deg);opacity:.92}}
@keyframes pjLoadingDripA{0%{transform:translateY(0) scaleY(.48);opacity:.28}100%{transform:translateY(10px) scaleY(1.16);opacity:.68}}
@keyframes pjLoadingDripB{0%{transform:translateY(2px) scaleY(.55);opacity:.24}100%{transform:translateY(18px) scaleY(1.32);opacity:.62}}

/* Same dropdown as Home / Work / About / Contact. */
@media(max-width:700px){
  .project-mobile-drawer{
    top:78px!important;left:10px!important;right:10px!important;padding:22px 24px!important;border-radius:24px!important;
    background:rgba(9,18,18,.985)!important;border:1px solid rgba(241,234,216,.16)!important;box-shadow:0 20px 60px rgba(0,0,0,.3)!important;gap:14px!important;
    font:12px 'IBM Plex Mono',monospace!important;text-transform:uppercase!important;letter-spacing:.12em!important;
  }
  .project-mobile-drawer a{padding:8px 2px!important;border-bottom:1px solid rgba(241,234,216,.16)!important}
}

/* Project headlines — around 20% calmer overall, with healthier line spacing on phones. */
.proj-hero__title{font-size:clamp(52px,7.1vw,112px)!important;line-height:.92!important;letter-spacing:-.025em!important;max-width:100%!important}
.proj-hero__title.corvette-title{white-space:nowrap!important;font-size:clamp(48px,6.7vw,106px)!important}

/* Highlights: breathe like the original site; no black tiles inside the banner. */
.proj-panel-wrap{margin-bottom:clamp(2.8rem,6.5vh,4.6rem)!important}
.proj-highlights{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-items:end!important;
  gap:clamp(20px,3vw,52px)!important;
  padding:clamp(30px,4vw,52px) clamp(28px,4vw,58px)!important;
  background:linear-gradient(108deg,rgba(97,65,60,.22),rgba(14,104,115,.09) 62%,rgba(9,18,18,.2))!important;
  border:1px solid rgba(254,126,60,.36)!important;border-left:4px solid var(--orange)!important;
  box-shadow:0 28px 48px -30px rgba(0,0,0,.95),0 14px 28px -22px rgba(254,126,60,.32)!important;
}
.proj-highlights .hl{background:transparent!important;padding:0!important;border:0!important;min-width:0!important;gap:7px!important}
.proj-highlights .hl + .hl::before{content:""!important;position:absolute!important;left:calc(-1 * clamp(10px,1.5vw,24px))!important;top:7%!important;bottom:7%!important;height:auto!important;width:1px!important;background:rgba(241,234,216,.17)!important;transform:none!important}
.hl__label{font-size:10px!important;letter-spacing:.15em!important}
.hl__val{font-family:'Barlow Condensed','Arial Narrow',sans-serif!important;font-size:clamp(27px,2.7vw,44px)!important;font-weight:700!important;line-height:.94!important;letter-spacing:-.02em!important}
.hl__num{font-family:'Barlow Condensed','Arial Narrow',sans-serif!important;font-size:clamp(58px,5.7vw,88px)!important;font-weight:700!important;line-height:.76!important;letter-spacing:-.035em!important;color:var(--orange)!important}
.proj-highlights .hl:nth-child(3){transform:translateY(8px)!important}

/* Vimeo project embeds: use the actual films and give the frames more air. */
.proj-video{width:min(82%,1280px)!important;max-width:1280px!important;padding:0!important;margin-left:auto!important;margin-right:auto!important}
.proj-video__frame iframe,.proj-video__frame>iframe{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;border:0!important;background:#000!important}
.local-project-video{display:none!important}
.lite-show--h{width:min(82%,1280px)!important;max-width:1280px!important;padding-left:0!important;padding-right:0!important;margin-left:auto!important;margin-right:auto!important}
.lite-show--v{max-width:1180px!important;grid-template-columns:minmax(220px,280px) minmax(0,620px)!important;justify-content:center!important;column-gap:clamp(40px,5vw,78px)!important}
.lite-show--v .lite-video{max-width:280px!important;width:100%!important}
.lite-video iframe{border:0!important;background:#000!important}

/* More separation between previous and next project choices on phones. */
@media(max-width:700px){
  .proj-hero{padding-top:106px!important;padding-bottom:46px!important}
  .proj-hero__title{font-size:clamp(41px,11.8vw,57px)!important;line-height:.96!important;letter-spacing:-.02em!important;text-wrap:balance!important}
  .proj-hero__title.corvette-title{white-space:normal!important;font-size:clamp(40px,11.4vw,55px)!important;line-height:.98!important}
  .proj-panel-wrap{padding-inline:18px!important;margin-bottom:46px!important}
  .proj-highlights{grid-template-columns:1fr 1fr!important;gap:30px 26px!important;padding:30px 24px!important}
  .proj-highlights .hl + .hl::before{display:none!important}
  .hl__label{font-size:9px!important}.hl__val{font-size:26px!important}.hl__num{font-size:52px!important}
  .proj-highlights .hl:nth-child(3){transform:none!important}
  .proj-video{width:90%!important;padding:0!important}
  .lite-show--h{width:90%!important;padding:0!important}
  .lite-show--v{display:grid!important;grid-template-columns:1fr!important;width:100%!important;padding-left:18px!important;padding-right:18px!important;gap:30px!important}
  .lite-show--v .lite-video{max-width:min(78vw,300px)!important;margin-inline:auto!important}
  .next-project__inner{display:grid!important;grid-template-columns:1fr!important;gap:54px!important;padding:42px 24px 48px!important}
  .np-link{max-width:100%!important;width:100%!important}
  .np-link--back{align-items:flex-start!important;text-align:left!important}
  .np-link--next{align-items:flex-end!important;text-align:right!important}
  .next-project__name{font-size:clamp(26px,8vw,36px)!important;line-height:.94!important}
  .next-project__eyebrow{font-size:9px!important}
}
/* Matching film-burn atmosphere on project transitions. */
.project-transition{overflow:hidden!important}
.project-transition::before,.project-transition::after{content:"";position:absolute;inset:-18%;pointer-events:none;background:radial-gradient(ellipse at 38% 55%,rgba(255,46,78,.28),transparent 24%),radial-gradient(ellipse at 57% 44%,rgba(254,126,60,.30),transparent 26%),radial-gradient(ellipse at 68% 58%,rgba(16,173,188,.18),transparent 23%);filter:blur(34px);opacity:.28;animation:pjTransitionBurn 2.4s ease-in-out infinite alternate}
.project-transition::after{animation-delay:-1.1s;opacity:.16;transform:scale(1.12)}
.project-transition .sigil--loader{position:relative;z-index:2}
@keyframes pjTransitionBurn{0%{translate:-6% 1%;scale:1}55%{translate:5% -3%;scale:1.12}100%{translate:-1% 4%;scale:1.04}}
.sigil--loader i{right:auto!important}.sigil--loader b{left:auto!important}

/* =====================================================================
   Aug 07 — Round 5 consistency + scale pass
   ===================================================================== */

/* Project pages stay in the site's dark palette. Red is the project accent;
   teal remains the secondary accent. This removes the stray orange treatment. */
body.project-page{--orange:var(--lust)!important;background:var(--pearl)!important;color:var(--bone)!important}
body.project-page.theme-light{background:var(--pearl)!important;color:var(--bone)!important}
.theme-toggle{display:none!important}

/* Navigation: the middle menu is mathematically centered on every project page. */
.nav__inner{display:grid!important;grid-template-columns:1fr auto 1fr!important;align-items:center!important;width:100%!important}
.nav__sig{justify-self:start!important}
.nav__links{justify-self:center!important;text-align:center!important}
.project-mobile-menu{justify-self:end!important}
.project-mobile-drawer{text-align:center!important;align-items:center!important}
.project-mobile-drawer a{width:100%!important;text-align:center!important}

/* Page switches: replace the LOADING word with a small glowing retro status bar. */
.loadbar{display:none!important}
.project-transition,.loader.project-transition{
  background:rgba(4,10,10,.84)!important;
  backdrop-filter:blur(7px)!important;
  -webkit-backdrop-filter:blur(7px)!important;
  overflow:hidden!important;
}
.project-transition .sigil--loader,.loader.project-transition .sigil--loader{display:none!important}
.project-transition::before,.loader.project-transition::before{
  content:""!important;position:absolute!important;inset:auto!important;left:50%!important;top:50%!important;
  width:108px!important;height:7px!important;transform:translate(-50%,-50%)!important;
  border:1px solid rgba(241,234,216,.26)!important;border-radius:2px!important;
  background:linear-gradient(90deg,rgba(228,32,27,.25),rgba(14,104,115,.2))!important;
  box-shadow:0 0 8px rgba(228,32,27,.28),0 0 18px rgba(14,104,115,.18),inset 0 0 8px rgba(241,234,216,.08)!important;
  filter:none!important;opacity:1!important;animation:none!important;
}
.project-transition::after,.loader.project-transition::after{
  content:""!important;position:absolute!important;inset:auto!important;top:50%!important;left:calc(50% - 52px)!important;
  width:28px!important;height:5px!important;margin-top:-2.5px!important;border-radius:1px!important;
  background:linear-gradient(90deg,var(--lust),#d74c3c,var(--lagoon),var(--bone))!important;
  box-shadow:0 0 8px rgba(228,32,27,.7),0 0 14px rgba(14,104,115,.42)!important;
  filter:none!important;opacity:1!important;transform:none!important;
  animation:retroBarSweep .82s steps(6,end) infinite!important;
}
@keyframes retroBarSweep{0%{translate:0 0;scale:.7 1;opacity:.45}50%{translate:38px 0;scale:1.15 1;opacity:1}100%{translate:76px 0;scale:.72 1;opacity:.48}}

/* Hero facts: Client / Role / Year breathe and read as three distinct facts. */
.proj-hero__facts{
  width:min(100%,980px)!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:clamp(44px,7vw,108px)!important;margin-top:2.25rem!important;
  font-family:'IBM Plex Mono',monospace!important;font-size:10px!important;letter-spacing:.12em!important;
}
.proj-hero__facts>div{min-width:0!important;color:var(--bone-dim)!important}
.proj-hero__facts b{font-family:'Instrument Sans',Arial,sans-serif!important;font-size:14px!important;line-height:1.35!important;letter-spacing:0!important;text-transform:none!important;color:var(--bone)!important;margin-top:7px!important}

/* Highlight / stats banner — 50% smaller, aligned, single-line values, with one soft shadow. */
.proj-panel-wrap{max-width:1180px!important;margin:0 auto clamp(2.2rem,5vh,3.4rem)!important;padding:0 var(--gutter)!important}
.proj-highlights{
  display:grid!important;align-items:stretch!important;gap:0!important;
  padding:clamp(14px,1.6vw,20px) clamp(14px,1.8vw,22px)!important;
  min-height:0!important;
  background:linear-gradient(110deg,rgba(97,65,60,.14),rgba(14,104,115,.075) 60%,rgba(9,18,18,.14))!important;
  border:1px solid rgba(228,32,27,.22)!important;border-left:2px solid var(--lust)!important;border-radius:2px!important;
  box-shadow:0 18px 34px -24px rgba(0,0,0,.95),0 8px 20px -18px rgba(228,32,27,.42)!important;
}
.proj-highlights.hl-count-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.proj-highlights.hl-count-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.proj-highlights.hl-count-4{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.proj-highlights .hl{
  display:flex!important;flex-direction:column!important;justify-content:flex-start!important;align-items:flex-start!important;
  gap:5px!important;min-width:0!important;padding:3px clamp(12px,1.4vw,20px)!important;
  transform:none!important;border:0!important;background:transparent!important;
}
.proj-highlights .hl:first-child{padding-left:0!important}
.proj-highlights .hl:last-child{padding-right:0!important}
.proj-highlights .hl + .hl{border-left:1px solid rgba(241,234,216,.14)!important}
.proj-highlights .hl + .hl::before{display:none!important}
.hl__label{font-size:8px!important;line-height:1.1!important;letter-spacing:.14em!important;white-space:nowrap!important;color:var(--lust)!important}
.hl__val{
  font-family:'Instrument Sans',Arial,sans-serif!important;font-size:clamp(16px,1.35vw,21px)!important;font-weight:600!important;
  line-height:1.05!important;letter-spacing:-.025em!important;text-transform:uppercase!important;color:var(--bone)!important;
  white-space:nowrap!important;max-width:100%!important;
}
.hl__val--small{font-size:clamp(12px,1.05vw,16px)!important;letter-spacing:-.02em!important}
.hl__num{
  font-family:Impact,'Arial Narrow',sans-serif!important;font-size:clamp(30px,3vw,44px)!important;font-weight:400!important;
  line-height:.82!important;letter-spacing:-.025em!important;color:var(--bone)!important;white-space:nowrap!important;
}
.proj-highlights .hl:nth-child(3){transform:none!important}

/* Body copy: every reading block is centered in the page's optical column. */
.proj-story{max-width:1080px!important;margin-left:auto!important;margin-right:auto!important}
.proj-story__lede,.proj-story__body,.proj-cgr{width:min(100%,900px)!important;margin-left:auto!important;margin-right:auto!important}
.proj-story__lede{max-width:34ch!important}
.proj-story__body p{width:100%!important;max-width:68ch!important;margin-left:auto!important;margin-right:auto!important}
.proj-cgr__row p{max-width:68ch!important;width:100%!important}
.lite-show{margin-left:auto!important;margin-right:auto!important}
.lite-info{max-width:620px!important;margin-left:auto!important;margin-right:auto!important}
.lite-desc,.lite-subtitle{margin-left:auto!important;margin-right:auto!important}

/* Role sections: same label, same columns, same scale and alignment. */
.proj-credits{max-width:1200px!important;margin-left:auto!important;margin-right:auto!important}
.role-block{
  width:min(100%,1080px)!important;margin:0 auto 2.7rem!important;
  display:grid!important;grid-template-columns:minmax(245px,330px) minmax(0,1fr)!important;
  gap:clamp(48px,6vw,86px)!important;align-items:start!important;
}
.role-block h4{margin:0 0 12px!important;font-size:9px!important;color:var(--lust)!important}
.role-primary__val{
  font-family:Impact,'Arial Narrow',sans-serif!important;font-size:clamp(34px,3.8vw,54px)!important;
  line-height:.94!important;letter-spacing:-.02em!important;color:var(--bone)!important;overflow-wrap:normal!important;
}
.role-key{padding-top:0!important}.role-key ul{gap:.82rem!important}.role-key li{font-size:15px!important;line-height:1.55!important;max-width:62ch!important;padding-left:1.15rem!important}
.role-key li::before{width:5px!important;height:5px!important;background:var(--lust)!important}
.role-block--solo{grid-template-columns:1fr!important}
.role-block--solo .role-primary{display:grid!important;grid-template-columns:180px minmax(0,1fr)!important;gap:clamp(38px,5vw,70px)!important;align-items:start!important}
.role-block--solo .role-primary h4{padding-top:5px!important}

/* Vertical social pages: return the video/text ratio closer to the original site's 340px portrait player. */
.lite-show--v{
  max-width:1180px!important;grid-template-columns:minmax(300px,340px) minmax(0,640px)!important;
  justify-content:center!important;column-gap:clamp(46px,5vw,72px)!important;row-gap:clamp(26px,3vh,40px)!important;
}
.lite-show--v .lite-video{max-width:340px!important;width:100%!important}
.lite-show--v .lite-info{padding-top:.25rem!important}
.lite-show--v .stills{max-width:640px!important}

/* Horizontal film / Emery cover share the exact same frame footprint. */
.proj-video,.project-emery .proj-video{width:min(82%,1280px)!important;max-width:1280px!important;margin-left:auto!important;margin-right:auto!important;padding:0!important}
.proj-video__frame{aspect-ratio:16/9!important}
.proj-video__cover{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important}

/* Accent consistency throughout projects: red primary, teal secondary, neutral hairlines. */
.proj-hero__eyebrow,.proj-story h4,.role-block h4,.full-credits summary,.stills__label,.next-project__eyebrow,.credit-row dt{color:var(--lust)!important}
.proj-story__lede em,.lite-line em,.lite-subtitle em{color:var(--bone)!important}
.full-credits summary::after,.credit-row dd strong{color:var(--lust)!important}
.credit-row .h{color:#79a8a8!important}
.stills-track{scrollbar-color:var(--lust) transparent!important}
.stills__nav button:hover:not(:disabled){border-color:var(--lust)!important;color:var(--lust)!important;background:transparent!important}
.np-link:hover{color:var(--lust)!important}.footer__links a:hover{color:var(--lust)!important}

@media(max-width:700px){
  .nav__inner{grid-template-columns:1fr auto 1fr!important}.nav__links{display:none!important}.project-mobile-menu{display:block!important}
  .project-mobile-drawer{align-items:center!important;text-align:center!important}

  .proj-hero__facts{grid-template-columns:1fr!important;gap:18px!important;margin-top:1.8rem!important}
  .proj-hero__facts b{font-size:13px!important;margin-top:4px!important}

  .proj-panel-wrap{padding-inline:18px!important;margin-bottom:34px!important}
  .proj-highlights{grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:14px 14px!important}
  .proj-highlights .hl{padding:12px 10px!important;min-height:52px!important}
  .proj-highlights .hl:first-child{padding-left:10px!important}
  .proj-highlights .hl:last-child{padding-right:10px!important}
  .proj-highlights .hl + .hl{border-left:0!important}
  .proj-highlights .hl:nth-child(even){border-left:1px solid rgba(241,234,216,.13)!important}
  .proj-highlights .hl:nth-child(n+3){border-top:1px solid rgba(241,234,216,.13)!important}
  .proj-highlights.hl-count-3 .hl:last-child{grid-column:1/-1!important;border-left:0!important}
  .hl__label{font-size:7.5px!important}.hl__val{font-size:15px!important}.hl__num{font-size:31px!important}.hl__val--small{font-size:10.5px!important}

  .proj-story{padding-left:18px!important;padding-right:18px!important}.proj-story__lede,.proj-story__body,.proj-cgr{width:100%!important}
  .proj-cgr__row{grid-template-columns:1fr!important;gap:9px!important}

  .role-block{grid-template-columns:1fr!important;gap:30px!important;width:100%!important}
  .role-primary__val{font-size:35px!important;line-height:.96!important}
  .role-block--solo .role-primary{grid-template-columns:1fr!important;gap:7px!important}
  .role-key li{font-size:14px!important}

  .lite-show--v{grid-template-columns:1fr!important;width:100%!important;padding-left:18px!important;padding-right:18px!important;gap:30px!important}
  .lite-show--v .lite-video{max-width:min(84vw,340px)!important;margin-inline:auto!important}
  .lite-show--v .lite-info,.lite-show--v .stills{width:100%!important;max-width:620px!important;margin-inline:auto!important}

  .proj-video,.project-emery .proj-video{width:90%!important}
}

/* =====================================================================
   Aug 07 — Round 6: project banner alignment + tighter metadata
   ===================================================================== */

/* Banner uses the exact same left/right page rails as the project title,
   and remains the same width on horizontal and vertical projects. */
.proj-panel-wrap{
  width:100%!important;
  max-width:var(--maxw)!important;
  margin:0 auto clamp(2rem,4.2vh,3rem)!important;
  padding:0 var(--gutter)!important;
}
.proj-highlights{width:100%!important;margin:0!important}

/* Client / Role / Year: still distinct, but substantially tighter than the
   previous version (about 60% less inter-item space). */
.proj-hero__facts{
  width:min(100%,760px)!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:clamp(18px,2.7vw,42px)!important;
  margin-top:1.35rem!important;
}
.lite-hero .proj-hero__facts{margin-top:1.55rem!important}

/* Clean stat alignment: all labels sit on one baseline and values begin at
   the same vertical point. */
.proj-highlights{
  align-items:stretch!important;
  padding:clamp(13px,1.35vw,18px) clamp(16px,1.7vw,22px)!important;
}
.proj-highlights .hl{
  justify-content:flex-start!important;
  gap:7px!important;
  padding:4px clamp(14px,1.55vw,22px)!important;
}
.hl__label{min-height:1em!important;display:block!important}
.hl__val,.hl__num{display:block!important;margin-top:auto!important}

/* Keep Corvette on one line without making it dominate the page. */
.proj-hero__title.corvette-title{
  white-space:nowrap!important;
  font-size:clamp(42px,6.15vw,88px)!important;
  letter-spacing:-.03em!important;
}

/* Situationship: tighten the hand-off from Stills to On Set by ~40%. */
.project-situationship .stills:not(.stills--bts){padding-bottom:clamp(1.4rem,2.7vh,2.25rem)!important}
.project-situationship .stills--bts{padding-top:clamp(1.3rem,2.5vh,2.1rem)!important}

/* Previous / next navigation: mobile becomes two clearly separated rows,
   with consistent left/right alignment instead of competing in one line. */
@media(max-width:700px){
  .next-project{margin-top:clamp(2.5rem,6vh,4rem)!important}
  .next-project__inner{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:36px!important;
    align-items:start!important;
    padding:34px 20px 38px!important;
  }
  .np-link{max-width:86%!important;width:max-content!important;gap:6px!important}
  .np-link--back{justify-self:start!important;align-items:flex-start!important;text-align:left!important}
  .np-link--next{justify-self:end!important;align-items:flex-end!important;text-align:right!important}
  .next-project__name{font-size:clamp(22px,7vw,31px)!important;line-height:.96!important}
  .next-project__eyebrow{font-size:9px!important;letter-spacing:.15em!important}

  /* Banner mobile: one calm row per stat. This prevents long values from
     fighting for two tiny columns while keeping the banner compact. */
  .proj-panel-wrap{padding-inline:18px!important;margin-bottom:30px!important}
  .proj-highlights,
  .proj-highlights.hl-count-2,
  .proj-highlights.hl-count-3,
  .proj-highlights.hl-count-4{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:0!important;
    padding:11px 16px!important;
  }
  .proj-highlights .hl,
  .proj-highlights .hl:first-child,
  .proj-highlights .hl:last-child{
    display:grid!important;
    grid-template-columns:minmax(72px,88px) minmax(0,1fr)!important;
    align-items:baseline!important;
    gap:14px!important;
    min-height:0!important;
    padding:10px 0!important;
    border:0!important;
  }
  .proj-highlights .hl + .hl{border-top:1px solid rgba(241,234,216,.12)!important;border-left:0!important}
  .proj-highlights.hl-count-3 .hl:last-child{grid-column:auto!important}
  .hl__label{font-size:7.5px!important;white-space:nowrap!important;margin:0!important}
  .hl__val{font-size:clamp(13px,3.7vw,16px)!important;line-height:1.05!important;white-space:nowrap!important;margin:0!important}
  .hl__val--small{font-size:clamp(10.5px,3vw,13px)!important}
  .hl__num{font-size:clamp(27px,7vw,34px)!important;line-height:.85!important;margin:0!important}

  .proj-hero__facts{
    width:100%!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:12px!important;
    margin-top:1.15rem!important;
  }
  .proj-hero__facts>div{font-size:7px!important;letter-spacing:.1em!important}
  .proj-hero__facts b{font-size:11px!important;line-height:1.25!important;margin-top:4px!important}

  .proj-hero__title.corvette-title{
    font-size:clamp(30px,8.35vw,38px)!important;
    white-space:nowrap!important;
    letter-spacing:-.04em!important;
  }
}

/* Match the horizontal-film footprint while keeping the banner's left edge
   on the title rail. Vertical projects deliberately use this same length. */
.proj-highlights{width:min(82vw,1280px)!important;max-width:100%!important}
@media(max-width:700px){.proj-highlights{width:100%!important}}

/* =====================================================================
   Aug 07 — Round 7: screenshot-driven spacing + mobile alignment pass
   ===================================================================== */

/* Project metadata is one compact, left-aligned information line. The
   banner below carries different proof/craft highlights, so these facts do
   not compete with it. */
.proj-hero__facts,
.proj-hero__facts--compact{
  width:max-content!important;
  max-width:100%!important;
  display:grid!important;
  grid-template-columns:max-content max-content max-content!important;
  justify-content:start!important;
  column-gap:clamp(20px,2.2vw,34px)!important;
  row-gap:0!important;
  margin-top:1.1rem!important;
}
.proj-hero__facts>div{
  min-width:0!important;
  padding:0!important;
  white-space:nowrap!important;
}
.proj-hero__facts b{
  white-space:nowrap!important;
  font-size:13px!important;
  margin-top:4px!important;
}

/* Banner uses the title's left rail, while its physical width matches the
   horizontal project frame. Portrait projects deliberately retain this same
   width so every case study has one consistent system. */
.proj-panel-wrap{
  width:100%!important;
  max-width:var(--maxw)!important;
  margin:0 auto clamp(2rem,4vh,2.8rem)!important;
  padding:0 var(--gutter)!important;
}
.proj-highlights{
  width:min(82vw,1280px)!important;
  max-width:100%!important;
  margin:0!important;
  justify-self:start!important;
  padding:14px 18px!important;
}
.proj-highlights .hl{
  min-width:0!important;
  padding:3px clamp(16px,1.4vw,22px)!important;
}
.proj-highlights .hl:first-child{padding-left:0!important}
.proj-highlights .hl:last-child{padding-right:0!important}
.hl__label{font-size:8px!important}
.hl__val{font-size:clamp(14px,1.15vw,18px)!important;white-space:nowrap!important}
.hl__val--small{font-size:clamp(11px,.95vw,15px)!important;white-space:nowrap!important}
.hl__num{font-size:clamp(28px,2.6vw,39px)!important}

/* Corvette is a single-line title at every breakpoint. */
.proj-hero__title.corvette-title{
  white-space:nowrap!important;
  text-wrap:nowrap!important;
  overflow-wrap:normal!important;
  word-break:keep-all!important;
}

/* Situationship: Stills -> BTS handoff is intentionally tight. */
.project-situationship .stills:not(.stills--bts){padding-bottom:.85rem!important;margin-bottom:0!important}
.project-situationship .stills--bts{padding-top:.85rem!important;margin-top:0!important}

/* Previous / next becomes one balanced compact band on phones instead of
   two floating items separated by a large dead zone. */
@media(max-width:700px){
  .next-project{margin-top:32px!important}
  .next-project__inner{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:24px!important;
    align-items:start!important;
    padding:28px 20px 32px!important;
    min-height:0!important;
  }
  .np-link{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    padding:0!important;
    gap:6px!important;
  }
  .np-link--back{justify-self:start!important;align-items:flex-start!important;text-align:left!important}
  .np-link--next{justify-self:end!important;align-items:flex-end!important;text-align:right!important}
  .next-project__name{
    font-size:clamp(17px,5.2vw,22px)!important;
    line-height:1!important;
    max-width:100%!important;
    overflow-wrap:break-word!important;
  }
  .next-project__eyebrow{font-size:7.5px!important;letter-spacing:.12em!important}

  /* Compact, readable metadata above the banner. */
  .proj-hero__facts,
  .proj-hero__facts--compact{
    width:100%!important;
    grid-template-columns:1.05fr 1.45fr .55fr!important;
    column-gap:10px!important;
    margin-top:1rem!important;
  }
  .proj-hero__facts>div{white-space:normal!important;font-size:6.5px!important}
  .proj-hero__facts b{font-size:10.5px!important;white-space:normal!important;line-height:1.18!important;margin-top:3px!important}

  /* Banner: one proof point per row gives long values real breathing room. */
  .proj-panel-wrap{padding-inline:18px!important;margin-bottom:28px!important}
  .proj-highlights,
  .proj-highlights.hl-count-2,
  .proj-highlights.hl-count-3,
  .proj-highlights.hl-count-4{
    width:100%!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    padding:10px 15px!important;
    gap:0!important;
  }
  .proj-highlights .hl,
  .proj-highlights .hl:first-child,
  .proj-highlights .hl:last-child{
    display:grid!important;
    grid-template-columns:84px minmax(0,1fr)!important;
    align-items:center!important;
    gap:15px!important;
    min-height:0!important;
    padding:11px 0!important;
    border:0!important;
  }
  .proj-highlights .hl + .hl{border-top:1px solid rgba(241,234,216,.1)!important;border-left:0!important}
  .proj-highlights.hl-count-3 .hl:last-child{grid-column:auto!important}
  .hl__label{font-size:7px!important;margin:0!important;white-space:nowrap!important}
  .hl__val,.hl__val--small{font-size:clamp(12px,3.45vw,14px)!important;line-height:1.08!important;margin:0!important;white-space:nowrap!important}
  .hl__num{font-size:clamp(25px,6.8vw,31px)!important;line-height:.88!important;margin:0!important}

  /* Force the full Corvette name into one calm line rather than two giant rows. */
  .proj-hero__title.corvette-title{
    font-size:clamp(25px,7.1vw,31px)!important;
    line-height:1!important;
    letter-spacing:-.035em!important;
    white-space:nowrap!important;
  }
}

/* Round 9 — loader glyph eradication. Project transitions are bar-only. */
.project-transition .sigil--loader,.loader.project-transition .sigil--loader,.sigil--loader{display:none!important;visibility:hidden!important;opacity:0!important}

/* ===== Round 12: translucent dark-glass nav + larger project eyebrow text ===== */
.nav{
  background:rgba(6,13,13,.38)!important;
  -webkit-backdrop-filter:blur(13px) saturate(1.18) brightness(.82)!important;
  backdrop-filter:blur(13px) saturate(1.18) brightness(.82)!important;
  border-color:rgba(241,234,216,.18)!important;
  box-shadow:0 8px 28px rgba(0,0,0,.16), inset 0 1px 0 rgba(241,234,216,.035)!important;
}
.nav__links a,.project-mobile-menu{
  color:var(--bone)!important;
  text-shadow:0 1px 8px rgba(0,0,0,.72)!important;
}
.proj-hero__eyebrow{font-size:15px!important;line-height:1.25!important}
@media(max-width:640px){
  .nav{background:rgba(6,13,13,.42)!important;-webkit-backdrop-filter:blur(12px) saturate(1.16) brightness(.80)!important;backdrop-filter:blur(12px) saturate(1.16) brightness(.80)!important}
  .proj-hero__eyebrow{font-size:12px!important}
}

/* =====================================================================
   Round 18 — tighter, consistent hero spacing on every film project page
   The gap between the Client / Role / Year row and the panel below it was
   coming from three stacked values: proj-hero bottom padding, the panel
   wrapper's bottom margin, and the facts row's own top margin.
   ===================================================================== */
.proj-hero{padding-bottom:clamp(26px,3vw,40px)!important}
.proj-hero__facts{margin-top:1.1rem!important;gap:1rem 2.2rem!important;font-size:.74rem!important}
.proj-hero__facts b{margin-top:.15rem!important}
.proj-tags{margin-top:1rem!important}
.proj-panel-wrap{margin-bottom:clamp(26px,3.2vw,44px)!important}
.proj-highlights{padding:clamp(1rem,2.2vh,1.5rem) clamp(1.2rem,2.4vw,2rem)!important}
.proj-video{padding-top:0!important}

@media(max-width:900px){
  .proj-hero{padding-bottom:24px!important}
  .proj-hero__facts{gap:.85rem 1.6rem!important}
  .proj-panel-wrap{margin-bottom:26px!important}
}
