/* ==========================================================================
   SESTRA · Ingeniería y Arquitectura
   Mobile first · Paper / Navy / Signal orange
   ========================================================================== */

:root {
  --paper: #f5f3ee;
  --paper-2: #ece8df;
  --paper-3: #e2ddd1;
  --white: #ffffff;
  --ink: #0d1b2a;
  --ink-2: #33414f;
  --muted: #677382;
  --navy: #00346d;
  --navy-2: #0b4a8f;
  --navy-deep: #00264f;
  --sky: #dbe6f1;
  --sky-2: #c4d6ea;
  --accent: #e8622c;
  --line: rgba(24, 28, 33, .11);
  --line-2: rgba(24, 28, 33, .22);
  --stone: #e9e6e0;
  --shade: 14, 17, 21;

  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --gutter: clamp(16px, 4.4vw, 64px);
  --wrap: 1560px;
  --hdr-h: 64px;
  --radius: 18px;
  --radius-lg: 28px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --sec: clamp(64px, 8.5vw, 136px);

  --fs-h1: clamp(2.3rem, 5.6vw, 5.6rem);
  --fs-h2: clamp(1.75rem, 3.3vw, 3.2rem);
  --fs-h3: clamp(1.3rem, 2vw, 1.8rem);
  --fs-lead: clamp(1.02rem, 1.15vw, 1.16rem);

  interpolate-size: allow-keywords;
  color-scheme: light;
}
@media (min-width: 1024px) { :root { --hdr-h: 84px; } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--paper); scrollbar-gutter: stable; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 64px); }
html:not(.lenis) { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.6;
  font-feature-settings: "ss01", "kern"; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; overflow-x: hidden; overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
::selection { background: var(--navy); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 10px; transition: top .3s; }
.skip:focus { top: 12px; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sec { padding-block: var(--sec); position: relative; }
.sec--tight { padding-block: clamp(36px, 5vw, 72px); }
.mono { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 500; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; color: var(--ink-2);
}
.eyebrow .idx { display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding-inline: 6px; border: 1px solid var(--line-2); border-radius: 99px; font-size: .68rem; letter-spacing: .04em; }
.eyebrow--light { color: rgba(255, 255, 255, .9); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(232, 98, 44, .22); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(232, 98, 44, 0); } }

.h1, .h2, .h3, .hero__title, .phero__title, .manifesto__text, .stack__title, .ftr__big-txt {
  font-family: var(--f-display); font-weight: 500; font-stretch: 104%; letter-spacing: -.035em; line-height: 1;
  text-wrap: balance;
}
.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); line-height: 1.02; color: var(--ink); }
.h3 { font-size: var(--fs-h3); line-height: 1.12; letter-spacing: -.02em; }
.h2 em, .h1 em, .hero__title em { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; font-stretch: normal; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-2); max-width: 60ch; }

.sec__head { display: grid; gap: 16px; margin-bottom: clamp(28px, 4vw, 56px); }
@media (min-width: 900px) {
  .sec__head--split { grid-template-columns: minmax(200px, 1fr) 3fr; align-items: start; }
  .sec__head--split .eyebrow { margin-top: .9em; }
}

/* ---------- Buttons & links ---------- */
.btn {
  --bg: var(--navy); --fg: #fff; --bd: var(--navy); --hov: var(--navy-deep); --hfg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--bd);
  background: var(--bg); color: var(--fg); font-weight: 600; font-size: .95rem; letter-spacing: -.005em;
  overflow: hidden; isolation: isolate; white-space: nowrap; transition: color .5s var(--ease), border-color .5s var(--ease), transform .3s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; background: var(--hov); border-radius: inherit;
  transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--hfg); }
.btn:active { transform: scale(.97); }
.btn .ico { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
.btn--light { --bg: #fff; --fg: var(--ink); --bd: #fff; --hov: var(--navy); --hfg: #fff; }
.btn--dark { --bg: var(--navy); --fg: #fff; --bd: var(--navy); --hov: var(--ink); }
.btn--ghost { --bg: transparent; --fg: var(--navy); --bd: var(--line-2); --hov: var(--navy); --hfg: #fff; }
.btn--ghost-light { --bg: rgba(255, 255, 255, .06); --fg: #fff; --bd: rgba(255, 255, 255, .45); --hov: #fff; --hfg: var(--navy); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .85rem; }
.btn--lg { min-height: 60px; padding: 0 30px; font-size: 1rem; }
.btn--pill { min-height: 44px; padding: 0 18px; font-size: .88rem; }

.link-arrow { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; font-weight: 600; color: var(--navy); }
.link-arrow span { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size .5s var(--ease); }
.link-arrow:hover span { background-size: 0 1px; background-position: 100% 100%; }
.link-arrow .ico { width: 20px; height: 20px; transition: transform .5s var(--ease); }
.link-arrow:hover .ico { transform: translateX(5px); }
.link-arrow--back { margin-top: 0; }
.link-arrow--back .ico { transform: rotate(180deg); }
.link-arrow--back:hover .ico { transform: rotate(180deg) translateX(5px); }
.link-u { background: linear-gradient(currentColor, currentColor) 100% 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); display: inline-flex; gap: 6px; align-items: center; }
.link-u:hover { background-size: 100% 1px; background-position: 0 100%; }
.link-u .ico { width: 14px; height: 14px; }
.ico { width: 20px; height: 20px; flex: none; }

/* ---------- Header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--hdr-h);
  color: var(--ink); --logo-grey: #88898a;
  transition: transform .6s var(--ease), background-color .4s, color .4s, box-shadow .4s;
}
[data-header="light"] .hdr:not(.is-scrolled) { color: #fff; --logo-grey: rgba(255, 255, 255, .7); }
.hdr.is-scrolled { background: rgba(245, 243, 238, .82); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); box-shadow: 0 1px 0 var(--line); }
.hdr.is-hidden { transform: translateY(-100%); }
.menu-open .hdr { color: var(--ink) !important; --logo-grey: #88898a !important; background: transparent !important; box-shadow: none !important; backdrop-filter: none !important; transform: none !important; }
.hdr__in { height: 100%; display: flex; align-items: center; gap: 20px; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.hdr__logo { display: block; flex: none; color: inherit; }
.hdr .logo { height: 30px; width: auto; color: currentColor; }
[data-header="light"] .hdr:not(.is-scrolled) .logo { filter: drop-shadow(0 1px 12px rgba(0, 0, 0, .15)); }
.hdr:not([data-dummy]) .logo path[fill="currentColor"] { fill: currentColor; }
.hdr.is-scrolled .logo, [data-header="dark"] .hdr .logo, .menu-open .hdr .logo { color: var(--navy); }
@media (min-width: 1024px) { .hdr .logo { height: 38px; } }

.hdr__nav { display: none; margin-left: auto; }
.hdr__nav ul { display: flex; gap: clamp(18px, 2.2vw, 40px); }
.hdr__nav a { position: relative; display: block; padding: 8px 0; font-weight: 500; font-size: .95rem; overflow: hidden; }
.hdr__nav a span { display: block; transition: transform .55s var(--ease); }
.hdr__nav a span::after { content: attr(data-hover); position: absolute; left: 0; top: 100%; }
.hdr__nav a:hover span { transform: translateY(-100%); }
.hdr__nav a[aria-current]::before { content: ""; position: absolute; left: 50%; bottom: 0; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--accent); }
.hdr__tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.hdr__cta { display: none; }
@media (min-width: 1100px) {
  .hdr__nav { display: block; }
  .hdr__tools { margin-left: 28px; gap: 18px; }
  .hdr__cta { display: inline-flex; }
  .hdr .btn--pill { --bg: transparent; --fg: currentColor; --bd: currentColor; --hov: var(--navy); --hfg: #fff; }
  [data-header="light"] .hdr:not(.is-scrolled) .btn--pill { --hov: #fff; --hfg: var(--navy); }
  .burger { display: none !important; }
}

.langs { display: flex; align-items: center; gap: 2px; font-family: var(--f-mono); font-size: .72rem; font-weight: 500; letter-spacing: .06em; }
.langs a { display: grid; place-items: center; min-width: 32px; height: 32px; border-radius: 8px; opacity: .62; transition: opacity .3s, background-color .3s; }
.langs a:hover { opacity: 1; }
.langs a[aria-current] { opacity: 1; background: rgba(127, 140, 160, .16); }
@media (max-width: 359px) { .hdr .langs { display: none; } }

.burger { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 4px 0 12px; font-weight: 600; font-size: .9rem; }
.burger__lines { position: relative; width: 26px; height: 12px; }
.burger__lines i { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .6s var(--ease), top .6s var(--ease); }
.burger__lines i:first-child { top: 0; }
.burger__lines i:last-child { top: 10px; }
.menu-open .burger__lines i:first-child { top: 5px; transform: rotate(45deg); }
.menu-open .burger__lines i:last-child { top: 5px; transform: rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.menu { position: fixed; inset: 0; z-index: 90; visibility: hidden; color: var(--ink); overflow: hidden; }
.menu__bg { position: absolute; inset: 0; background: var(--paper); clip-path: circle(0% at calc(100% - 44px) 32px); transition: clip-path .9s var(--ease-io); }
.menu__bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(circle at 80% 10%, #000, transparent 70%); }
.menu-open .menu { visibility: visible; }
.menu-open .menu__bg { clip-path: circle(150% at calc(100% - 44px) 32px); }
.menu__in { position: relative; height: 100%; overflow-y: auto; padding: calc(var(--hdr-h) + 24px) var(--gutter) max(28px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 36px; }
.menu__nav li { overflow: hidden; border-bottom: 1px solid var(--line); }
.menu__nav a { display: flex; align-items: baseline; gap: 16px; padding: 12px 0; font-family: var(--f-display); font-size: clamp(2.1rem, 9.5vw, 4.6rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.04; transform: translateY(105%); transition: transform .8s var(--ease), color .3s; }
.menu__nav small { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; opacity: .55; }
.menu__nav a[aria-current] span { color: var(--navy); }
.menu__nav a:hover span { font-family: var(--f-serif); font-style: italic; letter-spacing: -.01em; }
.menu-open .menu__nav a { transform: none; }
.menu-open .menu__nav li:nth-child(1) a { transition-delay: .18s; }
.menu-open .menu__nav li:nth-child(2) a { transition-delay: .23s; }
.menu-open .menu__nav li:nth-child(3) a { transition-delay: .28s; }
.menu-open .menu__nav li:nth-child(4) a { transition-delay: .33s; }
.menu-open .menu__nav li:nth-child(5) a { transition-delay: .38s; }
.menu__areas, .menu__foot { opacity: 0; transform: translateY(20px); transition: opacity .6s .4s, transform .8s .4s var(--ease); }
.menu-open .menu__areas, .menu-open .menu__foot { opacity: 1; transform: none; }
.menu__areas .eyebrow { color: var(--muted); margin-bottom: 12px; }
.menu__areas li a { display: block; padding: 6px 0; font-size: 1.05rem; opacity: .85; }
.menu__foot { margin-top: auto; display: grid; gap: 12px; }
.menu__foot > a { display: inline-flex; align-items: center; gap: 12px; font-size: 1.05rem; }
.menu__foot .langs--lg { margin-top: 12px; gap: 8px; }
.menu__foot .langs--lg a { padding: 0 14px; height: 40px; border: 1px solid var(--line-2); border-radius: 99px; font-size: .74rem; }
@media (min-width: 700px) {
  .menu__in { display: grid; grid-template-columns: 1.6fr 1fr; align-content: start; column-gap: 8vw; }
  .menu__foot { grid-column: 1 / -1; }
}

/* ---------- Loader ---------- */
.loader { display: none; }
.is-loading .loader { display: grid; position: fixed; inset: 0; z-index: 200; place-items: center; background: var(--paper); color: var(--ink); --logo-grey: #88898a; }
.is-loading body { overflow: hidden; }
.loader__inner { display: grid; justify-items: center; gap: 28px; }
.loader__logo .logo { width: 120px; height: auto; color: var(--navy); }
.loader__count { font-family: var(--f-display); font-size: clamp(3rem, 12vw, 8rem); font-weight: 300; font-stretch: 120%; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; overflow: hidden; }
.loader__bar { width: min(240px, 60vw); height: 1px; background: var(--line-2); }
.loader__bar span { display: block; height: 100%; background: var(--navy); transform-origin: left; transform: scaleX(0); }

/* ---------- Hero ---------- */
.hero, .phero { position: sticky; top: 0; z-index: 0; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; color: #fff; background: #cfcbc2; }
.hero__media, .phero__media { position: absolute; inset: 0; will-change: transform; }
.hero__media img, .phero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__veil, .phero__veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(var(--shade), .42) 0%, rgba(var(--shade), 0) 26%),
    linear-gradient(0deg, rgba(var(--shade), .72) 0%, rgba(var(--shade), .3) 40%, rgba(var(--shade), 0) 66%),
    linear-gradient(90deg, rgba(var(--shade), .28), rgba(var(--shade), 0) 60%);
}

.hero__content, .phero__content {
  position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--hdr-h) + 40px); padding-bottom: clamp(72px, 11vh, 120px);
}
.hero__eyebrow { margin-bottom: clamp(18px, 3vh, 32px); }
.hero__title { font-size: clamp(2.65rem, min(9.4vw, 12.5svh), 8.2rem); line-height: .96; letter-spacing: -.045em; max-width: 15ch; }
.hero__title .ln { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__title .ln > span { display: inline-block; }
.hero__title em { font-size: 1.08em; color: #fff; }
.hero__foot { display: grid; gap: 26px; margin-top: clamp(24px, 4vh, 48px); }
.hero__sub { max-width: 44ch; font-size: clamp(1rem, 1.3vw, 1.2rem); line-height: 1.5; color: rgba(255, 255, 255, .88); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 900px) {
  .hero__foot { grid-template-columns: 1fr auto; align-items: end; }
}
.hero__scroll { position: absolute; right: var(--gutter); bottom: clamp(72px, 11vh, 120px); display: none; flex-direction: column; align-items: center; gap: 14px; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; writing-mode: vertical-rl; }
.hero__scroll i { position: relative; width: 1px; height: 64px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 40%; background: #fff; animation: scrolline 2.2s var(--ease-io) infinite; }
@keyframes scrolline { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }
.hero__coords { position: absolute; right: var(--gutter); top: calc(var(--hdr-h) + 12px); padding-right: 30px; color: rgba(255, 255, 255, .75); font-size: .66rem; display: none; }
@media (min-width: 900px) { .hero__coords { display: block; } }
@media (min-width: 1280px) { .hero .hero__scroll { display: flex; } .hero__foot { margin-right: 80px; } }

/* JS-driven intro states (fallback-safe) */
/* Todo lo que se anima arranca oculto desde el CSS: así el contenido nunca aparece y desaparece (parpadeo) */
.js:not(.no-anim) [data-anim="up"], .js:not(.no-anim) [data-anim="card"] { opacity: 0; }
.js:not(.no-anim) [data-anim="clip"] { clip-path: inset(100% 0 0 0); }
.js:not(.no-anim) [data-split], .js:not(.no-anim) [data-words] { visibility: hidden; }
/* Entrada de las cabeceras solo con CSS: arranca con el primer pintado, sin esperar a JavaScript */
@keyframes hero-rise { from { transform: translateY(110%); } to { transform: none; } }
@keyframes hero-fade { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: none; } }
.js:not(.no-anim) [data-hero-media] { animation: hero-zoom 1.8s var(--ease) both; }
.js:not(.no-anim) .hero__title .ln > span { animation: hero-rise 1.1s var(--ease) both; }
.js:not(.no-anim) .hero__title .ln:nth-child(2) > span { animation-delay: .08s; }
.js:not(.no-anim) [data-hero-title] { animation: hero-fade .9s var(--ease) both; }
.js:not(.no-anim) [data-hero-content] [data-anim="fade"] { animation: hero-fade .9s var(--ease) .18s both; }
.js:not(.no-anim) [data-hero-content] [data-hero-title] ~ [data-anim="fade"], .js:not(.no-anim) .hero__foot [data-anim="fade"] { animation-delay: .3s; }
.is-loading [data-hero-media], .is-loading .hero__title .ln > span, .is-loading [data-hero-content] [data-anim="fade"] { animation-play-state: paused !important; }

/* ---------- Inner page hero ---------- */
.phero { height: 62vh; height: 62svh; min-height: 440px; max-height: 760px; }
.phero--tall { height: 82vh; height: 82svh; max-height: none; min-height: 520px; }
.phero__content { padding-bottom: clamp(48px, 7vh, 80px); }
.phero__title { font-size: clamp(2.2rem, 5.2vw, 5rem); line-height: 1; letter-spacing: -.04em; max-width: 18ch; margin-top: 14px; }
.phero__title--long { font-size: clamp(1.7rem, 3.4vw, 3.4rem); max-width: 26ch; line-height: 1.06; }
.phero__text { margin-top: 16px; max-width: 58ch; font-size: clamp(.98rem, 1.1vw, 1.1rem); color: rgba(255, 255, 255, .88); }
.phero__meta { margin-top: 20px; color: rgba(255, 255, 255, .85); }
.phero .hero__scroll { display: none; }
@media (min-width: 1280px) { .phero .hero__scroll { display: flex; } }

.pinfo { display: grid; gap: 14px; }
.pinfo div { display: grid; gap: 2px; }
.pinfo dt { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.pinfo dd { font-size: .98rem; font-weight: 500; }
.pinfo a { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
@media (min-width: 700px) { .pinfo { display: flex; flex-wrap: wrap; gap: 18px 48px; } }

/* ---------- Sheet (capa que se desliza sobre el hero) ---------- */
.sheet {
  position: relative; z-index: 2; background: var(--paper);
  border-radius: 22px 22px 0 0; margin-top: -22px;
  box-shadow: 0 -24px 60px rgba(var(--shade), .14);
}
@media (min-width: 1024px) { .sheet { border-radius: var(--radius-lg) var(--radius-lg) 0 0; margin-top: calc(var(--radius-lg) * -1); } }
.sheet::before {
  content: ""; position: absolute; left: 50%; top: 10px; width: 44px; height: 4px; margin-left: -22px; border-radius: 4px; background: var(--paper-3);
}
@media (min-width: 1024px) { .sheet::before { display: none; } }

/* ---------- Manifesto / words reveal ---------- */
.manifesto__text { font-size: clamp(1.45rem, 2.8vw, 2.7rem); line-height: 1.14; letter-spacing: -.03em; color: var(--ink); max-width: 34ch; margin-top: 20px; text-wrap: pretty; }
.manifesto__text--sm { font-size: clamp(1.3rem, 2.2vw, 2rem); max-width: 40ch; margin-top: 0; }
[data-words] .w { opacity: .14; }
.no-js [data-words] .w, .no-anim [data-words] .w { opacity: 1 !important; }
.manifesto__grid { display: grid; gap: 32px; margin-top: clamp(36px, 5vw, 72px); }
.manifesto__col p + p { margin-top: 1.1em; }
.manifesto__col { color: var(--ink-2); font-size: 1.05rem; }
.manifesto__fig { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.manifesto__fig img, .history__img img, .arow__media img, .stack__media img { width: 100%; height: 100%; object-fit: cover; }
.parallax { height: 100%; will-change: transform; }
.parallax > img { height: 100%; transform: scale(1.18); }
.no-anim .parallax > img { transform: none; }
@media (min-width: 1024px) {
  .manifesto__grid { grid-template-columns: 1fr 1.1fr 1fr; gap: clamp(32px, 4vw, 72px); align-items: start; }
  .manifesto__fig { margin-top: 0; aspect-ratio: 4 / 4.4; }
  .manifesto__col--b { margin-top: 64px; }
}

/* ---------- Stats ---------- */
.stats { padding-bottom: var(--sec); }
.stats__list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.stat { position: relative; display: grid; align-content: start; gap: 8px; padding: 28px 16px 30px 0; border-bottom: 1px solid var(--line); }
.stat:nth-child(odd) { padding-right: 16px; border-right: 1px solid var(--line); }
.stat:nth-child(even) { padding-left: 16px; }
.stat__dim { position: absolute; left: 0; right: 16px; top: -1px; height: 1px; }
.stat__dim i { display: block; height: 3px; width: 28px; margin-top: -1px; background: var(--accent); }
.stat__n { font-family: var(--f-display); font-size: clamp(2.5rem, 5.6vw, 4.8rem); font-weight: 400; font-stretch: 110%; letter-spacing: -.05em; line-height: .95; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat__label { font-weight: 600; line-height: 1.3; }
.stat__note { color: var(--muted); font-size: .66rem; }
@media (min-width: 1024px) {
  .stats__list { grid-template-columns: repeat(4, 1fr); }
  .stat, .stat:nth-child(odd), .stat:nth-child(even) { padding: 40px 28px 44px; border-right: 1px solid var(--line); }
  .stat:first-child { padding-left: 0; }
  .stat:last-child { border-right: 0; }
}

/* ---------- Areas stack ---------- */
.areas-stack { padding-bottom: 0; }
.stack { padding-inline: clamp(10px, 2vw, 28px); padding-bottom: var(--sec); max-width: 1800px; margin-inline: auto; }
.stack__card {
  position: sticky; top: calc(var(--hdr-h) + 10px + var(--i) * 14px);
  height: min(74svh, 720px); min-height: 440px; margin-bottom: 5vh; border-radius: var(--radius-lg); overflow: hidden;
  background: #1a1d21; transform-origin: 50% 0; box-shadow: 0 -10px 40px rgba(var(--shade), .12);
}
.stack__card:last-child { margin-bottom: 0; }
.stack__link { position: relative; display: block; height: 100%; color: #fff; }
.stack__media { position: absolute; inset: 0; overflow: hidden; }
.stack__media img { transition: transform 1.4s var(--ease); }
.stack__link:hover .stack__media img { transform: scale(1.23); }
.stack__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(var(--shade), .78) 0%, rgba(var(--shade), .22) 50%, rgba(var(--shade), .06) 100%); transition: opacity .6s; }
.stack__body { position: absolute; inset: auto 0 0 0; padding: clamp(22px, 4vw, 64px); display: grid; gap: 16px; }
.stack__num { opacity: .8; }
.stack__title { font-size: clamp(2rem, 5vw, 4.6rem); line-height: .98; letter-spacing: -.04em; max-width: 14ch; }
.stack__text { max-width: 46ch; font-size: clamp(.98rem, 1.1vw, 1.1rem); color: rgba(255, 255, 255, .88); }
.stack__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; margin-top: 6px; border-top: 1px solid rgba(255, 255, 255, .25); }
@media (min-width: 1024px) {
  .stack__body { grid-template-columns: 1fr auto; align-items: end; column-gap: 48px; }
  .stack__num { grid-column: 1 / -1; }
  .stack__text { grid-column: 2; grid-row: 2; align-self: end; max-width: 36ch; }
  .stack__title { grid-column: 1; grid-row: 2; }
  .stack__meta { grid-column: 1 / -1; }
}

/* ---------- Horizontal featured ---------- */
.hscroll { position: relative; padding-top: var(--sec); padding-bottom: calc(var(--sec) * .7); background: var(--paper); overflow: hidden; }
.hscroll__head { display: grid; gap: 20px; margin-bottom: clamp(24px, 3.5vw, 44px); }
.hscroll__head .h2 { max-width: 18ch; margin-top: 20px; }
.hscroll__progress { display: none; width: 220px; height: 2px; background: var(--line); align-self: end; margin-bottom: 14px; }
.hscroll__progress span { display: block; height: 100%; background: var(--navy); transform-origin: left; transform: scaleX(0); }
.hscroll__viewport { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
.hscroll__viewport::-webkit-scrollbar { display: none; }
.hscroll__track { display: flex; gap: 14px; width: max-content; padding-bottom: 8px; }
.fcard { scroll-snap-align: start; width: 82vw; max-width: 560px; flex: none; }
.fcard a { display: block; }
.fcard__media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.fcard__zoom { height: 100%; transition: transform 1.2s var(--ease); }
.fcard__media img { width: 100%; height: 100%; object-fit: cover; }
.fcard a:hover .fcard__zoom { transform: scale(1.06); }
.fcard__info { display: flex; gap: 14px; padding-top: 16px; }
.fcard__idx { color: var(--accent); padding-top: 4px; }
.fcard__title { font-family: var(--f-display); font-size: clamp(1.15rem, 1.6vw, 1.5rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.15; text-wrap: balance; }
.fcard__meta { margin-top: 6px; color: var(--muted); font-size: .9rem; }
.fcard--end a { height: 100%; aspect-ratio: 4 / 5; display: grid; place-content: center; justify-items: center; gap: 14px; border-radius: var(--radius); background: var(--stone); color: var(--ink); text-align: center; transition: background-color .5s, color .5s; }
.fcard--end a:hover { background: var(--navy); color: #fff; }
.fcard__end-ico { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; border: 1px solid currentColor; }
.fcard__end-ico .ico { width: 30px; height: 30px; }
.fcard__end-txt { font-family: var(--f-display); font-size: 1.6rem; letter-spacing: -.02em; }
.hscroll__hint { padding: 18px var(--gutter) 0; color: var(--muted); }
@media (min-width: 700px) { .fcard { width: 46vw; } }
@media (min-width: 1024px) {
  .hscroll__head { grid-template-columns: 1fr auto; align-items: end; }
  .hscroll__progress { display: block; }
  .hscroll__hint { display: none; }
  .is-pinned .hscroll__viewport { overflow: visible; scroll-snap-type: none; }
  .is-pinned.hscroll { padding-bottom: 0; }
  .is-pinned .hscroll__pin { height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--hdr-h)); }
  .is-pinned .hscroll__head { margin-bottom: 4vh; }
  .hscroll.is-pinned { padding-top: 0; }
  .fcard { width: clamp(380px, 34vw, 620px); max-width: none; }
  .fcard__media { aspect-ratio: 4 / 3.1; }
  .fcard--alt .fcard__media { aspect-ratio: 4 / 4.6; }
  .is-pinned .fcard__media { max-height: 56vh; }
  .is-pinned .fcard--alt .fcard__media { max-height: 62vh; }
  .hscroll__track { align-items: center; gap: 28px; }
  .fcard--end { width: clamp(300px, 22vw, 400px); }
  .fcard--end a { aspect-ratio: 3 / 4; max-height: 56vh; }
}

/* ---------- Expanding image + quote ---------- */
.expand { position: relative; height: 175vh; height: 175svh; background: var(--paper); }
.expand__frame { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; clip-path: inset(14% 8% 14% 8% round 24px); will-change: clip-path; }
.no-anim .expand__frame { clip-path: none; }
.expand__img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); }
.expand__veil { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(var(--shade), .45), rgba(var(--shade), .68)); }
.expand__quote { position: absolute; left: 0; right: 0; top: 0; height: 100vh; height: 100svh; display: grid; align-content: center; justify-items: center; text-align: center; color: #fff; pointer-events: none; }
.expand__quote { position: sticky; margin-top: -100vh; margin-top: -100svh; }
.expand__quote blockquote p { font-family: var(--f-serif); font-style: italic; font-size: clamp(1.9rem, 4.4vw, 4.2rem); line-height: 1.04; letter-spacing: -.015em; max-width: 24ch; margin-inline: auto; text-wrap: balance; }
.expand__quote figcaption { margin-top: 32px; color: rgba(255, 255, 255, .8); }
.expand [data-words] .w { opacity: .18; }

/* ---------- World ---------- */
.places { border-top: 1px solid var(--line); }
.place { position: relative; display: grid; grid-template-columns: 34px 1fr; gap: 4px 12px; padding: 18px 0; border-bottom: 1px solid var(--line); transition: background-color .4s, padding .5s var(--ease); }
.place::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--navy); transition: width .7s var(--ease); }
.place:hover::before { width: 100%; }
.place__n { color: var(--accent); padding-top: 6px; grid-row: span 3; }
.place__name { font-family: var(--f-display); font-size: clamp(1.25rem, 2vw, 1.8rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.05; }
.place__desc { color: var(--muted); }
.place__coord { color: var(--muted); font-size: .68rem; }
@media (min-width: 1024px) {
  .world__grid { grid-template-columns: 1fr 1.25fr; gap: 8vw; align-items: start; }
  .world__intro { position: sticky; top: calc(var(--hdr-h) + 40px); }
  .place { grid-template-columns: 50px 1.3fr 1fr auto; align-items: baseline; padding: 22px 0; }
  .place:hover { padding-left: 14px; }
  .place__n { grid-row: auto; padding-top: 0; }
}

/* ---------- Quality ---------- */
.quality { background: var(--white); overflow: hidden; }
.quality::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(90deg, transparent 30%, #000); opacity: .6; pointer-events: none; }
.quality__grid { position: relative; display: grid; gap: 56px; }
.quality__text .h2 { margin-top: 20px; max-width: 15ch; }
.quality__text .lead { margin-top: 24px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.badges li { padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 99px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .04em; background: var(--paper); }
.fan { position: relative; height: clamp(280px, 56vw, 440px); }
.fan__card { position: absolute; left: 50%; top: 50%; width: clamp(130px, 30vw, 230px); aspect-ratio: 193 / 300; margin-left: calc(clamp(130px, 30vw, 230px) / -2); margin-top: calc(clamp(130px, 30vw, 230px) * -.78); background: #fff; border-radius: 6px; padding: 6px; box-shadow: 0 30px 60px -20px rgba(0, 30, 70, .35), 0 2px 6px rgba(0, 30, 70, .08); transform: rotate(calc((var(--i) - 1.5) * 7deg)) translateX(calc((var(--i) - 1.5) * 30%)); }
.fan__card img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
@media (min-width: 1024px) { .quality__grid { grid-template-columns: 1fr 1fr; align-items: center; } }

/* ---------- Clients marquee ---------- */
.clients { overflow: hidden; }
.marquee { display: flex; overflow: hidden; padding-block: 10px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee + .marquee { margin-top: 6px; }
.marquee__track { display: flex; flex: none; animation: marquee 90s linear infinite; }
.marquee--rev .marquee__track { animation-direction: reverse; animation-duration: 75s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span { flex: none; display: inline-flex; align-items: center; padding-right: 30px; font-family: var(--f-display); font-size: clamp(1.25rem, 2.6vw, 2.2rem); font-weight: 400; letter-spacing: -.03em; color: var(--ink); white-space: nowrap; }
.marquee span::after { content: ""; width: 10px; height: 10px; margin-left: 30px; border: 1.5px solid var(--accent); transform: rotate(45deg); }
.marquee--rev span { color: var(--muted); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- FAQ / accordion ---------- */
.faq { padding-top: calc(var(--sec) * .5); }
.faq__grid { display: grid; gap: 40px; }
.faq__grid .h2 { margin-top: 20px; max-width: 12ch; }
.acc { border-bottom: 1px solid var(--line); }
.acc:first-child { border-top: 1px solid var(--line); }
.acc summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; cursor: pointer; font-family: var(--f-display); font-size: clamp(1.05rem, 1.4vw, 1.25rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.25; transition: color .3s; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { color: var(--navy); }
.acc__ico { position: relative; flex: none; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 50%; transition: background-color .4s, transform .6s var(--ease); }
.acc__ico::before, .acc__ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -.75px 0 0 -7px; background: currentColor; transition: transform .6s var(--ease); }
.acc__ico::after { transform: rotate(90deg); }
.acc[open] .acc__ico { background: var(--ink); color: #fff; transform: rotate(180deg); }
.acc[open] .acc__ico::after { transform: rotate(0); }
.acc::details-content { block-size: 0; overflow: clip; transition: block-size .55s var(--ease), content-visibility .55s allow-discrete; }
.acc[open]::details-content { block-size: auto; }
.acc__body p { padding: 0 56px 28px 0; color: var(--ink-2); max-width: 70ch; }
@media (min-width: 1024px) { .faq__grid { grid-template-columns: 1fr 1.6fr; gap: 8vw; } }

/* ---------- Big quote ---------- */
.bigquote { padding-block: var(--sec); text-align: center; position: relative; overflow: hidden; }
.bigquote blockquote p { font-family: var(--f-serif); font-style: italic; font-size: clamp(1.8rem, 3.8vw, 3.6rem); line-height: 1.08; letter-spacing: -.01em; max-width: 24ch; margin-inline: auto; color: var(--ink); text-wrap: balance; }
.bigquote figcaption { margin-top: 28px; color: var(--muted); }
.bigquote--img { color: #fff; min-height: 62svh; display: grid; align-items: center; }
.bigquote--img blockquote p { color: #fff; }
.bigquote--img figcaption { color: rgba(255, 255, 255, .8); }
.bigquote__bg { position: absolute; inset: 0; }
.bigquote__bg img { width: 100%; height: 100%; object-fit: cover; }
.bigquote__bg::after { content: ""; position: absolute; inset: 0; background: rgba(var(--shade), .5); }
.bigquote--img .wrap { position: relative; }

/* ---------- Areas index ---------- */
.arealist .wrap { display: grid; gap: clamp(56px, 7vw, 112px); }
.arow { display: grid; gap: 28px; }
.arow__media { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; }
.arow__count { position: absolute; left: 16px; top: 16px; padding: 8px 12px; border-radius: 99px; background: rgba(255, 255, 255, .9); color: var(--navy); backdrop-filter: blur(8px); }
.arow__num { display: block; font-family: var(--f-display); font-size: clamp(2.6rem, 5vw, 4.6rem); font-weight: 300; font-stretch: 120%; line-height: .8; color: transparent; -webkit-text-stroke: 1px var(--line-2); margin-bottom: 16px; }
.arow__body .h2 a:hover { color: var(--navy); }
.arow__body .lead { margin-top: 20px; }
.arow__thumbs { display: flex; gap: 8px; margin: 22px 0 26px; }
.arow__thumbs li { width: 76px; aspect-ratio: 1; border-radius: 10px; overflow: hidden; }
.arow__thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1024px) {
  .arow { grid-template-columns: 1.25fr 1fr; gap: 6vw; align-items: center; }
  .arow--rev .arow__media { order: 2; }
  .arow__media { aspect-ratio: 16 / 11; }
}

/* ---------- Area page ---------- */
.area-intro { padding-bottom: 0; }
.area-intro__grid { display: grid; gap: 28px; }
@media (min-width: 1024px) { .area-intro__grid { grid-template-columns: 1fr 3fr; } .area-intro__grid .eyebrow { margin-top: .8em; } }
.pgrid { display: grid; gap: 40px 24px; }
.pcard a { display: block; }
.pcard__media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .8s; }
.pcard a:hover .pcard__media img { transform: scale(1.07); }
.pcard__n, .pcard__photos { position: absolute; top: 12px; padding: 6px 10px; border-radius: 99px; background: rgba(255, 255, 255, .92); color: var(--navy); font-size: .66rem; display: inline-flex; gap: 6px; align-items: center; }
.pcard__n { left: 12px; }
.pcard__photos { right: 12px; }
.pcard__photos .ico { width: 12px; height: 12px; }
.pcard__body { position: relative; padding: 16px 52px 0 0; }
.pcard__title { font-family: var(--f-display); font-size: clamp(1.1rem, 1.5vw, 1.35rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.2; text-wrap: balance; }
.pcard__meta { margin-top: 6px; color: var(--muted); font-size: .9rem; }
.pcard__go { position: absolute; right: 0; top: 14px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); transition: background-color .4s, color .4s, transform .5s var(--ease); }
.pcard__go .ico { width: 16px; height: 16px; }
.pcard a:hover .pcard__go { background: var(--navy); color: #fff; transform: rotate(45deg); }
@media (min-width: 700px) { .pgrid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1280px) {
  .pgrid { grid-template-columns: repeat(3, 1fr); gap: 48px 28px; }
}

.area-switch { padding-block: clamp(40px, 6vw, 88px); border-top: 1px solid var(--line); }
.area-switch__in { display: grid; gap: 16px; }
.aswitch { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 28px 24px; border-radius: var(--radius); overflow: hidden; color: #fff; min-height: 150px; isolation: isolate; }
.aswitch__media { position: absolute; inset: 0; z-index: -1; }
.aswitch__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.aswitch__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--shade), .78), rgba(var(--shade), .25)); }
.aswitch:hover .aswitch__media img { transform: scale(1.06); }
.aswitch__title { font-family: var(--f-display); font-size: clamp(1.4rem, 2.6vw, 2.4rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.05; }
.aswitch .ico { transition: transform .5s var(--ease); }
.aswitch:hover .ico { transform: translateX(6px); }
@media (min-width: 900px) { .area-switch__in { grid-template-columns: 1fr 1fr; } .aswitch { min-height: 220px; padding: 36px; } }

/* ---------- Project page ---------- */
.gal-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 32px; }
.gallery { columns: 1; column-gap: 16px; }
.gallery__item { break-inside: avoid; margin-bottom: 16px; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.gallery__item a { display: block; position: relative; }
.gallery__item img { width: 100%; transition: transform 1.2s var(--ease); }
.gallery__item a:hover img { transform: scale(1.04); }
@media (min-width: 800px) { .gallery { columns: 2; column-gap: 20px; } .gallery__item { margin-bottom: 20px; } }
@media (min-width: 1500px) { .gallery { columns: 3; } }

.pnav { display: grid; border-top: 1px solid var(--line); }
.pnav__item { position: relative; display: grid; gap: 10px; padding: 40px var(--gutter); overflow: hidden; isolation: isolate; }
.pnav__title { font-family: var(--f-display); font-size: clamp(1.4rem, 3vw, 2.8rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.08; max-width: 24ch; text-wrap: balance; }
.pnav__item--prev { color: var(--ink-2); }
.pnav__item--prev:hover .pnav__title { color: var(--navy); }
.pnav__item--next { color: #fff; min-height: 260px; align-content: end; }
.pnav__bg { position: absolute; inset: 0; z-index: -1; }
.pnav__bg img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.pnav__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(var(--shade), .8), rgba(var(--shade), .2)); }
.pnav__item--next:hover .pnav__bg img { transform: scale(1.06); }
@media (min-width: 900px) { .pnav { grid-template-columns: 1fr 1.6fr; } .pnav__item { padding: 64px var(--gutter); align-content: end; } .pnav__item--next { min-height: 46vh; } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 250; display: grid; place-items: center; background: rgba(6, 14, 26, .95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; opacity: 0; transition: opacity .4s; touch-action: pan-y; }
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lb__fig { display: grid; justify-items: center; gap: 14px; padding: 60px 12px; }
.lb__fig img { max-width: 94vw; max-height: 80vh; max-height: 80svh; width: auto; border-radius: 8px; box-shadow: 0 40px 80px rgba(0, 0, 0, .4); transition: opacity .3s, transform .5s var(--ease); }
.lb__fig img.is-switching { opacity: 0; transform: scale(.97); }
.lb__fig figcaption { opacity: .7; }
.lb__close, .lb__nav { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); transition: background-color .3s; }
.lb__close:hover, .lb__nav:hover { background: rgba(255, 255, 255, .18); }
.lb__close { top: max(14px, env(safe-area-inset-top)); right: 14px; }
.lb__nav { top: auto; bottom: max(16px, env(safe-area-inset-bottom)); }
.lb__nav--prev { left: calc(50% - 62px); }
.lb__nav--next { right: calc(50% - 62px); }
@media (min-width: 900px) { .lb__nav { top: 50%; bottom: auto; margin-top: -26px; } .lb__nav--prev { left: 24px; } .lb__nav--next { right: 24px; } }

/* ---------- About ---------- */
.subnav { position: sticky; top: 0; z-index: 20; background: rgba(245, 243, 238, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); border-radius: 22px 22px 0 0; transition: top .6s var(--ease); }
.hdr-visible .subnav { top: var(--hdr-h); border-radius: 0; }
.subnav ul { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-block: 12px; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 10px 16px; border-radius: 99px; font-weight: 500; font-size: .92rem; white-space: nowrap; transition: background-color .3s, color .3s; }
.subnav a:hover { background: var(--paper-2); }
.subnav a.is-active { background: var(--navy); color: #fff; }

.history__grid { display: grid; gap: 32px; }
.history__text p { color: var(--ink-2); font-size: 1.05rem; }
.history__text p + p { margin-top: 1.1em; }


.timeline { position: relative; display: grid; gap: 24px; margin-top: clamp(48px, 6vw, 88px); padding-left: 28px; }
.timeline__line { position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.timeline__line i { position: absolute; inset: 0; background: var(--navy); transform-origin: top; transform: scaleY(0); }
.no-anim .timeline__line i, .no-js .timeline__line i { transform: none; }
.timeline__item { position: relative; }
.timeline__dot { position: absolute; left: -28px; top: 12px; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 2px solid var(--navy); }
.timeline__year { display: block; font-family: var(--f-display); font-size: clamp(1.8rem, 2.8vw, 2.6rem); font-weight: 400; font-stretch: 112%; letter-spacing: -.04em; color: var(--ink); line-height: 1; margin-bottom: 10px; }
.timeline__item p { color: var(--ink-2); max-width: 32ch; }
@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(5, 1fr); gap: 28px; padding-left: 0; padding-top: 34px; }
  .timeline__line { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 1px; }
  .timeline__line i { transform-origin: left; transform: scaleX(0); }
  .timeline__dot { left: 0; top: -39px; }
}

.catalog { padding-block: clamp(48px, 6vw, 88px); background: var(--stone); }
.catalog__in { display: grid; gap: 32px; align-items: center; }
.catalog__img img { width: min(320px, 80%); filter: drop-shadow(0 30px 40px rgba(0, 30, 70, .25)); transform: rotate(-4deg); }
.catalog .h2 { margin: 16px 0; }
.catalog .btn { margin-top: 28px; }
@media (min-width: 900px) { .catalog__in { grid-template-columns: 1fr 1.4fr; } .catalog__img { justify-self: center; } }

.policy__grid { display: grid; gap: 40px; }
.policy__aside .h2 { margin-top: 20px; }
.policy__lead { font-family: var(--f-display); font-size: clamp(1.2rem, 1.7vw, 1.55rem); font-weight: 500; letter-spacing: -.025em; line-height: 1.22; color: var(--ink); }
.policy__list { margin-top: 40px; border-top: 1px solid var(--line); }
.policy__list li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.policy__list .mono { color: var(--accent); padding-top: 4px; }
.policy__list p { color: var(--ink-2); }
.policy__close { margin-top: 32px; font-weight: 500; font-size: 1.1rem; max-width: 60ch; }
.policy__sign { margin-top: 18px; color: var(--muted); }
@media (min-width: 1024px) { .policy__grid { grid-template-columns: 1fr 2fr; gap: 8vw; } .policy__aside { position: sticky; top: calc(var(--hdr-h) + 100px); align-self: start; } }

.certs__title { margin-top: clamp(48px, 6vw, 88px); margin-bottom: 24px; }
.certs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 16px; }
.cert a { display: grid; gap: 14px; }
.cert__paper { display: block; aspect-ratio: 193 / 300; padding: 8px; background: #fff; border-radius: 8px; box-shadow: 0 1px 2px rgba(0, 30, 70, .08), 0 20px 40px -24px rgba(0, 30, 70, .3); transition: transform .7s var(--ease), box-shadow .7s var(--ease); }
.cert__paper img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
.cert a:hover .cert__paper { transform: translateY(-10px) rotate(-1.5deg); box-shadow: 0 40px 60px -24px rgba(0, 30, 70, .4); }
.cert__label { font-size: .88rem; font-weight: 500; line-height: 1.3; }
@media (min-width: 700px) { .certs { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .certs { grid-template-columns: repeat(5, 1fr); gap: 28px; } }
.entity { margin-top: 56px; display: grid; gap: 16px; max-width: 640px; }
.entity img { border-radius: 8px; background: #fff; }
.entity figcaption { color: var(--muted); }

.clientlist { background: var(--white); }
.tabs__list { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 36px; padding: 6px; background: var(--paper); border-radius: 99px; width: max-content; max-width: 100%; }
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__list button { padding: 12px 20px; border-radius: 99px; font-weight: 600; font-size: .92rem; white-space: nowrap; transition: background-color .4s, color .4s; }
.tabs__list button sup { font-size: .62rem; opacity: .6; margin-left: 2px; }
.tabs__list button[aria-selected="true"] { background: var(--navy); color: #fff; }
.tabs__panel { animation: tabin .7s var(--ease); }
@keyframes tabin { from { opacity: 0; transform: translateY(14px); } }
.names { display: grid; gap: 0 28px; }
.names li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .98rem; line-height: 1.35; transition: color .3s, padding .4s var(--ease); }
.names li:hover { color: var(--navy); padding-left: 6px; }
.names small { color: var(--muted); font-size: .78rem; }
@media (min-width: 640px) { .names { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .names { grid-template-columns: repeat(3, 1fr); } .names--compact { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1400px) { .names--cols { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Contact / forms ---------- */
.contact__grid { display: grid; gap: 56px; }
.cinfo { display: grid; gap: 0; border-top: 1px solid var(--line); }
.cinfo li { display: grid; gap: 8px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cinfo__k { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); }
.cinfo__k .ico { width: 16px; height: 16px; color: var(--accent); }
.cinfo__v { font-family: var(--f-display); font-size: clamp(1.3rem, 2.1vw, 1.9rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.1; word-break: break-word; }
a.cinfo__v:hover { color: var(--navy); }
.cinfo__v--sm { font-size: clamp(1.15rem, 1.8vw, 1.5rem); line-height: 1.3; }
.cinfo .link-arrow { margin-top: 6px; }
.mapcard { position: relative; display: block; margin-top: 28px; border-radius: var(--radius); overflow: hidden; background: var(--stone); color: var(--ink-2); aspect-ratio: 400 / 260; }
.mapcard__svg { width: 100%; height: 100%; }
.mapcard__road { fill: none; stroke: #fff; stroke-width: 9; stroke-linecap: round; }
.mapcard__road--2 { stroke-width: 6; }
.mapcard__river { fill: none; stroke: var(--sky); stroke-width: 14; stroke-linecap: round; }
.mapcard__pin { fill: var(--accent); }
.mapcard__pulse { fill: rgba(232, 98, 44, .25); transform-origin: center; animation: mappulse 2.4s var(--ease) infinite; }
@keyframes mappulse { 0% { transform: scale(.3); opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }
.mapcard__label { position: absolute; left: 14px; bottom: 14px; padding: 7px 12px; background: rgba(255, 255, 255, .9); border-radius: 99px; font-size: .64rem; }
@media (min-width: 1024px) { .contact__grid { grid-template-columns: 1fr 1.15fr; gap: 7vw; align-items: start; } .contact__info { position: sticky; top: calc(var(--hdr-h) + 32px); } }

.contact__form { background: #fff; border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 56px); box-shadow: 0 1px 2px rgba(0, 30, 70, .05), 0 40px 80px -40px rgba(0, 30, 70, .25); }
.contact__form .h3 { margin-bottom: 28px; max-width: 24ch; }
.form { display: grid; gap: 18px; }
.field-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; min-height: 60px; padding: 26px 0 10px; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0;
  background: transparent; font: inherit; font-size: 1.05rem; color: var(--ink); outline: none; transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.5; }
.field label { position: absolute; left: 0; top: 20px; color: var(--muted); pointer-events: none; transform-origin: left top; transition: transform .45s var(--ease), color .3s; }
.field label small { font-size: .8em; }
.field input:focus, .field textarea:focus { border-color: var(--navy); }
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.field:focus-within::after { transform: scaleX(1); }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-16px) scale(.78); color: var(--navy); }
.field [aria-invalid="true"] { border-color: #c2361b; }
.field__err { display: block; margin-top: 6px; color: #c2361b; font-size: .84rem; }
.field__err[hidden] { display: none; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: .94rem; }
.check input { appearance: none; -webkit-appearance: none; width: 24px; height: 24px; margin: 0; border: 1.5px solid var(--line-2); border-radius: 6px; background: #fff; display: grid; place-items: center; cursor: pointer; transition: background-color .3s, border-color .3s; }
.check input::after { content: ""; width: 10px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) scale(0); margin-top: -2px; transition: transform .35s var(--ease); }
.check input:checked { background: var(--navy); border-color: var(--navy); }
.check input:checked::after { transform: rotate(-45deg) scale(1); }
.check input[aria-invalid="true"] { border-color: #c2361b; }
.check label { cursor: pointer; }
.check a { text-decoration: underline; text-underline-offset: 3px; color: var(--navy); }
.check .field__err { grid-column: 2; margin-top: 0; }
.form-legal { font-size: .78rem; color: var(--muted); line-height: 1.5; }
.form .btn { justify-self: start; margin-top: 6px; }
@media (max-width: 639px) { .form .btn { justify-self: stretch; } }
.form .btn.is-loading { pointer-events: none; opacity: .8; }
.form-msg { padding: 14px 16px; border-radius: 12px; background: var(--paper); font-size: .94rem; }
.form-msg.is-error { background: #fbe9e4; color: #8f2510; }
.form-msg[hidden] { display: none; }
.form-ok { display: flex; gap: 16px; align-items: flex-start; padding: 24px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); animation: tabin .7s var(--ease); }
.form-ok[hidden] { display: none; }
.form-ok .ico { width: 40px; height: 40px; padding: 8px; border-radius: 50%; background: var(--navy); color: #fff; }
.form-ok strong { font-family: var(--f-display); font-size: 1.4rem; letter-spacing: -.02em; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.seg { border: 0; padding: 0; margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.seg legend { width: 100%; margin-bottom: 10px; color: var(--muted); font-size: .9rem; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border: 1px solid var(--line-2); border-radius: 99px; font-weight: 500; transition: background-color .3s, color .3s, border-color .3s; }
.seg input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.drop { position: relative; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; z-index: 1; }
.drop label { display: grid; justify-items: center; gap: 6px; padding: 28px 18px; text-align: center; border: 1.5px dashed var(--line-2); border-radius: var(--radius); background: var(--paper); transition: border-color .3s, background-color .3s; }
.drop label span { font-size: .84rem; color: var(--muted); }
.drop__ico { width: 28px; height: 28px; color: var(--navy); }
.drop.is-over label, .drop:hover label { border-color: var(--navy); background: #fff; }
.drop.has-file label { border-style: solid; border-color: var(--navy); background: #fff; }
.drop [aria-invalid="true"] + label { border-color: #c2361b; }
.conditions { font-size: .82rem; color: var(--muted); }
.conditions summary { cursor: pointer; color: var(--navy); padding: 6px 0; }
.conditions p { padding-top: 8px; line-height: 1.55; }

.careers__grid { display: grid; gap: 40px; margin-top: clamp(28px, 4vw, 56px); }
.careers__text > p { color: var(--ink-2); font-size: 1.05rem; }
.careers__text > p + p { margin-top: 1.1em; }
.disciplines { margin-top: 40px; border-top: 1px solid var(--line); }
.disciplines li { display: grid; grid-template-columns: 40px 1fr; gap: 2px 12px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.disciplines .mono { color: var(--accent); grid-row: span 2; padding-top: 6px; }
.disciplines strong { font-family: var(--f-display); font-weight: 500; font-size: 1.25rem; letter-spacing: -.025em; }
.disciplines li > span:last-child { color: var(--muted); }
@media (min-width: 1024px) { .careers__grid { grid-template-columns: 1fr 1.15fr; gap: 7vw; align-items: start; } .careers__text { position: sticky; top: calc(var(--hdr-h) + 32px); } }

/* ---------- Legal / 404 ---------- */
.legal { padding: calc(var(--hdr-h) + clamp(36px, 5vw, 72px)) 0 var(--sec); }
.legal__grid { display: grid; gap: 48px; }
.legal__head .h1 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); margin: 18px 0 14px; color: var(--ink); }
.legal__head .mono { color: var(--muted); }
.legal__nav { margin-top: 32px; display: grid; gap: 4px; }
.legal__nav a { display: inline-block; padding: 6px 0; color: var(--muted); }
.legal__nav a[aria-current] { color: var(--navy); font-weight: 600; }
.prose { max-width: 72ch; color: var(--ink-2); }
.prose h2 { font-family: var(--f-display); font-size: 1.45rem; font-weight: 500; letter-spacing: -.02em; color: var(--ink); margin: 2.2em 0 .6em; }
.prose > h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin-bottom: 1em; }
.prose ul { padding-left: 1.2em; list-style: disc; }
.prose li { margin-bottom: .5em; }
.prose a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 1024px) { .legal__grid { grid-template-columns: 1fr 1.8fr; gap: 8vw; } .legal__head { position: sticky; top: calc(var(--hdr-h) + 40px); align-self: start; } }

.notfound { min-height: 90svh; display: grid; align-items: center; padding: calc(var(--hdr-h) + 40px) 0 80px; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; }
.notfound__code { color: var(--accent); margin-bottom: 20px; }
.notfound .h1 { max-width: 14ch; color: var(--ink); }
.notfound .lead { margin-top: 24px; }
.notfound__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }

/* ---------- Footer ---------- */
main { position: relative; z-index: 1; background: var(--paper); }
.ftr { position: relative; z-index: 0; background: var(--stone); color: var(--ink); overflow: hidden; padding-top: clamp(56px, 7vw, 112px); }
.ftr.is-reveal { position: sticky; bottom: 0; }
.ftr__grid-lines { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); padding-inline: var(--gutter); max-width: var(--wrap); margin-inline: auto; pointer-events: none; }
.ftr__grid-lines i { border-left: 1px solid var(--line); }
.ftr__grid-lines i:last-child { border-right: 1px solid var(--line); }
.ftr .wrap { position: relative; }
.ftr .eyebrow--light { color: var(--ink-2); }
.ftr__big { display: grid; gap: 24px; margin-top: 20px; }
.ftr__big-txt { font-size: clamp(2rem, 4.4vw, 4.4rem); line-height: 1; letter-spacing: -.04em; max-width: 18ch; }
.ftr__big-arrow { display: grid; place-items: center; width: clamp(64px, 7vw, 104px); aspect-ratio: 1; border-radius: 50%; background: var(--navy); color: #fff; transition: transform .7s var(--ease), background-color .4s; }
.ftr__big-arrow .ico { width: 40%; height: 40%; }
.ftr__big:hover .ftr__big-arrow { transform: rotate(45deg) scale(1.06); background: var(--ink); }
@media (min-width: 900px) { .ftr__big { grid-template-columns: 1fr auto; align-items: end; } }
.ftr__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 24px; margin-top: clamp(44px, 5vw, 80px); padding-top: 36px; border-top: 1px solid var(--line-2); }
.ftr__h { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--muted); margin-bottom: 14px; }
.ftr__col { font-size: .96rem; line-height: 1.7; color: var(--ink-2); }
.ftr__col address { margin-bottom: 10px; }
.ftr__col li { padding: 2px 0; }
.ftr__lg { display: block; font-family: var(--f-display); font-size: clamp(1.1rem, 1.5vw, 1.3rem); letter-spacing: -.02em; color: var(--ink); word-break: break-word; }
.ftr__lg:hover { color: var(--navy); }
.langs--ftr { margin-top: 18px; gap: 6px; }
.langs--ftr a { padding: 0 10px; border: 1px solid var(--line-2); border-radius: 99px; height: 30px; }
@media (max-width: 639px) { .ftr__col:nth-child(-n+2) { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .ftr__cols { grid-template-columns: 1.2fr 1.2fr 1fr 1fr; } }
.ftr__word { position: relative; display: flex; justify-content: space-between; padding-inline: calc(var(--gutter) * .5); margin-top: clamp(40px, 5vw, 72px); font-family: var(--f-display); font-weight: 700; font-stretch: 125%; font-size: 18.4vw; line-height: .74; letter-spacing: -.05em; color: #dbd6cd; overflow: hidden; user-select: none; }
.ftr__word span { display: block; padding-top: .04em; }
.ftr__bottom { display: grid; gap: 8px; padding-block: 22px max(26px, env(safe-area-inset-bottom)); font-size: .82rem; color: var(--muted); border-top: 1px solid var(--line-2); }
.ftr__top:hover { color: var(--navy); }
@media (min-width: 900px) { .ftr__bottom { grid-template-columns: 1fr 1fr auto; align-items: center; } }
@media (max-width: 1023px) { .ftr__bottom { padding-bottom: calc(96px + env(safe-area-inset-bottom)); } }

/* ---------- Quick action bar (móvil) ---------- */
.quickbar {
  position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 80;
  display: grid; grid-template-columns: auto auto 1fr; gap: 6px; padding: 6px;
  background: rgba(13, 27, 42, .86); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-radius: 99px; color: #fff; box-shadow: 0 20px 40px -12px rgba(0, 20, 50, .45);
  transform: translateY(160%); transition: transform .7s var(--ease);
}
.quickbar.is-visible { transform: none; }
.menu-open .quickbar { transform: translateY(160%); }
.quickbar a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 16px; border-radius: 99px; font-weight: 600; font-size: .9rem; }
.quickbar a .ico { width: 18px; height: 18px; }
.quickbar a:not(.is-primary) span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.quickbar a:not(.is-primary) { width: 48px; padding: 0; background: rgba(255, 255, 255, .1); }
.quickbar .is-primary { background: var(--navy); }
@media (min-width: 420px) { .quickbar { left: 50%; right: auto; width: 400px; margin-left: -200px; } }
@media (min-width: 1024px) { .quickbar { display: none; } }

/* ---------- Cursor (desktop) ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .has-cursor .cursor { display: grid; place-items: center; position: fixed; left: 0; top: 0; z-index: 260; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--accent); pointer-events: none; transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), background-color .4s, opacity .3s; will-change: transform; mix-blend-mode: normal; }
  .has-cursor .cursor.is-label { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--ink); }
  .has-cursor .cursor.is-hidden { opacity: 0; }
  .cursor__label { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; opacity: 0; transform: scale(.6); transition: opacity .3s, transform .5s var(--ease); }
  .cursor.is-label .cursor__label { opacity: 1; transform: none; }
}

/* ---------- Motion safety ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none; }
  .expand { height: auto; }
  .expand__frame { position: relative; clip-path: none; }
  .expand__quote { position: absolute; margin-top: 0; }
  .parallax > img, .expand__img { transform: none; }
  [data-words] .w { opacity: 1 !important; }
  .js .hero__title .ln > span { transform: none !important; }
  .js [data-hero-content] [data-anim="fade"] { opacity: 1 !important; }
  .stack__card { position: relative; top: auto; }
}

@media print {
  .hdr, .menu, .quickbar, .cursor, .loader, .ftr__word, .hero__scroll { display: none !important; }
  .hero, .phero { position: relative; height: auto; min-height: 0; color: var(--ink); background: none; }
  .hero__media, .phero__media, .hero__veil, .phero__veil { display: none; }
  .sheet { box-shadow: none; margin: 0; }
}
.no-anim .loader { display: none !important; }
.no-anim body { overflow: auto; }
.pl-mask, .sl-mask { padding-bottom: .1em; margin-bottom: -.1em; }
.lb-open .quickbar, .lb-open .hdr { transform: translateY(-140%); } .lb-open .quickbar { transform: translateY(160%); }

/* ==========================================================================
   v2 · Introducciones compactas y horizontales
   ========================================================================== */
.intro { padding-block: clamp(36px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.intro__grid { display: grid; gap: 18px 48px; }
.intro__h { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.25rem, 1.9vw, 1.75rem); line-height: 1.22; letter-spacing: -.022em; color: var(--ink); text-wrap: pretty; max-width: 46ch; }
.intro__h + .intro__h { margin-top: 0; }
.intro__side { display: grid; gap: 14px; align-content: start; }
.intro__text { color: var(--ink-2); font-size: 1.02rem; max-width: 68ch; }
.intro__text p + p { margin-top: .9em; }
.intro__facts { display: flex; flex-wrap: wrap; gap: 8px; }
.intro__facts li { padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 99px; font-size: .84rem; color: var(--ink-2); background: #fff; }
.intro__facts a:hover { color: var(--navy); }
.clamp-lines { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
.clamp-lines.is-open { -webkit-line-clamp: unset; display: block; }
.more-btn { justify-self: start; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--navy); padding: 4px 0; }
.more-btn .ico { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.more-btn[aria-expanded="true"] .ico { transform: rotate(45deg); }
@media (min-width: 900px) {
  .intro__grid { grid-template-columns: minmax(220px, 1fr) 2.4fr; align-items: start; }
  .clamp-lines { -webkit-line-clamp: unset; display: block; }
  .more-btn { display: none; }
}

/* Historia: fila horizontal de imágenes */
.history__head { display: grid; gap: 18px 56px; }
@media (min-width: 1024px) { .history__head { grid-template-columns: 1.15fr 1fr; align-items: start; } }
.history__strip { display: grid; grid-template-columns: 1.5fr 1fr; gap: 12px; margin-top: clamp(32px, 4vw, 56px); }
.history__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; }
.history__img--b { aspect-ratio: auto; }
.history__img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 639px) { .history__strip { grid-template-columns: 1fr 1fr; } .history__img { aspect-ratio: 4 / 3; } }

.phero--short { height: 52vh; height: 52svh; min-height: 380px; max-height: 620px; }
.intro + .pgrid-sec { padding-top: clamp(28px, 3vw, 44px); }
.clamp-box { position: relative; max-height: 10.5em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.clamp-box.is-open { max-height: none; -webkit-mask-image: none; mask-image: none; }
@media (min-width: 900px) { .clamp-box { max-height: none; -webkit-mask-image: none; mask-image: none; } }

/* ==========================================================================
   v3 · Sin numeraciones decorativas · Logo más grande
   ========================================================================== */
.place { grid-template-columns: 1fr; }
.place__desc { grid-column: 1; }
@media (min-width: 1024px) { .place { grid-template-columns: 1.2fr 1fr; } .place__desc { grid-column: 2; } }
.policy__list li { display: block; }
.disciplines li { grid-template-columns: 1fr; }
.arow__eyebrow { margin-bottom: 14px; }
.menu__nav a { gap: 0; }
.fcard__info { gap: 0; }

:root { --hdr-h: 76px; }
@media (min-width: 1024px) { :root { --hdr-h: 100px; } }
/* Cabecera siempre clara: el logo conserva su azul y gris corporativos */
.hdr { background: rgba(245, 243, 238, .94); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); box-shadow: 0 1px 0 var(--line); }
.hdr .logo { height: 48px; color: #004d87; }
@media (min-width: 1024px) { .hdr .logo { height: 64px; } }
.hdr.is-scrolled .logo { height: 44px; }
@media (min-width: 1024px) { .hdr.is-scrolled .logo { height: 54px; } }
.hdr .logo { transition: height .4s var(--ease); }

/* Logo del 40 aniversario en Historia (Conócenos) */
.anniv { margin-top: 28px; }
.anniv img { width: min(300px, 70%); height: auto; }
@media (min-width: 1024px) { .anniv { margin-top: 40px; } .anniv img { width: 320px; } }
.pdesc p { white-space: pre-line; }

/* Ámbito de actuación: mapa a todo el ancho */
.world__head { margin-bottom: clamp(20px, 3vw, 40px); }
.world__head .h2 { margin-top: 16px; max-width: 16ch; }
.world__text { margin: 0; align-self: end; }
@media (min-width: 900px) { .world__head.sec__head--split { grid-template-columns: 1.1fr 1fr; align-items: end; } }
.world__map { margin: 0; }
.world__map img { width: 100%; height: auto; -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 78%, transparent 100%); mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 78%, transparent 100%); }

/* Igualdad / Emakunde */
.quality__equality { margin-top: 14px; }
.emakunde { display: block; width: min(420px, 100%); height: auto; margin-top: 26px; border-radius: 6px; }
.quality .emakunde + .link-arrow { margin-top: 22px; }
.stack__meta { justify-content: flex-end; }
@media (min-width: 1024px) { .stack__meta { grid-row: 3; } }

/* Objetivos táctiles */
.link-arrow { min-height: 44px; }
.check label { padding-block: 2px; }
.check label a { display: inline-block; padding-block: 6px; margin-block: -6px; }

/* Aviso de cookies */
.cookie-banner { position: fixed; z-index: 150; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); display: grid; gap: 10px; padding: 18px 18px 16px; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 24px 60px -20px rgba(var(--shade), .35); }
.cookie-banner[hidden] { display: none; }
.cookie-banner__title { font-family: var(--f-display); font-weight: 500; font-size: 1.08rem; letter-spacing: -.01em; }
.cookie-banner__text { font-size: .9rem; line-height: 1.5; color: var(--ink-2); }
.cookie-banner__text a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.cookie-banner__actions .btn { min-height: 46px; }
.cc-open .quickbar { transform: translateY(160%); }
@media (min-width: 640px) { .cookie-banner { left: auto; right: 24px; bottom: 24px; width: 420px; } }
