/* josejacome.pt redesign — tokens + components. KOBU-style: bold Archivo Black, hard B/W borders, azulejo-blue as the only accent. */

:root{
  --bg:#F3F0E6;
  --surface:#FFFFFF;
  --ink:#111111;
  --text:#111111;
  --text-muted:#6B6858;
  --accent:#2A5C8A;
  --accent-contrast:#FFFFFF;
  --border:#111111;
  --border-w:2px;
  --max:1160px;
  --map-sea:#DCE4EA;
  --map-land:#FFFFFF;
  --map-neighbour:#EFEBE0;
  --map-hatch:rgba(17,17,17,.13);
  --map-coast:#111111;
  --map-water:#2A5C8A;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark){
  :root{ --bg:#0E0E0E; --surface:#171717; --ink:#F3F0E6; --text:#F3F0E6; --text-muted:#9A9686; --accent:#6FA8D8; --accent-contrast:#0E0E0E; --border:#F3F0E6;
    --map-sea:#0C131A; --map-land:#2A3138; --map-neighbour:#191E24; --map-hatch:rgba(243,240,230,.10); --map-coast:rgba(243,240,230,.65); --map-water:#6FA8D8; }
}
:root[data-theme="dark"]{ --bg:#0E0E0E; --surface:#171717; --ink:#F3F0E6; --text:#F3F0E6; --text-muted:#9A9686; --accent:#6FA8D8; --accent-contrast:#0E0E0E; --border:#F3F0E6;
  --map-sea:#0C131A; --map-land:#2A3138; --map-neighbour:#191E24; --map-hatch:rgba(243,240,230,.10); --map-coast:rgba(243,240,230,.65); --map-water:#6FA8D8; }
:root[data-theme="light"]{ --bg:#F3F0E6; --surface:#FFFFFF; --ink:#111111; --text:#111111; --text-muted:#6B6858; --accent:#2A5C8A; --accent-contrast:#FFFFFF; --border:#111111;
  --map-sea:#DCE4EA; --map-land:#FFFFFF; --map-neighbour:#EFEBE0; --map-hatch:rgba(17,17,17,.13); --map-coast:#111111; --map-water:#2A5C8A; }

*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; }
body{
  margin:0; background:var(--bg); color:var(--text);
  font-family:'Archivo',Helvetica,Arial,sans-serif; font-size:17px; line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; }
:focus-visible{ outline:3px solid var(--accent); outline-offset:2px; }
@media (prefers-reduced-motion: reduce){ *{ animation-duration:0.01ms !important; transition-duration:0.01ms !important; } }

.container{ max-width:var(--max); margin:0 auto; padding:0 24px; }

/* ---------- type ---------- */
h1,h2,h3{ font-family:'Archivo Black',Helvetica,Arial,sans-serif; font-weight:400; text-transform:uppercase; letter-spacing:-.01em; line-height:.98; text-wrap:balance; margin:0; }
h1{ font-size:clamp(40px,7vw,80px); }
h2{ font-size:clamp(28px,4.5vw,46px); }
h3{ font-size:clamp(20px,3vw,28px); }
p{ margin:0 0 1em; max-width:62ch; }
p:last-child{ margin-bottom:0; }
.eyebrow{ font-family:'Space Mono',monospace; font-size:12px; letter-spacing:.14em; text-transform:uppercase; color:var(--accent); margin:0 0 14px; }
.lede{ font-size:19px; color:var(--text-muted); max-width:58ch; }
.mono{ font-family:'Space Mono',monospace; }

/* ---------- header ---------- */
.site-header{
  border-bottom:var(--border-w) solid var(--border); background:var(--bg);
  position:sticky; top:0; z-index:20;
}
.site-header .container{
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap;
  gap:14px 24px; padding-top:18px; padding-bottom:18px;
}
.logo{
  font-family:'Archivo Black',sans-serif; text-transform:uppercase; font-size:19px;
  letter-spacing:-.01em; text-decoration:none; white-space:nowrap;
}
.logo span{ color:var(--accent); }
nav.primary-nav{ display:flex; flex-wrap:wrap; gap:4px 22px; }
nav.primary-nav a{
  font-family:'Space Mono',monospace; font-size:12px; letter-spacing:.08em; text-transform:uppercase;
  text-decoration:none; padding:6px 0; border-bottom:2px solid transparent;
}
nav.primary-nav a:hover, nav.primary-nav a[aria-current="page"]{ border-bottom-color:var(--accent); color:var(--accent); }

.header-cta{ display:flex; align-items:center; gap:10px; }
.header-cta .wa{
  font-family:'Space Mono',monospace; font-size:11px; letter-spacing:.05em; text-transform:uppercase;
  text-decoration:none; color:var(--text-muted); border:1px solid var(--text-muted); padding:9px 14px; white-space:nowrap;
}
.header-cta .wa:hover{ border-color:var(--accent); color:var(--accent); }
.header-cta .quote{
  font-family:'Space Mono',monospace; font-weight:700; font-size:12px; letter-spacing:.05em; text-transform:uppercase;
  text-decoration:none; background:var(--accent); color:var(--accent-contrast); padding:10px 18px; white-space:nowrap;
}
.header-cta .quote:hover{ background:var(--text); color:var(--bg); }
/* phones and small tablets: the wrapped header scrolls away instead of covering a quarter of the screen,
   and its links get ~44px touch areas (an invisible ::after, so the look stays the same) */
@media (max-width:820px){
  .site-header{ position:static; }
  nav.primary-nav{ row-gap:14px; }
  nav.primary-nav a, .logo{ position:relative; }
  nav.primary-nav a::after, .logo::after{ content:""; position:absolute; inset:-7px -11px; }
  .header-cta a{ min-height:44px; display:inline-flex; align-items:center; }
}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:8px; font-family:'Space Mono',monospace;
  font-weight:700; font-size:13px; letter-spacing:.06em; text-transform:uppercase;
  text-decoration:none; padding:15px 26px; border:var(--border-w) solid var(--border);
  background:var(--accent); color:var(--accent-contrast); cursor:pointer;
}
.btn:hover{ background:var(--text); border-color:var(--text); color:var(--bg); }
.btn-outline{ background:transparent; color:var(--text); }
.btn-outline:hover{ background:var(--text); color:var(--bg); }
.hero .btn-outline{ color:#F3F0E6; border-color:#F3F0E6; }
.hero .btn-outline:hover{ background:#F3F0E6; color:var(--ink); }

/* ---------- hero ---------- */
.hero{
  position:relative; border-bottom:var(--border-w) solid var(--border);
  min-height:78vh; display:flex; align-items:flex-end;
  background-size:cover; background-position:center; color:#F3F0E6;
}
.hero::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(10,10,10,.25) 0%, rgba(10,10,10,.55) 55%, rgba(10,10,10,.86) 100%);
}
.hero-inner{ position:relative; z-index:1; padding-top:64px; padding-bottom:56px; width:100%; }
.hero .eyebrow{ color:#DCEBF7; }
.hero h1{ color:#F3F0E6; max-width:16ch; margin-bottom:20px; }
.hero p{ color:#F3F0E6; opacity:.88; font-size:18px; max-width:52ch; margin-bottom:28px; }
.hero-sm{ min-height:46vh; }

/* ---------- compass strip (SEE/SEA/EAT/DRINK) ---------- */
.compass{ display:flex; flex-wrap:wrap; border-bottom:var(--border-w) solid var(--border); }
.compass a{
  flex:1 1 220px; text-decoration:none; color:var(--text);
  padding:22px 24px; border-right:var(--border-w) solid var(--border);
  border-top:var(--border-w) solid var(--border); margin-top:-2px;
}
.compass a:last-child{ border-right:none; }
.compass .v{ font-family:'Archivo Black',sans-serif; text-transform:uppercase; font-size:26px; }
.compass a:hover .v{ color:var(--accent); }

/* ---------- sections ---------- */
section{ padding:88px 0; border-bottom:var(--border-w) solid var(--border); }
section:last-of-type{ border-bottom:none; }
section.tight{ padding:56px 0; }
.section-head{ margin-bottom:48px; }
.section-head h2{ margin-top:8px; }

/* ---------- cards ---------- */
.card-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:var(--border-w); background:var(--border); border:var(--border-w) solid var(--border); }
.card{ background:var(--surface); padding:32px 28px; text-decoration:none; color:var(--text); display:flex; flex-direction:column; gap:10px; min-height:180px; }
.card .num{ font-family:'Space Mono',monospace; font-size:12px; color:var(--accent); }
.card h3{ text-transform:uppercase; }
.card p{ color:var(--text-muted); font-size:15px; margin:0; }
.card .go{ margin-top:auto; font-family:'Space Mono',monospace; font-size:12px; text-transform:uppercase; letter-spacing:.08em; }
.card:hover{ background:var(--accent); }
.card:hover, .card:hover h3, .card:hover p, .card:hover .num, .card:hover .go{ color:var(--accent-contrast); }

/* ---------- trip / feature cards with image ---------- */
.trip{ display:grid; grid-template-columns:1.1fr 1fr; gap:0; border:var(--border-w) solid var(--border); margin-bottom:var(--border-w); background:var(--surface); }
.trip img{ width:100%; height:100%; object-fit:cover; min-height:320px; }
.trip-body{ padding:40px; display:flex; flex-direction:column; }
.trip-body .eyebrow{ margin-bottom:10px; }
.trip-body h3{ margin-bottom:16px; }
@media (max-width:820px){ .trip{ grid-template-columns:1fr; } .trip img{ min-height:220px; } }
/* Things to do: the chapter words sit on a waterline: solid above it, outlined below */
.word{
  font-size:clamp(64px, 10vw, 128px); line-height:1; letter-spacing:-.02em; margin:0 0 22px;
  color:transparent; -webkit-text-stroke:2px var(--accent);
  background:linear-gradient(var(--accent) 56%, transparent 0); -webkit-background-clip:text; background-clip:text;
}

/* ---------- stop cards (photo + name + feature, per trip) ---------- */
.stop-grid{ display:flex; flex-wrap:wrap; gap:var(--border-w); background:var(--border); border:var(--border-w) solid var(--border); border-top:none; }
.stop-card{ flex:1 1 200px; background:var(--surface); }
.stop-card img{ width:100%; aspect-ratio:4/3; object-fit:cover; display:block; }
.stop-card .cap{ padding:14px 16px; }
.stop-card .cap b{ display:block; font-family:'Archivo',sans-serif; font-weight:700; font-size:14.5px; }
.stop-card .cap span{ display:block; font-family:'Space Mono',monospace; font-size:11.5px; color:var(--text-muted); margin-top:4px; }
/* cards that show a stop on the route: number + shared highlight with the map */
.stop-card.is-linked{ cursor:pointer; }
.stop-card.is-active{ outline:3px solid var(--accent); outline-offset:-3px; }
.stop-card.is-active .cap b{ color:var(--accent); }
.stop-card .cap .stop-num{
  display:inline-flex; align-items:center; justify-content:center; width:18px; height:18px; margin:0 8px 0 0; vertical-align:2px;
  background:var(--accent); color:var(--accent-contrast); font-family:'Space Mono',monospace; font-weight:700; font-size:10px; line-height:1;
}
.stop-card.is-active .stop-num{ background:var(--ink); color:var(--bg); }

.trip-unit{ margin-bottom:100px; }
.trip-unit:last-child{ margin-bottom:0; }

/* ---------- route panel (own stylised map, not a Google embed) ---------- */
.route-panel{
  display:grid; grid-template-columns:minmax(280px,50%) 1fr; gap:var(--border-w);
  background:var(--border); border:var(--border-w) solid var(--border); border-top:none;
}
/* The map fills its half of the panel edge to edge; the script derives the SVG viewBox
   from this box's real shape, so nothing is ever stretched or letterboxed. */
/* not overflow:hidden — the svg clips itself, and a stop's photo card may stick out past the map */
.route-canvas{ position:relative; z-index:1; background:var(--map-sea); min-height:clamp(320px, 38vw, 460px); }
.route-figure{ position:absolute; inset:0; }
.route-figure svg{ position:absolute; inset:0; width:100%; height:100%; }
/* chart-style coast: hairline water lines in the sea, a fine coastline, hatched Spain */
.rm-wl{ fill:none; stroke:var(--map-water); stroke-linejoin:round; }
.rm-ws{ fill:none; stroke:var(--map-sea); stroke-linejoin:round; }
.rm-hatch-bg{ fill:var(--map-neighbour); }
.rm-hatch-ln{ stroke:var(--map-hatch); }
.rm-neighbour{ stroke:none; }
.rm-land{ fill:var(--map-land); stroke:var(--map-coast); stroke-linejoin:round; }
.rm-route, .rm-route-casing{ fill:none; stroke-linecap:round; stroke-linejoin:round; }
.rm-route{ stroke:var(--accent); }
.rm-route-casing{ stroke:var(--map-land); }
.rm-node{ fill:var(--accent); stroke:var(--map-land); }
.rm-leader{ stroke:var(--text); stroke-opacity:.4; }

.rm-pin{
  position:absolute; transform:translate(-50%,-50%); z-index:2;
  padding:0; border:0; background:none; cursor:pointer; line-height:0; color:inherit;
}
.rm-num{
  display:flex; align-items:center; justify-content:center; width:24px; height:24px;
  background:var(--accent); color:var(--accent-contrast); box-shadow:0 2px 0 var(--ink);
  font-family:'Space Mono',monospace; font-weight:700; font-size:11px; line-height:1;
  transition:background-color .2s ease, color .2s ease, opacity .25s ease, transform .25s ease;
}
.is-dense .rm-num{ width:20px; height:20px; font-size:10px; box-shadow:0 1px 0 var(--ink); }
.rm-pin.is-active{ z-index:6; }
.rm-pin.is-active .rm-num{ background:var(--ink); color:var(--bg); transform:scale(1.15); }
.has-active .rm-pin:not(.is-active) .rm-num{ opacity:.35; }

/* candidate / optional sites — present but not part of the numbered run */
.rm-extra{ z-index:1; }
.rm-extra .rm-num{
  width:11px; height:11px; background:var(--map-land); box-shadow:none;
  border:2px solid var(--accent); transform:rotate(45deg);
}
.rm-extra.is-active .rm-num{ background:var(--accent); transform:rotate(45deg) scale(1.3); }

.rm-tip{
  position:absolute; bottom:calc(100% + 12px); left:50%; transform:translateX(-50%);
  width:max-content; max-width:200px; background:var(--surface); color:var(--text);
  border:2px solid var(--border); box-shadow:4px 4px 0 var(--ink); text-align:left; line-height:1.35;
  opacity:0; visibility:hidden; transition:opacity .18s ease, visibility 0s linear .18s; pointer-events:none; z-index:3;
}
.rm-tip img{ display:block; width:196px; max-width:none; aspect-ratio:3/2; object-fit:cover; border-bottom:2px solid var(--border); }
.rm-tip-t{ display:block; padding:9px 12px 10px; }
.rm-tip b{ display:block; font-family:'Archivo',sans-serif; font-weight:700; font-size:14px; }
.rm-tip-t span{ display:block; font-family:'Space Mono',monospace; font-size:11px; color:var(--text-muted); margin-top:2px; }
.rm-pin.is-active .rm-tip{ opacity:1; visibility:visible; transition:opacity .18s ease, visibility 0s; }
.tip-below .rm-tip{ bottom:auto; top:calc(100% + 12px); }
.tip-start .rm-tip{ left:-8px; transform:none; }
.tip-end .rm-tip{ left:auto; right:-8px; transform:none; }

/* drawing in: dots, badges and legend numbers arrive as the line reaches them (--d) */
.is-armed .rm-pin{ opacity:0; transform:translate(-50%,-50%) scale(.55); transition:opacity .35s ease-out var(--d,0s), transform .5s cubic-bezier(.2,.8,.2,1) var(--d,0s); }
.is-armed .rm-node, .is-armed .rm-leader{ opacity:0; transition:opacity .35s ease-out var(--d,0s); }
.is-armed.is-drawn .rm-pin{ opacity:1; transform:translate(-50%,-50%); }
.is-armed.is-drawn .rm-node, .is-armed.is-drawn .rm-leader{ opacity:1; }
.is-armed:not(.is-drawn) .route-legend li::before{ background:transparent; color:var(--accent); box-shadow:inset 0 0 0 1.5px var(--accent); }
.is-settled .rm-pin, .is-settled .rm-node, .is-settled .rm-leader, .is-settled .route-legend li::before{ transition-delay:0s; }
.is-resetting *, .is-resetting *::before{ transition:none !important; }

.rm-replay{
  position:absolute; top:12px; right:12px; z-index:7;
  font-family:'Space Mono',monospace; font-weight:700; font-size:11px; letter-spacing:.06em; text-transform:uppercase;
  background:var(--surface); color:var(--text); border:var(--border-w) solid var(--border); padding:7px 11px; cursor:pointer;
}
.rm-replay:hover{ background:var(--text); color:var(--bg); }
.rm-credit{
  position:absolute; left:8px; bottom:6px; z-index:7; font-family:'Space Mono',monospace; font-size:10px;
  color:var(--text-muted); text-decoration:none;
}
.rm-credit:hover{ color:var(--accent); }
@media (prefers-reduced-motion: reduce){ .rm-replay{ display:none; } }

.route-side{ background:var(--surface); padding:40px; display:flex; flex-direction:column; justify-content:center; }
.route-side h4{ font-family:'Archivo Black',sans-serif; text-transform:uppercase; font-size:clamp(22px,3vw,32px); letter-spacing:-.01em; margin:4px 0 14px; text-wrap:balance; }
.route-side .stops-count{ font-family:'Space Mono',monospace; font-size:12px; letter-spacing:.06em; text-transform:uppercase; color:var(--text-muted); margin:0 0 22px; }
.route-legend{ list-style:none; margin:0 0 22px; padding:0; counter-reset:leg; }
.route-legend li{
  counter-increment:leg; display:flex; align-items:baseline; gap:11px; padding:8px 0;
  border-bottom:1px solid color-mix(in srgb, var(--text-muted) 25%, transparent);
  font-size:14.5px; break-inside:avoid; cursor:pointer; transition:color .2s ease;
}
.route-legend li b{ font-weight:400; }
.route-legend li::before{
  content:counter(leg); flex:0 0 20px; height:20px; display:inline-flex; align-items:center; justify-content:center;
  background:var(--accent); color:var(--accent-contrast); font-family:'Space Mono',monospace; font-weight:700; font-size:10px;
  transition:background-color .3s ease var(--d,0s), color .3s ease var(--d,0s), box-shadow .3s ease var(--d,0s);
}
.route-legend li i{ font-style:normal; color:var(--text-muted); font-family:'Space Mono',monospace; font-size:11px; margin-left:auto; text-align:right; padding-left:8px; }
.route-legend li.is-active, .route-legend li.is-active i{ color:var(--accent); }
.route-legend li.is-active::before{ background:var(--ink); color:var(--bg); }
.route-legend.cols{ columns:2; column-gap:30px; }

/* extras read like a map key: the same hollow diamond as on the map */
.route-extras{ list-style:none; margin:0 0 24px; padding:0; display:flex; flex-wrap:wrap; gap:6px 20px; }
.route-extras li{ display:inline-flex; align-items:center; gap:9px; font-size:14px; color:var(--text-muted); cursor:pointer; transition:color .2s ease; }
.route-extras li::before{ content:""; flex:none; width:7px; height:7px; border:1.5px solid var(--accent); transform:rotate(45deg); transition:background-color .2s ease; }
.route-extras li.is-active{ color:var(--accent); }
.route-extras li.is-active::before{ background:var(--accent); }
.route-extras li i{ display:none; }
.extras-label{ font-family:'Space Mono',monospace; font-size:10.5px; letter-spacing:.1em; text-transform:uppercase; color:var(--text-muted); margin:0 0 9px; }
.route-side .btn{ align-self:flex-start; }

.route-panel > *{ min-width:0; }
@media (max-width:560px){ .route-legend.cols{ columns:1; } }
@media (max-width:860px){
  .route-panel{ grid-template-columns:1fr; }
  .route-side{ padding:32px 26px; }
  .route-canvas{ min-height:clamp(300px, 66vw, 420px); }
}

/* ---------- pricing ---------- */
.price-table{ width:100%; border-collapse:collapse; }
.price-table th{ text-align:left; font-family:'Space Mono',monospace; font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--text-muted); padding:0 0 12px; border-bottom:var(--border-w) solid var(--border); }
.price-table td{ padding:16px 0; border-bottom:1px solid color-mix(in srgb, var(--text-muted) 30%, transparent); vertical-align:top; }
.price-table td:last-child{ text-align:right; font-family:'Space Mono',monospace; font-variant-numeric:tabular-nums; white-space:nowrap; font-weight:700; }
.price-table tr:last-child td{ border-bottom:none; }
.price-table.multi th:not(:first-child){ text-align:right; }
.price-table.multi td:not(:first-child){ text-align:right; font-family:'Space Mono',monospace; font-variant-numeric:tabular-nums; white-space:nowrap; font-weight:400; }
.price-table.multi td:last-child{ font-weight:700; color:var(--accent); }
.price-block{ margin-bottom:56px; }
.price-block h3{ margin-bottom:6px; }
.price-block .lede{ margin-bottom:20px; font-size:15px; }
/* photo-topped price cards, two to a row, sharing the hard 2px rules */
.price-grid{ display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:var(--border-w); background:var(--border); border:var(--border-w) solid var(--border); }
.price-card{ background:var(--surface); }
.price-card img{ width:100%; aspect-ratio:2/1; object-fit:cover; border-bottom:var(--border-w) solid var(--border); }
.price-card .price-block{ margin:0; padding:28px 30px 32px; }
@media (max-width:860px){ .price-grid{ grid-template-columns:1fr; } .price-card .price-block{ padding:24px 22px 28px; } }

/* ---------- timeline (About) ---------- */
.timeline{ border-top:var(--border-w) solid var(--border); }
.timeline-row{ display:grid; grid-template-columns:160px 1fr; gap:24px; padding:22px 0; border-bottom:1px solid color-mix(in srgb, var(--text-muted) 30%, transparent); }
.timeline-row .yrs{ font-family:'Space Mono',monospace; font-size:14px; color:var(--accent); white-space:nowrap; }
.timeline-row p{ margin:0; font-size:15.5px; }
@media (max-width:560px){ .timeline-row{ grid-template-columns:1fr; gap:6px; } }

.specialty-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:var(--border-w); background:var(--border); border:var(--border-w) solid var(--border); }
@media (max-width:900px){ .specialty-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:480px){ .specialty-grid{ grid-template-columns:1fr; } }
.specialty{ background:var(--surface); padding:26px 26px; }
.specialty .n{ font-family:'Space Mono',monospace; color:var(--accent); font-size:12px; }
.specialty h3{ font-size:18px; margin:8px 0 8px; }
.specialty p{ font-size:14px; color:var(--text-muted); margin:0; }

.portrait-frame{
  border:var(--border-w) dashed var(--border); aspect-ratio:4/5; display:flex; flex-direction:column;
  align-items:center; justify-content:center; gap:10px; background:var(--surface); text-align:center; padding:24px;
}
.portrait-frame .mark{ font-family:'Archivo Black',sans-serif; font-size:44px; color:var(--accent); }
.portrait-frame .note{ font-family:'Space Mono',monospace; font-size:12px; color:var(--text-muted); max-width:22ch; }

/* ---------- tags ---------- */
.tags{ display:flex; flex-wrap:wrap; gap:8px; margin-top:18px; padding:0; list-style:none; }
.tags li{ font-family:'Space Mono',monospace; font-size:11px; text-transform:uppercase; letter-spacing:.04em; border:1px solid var(--text-muted); padding:7px 11px; color:var(--text-muted); }

/* ---------- stats ---------- */
.stat-row{ display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:var(--border-w); background:var(--border); border:var(--border-w) solid var(--border); }
.stat{ background:var(--surface); padding:28px 26px; }
.stat .n{ font-family:'Archivo Black',sans-serif; font-size:44px; font-variant-numeric:tabular-nums; }
.stat .l{ font-family:'Space Mono',monospace; font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--text-muted); margin-top:6px; }

/* ---------- numbered process ---------- */
.process{ list-style:none; margin:0; padding:0; counter-reset:step; border-top:var(--border-w) solid var(--border); }
.process li{ counter-increment:step; display:grid; grid-template-columns:56px 1fr; gap:16px; padding:20px 0; border-bottom:1px solid color-mix(in srgb, var(--text-muted) 30%, transparent); align-items:baseline; }
.process li::before{ content:counter(step, decimal-leading-zero); font-family:'Space Mono',monospace; font-size:13px; color:var(--accent); }
.process li span{ font-size:15.5px; }

/* ---------- callout ---------- */
.callout{ border:var(--border-w) solid var(--border); padding:36px 40px; display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:20px; background:var(--surface); }
.callout p{ margin:0; font-family:'Space Mono',monospace; font-size:13px; color:var(--text-muted); text-transform:uppercase; letter-spacing:.04em; }

/* ---------- what-it-is-not list ---------- */
.not-list{ list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.not-list li{ font-size:15px; color:var(--text-muted); padding-left:22px; position:relative; }
.not-list li::before{ content:"✕"; position:absolute; left:0; color:var(--accent); font-family:'Space Mono',monospace; }

.pos-list{ list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.pos-list li{ font-size:15px; color:var(--text); padding-left:22px; position:relative; }
.pos-list li::before{ content:"✓"; position:absolute; left:0; color:var(--accent); font-family:'Space Mono',monospace; }
.not-pos-grid{ display:grid; grid-template-columns:1fr 1fr; gap:var(--border-w); background:var(--border); border:var(--border-w) solid var(--border); }
.not-pos-grid > div{ background:var(--surface); padding:28px 30px; }
@media (max-width:640px){ .not-pos-grid{ grid-template-columns:1fr; } }

/* ---------- pullquote ---------- */
.pullquote{ border-left:var(--border-w) solid var(--accent); padding-left:28px; }
.pullquote p{ font-family:'Archivo Black',sans-serif; font-weight:400; font-size:clamp(22px,3.4vw,32px); line-height:1.15; text-transform:none; letter-spacing:-.005em; max-width:22ch; text-wrap:balance; }
.pullquote cite{ display:block; margin-top:14px; font-family:'Space Mono',monospace; font-style:normal; font-size:12px; text-transform:uppercase; letter-spacing:.06em; color:var(--text-muted); }

/* ---------- home: motto on two lines from ~760px up ---------- */
/* 25.2 = the longer line's width in em (24.3) plus slack for a scrollbar */
.motto{ font-size:clamp(28px, calc((100vw - 48px) / 25.2), 45px); }
/* below this the long line can't fit even at 28px: drop the break and let balance wrap it */
@media (max-width:739px){ .motto br{ display:none; } }

/* ---------- home: Mission, the photo fills the left half edge to edge and the man in it looks into the text ---------- */
.mission{ position:relative; }
/* 72%: keeps the man in the surf in frame at every crop */
.mission > img{ position:absolute; top:0; left:0; width:50%; height:100%; object-fit:cover; object-position:72% 50%; border-right:var(--border-w) solid var(--border); }
/* text hugs the photo, so a wide window leaves its spare room on the right, where ragged lines end anyway */
.mission .container > *{ max-width:calc(50% - 56px); margin-left:auto; }
@media (max-width:820px){
  .mission{ padding-top:0; }
  .mission > img{ position:static; width:100%; height:auto; aspect-ratio:4/3; border-right:0; border-bottom:var(--border-w) solid var(--border); margin-bottom:56px; }
  .mission .container > *{ max-width:none; }
}

/* ---------- footer ---------- */
.site-footer{ border-top:var(--border-w) solid var(--border); padding:48px 0 32px; }
.footer-grid{ display:flex; flex-wrap:wrap; justify-content:space-between; gap:32px; margin-bottom:32px; }
.footer-grid .logo{ display:block; margin-bottom:10px; }
.footer-links{ display:flex; flex-wrap:wrap; gap:8px 20px; list-style:none; padding:0; margin:0; }
.footer-links a{ font-family:'Space Mono',monospace; font-size:12px; text-transform:uppercase; letter-spacing:.06em; text-decoration:none; color:var(--text-muted); }
.footer-links a:hover{ color:var(--accent); }
.footer-legal{ display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px; margin-top:20px; padding-top:20px; border-top:1px solid color-mix(in srgb, var(--text-muted) 30%, transparent); font-family:'Space Mono',monospace; font-size:11px; color:var(--text-muted); }
.footer-legal a{ text-decoration:none; color:var(--text-muted); }
.footer-legal a:hover{ color:var(--accent); }
@media (max-width:820px){
  .footer-links{ row-gap:0; }
  .footer-links a, .footer-legal a{ display:inline-block; padding:13px 0; }
}

/* ---------- utility ---------- */
.center{ text-align:center; }
.mt-0{ margin-top:0; }
.stack{ display:flex; flex-direction:column; gap:16px; }
.row-gap{ display:flex; flex-wrap:wrap; gap:14px; }
