/* =========================================================
   NOVEDAD — Ambientes sob medida
   ========================================================= */

:root {
  --ink: #0f120f;
  --ink-2: #151915;
  --forest: #1d231e;
  --line: rgba(239, 232, 220, .14);
  --line-strong: rgba(239, 232, 220, .28);
  --cream: #efe8dc;
  --cream-dim: rgba(239, 232, 220, .66);
  --cream-faint: rgba(239, 232, 220, .4);
  --brass: #c2a06b;
  --brass-soft: #d8bf92;

  --serif: "Noto Serif Display", "Didot", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 4.5vw, 72px);
  --max: 1440px;
  --header-h: 88px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ol, ul, figure, blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; }
::selection { background: var(--brass); color: var(--ink); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--brass-soft);
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; opacity: .7; }
.hero__eyebrow::before { display: none; }
.eyebrow .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .7; }

.display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(34px, 4.6vw, 72px);
  line-height: 1.06;
  letter-spacing: -.02em;
}
.display em, .hero__title em { font-style: italic; color: var(--brass-soft); font-weight: 300; }
.display--sm { font-size: clamp(24px, 2.5vw, 36px); line-height: 1.2; }
.display--lg { font-size: clamp(38px, 5.4vw, 88px); }

/* Split-line masks (populated by JS) */
.split-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.split-line > span { display: inline-block; will-change: transform; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 52px;
  padding: 0 30px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .24em;
  text-transform: uppercase;
  border-radius: 0;
  overflow: hidden;
  isolation: isolate;
  transition: color .6s var(--ease), border-color .6s var(--ease), background-color .6s var(--ease);
  white-space: nowrap;
}
.btn::after {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .7s var(--ease);
}
.btn:hover::after { transform: scaleY(1); }

.btn--solid { background: var(--cream); color: var(--ink); }
.btn--solid::after { background: var(--brass); }

.btn--ghost { border: 1px solid var(--line-strong); color: var(--cream); }
.btn--ghost::after { background: var(--cream); }
.btn--ghost:hover { color: var(--ink); border-color: var(--cream); }

.btn--link { height: auto; padding: 6px 0; color: var(--cream); }
.btn--link::after { inset: auto 0 0 0; height: 1px; background: var(--cream); transform: scaleX(.35); transform-origin: left; z-index: 0; }
.btn--link:hover::after { transform: scaleX(1); }

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

/* ---------- Preloader ---------- */
.preloader { display: none; }
.js .preloader {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center; align-content: center; gap: 28px;
  background: var(--ink);
  transition: transform 1.1s var(--ease-in-out), visibility 0s 1.1s;
}
.preloader__mark { width: 46px; fill: var(--cream); opacity: 0; transform: translateY(10px); animation: pre-in 1s var(--ease) .1s forwards; }
.preloader__line { width: 120px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.preloader__line::after { content: ""; position: absolute; inset: 0; background: var(--brass); transform: scaleX(0); transform-origin: left; animation: pre-line 1.2s var(--ease-in-out) .2s forwards; }
.is-loaded .preloader { transform: translateY(-100%); visibility: hidden; }
@keyframes pre-in { to { opacity: 1; transform: none; } }
@keyframes pre-line { to { transform: scaleX(1); } }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center; gap: 40px;
  padding: 0 var(--gutter);
  transition: background-color .6s var(--ease), backdrop-filter .6s var(--ease), transform .7s var(--ease), height .6s var(--ease), border-color .6s;
  border-bottom: 1px solid transparent;
}
.header::before {
  content: ""; position: absolute; inset: 0 0 -40px 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 12, 10, .55), rgba(10, 12, 10, 0));
  transition: opacity .6s;
}
.header.is-solid {
  --header-h: 72px;
  background: rgba(15, 18, 15, .72);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom-color: var(--line);
}
.header.is-solid::before { opacity: 0; }
.header.is-hidden { transform: translateY(-100%); }

.header__brand { display: flex; align-items: center; gap: 14px; margin-right: auto; }
.header__mark { height: 34px; width: auto; fill: var(--cream); }
.header__word { height: 15px; width: auto; fill: var(--cream); }

.nav { display: flex; gap: 34px; }
.nav a {
  position: relative;
  font-size: 11.5px; font-weight: 400; letter-spacing: .22em; text-transform: uppercase;
  color: var(--cream-dim);
  transition: color .4s;
}
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.nav a:hover { color: var(--cream); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header__cta { height: 44px; padding: 0 22px; font-size: 11px; }

.burger { display: none; width: 44px; height: 44px; background: none; border: 0; padding: 0; cursor: pointer; position: relative; z-index: 120; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1px; background: var(--cream); transition: transform .6s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.menu-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; justify-content: center; gap: 48px;
  padding: calc(var(--header-h) + 20px) var(--gutter) 40px;
  background: var(--ink);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1s var(--ease-in-out);
  visibility: hidden;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu__nav { display: flex; flex-direction: column; gap: 6px; }
.menu__nav a { font-family: var(--serif); font-size: clamp(30px, 8vw, 46px); font-weight: 300; line-height: 1.25; display: flex; align-items: baseline; gap: 16px; }
.menu__nav small { font-family: var(--sans); font-size: 11px; letter-spacing: .2em; color: var(--brass-soft); }
.menu .btn { align-self: flex-start; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh; height: 100svh;
  min-height: 620px;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hero__media {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2px;
  background: var(--ink);
}
.hero__panel { position: relative; overflow: hidden; }
.hero__panel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 18, 15, .62) 0%, rgba(15, 18, 15, .42) 38%, rgba(15, 18, 15, .12) 75%, rgba(15, 18, 15, .05) 100%),
    radial-gradient(120% 80% at 50% 40%, rgba(15, 18, 15, .12) 0%, rgba(15, 18, 15, .42) 70%),
    linear-gradient(180deg, rgba(15, 18, 15, .5) 0%, rgba(15, 18, 15, .18) 30%, rgba(15, 18, 15, .32) 60%, rgba(15, 18, 15, .94) 100%);
}
.hero__content {
  position: relative;
  padding: 0 var(--gutter) clamp(110px, 16vh, 170px);
  max-width: 1100px;
}
.hero__eyebrow { margin-bottom: 30px; color: var(--cream); opacity: .85; flex-wrap: wrap; row-gap: 8px; }
.hero__eyebrow span { white-space: nowrap; }
.hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(46px, 8vw, 136px);
  line-height: 1;
  letter-spacing: -.03em;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; }
.hero__lead { max-width: 470px; margin-top: 30px; font-size: clamp(15px, 1.2vw, 17px); color: var(--cream-dim); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 34px; margin-top: 40px; }

.hero__foot {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 26px var(--gutter);
  border-top: 1px solid var(--line);
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--cream-faint);
}
.hero__editions b { font-weight: 400; color: var(--cream-dim); margin-left: 10px; }
.scroll-cue { display: inline-flex; align-items: center; gap: 14px; }
.scroll-cue i { position: relative; width: 1px; height: 28px; background: var(--line); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%; background: var(--cream); animation: cue 2.2s var(--ease-in-out) infinite; }
@keyframes cue { 0% { top: -100%; } 60%, 100% { top: 100%; } }

/* Initial hero state (animated in by JS) */
.js .hero__title .line > span { transform: translateY(110%); }
.js .hero__eyebrow, .js .hero__lead, .js .hero__actions, .js .hero__foot { opacity: 0; transform: translateY(18px); }
.js .hero__panel video { transform: scale(1.22); }
.hero__title .line > span, .hero__eyebrow, .hero__lead, .hero__actions, .hero__foot { transition: opacity 1.4s var(--ease), transform 1.6s var(--ease); }
.hero__panel video { transition: transform 3.2s var(--ease); }
.is-loaded .hero__panel video { transform: scale(1.04); }
.is-loaded .hero__panel:nth-child(1) video { transition-delay: .15s; }
.is-loaded .hero__panel:nth-child(3) video { transition-delay: .3s; }
.is-loaded .hero__eyebrow { opacity: .85; transform: none; transition-delay: .55s; }
.is-loaded .hero__title .line > span { transform: none; }
.is-loaded .hero__title .line:nth-child(1) > span { transition-delay: .65s; }
.is-loaded .hero__title .line:nth-child(2) > span { transition-delay: .8s; }
.is-loaded .hero__lead { opacity: 1; transform: none; transition-delay: 1.05s; }
.is-loaded .hero__actions { opacity: 1; transform: none; transition-delay: 1.2s; }
.is-loaded .hero__foot { opacity: 1; transform: none; transition-delay: 1.4s; }

/* ---------- Stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}
.stats__item {
  padding: clamp(36px, 5vw, 64px) var(--gutter);
  display: flex; flex-direction: column; gap: 6px;
  border-right: 1px solid var(--line);
}
.stats__item:last-child { border-right: 0; }
.stats__num { font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 4.4vw, 66px); line-height: 1; color: var(--cream); font-variant-numeric: lining-nums tabular-nums; }
.stats__num small { font-style: italic; font-size: .38em; color: var(--brass-soft); margin-right: .35em; letter-spacing: 0; }
.stats__num sup { font-size: .45em; color: var(--brass-soft); vertical-align: super; margin-left: 2px; }
.stats__label { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--cream-faint); }

/* ---------- Sections ---------- */
section { position: relative; }
.section-head { padding: 0 var(--gutter); max-width: var(--max); margin: 0 auto; }
.section-head .eyebrow { margin-bottom: 28px; }
.section-head .display { max-width: 15ch; }
.section-head--split { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px 80px; align-items: end; }
.section-head__aside { color: var(--cream-dim); max-width: 380px; justify-self: end; }

/* ---------- Manifesto ---------- */
.manifesto {
  padding: clamp(110px, 18vw, 240px) var(--gutter);
  max-width: 1320px; margin: 0 auto;
  text-align: center;
}
.manifesto .eyebrow { margin-bottom: 44px; }
.manifesto .eyebrow::before { display: none; }
.manifesto__text {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(26px, 3.6vw, 56px);
  line-height: 1.22; letter-spacing: -.015em;
}
.word { display: inline-block; }
.manifesto__mark { width: 30px; margin: 64px auto 0; fill: var(--brass); opacity: .8; }

/* ---------- Story: Nossa História ---------- */
.story { padding: 0 0 clamp(110px, 14vw, 200px); }
.story .section-head { margin-bottom: clamp(64px, 8vw, 110px); }
.story .section-head .display { max-width: 16ch; }
.story__grid {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 7vw, 120px);
  align-items: start;
}
.story__media { position: sticky; top: calc(var(--header-h) + 24px); }
.story__frame { position: relative; overflow: hidden; aspect-ratio: 4 / 5; max-height: calc(100vh - 140px); background: var(--ink-2); }
.story__frame video { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.04); }
.story__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 18, 15, 0) 55%, rgba(15, 18, 15, .8)); pointer-events: none; }
.story__play {
  position: absolute; left: 24px; bottom: 24px; z-index: 2;
  display: flex; align-items: center; gap: 16px;
  padding: 0; background: none; border: 0; color: var(--cream); cursor: pointer; text-align: left;
  font-family: var(--sans);
}
.story__play-icon {
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(239, 232, 220, .6);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  background: rgba(15, 18, 15, .25);
  transition: background-color .6s var(--ease), border-color .6s, transform .8s var(--ease);
}
.story__play-icon svg { width: 18px; fill: var(--cream); margin-left: 3px; transition: fill .6s; }
.story__play:hover .story__play-icon { background: var(--cream); border-color: var(--cream); transform: scale(1.06); }
.story__play:hover .story__play-icon svg { fill: var(--ink); }
.story__play-text { display: flex; flex-direction: column; gap: 2px; }
.story__play-text b { font-family: var(--serif); font-weight: 300; font-size: 22px; letter-spacing: 0; }
.story__play-text small { font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--cream-dim); }

.chapters { position: relative; border-left: 1px solid var(--line); }
.chapter { display: grid; grid-template-columns: 130px 1fr; gap: 28px; padding: 0 0 clamp(56px, 6vw, 88px) 36px; position: relative; }
.chapter:last-child { padding-bottom: 0; }
.chapter::before { content: ""; position: absolute; left: -4px; top: 18px; width: 7px; height: 7px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 6px var(--ink); }
.chapter__year { font-family: var(--serif); font-weight: 300; font-size: clamp(36px, 3.4vw, 52px); line-height: 1; color: var(--brass-soft); letter-spacing: -.02em; }
.chapter__year--word { font-style: italic; font-size: clamp(28px, 2.6vw, 38px); padding-top: 6px; }
.chapter__body h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(26px, 2.2vw, 34px); line-height: 1.1; margin-bottom: 14px; }
.chapter__body p { color: var(--cream-dim); max-width: 460px; }
.chapter__img { position: relative; overflow: hidden; margin-top: 32px; max-width: 340px; aspect-ratio: 4 / 5; }
.chapter__img img { width: 100%; height: 100%; object-fit: cover; }
.chapter__img--past img { filter: grayscale(1) sepia(.35) contrast(1.08) brightness(.92); }
.chapter__img--past::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(239, 232, 220, .25); pointer-events: none; }

.family { max-width: var(--max); margin: clamp(110px, 12vw, 180px) auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr; gap: clamp(48px, 6vw, 88px); }
.family__quote { max-width: 900px; margin: 0 auto; text-align: center; }
.family__quote p { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(30px, 3.6vw, 56px); line-height: 1.15; }
.family__quote footer { margin-top: 28px; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--brass-soft); }
.family__people { display: grid; grid-template-columns: 1fr 1.36fr; gap: clamp(14px, 2vw, 32px); max-width: 1120px; width: 100%; margin: 0 auto; align-items: start; }
.family__people .person--duo { aspect-ratio: 1100 / 1011; margin-top: clamp(24px, 4vw, 64px); }
.person.person--duo figcaption { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 16px; }
.person figcaption .person__name em { font-family: var(--sans); }
.person__name { display: flex; flex-direction: column; gap: 2px; }
.person__name--end { text-align: right; }
.person { position: relative; overflow: hidden; aspect-ratio: 4 / 5; }
.person img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4) contrast(1.05); transition: filter 1.2s var(--ease); }
.person:hover img { filter: grayscale(0) contrast(1.02); }
.person::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10, 12, 10, .8)); pointer-events: none; }
.person figcaption { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2; display: flex; flex-direction: column; gap: 2px; }
.person figcaption span { font-family: var(--serif); font-size: clamp(19px, 1.6vw, 24px); font-weight: 300; }
.person figcaption em { font-style: normal; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--brass-soft); }
.family__note { margin-top: -16px; text-align: center; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--cream-faint); }

/* Film lightbox */
.film { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; width: 100vw; height: 100vh; height: 100dvh; margin: 0; overflow: hidden; }
.film[open] { display: grid; place-items: center; }
.film::backdrop { background: rgba(8, 10, 8, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.film__video { height: min(86vh, 900px); height: min(86dvh, 900px); width: auto; max-width: 92vw; aspect-ratio: 9 / 16; background: #000; }
.film__close {
  position: absolute; top: 22px; right: var(--gutter);
  display: inline-flex; align-items: center; gap: 10px;
  background: none; border: 0; color: var(--cream); cursor: pointer;
  font-family: var(--sans); font-size: 11px; letter-spacing: .26em; text-transform: uppercase;
}
.film__close span { font-size: 26px; line-height: 1; font-weight: 300; }
.film[open] .film__video { animation: film-in .9s var(--ease) both; }
@keyframes film-in { from { opacity: 0; transform: translateY(24px) scale(.98); } }

/* ---------- Duo: Ateliê + Indústria ---------- */
.duo { padding: 0 0 clamp(110px, 14vw, 200px); }
.duo .section-head { margin-bottom: clamp(64px, 8vw, 120px); }
.duo .section-head .display { max-width: 18ch; }
.duo__grid {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(24px, 4vw, 64px);
}
.duo__col--offset { margin-top: clamp(80px, 12vw, 200px); }
.duo__figure { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink-2); }
.duo__figure img { width: 100%; height: 120%; object-fit: cover; position: absolute; top: -10%; left: 0; }
.duo__body { padding-top: 40px; max-width: 480px; }
.duo__index { display: block; font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--brass-soft); margin-bottom: 10px; }
.duo__body h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 2.8vw, 42px); line-height: 1.05; margin-bottom: 20px; }
.duo__body p { color: var(--cream-dim); }
.duo__plus { display: flex; align-items: center; justify-content: center; }
.duo__plus span {
  font-family: var(--serif); font-weight: 300; font-size: 40px; color: var(--brass-soft);
  width: 72px; height: 72px; border: 1px solid var(--line-strong); border-radius: 50%;
  display: grid; place-items: center; line-height: 1;
}
.ticks { margin-top: 28px; border-top: 1px solid var(--line); }
.ticks li { padding: 14px 0 14px 28px; border-bottom: 1px solid var(--line); font-size: 14.5px; position: relative; color: var(--cream); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 50%; width: 12px; height: 1px; background: var(--brass); }

/* ---------- Finishes (inside Ateliê & Indústria) ---------- */
.finishes { max-width: var(--max); margin: clamp(96px, 11vw, 170px) auto 0; padding: 0 var(--gutter); }
.finishes__head { display: grid; grid-template-columns: 1fr; gap: 22px; margin-bottom: clamp(40px, 5vw, 64px); }
.finishes__head .display { max-width: 22ch; }
.finishes__list { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.finish { padding: 32px 24px 8px 0; }
.finish + .finish { padding-left: 24px; border-left: 1px solid var(--line); }
.finish__num { display: block; font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--brass-soft); margin-bottom: 36px; }
.finish h4 { font-family: var(--serif); font-weight: 300; font-size: clamp(20px, 1.6vw, 25px); line-height: 1.2; margin-bottom: 12px; }
.finish p { color: var(--cream-dim); font-size: 14px; line-height: 1.65; }

/* ---------- CASACOR horizontal ---------- */
.casacor { background: var(--forest); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.casacor__pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.casacor__track {
  display: flex; align-items: center; gap: clamp(28px, 3.4vw, 56px);
  padding: 0 var(--gutter);
  height: 100%;
  will-change: transform;
}
.casacor__intro { flex: 0 0 clamp(320px, 38vw, 560px); padding-right: 2vw; }
.casacor__intro .eyebrow { margin-bottom: 28px; }
.casacor__intro .display { font-size: clamp(32px, 3.5vw, 56px); }
.casacor__lead { margin-top: 28px; color: var(--cream-dim); max-width: 440px; }
.timeline { display: flex; gap: 0; margin-top: 40px; border-top: 1px solid var(--line-strong); max-width: 440px; }
.timeline li { flex: 1; position: relative; padding-top: 16px; padding-right: 10px; }
.timeline span { display: block; margin-top: 6px; font-size: 10.5px; line-height: 1.6; letter-spacing: .14em; text-transform: uppercase; color: var(--cream-faint); }
.timeline li::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--brass); }
.timeline b { font-family: var(--serif); font-weight: 400; font-size: 22px; }
.casacor__hint { display: inline-block; margin-top: 44px; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--cream-faint); }
.casacor__hint .on-touch { display: none; }
.casacor__hint i { font-style: normal; display: inline-block; margin-left: 8px; animation: nudge 2s var(--ease-in-out) infinite; }
@keyframes nudge { 50% { transform: translateX(8px); } }

.room { flex: 0 0 auto; display: flex; align-items: flex-end; gap: 28px; }
.room__media {
  position: relative; overflow: hidden;
  height: min(76vh, 760px); aspect-ratio: 9 / 16;
  background: var(--ink);
}
.room__media video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease); }
.room:hover .room__media video { transform: scale(1); }
.room__meta { width: 250px; padding-bottom: 8px; }
.room__num { font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--brass-soft); }
.room__meta h3 { font-family: var(--serif); font-weight: 300; font-size: 32px; line-height: 1.05; margin: 8px 0 12px; }
.room__meta p { color: var(--cream-dim); font-size: 14.5px; line-height: 1.65; }
.room__credit a { transition: color .4s; }
.room__credit a:hover { color: var(--cream); }
.room__credit { display: block; margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 10.5px; line-height: 1.7; letter-spacing: .2em; text-transform: uppercase; color: var(--cream-faint); }
.casacor__outro { flex: 0 0 clamp(300px, 30vw, 440px); padding: 0 4vw 0 2vw; display: flex; flex-direction: column; gap: 36px; align-items: flex-start; }
.casacor__progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 34px; height: 1px; background: var(--line); }
.casacor__progress span { position: absolute; inset: 0; background: var(--brass); transform: scaleX(0); transform-origin: left; }

/* ---------- Works ---------- */
.works { padding: clamp(110px, 14vw, 200px) 0; }
.works .section-head { margin-bottom: clamp(56px, 7vw, 100px); }
.works__grid {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2vw, 28px);
}
.work { position: relative; overflow: hidden; background: var(--ink-2); }
.work img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; filter: brightness(.92); transition: filter 1.2s var(--ease); }
.work:hover img { filter: brightness(1.04); }
.work figcaption span { transition: transform .9s var(--ease); }
.work:hover figcaption span { transform: translateX(6px); }
.work::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10, 12, 10, .75)); pointer-events: none; }
.work figcaption {
  position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 2;
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
}
.work figcaption span { font-family: var(--serif); font-size: clamp(19px, 1.7vw, 26px); font-weight: 300; }
.work figcaption em { font-style: normal; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--cream-dim); white-space: nowrap; }

.work--xl   { grid-column: 1 / span 8; aspect-ratio: 16 / 10; }
.work--tall { aspect-ratio: 3 / 4.6; }
.works__grid .work--tall:nth-of-type(2) { grid-column: 9 / span 4; align-self: end; }
/* Second row: portrait triptych, gently staggered */
.works__grid .work--tall:nth-of-type(3) { grid-column: 1 / span 4; margin-top: clamp(0px, 6vw, 90px); }
.works__grid .work--tall:nth-of-type(4) { grid-column: 5 / span 4; }
.works__grid .work--tall:nth-of-type(5) { grid-column: 9 / span 4; margin-top: clamp(0px, 9vw, 140px); }
.works__grid .work--wide:nth-of-type(6) { grid-column: 1 / span 6; aspect-ratio: 16 / 10; }
.works__grid .work--wide:nth-of-type(7) { grid-column: 7 / span 6; aspect-ratio: 16 / 10; margin-top: clamp(0px, 7vw, 110px); }

/* ---------- Quote ---------- */
.quote {
  padding: clamp(110px, 14vw, 200px) var(--gutter);
  background: var(--forest);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  text-align: center;
  overflow: hidden;
}
.quote__mark { position: absolute; left: 50%; top: 50%; width: min(52vw, 520px); transform: translate(-50%, -50%); fill: var(--cream); opacity: .035; pointer-events: none; }
.quote blockquote { position: relative; max-width: 1100px; margin: 0 auto; }
.quote p { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(26px, 3.3vw, 50px); line-height: 1.25; }
.quote footer span { color: var(--cream-faint); }
.quote footer { margin-top: 40px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--brass-soft); }

/* ---------- Process ---------- */
.process { padding: clamp(110px, 14vw, 200px) 0; }
.process .section-head { margin-bottom: clamp(56px, 7vw, 100px); }
.steps {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.step { padding: 40px 32px 20px 0; position: relative; }
.step + .step { padding-left: 32px; border-left: 1px solid var(--line); }
.step__num { display: block; font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--brass-soft); margin-bottom: 52px; }
.step h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(24px, 2vw, 30px); margin-bottom: 16px; }
.step p { color: var(--cream-dim); font-size: 15px; }

/* ---------- Architects ---------- */
.arch {
  display: grid; grid-template-columns: 1.15fr 1fr; align-items: center;
  gap: clamp(40px, 6vw, 110px);
  max-width: var(--max); margin: 0 auto;
  padding: 0 var(--gutter) clamp(110px, 14vw, 200px);
}
.arch__figure { position: relative; overflow: hidden; aspect-ratio: 5 / 4; }
.arch__figure img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; }
.arch__body .eyebrow { margin-bottom: 28px; }
.arch__body .display { font-size: clamp(32px, 3.5vw, 54px); margin-bottom: 28px; }
.arch__body p { color: var(--cream-dim); max-width: 460px; margin-bottom: 40px; }

/* ---------- Partners ---------- */
.partners { padding: 56px 0 64px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; overflow: hidden; }
.partners .eyebrow { margin-bottom: 30px; }
.partners .eyebrow::before { display: none; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; align-items: center; width: max-content; animation: marquee 48s linear infinite; }
.marquee__track span { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 32px); font-weight: 300; color: var(--cream-dim); padding: 0 36px; white-space: nowrap; }
.marquee__track i { width: 5px; height: 5px; border: 1px solid var(--brass); transform: rotate(45deg); flex: 0 0 auto; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- CTA ---------- */
.cta {
  background: radial-gradient(55% 60% at 22% 55%, rgba(194, 160, 107, .08), rgba(194, 160, 107, 0) 70%);
  display: grid; grid-template-columns: 1.2fr 1fr; align-items: center;
  gap: clamp(48px, 7vw, 120px);
  max-width: var(--max); margin: 0 auto;
  padding: clamp(110px, 14vw, 200px) var(--gutter);
}
.cta__body .eyebrow { margin-bottom: 30px; }
.cta__body .display { max-width: 16ch; }
.cta__lead { margin-top: 30px; max-width: 470px; color: var(--cream-dim); font-size: 17px; }

.wa {
  margin-top: 48px;
  display: flex; align-items: center; gap: 22px;
  width: min(100%, 520px);
  padding: 22px 28px 22px 22px;
  border: 1px solid var(--brass);
  background: linear-gradient(120deg, rgba(194, 160, 107, .12), rgba(194, 160, 107, 0));
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .7s var(--ease), border-color .7s;
}
.wa::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); }
.wa:hover::before { transform: scaleX(1); }
.wa:hover { color: var(--ink); }
.wa__icon { flex: 0 0 auto; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--brass); transition: border-color .7s, background-color .7s; }
.wa__icon svg { width: 24px; fill: var(--brass-soft); transition: fill .7s; }
.wa:hover .wa__icon { border-color: var(--ink); background: var(--ink); }
.wa:hover .wa__icon svg { fill: var(--brass-soft); }
.wa__text { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.wa__label { font-family: var(--serif); font-size: clamp(21px, 1.9vw, 26px); font-weight: 300; line-height: 1.1; }
.wa__sub { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.wa__arrow { font-size: 22px; transition: transform .7s var(--ease); }
.wa:hover .wa__arrow { transform: translateX(6px); }

.cta__info { display: grid; grid-template-columns: repeat(3, auto); gap: 24px 48px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); justify-content: start; }
.cta__info h4, .footer h4 { font-size: 10.5px; font-weight: 400; letter-spacing: .28em; text-transform: uppercase; color: var(--brass-soft); margin-bottom: 10px; }
.cta__info p { font-size: 14.5px; color: var(--cream-dim); line-height: 1.75; }
.cta__info a, .footer a { transition: color .4s; }
.cta__info a:hover, .footer a:hover { color: var(--cream); }

.cta__media { justify-self: end; width: 100%; max-width: 460px; }
.cta__arch { position: relative; overflow: hidden; aspect-ratio: 9 / 14; border-radius: 999px 999px 0 0; background: var(--ink-2); }
.cta__arch video { width: 100%; height: 100%; object-fit: cover; }
.cta__arch::after { content: ""; position: absolute; inset: 14px 14px 0; border: 1px solid rgba(239, 232, 220, .35); border-bottom: 0; border-radius: 999px 999px 0 0; pointer-events: none; }
.cta__caption { display: block; margin-top: 16px; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--cream-faint); text-align: right; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 80px var(--gutter) 32px; background: var(--ink); }
.footer__brand { max-width: var(--max); margin: 0 auto 64px; }
.footer__logo { width: clamp(150px, 16vw, 210px); fill: var(--cream); }
.footer__cols { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-bottom: 56px; }
.footer p { color: var(--cream-dim); font-size: 14.5px; line-height: 1.85; }
.footer__base { max-width: var(--max); margin: 0 auto; padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--cream-faint); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: clamp(16px, 2.5vw, 32px); bottom: clamp(16px, 2.5vw, 32px); z-index: 80;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(15, 18, 15, .7);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid var(--brass);
  opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none;
  transition: opacity .6s var(--ease), transform .6s var(--ease), background-color .5s;
}
.wa-float svg { width: 24px; fill: var(--brass-soft); transition: fill .5s; }
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { background: var(--brass); }
.wa-float:hover svg { fill: var(--ink); }

/* ---------- Reveal helpers (JS adds .is-in) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-clip] { background: none; }
.js [data-clip] > img { clip-path: inset(100% 0 0 0); transition: clip-path 1.6s var(--ease-in-out); }
.js [data-clip].is-in > img { clip-path: inset(0 0 0 0); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1360px) {
  .nav { gap: 24px; }
  .nav a { letter-spacing: .16em; }
}

@media (max-width: 1180px) {
  .nav, .header__cta { display: none; }
  .burger { display: block; }
}

@media (max-width: 1024px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats__item:nth-child(2) { border-right: 0; }
  .stats__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .finishes__list { grid-template-columns: repeat(2, 1fr); }
  .finish, .finish + .finish { padding: 28px 20px 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .finish:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
  .finish__num { margin-bottom: 18px; }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .header__mark { height: 30px; }
  .header__word { height: 13px; }

  .hero__media { grid-template-columns: 1fr; }
  .hero__panel--side { display: none; }
  .hero__content { padding-bottom: 120px; }
  .hero__veil { background: linear-gradient(180deg, rgba(15, 18, 15, .5) 0%, rgba(15, 18, 15, .15) 28%, rgba(15, 18, 15, .68) 52%, rgba(15, 18, 15, .95) 100%); }
  .hero__foot { padding: 20px var(--gutter); }
  .hero__editions { display: none; }

  .section-head--split { grid-template-columns: 1fr; }
  .section-head__aside { justify-self: start; }

  .story__grid { grid-template-columns: 1fr; gap: 64px; }
  .story__media { position: relative; top: 0; max-width: 460px; }
  .story__frame { max-height: none; }
  .chapter { grid-template-columns: 1fr; gap: 10px; padding-left: 28px; }
  .family__note { margin-top: 0; }

  .duo__grid { grid-template-columns: 1fr; gap: 72px; }
  .duo__col--offset { margin-top: 0; }
  .duo__plus { order: 0; margin: -36px 0; }
  .duo__plus span { width: 56px; height: 56px; font-size: 30px; }

  /* CASACOR becomes a native swipe carousel */
  .casacor__pin { height: auto; display: block; padding: 100px 0 80px; }
  .casacor__track {
    height: auto; flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); -webkit-overflow-scrolling: touch; scrollbar-width: none;
    align-items: stretch; padding-bottom: 8px;
  }
  .casacor__track::-webkit-scrollbar { display: none; }
  .casacor__intro { flex-basis: 86vw; scroll-snap-align: start; }
  .room { flex-direction: column; align-items: stretch; gap: 20px; scroll-snap-align: start; }
  .room__media { height: auto; width: 74vw; max-width: 380px; }
  .room__meta { width: 74vw; max-width: 380px; }
  .casacor__outro { flex-basis: 80vw; scroll-snap-align: start; justify-content: center; }
  .casacor__progress { display: none; }
  .casacor__hint .on-desk { display: none; }
  .casacor__hint .on-touch { display: inline; }

  .works__grid { grid-template-columns: 1fr 1fr; }
  .works__grid .work { grid-column: auto !important; margin-top: 0 !important; }
  .work--xl, .works__grid .work--wide { grid-column: 1 / -1 !important; aspect-ratio: 4 / 3 !important; }
  .works__grid .work--tall { aspect-ratio: 3 / 4.6; }
  .work figcaption { left: 16px; right: 16px; bottom: 14px; flex-direction: column; gap: 2px; }

  .arch { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; }
  .cta__media { justify-self: center; max-width: 360px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .hide-sm { display: none; }
  .hero__eyebrow { gap: 10px; letter-spacing: .24em; font-size: 10px; }
  .hero__actions .btn--solid { width: 100%; }
  .stats__label { letter-spacing: .18em; font-size: 10px; }
  .steps { grid-template-columns: 1fr; }
  .finishes__list { grid-template-columns: 1fr; }
  .finish:nth-child(even) { padding-left: 0; border-left: 0; }
  .step, .step + .step { padding: 32px 0 24px; border-left: 0; }
  .step + .step { border-top: 1px solid var(--line); }
  .step__num { margin-bottom: 18px; }
  .works__grid { grid-template-columns: 1fr; }
  .family__people { grid-template-columns: 1fr; }
  .family__people .person--duo { margin-top: 0; }
  .person figcaption { left: 12px; right: 12px; bottom: 10px; }
  .person figcaption span { font-size: 15px; }
  .person figcaption em { font-size: 9px; letter-spacing: .18em; }
  .works__grid .work--tall { aspect-ratio: 4 / 5; }
  .wa { padding: 16px 18px 16px 16px; gap: 16px; }
  .wa__icon { width: 48px; height: 48px; }
  .wa__arrow { display: none; }
  .cta__info { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; }
  .footer__base { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal], .js [data-clip] > img { opacity: 1; transform: none; clip-path: none; }
  .js .hero__title .line > span, .js .hero__eyebrow, .js .hero__lead, .js .hero__actions, .js .hero__foot { opacity: 1; transform: none; }
}
