/* ═══════════════════════════════════════════
   FLOVADI — Stylesheet
   Misma base que Ninsar (concreto, tinta) con el azul eléctrico de FLOVADI
   ═══════════════════════════════════════════ */

:root {
  --bg:        #f2efe9;
  --bg-2:      #e8e4dc;
  --paper:     #faf8f4;
  --ink:       #121211;
  --muted:     #6f6b64;
  --line:      rgba(18,18,17,.13);
  --line-2:    rgba(18,18,17,.28);
  --grid:      rgba(18,18,17,.05);
  --blue:      #1a2bff;
  --blue-2:    #00b8ff;
  --blue-deep: #0d1bb3;
  --on-dark:   #ece8e1;
  --on-dark-2: #9a958c;
  --line-dark: rgba(236,232,225,.14);
  --flyout:    #c8102e;

  --pad:  clamp(20px, 4.5vw, 64px);
  --nav:  68px;
  --ease:    cubic-bezier(.2,.8,.2,1);
  --ease-io: cubic-bezier(.7,0,.3,1);

  --f-sans:  'Archivo', system-ui, -apple-system, sans-serif;
  --f-mono:  'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --f-serif: 'Instrument Serif', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav); }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--f-sans); font-size: 16px; line-height: 1.5;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

em { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }

.progress {
  position: fixed; top: 0; left: 0; right: 0; z-index: 400;
  height: 2px; background: linear-gradient(90deg, var(--blue), var(--blue-2));
  transform: scaleX(0); transform-origin: 0 50%;
}

/* ── NAV ───────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  height: var(--nav); padding: 0 var(--pad);
  display: flex; align-items: center; gap: 32px;
  background: rgba(242,239,233,.84);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: transform .45s var(--ease);
}
.nav.hide { transform: translateY(-100%); }

.logo { font-weight: 700; font-stretch: 125%; font-size: 1.05rem; letter-spacing: .14em; }
.logo span {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.nav-links { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav-link {
  position: relative; padding: 6px 0;
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); transition: color .3s;
}
.nav-link i { font-style: normal; font-size: .62rem; color: var(--blue); margin-right: 6px; }
.nav-link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--ink); transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--ink); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); transform-origin: left; }

.menu-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 6px;
  width: 44px; height: 44px; margin-left: auto;
  background: none; border: 0; cursor: pointer;
}
.menu-toggle span {
  display: block; width: 26px; height: 1.5px; background: var(--ink); margin-left: auto;
  transition: transform .45s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child  { transform: translateY(-3.75px) rotate(-45deg); }

/* ── BOTONES ───────────────────────────────── */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: 14px;
  height: 52px; padding: 0 26px;
  font-family: var(--f-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid var(--ink); cursor: pointer; white-space: nowrap;
  transition: color .4s var(--ease), border-color .4s;
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(135deg, var(--blue), var(--blue-2)); transform: translateY(101%);
  transition: transform .45s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn span { display: inline-block; transition: transform .4s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn-ink  { background: var(--ink); color: var(--bg); }
.btn-ink:hover { color: #fff; border-color: var(--blue); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line::before { background: var(--ink); }
.btn-line:hover { color: var(--bg); }
.btn-sm { height: 40px; padding: 0 18px; font-size: .68rem; }

/* ── ELEMENTOS COMUNES ─────────────────────── */
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue-deep); margin-bottom: 20px;
}
.label::before { content: ''; width: 18px; height: 1px; background: currentColor; }
.label-dark { color: var(--blue-2); }

.display {
  font-weight: 500; font-stretch: 82%;
  font-size: clamp(3.1rem, 7.2vw, 7rem); line-height: .92; letter-spacing: -.035em;
  margin-bottom: 32px;
}
.display em, .title em { color: var(--blue-deep); }
.display .ln { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.display .ln > span { display: block; }
.js .display .ln > span { transform: translateY(110%); animation: lineUp 1.1s var(--ease) forwards; }
.display .ln:nth-child(2) > span { animation-delay: .1s; }
.display .ln:nth-child(3) > span { animation-delay: .2s; }
@keyframes lineUp { to { transform: none; } }

.title {
  font-weight: 500; font-stretch: 85%;
  font-size: clamp(2.1rem, 4.4vw, 3.8rem); line-height: 1; letter-spacing: -.025em;
  max-width: 17ch;
}
.lead { max-width: 46ch; font-size: 1.05rem; line-height: 1.65; color: var(--muted); }
.lead b { color: var(--ink); font-weight: 600; }

.section { padding: clamp(80px, 11vw, 150px) var(--pad); }
.section-head {
  display: grid; grid-template-columns: 1fr 1.7fr; gap: 40px; align-items: end;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-head .label { margin-bottom: 0; align-self: start; padding-top: 12px; }
.section-head.split { grid-template-columns: 1.2fr 1fr; }
.section-head.split .label { margin-bottom: 20px; padding-top: 0; }
.section-note { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: -40px 0 28px; }

/* Aparición al entrar en pantalla (solo con JS activo) */
.js .reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s);
}
.js .reveal.in { opacity: 1; transform: none; }
.js .rise { opacity: 0; transform: translateY(20px); animation: rise 1s var(--ease) var(--d, .1s) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ── HERO ──────────────────────────────────── */
.hero {
  min-height: 100svh;
  padding: calc(var(--nav) + 56px) var(--pad) 56px;
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: center;
  gap: clamp(32px, 5vw, 80px);
}
.kicker {
  display: flex; align-items: center; gap: 12px; margin-bottom: 32px;
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.dot::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--blue);
  animation: ping 2.4s var(--ease) infinite;
}
@keyframes ping { from { transform: scale(1); opacity: .7; } to { transform: scale(3.2); opacity: 0; } }
.hero .lead { margin-bottom: 40px; }
.hero .lead em { color: var(--blue-deep); font-size: 1.12em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-visual { position: relative; width: min(100%, 560px); aspect-ratio: 1; justify-self: end; }
.viewport {
  position: absolute; inset: 0; border: 1px solid var(--line);
  background:
    linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 10% 10%,
    linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 10% 10%;
}
.corner { position: absolute; z-index: 3; width: 14px; height: 14px; border: 0 solid var(--ink); }
.c-tl { top: -1px; left: -1px;  border-top-width: 2px; border-left-width: 2px; }
.c-tr { top: -1px; right: -1px; border-top-width: 2px; border-right-width: 2px; }
.c-bl { bottom: -1px; left: -1px;  border-bottom-width: 2px; border-left-width: 2px; }
.c-br { bottom: -1px; right: -1px; border-bottom-width: 2px; border-right-width: 2px; }
.readout {
  position: absolute; z-index: 3;
  font-family: var(--f-mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
}
.readout b { font-weight: 500; color: var(--ink); }
.r-tl { top: 14px; left: 18px; }
.r-tr { top: 14px; right: 18px; }
.r-bl { bottom: 14px; left: 18px; }
.r-br { bottom: 14px; right: 18px; }

/* Mapa del grupo (SVG) */
.orbit { position: absolute; inset: 7%; width: 86%; height: 86%; overflow: visible; }
.orbit .ring { fill: none; stroke: var(--line-2); stroke-width: 1; }
.orbit .ring-dash { stroke-dasharray: 2 7; }
.orbit .ring-spin { transform-origin: 260px 260px; animation: spin 60s linear infinite; }
.orbit .sat { fill: var(--blue); }
@keyframes spin { to { transform: rotate(360deg); } }

.orbit .link { stroke: var(--line-2); stroke-width: 1; }
.orbit .link.soon { stroke-dasharray: 3 5; }
.orbit .flow {
  stroke: url(#blue); stroke-width: 2; fill: none; stroke-linecap: round;
  stroke-dasharray: 18 400; stroke-dashoffset: 0;
  animation: flow 2.1s linear infinite;
}
@keyframes flow { from { stroke-dashoffset: 18; } to { stroke-dashoffset: -210; } }

.orbit .core { fill: var(--ink); }
.orbit .core-pulse { fill: none; stroke: var(--blue); stroke-width: 1.5; transform-origin: 260px 260px; animation: pulse 3s var(--ease) infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }
.orbit .core-t { fill: var(--bg); font: 700 15px var(--f-sans); font-stretch: 125%; letter-spacing: .12em; text-anchor: middle; }
.orbit .core-s { fill: var(--on-dark-2); font: 500 8.5px var(--f-mono); letter-spacing: .22em; text-anchor: middle; }

.orbit .node rect { fill: var(--ink); transition: fill .35s var(--ease); }
.orbit .node text { fill: var(--bg); font: 500 11px var(--f-mono); letter-spacing: .14em; text-anchor: middle; dominant-baseline: central; }
.orbit .node:hover rect, .orbit .node:focus-visible rect { fill: var(--blue); }
.orbit .node.soon rect { fill: var(--paper); stroke: var(--line-2); stroke-dasharray: 3 3; }
.orbit .node.soon text { fill: var(--muted); }
.orbit .node.soon .node-note { fill: var(--blue-deep); font-size: 9px; letter-spacing: .18em; text-transform: uppercase; }
.orbit .node.soon:hover rect { fill: var(--bg-2); }

/* ── TICKER ────────────────────────────────── */
.ticker { background: var(--ink); color: var(--on-dark); overflow: hidden; padding: 20px 0; }
.ticker-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; align-items: center; }
.ticker span {
  padding: 0 28px; white-space: nowrap;
  font-weight: 500; font-stretch: 85%; font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: -.01em;
}
.ticker i { font-style: normal; color: var(--blue-2); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── EMPRESAS ──────────────────────────────── */
.companies {
  display: grid; grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--ink); border-left: 1px solid var(--line);
}
.co {
  position: relative; overflow: hidden; isolation: isolate;
  grid-column: span 2; display: flex; flex-direction: column;
  min-height: 460px; padding: 28px 28px 30px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: color .5s var(--ease);
}
.co-soon { grid-column: span 3; min-height: 220px; background: repeating-linear-gradient(-45deg, transparent 0 14px, rgba(18,18,17,.025) 14px 15px); }
a.co::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--ink); transform: scaleY(0); transform-origin: bottom;
  transition: transform .6s var(--ease);
}
a.co:hover { color: var(--on-dark); }
a.co:hover::before { transform: scaleY(1); }

.co-top { display: flex; justify-content: space-between; align-items: center; }
.co-idx { font-family: var(--f-mono); font-size: .75rem; color: var(--blue-deep); transition: color .5s; }
a.co:hover .co-idx { color: var(--blue-2); }
.status {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); padding: 5px 9px; border: 1px dashed var(--line-2);
}
.status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; border: 1px solid currentColor; }
.status.on { border-style: solid; color: var(--ink); transition: color .5s, border-color .5s; }
.status.on::before { background: #1f9d55; border-color: #1f9d55; box-shadow: 0 0 0 3px rgba(31,157,85,.15); }
a.co:hover .status.on { color: var(--on-dark); border-color: var(--line-dark); }

.co-mark { width: 84px; height: 84px; margin: 44px 0 auto; transition: transform .6s var(--ease); }
a.co:hover .co-mark { transform: translateY(-6px) rotate(-4deg); }
.co-mark svg { width: 100%; height: 100%; }
.co-mark .v-draw { stroke-dasharray: 1; stroke-dashoffset: 0; }
a.co:hover .co-mark .v-draw { animation: draw 1s var(--ease); }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* Sello de Ninsar (igual que en el pie de Vandlyn) */
.co-mark-ninsar { position: relative; display: grid; place-items: center; background: var(--ink); transition: transform .6s var(--ease), background .5s; }
a.co:hover .co-mark-ninsar { background: var(--bg); }
.nm-n { position: relative; z-index: 1; font-weight: 700; font-stretch: 125%; font-size: 1.9rem; color: var(--bg); transition: color .5s; }
a.co:hover .nm-n { color: var(--ink); }
.nm-ring { position: absolute; inset: 0; border: 1px solid #c29a5b; opacity: 0; animation: nmRing 2.8s var(--ease) infinite; }
.nm-ring + .nm-ring { animation-delay: 1.4s; }
@keyframes nmRing { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

.co-mark-img { position: relative; width: 120px; height: 96px; }
.co-mark-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .5s var(--ease); }

.co-name {
  margin-top: 36px;
  font-weight: 500; font-stretch: 85%;
  font-size: clamp(2.2rem, 3.4vw, 3.2rem); line-height: 1; letter-spacing: -.025em;
  transition: transform .6s var(--ease);
}
.co-name span { color: #c29a5b; }
a.co:hover .co-name { transform: translateX(8px); }
.co-soon .co-name { margin-top: 28px; color: var(--muted); }
.co-sector { margin-top: 10px; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-deep); transition: color .5s; }
a.co:hover .co-sector { color: var(--blue-2); }
.co-desc { margin-top: 16px; max-width: 36ch; font-size: .95rem; line-height: 1.6; color: var(--muted); transition: color .5s; }
a.co:hover .co-desc { color: var(--on-dark-2); }
.co-go { margin-top: 26px; display: inline-flex; gap: 10px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.co-go b { display: inline-block; font-weight: 400; color: var(--blue-2); transition: transform .45s var(--ease); }
a.co:hover .co-go b { transform: translate(3px,-3px); }
#fly-out:hover .co-go b { transform: translateY(4px); }
.co-line { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--blue-2)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease) .1s; }
a.co:hover .co-line { transform: scaleX(1); }

/* Cambio a rojo en los diseños de Fly-out */
.swap { opacity: 0; }
a.co:hover .co-mark-img .swap { opacity: 1; }
a.co:hover .co-mark-img img:first-child { opacity: 0; }

/* ── EL GRUPO (sección oscura) ─────────────── */
.group { background: var(--ink); color: var(--on-dark); padding: clamp(80px, 11vw, 150px) var(--pad); }
.group-top { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: end; margin-bottom: clamp(48px, 7vw, 88px); }
.group .title em { color: var(--blue-2); }
.group .lead { color: var(--on-dark-2); }

.links-map { border-top: 1px solid var(--line-dark); }
.lm-row {
  display: grid; grid-template-columns: 150px 120px 150px 1fr; align-items: center; gap: 20px;
  padding: 26px 0; border-bottom: 1px solid var(--line-dark);
}
.lm-from, .lm-to { font-weight: 500; font-stretch: 85%; font-size: 1.5rem; letter-spacing: -.01em; }
.lm-to { color: var(--blue-2); }
.lm-arrow { position: relative; height: 1px; background: var(--line-dark); }
.lm-arrow::after { content: ''; position: absolute; right: -1px; top: -4px; border: 4.5px solid transparent; border-left: 7px solid var(--on-dark-2); border-right: 0; }
.lm-arrow i { position: absolute; top: -1px; left: 0; width: 22px; height: 3px; background: linear-gradient(90deg, var(--blue), var(--blue-2)); animation: travel 2.4s var(--ease) infinite; }
.lm-row:nth-child(2) .lm-arrow i { animation-delay: .5s; }
.lm-row:nth-child(3) .lm-arrow i { animation-delay: 1s; }
@keyframes travel { 0% { transform: translateX(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateX(98px); opacity: 0; } }
.lm-row p { color: var(--on-dark-2); line-height: 1.6; max-width: 58ch; }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(56px, 8vw, 96px); }
.pr { padding: 8px 32px 8px 0; }
.pr + .pr { padding-left: 32px; border-left: 1px solid var(--line-dark); }
.pr-tag { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .12em; color: var(--blue-2); }
.pr h3 { margin: 16px 0 12px; font-weight: 500; font-stretch: 85%; font-size: 1.7rem; line-height: 1.1; letter-spacing: -.015em; }
.pr p { color: var(--on-dark-2); line-height: 1.6; }

/* ── FLY-OUT ───────────────────────────────── */
.flyout-word { position: relative; width: min(100%, 420px); aspect-ratio: 560 / 161; justify-self: end; }
.flyout-word img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .5s var(--ease); }
.flyout-word:hover .swap { opacity: 1; }
.flyout-word:hover img:first-child { opacity: 0; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--line); }
.art { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); cursor: pointer; }
.art-img { position: relative; aspect-ratio: 1; margin: 12%; }
.art-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .5s var(--ease), transform .7s var(--ease); }
.art:hover .art-img img, .art.on .art-img img { transform: scale(1.05) rotate(-2deg); }
.art:hover .swap, .art.on .swap { opacity: 1; }
.art:hover .art-img img:first-child, .art.on .art-img img:first-child { opacity: 0; }
.art figcaption {
  display: flex; gap: 12px; padding: 14px 18px; border-top: 1px solid var(--line);
  font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  transition: color .4s;
}
.art figcaption span { color: var(--muted); }
.art:hover figcaption, .art.on figcaption { color: var(--flyout); }

/* ── CONTACTO ──────────────────────────────── */
.contact { padding-top: 0; }
.routes { border-top: 1px solid var(--ink); }
.route {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center;
  padding: 30px 20px; border-bottom: 1px solid var(--line);
  transition: color .45s var(--ease);
}
.route::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(135deg, var(--blue), var(--blue-2)); transform: scaleY(0); transform-origin: bottom;
  transition: transform .55s var(--ease);
}
.route:hover { color: #fff; }
.route:hover::before { transform: scaleY(1); }
.route-q { font-weight: 500; font-stretch: 85%; font-size: clamp(1.3rem, 2.4vw, 2rem); line-height: 1.15; letter-spacing: -.015em; transition: transform .55s var(--ease); }
.route:hover .route-q { transform: translateX(10px); }
.route-a { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.route-a b { display: inline-block; font-weight: 400; margin-left: 6px; transition: transform .45s var(--ease); }
.route:hover .route-a b { transform: translate(3px,-3px); }

/* ── FOOTER ────────────────────────────────── */
.footer { background: var(--ink); color: var(--on-dark); padding: clamp(64px, 8vw, 110px) var(--pad) 28px; overflow: hidden; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px;
  padding-bottom: 56px; border-bottom: 1px solid var(--line-dark);
}
.footer-claim {
  font-weight: 500; font-stretch: 85%;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.1; letter-spacing: -.02em; max-width: 18ch;
}
.footer-claim em { color: var(--blue-2); }
.f-title {
  display: block; margin-bottom: 16px;
  font-family: var(--f-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2);
}
.footer-grid div a, .footer-grid div p, .f-soon { display: block; padding: 4px 0; font-size: .95rem; transition: color .3s; }
.f-soon { color: var(--on-dark-2); }
.footer-grid a:hover { color: var(--blue-2); }
.footer-mark {
  margin: 48px 0 28px; text-align: center; white-space: nowrap;
  font-weight: 800; font-stretch: 125%; font-size: clamp(3.2rem, 14.5vw, 15rem); line-height: .8; letter-spacing: -.01em;
  color: rgba(236,232,225,.07); transition: color .8s var(--ease);
}
.footer-mark:hover { color: rgba(0,184,255,.2); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-family: var(--f-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-2);
}

/* ── RESPONSIVE ────────────────────────────── */
@media (max-width: 1100px) {
  .nav-links { gap: 20px; }
  .nav-link i { display: none; }
  .co { grid-column: span 3; min-height: 400px; }
  .co:nth-child(3) { grid-column: span 6; min-height: 340px; }
  .co-soon { min-height: 200px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  :root { --nav: 64px; }
  .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; height: calc(100svh - var(--nav));
    flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    padding: 16px var(--pad) 40px; background: var(--bg); overflow-y: auto;
    clip-path: inset(0 0 100% 0); visibility: hidden;
    transition: clip-path .6s var(--ease-io), visibility 0s .6s;
  }
  .nav-links.open { clip-path: inset(0); visibility: visible; transition: clip-path .6s var(--ease-io), visibility 0s; }
  .nav-links > a { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .nav-links.open > a { opacity: 1; transform: none; }
  .nav-links.open > a:nth-child(2) { transition-delay: .05s; }
  .nav-links.open > a:nth-child(3) { transition-delay: .1s; }
  .nav-links.open > a:nth-child(4) { transition-delay: .15s; }
  .nav-link {
    padding: 16px 0; border-bottom: 1px solid var(--line);
    font-family: var(--f-sans); font-size: 2.2rem; font-weight: 500; font-stretch: 85%;
    letter-spacing: -.02em; text-transform: none; color: var(--ink);
  }
  .nav-link i { display: inline; vertical-align: super; font-family: var(--f-mono); }
  .nav-link::after { display: none; }

  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: calc(var(--nav) + 48px); }
  .hero-visual { justify-self: center; width: min(100%, 480px); }

  .section-head, .section-head.split { grid-template-columns: 1fr; gap: 0; }
  .section-head .label { padding-top: 0; margin-bottom: 20px; }
  .flyout-word { justify-self: start; margin-top: 28px; width: min(100%, 320px); }
  .section-note { margin: -24px 0 20px; }

  .group-top { grid-template-columns: 1fr; gap: 24px; }
  .lm-row { grid-template-columns: auto 64px auto; gap: 8px 16px; }
  .lm-row p { grid-column: 1 / -1; }
  @keyframes travel { 0% { transform: translateX(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateX(42px); opacity: 0; } }
  .principles { grid-template-columns: 1fr; }
  .pr { padding: 28px 0; }
  .pr + .pr { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-dark); }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-claim { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .co, .co:nth-child(3), .co-soon { grid-column: span 6; min-height: 0; }
  .co-mark { margin-bottom: 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .art figcaption { padding: 12px; font-size: .62rem; }
  .route { grid-template-columns: 1fr; gap: 10px; padding: 24px 8px; }
  .readout { font-size: .54rem; }
  .r-tr { display: none; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .rise, .js .display .ln > span { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
