/* ============ Lara Gama Arquitetura ============ */
@font-face { font-family: "Aileron"; src: url("../assets/fonts/aileron-light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Aileron"; src: url("../assets/fonts/aileron-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Aileron"; src: url("../assets/fonts/aileron-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Aileron"; src: url("../assets/fonts/aileron-semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Aileron"; src: url("../assets/fonts/aileron-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  /* Paleta da marca: Preto, Bege (Pantone 468 C), Branco */
  --preto: #121111;
  --preto-2: #1E1C1B;
  --preto-3: #2A2726;
  --bege: #DFCBAE;
  --bege-d: #8C6B42;
  --bege-l: #EEE3CD;
  --bege-xl: #F7F2E8;
  --branco: #FFFFFF;
  --ink: #121111;
  --ink-2: rgba(18, 17, 17, .78);
  --paper-2: rgba(255, 255, 255, .82);

  --f-display: "Marcellus", "Cormorant Garamond", Georgia, serif;
  --f-text: "Aileron", "Helvetica Neue", Arial, sans-serif;

  --gut: clamp(16px, 4.5vw, 64px);
  --max: 1320px;
  --arch: clamp(56px, 12vw, 180px);
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  font-family: var(--f-text);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--branco);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--preto); color: var(--branco); padding: 10px 16px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--bege); outline-offset: 3px; }

.h2 { font-family: var(--f-display); font-size: clamp(2.3rem, 5.2vw, 4.4rem); line-height: 1.04; letter-spacing: -.01em; }
.h3 { font-family: var(--f-display); font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.15; }

/* ---------- Arch frame (do símbolo da marca) ---------- */
.arch {
  position: relative;
  border-top-left-radius: var(--arch);
  overflow: hidden;
  isolation: isolate;
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch::after {
  content: "";
  position: absolute; inset: 10px auto auto 10px;
  width: calc(100% - 10px); height: calc(100% - 10px);
  border-top: 1.5px solid rgba(255, 255, 255, .75);
  border-left: 1.5px solid rgba(255, 255, 255, .75);
  border-top-left-radius: calc(var(--arch) - 10px);
  pointer-events: none; z-index: 2;
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--preto); --fg: var(--branco);
  position: relative;
  display: inline-flex; align-items: center; gap: .6em;
  min-height: 50px;
  padding: 0 1.5em 0 1.6em;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  text-decoration: none;
  border: 0; cursor: pointer;
  border-radius: 26px 4px 4px 4px;
  transition: border-radius .45s var(--ease), background-color .3s, color .3s, transform .3s var(--ease);
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn--arch { --bg: var(--preto); --fg: var(--branco); }
.btn--arch:hover, .btn--arch:focus-visible { --bg: var(--preto-2); border-radius: 4px 26px 4px 4px; }
.btn--arch::before {
  content: ""; position: absolute; inset: 4px auto auto 4px; width: 22px; height: 22px;
  border-top: 1.5px solid currentColor; border-left: 1.5px solid currentColor; border-top-left-radius: 20px;
  opacity: .45; transition: opacity .3s;
}
.btn--arch:hover::before { opacity: 0; }
.btn--line { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px currentColor; border-radius: 4px; }
.btn--line:hover { --bg: var(--preto); --fg: var(--branco); box-shadow: none; }
.btn--light { --bg: var(--branco); --fg: var(--preto); }
.btn--big { min-height: 58px; font-size: 1.02rem; padding: 0 1.9em; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  height: 76px; padding: 0 var(--gut);
  color: var(--preto);
  transition: background-color .4s, color .4s, height .4s, box-shadow .4s;
}
.nav.is-solid { background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); height: 66px; box-shadow: 0 1px 0 rgba(18, 17, 17, .08); }
.nav.is-dark { color: var(--branco); background: rgba(18, 17, 17, .9); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
.nav__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav__mark { position: relative; width: 24px; height: 34px; flex: none; }
.nav__mark img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .4s; }
.nav__mark-b { opacity: 0; }
.nav.is-dark .nav__mark-a, .nav.is-menu .nav__mark-a, .nav.on-dark:not(.is-solid) .nav__mark-a { opacity: 0; }
.nav.is-dark .nav__mark-b, .nav.is-menu .nav__mark-b, .nav.on-dark:not(.is-solid) .nav__mark-b { opacity: 1; }
.nav__word, .foot__word {
  display: block; width: 66px; height: 47px;
  background: currentColor;
  -webkit-mask: url("../assets/img/wordmark.png") center / contain no-repeat;
  mask: url("../assets/img/wordmark.png") center / contain no-repeat;
}
.nav__links { position: relative; display: flex; gap: 6px; margin-left: auto; }
.nav__links a {
  position: relative; padding: 10px 14px; text-decoration: none;
  font-size: .93rem; font-weight: 600; letter-spacing: .01em; opacity: .8; transition: opacity .25s;
}
.nav__links a:hover, .nav__links a.is-on { opacity: 1; }
.nav__marker {
  position: absolute; bottom: 2px; left: 0; height: 9px; width: 0;
  border-top: 1.5px solid currentColor; border-left: 1.5px solid currentColor; border-top-left-radius: 9px;
  transition: transform .5s var(--ease), width .5s var(--ease), opacity .3s; opacity: 0;
}
.nav__cta { min-height: 44px; font-size: .88rem; }
.nav__toggle { display: none; }
.nav.is-menu { background: transparent !important; color: var(--branco) !important; box-shadow: none !important; backdrop-filter: none; }

.menu {
  position: fixed; inset: 0; z-index: 49;
  background: var(--preto); color: var(--branco);
  display: flex; flex-direction: column; justify-content: center; gap: 40px;
  padding: 90px var(--gut) 40px;
}
.menu[hidden] { display: none; }
.menu nav { display: grid; gap: 6px; }
.menu nav a { font-family: var(--f-display); font-size: 2.6rem; text-decoration: none; line-height: 1.25; }
.menu .btn { align-self: flex-start; }

/* ============ STORY (hero + 3D) ============ */
.story { position: relative; height: 760vh; background: var(--bege-xl); }
.story__stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  background:
    radial-gradient(120% 90% at 62% 46%, #FFFFFF 0%, #F5EEE1 46%, #E6D7B9 100%);
}
.story__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(18, 17, 17, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 17, 17, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(70% 70% at 60% 50%, #000 20%, transparent 85%);
  -webkit-mask-image: radial-gradient(70% 70% at 60% 50%, #000 20%, transparent 85%);
  opacity: var(--grid, 1);
}
.story__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: grab; }
.story__canvas:active { cursor: grabbing; }
.story__photo {
  position: absolute; inset: 0; opacity: 0; pointer-events: none;
  clip-path: inset(var(--clip, 50%) round 0);
}
.story__photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--ps, 1.08)); }
.story__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,17,17,.82) 0%, rgba(18,17,17,.5) 32%, rgba(18,17,17,0) 60%), linear-gradient(0deg, rgba(18,17,17,.35), transparent 30%); }

.hero {
  position: absolute; z-index: 3;
  left: var(--gut); bottom: clamp(48px, 11vh, 120px);
  width: min(600px, 46vw);
}
.hero__kicker { font-weight: 600; font-size: .95rem; color: var(--bege-d); margin-bottom: 18px; }
.hero__title { font-family: var(--f-display); font-size: clamp(2.9rem, 6.4vw, 6rem); line-height: .98; letter-spacing: -.015em; margin-bottom: 26px; }
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.hero__title .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.is-loaded .hero__title .w > span { transform: none; }
.hero__lead { font-size: 1.1rem; max-width: 30em; color: var(--ink-2); margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__kicker, .hero__lead, .hero__actions { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease) .6s, transform .9s var(--ease) .6s; }
.is-loaded .hero__kicker, .is-loaded .hero__lead, .is-loaded .hero__actions { opacity: 1; transform: none; }
.hero__lead { transition-delay: .8s; } .hero__actions { transition-delay: .95s; }

.hero__scroll {
  position: absolute; z-index: 3; right: var(--gut); bottom: 36px;
  display: flex; align-items: center; gap: 14px; font-size: .85rem; font-weight: 600; color: var(--ink-2);
  background: none; border: 0; padding: 10px 6px; margin: 0; cursor: pointer; font-family: inherit;
  transition: color .25s, transform .25s var(--ease);
}
.hero__scroll:hover, .hero__scroll:focus-visible { color: var(--ink); transform: translateY(2px); }
.hero__scroll-bob {
  display: grid; place-items: center; flex: none;
  width: 34px; height: 34px; border-radius: 17px 3px 3px 3px;
  background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px rgba(18, 17, 17, .18);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  animation: bob 1.8s var(--ease) infinite;
}
.hero__scroll-bob svg { width: 16px; height: 16px; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
.hero__scroll-line { width: 40px; height: 1.5px; background: currentColor; position: relative; overflow: hidden; }
.hero__scroll-line::after { content: ""; position: absolute; inset: 0; background: var(--bege-d); transform: translateX(-100%); animation: scan 2.4s var(--ease) infinite; }
@keyframes scan { 60%, 100% { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .hero__scroll-bob { animation: none; } }

.steps {
  list-style: none; margin: 0; padding: 0;
  position: absolute; z-index: 3;
  left: var(--gut); top: 50%; transform: translateY(-46%);
  width: min(400px, 34vw);
  pointer-events: none;
}
.step {
  position: absolute; inset: 0 0 auto 0;
  opacity: 0; transform: translateY(26px);
  transition: opacity .6s var(--ease), transform .7s var(--ease);
}
.step.is-on { opacity: 1; transform: none; pointer-events: auto; }
.step__n { display: block; font-family: var(--f-text); font-weight: 600; letter-spacing: .06em; font-size: .95rem; color: var(--preto); margin-bottom: 12px; }
.story.is-night .step__n { color: var(--bege); }
.step__t { font-family: var(--f-display); font-size: clamp(2.4rem, 4.6vw, 4rem); line-height: 1; margin-bottom: 18px; }
.step p { font-size: 1.06rem; color: var(--ink-2); max-width: 26em; }
.step__cap { font-size: .9rem !important; font-style: italic; }
.step[data-step="5"] { color: var(--branco); }
.step[data-step="5"] p { color: var(--paper-2); }
.step[data-step="5"] .step__n { color: var(--bege); }

.sun {
  display: flex; align-items: center; gap: 12px; margin-top: 8px;
  padding: 12px 16px; border-radius: 24px 4px 4px 4px;
  background: rgba(255, 255, 255, .7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px rgba(18, 17, 17, .08);
  max-width: 360px;
}
.sun svg { width: 20px; height: 20px; flex: none; color: var(--bege-d); }
.sun { color: var(--ink); }
.sun output { font-weight: 700; font-size: .9rem; min-width: 3.2em; text-align: right; font-variant-numeric: tabular-nums; }
input[type=range] { -webkit-appearance: none; appearance: none; background: transparent; width: 100%; height: 30px; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, #E9C88A, #B8905C 55%, #3B4256); }
input[type=range]::-moz-range-track { height: 2px; background: linear-gradient(90deg, #E9C88A, #B8905C 55%, #3B4256); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -10px; border-radius: 50%; background: var(--branco); box-shadow: 0 0 0 1.5px var(--preto), 0 4px 10px rgba(18,17,17,.25); }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: var(--branco); box-shadow: 0 0 0 1.5px var(--preto), 0 4px 10px rgba(18,17,17,.25); }

.story__progress {
  position: absolute; z-index: 3; left: var(--gut); right: var(--gut); bottom: 0; height: 2px;
  background: rgba(18, 17, 17, .1); opacity: 0; transition: opacity .4s;
}
.story__progress span { position: absolute; inset: 0; background: var(--preto); transform-origin: left; transform: scaleX(0); }
.story.is-steps .story__progress { opacity: 1; }
.story__hint {
  position: absolute; z-index: 3; left: 50%; transform: translateX(-50%); bottom: 26px; margin: 0;
  display: flex; align-items: center; gap: 8px; font-size: .84rem; font-weight: 600; color: var(--ink-2);
  opacity: 0; transition: opacity .5s;
}
.story__hint svg { width: 18px; height: 18px; }
.story.is-orbit .story__hint { opacity: 1; }
.story.is-photo .story__hint { opacity: 0; }

.story__night {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(110% 90% at 62% 46%, #3A3F4E 0%, #232633 55%, #15161D 100%);
}
.cota {
  position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none;
  font-family: var(--f-text); font-size: .85rem; font-weight: 600; letter-spacing: .03em; color: var(--ink); opacity: 0; white-space: nowrap;
}
.cota--title { font-family: var(--f-text); font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.story.is-night .step:not([data-step="5"]) { color: var(--branco); }
.story.is-night .step:not([data-step="5"]) p { color: var(--paper-2); }
.nav.on-dark:not(.is-solid) { color: var(--branco); }

/* sem WebGL ou movimento reduzido: hero estático com foto */
.no-webgl .story { height: auto; }
.no-webgl .story__stage { position: relative; height: auto; min-height: 100svh; }
.no-webgl .story__canvas, .no-webgl .story__hint, .no-webgl .hero__scroll, .no-webgl .story__progress { display: none; }
.no-webgl .story__photo { opacity: .22; clip-path: none; }
.no-webgl .steps { position: relative; top: auto; left: auto; transform: none; width: auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; padding: 0 var(--gut) 80px; }
.no-webgl .step { position: relative; opacity: 1; transform: none; color: var(--ink); }
.no-webgl .step__t { font-size: 2.2rem; }
.no-webgl .step p { color: var(--ink-2); }
.no-webgl .sun { display: none; }
.no-webgl .hero { position: relative; left: auto; bottom: auto; width: auto; max-width: 640px; padding: 150px var(--gut) 70px; }

/* ============ STATEMENT ============ */
.statement { background: var(--preto); color: var(--branco); padding: clamp(80px, 13vw, 170px) var(--gut); position: relative; overflow: hidden; }
.statement::before {
  content: ""; position: absolute; right: -14vw; top: -18vw; width: 40vw; height: 52vw;
  border: 1.5px solid rgba(221, 203, 164, .22); border-top-left-radius: 50% 40%;
  pointer-events: none;
}
.statement::after {
  content: ""; position: absolute; right: -14vw; top: -10vw; width: 30vw; height: 52vw;
  border: 1.5px solid rgba(221, 203, 164, .14); border-top-left-radius: 50% 40%;
  pointer-events: none;
}
.statement__inner { max-width: var(--max); margin: 0 auto; position: relative; z-index: 1; }
.statement__quote { font-family: var(--f-display); font-size: clamp(1.9rem, 4.2vw, 3.6rem); line-height: 1.12; max-width: 19em; margin-bottom: clamp(56px, 8vw, 100px); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 0; }
.fact { border-top: 1px solid rgba(255, 255, 255, .2); padding-top: 22px; }
.fact dt { font-family: var(--f-text); font-weight: 300; letter-spacing: -.02em; font-size: clamp(2.8rem, 5vw, 4.4rem); line-height: 1; color: var(--bege); margin-bottom: 12px; }
.fact dd { margin: 0; color: var(--paper-2); max-width: 17em; }

/* ============ PROJECTS ============ */
.projects { background: var(--preto); color: var(--branco); padding: 0 var(--gut) clamp(90px, 12vw, 150px); position: relative; }
.projects__head { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; align-items: end; padding-top: clamp(30px, 5vw, 60px); border-top: 1px solid rgba(255,255,255,.14); }
.projects__intro { color: var(--paper-2); margin: 0; max-width: 30em; }
.chip {
  border: 0; cursor: pointer; padding: 10px 18px; min-height: 42px;
  border-radius: 20px 3px 3px 3px; font-size: .9rem; font-weight: 600;
  background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); color: inherit;
  transition: background-color .3s, color .3s, box-shadow .3s, border-radius .4s var(--ease);
}
.chip:hover { box-shadow: inset 0 0 0 1px currentColor; }
.chip.is-on { background: var(--bege); color: var(--preto); box-shadow: none; }

.plist { overflow-x: clip; list-style: none; margin: clamp(36px, 5vw, 60px) auto 0; padding: 0; max-width: var(--max); }
.prow { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.prow__btn {
  width: 100%; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 24px;
  padding: clamp(22px, 3vw, 34px) 0; background: none; border: 0; cursor: pointer; text-align: left; color: inherit;
}
.prow__name { font-family: var(--f-display); font-size: clamp(2rem, 5.4vw, 4.6rem); line-height: 1.02; transition: transform .6s var(--ease), color .3s; }
.prow__meta { display: flex; gap: 22px; color: var(--paper-2); font-size: .95rem; white-space: nowrap; }
.prow__meta span + span::before { content: ""; display: inline-block; width: 14px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 22px; opacity: .5; }
.prow__thumb { display: none; }
@media (hover: hover) { .prow__btn:hover .prow__name { transform: translateX(24px); color: var(--bege); } }
.prow__btn:focus-visible .prow__name { color: var(--bege); }

.pfloat {
  position: fixed; left: 0; top: 0; z-index: 20; pointer-events: none;
  width: clamp(260px, 26vw, 400px); aspect-ratio: 4 / 5;
  opacity: 0; transition: opacity .35s;
}
.pfloat.is-on { opacity: 1; }
.pfloat__in { width: 100%; height: 100%; border-top-left-radius: 120px; overflow: hidden; transform: scale(.86); transition: transform .5s var(--ease); box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.pfloat.is-on .pfloat__in { transform: none; }
.pfloat img { width: 100%; height: 100%; object-fit: cover; }

.wip { max-width: var(--max); margin: clamp(90px, 11vw, 140px) auto 0; }
.wip > p { color: var(--paper-2); margin: 8px 0 30px; }
.wip__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; gap: clamp(16px, 2.4vw, 32px); }
.wip__item { margin: 0; }
.wip__item .arch { aspect-ratio: 4 / 5; --arch: clamp(50px, 7vw, 110px); }
.wip__item figcaption { margin-top: 16px; color: var(--paper-2); font-size: .95rem; }
.wip__item strong { display: block; color: var(--branco); font-weight: 600; margin-bottom: 2px; }

/* ============ BEFORE / AFTER ============ */
.ba {
  display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: clamp(40px, 7vw, 110px); align-items: center;
  max-width: var(--max); margin: 0 auto; padding: clamp(90px, 12vw, 160px) var(--gut);
}
.ba__text p { color: var(--ink-2); max-width: 30em; margin: 22px 0 28px; font-size: 1.06rem; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.ba .chip { box-shadow: inset 0 0 0 1px rgba(18, 17, 17, .3); }
.ba .chip.is-on { background: var(--preto); color: var(--branco); }
.compare { aspect-ratio: 4 / 5; user-select: none; -webkit-user-select: none; --arch: clamp(70px, 10vw, 150px); }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); z-index: 1; }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 0; z-index: 3; pointer-events: none; }
.compare__handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: var(--branco); }
.compare__handle span {
  position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 26px 4px 4px 4px; background: var(--branco); color: var(--preto);
  display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0,0,0,.25);
}
.compare__handle svg { width: 22px; height: 22px; }
.compare__tag { position: absolute; bottom: 16px; z-index: 3; padding: 6px 12px; font-size: .82rem; font-weight: 700; background: rgba(18, 17, 17, .72); color: var(--branco); border-radius: 12px 2px 2px 2px; }
.compare__tag--a { left: 16px; } .compare__tag--d { right: 16px; }
.compare .compare__range { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare__range:focus-visible + * { outline: none; }
.compare:has(.compare__range:focus-visible) { outline: 2px solid var(--bege-d); outline-offset: 4px; }
.compare.is-swap img { animation: fadeIn .5s var(--ease); }
@keyframes fadeIn { from { opacity: 0; } }

/* ============ ABOUT ============ */
.about {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px);
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gut) clamp(100px, 13vw, 170px); align-items: start;
}
.about__media { position: relative; position: sticky; top: 100px; }
.about__photo { aspect-ratio: 2 / 3; --arch: clamp(90px, 14vw, 220px); }
.about__chip {
  position: absolute; right: -9%; bottom: -7%; width: 42%; aspect-ratio: 3 / 4;
  border: 8px solid var(--branco); border-top-left-radius: 70px; overflow: hidden;
  box-shadow: 0 20px 40px rgba(18,17,17,.18);
}
.about__chip img { width: 100%; height: 100%; object-fit: cover; }
.about__text { padding-top: clamp(0px, 4vw, 60px); }
.about__role { font-weight: 600; color: var(--bege-d); margin: 14px 0 30px; font-size: 1.04rem; }
.about__text > p { color: var(--ink-2); max-width: 34em; }
.seek { margin: 48px 0; padding: 34px 34px 18px; background: var(--bege-l); border-top-left-radius: 70px; }
.seek__lead { font-family: var(--f-display); font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.2; margin-bottom: 20px; }
.seek__list { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.seek__list li { padding: 8px 16px; background: var(--branco); border-radius: 18px 3px 3px 3px; font-weight: 600; font-size: .92rem; }
.seek > p:last-child { color: var(--ink-2); }
.areas { list-style: none; margin: 0; padding: 0; }
.areas li { display: grid; grid-template-columns: 9.5em 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid rgba(18, 17, 17, .14); }
.areas strong { font-family: var(--f-display); font-weight: 400; font-size: 1.35rem; line-height: 1.3; }
.areas span { color: var(--ink-2); }
.coverage { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid rgba(18, 17, 17, .14); font-size: .96rem; color: var(--ink-2); }
.coverage strong { color: var(--ink); font-weight: 600; }

/* ============ VOICES ============ */
.voices { padding: 0 0 clamp(90px, 11vw, 140px); }
.voices .h3 { padding: 0 var(--gut); max-width: var(--max); margin: 0 auto 26px; box-sizing: content-box; }
.voices__track { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.voices__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 16px; width: max-content; animation: marquee 48s linear infinite; }
.voices__track:hover .voices__list { animation-play-state: paused; }
.voices__list li { width: min(340px, 78vw); padding: 26px 26px 22px; background: var(--bege-xl); border-top-left-radius: 46px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.voices__list q { font-family: var(--f-display); font-size: 1.32rem; line-height: 1.3; quotes: "“" "”"; }
.voices__list span { font-size: .88rem; font-weight: 600; color: var(--bege-d); }
@keyframes marquee { to { transform: translateX(calc(-50% - 8px)); } }

/* ============ CONTACT ============ */
.contact {
  background: var(--bege); color: var(--preto);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 110px);
  padding: clamp(90px, 12vw, 150px) max(var(--gut), calc((100% - var(--max)) / 2));
  border-top-left-radius: clamp(80px, 16vw, 260px);
  position: relative;
}
.contact__intro p { color: var(--ink-2); max-width: 26em; margin: 22px 0 34px; font-size: 1.06rem; }
.contact__direct { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.contact__direct a { display: inline-flex; align-items: center; gap: 12px; padding: 8px 0; text-decoration: none; font-weight: 600; word-break: break-word; }
.contact__direct a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact__direct svg { width: 22px; height: 22px; flex: none; }

.brief { background: var(--branco); padding: clamp(24px, 3.4vw, 44px); border-top-left-radius: 70px; box-shadow: 0 30px 60px rgba(18, 17, 17, .12); }
.brief fieldset { border: 0; margin: 0 0 24px; padding: 0; min-width: 0; }
.brief legend { font-family: var(--f-display); font-size: 1.3rem; margin-bottom: 12px; padding: 0; }
.brief__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt span {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px;
  border-radius: 20px 3px 3px 3px; box-shadow: inset 0 0 0 1px rgba(18, 17, 17, .28);
  font-size: .92rem; font-weight: 600; transition: background-color .25s, color .25s, box-shadow .25s;
}
.opt:hover span { box-shadow: inset 0 0 0 1px var(--preto); }
.opt input:checked + span { background: var(--preto); color: var(--branco); box-shadow: none; }
.opt input:focus-visible + span { outline: 2px solid var(--bege-d); outline-offset: 2px; }
.brief__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 24px; }
.field span { display: block; font-family: var(--f-display); font-size: 1.3rem; margin-bottom: 8px; }
.field input { width: 100%; min-height: 48px; padding: 0 14px; border: 0; border-radius: 3px; background: var(--bege-xl); box-shadow: inset 0 -1.5px 0 rgba(18, 17, 17, .4); font-size: 1rem; }
.field input:focus { outline: none; box-shadow: inset 0 -2px 0 var(--preto); background: var(--bege-l); }
.brief__preview { margin-bottom: 22px; padding: 16px 18px; background: var(--bege-xl); border-left: 3px solid var(--bege); border-radius: 0 4px 4px 0; }
.brief__preview span { font-size: .82rem; font-weight: 700; color: var(--bege-d); }
.brief__preview p { margin: 6px 0 0; font-size: .95rem; color: var(--ink-2); }

/* ============ FOOTER ============ */
.foot {
  background: var(--preto); color: var(--paper-2);
  display: grid; grid-template-columns: auto 1fr auto; gap: 18px 40px; align-items: center;
  padding: 56px max(var(--gut), calc((100% - var(--max)) / 2)) 40px;
}
.foot__brand { display: flex; align-items: center; gap: 14px; color: var(--branco); }
.foot__mark { width: 32px; height: 45px; object-fit: contain; }
.foot__word { width: 86px; height: 61px; }
.foot__line { margin: 0; }
.foot__links { display: flex; gap: 22px; }
.foot__links a { text-decoration: none; font-weight: 600; color: var(--branco); }
.foot__links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot__copy { grid-column: 1 / -1; margin: 18px 0 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .88rem; }

/* ============ FAB ============ */
.fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  width: 58px; height: 58px; display: grid; place-items: center;
  background: var(--preto); color: var(--branco);
  border-radius: 30px 6px 6px 6px; box-shadow: 0 12px 28px rgba(18,17,17,.35);
  transform: translateY(120px); transition: transform .5s var(--ease), border-radius .4s var(--ease);
}
.fab svg { width: 26px; height: 26px; }
.fab.is-on { transform: none; }
.fab:hover { border-radius: 6px 30px 6px 6px; }

/* ============ PROJECT DIALOG ============ */
.pdlg { padding: 0; border: 0; max-width: none; max-height: none; width: 100%; height: 100%; background: transparent; color: var(--branco); }
.pdlg::backdrop { background: rgba(10, 9, 9, .82); backdrop-filter: blur(6px); }
.pdlg[open] { animation: dlgIn .5s var(--ease); }
@keyframes dlgIn { from { opacity: 0; transform: translateY(24px); } }
.pdlg__in { position: relative; height: 100%; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr); background: var(--preto); }
.pdlg__close { position: absolute; z-index: 5; right: 18px; top: 18px; width: 48px; height: 48px; border: 0; border-radius: 24px 4px 4px 4px; background: var(--branco); color: var(--preto); cursor: pointer; display: grid; place-items: center; }
.pdlg__close svg { width: 20px; height: 20px; }
.pdlg__gallery { position: relative; min-height: 0; min-width: 0; background: #0A0909; }
.pdlg__track { height: 100%; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pdlg__track::-webkit-scrollbar { display: none; }
.pdlg__track figure { flex: 0 0 100%; margin: 0; scroll-snap-align: center; display: grid; place-items: center; padding: 24px; }
.pdlg__track img { max-width: 100%; max-height: calc(100vh - 110px); width: auto; height: auto; object-fit: contain; border-top-left-radius: 60px; }
.pdlg__nav { position: absolute; left: 24px; bottom: 20px; display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: .9rem; }
.pdlg__nav button { width: 44px; height: 44px; border: 0; border-radius: 22px 3px 3px 3px; background: rgba(255,255,255,.12); color: var(--branco); cursor: pointer; display: grid; place-items: center; }
.pdlg__nav button:hover { background: rgba(255,255,255,.22); }
.pdlg__nav svg { width: 20px; height: 20px; }
.pdlg__text { min-width: 0; overflow-y: auto; padding: clamp(70px, 9vh, 110px) clamp(24px, 3vw, 48px) 40px; }
.pdlg__meta { color: var(--bege); font-weight: 600; font-size: .92rem; }
.pdlg__t { font-family: var(--f-display); font-size: clamp(2.2rem, 3.6vw, 3.4rem); line-height: 1.04; margin: 6px 0 24px; }
.pdlg__body p { color: var(--paper-2); }
.pdlg__text .btn { margin-top: 14px; }

/* ============ REVEAL ============ */
.js .rv { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .rv.is-in { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1020px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle {
    display: grid; place-content: center; gap: 7px; margin-left: auto; position: relative; z-index: 60;
    width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; color: inherit;
  }
  .nav__toggle span:not(.sr) { display: block; width: 26px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease); }
  .nav__toggle[aria-expanded="true"] { color: var(--branco); }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.25px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4.25px) rotate(-45deg); }
  .ba, .about, .contact { grid-template-columns: 1fr; }
  .about__media { position: relative; top: auto; max-width: 520px; }
  .projects__head { grid-template-columns: 1fr; }
  .pdlg { height: 100dvh; }
  .pdlg__in { grid-template-columns: minmax(0, 1fr); grid-template-rows: 58svh auto; overflow-y: auto; overscroll-behavior: contain; }
  .pdlg__text { overflow: visible; padding-top: 28px; }
  .pdlg__track img { max-height: calc(58svh - 40px); }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { height: 64px; gap: 12px; }
  .nav.is-solid { height: 60px; }
  .nav__mark { width: 21px; height: 30px; }
  .nav__word { width: 56px; height: 40px; }

  .story { height: 820vh; }
  .hero { left: var(--gut); right: var(--gut); width: auto; bottom: 28px; }
  .story.is-night .step:not([data-step="5"]) { background: rgba(18, 17, 17, .74); }
  .hero__title { font-size: clamp(2.5rem, 11.4vw, 3.4rem); margin-bottom: 18px; }
  .hero__lead { font-size: 1rem; margin-bottom: 22px; }
  .hero__kicker { font-size: .86rem; margin-bottom: 12px; }
  .hero__scroll { top: 78px; bottom: auto; left: var(--gut); right: auto; gap: 10px; }
  .hero__scroll-line, .hero__scroll > span:last-child { display: none; }
  .steps { left: var(--gut); right: var(--gut); width: auto; top: auto; bottom: 26px; transform: none; }
  .step { inset: auto 0 0 0; padding: 22px 20px 16px; background: rgba(255, 255, 255, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top-left-radius: 44px; }
  .step[data-step="5"] { background: rgba(18, 17, 17, .72); }
  .step__t { font-size: 2.2rem; margin-bottom: 10px; }
  .step p { font-size: .96rem; margin-bottom: .6em; }
  .step__n { margin-bottom: 4px; }
  .sun { padding: 8px 12px; background: var(--branco); }
  .story__hint { top: 76px; bottom: auto; left: auto; right: var(--gut); transform: none; }

  .facts { grid-template-columns: 1fr; gap: 0; }
  .fact { padding: 22px 0; }
  .prow__btn { grid-template-columns: 88px 1fr; gap: 4px 16px; }
  .prow__thumb { display: block; grid-row: 1 / 3; width: 88px; aspect-ratio: 1; border-top-left-radius: 34px; overflow: hidden; }
  .prow__thumb img { width: 100%; height: 100%; object-fit: cover; }
  .prow__name { font-size: 1.85rem; }
  .prow__meta { gap: 12px; font-size: .86rem; white-space: normal; flex-wrap: wrap; }
  .prow__meta { display: block; }
  .prow__meta span + span::before { content: ", "; display: inline; width: auto; height: auto; background: none; margin: 0; opacity: 1; }
  .pfloat { display: none; }
  .wip__row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 74%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut); scrollbar-width: none; }
  .wip__row::-webkit-scrollbar { display: none; }
  .wip__item { scroll-snap-align: start; }

  .about__chip { right: -2%; width: 44%; border-width: 6px; border-top-left-radius: 44px; }
  .seek { padding: 26px 22px 10px; border-top-left-radius: 46px; }
  .areas li { grid-template-columns: 1fr; gap: 4px; }

  .brief__row { grid-template-columns: 1fr; }
  .brief { border-top-left-radius: 46px; }
  .contact { border-top-left-radius: 70px; }
  .foot { grid-template-columns: 1fr; }
  .fab { width: 54px; height: 54px; right: 14px; bottom: 14px; }
}

@media (max-width: 760px) and (max-height: 720px) {
  .hero { bottom: 20px; }
  .hero__kicker { display: none; }
  .hero__title { font-size: clamp(2.1rem, 10vw, 2.6rem); margin-bottom: 12px; }
  .hero__lead { font-size: .92rem; margin-bottom: 16px; }
  .hero__actions { gap: 8px; }
  .hero__actions .btn { min-height: 44px; font-size: .88rem; padding: 0 1.1em; }
  .step { padding: 16px 16px 10px; }
  .step__t { font-size: 1.8rem; }
  .step p { font-size: .9rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .voices__list { animation: none; flex-wrap: wrap; width: auto; padding: 0 var(--gut); }
  .voices__list li[aria-hidden] { display: none; }
}
