/* =========================================================
   FELLYGHAT — styles.css
   Identidad: Azul corporativo, Gris carbón, Blanco
   ========================================================= */
/* ---------- Fuentes (alojadas localmente, licencia OFL) ---------- */
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader.woff") format("woff"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-italic.woff") format("woff"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope.woff") format("woff"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/plexmono-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/plexmono-500.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  /* Marca (muestreado del isotipo) */
  --blue: #416BA5;
  --blue-700: #3A6084;
  --blue-800: #2F4E73;
  --blue-900: #1F3550;
  --blue-100: #DCE6F2;
  --blue-50: #EEF3F9;
  --carbon: #645F5B;
  --carbon-700: #4A4643;
  --carbon-900: #2A2725;
  --ink: #1E2023;
  --paper: #FFFFFF;
  --paper-2: #F5F5F3;
  --line: #E3E2DF;
  --muted: #5F6166;

  --font-display: "Newsreader", "Times New Roman", serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --pill: 999px;

  --space-section: clamp(5rem, 10vw, 9rem);
  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 1280px;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --shadow-soft: 0 0 10px rgba(0, 0, 0, .05);
  --shadow-card: 0 20px 60px -20px rgba(31, 53, 80, .25);
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--blue); color: #fff; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--blue-900); color: #fff; padding: .75rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 900px; }
.section { padding: var(--space-section) 0; }
.text-center { text-align: center; }
.muted { color: var(--muted); }

/* ---------- Tipografía ---------- */
.h1, .h2, .h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0;
  font-optical-sizing: auto;
}
.h1 { font-size: clamp(2.6rem, 6vw, 5.25rem); line-height: 1.04; }
.h2 { font-size: clamp(2.1rem, 4.2vw, 3.6rem); line-height: 1.08; }
.h3 { font-size: clamp(1.75rem, 3vw, 2.6rem); line-height: 1.12; }
.h1 em, .h2 em, .h3 em, .service__title em, .story__title em, .services__card-title em { font-style: italic; }
.h2 em, .h3 em { color: var(--blue); }

.eyebrow, .mono {
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; color: var(--carbon); margin: 0 0 1.25rem; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.eyebrow--center { justify-content: center; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.65; color: var(--ink); }

/* split words (JS) */
.word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.word > span { display: inline-block; will-change: transform; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 44px; padding: .55rem 1.35rem;
  font-family: var(--font-body); font-size: .85rem; font-weight: 600; letter-spacing: .01em;
  text-decoration: none; border-radius: var(--pill); border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: background-color .25s var(--ease-out), color .25s var(--ease-out), border-color .25s var(--ease-out), transform .25s var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-900); }
.btn--ghost { border-color: #B9B8B4; color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--blue-50); }
.btn--outline-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--outline-light:hover { background: rgba(255,255,255,.14); border-color: #fff; }
.btn--lg { min-height: 52px; padding: .8rem 2rem; font-size: .95rem; }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  transition: background-color .25s, border-color .25s, color .25s;
}
.icon-btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.icon-btn svg, .badge__icon svg, .orbit__card svg, .policy svg {
  width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.link-btn { background: none; border: 0; padding: 0; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-weight: 600; }

/* ---------- NAV ---------- */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 100; padding: 0 var(--gutter); transition: transform .5s var(--ease-out); }
.nav.is-hidden { transform: translateY(-140%); }
.nav__bar {
  max-width: var(--max); margin: 0 auto; height: 62px;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0 8px 0 18px; background: #fff; border-radius: 80px; box-shadow: var(--shadow-soft);
}
.nav__brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font-weight: 700; letter-spacing: .16em; font-size: .9rem; color: var(--carbon-900); }
.nav__brand img { width: 30px; height: auto; }
.nav__links { display: flex; gap: .25rem; }
.nav__links a {
  text-decoration: none; font-size: .85rem; font-weight: 600; color: var(--carbon-700);
  padding: .5rem .85rem; border-radius: var(--pill); transition: background-color .2s, color .2s;
}
.nav__links a:hover, .nav__links a.is-current { background: var(--paper-2); color: var(--ink); }
.nav__actions { display: flex; align-items: center; gap: .5rem; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease-out), top .3s; }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.mobile-menu {
  max-width: var(--max); margin: .5rem auto 0; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-card); padding: .75rem; display: grid;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: .9rem 1rem; text-decoration: none; font-weight: 600; border-radius: var(--radius-sm); }
.mobile-menu a:hover { background: var(--paper-2); }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; color: #fff; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.hero__veil { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(20,34,52,.55) 0%, rgba(20,34,52,.25) 35%, rgba(20,34,52,.45) 70%, rgba(20,34,52,.8) 100%),
  radial-gradient(ellipse at center, rgba(31,53,80,.25), rgba(31,53,80,.55)); }
.hero__content { text-align: center; padding: 8rem var(--gutter) 6rem; max-width: 1050px; }
.hero__title { margin: 1.5rem 0 1.25rem; }
.hero__lead { max-width: 620px; margin: 0 auto 2rem; font-size: clamp(1rem, 1.3vw, 1.15rem); color: rgba(255,255,255,.88); }
.hero__cta { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.hero__scroll { position: absolute; bottom: 1.75rem; left: 50%; transform: translateX(-50%); display: grid; justify-items: center; gap: .6rem; text-decoration: none; color: rgba(255,255,255,.8); }
.hero__scroll .mono { font-size: .62rem; }
.hero__scroll-line { width: 1px; height: 44px; background: linear-gradient(rgba(255,255,255,.9), transparent); animation: scrollLine 2.2s var(--ease-out) infinite; transform-origin: top; }
@keyframes scrollLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

.badge {
  display: inline-flex; align-items: center; gap: .55rem; height: 36px; padding: 0 1rem 0 .4rem;
  border-radius: var(--pill); background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.badge__icon { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.18); }
.badge__icon svg { width: 14px; height: 14px; }
.badge__track { position: relative; display: inline-grid; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; }
.badge__word { grid-area: 1 / 1; opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); white-space: nowrap; }
.badge__word.is-active { opacity: 1; transform: none; }

/* ---------- ORBIT ---------- */
.orbit { position: relative; height: min(115vw, 1060px); min-height: 640px; display: grid; place-items: center; overflow: hidden; background: var(--paper); }
.orbit__ring { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.orbit__card {
  position: absolute; left: 0; top: 0; width: 150px; height: 98px; margin: -49px 0 0 -75px;
  display: grid; align-content: center; justify-items: center; gap: .5rem; padding: .75rem; text-align: center;
  background: #fff; border-radius: 14px; box-shadow: 0 6px 30px rgba(31,53,80,.09);
  color: var(--carbon-700);
}
.orbit__card svg { width: 22px; height: 22px; color: var(--blue); }
.orbit__card span { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; line-height: 1.35; }
.orbit__center { position: relative; z-index: 2; text-align: center; max-width: 560px; padding: 0 var(--gutter); }
.orbit__center .eyebrow { justify-content: center; }

/* ---------- ABOUT ---------- */
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.about__text .h2 { margin-bottom: 1.5rem; }
.about__text p { color: var(--muted); }
.about__text .lead { color: var(--ink); }
.about__media { margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.split-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2.25rem; }
.split-stat { background: var(--paper-2); border-radius: var(--radius); padding: 1.5rem; }
.split-stat:first-child { background: var(--blue); color: #fff; }
.split-stat__num, .split-stat__pct { font-family: var(--font-display); font-size: clamp(2.6rem, 4.5vw, 3.6rem); line-height: 1; }
.split-stat__label { display: block; margin-top: .75rem; color: inherit; opacity: .85; font-size: .64rem; }

/* ---------- SERVICES ---------- */
.services { padding: var(--space-section) 0; background: var(--paper); }
.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-head--row { max-width: var(--max); display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.services__wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.services__stage { position: sticky; top: 100px; height: calc(100vh - 140px); max-height: 720px; }
.services__card {
  height: 100%; border-radius: var(--radius); background: var(--blue); padding: clamp(1.5rem, 3vw, 2.5rem);
  display: grid; grid-template-rows: auto 1fr; gap: 1.5rem; transition: background-color .7s var(--ease-out);
}
.services__card-title { margin: 0; font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.3rem); color: #fff; text-align: center; letter-spacing: -.01em; }
.services__card-text { display: inline-block; }
.services__card-media { position: relative; border-radius: 14px; overflow: hidden; background: rgba(255,255,255,.1); }
.services__card-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.06); transition: opacity .8s var(--ease-out), transform 1.2s var(--ease-out);
}
.services__card-media img.is-active { opacity: 1; transform: scale(1); }
.services__list { list-style: none; margin: 0; padding: 0; }
.service { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; padding: 2rem 0; opacity: .32; transition: opacity .5s var(--ease-out); }
.service.is-active { opacity: 1; }
.service__img-mobile { display: none; }
.service__num { color: var(--blue); margin-bottom: .75rem; }
.service__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.9rem, 3.2vw, 2.9rem); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 1rem; display: flex; align-items: center; gap: .6rem; }
.service__title::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); flex: none; transform: scale(0); transition: transform .4s var(--ease-out); }
.service.is-active .service__title { font-style: italic; }
.service.is-active .service__title::before { transform: scale(1); }
.service p { color: var(--muted); max-width: 520px; margin: 0 0 1.25rem; }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.tags li { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; padding: .45rem .8rem; border: 1px solid var(--line); border-radius: var(--pill); color: var(--carbon-700); }

/* ---------- TRADE ---------- */
.trade { background: var(--paper-2); }
.trade__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.trade__media { margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 11; }
.trade__media img { width: 100%; height: 100%; object-fit: cover; }
.trade__text .h3 { margin-bottom: 1.25rem; }
.trade__text p { color: var(--muted); margin: 0 0 1.75rem; max-width: 480px; }

/* ---------- PHILOSOPHY ---------- */
.philosophy { overflow: hidden; }
.slider-nav { display: flex; gap: .5rem; }
.philo-track {
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 0 var(--gutter) .5rem; scroll-padding: 0 var(--gutter); cursor: grab;
}
.philo-track::-webkit-scrollbar { display: none; }
.philo-track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.philo-track.is-dragging img { pointer-events: none; }
.philo-rail { display: flex; gap: 20px; width: max-content; }
@media (min-width: 1360px) { .philo-rail { padding-left: calc((100vw - var(--max)) / 2); padding-right: calc((100vw - var(--max)) / 2); } }
.story { flex: none; width: min(78vw, 400px); height: 520px; border-radius: var(--radius); overflow: hidden; position: relative; background: var(--paper-2); scroll-snap-align: start; }
.icon-btn:disabled { opacity: .35; cursor: default; background: #fff; color: var(--ink); border-color: var(--line); }
.story--image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.story--image:hover img { transform: scale(1.05); }
.story__overlay { position: absolute; inset: auto 0 0 0; padding: 1.75rem; color: #fff; background: linear-gradient(180deg, transparent, rgba(20,34,52,.92) 38%); padding-top: 6rem; }
.story__overlay .mono { margin: 0 0 .75rem; opacity: .85; }
.story__quote { font-family: var(--font-display); font-size: 1.22rem; line-height: 1.35; margin: 0; }
.story--value { padding: 2rem; display: flex; flex-direction: column; justify-content: flex-end; }
.story--value .mono { position: absolute; top: 2rem; left: 2rem; margin: 0; color: var(--blue); }
.story__title { font-family: var(--font-display); font-weight: 400; font-size: 2.5rem; letter-spacing: -.02em; line-height: 1.05; margin: 0 0 1rem; }
.story--value p { color: var(--muted); margin: 0; font-size: 1.02rem; }
.story--blue { background: var(--blue); color: #fff; }
.story--carbon { background: var(--carbon); color: #fff; }
.story--blue .mono, .story--carbon .mono { color: rgba(255,255,255,.8); }
.story--blue p, .story--carbon p { color: rgba(255,255,255,.85); }

/* ---------- BANNER ---------- */
.banner { position: relative; min-height: 100vh; display: grid; place-items: center; padding: 6rem var(--gutter); isolation: isolate; overflow: hidden; }
.banner__media { position: absolute; inset: 0; z-index: -1; background: var(--blue-900); }
.banner__video { width: 100%; height: 120%; object-fit: cover; }
.banner__media::after { content: ""; position: absolute; inset: 0; background: rgba(20,34,52,.28); }
.banner__card { width: 100%; max-width: 980px; background: #fff; border-radius: var(--radius); padding: clamp(2rem, 5vw, 4rem); text-align: center; box-shadow: var(--shadow-card); }
.banner__card > p { color: var(--muted); max-width: 560px; margin: 1.25rem auto 0; }
.policies { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; text-align: left; }
.policy { background: var(--paper-2); border-radius: var(--radius-sm); padding: 1.5rem; }
.policy svg { width: 26px; height: 26px; color: var(--blue); margin-bottom: 1rem; }
.policy h3 { font-size: 1rem; margin: 0 0 .5rem; font-weight: 700; }
.policy p { font-size: .9rem; color: var(--muted); margin: 0; line-height: 1.55; }

/* ---------- FAQ ---------- */
.accordion { margin-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); }
.acc summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.5rem .25rem; cursor: pointer; font-weight: 600; font-size: 1.05rem;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary i { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--paper-2); transition: background-color .25s, transform .4s var(--ease-out); }
.acc summary i::before, .acc summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; background: currentColor; transform: translate(-50%, -50%); }
.acc summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease-out); }
.acc[open] summary i { background: var(--blue); color: #fff; }
.acc[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc summary:hover i { background: var(--blue-100); }
.acc[open] summary:hover i { background: var(--blue-900); }
.acc__body { overflow: hidden; }
.acc__body p { margin: 0; padding: 0 3.5rem 1.75rem .25rem; color: var(--muted); }

/* ---------- AREAS ---------- */
.areas { padding-top: 0; }
.pills { list-style: none; padding: 0; margin: clamp(2.5rem, 5vw, 3.5rem) auto 0; max-width: 1000px; display: flex; flex-wrap: wrap; justify-content: center; gap: .65rem; }
.pills a {
  display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; padding: .65rem 1.3rem;
  background: var(--paper-2); border-radius: var(--pill); text-decoration: none;
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--carbon-700);
  transition: background-color .25s, color .25s, transform .25s var(--ease-out);
}
.pills a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); transition: background-color .25s; }
.pills a:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.pills a:hover::before { background: #fff; }

/* ---------- CLOSING ---------- */
.closing { position: relative; min-height: 100vh; display: grid; place-items: center; text-align: center; color: #fff; overflow: hidden; isolation: isolate; }
.closing__media { position: absolute; inset: -10% 0; z-index: -1; }
.closing__media img { width: 100%; height: 100%; object-fit: cover; }
.closing__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(31,53,80,.55), rgba(31,53,80,.75)); }
.closing__content { max-width: 1000px; padding: 0 var(--gutter); }
.closing__content .h1 { margin-bottom: 2.25rem; }

/* ---------- FOOTER ---------- */
.footer { background: #fff; padding-top: var(--space-section); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 6vw, 6rem); }
.footer__logo { width: 44px; height: auto; margin-bottom: 1.5rem; }
.footer__intro .h3 { margin-bottom: 1rem; }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.1rem; }
.contact-list li { display: grid; gap: .25rem; }
.contact-list .mono { color: var(--carbon); font-size: .64rem; }
.contact-list a { color: var(--blue); font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.clock { font-family: var(--font-mono); font-size: 1rem; }
.footer__media { margin: 2rem 0 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; max-width: 100%; }
.footer__media img { width: 100%; height: 100%; object-fit: cover; }

.form { background: var(--paper-2); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.5rem); display: grid; gap: 1.1rem; align-content: start; align-self: start; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-size: .82rem; font-weight: 600; color: var(--carbon-700); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .75rem 1rem; font: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(65,107,165,.2); }
.field input[aria-invalid="true"] { border-color: #B42318; }
.check { display: flex; gap: .65rem; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.form__error { margin: 0; color: #B42318; font-size: .88rem; font-weight: 600; }
.form .btn { justify-self: start; }

.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: clamp(4rem, 8vw, 6rem); padding-top: 2.5rem; border-top: 1px solid var(--line); }
.footer__cols > div { display: grid; gap: .6rem; align-content: start; justify-items: start; }
.footer__cols .mono { color: var(--carbon); margin: 0 0 .5rem; font-size: .64rem; }
.footer__cols a, .footer__cols .link-btn { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .92rem; }
.footer__cols a:hover, .footer__cols .link-btn:hover { color: var(--blue); }
.footer__cols .link-btn { text-decoration: none; }

.footer__wordmark { padding: 0 var(--gutter); margin-top: clamp(3rem, 6vw, 5rem); text-align: center; line-height: .8; }
.footer__wordmark span { display: inline-block; font-family: var(--font-display); font-weight: 400; letter-spacing: -.04em; font-size: clamp(3rem, 15vw, 14.5rem); color: var(--carbon-900); white-space: nowrap; }
.footer__wordmark .char { display: inline-block; }
.footer__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding-top: 2rem; padding-bottom: 2rem; font-size: .8rem; color: var(--muted); }

/* ---------- PRIVACY DIALOG ---------- */
.privacy { border: 0; padding: 0; border-radius: var(--radius); width: min(720px, calc(100vw - 2rem)); max-height: 85vh; box-shadow: var(--shadow-card); }
.privacy::backdrop { background: rgba(20,34,52,.6); backdrop-filter: blur(4px); }
.privacy__inner { padding: clamp(1.75rem, 4vw, 3rem); position: relative; }
.privacy__inner .h3 { margin-bottom: 1.25rem; }
.privacy__inner p { color: var(--muted); }
.privacy__inner a { color: var(--blue); }
.privacy__close { position: absolute; top: 1rem; right: 1rem; }

/* ---------- Reveal defaults (JS adds .js) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); }
.js .clip-reveal { clip-path: inset(12% 8% 12% 8% round 28px); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-block; }
}
@media (max-width: 900px) {
  .about__grid, .trade__grid, .footer__top { grid-template-columns: 1fr; }
  .about__media { aspect-ratio: 4 / 3; }
  .services__wrap { grid-template-columns: 1fr; }
  .services__stage { display: none; }
  .service { min-height: 0; opacity: 1; padding: 0 0 3.5rem; }
  .service__img-mobile { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); margin-bottom: 1.5rem; }
  .service__title { font-style: italic; }
  .service__title::before { transform: scale(1); }
  .policies { grid-template-columns: 1fr; }
  .orbit { height: 760px; }
  .orbit__card { width: 120px; height: 84px; margin: -42px 0 0 -60px; }
}
@media (max-width: 640px) {
  .nav__contact, .nav__actions .btn--primary { display: none; }
  .nav__bar { height: 56px; }
  .section-head--row { flex-direction: column; align-items: flex-start; }
  .form__row { grid-template-columns: 1fr; }
  .split-stats { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .story { height: 470px; }
  .orbit { height: 680px; min-height: 0; }
  .orbit__card { width: 104px; height: 76px; margin: -38px 0 0 -52px; padding: .5rem; }
  .orbit__card span { font-size: .52rem; }
  .acc__body p { padding-right: .25rem; }
  .hero__content { padding-top: 7rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .clip-reveal { clip-path: none; }
  .hero__video { transform: none; }
}
