/* =========================================================
   SOLANA — Manual de Identidade Visual (site)
   ========================================================= */

@font-face { font-family: "MaharlikaSub"; src: url("../assets/fonts/maharlika-sub.otf") format("opentype"); font-display: block; }
@font-face { font-family: "AnantasonSub"; src: url("../assets/fonts/anantason-sub.otf") format("opentype"); font-display: block; }

@property --sweep { syntax: "<angle>"; inherits: false; initial-value: 180deg; }

:root {
  --noite: #0B2236;
  --noite-2: #10304d;
  --marfim: #F5F1E6;
  --areia: #EDE5D5;
  --card: #F5F0E6;
  --dourado: #C5995B;
  --lagoa: #00355B;
  --coral: #D9663A;
  --coral-texto: #B04A20;
  --ink: #0B2236;
  --ink-2: #33414f;
  --gold-hi: #FFD47E;
  --gold-lo: #E9923B;
  --gold-grad: linear-gradient(180deg, var(--gold-hi) 0%, #F5B65C 55%, var(--gold-lo) 100%);

  --f-display: "MaharlikaSub", "Cormorant Garamond", Georgia, serif;
  --f-serif: "Cormorant Garamond", Georgia, serif;
  --f-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-tag: "AnantasonSub", "Archivo", sans-serif;

  --gutter: clamp(20px, 6.6vw, 96px);
  --maxw: 1440px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

/* Fixed brand palette in both schemes */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { color-scheme: light; } }
:root[data-theme="dark"] { color-scheme: light; }

*, *::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(--noite);
  color: var(--ink);
  font-family: var(--f-sans);
  font-variation-settings: "wdth" 112;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
ul, ol, dl, dd, figure, p, h1, h2, h3 { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--dourado); color: var(--noite); }
:focus-visible { outline: 2px solid var(--dourado); outline-offset: 4px; border-radius: 2px; }

.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--marfim); color: var(--noite); padding: 10px 16px; transition: top .2s; }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); position: relative; z-index: 2; }

/* ---------- Section skins ---------- */
.s-night {
  color: var(--marfim);
  background:
    radial-gradient(120% 90% at 18% 0%, #071626 0%, transparent 55%),
    radial-gradient(90% 80% at 70% 60%, #15365a 0%, transparent 70%),
    var(--noite);
}
.s-ivory { background: var(--marfim); color: var(--ink); }
.s-sand { background: var(--areia); color: var(--ink); }
.sec { position: relative; padding: clamp(96px, 13vw, 200px) 0; overflow: hidden; }

/* ---------- Symbol (CSS mask of the vector mark) ---------- */
.mark {
  display: block;
  aspect-ratio: 1913 / 1808;
  -webkit-mask: url("../assets/img/symbol.svg") center / contain no-repeat;
          mask: url("../assets/img/symbol.svg") center / contain no-repeat;
  background: currentColor;
}
.mark--current { background: currentColor; }
.mark--gold { background: var(--gold-grad); }
.mark--goldflat { background: linear-gradient(180deg, #D7AE6E, #C5995B 60%, #B98A4C); }
.mark--ivory { background: var(--marfim); }
.mark--white { background: #fff; }
.mark--night { background: var(--noite); }
.mark--black { background: #1d1612; }

/* sweep reveal: rays open like the sun rising from the apex */
.mark[data-sweep] {
  -webkit-mask:
    url("../assets/img/symbol.svg") center / contain no-repeat,
    conic-gradient(from 270deg at 50% 100%, #000 var(--sweep), transparent calc(var(--sweep) + 2deg)) center / 100% 100% no-repeat;
  -webkit-mask-composite: source-in;
  mask:
    url("../assets/img/symbol.svg") center / contain no-repeat intersect,
    conic-gradient(from 270deg at 50% 100%, #000 var(--sweep), transparent calc(var(--sweep) + 2deg)) center / 100% 100% no-repeat;
}

/* ---------- Wordmark ---------- */
.wordmark {
  font-family: var(--f-display);
  font-weight: 400;
  letter-spacing: .055em;
  line-height: 1;
  white-space: nowrap;
  font-variation-settings: normal;
}
.wordmark--gold, .cover__word span {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.maharlika { font-family: var(--f-display); font-weight: 400; font-variation-settings: normal; }

/* ---------- Labels / headings (brand: tracked caps label + Cormorant headline) ---------- */
.label {
  font-family: var(--f-sans);
  font-variation-settings: "wdth" 100;
  font-size: clamp(12px, 1.05vw, 15px);
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--lagoa);
  margin-bottom: clamp(28px, 3.4vw, 48px);
}
.label--gold { color: var(--dourado); }
.h2 {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(32px, min(3.6vw, 6.6vh), 54px);
  line-height: 1.04;
  letter-spacing: -.012em;
  max-width: 18ch;
  text-wrap: balance;
}
.h2 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.h2 .w > span { display: inline-block; will-change: transform; }
.note { color: var(--coral-texto); letter-spacing: .03em; font-size: 16px; max-width: 64ch; }
.s-night .note { color: var(--dourado); }
.hint { margin-top: 28px; font-size: 15px; color: #4a5866; }
.lead { font-size: clamp(17px, 1.45vw, 21px); color: var(--ink-2); max-width: 46ch; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.split--wide { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }

/* points list with gold threads */
.points li { position: relative; padding: 18px 0 20px; }
.points li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, rgba(197,153,91,.9), rgba(197,153,91,.35)); transform-origin: left; transform: scaleX(var(--line, 1)); }
.points h3 { font-weight: 400; font-size: clamp(17px, 1.25vw, 19px); letter-spacing: .02em; margin-bottom: 4px; }
.points p { font-size: 16px; opacity: .86; max-width: 52ch; }

/* =========================================================
   Curtain (intro)
   ========================================================= */
.curtain { position: fixed; inset: 0; z-index: 150; background: var(--noite); display: none; place-items: center; }
.js .curtain { display: grid; }
.curtain__mark { width: 74px; }
.curtain.is-done { pointer-events: none; }

/* =========================================================
   Top bar
   ========================================================= */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 18px var(--gutter);
  color: var(--marfim);
  transition: color .5s var(--ease-out), background-color .5s var(--ease-out), transform .6s var(--ease-out);
}
.bar.is-light { color: var(--noite); }
.bar.is-scrolled { background-color: rgba(11,34,54,.0); }
.bar__brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; justify-self: start; }
.bar__mark { width: 26px; }
.bar__word { font-family: var(--f-display); letter-spacing: .14em; font-size: 15px; padding-top: 2px; }
.bar__chapter { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; opacity: .8; overflow: hidden; height: 1.6em; text-align: center; font-variation-settings: "wdth" 100; }
.bar__chapter span { display: block; }
.bar__menu { justify-self: end; display: inline-flex; align-items: center; gap: 14px; min-height: 44px; padding: 0 2px; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; font-variation-settings: "wdth" 100; }
.bar__burger { display: grid; gap: 6px; width: 26px; }
.bar__burger i { display: block; height: 1.5px; background: currentColor; transition: transform .5s var(--ease-out); }
.bar__menu:hover .bar__burger i:first-child { transform: translateX(-4px); }
.bar__menu:hover .bar__burger i:last-child { transform: translateX(4px); }
.bar__menu[aria-expanded="true"] .bar__burger i:first-child { transform: translateY(3.75px) rotate(45deg); }
.bar__menu[aria-expanded="true"] .bar__burger i:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.bar__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(197,153,91,.15); }
.bar__progress i { display: block; height: 100%; background: var(--dourado); transform-origin: left; transform: scaleX(0); }
.bar.is-hidden { transform: translateY(-100%); }

/* =========================================================
   Index overlay
   ========================================================= */
.index {
  position: fixed; inset: 0; z-index: 90;
  background: var(--noite); color: var(--marfim);
  display: grid; align-content: center;
  padding: 110px var(--gutter) 60px;
  clip-path: circle(0% at calc(100% - var(--gutter) - 13px) 40px);
  transition: clip-path .9s var(--ease-io), visibility 0s .9s;
  visibility: hidden;
  overflow-y: auto;
}
.index[hidden] { display: none; }
.index.is-open { clip-path: circle(150% at calc(100% - var(--gutter) - 13px) 40px); visibility: visible; transition: clip-path .9s var(--ease-io), visibility 0s; }
.index__grafismo { position: absolute; width: min(70vw, 820px); right: -12vw; bottom: -14vw; opacity: .08; color: var(--dourado); pointer-events: none; }
.index__list { counter-reset: none; columns: 2; column-gap: clamp(40px, 8vw, 140px); max-width: 1200px; position: relative; }
.index__list li { break-inside: avoid; overflow: hidden; }
.index__list a {
  display: block; text-decoration: none; padding: 10px 0;
  font-family: var(--f-serif); font-size: clamp(24px, 2.6vw, 38px); line-height: 1.15;
  transition: color .4s var(--ease-out), transform .5s var(--ease-out);
}
.index__list a:hover, .index__list a:focus-visible { color: var(--dourado); transform: translateX(10px); }

/* =========================================================
   Cover
   ========================================================= */
.cover {
  position: relative; min-height: 100svh; display: grid; place-items: center;
  overflow: hidden; padding: 120px var(--gutter) 140px;
}
.cover__light {
  position: absolute; inset: -20%;
  background:
    radial-gradient(40% 35% at 50% 45%, rgba(245,182,92,.13), transparent 70%),
    radial-gradient(60% 50% at 75% 55%, rgba(21,54,90,.9), transparent 70%);
  animation: drift 18s var(--ease-io) infinite alternate;
  pointer-events: none;
}
@keyframes drift { from { transform: translate3d(-3%, -2%, 0) scale(1); } to { transform: translate3d(3%, 2%, 0) scale(1.08); } }
.cover__grafismo { position: absolute; width: min(78vw, 980px); left: -22vw; bottom: -30vw; opacity: .045; transform: rotate(-8deg); pointer-events: none; }
.cover__lockup { position: relative; z-index: 2; display: grid; justify-items: center; text-align: center; }
.cover__mark { width: clamp(96px, min(10vw, 18vh), 180px); margin-bottom: clamp(16px, 2.6vh, 32px); }
.cover__word { font-size: clamp(46px, min(7.2vw, 13vh), 116px); letter-spacing: .05em; margin-right: -.05em; }
.cover__word span { display: inline-block; }
.cover__tag { margin-top: clamp(14px, 2.4vh, 26px); font-family: var(--f-tag); font-size: clamp(11px, min(1vw, 1.9vh), 15px); letter-spacing: .44em; color: #F7C977; margin-right: -.44em; }
.cover__foot {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 34px; z-index: 2;
  display: flex; justify-content: space-between; align-items: end; gap: 24px;
  font-size: 13px; letter-spacing: .14em; color: rgba(245,241,230,.72);
}
.cover__cue { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; min-height: 44px; }
.cover__cue i { position: relative; width: 1px; height: 46px; background: rgba(197,153,91,.3); overflow: hidden; }
.cover__cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--dourado); animation: cue 2.2s var(--ease-io) infinite; }
@keyframes cue { to { top: 100%; } }

/* =========================================================
   Símbolo
   ========================================================= */
.symbol { background: var(--marfim); }
.symbol__leaf {
  position: absolute; left: -4%; top: -6%; width: 62%; aspect-ratio: 16/9;
  background: url("../assets/img/bg-folhagem.webp") left top / cover no-repeat;
  mix-blend-mode: multiply; opacity: .95; pointer-events: none;
  -webkit-mask-image: radial-gradient(115% 120% at 0 0, #000 40%, transparent 72%);
          mask-image: radial-gradient(115% 120% at 0 0, #000 40%, transparent 72%);
  transform-origin: 0 0;
  animation: sway 9s var(--ease-io) infinite alternate;
}
@keyframes sway { from { transform: rotate(-1.2deg) translate3d(0,0,0); } to { transform: rotate(1.6deg) translate3d(1.5%, 1%, 0); } }
.symbol__card {
  position: relative; aspect-ratio: 1 / .94; border-radius: 18px;
  background: #EDE5D5; display: grid; place-items: center;
  transition: background-color .9s var(--ease-out);
  overflow: hidden;
}
.symbol__mark { width: 62%; color: var(--noite); background: var(--noite); transition: transform 1s var(--ease-out), background-color .9s var(--ease-out); }
.symbol__card::before { /* warm halo behind the shell for 'concha' */
  content: ""; position: absolute; left: 50%; top: 50%; width: 80%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(197,153,91,.38), rgba(197,153,91,.12) 55%, transparent 100%);
  opacity: 0; transform: translate(-50%, -46%) scale(.7);
  transition: opacity .9s var(--ease-out), transform 1.2s var(--ease-out);
}
.symbol__card[data-mode="concha"]::before { opacity: 1; transform: translate(-50%, -46%) scale(1); }
.symbol__card[data-mode="raios"] { background: var(--lagoa); }
.symbol__card[data-mode="raios"] .symbol__mark { background: linear-gradient(180deg, #C5995B 0%, #C5995B 34%, #FFE2A6 50%, #C5995B 66%, #C5995B 100%) 0 0 / 100% 300%; animation: rays 2.6s var(--ease-io) infinite; }
.symbol__card[data-mode="raios"] .symbol__caption { color: var(--dourado); }
@keyframes rays { from { background-position: 0 100%; } to { background-position: 0 0%; } }
.symbol__card[data-mode="unidade"] { background: var(--noite); }
.symbol__card[data-mode="unidade"] .symbol__mark { background: var(--gold-grad); transform: scale(.96); }
.symbol__caption { position: absolute; left: 22px; bottom: 18px; right: 22px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--lagoa); height: 1.4em; overflow: hidden; font-variation-settings: "wdth" 100; }
.symbol__caption span { position: absolute; left: 0; top: 0; opacity: 0; transform: translateY(100%); transition: opacity .5s, transform .6s var(--ease-out); }
.symbol__card[data-mode="concha"] [data-cap="concha"], .symbol__card[data-mode="raios"] [data-cap="raios"], .symbol__card[data-mode="unidade"] [data-cap="unidade"] { opacity: 1; transform: none; }
.symbol__card[data-mode="unidade"] .symbol__caption { color: var(--dourado); }
.symbol__text .h2 { margin-bottom: clamp(28px, 3vw, 44px); }
.meanings li { position: relative; }
.meanings li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(197,153,91,.75); transform-origin: left; transform: scaleX(var(--line, 1)); }
.meaning { display: block; width: 100%; text-align: left; padding: 18px 0 20px 0; position: relative; transition: padding .5s var(--ease-out); }
.meaning strong { display: block; font-weight: 400; font-size: clamp(17px, 1.25vw, 19px); letter-spacing: .02em; color: var(--noite); margin-bottom: 4px; }
.meaning span { display: block; font-size: 16px; color: var(--ink-2); max-width: 50ch; }
.meaning::after { content: ""; position: absolute; left: 0; top: 26px; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); transform: scale(0); transition: transform .5s var(--ease-out); }
.meaning.is-active { padding-left: 26px; }
.meaning.is-active::after { transform: scale(1); }
.meaning:hover strong { color: var(--lagoa); }

/* =========================================================
   Assinatura
   ========================================================= */
.signature__card {
  border-radius: 18px; background: #001f3a; padding: clamp(40px, 6vw, 80px) clamp(24px, 4vw, 64px);
  display: grid; justify-items: center; text-align: center; position: relative; overflow: hidden;
}
.signature__card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 40% at 50% 20%, rgba(245,182,92,.09), transparent 70%); pointer-events: none; }
.signature__mark { width: clamp(90px, 11vw, 150px); margin-bottom: 16px; }
.signature__word { font-size: clamp(48px, 6.4vw, 96px); margin-right: -.055em; }
.signature__rule { width: 82%; margin: clamp(24px, 3vw, 36px) 0; position: relative; display: grid; place-items: center; }
.signature__rule::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(197,153,91,.75); transform-origin: center; transform: scaleX(var(--line, 1)); }
.signature__rule span { position: relative; background: #001f3a; padding: 0 14px; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--dourado); font-variation-settings: "wdth" 100; }
.signature__partners { display: flex; align-items: center; justify-content: center; gap: clamp(28px, 5vw, 64px); }
.signature__partners img:first-child { height: clamp(58px, 6.6vw, 92px); width: auto; }
.signature__partners img:last-child { height: clamp(62px, 7vw, 98px); width: auto; }
.signature .points { color: var(--marfim); }

/* =========================================================
   Composições
   ========================================================= */
.compositions .h2 { margin-bottom: clamp(36px, 4vw, 60px); max-width: none; }
.comp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 36px); }
.comp__stage {
  aspect-ratio: 392 / 314; background: var(--card); color: var(--noite);
  display: grid; place-items: center; margin-bottom: 22px; position: relative; overflow: hidden;
  transition: color .35s var(--ease-out) 0s; /* back to navy right away when leaving */
}
.comp__stage::before { content: ""; position: absolute; inset: 0; background: var(--noite); transform: translateY(101%); transition: transform .6s var(--ease-out); }
.comp:hover .comp__stage::before, .comp.is-night .comp__stage::before { transform: none; }
/* gold only after the night has covered the tile (never gold on ivory) */
.comp:hover .comp__stage, .comp.is-night .comp__stage { color: var(--dourado); transition: color .45s var(--ease-out) .22s; }
.comp .mark { background: currentColor; }
.lockup { position: relative; display: grid; justify-items: center; align-items: center; margin: auto; transition: transform .8s var(--ease-out); }
.comp:hover .lockup { transform: scale(1.04); }
.lockup--symbol .mark { width: clamp(100px, 11.5vw, 166px); }
.lockup--vertical .mark { width: clamp(70px, 7.8vw, 112px); margin-bottom: 14px; }
.lockup--vertical .wordmark { font-size: clamp(30px, 3.6vw, 52px); margin-right: -.055em; }
.lockup--horizontal { grid-auto-flow: column; gap: clamp(14px, 2vw, 28px); }
.lockup--horizontal .mark { width: clamp(52px, 5.8vw, 84px); }
.lockup--horizontal .wordmark { font-size: clamp(28px, 3.3vw, 48px); }
.comp h3 { font-weight: 400; font-size: clamp(19px, 1.6vw, 22px); letter-spacing: .02em; }
.comp h3 em { font-style: normal; }
.comp p { color: var(--ink-2); font-size: 16px; margin-top: 6px; }

/* =========================================================
   Conceito
   ========================================================= */
.concept { min-height: 100svh; display: grid; align-items: center; }
.concept__sun {
  position: absolute; width: min(70vw, 900px); aspect-ratio: 1; left: 58%; top: 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(247,186,98,.30), rgba(217,102,58,.12) 45%, transparent 72%);
  transform: translate(-50%, -20%); pointer-events: none; z-index: 1;
}
.concept__statement {
  font-size: clamp(40px, 5.6vw, 84px); line-height: 1.04; letter-spacing: -.005em; max-width: 22ch; text-wrap: balance;
  color: var(--marfim); margin-bottom: clamp(56px, 7vw, 100px);
}
.concept__statement .sw { opacity: .18; transition: opacity .3s linear; }
.no-js .concept__statement .sw, html:not(.js) .concept__statement .sw { opacity: 1; }
.senses { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); margin-bottom: 40px; }
.senses h3 { font-weight: 400; color: var(--dourado); font-size: clamp(19px, 1.6vw, 22px); letter-spacing: .03em; margin-bottom: 10px; padding-top: 18px; position: relative; }
.senses h3::before { content: ""; position: absolute; left: 0; top: 0; width: 36px; height: 1px; background: var(--dourado); }
.senses p { font-size: 17px; color: rgba(245,241,230,.9); }
.concept__note { color: var(--dourado); letter-spacing: .04em; font-size: 16px; max-width: 64ch; }

/* =========================================================
   Paleta
   ========================================================= */
.palette .h2 { margin-bottom: clamp(36px, 4vw, 60px); max-width: none; }
.swatches { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 16px); }
.swatch { display: grid; text-align: left; gap: 2px; }
.swatch__chip {
  position: relative; aspect-ratio: 237 / 232; background: var(--c); color: var(--t);
  display: flex; align-items: flex-end; justify-content: space-between; padding: 12px 14px; margin-bottom: 18px;
  font-size: 16px; overflow: hidden; transition: transform .6s var(--ease-out);
}
.swatch--light .swatch__chip { box-shadow: inset 0 0 0 1px #ddd3bf; }
.swatch__copy { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .45s var(--ease-out); font-variation-settings: "wdth" 100; }
.swatch:hover .swatch__chip, .swatch:focus-visible .swatch__chip { transform: translateY(-6px); }
.swatch:hover .swatch__copy, .swatch:focus-visible .swatch__copy { opacity: 1; transform: none; }
@media (hover: none) { .swatch__copy { opacity: .85; transform: none; } }
.swatch:active .swatch__chip { transform: translateY(-2px) scale(.985); }
.swatch__hex { font-size: clamp(18px, 1.5vw, 22px); letter-spacing: .03em; color: var(--noite); font-variant-numeric: tabular-nums; }
.swatch__rgb, .swatch__use { font-size: 15px; color: var(--ink-2); }
.swatch__use { margin-top: 4px; }
.ratio { display: flex; height: 54px; margin: clamp(40px, 5vw, 64px) 0 28px; overflow: hidden; }
.ratio i { flex: var(--w) 0 0; background: var(--c); transform-origin: left; }
.ratio i:nth-child(2) { box-shadow: inset 0 1px 0 #ddd3bf, inset 0 -1px 0 #ddd3bf; }

/* =========================================================
   Combinações + tester
   ========================================================= */
.combos .h2 { margin-bottom: clamp(36px, 4vw, 56px); max-width: none; }
.families { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 36px); }
.family h3 { font-weight: 400; font-size: clamp(19px, 1.5vw, 21px); letter-spacing: .03em; }
.family > p { color: var(--ink-2); margin: 6px 0 18px; font-size: 16px; }
.pairs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.pair { background: var(--bg); color: var(--fg); padding: 18px 18px 22px; display: grid; gap: 2px; font-size: 16px; min-height: 140px; transition: transform .5s var(--ease-out); }
.pair:hover { transform: translateY(-4px); }
.pair__aa { font-family: var(--f-serif); font-size: 36px; line-height: 1.05; }
.warn { margin-top: 24px; color: var(--ink-2); font-size: 16px; }
.warn strong { color: var(--noite); }

.tester { margin-top: clamp(64px, 8vw, 110px); display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 64px); align-items: stretch; }
.tester__title { font-family: var(--f-serif); font-weight: 400; font-size: clamp(32px, 3.4vw, 48px); line-height: 1.05; margin-bottom: 24px; }
.tester fieldset { border: 0; padding: 0; margin: 0 0 22px; }
.tester legend { font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--lagoa); margin-bottom: 12px; font-variation-settings: "wdth" 100; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 10px;
  border-radius: 999px; background: #e3d9c5; color: var(--noite); font-size: 15px;
  transition: background-color .3s, color .3s, transform .3s var(--ease-out);
}
.chip::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(11,34,54,.18); }
.chip:hover { transform: translateY(-2px); }
.chip:active { transform: scale(.97); }
.chip.is-on { background: var(--noite); color: var(--marfim); }
.chip.is-on::before { box-shadow: inset 0 0 0 1px rgba(245,241,230,.5); }
.tester__preview {
  position: relative; min-height: 400px; display: grid; place-items: center; overflow: hidden;
  background: var(--tbg, var(--noite)); color: var(--tfg, var(--dourado));
  transition: background-color .6s var(--ease-out), color .6s var(--ease-out);
}
.tester__photo { position: absolute; inset: 0; background: url("../assets/img/foto-sunset-lagoa.webp") center / cover; opacity: 0; transform: scale(1.08); transition: opacity .6s, transform 1.2s var(--ease-out); }
.tester__photo::after { content: ""; position: absolute; inset: 0; background: rgba(11,34,54,.4); }
.tester__preview[data-bg="foto"] .tester__photo { opacity: 1; transform: scale(1); }
.tester__lockup { position: relative; display: grid; justify-items: center; }
.tester__lockup .mark { width: clamp(80px, 9vw, 120px); margin-bottom: 14px; background: currentColor; transition: background-color .6s; }
.tester__lockup .wordmark { font-size: clamp(36px, 4.4vw, 64px); margin-right: -.055em; }
.tester__verdict { position: absolute; left: 18px; right: 18px; bottom: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; color: var(--marfim); }
.tester__preview[data-light="1"] .tester__verdict { color: var(--noite); }
.tester__badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; background: #2f7d55; color: #fff; font-variation-settings: "wdth" 100; }
.tester__badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.tester__verdict.is-bad .tester__badge { background: var(--coral-texto); }
.tester__ratio { font-size: 15px; font-variant-numeric: tabular-nums; }
.tester__why { flex-basis: 100%; font-size: 15px; }

/* =========================================================
   Tipografia
   ========================================================= */
.type__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.face { position: relative; padding-top: 22px; margin-bottom: 44px; }
.face::before, .scale__row::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(197,153,91,.6); transform-origin: left; transform: scaleX(var(--line, 1)); }
.face__name { font-size: clamp(48px, 5.6vw, 84px); line-height: 1.02; white-space: nowrap; margin-bottom: 10px; color: var(--noite); }
.face__name--sans { font-family: var(--f-sans); font-variation-settings: "wdth" 125; font-size: clamp(30px, 3vw, 42px); letter-spacing: -.01em; margin-bottom: 12px; }
.face p { color: var(--ink-2); }
.face .note { margin-top: 14px; }
.scale__row { position: relative; display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; align-items: baseline; padding: 24px 0; }
.scale__row:last-child::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(197,153,91,.35); }
.scale dt { font-size: 13px; letter-spacing: .26em; text-transform: uppercase; color: var(--lagoa); font-variation-settings: "wdth" 100; }
.scale__title { font-size: clamp(34px, 3.7vw, 56px); line-height: 1; color: var(--noite); }
.scale__sub { font-family: var(--f-serif); font-style: italic; font-size: clamp(24px, 2.3vw, 32px); color: var(--noite); }
.scale__label { letter-spacing: .32em; font-size: 16px; color: var(--lagoa); font-variation-settings: "wdth" 100; }
.scale__text { font-variation-settings: "wdth" 125; font-size: 18px; color: var(--ink-2); }
.scale__cap { font-family: "Jost", sans-serif; font-size: 17px; color: var(--ink-2); }

/* =========================================================
   Proteção
   ========================================================= */
.protect__card { background: var(--card); aspect-ratio: 1 / 1; display: grid; grid-template-rows: 1fr auto; padding: 24px; }
.protect__stage { display: grid; place-items: center; min-height: 0; }
.protect__box {
  --x: calc(var(--size) / 5);
  position: relative; padding: var(--x); color: var(--noite);
  background-image:
    linear-gradient(90deg, var(--coral) 50%, transparent 0), linear-gradient(90deg, var(--coral) 50%, transparent 0),
    linear-gradient(0deg, var(--coral) 50%, transparent 0), linear-gradient(0deg, var(--coral) 50%, transparent 0);
  background-size: 8px 1.5px, 8px 1.5px, 1.5px 8px, 1.5px 8px;
  background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
  background-position: 0 0, 0 100%, 0 0, 100% 0;
  animation: march 1.6s linear infinite;
}
@keyframes march { to { background-position: 8px 0, -8px 100%, 0 -8px, 100% 8px; } }
.protect__mark { width: var(--size); transition: width .25s var(--ease-out); }
.protect__x { position: absolute; font-family: var(--f-serif); font-size: 15px; color: var(--coral-texto); line-height: 1; }
.protect__x--t { top: calc(var(--x) / 2); left: 50%; transform: translate(-50%, -50%); }
.protect__x--b { bottom: calc(var(--x) / 2); left: 50%; transform: translate(-50%, 50%); }
.protect__x--l { left: calc(var(--x) / 2); top: 50%; transform: translate(-50%, -50%); }
.protect__x--r { right: calc(var(--x) / 2); top: 50%; transform: translate(50%, -50%); }
.protect__x::before { content: ""; position: absolute; background: rgba(176,74,32,.35); }
.protect__control label { display: flex; justify-content: space-between; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--lagoa); font-variation-settings: "wdth" 100; }
.protect__control output { font-variant-numeric: tabular-nums; letter-spacing: .04em; color: var(--noite); }
.protect__control input[type="range"] { width: 100%; margin: 14px 0 8px; accent-color: var(--noite); height: 28px; }
.protect__msg { font-size: 15px; color: #2f7d55; min-height: 1.6em; }
.protect__msg.is-bad { color: var(--coral-texto); }
.protect__text .h2 { margin-bottom: 24px; }
.protect__text .lead { margin-bottom: 34px; }
.sizes > div { position: relative; display: grid; grid-template-columns: 210px 1fr; gap: 16px; padding: 22px 0; align-items: baseline; }
.sizes > div::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(197,153,91,.45); }
.sizes dt { font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: var(--lagoa); font-variation-settings: "wdth" 100; }
.sizes dd { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2); }
.protect__text .note { margin-top: 26px; }

/* =========================================================
   Versões
   ========================================================= */
.versions .h2 { margin-bottom: clamp(36px, 4vw, 56px); max-width: none; }
.ver-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 16px; }
.ver figcaption { margin-top: 14px; font-size: 16px; color: var(--ink-2); }
.ver__tile { position: relative; aspect-ratio: 300 / 187; background: var(--bg); display: grid; place-items: center; overflow: hidden; }
.ver__tile--line { box-shadow: inset 0 0 0 1px #ddd3bf; }
.ver__tile .mark { width: 36%; transition: transform .8s var(--ease-out); }
.ver:hover .ver__tile .mark { transform: scale(1.08); }
.ver--photo { grid-column: span 2; }
.ver__photo { aspect-ratio: auto; height: 100%; min-height: 190px; }
.ver__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.6s var(--ease-out); }
.ver--photo:hover .ver__photo img { transform: scale(1.1); }
.ver__veil { position: absolute; inset: 0; background: var(--noite); opacity: 0; transition: opacity .6s; }
.ver__photo.is-veil .ver__veil { opacity: .4; }
.ver__photo .mark { position: absolute; width: 10%; right: 7%; bottom: 18%; }
.ver__toggle { position: absolute; left: 14px; top: 14px; min-height: 40px; padding: 0 14px; border-radius: 999px; background: rgba(11,34,54,.75); color: var(--marfim); font-size: 13px; letter-spacing: .06em; transition: background-color .3s, transform .3s var(--ease-out); }
.ver__toggle::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; background: transparent; box-shadow: inset 0 0 0 1.5px var(--marfim); vertical-align: 0; transition: background-color .3s; }
.ver__toggle[aria-pressed="true"]::before { background: var(--dourado); box-shadow: none; }
.ver__toggle:hover { transform: translateY(-2px); }
.ver--photo { display: grid; grid-template-rows: 1fr auto; }

/* =========================================================
   Usos incorretos
   ========================================================= */
.wrong .h2 { margin-bottom: clamp(36px, 4vw, 56px); max-width: none; }
.wrong-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px 16px; }
.err { cursor: default; }
.err__tile { position: relative; aspect-ratio: 300 / 187; background: var(--bg); display: grid; place-items: center; overflow: hidden; transition: background-color .9s var(--ease-out); }
.err__tile > .mark { width: 36%; position: relative; z-index: 1; transition: transform .9s var(--ease-out), opacity .9s var(--ease-out), filter .9s var(--ease-out); }
.err figcaption { margin-top: 14px; font-size: 16px; color: var(--ink-2); }
.err figcaption b { display: block; font-weight: 400; color: var(--coral-texto); margin-bottom: 6px; }
.err__tile::after { /* strike when wrong */
  content: ""; position: absolute; right: 12px; top: 12px; width: 26px; height: 26px; border-radius: 50%; z-index: 3;
  background: var(--coral-texto) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 14px no-repeat;
  transform: scale(0); transition: transform .5s var(--ease-out);
}
.err.is-wrong .err__tile::after { transform: scale(1); }
.err.is-wrong:hover .err__tile::after { transform: scale(0); }
.err__tile::before { /* check when hovering (correct form) */
  content: ""; position: absolute; right: 12px; top: 12px; width: 26px; height: 26px; border-radius: 50%; z-index: 3;
  background: #2f7d55 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
  transform: scale(0); transition: transform .5s var(--ease-out);
}
.err.is-wrong:hover .err__tile::before { transform: scale(1); transition-delay: .15s; }

.err.is-wrong[data-err="distort"] .err__tile > .mark { transform: scale(1.35, .62); }
.err.is-wrong[data-err="rotate"] .err__tile > .mark { transform: rotate(-24deg) skewX(-8deg); }
.err.is-wrong[data-err="light"] .err__tile { background: #F5F1E6; }
.err.is-wrong[data-err="coral"] .err__tile { background: var(--coral); }
.err.is-wrong[data-err="glow"] .err__tile > .mark { filter: drop-shadow(0 0 10px rgba(255,214,120,.95)) drop-shadow(0 8px 6px rgba(0,0,0,.7)) brightness(1.25); }
.err.is-wrong[data-err="fade"] .err__tile > .mark { opacity: .28; }
.err__sun { position: absolute; width: 50%; aspect-ratio: 1; border-radius: 50%; background: var(--coral); transform: scale(0); transition: transform .9s var(--ease-out); z-index: 0; }
.err.is-wrong[data-err="sun"] .err__sun { transform: scale(1); }
.err.is-wrong[data-err="sun"] .err__tile > .mark { transform: translateY(-6%); }
.err:hover .err__tile, .err.is-wrong:hover .err__tile { background: var(--bg); }
.err:hover .err__tile > .mark { transform: none !important; opacity: 1 !important; filter: none !important; }
.err:hover .err__sun { transform: scale(0) !important; }
.err__lock { display: inline-flex; align-items: center; gap: 14px; position: relative; z-index: 1; }
.err__lock .mark { width: 54px; }
.err__wrongword, .err__rightword { font-size: 30px; color: var(--dourado); transition: opacity .6s, transform .7s var(--ease-out); }
.err__wrongword { font-family: Arial, Helvetica, sans-serif; font-weight: 700; font-variation-settings: normal; position: absolute; left: 68px; opacity: 0; transform: translateY(10px); }
.err__rightword { color: transparent; background: linear-gradient(180deg,#D7AE6E,#C5995B 60%,#B98A4C); -webkit-background-clip: text; background-clip: text; font-size: 26px; }
.err.is-wrong[data-err="font"] .err__wrongword { opacity: 1; transform: none; }
.err.is-wrong[data-err="font"] .err__rightword { opacity: 0; transform: translateY(-10px); }
.err.is-wrong[data-err="font"]:hover .err__wrongword { opacity: 0; transform: translateY(10px); }
.err.is-wrong[data-err="font"]:hover .err__rightword { opacity: 1; transform: none; }

/* =========================================================
   Elementos
   ========================================================= */
.elements__grafismo { position: absolute; width: min(64vw, 820px); left: -20vw; bottom: -20vw; opacity: .12; pointer-events: none; transform: rotate(14deg); z-index: 1; }
.split--photos { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; }
.elements__text .h2 { margin-bottom: clamp(24px, 3vw, 40px); }
.elements .points { color: var(--marfim); }
.photos { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; aspect-ratio: 735 / 510; }
.photo { position: relative; overflow: hidden; }
.photo--tall { grid-row: span 2; }
.photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.8s var(--ease-out); }
.photo:hover img { transform: scale(1.04) !important; }
.photo figcaption, .app figcaption {
  position: absolute; left: 14px; bottom: 14px; padding: 8px 14px; background: rgba(11,34,54,.72); color: var(--marfim);
  font-size: 14px; letter-spacing: .08em; max-width: calc(100% - 28px);
}

/* =========================================================
   Aplicações
   ========================================================= */
.apps .h2 { margin-bottom: clamp(36px, 4vw, 56px); max-width: none; }
.apps-grid { display: grid; grid-template-columns: 1.16fr 1fr .97fr; grid-template-rows: 1fr 1fr; gap: 14px; aspect-ratio: 1248 / 466; margin-bottom: 26px; }
.app { position: relative; overflow: hidden; background: #d9cfbd; }
.app img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out); }
.app:hover img { transform: scale(1.06); }
.app--shirt { grid-row: span 2; }
.app--menu { grid-column: 3; grid-row: 1 / span 2; }
.app--cap { grid-column: 2; grid-row: 1; }
.app--band { grid-column: 2; grid-row: 2; }

/* =========================================================
   Fechamento
   ========================================================= */
.close { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; padding: 140px 0 60px; text-align: center; }
.close__photo { position: absolute; inset: 0; }
.close__photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); }
.close__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,34,54,.75), rgba(11,34,54,.45) 45%, rgba(11,34,54,.85)); }
.close__inner { display: grid; justify-items: center; }
.close__mark { width: clamp(90px, min(9vw, 16vh), 150px); margin-bottom: 22px; }
.close__word { font-size: clamp(46px, min(8vw, 14vh), 128px); margin-right: -.055em; color: #fff; }
.close__tag { margin-top: 20px; font-family: var(--f-tag); letter-spacing: .44em; margin-right: -.44em; color: var(--marfim); font-size: clamp(11px, min(1vw, 1.9vh), 15px); }
.close__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(40px, 5vw, 64px); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 999px; text-decoration: none; font-size: 15px; letter-spacing: .06em; transition: transform .4s var(--ease-out), background-color .3s, color .3s; }
.btn--gold { background: var(--dourado); color: var(--noite); }
.btn--gold:hover { background: #d8ad6f; transform: translateY(-3px); }
.btn--line { box-shadow: inset 0 0 0 1px rgba(245,241,230,.55); color: var(--marfim); }
.btn--line:hover { background: var(--marfim); color: var(--noite); transform: translateY(-3px); }
.btn:active { transform: translateY(0) scale(.98); }
.close__sign { margin-top: clamp(60px, 9vw, 120px); font-size: 14px; letter-spacing: .14em; color: rgba(245,241,230,.7); }

/* toast */
.toast:empty { display: none; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 160; transform: translate(-50%, 200%); background: var(--noite); color: var(--marfim); padding: 12px 20px; border-radius: 999px; font-size: 14px; letter-spacing: .04em; transition: transform .5s var(--ease-out); pointer-events: none; }
.toast.is-on { transform: translate(-50%, 0); }

/* =========================================================
   Reveal defaults (only when JS runs)
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(26px); }
  .js .h2.split-words .w > span { transform: translateY(105%); }
  .js .points li, .js .meanings li, .js .face, .js .scale__row { --line: 0; }
  .js .signature__rule { --line: 0; }
  .js .ratio i { transform: scaleX(0); }
  .js .photo, .js .app { clip-path: inset(100% 0 0 0); }
  .js .cover__word span { opacity: 0; transform: translateY(40%); }
  .js .cover__tag, .js .cover__foot { opacity: 0; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .ver-grid, .wrong-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .senses { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .pairs { grid-template-columns: 1fr 1fr 1fr; }
  .families { grid-template-columns: 1fr; }
  .tester { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .split, .split--wide, .split--photos, .type__grid { grid-template-columns: 1fr; }
  .bar__chapter { display: none; }
  .bar { grid-template-columns: 1fr auto; }
  .comp-grid { grid-template-columns: 1fr; }
  .comp__stage { aspect-ratio: 16 / 10; }
  .swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .swatch:first-child { grid-column: span 2; }
  .swatch:first-child .swatch__chip { aspect-ratio: 2.1 / 1; }
  .ratio { height: 40px; }
  .index__list { columns: 1; }
  .photos { aspect-ratio: auto; grid-template-rows: auto auto; }
  .photo--tall { grid-row: auto; grid-column: span 2; aspect-ratio: 4 / 3; }
  .photo { aspect-ratio: 3 / 4; }
  .photo:last-child { aspect-ratio: 3 / 4; }
  .apps-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; aspect-ratio: auto; }
  .app--shirt { grid-column: span 2; grid-row: auto; aspect-ratio: 1 / 1; }
  .app--cap { grid-column: 1; grid-row: 2; aspect-ratio: 1 / 1; }
  .app--menu { grid-column: 2; grid-row: 2; aspect-ratio: 1 / 1; }
  .app--band { grid-column: 1 / span 2; grid-row: 3; aspect-ratio: 2.4 / 1; }
  .app figcaption { font-size: 12px; left: 8px; bottom: 8px; padding: 6px 10px; max-width: calc(100% - 16px); }
  .face__name--sans { white-space: normal; font-size: 28px; }
  .scale__row { grid-template-columns: 1fr; gap: 6px; }
  .sizes > div { grid-template-columns: 1fr; gap: 4px; }
  .protect__card { aspect-ratio: auto; min-height: 420px; }
  .symbol__leaf { width: 120%; }
  .cover__foot p { display: none; }
  .cover__foot { justify-content: center; }
}
@media (max-width: 560px) {
  .cover__tag, .close__tag { letter-spacing: .22em; margin-right: -.22em; white-space: nowrap; }
  .cover__mark { width: 116px; }
  .ver-grid, .wrong-grid { grid-template-columns: 1fr; }
  .ver--photo { grid-column: auto; }
  .ver__photo { min-height: 220px; }
  .pairs { grid-template-columns: 1fr; }
  .pair { min-height: 0; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; }
  .pair__aa { grid-row: span 2; }
  .senses { grid-template-columns: 1fr; }
  .tester__preview { min-height: 340px; }
  .tester__verdict { position: relative; left: auto; right: auto; bottom: auto; padding: 16px; }
  .tester__preview { grid-template-rows: 1fr auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js .cover__word span, .js .cover__tag, .js .cover__foot { opacity: 1 !important; transform: none !important; }
  .js .h2.split-words .w > span { transform: none !important; }
  .js .photo, .js .app { clip-path: none !important; }
  .js .ratio i { transform: none !important; }
  .js .points li, .js .meanings li, .js .face, .js .scale__row, .js .signature__rule { --line: 1; }
  .concept__statement .sw { opacity: 1 !important; }
  .curtain { display: none !important; }
}
