/* Self-hosted Google Fonts (SIL Open Font License 1.1) — Cormorant Garamond, Jost. latin + latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-italic-latin-ext-0365c5.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-italic-latin-fe99e3.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-italic-latin-ext-0365c5.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-italic-latin-fe99e3.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-normal-latin-ext-211149.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-normal-latin-e99b45.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-normal-latin-ext-211149.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-normal-latin-e99b45.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/jost-normal-latin-ext-920dcb.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/jost-normal-latin-0428ef.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/jost-normal-latin-ext-920dcb.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/jost-normal-latin-0428ef.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/jost-normal-latin-ext-920dcb.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/jost-normal-latin-0428ef.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   NORTH VISION — Architectural Films
   Mobile-first. No frameworks. Tokens first, then components in page order.
   ========================================================================== */

:root {
  /* palette */
  --ink: #111311;
  --ink-2: #181a18;
  --paper: #F2F0EB;
  --stone-900: #1d201c;
  --stone-700: #3a3c38;
  --stone-500: #6f706a;
  --stone-300: #a8a69e;
  --stone-200: #c9c5bb;
  --rule: rgba(242, 240, 235, .14);
  --rule-ink: rgba(17, 19, 17, .16);

  /* type */
  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Futura", "Avenir Next", "Helvetica Neue", Arial, sans-serif;

  /* type scale: display (hero) · h2 (sections) · lead */
  --t-h2: clamp(2.5rem, 5.6vw, 5.2rem);
  --t-lead: clamp(1.85rem, 3.4vw, 3.3rem);

  /* layout */
  --gutter: clamp(20px, 4.5vw, 72px);
  --section: clamp(80px, 11vw, 168px);
  --header-h: 72px;

  /* motion */
  --ease: cubic-bezier(.22, .7, .18, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, p, ol, ul, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img, video, iframe { display: block; max-width: 100%; }
em { font-style: italic; }
::selection { background: var(--paper); color: var(--ink); }

:focus-visible { outline: 1px solid var(--paper); outline-offset: 4px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 10px 14px; background: var(--paper); color: var(--ink);
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  transform: translateY(-200%);
}
.skip:not(:focus) { clip-path: inset(50%); width: 1px; height: 1px; padding: 0; overflow: hidden; }
.skip:focus { transform: none; }

/* ---------- shared type ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 400;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--stone-300);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }

.section-title {
  font-family: var(--serif); font-weight: 300;
  font-size: var(--t-h2);
  line-height: .98; letter-spacing: -.015em;
}
.section-title em, .hero__title em, .project__title em, .contact__title em {
  font-weight: 300; color: var(--stone-200);
}

.section-head {
  display: grid; gap: 22px;
  padding-inline: var(--gutter);
  margin-bottom: clamp(32px, 5vw, 64px);
}
.section-index {
  font-family: var(--serif); font-style: italic; font-size: 1.1rem;
  color: var(--stone-500);
}

/* ---------- CTA ---------- */
.cta {
  display: inline-flex; align-items: center; gap: 18px;
  font-size: 12px; font-weight: 400; letter-spacing: .24em; text-transform: uppercase;
  padding-block: 10px;
}
.cta__rule {
  width: 48px; height: 1px; background: currentColor;
  transform-origin: left; transition: transform .7s var(--ease);
}
.cta:hover .cta__rule, .cta:focus-visible .cta__rule { transform: scaleX(1.6); }

.cta--solid {
  border: 1px solid rgba(242, 240, 235, .5);
  padding: 18px 26px;
  transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
}
.cta--solid .cta__rule { width: 28px; }

.cta--line {
  padding: 14px 20px; border: 1px solid rgba(242, 240, 235, .38);
  transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
}
.cta--line:hover, .cta--line:focus-visible { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.cta--solid:hover, .cta--solid:focus-visible { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* secondary action: a quiet text link, never a second button */
.cta-quiet {
  position: relative; display: inline-flex; align-items: center; min-height: 44px;
  font-size: 11px; font-weight: 400; letter-spacing: .24em; text-transform: uppercase; color: var(--stone-200);
  transition: color .4s var(--ease);
}
.cta-quiet::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 1px; background: currentColor; opacity: .35;
  transform-origin: left; transition: opacity .5s var(--ease), transform .7s var(--ease);
}
.cta-quiet:hover, .cta-quiet:focus-visible { color: var(--paper); }
.cta-quiet:hover::after, .cta-quiet:focus-visible::after { opacity: 1; }

.link {
  position: relative; display: inline-block;
  font-size: 11px; font-weight: 400; letter-spacing: .24em; text-transform: uppercase;
  padding-bottom: 6px;
}
.link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform-origin: right; transition: transform .6s var(--ease);
}
.link:hover::after { transform: scaleX(.35); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-inline: var(--gutter);
  padding-top: env(safe-area-inset-top);
  transition: transform .6s var(--ease), background-color .6s var(--ease);
}
.site-header.is-solid {
  background: rgba(17, 19, 17, .84);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.site-header.is-hidden { transform: translateY(-100%); }

.wordmark { position: relative; z-index: 2; padding-block: 12px; font-size: 13px; font-weight: 500; letter-spacing: .42em; white-space: nowrap; }

.nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); }
.nav__list { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); }
.nav__list a {
  position: relative;
  font-size: 11px; font-weight: 400; letter-spacing: .26em; text-transform: uppercase;
  color: var(--stone-200); transition: color .4s;
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.nav__list a:hover { color: var(--paper); }
.nav__list a:hover::after, .nav__list a[aria-current="true"]::after { transform: scaleX(1); }

.nav__list .nav__demo {
  color: var(--paper); padding: 10px 16px; border: 1px solid rgba(242, 240, 235, .38);
  transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
}
.nav__list .nav__demo::after { display: none; }
.nav__list .nav__demo:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.lang {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 400; letter-spacing: .2em; color: var(--stone-500);
}
.lang a { display: inline-grid; place-items: center; min-width: 30px; min-height: 44px; padding: 0 2px; color: var(--stone-500); transition: color .4s; }
.lang a:hover { color: var(--paper); }
.lang a[aria-current="true"] { color: var(--paper); }

.nav__toggle {
  display: none; position: relative; z-index: 2;
  font-size: 11px; letter-spacing: .26em; text-transform: uppercase; padding: 12px 0 12px 8px;
}
.nav__toggle-close { display: none; }

@media (max-width: 1099px) {
  .nav__demo-item { display: none; }
}
@media (max-width: 859px) {
  .nav { gap: 18px; }
  .js .nav__toggle { display: block; }
  .js .nav__demo-item { display: block; margin-top: 28px; }
  .js .nav__list {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px;
    padding: var(--header-h) var(--gutter) 12vh;
    background: var(--ink);
    opacity: 0; visibility: hidden;
    transition: opacity .5s var(--ease), visibility 0s .5s;
  }
  .js .nav__list a {
    font-family: var(--serif); font-size: clamp(2.8rem, 13vw, 4.2rem);
    letter-spacing: 0; text-transform: none; color: var(--paper); line-height: 1.15;
  }
  .js .nav__list a::after { display: none; }
  .js .nav__list .nav__demo {
    font-family: var(--sans); font-size: 12px; letter-spacing: .24em; text-transform: uppercase;
    display: inline-block; padding: 16px 22px; line-height: 1;
  }
  .nav-open .nav__list { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
  .nav-open .nav__toggle-open { display: none; }
  .nav-open .nav__toggle-close { display: inline; }
  .nav-open { overflow: hidden; }
  .nav-open .site-header { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
  html:not(.js) .nav__list { display: none; }
}
@media (max-width: 380px) { .wordmark { letter-spacing: .3em; } }

/* ==========================================================================
   1 · HERO — copy on top, the film as protagonist below
   ========================================================================== */
.hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(4px, 1.5vh, 20px)) var(--gutter) 0;
  display: grid; gap: clamp(28px, 4vh, 48px);
}
.hero__copy { display: grid; gap: 22px; }
.hero__eyebrow { margin-bottom: 2px; }
.hero__title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(3.1rem, 12.4vw, 5rem);
  line-height: .92; letter-spacing: -.022em;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .05em; }
.hero__title .line:nth-child(2) { padding-left: .55em; }
.hero__br { display: none; }
@media (max-width: 559px) { .hero__br { display: inline; } .hero__title .line:nth-child(2) { padding-left: .45em; } }
.hero__title em { font-weight: 300; color: var(--stone-200); }
.reveal-line { display: inline-block; }

.hero__aside { display: grid; gap: 18px; }
.hero__sub { max-width: 34ch; font-size: clamp(1.02rem, 1.3vw, 1.15rem); line-height: 1.55; color: var(--paper); }
.hero__facts { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hero__facts li {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--stone-200);
}
.hero__facts li::before { content: ""; width: 14px; height: 1px; background: var(--stone-500); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 30px; margin-top: 4px; }
.hero__actions .cta--solid { padding: 16px 24px; }

/* the film frame */
.hero__film { margin-inline: calc(var(--gutter) * -1); display: grid; gap: 12px; }
.hero__screen {
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 4 / 3;
  background: var(--ink-2);
}
.hero__screen > img, .hero__screen > video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.hero__screen > video { opacity: 0; transition: opacity 1.4s var(--ease); }
.hero__screen > video.is-ready { opacity: 1; }
.hero__film.has-media .hero__diagram { display: none; }
.hero__film.has-media .hero__screen::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(17,19,17,.6) 0%, rgba(17,19,17,0) 34%);
}
.hero__credit {
  display: none; position: absolute; z-index: 3; right: 34px; bottom: 30px;
  font-family: var(--serif); font-weight: 300; font-size: clamp(1.15rem, 1.8vw, 1.6rem); line-height: 1.1; text-align: right;
}
.hero__credit span { display: block; margin-bottom: 6px; font-family: var(--sans); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--stone-200); }
.hero__credit em { color: var(--stone-200); }
.hero__film.has-media .hero__credit { display: block; }
@media (max-width: 699px) {
  .hero__credit { right: auto; left: 24px; bottom: auto; top: 22px; text-align: left; font-size: 1.15rem; }
  .hero__play { left: 24px; bottom: 10px; }
  .hero__film.has-media .hero__screen::after {
    background: linear-gradient(to top, rgba(17,19,17,.6) 0%, rgba(17,19,17,0) 30%),
                linear-gradient(to bottom, rgba(17,19,17,.5) 0%, rgba(17,19,17,0) 30%);
  }
}
.hero__film:not(.has-media) .hero__caption { display: block; }
.hero__screen .frame__marks { z-index: 2; }

.hero__diagram { position: absolute; inset: 0; }
.hero__diagram svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__drawing {
  fill: none; stroke: rgba(242, 240, 235, .3); stroke-width: 1; vector-effect: non-scaling-stroke;
  transform-box: view-box; transform-origin: 62% 52%;
  animation: pushin 16s var(--ease-io) infinite alternate;
}
.hero__drawing path { vector-effect: non-scaling-stroke; }
.hero__drawing .faint { stroke: rgba(242, 240, 235, .12); }
@keyframes pushin { from { transform: scale(1); } to { transform: scale(1.16) translateX(-2%); } }
.hero__tag {
  position: absolute; z-index: 3;
  font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--stone-300);
}
.hero__tag--tl { left: 34px; top: 30px; }
.hero__tag--br { right: 34px; bottom: 30px; color: var(--paper); }
.hero__tag--br::before { content: "→"; margin-right: 12px; color: var(--stone-500); letter-spacing: 0; }
.hero__caption {
  display: none; padding-inline: var(--gutter);
  font-size: 12px; color: var(--stone-500);
}

/* play button on hero (added by JS when a full film is configured) */
.hero__play {
  position: absolute; z-index: 3; left: 34px; bottom: 18px; padding-block: 12px;
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 400; letter-spacing: .26em; text-transform: uppercase;
}
.hero__play::before { content: ""; width: 26px; height: 1px; background: currentColor; transition: width .7s var(--ease); }
.hero__play:hover::before { width: 54px; }

/* mobile: the film comes right after the promise, before the buttons */
@media (max-width: 699px) {
  .hero { gap: 22px; }
  .hero__copy, .hero__aside { display: contents; }
  .hero__eyebrow { order: 1; }
  .hero__title { order: 2; }
  .hero__sub { order: 3; }
  .hero__film { order: 4; margin-top: 6px; }
  .hero__actions { order: 5; margin-top: 4px; }
  .hero__facts { order: 6; }
}
@media (min-width: 700px) {
  .hero__screen { aspect-ratio: 16 / 9; }
  .hero__title { font-size: clamp(4rem, 8.6vw, 6.4rem); }
}
@media (min-width: 1000px) {
  .hero { gap: clamp(24px, 3.5vh, 40px); }
  .hero__copy {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: clamp(20px, 2vw, 32px); align-items: end;
  }
  .hero__eyebrow { grid-column: 1 / -1; }
  .hero__title { grid-column: 1 / span 7; font-size: clamp(4rem, min(6.6vw, 11vh), 7.4rem); line-height: .94; }
  .hero__aside { grid-column: 8 / -1; padding-bottom: .5em; max-width: 520px; justify-self: end; }
  .hero__film { margin-inline: 0; }
  .hero__caption { padding-inline: 0; }
  /* fills what's left of the first screen, then keeps a cinematic ratio */
  .hero__screen { aspect-ratio: auto; height: max(56vh, min(calc(100svh - 260px), 56.25vw)); min-height: 400px; }
}

/* ==========================================================================
   2 · SELECTED WORK — a sequence of full-width film frames
   ========================================================================== */
.work { padding-block: calc(var(--section) * .6) calc(var(--section) * .55); }

.section-head--row { align-items: end; }
.section-head__note { max-width: 34ch; color: var(--stone-200); font-size: 16px; line-height: 1.55; }
@media (min-width: 860px) {
  .section-head--row { grid-template-columns: 1fr auto; column-gap: 48px; }
  .section-head__note { text-align: right; justify-self: end; }
}

.projects { display: grid; gap: clamp(10px, 1.4vw, 20px); padding-inline: var(--gutter); }

.project { position: relative; overflow: hidden; }
.frame {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--stone-900);
  transition: transform 1.6s var(--ease);
}
.frame[data-tone="2"] { background: #22211e; }
.frame[data-tone="3"] { background: #1a1c1d; }
.frame[data-tone="4"] { background: #1f2220; }

/* film grain */
.frame::before {
  content: ""; position: absolute; inset: -50%; z-index: 1; pointer-events: none; opacity: .32;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
/* legibility shade for the overlaid titles */
.frame::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(17,19,17,.72) 0%, rgba(17,19,17,.1) 45%, rgba(17,19,17,0) 70%),
              linear-gradient(115deg, rgba(242,240,235,.05) 0%, rgba(242,240,235,0) 45%);
}
.frame__num {
  position: absolute; right: -.04em; top: -.18em; z-index: 0;
  font-family: var(--serif); font-weight: 300; font-size: clamp(14rem, 62vw, 40rem);
  line-height: 1; letter-spacing: -.04em; color: rgba(242, 240, 235, .045);
}
.frame__marks {
  --c: rgba(242, 240, 235, .35); --l: 18px;
  position: absolute; inset: 18px; z-index: 2; pointer-events: none;
  background:
    linear-gradient(var(--c), var(--c)) left top / var(--l) 1px no-repeat,
    linear-gradient(var(--c), var(--c)) left top / 1px var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) right top / var(--l) 1px no-repeat,
    linear-gradient(var(--c), var(--c)) right top / 1px var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / var(--l) 1px no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / 1px var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / var(--l) 1px no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / 1px var(--l) no-repeat;
}
.frame__poster, .frame__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); z-index: 0; }
/* with real imagery: stronger shade at the bottom so titles stay legible on bright frames (snow, white façades) */
.frame.has-media::after {
  background: linear-gradient(to top, rgba(17,19,17,.82) 0%, rgba(17,19,17,.45) 30%, rgba(17,19,17,0) 62%),
              linear-gradient(to bottom, rgba(17,19,17,.35) 0%, rgba(17,19,17,0) 18%);
}
.frame.has-media::before { opacity: .18; }
@media (max-width: 859px) {
  .frame.has-media::after {
    background: linear-gradient(to top, rgba(17,19,17,.9) 0%, rgba(17,19,17,.62) 32%, rgba(17,19,17,.2) 52%, rgba(17,19,17,0) 66%),
                linear-gradient(to bottom, rgba(17,19,17,.35) 0%, rgba(17,19,17,0) 18%);
  }
  .project__no { color: var(--paper); }
}
.frame__video { opacity: 0; transition: opacity 1.2s var(--ease); }
.frame__video.is-ready { opacity: 1; }
.frame.has-media .frame__num { display: none; }

.project__meta {
  position: absolute; z-index: 3; left: 34px; right: 34px; bottom: 30px;
  display: grid; gap: 10px; pointer-events: none;
}
.project__no { font-size: 12px; font-weight: 400; letter-spacing: .24em; color: var(--paper); }
.project__of { color: var(--stone-300); }
.project__meta, .project__play, .hero__credit, .hero__play { text-shadow: 0 1px 18px rgba(17, 19, 17, .55); }
.project__title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.4rem, 10vw, 5.6rem); line-height: .95; letter-spacing: -.015em;
  padding-bottom: 38px;
}
.project__title em { color: var(--stone-200); }

/* the whole frame is the button */
.project__open { position: absolute; inset: 0; z-index: 2; display: block; width: 100%; text-align: left; }
.project__open:focus-visible { outline-offset: -8px; }
.project__play {
  position: absolute; left: 34px; bottom: 30px;
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 400; letter-spacing: .26em; text-transform: uppercase;
}
.project__play::before { content: ""; width: 26px; height: 1px; background: currentColor; transition: width .7s var(--ease); }
.project:hover .frame { transform: scale(1.02); }
.project:hover .project__play::before, .project__open:focus-visible .project__play::before { width: 54px; }

@media (min-width: 860px) {
  .frame { aspect-ratio: 21 / 9; }
  .frame__num { font-size: clamp(16rem, 30vw, 32rem); top: -.22em; }
  .project__meta { left: 44px; bottom: 40px; right: 44px; }
  .project__title { padding-bottom: 0; font-size: clamp(3rem, 5.6vw, 5.6rem); }
  .project__play { left: auto; right: 44px; bottom: 44px; }
  /* alternate the credit side for rhythm */
  .project--right .project__meta { justify-items: end; text-align: right; }
  .project--right .project__play { right: auto; left: 44px; }
}

/* ==========================================================================
   3 · FROM STILL TO FILM — the "screening room"
   A slightly deeper black band; the photograph is the screen.
   ========================================================================== */
.s2f {
  --screen-w: min(100%, 1240px, calc((100svh - 170px) * 1.5));
  position: relative;
  background: #0c0e0c;
  padding: calc(var(--section) * .75) var(--gutter) calc(var(--section) * .8);
}
.s2f::before {   /* hairline that opens the room */
  content: ""; position: absolute; top: 0; left: 50%; width: 1px; height: clamp(40px, 6vw, 88px);
  background: linear-gradient(to bottom, rgba(242,240,235,.35), rgba(242,240,235,0));
}

.s2f__head {
  display: grid; gap: 18px;
  width: var(--screen-w); margin: 0 auto clamp(32px, 4.5vw, 60px);
}
.s2f__title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.6rem, 6.6vw, 6.2rem); line-height: .96; letter-spacing: -.018em;
}
.s2f__title em { font-weight: 300; color: var(--stone-200); }
.s2f__sub { max-width: 30ch; color: var(--stone-300); font-size: clamp(1rem, 1.25vw, 1.1rem); line-height: 1.6; }

/* the screen */
.s2f__figure { margin-inline: calc(var(--gutter) * -1); }
.s2f__stage {
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 1600 / 1066; background: var(--ink-2);
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, .7);
}
.s2f__film, .s2f__photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
}
.s2f__film { z-index: 0; }
.s2f__photo { z-index: 1; opacity: 1; transition: opacity 1s var(--ease-io); }
/* exit: over the film's last 0.3 s a light lens-like veil settles — never to black */
.s2f__veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0;
  background: radial-gradient(ellipse 75% 70% at 50% 46%, rgba(12,14,12,.08) 0%, rgba(12,14,12,.14) 55%, rgba(12,14,12,.32) 100%);
  transition: opacity .9s var(--ease-io);
}
.s2f__stage.is-ending .s2f__veil { opacity: 1; transition: opacity .3s cubic-bezier(.33, 0, .2, 1); }
.s2f__stage[data-state="film"] .s2f__photo,
.s2f__stage[data-state="done"] .s2f__photo { opacity: 0; transition: opacity 1.4s var(--ease-io); }

.s2f__stage::after {   /* soft shade under the label */
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(to bottom, rgba(12,14,12,.5) 0%, rgba(12,14,12,0) 24%);
}
.s2f__stage .frame__marks { z-index: 3; --c: rgba(242, 240, 235, .45); }

.s2f__tag {
  position: absolute; z-index: 4; left: 34px; top: 30px;
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 10px; font-weight: 400; letter-spacing: .32em; text-transform: uppercase; color: var(--paper);
  text-shadow: 0 1px 14px rgba(12, 14, 12, .6);
  transition: opacity 1.2s var(--ease-io), transform 1.2s var(--ease);
}
.s2f__tag--photo::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .8; }
.s2f__tag--film { opacity: 0; transform: translateY(4px); }
.s2f__stage:not([data-state="still"]) .s2f__tag--photo { opacity: 0; transform: translateY(-4px); }
.s2f__stage:not([data-state="still"]) .s2f__tag--film { opacity: 1; transform: none; transition-delay: .8s; }
.s2f__live {   /* a quiet "recording" light while the film plays */
  width: 5px; height: 5px; border-radius: 50%; background: var(--paper);
  box-shadow: 0 0 0 4px rgba(242, 240, 235, .12);
}
.s2f__stage[data-state="film"] .s2f__live { animation: s2f-live 2.4s var(--ease-io) infinite; }
@keyframes s2f-live { 50% { opacity: .35; box-shadow: 0 0 0 6px rgba(242, 240, 235, 0); } }

/* caption: an editorial credit line, not player controls */
.s2f__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  margin: 20px var(--gutter) 0; padding-top: 20px;
  border-top: 1px solid rgba(242, 240, 235, .1);
}
.s2f__credit { display: grid; grid-template-columns: auto; gap: 6px; margin: 0; min-width: 0; }
.s2f__index {
  font-family: var(--serif); font-style: italic; font-size: .95rem; line-height: 1; color: var(--stone-500);
  letter-spacing: .02em;
}
.s2f__project {
  font-family: var(--serif); font-weight: 300; font-size: 1.45rem; line-height: 1.05; letter-spacing: -.005em;
  color: var(--paper);
}
.s2f__room {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 9.5px; font-weight: 400; letter-spacing: .32em; text-transform: uppercase; color: var(--stone-500);
}
.s2f__room::before { content: ""; width: 16px; height: 1px; background: currentColor; opacity: .7; }

/* control: text first, then a fine circle */
.s2f__control {
  display: inline-flex; align-items: center; gap: 14px; padding: 6px 0;
  color: var(--paper); flex-shrink: 0; text-align: right;
}
.s2f__label {
  position: relative; display: block; max-width: 12.5em; text-wrap: balance;
  font-size: 9.5px; font-weight: 400; line-height: 1.7; letter-spacing: .28em; text-transform: uppercase;
  color: rgba(242, 240, 235, .82);
  transition: color .6s var(--ease);
}
.s2f__label::after {   /* hairline that draws in from the circle */
  content: ""; position: absolute; right: 0; bottom: -4px; width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .8s var(--ease);
}
.s2f__icon {
  position: relative; display: grid; place-items: center; flex-shrink: 0;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(242, 240, 235, .32);
  transition: border-color .6s var(--ease);
}
.s2f__icon::before {   /* fill that grows from the centre on hover */
  content: ""; position: absolute; inset: -1px; border-radius: 50%; background: var(--paper);
  transform: scale(0); transition: transform .7s var(--ease);
}
.s2f__icon svg {
  position: relative; width: 10px; height: 10px; margin-left: 2px; fill: var(--paper);
  transition: fill .5s var(--ease), transform .7s var(--ease);
}
.s2f__control:hover .s2f__label, .s2f__control:focus-visible .s2f__label { color: var(--paper); }
.s2f__control:hover .s2f__label::after, .s2f__control:focus-visible .s2f__label::after { transform: scaleX(1); }
.s2f__control:hover .s2f__icon, .s2f__control:focus-visible .s2f__icon { border-color: var(--paper); }
.s2f__control:hover .s2f__icon::before, .s2f__control:focus-visible .s2f__icon::before { transform: scale(1); }
.s2f__control:hover .s2f__icon svg, .s2f__control:focus-visible .s2f__icon svg { fill: var(--ink); transform: translateX(1px); }
.s2f__control:focus-visible { outline-offset: 8px; }
/* while the film plays the control steps back */
.s2f__control[aria-disabled="true"] { cursor: default; }
.s2f__control[aria-disabled="true"] .s2f__label { color: var(--stone-500); }
.s2f__control[aria-disabled="true"] .s2f__label::after { transform: scaleX(0); }
.s2f__control[aria-disabled="true"] .s2f__icon { border-color: rgba(242, 240, 235, .14); }
.s2f__control[aria-disabled="true"] .s2f__icon::before { transform: scale(0); }
.s2f__control[aria-disabled="true"] .s2f__icon svg { fill: var(--stone-500); transform: none; }

@media (min-width: 860px) {
  .s2f__head {
    grid-template-columns: minmax(0, 1fr) auto; column-gap: 48px; align-items: end;
  }
  .s2f__head .eyebrow { grid-column: 1 / -1; }
  .s2f__sub { justify-self: end; text-align: right; padding-bottom: .55em; }
  .s2f__figure { margin-inline: auto; width: var(--screen-w); }
  .s2f__tag { left: 40px; top: 36px; }
  .s2f__bar { margin: 26px 0 0; padding-top: 26px; align-items: center; }
  /* one baseline: Nº 04  Alpine Retreat  —— SALÓN */
  .s2f__credit { display: flex; align-items: baseline; gap: 22px; }
  .s2f__index { font-size: 1.05rem; }
  .s2f__project { font-size: 1.95rem; }
  .s2f__room { align-self: center; transform: translateY(2px); }
  .s2f__room::before { width: 28px; }
  .s2f__control { gap: 20px; }
  .s2f__label { max-width: none; font-size: 10.5px; line-height: 1; }
  .s2f__icon { width: 54px; height: 54px; }
  .s2f__icon svg { width: 11px; height: 11px; }
}

/* ==========================================================================
   4 · STUDIO — architectural editorial (warm paper)
   Mobile first: headline → inset portrait → image + sentence pair.
   ========================================================================== */
.studio {
  background: var(--paper); color: var(--ink);
  padding: clamp(64px, 9vw, 104px) var(--gutter) clamp(64px, 9vw, 104px);
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); column-gap: 28px;
  overflow: hidden;
}
.studio :focus-visible { outline-color: var(--ink); }
.studio__eyebrow { grid-column: 1 / -1; color: var(--stone-500); margin-bottom: 26px; }

.studio__title {
  grid-column: 1 / -1;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(3.4rem, 16vw, 10.5rem); line-height: .9; letter-spacing: -.025em;
}
.studio__l1, .studio__l2 { display: block; }
.studio__l2 { padding-left: .42em; }
.studio__l2 em { font-weight: 300; color: var(--stone-700); }

.studio__img { position: relative; display: block; overflow: hidden; background: var(--stone-200); }
.studio__img img { width: 100%; height: 100%; object-fit: cover; }
.studio__main .frame__marks { --c: rgba(17, 19, 17, .32); --l: 14px; inset: 14px; }

/* captions: one horizontal line, legible */
.studio__cap {
  display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px;
  margin-top: 12px;
  font-size: 11.5px; line-height: 1.6; letter-spacing: .2em; text-transform: uppercase; color: var(--ink);
}
.studio__no { font-family: var(--serif); font-style: italic; font-size: 1.05rem; letter-spacing: 0; text-transform: none; color: var(--stone-700); }
.studio__room { color: var(--stone-700); white-space: nowrap; }
.studio__room::before { content: "— "; }

/* the portrait: inset from the left, bleeding off the right edge */
.studio__main { grid-column: 1 / -1; margin: 34px calc(-1 * var(--gutter)) 0 17vw; }
.studio__main .studio__img { aspect-ratio: 4 / 5; }
.studio__main .studio__cap { padding-right: var(--gutter); }

/* the pair: small portrait (left) + the sentence (right) */
.studio__second { grid-column: 1; grid-row: 5; margin-top: 56px; }
.studio__second .studio__img { aspect-ratio: 4 / 5; }
.studio__second .studio__room { display: none; }
.studio__text {
  grid-column: 2; grid-row: 5; align-self: center; margin-top: 56px;
  font-family: var(--serif); font-weight: 400; font-style: italic;
  font-size: clamp(1.32rem, 5.5vw, 1.65rem); line-height: 1.34; color: var(--ink);
}

@media (min-width: 600px) and (max-width: 999px) {
  .studio__title { font-size: clamp(3.4rem, 12.5vw, 8rem); }
  .studio__br { display: none; }
  .studio__main { margin-left: 30vw; }
  .studio__second { width: 82%; }
}

@media (min-width: 1000px) {
  .studio {
    grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px;
    grid-template-rows: auto auto 1fr auto;
    padding-block: clamp(96px, 7.5vw, 124px);
  }
  .studio__eyebrow { grid-column: 1 / 5; grid-row: 1; margin-bottom: clamp(36px, 3.6vw, 56px); }
  /* the headline leads: it owns eight columns and never meets the photograph */
  .studio__title { grid-column: 1 / 9; grid-row: 2; font-size: clamp(5rem, 9.4vw, 10.5rem); }
  .studio__l2 { padding-left: 1.05em; }
  .studio__br { display: none; }

  .studio__main {
    grid-column: 9 / 13; grid-row: 1 / 5; align-self: start;
    margin: 0 calc(-1 * var(--gutter)) 0 0;
  }
  .studio__main .studio__cap { justify-content: flex-start; }

  .studio__text {
    grid-column: 1 / 5; grid-row: 4; align-self: end; margin: 0;
    padding-top: 22px; border-top: 1px solid var(--rule-ink);
    font-weight: 300; font-size: clamp(1.55rem, 1.95vw, 2.1rem); line-height: 1.3; max-width: 23ch;
  }
  .studio__second { grid-column: 6 / 9; grid-row: 4; align-self: end; margin: 0; width: auto; }
  .studio__second .studio__img { aspect-ratio: 3 / 2; }
  .studio__second .studio__room { display: inline; }
  .studio__cap { font-size: 12px; margin-top: 14px; }
}
/* ==========================================================================
   5 · CONTACT — an image and a direct line
   ========================================================================== */
.contact { display: grid; }
.contact__media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--ink-2); }
.contact__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 38% 82%; }
/* approved reframe: a bottom-anchored crop-zoom brings the pool and planting forward and trims the pale sky */
.contact__media img { transform: scale(1.42); transform-origin: 40% 100%; }
@media (min-width: 1000px) { .contact__media img { transform: scale(1.3); transform-origin: 36% 100%; } }
.contact__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(17,19,17,.55) 0%, rgba(17,19,17,0) 30%);
}
.contact__media .frame__marks { z-index: 2; }
.contact__caption {
  position: absolute; z-index: 3; left: 34px; bottom: 28px;
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--paper);
}
.contact__body {
  display: grid; justify-items: start; align-content: center; gap: 0;
  padding: clamp(48px, 8vw, 96px) var(--gutter) clamp(56px, 8vw, 104px);
}
.contact__title {
  margin-top: clamp(22px, 3vw, 36px);
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.5rem, 4.4vw, 4.6rem); line-height: .98; letter-spacing: -.018em; max-width: 15ch;
}
.contact__lead { margin-top: clamp(20px, 2.5vw, 30px); max-width: 40ch; color: var(--stone-200); font-size: clamp(1rem, 1.2vw, 1.1rem); line-height: 1.6; }
.contact__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: clamp(30px, 4vw, 48px); }
.contact__mail {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px;
  margin-top: clamp(32px, 4vw, 48px); padding-top: 22px; border-top: 1px solid var(--rule); width: 100%; max-width: 520px;
}
.contact__mail-label { flex-basis: 100%; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--stone-300); }
.contact__address {
  font-family: var(--serif); font-weight: 300; font-size: clamp(1.45rem, 2vw, 1.8rem); color: var(--paper);
  padding-block: 6px; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .7s var(--ease);
}
.contact__address:hover, .contact__address:focus-visible { background-size: 100% 1px; }
.copy {
  min-height: 44px; padding: 0 2px;
  font-size: 11px; font-weight: 400; letter-spacing: .26em; text-transform: uppercase; color: var(--stone-300);
  transition: color .4s var(--ease);
}
.copy:hover, .copy:focus-visible { color: var(--paper); }
.copy.is-done { color: var(--paper); }

@media (min-width: 1000px) {
  .contact { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: min(92vh, 820px); }
  .contact__media { aspect-ratio: auto; min-height: 100%; }
  .contact__body { padding: clamp(64px, 7vw, 120px) var(--gutter) clamp(64px, 7vw, 120px) clamp(48px, 6vw, 112px); }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  margin-inline: var(--gutter);
  padding: clamp(40px, 5vw, 64px) 0 calc(18px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--rule);
  color: var(--stone-300);
}
.footer__top { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 28px 20px; }
.footer__brand { grid-column: 1 / -1; }
.footer__wordmark { display: inline-block; padding-block: 10px; font-size: 14px; font-weight: 500; letter-spacing: .42em; color: var(--paper); }
.footer__tagline { margin-top: 10px; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.2; color: var(--stone-200); max-width: 20ch; }
.footer__label { margin-bottom: 6px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--stone-300); }
.footer__col a { display: inline-block; padding-block: 9px; font-size: 15px; color: var(--stone-200); transition: color .4s var(--ease); }
.footer__col a:hover, .footer__col a:focus-visible { color: var(--paper); }
.footer__lang { display: flex; align-items: center; gap: 10px; }
.footer__lang a[aria-current="true"] { color: var(--paper); }
.footer__lang span { color: var(--stone-500); }
.footer__note { margin-top: clamp(28px, 3.5vw, 40px); max-width: 72ch; font-size: 14px; line-height: 1.6; color: var(--stone-300); }
.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 28px;
  margin-top: 18px; padding-top: 6px; border-top: 1px solid var(--rule);
  font-size: 13px; color: var(--stone-300);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 0 24px; }
.footer__legal a, .footer__top-link { display: inline-block; padding-block: 12px; color: var(--stone-200); transition: color .4s var(--ease); }
.footer__legal a:hover, .footer__top-link:hover { color: var(--paper); }

@media (min-width: 860px) {
  .footer__top { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .footer__brand { grid-column: auto; }
  .footer__col a { font-size: 14px; padding-block: 5px; }
  .footer__copy { flex: 1; }
}

/* ==========================================================================
   PLAYER
   ========================================================================== */
.player {
  width: 100%; max-width: none; height: 100%; max-height: none; margin: 0;
  padding: env(safe-area-inset-top) var(--gutter) env(safe-area-inset-bottom);
  border: 0; background: rgba(17, 19, 17, .97); color: var(--paper);
  display: none; flex-direction: column; justify-content: center; gap: 18px;
}
.player[open] { display: flex; animation: fade .5s var(--ease); }
.player::backdrop { background: rgba(17, 19, 17, .9); }
@keyframes fade { from { opacity: 0; } }
.player__bar {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  width: 100%; max-width: 1440px; margin-inline: auto;
}
.player__title { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 300; }
.player__close { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; padding: 12px 0 12px 12px; }
.player__screen {
  position: relative; width: 100%; max-width: 1440px; margin-inline: auto;
  aspect-ratio: 16 / 9; max-height: 76vh; background: var(--ink-2);
}
.player__screen iframe, .player__screen video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player__foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px;
  width: 100%; max-width: 1440px; margin-inline: auto;
}
.player__aside { font-size: 12px; color: var(--stone-500); }
.player__aside:empty { display: none; }
.player__count { font-size: 12px; letter-spacing: .24em; color: var(--stone-300); }
.player__nav { display: flex; gap: 8px 28px; margin-left: auto; }
.player__step {
  min-height: 44px; display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 400; letter-spacing: .24em; text-transform: uppercase; color: var(--stone-300);
  transition: color .4s var(--ease);
}
.player__step:hover, .player__step:focus-visible { color: var(--paper); }
.player__step[hidden] { display: none; }
@media (max-width: 699px) {
  .player { gap: 12px; }
  .player__screen { max-height: none; }
}
.player__aside a { color: var(--stone-200); border-bottom: 1px solid var(--rule); }

/* ==========================================================================
   REVEAL ANIMATIONS (JS adds .is-in)
   ========================================================================== */
.js .reveal { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-line { transform: translate3d(0, 105%, 0); transition: transform 1.4s var(--ease); }
.js .is-loaded .reveal-line { transform: none; }
.js .is-loaded .line:nth-child(2) .reveal-line { transition-delay: .12s; }
.js .is-loaded .line:nth-child(3) .reveal-line { transition-delay: .24s; }
.js .hero .reveal { transition-delay: .6s; }
.js .hero.is-loaded .reveal { opacity: 1; transform: none; }

.js .project { clip-path: inset(10% 0 0 0); transition: clip-path 1.5s var(--ease); }
.js .project .project__meta, .js .project .project__play { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity 1.1s var(--ease) .3s, transform 1.1s var(--ease) .3s; }
.js .project.is-in { clip-path: inset(0 0 0 0); }
.js .project.is-in .project__meta, .js .project.is-in .project__play { opacity: 1; transform: none; }

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .reveal-line, .js .project .project__meta, .js .project .project__play { opacity: 1; transform: none; }
  .js .project { clip-path: none; }
  .hero__drawing { transform: scale(1.06); }
  .s2f__photo, .s2f__tag { transition: opacity .01ms !important; }
  .project:hover .frame { transform: none; }
}

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */
.legal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px var(--gutter); border-bottom: 1px solid var(--rule);
}
.legal { max-width: 760px; margin: 0 auto; padding: clamp(32px, 6vw, 72px) var(--gutter) clamp(64px, 8vw, 112px); }
.legal__pending {
  margin-bottom: 32px; padding: 14px 18px; border: 1px solid rgba(232, 200, 120, .45);
  font-size: 14px; line-height: 1.55; color: #e8d6a8; background: rgba(232, 200, 120, .06);
}
.legal__back { display: inline-flex; gap: 10px; padding-block: 12px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--stone-300); }
.legal__back:hover { color: var(--paper); }
.legal__title { margin-top: 18px; font-family: var(--serif); font-weight: 300; font-size: var(--t-h2); line-height: 1; }
.legal__nav { display: flex; flex-wrap: wrap; gap: 0 24px; margin-top: 24px; padding-bottom: 8px; border-bottom: 1px solid var(--rule); }
.legal__nav a { padding-block: 12px; font-size: 13px; color: var(--stone-300); }
.legal__nav a[aria-current="page"] { color: var(--paper); }
.legal__body { margin-top: 28px; font-size: 16px; line-height: 1.7; color: var(--stone-200); }
.legal__body h2 { margin: 36px 0 10px; font-family: var(--serif); font-weight: 400; font-size: 1.6rem; color: var(--paper); }
.legal__body p + p { margin-top: 12px; }
.legal__body a { color: var(--paper); border-bottom: 1px solid var(--rule); }
.legal__body dl { display: grid; grid-template-columns: minmax(0, 12em) 1fr; gap: 8px 20px; margin: 0; }
.legal__body dt { color: var(--stone-300); }
.legal__body dd { margin: 0; }
.pending { background: rgba(232, 200, 120, .18); color: #f0dfb4; padding: 1px 6px; }
.legal-footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-inline: var(--gutter); padding: 24px 0 calc(24px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--rule); font-size: 12px; color: var(--stone-500);
}
.legal-footer a { padding-block: 12px; color: var(--stone-300); }
@media (max-width: 599px) { .legal__body dl { grid-template-columns: 1fr; gap: 2px; } .legal__body dd { margin-bottom: 10px; } }
