/* ALVORESUND. One working day, from before dawn to the next dawn. */

@font-face { font-family: "Big Shoulders"; src: url("../fonts/big-shoulders.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-italic.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }

:root {
  --c-night: #080b14;
  --c-night-2: #0f1424;
  --c-night-3: #1a2036;
  --c-dusk: #2c2547;
  --c-ember: #e4572e;
  --c-amber: #ffb347;
  --c-paper: #f7f1e7;
  --c-paper-2: #ece2d1;
  --c-ink: #12151f;
  --c-rust: #a4370f;
  --c-on-dark: #f7f1e7;
  --c-on-dark-2: #bcbfcc;
  --c-on-light-2: #4d4a45;
  --c-line-dark: rgb(247 241 231 / .16);
  --c-line-light: rgb(18 21 31 / .16);

  --f-display: "Big Shoulders", "Arial Narrow", Impact, sans-serif;
  --f-text: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-accent: "Instrument Serif", Georgia, serif;

  --gutter: clamp(20px, 4vw, 64px);
  --sec: clamp(88px, 12vw, 200px);
  --radius: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
body { margin: 0; background: var(--c-night); color: var(--c-on-dark); font: 400 1.0625rem/1.6 var(--f-text); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--c-amber); outline-offset: 3px; border-radius: 4px; }
.paper :focus-visible, .services :focus-visible, .legal :focus-visible, .contact :focus-visible { outline-color: var(--c-rust); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .28s ease both; }
::view-transition-new(root) { animation: vt-in .48s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }
.nav { view-transition-name: nav; }

.wrap { width: min(100% - 2 * var(--gutter), 1560px); margin-inline: auto; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 200; padding: 12px 18px; background: var(--c-amber); color: var(--c-ink); border-radius: 10px; font-weight: 600; }
.skip:focus { top: 16px; }

.display { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; line-height: .94; letter-spacing: .002em; text-wrap: balance; }
.display em { font-family: var(--f-accent); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -.01em; color: var(--c-amber); padding-right: .04em; }
.sec-title { font-size: clamp(3rem, 7.4vw, 7.75rem); }
.lede { font-size: clamp(1.125rem, 1.45vw, 1.4rem); line-height: 1.45; }
.tag { font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--c-amber); }
.hero .tag, .band .tag, .phero .tag { color: var(--c-paper); }
.sl-mask { padding-block: .12em; margin-block: -.12em; }
.ico { width: 1.25em; height: 1.25em; flex: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .65em; min-height: 48px; padding: .7em 1.35em; border-radius: 999px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: transform .25s var(--ease), background-color .2s, color .2s, border-color .2s; }
.btn .ico { transition: transform .3s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn--sm { min-height: 44px; padding: .4em 1.15em; font-size: .9375rem; }
.btn--lg { min-height: 58px; padding: .8em 1.7em; font-size: 1.0625rem; }
.btn--amber { background: var(--c-amber); color: var(--c-ink); }
.btn--amber:hover { background: var(--c-paper); }
.btn--ink { background: var(--c-ink); color: var(--c-paper); }
.btn--ink:hover { background: var(--c-rust); }
.btn--ghost { border: 1.5px solid rgb(247 241 231 / .55); color: var(--c-on-dark); }
.btn--ghost:hover { background: var(--c-paper); color: var(--c-ink); border-color: var(--c-paper); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: .55em; min-height: 44px; font-weight: 600; text-underline-offset: .28em; }
.link-arrow .ico { transition: transform .3s var(--ease); }
.link-arrow:hover .ico { transform: translateX(5px); }

/* Navigation */
.nav { position: fixed; z-index: 90; top: 14px; left: 50%; translate: -50% 0; width: min(100% - 28px, 1320px); display: flex; align-items: center; gap: clamp(10px, 2vw, 30px); padding: 8px 8px 8px 20px; border-radius: 999px; color: var(--c-on-dark); background: rgb(8 11 20 / .72); border: 1px solid var(--c-line-dark); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); }
.nav__brand { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; font: 800 1.5rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .02em; text-decoration: none; margin-right: auto; }
.logo { width: 32px; height: 32px; flex: none; }
.logo__sun { fill: var(--c-amber); }
.logo__road { fill: currentColor; }
.nav__links ul { display: flex; gap: clamp(4px, 1.4vw, 22px); }
.nav__links a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 8px; font-size: .9688rem; font-weight: 500; text-decoration: none; background: linear-gradient(var(--c-amber), var(--c-amber)) left calc(100% - 9px) / 0 2px no-repeat; transition: background-size .3s var(--ease); }
.nav__links a:hover, .nav__links a[aria-current="page"] { background-size: 100% 2px; }
.lang { display: flex; gap: 2px; }
.lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 44px; font-size: .8125rem; font-weight: 600; letter-spacing: .05em; text-decoration: none; opacity: .68; border-radius: 8px; transition: opacity .2s; }
.lang a:hover { opacity: 1; }
.lang a[aria-current] { opacity: 1; color: var(--c-amber); }
.nav__burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; background: var(--c-amber); color: var(--c-ink); }

.menu { position: fixed; inset: 0; width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 96px var(--gutter) 40px; border: 0; background: var(--c-night); color: var(--c-on-dark); }
.menu[open] { display: flex; flex-direction: column; justify-content: space-between; animation: menu-in .35s var(--ease); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-14px); } }
.menu::backdrop { background: var(--c-night); }
.menu__close { position: absolute; top: 20px; right: 20px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--c-amber); color: var(--c-ink); }
.menu__links a { display: block; padding-block: .1em; font: 800 clamp(3.25rem, 16vw, 6rem)/1.08 var(--f-display); text-transform: uppercase; text-decoration: none; }
.menu__lang a { min-width: 56px; min-height: 56px; font-size: 1rem; }

/* Day HUD */
.hud { position: fixed; z-index: 80; right: 20px; bottom: 20px; display: flex; align-items: center; gap: 10px; padding: 9px 15px; border-radius: 999px; font: 700 1.125rem/1 var(--f-display); letter-spacing: .05em; font-variant-numeric: tabular-nums; color: var(--c-on-dark); background: rgb(8 11 20 / .78); border: 1px solid var(--c-line-dark); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); pointer-events: none; }
.hud__sun { width: 11px; height: 11px; border-radius: 50%; background: var(--c-amber); box-shadow: 0 0 12px var(--c-amber); }
.hud__km { color: var(--c-on-dark-2); }

/* Video wrapper */
.vid { position: relative; width: 100%; height: 100%; }
.vid video { width: 100%; height: 100%; object-fit: cover; }
.vid__toggle { position: absolute; z-index: 5; left: 16px; bottom: 16px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--c-on-dark); background: rgb(8 11 20 / .6); border: 1px solid var(--c-line-dark); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background-color .2s, color .2s; }
.vid__toggle:hover { background: var(--c-amber); color: var(--c-ink); }
.vid__toggle .ico { grid-area: 1/1; width: 20px; height: 20px; }
.vid__toggle .ico--pause { display: none; }
.vid__toggle.is-playing .ico--pause { display: block; }
.vid__toggle.is-playing .ico--play { display: none; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: clip; isolation: isolate; }
/* No z-index on the wrapper: only the <video> goes behind the copy, so the pause button stays clickable above it. */
.hero__video, .band__video { position: absolute; inset: 0; }
.hero__video video, .band__video video { position: relative; z-index: -2; }
.hero__video .vid__toggle { left: auto; right: var(--gutter); bottom: auto; top: 96px; }
.hero__veil { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgb(8 11 20 / .62) 0%, rgb(8 11 20 / .42) 30%, rgb(8 11 20 / .58) 62%, rgb(8 11 20 / .96) 100%); }
.hero__inner { padding-block: 112px clamp(76px, 7vw, 92px); }
.hero__title { margin-top: 14px; font-size: min(13.4vw, 20vh); line-height: .88; }
.hero__title--en { font-size: min(10.9vw, 19vh); }
.hero__title--es { font-size: min(13vw, 20vh); }
.hero__title .ln { display: block; }
.hero__foot { margin-top: clamp(24px, 3vw, 40px); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
.hero__foot .lede { max-width: 46ch; color: var(--c-on-dark); }

/* Manifesto */
.manifesto { padding-block: var(--sec); background: var(--c-night); }
.manifesto__grid { display: grid; grid-template-columns: 1fr 5fr; gap: 24px; }
.manifesto__text { font-size: clamp(1.95rem, 4.6vw, 4.6rem); line-height: 1.12; font-weight: 500; letter-spacing: -.022em; text-wrap: pretty; }

/* Dawn band */
.band { background: linear-gradient(180deg, var(--c-night) 0%, var(--c-dusk) 30%, var(--c-ember) 66%, var(--c-amber) 86%, var(--c-paper) 100%); padding-block: 0 clamp(50px, 7vw, 110px); }
.band__media { position: relative; min-height: min(92vh, 900px); display: flex; align-items: flex-end; overflow: clip; isolation: isolate; }
.band--short { background: linear-gradient(180deg, var(--c-paper) 0%, var(--c-night-2) 18%, var(--c-night-2) 100%); padding: 0; }
.band--short .band__media { min-height: min(78vh, 760px); }
.band__video .vid__toggle { left: auto; right: var(--gutter); bottom: auto; top: 24px; }
.band__veil { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgb(8 11 20 / .14) 8%, rgb(8 11 20 / .62) 52%, rgb(8 11 20 / .9) 100%); }
.band__copy { padding-block: 60px clamp(40px, 5vw, 76px); }
.band__title { margin-block: 12px 18px; max-width: 13em; font-size: clamp(3rem, 8.2vw, 8.75rem); }
.band__copy .lede { max-width: 44ch; }

/* Services */
.services { position: relative; background: var(--c-paper); color: var(--c-ink); padding-block: clamp(50px, 8vw, 120px) var(--sec); }
.services .tag, .paper .tag { color: var(--c-rust); }
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(36px, 5vw, 76px); }
.sec-head .sec-title { max-width: 13em; }
.svc-list { border-top: 1.5px solid var(--c-ink); }
.svc-list li { border-bottom: 1.5px solid var(--c-ink); }
.svc { position: relative; display: grid; grid-template-columns: 70px minmax(0, 1.25fr) minmax(0, 1fr) 56px; align-items: center; gap: 16px; padding-block: clamp(20px, 2.4vw, 36px); text-decoration: none; transition: padding .4s var(--ease), color .25s; }
.svc__no { font: 700 1.25rem/1 var(--f-display); color: var(--c-rust); }
.svc__name { font: 800 clamp(2.5rem, 5.4vw, 5.5rem)/.96 var(--f-display); text-transform: uppercase; }
.svc__text { max-width: 36ch; color: var(--c-on-light-2); }
.svc__go { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--c-ink); transition: background-color .25s, color .25s, transform .35s var(--ease); }
.svc__thumb { display: none; }
@media (hover: hover) {
  .svc:hover { padding-left: 16px; color: var(--c-rust); }
  .svc:hover .svc__go { background: var(--c-ink); color: var(--c-paper); transform: rotate(-35deg); }
}
.services .link-arrow { margin-top: 26px; }
.float-preview { position: fixed; top: 0; left: 0; z-index: 40; width: clamp(260px, 25vw, 400px); aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; pointer-events: none; opacity: 0; scale: .86; transition: opacity .25s, scale .35s var(--ease); }
.float-preview.is-on { opacity: 1; scale: 1; }
.float-preview img { width: 100%; height: 100%; object-fit: cover; }

/* Day stages */
.stages { position: relative; overflow: clip; color: var(--c-ink); background: linear-gradient(180deg, var(--c-paper), var(--c-paper-2) 30%, #f3bd78 55%, var(--c-ember) 74%, var(--c-dusk) 90%, var(--c-night-2)); padding-block: 40px var(--sec); }
.stages__intro { padding-inline: var(--gutter); }
.stages__intro .tag { color: var(--c-rust); }
.stages__intro .sec-title { margin-block: 14px 18px; max-width: 8.4em; }
.stages__hint { display: none; align-items: center; gap: 10px; font-weight: 600; }
.stages__list { display: grid; gap: 20px; padding: 40px var(--gutter) 0; }
.stage { background: var(--c-paper); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.stage__media { aspect-ratio: 3/2; overflow: hidden; }
.stage__media img { width: 100%; height: 100%; object-fit: cover; }
.stage__body { padding: clamp(20px, 2vw, 30px); }
.stage__time { font: 800 clamp(3rem, 5vw, 5rem)/1 var(--f-display); color: var(--c-rust); font-variant-numeric: tabular-nums; }
.stage h3 { margin-block: 4px 8px; font: 800 2rem/1 var(--f-display); text-transform: uppercase; }
.stage p { color: var(--c-on-light-2); }
.stages__road { display: none; }

/* Coverage */
.coverage { background: var(--c-night-2); padding-block: clamp(60px, 8vw, 130px) var(--sec); }
.coverage__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(30px, 5vw, 90px); align-items: center; }
.coverage__copy .sec-title { margin-block: 14px 22px; }
.coverage__copy .lede { max-width: 42ch; color: var(--c-on-dark-2); }
.coverage__origin { display: flex; align-items: center; gap: 10px; margin-top: 28px; font-weight: 600; }
.coverage__origin span { width: 13px; height: 13px; border-radius: 50%; background: var(--c-ember); }
.city-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.city-list li { padding: 5px 13px; border: 1px solid var(--c-line-dark); border-radius: 999px; font-size: .9375rem; }
.map { width: 100%; height: auto; overflow: visible; }
.dots { fill: none; stroke: rgb(247 241 231 / .34); stroke-width: 4.6; stroke-linecap: round; }
.dots--pt { stroke: rgb(255 179 71 / .95); }
.route { fill: none; stroke: var(--c-ember); stroke-width: 2.6; stroke-dasharray: 1; stroke-dashoffset: 0; stroke-linecap: round; }
.city { fill: var(--c-paper); }
.city-l { fill: var(--c-on-dark); font: 600 20px var(--f-text); paint-order: stroke; stroke: var(--c-night-2); stroke-width: 6px; stroke-linejoin: round; }
.hq { fill: var(--c-ember); stroke: var(--c-paper); stroke-width: 3; }
.hq-pulse { fill: var(--c-ember); opacity: .5; transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { to { transform: scale(4.2); opacity: 0; } }

/* Promise */
.promise { background: var(--c-night-2); padding-block: 0 clamp(30px, 4vw, 70px); }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(220px, auto); gap: 14px; }
.tile { position: relative; padding: clamp(22px, 2.3vw, 34px); border-radius: var(--radius); background: var(--c-night-3); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.tile h3 { font: 800 clamp(2rem, 3.1vw, 3.1rem)/1 var(--f-display); text-transform: uppercase; margin-bottom: 8px; }
.tile p { color: var(--c-on-dark-2); }
.tile--media { padding: 0; }
.tile--media img { width: 100%; height: 100%; object-fit: cover; }
.tile__vid { position: absolute; inset: 0; }
.tile--media figcaption { position: absolute; left: 76px; right: 20px; bottom: 22px; font-weight: 600; text-shadow: 0 1px 12px rgb(0 0 0 / .85); }
.tile--amber { background: var(--c-amber); color: var(--c-ink); }
.tile--amber p { color: var(--c-ink); font-weight: 600; }
.tile__num { font: 800 clamp(4.5rem, 8vw, 8.5rem)/.9 var(--f-display); }
.bento__a { grid-column: span 7; grid-row: span 2; min-height: 460px; }
.bento__b { grid-column: span 5; }
.bento__c { grid-column: span 5; }
.bento__d, .bento__e, .bento__f, .bento__g { grid-column: span 3; }

/* Closing CTA: the next dawn */
.cta { --cta-top: clamp(150px, 20vw, 300px); position: relative; overflow: clip; color: var(--c-ink); background: linear-gradient(180deg, var(--c-night-2) 0, var(--c-dusk) calc(var(--cta-top) * .42), var(--c-ember) calc(var(--cta-top) * .94), var(--c-amber) 100%); isolation: isolate; }
.cta__inner { padding-block: var(--cta-top) clamp(70px, 9vw, 130px); display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.cta .tag { color: var(--c-ink); font-weight: 700; }
.cta__title { font-size: clamp(3.5rem, 11.5vw, 13rem); line-height: .9; max-width: 10em; }
.cta__sun { position: absolute; z-index: -1; right: 6%; bottom: -24vw; width: 52vw; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #fff3d6 0%, #ffd27f 44%, rgb(255 179 71 / 0) 71%); }

/* Footer */
.foot { background: var(--c-night); padding-top: clamp(50px, 6vw, 90px); overflow: clip; }
.foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.3fr; gap: 36px; }
.foot__intro .logo { width: 44px; height: 44px; margin-bottom: 14px; }
.foot__intro p { max-width: 26ch; color: var(--c-on-dark-2); }
.foot h2 { margin-bottom: 12px; font-size: .8125rem; letter-spacing: .13em; text-transform: uppercase; color: var(--c-amber); }
.foot li a, .foot address a { display: inline-block; padding-block: 5px; text-decoration: none; }
.foot li a:hover, .foot address a:hover { color: var(--c-amber); }
.foot address { color: var(--c-on-dark-2); line-height: 1.7; }
.foot__mark { margin-top: clamp(30px, 5vw, 60px); text-align: center; white-space: nowrap; font: 800 23.6vw/.76 var(--f-display); text-transform: uppercase; color: transparent; background: linear-gradient(180deg, var(--c-night-3) 10%, var(--c-dusk) 55%, var(--c-ember) 130%); -webkit-background-clip: text; background-clip: text; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; padding-block: 16px; font-size: .875rem; color: var(--c-on-dark-2); }

/* Inner page hero */
.phero { position: relative; min-height: 78svh; display: flex; align-items: flex-end; overflow: clip; isolation: isolate; }
.phero__media { position: absolute; inset: 0; z-index: -2; }
.phero__media img { width: 100%; height: 100%; object-fit: cover; }
.phero__veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(8 11 20 / .6), rgb(8 11 20 / .5) 42%, rgb(8 11 20 / .95)); }
.phero__inner { padding-block: 140px clamp(44px, 5vw, 76px); }
.phero__title { margin-block: 14px 20px; font-size: clamp(3.5rem, 10vw, 11rem); max-width: 11em; line-height: .92; }
.phero .lede, .contact-hero .lede, .legal-hero .lede { max-width: 50ch; }

.paper { background: var(--c-paper); color: var(--c-ink); padding-block: var(--sec); }

/* Services page */
.rows { display: grid; gap: clamp(70px, 10vw, 150px); }
.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(26px, 5vw, 90px); align-items: center; scroll-margin-top: 110px; }
.row--flip .row__media { order: 2; }
.row__media { aspect-ratio: 5/4; border-radius: var(--radius); overflow: hidden; }
.row__media img { width: 100%; height: 100%; object-fit: cover; }
.row__no { font: 700 1.375rem/1 var(--f-display); color: var(--c-rust); }
.row h2 { margin-block: 8px 16px; font-size: clamp(3rem, 6.2vw, 6.5rem); }
.ticks { margin-top: 24px; border-top: 1.5px solid var(--c-line-light); }
.ticks li { position: relative; padding: 13px 0 13px 30px; border-bottom: 1.5px solid var(--c-line-light); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 1.3em; width: 12px; height: 12px; border-radius: 50%; background: var(--c-ember); }
.steps { background: var(--c-night-2); padding-block: var(--sec); }
.steps__list { margin-top: clamp(36px, 5vw, 70px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.step { padding: clamp(24px, 2.6vw, 38px); background: var(--c-night-3); border-radius: var(--radius); }
.step__no { font: 800 clamp(4rem, 7vw, 7rem)/.9 var(--f-display); color: var(--c-amber); }
.step h3 { margin-block: 12px 8px; font: 800 2rem/1.02 var(--f-display); text-transform: uppercase; }
.step p { color: var(--c-on-dark-2); }

/* Company page */
.story { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(26px, 4vw, 60px); }
.story .sec-title { grid-column: 1 / span 12; max-width: 14em; }
.story__copy { grid-column: 8 / span 5; grid-row: 2; display: grid; gap: 18px; font-size: clamp(1.125rem, 1.4vw, 1.3rem); align-self: start; }
.story__media { grid-column: 1 / span 4; grid-row: 2 / span 2; aspect-ratio: 3/4; border-radius: var(--radius); overflow: hidden; }
.story__media2 { grid-column: 5 / span 8; grid-row: 3; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; }
.story img { width: 100%; height: 100%; object-fit: cover; }
.principles { background: var(--c-night-2); padding-block: var(--sec); }
.principles__list { margin-top: clamp(30px, 4vw, 60px); border-top: 1px solid var(--c-line-dark); }
.principles__list li { display: grid; grid-template-columns: 70px 1fr 1fr; gap: 16px; align-items: baseline; padding-block: 24px; border-bottom: 1px solid var(--c-line-dark); }
.principles__list span { font: 700 1.25rem/1 var(--f-display); color: var(--c-amber); }
.principles__list h3 { font: 800 clamp(2.25rem, 4vw, 4rem)/1 var(--f-display); text-transform: uppercase; }
.principles__list p { color: var(--c-on-dark-2); }
.facts { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 80px); }
.facts dl { border-top: 1.5px solid var(--c-ink); }
.facts dl div { display: grid; grid-template-columns: minmax(110px, 1fr) 2fr; gap: 12px; padding-block: 15px; border-bottom: 1.5px solid var(--c-line-light); }
.facts dt { color: var(--c-on-light-2); }
.facts dd { font-weight: 600; }

/* Contact and waybill */
.contact-hero { padding-block: 150px clamp(40px, 5vw, 76px); background: linear-gradient(180deg, var(--c-night) 0%, var(--c-dusk) 62%, var(--c-ember) 100%); }
.contact-hero .tag { color: var(--c-amber); }
.contact { background: linear-gradient(180deg, var(--c-ember) 0, var(--c-amber) 240px, var(--c-paper) 620px); padding-block: 0 var(--sec); color: var(--c-ink); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.waybill { position: relative; background: #fffaf0; border: 2px solid var(--c-ink); border-radius: 8px; box-shadow: 10px 12px 0 rgb(18 21 31 / .86); }
.waybill__head { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-bottom: 2px solid var(--c-ink); }
.waybill__head .logo { width: 42px; height: 42px; }
.waybill__head .logo__sun { fill: var(--c-ember); }
.waybill__head strong { display: block; font: 800 clamp(1.625rem, 3vw, 2.5rem)/1 var(--f-display); text-transform: uppercase; }
.waybill__head span { font-size: .875rem; color: var(--c-on-light-2); }
.waybill__stamp { position: absolute; right: 22px; top: 12px; padding: 5px 14px; border: 3.5px solid var(--c-rust); border-radius: 8px; font: 800 1.875rem/1 var(--f-display) !important; letter-spacing: .05em; text-transform: uppercase; color: var(--c-rust) !important; rotate: -9deg; opacity: 0; scale: 1.6; transition: opacity .2s, scale .35s cubic-bezier(.3, 1.6, .5, 1); }
.waybill.is-done .waybill__stamp { opacity: 1; scale: 1; }
.waybill__summary { margin: 0; padding: 12px 20px; background: #fbe3da; color: var(--c-rust); font-weight: 600; border-bottom: 2px solid var(--c-ink); }
.waybill__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.cell { position: relative; padding: 12px 18px 12px 46px; border-bottom: 1.5px solid var(--c-ink); border-right: 1.5px solid var(--c-ink); display: flex; flex-direction: column; }
.c4 { grid-column: span 4; } .c6 { grid-column: span 6; } .c12 { grid-column: span 12; border-right: 0; }
.cell.re { border-right: 0; }
.cell__no { position: absolute; left: 12px; top: 13px; font: 700 1.0625rem/1 var(--f-display); color: var(--c-rust); }
.cell label { font-size: .875rem; font-weight: 600; }
.cell__opt { font-weight: 400; color: var(--c-on-light-2); }
.cell__hint { font-size: .8125rem; color: var(--c-on-light-2); }
.cell input, .cell select, .cell textarea { width: 100%; min-height: 44px; padding: 8px 0; border: 0; border-bottom: 1.5px dashed var(--c-line-light); border-radius: 0; background: transparent; color: var(--c-ink); font: 500 1.0625rem/1.4 var(--f-text); }
.cell textarea { resize: vertical; }
.cell input:focus, .cell select:focus, .cell textarea:focus { outline: none; border-bottom: 2px solid var(--c-rust); background: rgb(255 179 71 / .14); }
.cell.has-err input, .cell.has-err select, .cell.has-err textarea { border-bottom: 2px solid var(--c-rust); }
.cell__err { margin-top: 5px; color: var(--c-rust); font-size: .875rem; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.waybill__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; padding: 18px 20px; }
.consent { flex: 1 1 320px; }
.consent label { display: flex; align-items: flex-start; gap: 12px; font-size: .9375rem; cursor: pointer; }
.consent input { width: 24px; height: 24px; flex: none; margin-top: 1px; accent-color: var(--c-rust); }
.waybill__status { padding: 0 20px; font-weight: 600; color: var(--c-rust); }
.waybill__status:not(:empty) { padding-bottom: 14px; }
.waybill__note { padding: 11px 20px; border-top: 1.5px solid var(--c-ink); font-size: .8125rem; color: var(--c-on-light-2); }
.contact__side { display: grid; gap: 34px; padding-top: 8px; }
.contact__side h2 { margin-bottom: 8px; font: 800 2rem/1 var(--f-display); text-transform: uppercase; }
.contact__mail { font-size: 1.25rem; font-weight: 600; overflow-wrap: anywhere; text-underline-offset: .22em; }
.contact__photo { aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; }
.contact__photo img { width: 100%; height: 100%; object-fit: cover; }

/* Legal */
.legal-hero { padding-block: 150px clamp(40px, 5vw, 70px); background: linear-gradient(180deg, var(--c-night), var(--c-dusk)); }
.legal-hero .phero__title { font-size: clamp(3rem, 8vw, 8.5rem); }
.legal-hero__date { margin-top: 16px; color: var(--c-on-dark-2); font-size: .9375rem; }
.legal { background: var(--c-paper); color: var(--c-ink); padding-block: clamp(50px, 7vw, 110px) var(--sec); }
.legal__grid { display: grid; grid-template-columns: minmax(220px, 3fr) minmax(0, 8fr); gap: clamp(30px, 6vw, 110px); }
.legal__toc { position: sticky; top: 110px; align-self: start; max-height: calc(100vh - 130px); overflow: auto; }
.legal__toc h2 { margin-bottom: 8px; font-size: .8125rem; letter-spacing: .13em; text-transform: uppercase; color: var(--c-rust); }
.legal__toc a { display: block; padding-block: 6px; font-size: .9375rem; text-decoration: none; }
.legal__toc a:hover { color: var(--c-rust); text-decoration: underline; }
.legal__body { max-width: 74ch; }
.legal__body section { scroll-margin-top: 110px; padding-block: 24px; border-top: 1.5px solid var(--c-line-light); }
.legal__body section:first-child { border-top: 0; padding-top: 0; }
.legal__body h2 { margin-bottom: 10px; font: 800 clamp(1.75rem, 2.6vw, 2.5rem)/1.04 var(--f-display); text-transform: uppercase; }
.legal__body p + p, .legal__body ul + p, .legal__body table + p { margin-top: 12px; }
.legal__body ul { list-style: disc; padding-left: 1.2em; display: grid; gap: 7px; }
.legal__body a { color: var(--c-rust); overflow-wrap: anywhere; }
.legal__body table { width: 100%; border-collapse: collapse; font-size: .9688rem; }
.legal__body th, .legal__body td { padding: 10px 12px 10px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--c-line-light); }
.legal__body thead th, .legal__body tbody th { font-weight: 600; }

/* 404 */
.nf { min-height: 100svh; display: grid; align-items: center; padding-block: 50px; background: linear-gradient(180deg, var(--c-night), var(--c-dusk) 60%, var(--c-ember)); }
.nf__code { font: 800 clamp(9rem, 34vw, 30rem)/.8 var(--f-display); color: var(--c-amber); }
.nf__grid { margin-top: 30px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.nf h2 { font-size: clamp(2.25rem, 3.6vw, 3.5rem); margin-bottom: 8px; }

/* Hidden until GSAP takes over (main.js removes .js if the libraries fail) */
.js [data-reveal] { opacity: 0; }
.js .hero__title, .js [data-split="hero"] { visibility: hidden; }
.js [data-hero-fade] { opacity: 0; }

/* Desktop: pinned horizontal day */
@media (min-width: 960px) and (prefers-reduced-motion: no-preference) {
  .stages { padding: 0; height: 100vh; min-height: 680px; background: linear-gradient(90deg, var(--c-paper) 0%, var(--c-paper-2) 22%, #f3bd78 48%, var(--c-ember) 72%, var(--c-dusk) 90%, var(--c-night-2) 100%); }
  .stages__track { position: absolute; top: 0; left: 0; height: 100%; width: max-content; display: flex; align-items: center; gap: 28px; padding-right: 8vw; padding-bottom: 66px; will-change: transform; }
  .stages__intro { flex: none; width: 46vw; padding-left: max(var(--gutter), calc((100vw - 1560px) / 2)); padding-right: 30px; }
  .stages__hint { display: flex; }
  .stages__list { display: flex; gap: 28px; padding: 0; }
  .stage { width: clamp(330px, 27vw, 440px); flex: none; }
  .stage__media { aspect-ratio: 16/10; }
  .stages::before { content: ""; position: absolute; z-index: 1; inset: 0 0 auto; height: 120px; pointer-events: none; background: linear-gradient(180deg, var(--c-paper), rgb(247 241 231 / 0)); }
  .stages__road { display: block; position: absolute; left: 0; right: 0; bottom: 0; height: 58px; background: var(--c-ink); }
  .stages__road::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; translate: 0 -50%; background: repeating-linear-gradient(90deg, var(--c-paper) 0 34px, transparent 34px 72px); opacity: .75; }
  .stages__truck { position: absolute; left: 0; top: 11px; width: 78px; color: var(--c-amber); --c-paper: var(--c-ink); }
}

@media (min-width: 861px) { .foot__base { padding-right: 170px; } }
@media (max-width: 1080px) {
  .nav__links, .nav__lang, .nav__cta { display: none; }
  .nav__burger { display: inline-flex; }
  .bento__d { grid-column: span 4; } .bento__e { grid-column: span 8; } .bento__f, .bento__g { grid-column: span 6; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .manifesto__grid, .coverage__grid, .contact__grid, .legal__grid, .facts { grid-template-columns: 1fr; }
  .legal__toc { position: static; max-height: none; }
  .row, .steps__list { grid-template-columns: 1fr; }
  .row--flip .row__media { order: 0; }
  .story__copy, .story__media, .story__media2 { grid-column: 1 / -1; grid-row: auto; }
  .story__media { aspect-ratio: 4/3; }
  .svc { grid-template-columns: 44px minmax(0, 1fr) 52px; }
  .svc__text { grid-column: 2 / -1; grid-row: 2; }
  .svc__thumb { display: block; grid-column: 1 / -1; grid-row: 3; aspect-ratio: 16/9; border-radius: 14px; overflow: hidden; }
  .svc__thumb img { width: 100%; height: 100%; object-fit: cover; }
  .float-preview { display: none; }
  .bento__a, .bento__b, .bento__c, .bento__d, .bento__e, .bento__f, .bento__g { grid-column: 1 / -1; grid-row: auto; }
  .bento__a, .bento__e { min-height: 300px; }
  .principles__list li { grid-template-columns: 44px 1fr; }
  .principles__list p { grid-column: 2; }
  .nf__grid { grid-template-columns: 1fr; }
  .hud { display: none; }
  .city-l { display: none; }
}
@media (min-width: 721px) and (max-height: 820px) {
  .hero__inner { padding-block: 96px 84px; }
  .hero__title, .hero__title--es, .hero__title--en { font-size: min(10.9vw, 17vh); }
}
@media (max-width: 720px) {
  .hero__title, .hero__title--es { font-size: 19.5vw; line-height: .9; }
  .hero__title--en { font-size: 17vw; }
  .hero__foot .btn { flex: 1 1 auto; }
  .foot__grid { grid-template-columns: 1fr; }
  .cell.c4, .cell.c6 { grid-column: span 12; border-right: 0; }
  .waybill { box-shadow: 5px 6px 0 rgb(18 21 31 / .86); }
  .waybill__stamp { right: 10px; top: 8px; font-size: 1.375rem !important; }
  .waybill__foot .btn { width: 100%; }
}

@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-hero-fade] { opacity: 1; }
  .js .hero__title, .js [data-split="hero"] { visibility: visible; }
  @view-transition { navigation: none; }
}
@media print {
  .nav, .hud, .menu, .vid, .cta, .foot__mark { display: none !important; }
  body { background: #fff; color: #000; }
}
