/* iandi — site.css
   Light, nautical-chart identity. Tokens first, then layout, hero, sections, pages. */

:root {
  --paper: #F3F0E8;
  --paper-2: #EAE5D8;
  --card: #FFFDF8;
  --ink: #0E1C2B;
  --ink-2: #33414F;
  --muted: #66707B;
  --line: rgba(14, 28, 43, .12);
  --line-strong: rgba(14, 28, 43, .22);
  --coral: #FF5B3A;
  --coral-ink: #D63F1F;
  --cyan: #19B9CB;
  --cyan-ink: #0B7F8E;
  --cyan-soft: #D6F2F4;
  --sea-1: #E2EEF0;
  --sea-2: #C6DFE6;
  --sea-3: #9CC7D4;

  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 72px;
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; letter-spacing: -.02em; font-weight: 750; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--cyan-soft); color: var(--ink); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }
.i { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- type helpers ---------- */
.eyebrow, .kicker {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kicker::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .6; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(255, 91, 58, .16); flex: none; }
.dot--coral { background: var(--coral); }
.dot--cyan { background: var(--cyan); box-shadow: 0 0 0 4px rgba(25, 185, 203, .16); }
.lede { font-size: clamp(17px, 1.35vw, 19px); color: var(--ink-2); max-width: 56ch; }

/* ---------- buttons & links ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg);
  font-weight: 650; font-size: 16px; letter-spacing: -.005em;
  text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
  box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 10px 24px -14px rgba(14, 28, 43, .5);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 16px 30px -14px rgba(14, 28, 43, .55); }
.btn--coral { --bg: var(--coral); --fg: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 12px 26px -12px rgba(214, 63, 31, .7); }
.btn--coral:hover { --bg: #FF4A26; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14.5px; }
.btn--lg { min-height: 60px; padding: 0 30px; font-size: 17px; }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 650; text-decoration: none;
  border-bottom: 1.5px solid currentColor; padding-bottom: 3px;
  transition: gap .25s var(--ease), color .2s;
}
.link-arrow:hover { gap: 14px; color: var(--coral-ink); }
.link-arrow--sm { font-size: 14.5px; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.is-solid {
  background: rgba(243, 240, 232, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 23px; letter-spacing: -.035em; font-variation-settings: "wdth" 112; }
.brand-mark { width: 34px; height: 34px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 550; font-size: 15.5px; padding: 8px 14px; border-radius: 999px; transition: background .2s; }
.nav a:hover { background: rgba(14, 28, 43, .06); }
.nav a[aria-current="page"] { background: rgba(14, 28, 43, .07); }
.nav .nav-cta { display: none; }
.menu-btn { display: none; }

/* ---------- HERO ---------- */
.hero {
  --hero-h: max(100svh, 700px);
  /* horizon line (from the top of the hero): low enough for the word, high enough for the copy */
  --copy-room: 545px;
  --hz: clamp(250px, calc(var(--hero-h) - var(--copy-room)), calc(var(--hero-h) * .5));
  position: relative;
  min-height: var(--hero-h);
  overflow: hidden;
  isolation: isolate;
  touch-action: pan-y pinch-zoom;
  /* static sky + sea; the WebGL sea paints over it when available */
  background: linear-gradient(180deg,
    #E8EFEE 0, #F4F0E7 calc(var(--hz) * .7), #FAE4D6 calc(var(--hz) - 1px),
    #D9E9E8 var(--hz), #B4D8DC calc(var(--hz) + 12%), #7FB9C2 100%);
}
.sea { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; opacity: 0; transition: opacity .9s ease; }
.sea.is-on { opacity: 1; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 44px; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(243, 240, 232, 0), var(--paper)); }
.hero-hz { position: absolute; left: 0; top: var(--hz); width: 0; height: 0; visibility: hidden; }
.hero-band {
  position: absolute; z-index: -1; pointer-events: none;
  right: -8vw; top: calc(var(--header-h) + 3svh); width: 40vw; height: clamp(40px, 5.5svh, 62px);
  background: var(--coral);
  transform: rotate(-24deg); transform-origin: right center;
  opacity: .95;
}
.hero-band::after {
  content: ""; position: absolute; left: -22%; top: 260%; width: 50%; height: 34%;
  background: var(--ink);
}

/* giant word, sliced intro */
.hero-word {
  position: absolute; left: 50%; z-index: 0;
  /* glyphs stand on the horizon; hero.js measures the baseline and refines --wd */
  bottom: calc(100% - var(--hz) - var(--wd, .055em));
  transform: translateX(-50%);
  font-size: min(29vw, calc((var(--hz) - var(--header-h) - 3svh) * 1.3));
  font-weight: 900;
  font-variation-settings: "wdth" 125;
  line-height: .78;
  letter-spacing: -.06em;
  color: var(--ink);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  will-change: transform;
}
.hero-word--line { z-index: 3; color: transparent; -webkit-text-stroke: 1.5px rgba(14, 28, 43, .5); }
.hero-word .slice { display: block; padding-right: .06em; }
.hero-word .slice + .slice { position: absolute; inset: 0; }
.hero-word .slice:nth-child(1) { clip-path: inset(0 0 66% 0); }
.hero-word .slice:nth-child(2) { clip-path: inset(34% 0 33% 0); }
.hero-word .slice:nth-child(3) { clip-path: inset(67% 0 0 0); }

.js .hero-word .slice { animation: slice-in 1.15s var(--ease) both; }
.js .hero-word .slice:nth-child(1) { --from: -18%; animation-delay: .05s; }
.js .hero-word .slice:nth-child(2) { --from: 22%; animation-delay: .16s; }
.js .hero-word .slice:nth-child(3) { --from: -12%; animation-delay: .27s; }
@keyframes slice-in {
  0% { transform: translateX(var(--from)); opacity: 0; filter: blur(6px); }
  55% { opacity: 1; filter: blur(0); }
  100% { transform: none; opacity: 1; }
}

/* ship */
.ship-stage {
  --ship: min(62vw, calc(var(--hero-h) * .92), 1120px);
  --ship-rot: -15deg;                       /* bow (left) dips down */
  position: absolute; z-index: 2;
  width: var(--ship); aspect-ratio: 1;
  left: calc(71% - var(--ship) / 2);
  top: calc(var(--hero-h) * .51 - var(--ship) * .5);
  pointer-events: none;
  will-change: transform;
}
.ship-float { position: absolute; inset: 0; transform-style: preserve-3d; }
.js .ship-float { animation: ship-rise 1.8s .2s var(--ease) both, ship-bob 8s 2s ease-in-out infinite; }
@keyframes ship-rise { from { transform: translate(9%, -12%) rotate(5deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes ship-bob {
  0%, 100% { transform: translateY(0) rotate(0); }
  30% { transform: translateY(-2.2%) rotate(-1.6deg); }
  65% { transform: translateY(1%) rotate(1.2deg); }
}
.ship-tilt { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.ship {
  position: absolute; inset: 0;
  transform: rotate(var(--ship-rot));
}
.ship img, .ship canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.ship-int { opacity: 0; }
.ship-gl { pointer-events: none; }
.ship.no-gl .ship-int {
  opacity: 1;
  -webkit-mask-image: radial-gradient(circle at var(--mx, 50%) var(--my, 70%), #000 0, #000 var(--mr, 0px), transparent calc(var(--mr, 0px) + 28px));
  mask-image: radial-gradient(circle at var(--mx, 50%) var(--my, 70%), #000 0, #000 var(--mr, 0px), transparent calc(var(--mr, 0px) + 28px));
}

/* copy */
.hero-inner {
  position: relative; z-index: 4;
  min-height: var(--hero-h);
  display: grid;
  grid-template-columns: minmax(0, 560px) 1fr;
  align-items: end;
  padding-top: calc(var(--header-h) + 24px);
  padding-bottom: clamp(28px, 5svh, 56px);
  pointer-events: none;
}
.hero-inner > * { pointer-events: auto; }
.hero-copy { padding: 26px 0 6px; position: relative; }
.hero-copy::before {
  content: ""; position: absolute; inset: -40px -70px -30px -60px; z-index: -1;
  background: radial-gradient(closest-side, rgba(246, 243, 236, .84) 30%, rgba(246, 243, 236, .42) 66%, rgba(246, 243, 236, 0));
  pointer-events: none;
}
.hero h1 {
  margin-top: 18px;
  font-size: clamp(32px, 3.6vw, 54px);
  line-height: 1.02;
  font-weight: 760;
  letter-spacing: -.035em;
  font-variation-settings: "wdth" 104;
  text-wrap: balance;
}
.hero h1 em { font-style: normal; position: relative; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: .12em; background: var(--coral); opacity: .9; z-index: -1; border-radius: 2px; }
.hero h1 em:last-of-type::after { background: var(--cyan); }
.hero-lede { margin-top: 18px; font-size: clamp(16.5px, 1.3vw, 18.5px); color: var(--ink-2); max-width: 46ch; }
.hero-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-routes { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-routes a {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 10px; border-radius: 12px;
  background: rgba(255, 253, 248, .82); text-decoration: none;
  box-shadow: inset 0 0 0 1px var(--line);
  font-weight: 600; font-size: 15px;
  transition: box-shadow .2s, transform .25s var(--ease), background .2s;
}
.hero-routes a:hover { box-shadow: inset 0 0 0 1.5px var(--ink); transform: translateY(-2px); background: var(--card); }
.route-n { font-family: var(--mono); font-size: 11px; font-weight: 500; background: var(--ink); color: var(--paper); border-radius: 6px; padding: 3px 6px; }
.hero-routes a:nth-child(2) .route-n { background: var(--cyan-ink); }
.hero-routes a:first-child .route-n { background: var(--coral-ink); }

.js .hero-copy > * { animation: fade-up .9s var(--ease) both; }
.js .hero-copy > :nth-child(1) { animation-delay: .55s; }
.js .hero-copy > :nth-child(2) { animation-delay: .65s; }
.js .hero-copy > :nth-child(3) { animation-delay: .78s; }
.js .hero-copy > :nth-child(4) { animation-delay: .9s; }
.js .hero-copy > :nth-child(5) { animation-delay: 1s; }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- sections ---------- */
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section-head { max-width: 760px; }
.section-head h2 { margin-top: 16px; font-size: clamp(34px, 4.4vw, 62px); font-weight: 760; letter-spacing: -.04em; font-variation-settings: "wdth" 106; text-wrap: balance; }
.section-head .lede { margin-top: 20px; }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.section-head--row .lede { margin: 0; max-width: 36ch; }

[data-reveal] { transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(26px); }

/* fronts */
.fronts { padding-top: clamp(64px, 8vw, 110px); }
.fronts-grid { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
.front {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 18px;
  padding: clamp(26px, 3vw, 44px);
  padding-bottom: clamp(190px, 17vw, 240px);
  background: var(--card);
  border-radius: 22px;
  box-shadow: 0 0 0 1px var(--line), 0 30px 60px -48px rgba(14, 28, 43, .55);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.front:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line-strong), 0 40px 70px -46px rgba(14, 28, 43, .6); }
.front-top { display: flex; align-items: flex-start; gap: 16px; }
.front-n { font-family: var(--mono); font-size: 13px; font-weight: 500; color: #fff; background: var(--coral-ink); border-radius: 8px; padding: 6px 9px; }
.front--agencias .front-n { background: var(--cyan-ink); }
.front-for { font-family: var(--mono); font-size: 12.5px; letter-spacing: .02em; color: var(--muted); max-width: 40ch; padding-top: 5px; }
.front h3 { font-size: clamp(28px, 2.7vw, 40px); letter-spacing: -.035em; font-variation-settings: "wdth" 106; max-width: 16ch; }
.front > p { color: var(--ink-2); max-width: 50ch; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: 13.5px; font-weight: 550; padding: 5px 11px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.front .link-arrow { align-self: flex-start; margin-top: 4px; }
.front-art { position: absolute; right: -10px; bottom: -6px; width: min(66%, 360px); color: var(--ink); opacity: .9; pointer-events: none; }
.front--franquias .front-art { color: var(--coral-ink); }
.front--agencias .front-art { color: var(--ink); }
.front-art--network svg path { animation: dash 14s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -160; } }

/* why */
.why { background: linear-gradient(180deg, transparent, rgba(198, 223, 230, .35) 40%, transparent); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.why-list { display: grid; gap: 14px; counter-reset: why; }
.why-list li { display: grid; grid-template-columns: 56px 1fr; gap: 6px 18px; padding: 26px 0; border-top: 1px solid var(--line-strong); }
.why-list li:last-child { border-bottom: 1px solid var(--line-strong); }
.why-n { grid-row: span 2; font-family: var(--mono); font-size: 13px; color: var(--cyan-ink); padding-top: 6px; }
.why-list h3 { font-size: 24px; letter-spacing: -.025em; }
.why-list p { color: var(--ink-2); }

/* proof */
.proof-grid { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
.proof-card {
  padding: clamp(26px, 3vw, 40px); border-radius: 20px;
  background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-strong);
  display: flex; flex-direction: column; gap: 14px;
}
.proof-tag { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.proof-card h3 { font-size: clamp(36px, 4vw, 56px); font-weight: 800; letter-spacing: -.045em; font-variation-settings: "wdth" 115; }
.proof-card > p { color: var(--ink-2); max-width: 52ch; }
.proof-meta { margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line-strong); display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; justify-content: space-between; font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.proof-meta .link-arrow { font-family: var(--font); color: var(--ink); }

/* route steps */
.route-steps { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.route-steps::before { content: ""; position: absolute; left: 0; right: 0; top: 18px; border-top: 1.5px dashed var(--line-strong); }
.route-steps li { position: relative; padding: 0 28px 0 0; }
.step-n { position: relative; display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink); font-family: var(--mono); font-size: 12.5px; font-weight: 500; }
.route-steps li:first-child .step-n { background: var(--coral); color: #fff; box-shadow: none; }
.route-steps h3 { margin-top: 22px; font-size: 22px; letter-spacing: -.02em; }
.route-steps p { margin-top: 8px; color: var(--ink-2); font-size: 16px; }

/* scale (discreet) */
.scale { padding: 0 0 clamp(70px, 8vw, 110px); }
.scale-inner {
  display: grid; grid-template-columns: 220px 1fr auto; gap: 28px; align-items: center;
  padding-top: 32px; padding-bottom: 32px;
  border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong);
}
.scale h2 { font-size: clamp(21px, 1.9vw, 26px); letter-spacing: -.02em; }
.scale p { margin-top: 6px; color: var(--ink-2); max-width: 64ch; font-size: 16px; }

/* CTA — light sea */
.cta {
  position: relative; overflow: hidden;
  padding: clamp(90px, 11vw, 150px) 0 clamp(150px, 15vw, 210px);
  background: linear-gradient(180deg, var(--paper) 0%, #E4EEEF 38%, #CDE3E9 100%);
  text-align: center;
}
.cta-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; position: relative; z-index: 2; }
.cta h2 { font-size: clamp(38px, 5.6vw, 80px); font-weight: 780; letter-spacing: -.045em; font-variation-settings: "wdth" 110; max-width: 14ch; text-wrap: balance; }
.cta p { max-width: 54ch; color: var(--ink-2); font-size: 18px; }
.cta .btn { margin-top: 10px; }
.cta-note { font-family: var(--mono); font-size: 12px !important; color: var(--muted) !important; }
.cta-sea {
  position: absolute; left: 0; right: 0; bottom: 0; height: clamp(110px, 13vw, 170px); z-index: 1;
  background:
    repeating-linear-gradient(180deg, rgba(255,255,255,.55) 0 1.5px, transparent 1.5px 16px),
    linear-gradient(180deg, rgba(156, 199, 212, 0), rgba(156, 199, 212, .75));
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 45%);
  mask-image: linear-gradient(180deg, transparent, #000 45%);
}
.cta-ship {
  position: absolute; z-index: 1; right: max(2vw, calc(50vw - 700px)); bottom: clamp(40px, 6vw, 80px);
  width: clamp(150px, 17vw, 250px); transform: rotate(-5deg);
  filter: drop-shadow(0 18px 18px rgba(14, 28, 43, .16));
  animation: ship-bob 7s ease-in-out infinite;
}
.cta-ship img { width: 100%; }

/* footer */
.site-footer { padding: 56px 0 28px; background: var(--paper); }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer-brand p { margin-top: 12px; color: var(--ink-2); max-width: 32ch; }
.footer-nav { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 48px; align-content: start; }
.footer-nav a { text-decoration: none; font-weight: 550; }
.footer-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 22px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.footer-manifesto { color: var(--muted); text-decoration: none; opacity: .75; }
.footer-manifesto:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- inner pages ---------- */
.page-hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(64px, 8vw, 110px); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url("/assets/chart.svg") 70% 30% / 1400px auto no-repeat;
  opacity: .6;
}
.page-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.page-hero h1 { margin-top: 18px; font-size: clamp(38px, 5vw, 72px); font-weight: 780; letter-spacing: -.045em; font-variation-settings: "wdth" 108; text-wrap: balance; }
.page-hero .lede { margin-top: 22px; font-size: clamp(17px, 1.4vw, 20px); }
.page-hero .hero-actions { margin-top: 30px; align-items: center; }
.audience { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 8px; }
.audience li { font-size: 13.5px; font-weight: 550; padding: 6px 12px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.cards-3 { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { padding: 28px; border-radius: 18px; background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 24px 50px -42px rgba(14, 28, 43, .5); }
.card .card-n { font-family: var(--mono); font-size: 12.5px; color: var(--cyan-ink); }
.card h3 { margin-top: 14px; font-size: 22px; letter-spacing: -.025em; }
.card p { margin-top: 10px; color: var(--ink-2); font-size: 16px; }

.modules { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.modules li { background: var(--card); padding: 24px 22px 26px; }
.modules h3 { font-size: 18px; letter-spacing: -.015em; display: flex; align-items: center; gap: 10px; }
.modules h3::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--coral); transform: rotate(45deg); flex: none; }
.modules p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }
.note { margin-top: 18px; font-family: var(--mono); font-size: 12.5px; color: var(--muted); }

.band { background: var(--card); border-block: 1px solid var(--line); }
.quote-block { font-size: clamp(26px, 3vw, 40px); font-weight: 650; letter-spacing: -.03em; line-height: 1.15; max-width: 26ch; text-wrap: balance; }
.quote-block span { color: var(--cyan-ink); }

.faq { margin-top: 40px; border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-weight: 650; font-size: 19px; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-weight: 400; font-size: 22px; line-height: 1; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--ink-2); max-width: 70ch; }

/* network illustration (franquias) */
.net { position: relative; aspect-ratio: 1 / .9; }
.net svg { width: 100%; height: 100%; overflow: visible; }
.net .route { fill: none; stroke: var(--ink); stroke-opacity: .35; stroke-width: 1.4; stroke-dasharray: 4 7; animation: dash 16s linear infinite; }
.net .unit { fill: var(--card); stroke: var(--ink); stroke-width: 1.4; }
.net .unit-dot { fill: var(--coral); }
.net .hub { fill: var(--ink); }
.net text { font-family: var(--mono); font-size: 11px; fill: var(--ink-2); }
.net .panel { fill: var(--card); stroke: var(--line-strong); }

/* spec illustration (agencias) */
.spec { position: relative; }
.spec-frame { position: relative; border-radius: 16px; background: var(--card); box-shadow: 0 0 0 1px var(--line-strong), 0 40px 70px -50px rgba(14, 28, 43, .6); overflow: hidden; }
.spec-bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.spec-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.spec-bar span { margin-left: 10px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.spec-body { padding: 28px 28px 32px; display: grid; gap: 18px; }
.spec-title { font-size: clamp(24px, 2.4vw, 34px); font-weight: 780; letter-spacing: -.04em; line-height: 1; position: relative; }
.spec-title::before { content: ""; position: absolute; inset: -6px -8px; border: 1px dashed var(--cyan); border-radius: 4px; }
.spec-measure { position: absolute; font-family: var(--mono); font-size: 10.5px; color: var(--cyan-ink); background: var(--cyan-soft); padding: 2px 6px; border-radius: 4px; }
.spec-testimonial { padding: 18px 20px; border-radius: 12px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); position: relative; }
.spec-testimonial p { font-size: 16px; color: var(--ink-2); }
.spec-testimonial cite { display: block; margin-top: 10px; font-style: normal; font-weight: 650; font-size: 14px; }
.spec-badge { position: absolute; right: -10px; top: -12px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; background: var(--ink); color: var(--paper); padding: 4px 8px; border-radius: 5px; transform: rotate(3deg); }
.spec-row { display: flex; gap: 10px; align-items: center; }
.spec-btn { padding: 10px 18px; border-radius: 999px; background: var(--coral); color: #fff; font-weight: 650; font-size: 14px; }
.spec-chip { font-family: var(--mono); font-size: 11px; color: var(--muted); }

/* sobre */
.timeline { margin-top: 48px; position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: 92px; top: 8px; bottom: 8px; border-left: 1.5px dashed var(--line-strong); }
.timeline li { display: grid; grid-template-columns: 92px 1fr; gap: 0 32px; padding: 0 0 34px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 86px; top: 7px; width: 13px; height: 13px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 2px var(--ink); }
.timeline li:last-child::before { background: var(--coral); box-shadow: none; }
.tl-when { font-family: var(--mono); font-size: 12.5px; color: var(--cyan-ink); padding-top: 3px; padding-right: 12px; text-align: right; }
.timeline h3 { font-size: 21px; letter-spacing: -.02em; padding-left: 4px; }
.timeline p { grid-column: 2; margin-top: 6px; color: var(--ink-2); padding-left: 4px; max-width: 62ch; }
.story p + p { margin-top: 18px; }
.story p { font-size: 18px; color: var(--ink-2); max-width: 62ch; }
.story p strong { color: var(--ink); font-weight: 650; }
.mvv { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mvv .card h3 { font-size: 26px; }
.values { margin-top: 18px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.values li { background: var(--card); padding: 24px 20px; }
.values span { font-family: var(--mono); font-size: 12px; color: var(--coral-ink); }
.values h3 { margin-top: 12px; font-size: 18px; letter-spacing: -.015em; }
.values p { margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.founder-mark { position: relative; }
.founder-mark img { width: 100%; max-width: 520px; margin-left: auto; filter: drop-shadow(0 30px 30px rgba(14, 28, 43, .18)); transform: rotate(-4deg); }

/* manifesto */
.page-manifesto { background: #F6F3EC; }
.manifesto { padding: calc(var(--header-h) + clamp(60px, 9vw, 120px)) 0 clamp(80px, 10vw, 140px); }
.manifesto-head { max-width: 980px; }
.manifesto-head h1 { font-size: clamp(64px, 12vw, 180px); font-weight: 860; letter-spacing: -.06em; font-variation-settings: "wdth" 118; line-height: .85; }
.manifesto-head h1 span { color: var(--coral); }
.manifesto-head .lede { margin-top: 28px; max-width: 44ch; font-size: clamp(18px, 1.6vw, 22px); }
.manifesto-meta { margin-top: 26px; display: flex; gap: 24px; flex-wrap: wrap; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }
.manifesto-body { margin: clamp(60px, 8vw, 110px) auto 0; max-width: 680px; }
.manifesto-body p { font-size: clamp(20px, 1.9vw, 25px); line-height: 1.5; letter-spacing: -.01em; color: var(--ink); }
.manifesto-body p + p { margin-top: 1.1em; }
.manifesto-body .soft { color: var(--ink-2); }
.manifesto-body .strong { font-weight: 700; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.025em; line-height: 1.25; }
.manifesto-sep { margin: 2.4em 0 !important; font-family: var(--mono); font-size: 14px !important; color: var(--coral) !important; letter-spacing: .2em; }
.manifesto-end { margin-top: 3em !important; font-family: var(--mono); font-size: 12px !important; letter-spacing: .12em; text-transform: uppercase; color: var(--muted) !important; }
.manifesto-return { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line-strong); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.manifesto-return p { font-weight: 700; font-size: 22px; letter-spacing: -.02em; }
.paper-boat { width: 120px; color: var(--ink); opacity: .9; margin-bottom: 28px; }
.paper-boat path { stroke-dasharray: 300; stroke-dashoffset: 300; animation: draw 2.6s .2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .why-grid, .split, .page-hero-grid { grid-template-columns: 1fr; }
  .modules { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
  .values li:last-child { grid-column: span 2; }
  .route-steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .route-steps::before { display: none; }
  .scale-inner { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) 24px;
    background: var(--paper); box-shadow: 0 1px 0 var(--line), 0 30px 40px -30px rgba(14, 28, 43, .4);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav a { padding: 16px 4px; font-size: 20px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav .nav-cta { display: block; color: var(--coral-ink); border-bottom: 0; }
  .header-cta { margin-left: auto; }
  .menu-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; cursor: pointer; }
  .menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 20px; height: 1.8px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .3s var(--ease), background .2s; }
  .menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
  .menu-btn span::before { top: -6px; }
  .menu-btn span::after { top: 6px; }
  .menu-btn[aria-expanded="true"] span { background: transparent; }
  .menu-btn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
  .fronts-grid, .proof-grid, .mvv { grid-template-columns: 1fr; }
  .cards-3 { grid-template-columns: 1fr; }
}

/* hero: short desktop screens — tighten the copy so the horizon can stay under the word */
@media (min-width: 821px) and (max-height: 820px) and (min-aspect-ratio: 4/5) {
  .hero { --copy-room: 500px; }
  .hero h1 { font-size: min(3.6vw, 46px); margin-top: 14px; }
  .hero-lede { margin-top: 14px; }
  .hero-actions { margin-top: 20px; }
  .hero-routes { margin-top: 12px; }
}

/* hero: tablet / phone — stack the visual above the copy */
@media (max-width: 820px), (max-aspect-ratio: 4/5) {
  .hero { --hero-h: auto; --ship-m: min(108vw, 640px); --hz: calc(var(--header-h) + min(44vw, 300px)); min-height: 0; }
  .hero-word { font-size: min(36vw, 230px); }
  .hero-band { top: calc(var(--header-h) + 6vw); width: 62vw; right: -18vw; height: 24px; }
  .ship-stage {
    --ship: var(--ship-m);
    left: calc(48% - var(--ship) / 2);
    top: calc(var(--hz) - var(--ship) * .33);
  }
  .hero-inner {
    min-height: 0; display: block;
    padding-top: calc(var(--hz) + var(--ship-m) * .62 + 36px);
    padding-bottom: 40px;
  }
  .hero-copy { padding-top: 0; }
  .hero-copy::before { inset: -40px -60px -30px -60px; opacity: .6; }
  .hero h1 { margin-top: 14px; font-size: clamp(30px, 8.4vw, 46px); }
}

@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .hero-routes a { flex: 1 1 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .front { padding-bottom: 170px; }
  .front-art { width: 78%; }
  .route-steps { grid-template-columns: 1fr; }
  .modules { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .values li:last-child { grid-column: auto; }
  .footer-nav { grid-template-columns: 1fr; }
  .timeline::before { left: 10px; }
  .timeline li { grid-template-columns: 1fr; padding-left: 36px; }
  .timeline li::before { left: 4px; }
  .tl-when { text-align: left; padding: 0 0 4px; }
  .timeline p { grid-column: 1; }
  .header-cta { display: none; }
  .menu-btn { margin-left: auto; margin-right: -8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal]:not(.is-in) { opacity: 1; transform: none; }
}
