/* ==========================================================================
   PINNeAPPle Labs — landing page styles
   Design system: dark technical surface, amber brand accent, mono for data.
   ========================================================================== */

:root {
  /* surfaces */
  --ink:        #070a10;
  --ink-2:      #0b1018;
  --ink-3:      #101724;
  --ink-4:      #161f2e;
  --line:       #1e2836;
  --line-soft:  #17202c;

  /* text */
  --text:       #eef2f7;
  --text-dim:   #93a1b4;
  --text-mute:  #64748b;

  /* brand */
  --gold:       #f0b32e;
  --gold-hi:    #ffc95a;
  --gold-dk:    #8a6415;
  --cyan:       #3dd6c4;
  --cyan-hi:    #6ff0e0;
  --violet:     #9d8cff;

  /* semantic */
  --ok:         #43d98a;
  --ok-bg:      rgba(67, 217, 138, .1);
  --warn:       #f5b83d;
  --warn-bg:    rgba(245, 184, 61, .1);
  --fail:       #ff6b6b;
  --fail-bg:    rgba(255, 107, 107, .1);

  /* type */
  --f-display: "Archivo", system-ui, -apple-system, sans-serif;
  --f-body:    "Archivo", system-ui, -apple-system, sans-serif;
  --f-mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --maxw: 78rem;
  --gutter: 1.5rem;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
p { max-width: 64ch; margin: 0; }
img, video { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--f-display);
  line-height: 1.1;
  letter-spacing: -0.022em;
  font-weight: 800;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: 1.16rem; font-weight: 700; letter-spacing: -0.012em; }
h4 { font-size: 0.95rem; font-weight: 600; letter-spacing: -0.005em; }

a { color: inherit; text-decoration-color: color-mix(in srgb, var(--gold) 50%, transparent); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }

code, kbd, samp, pre { font-family: var(--f-mono); }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }

/* ---------- shared atoms ---------- */

.eyebrow {
  margin: 0 0 1rem;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow.dim { color: var(--text-mute); }

.lead {
  margin-top: 1.35rem;
  font-size: clamp(1.06rem, 1.7vw, 1.28rem);
  line-height: 1.6;
  color: var(--text-dim);
}
.lead strong, .lead b { color: var(--text); font-weight: 600; }

.section-head { max-width: 60ch; margin-bottom: 3rem; }
.section-head p { margin-top: 1rem; color: var(--text-dim); }
.section-head.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; max-width: none; align-items: end; }
.section-head.split > p { margin: 0; }
@media (max-width: 820px) {
  .section-head.split { grid-template-columns: 1fr; gap: 1.25rem; align-items: start; }
}

section { padding-block: clamp(4rem, 8vw, 7rem); }
section.tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
section.alt { background: var(--ink-2); border-block: 1px solid var(--line); }
section.alt-deep { background: var(--ink-3); border-block: 1px solid var(--line); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.82rem 1.4rem;
  border-radius: 8px;
  border: 1px solid transparent;
  font-family: var(--f-body);
  font-size: 0.9rem; font-weight: 600; letter-spacing: 0.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .14s ease, background .14s ease, border-color .14s ease, color .14s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gold); color: #17100200; color: #1a1204; }
.btn-primary:hover { background: var(--gold-hi); }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--gold-dk); color: var(--gold-hi); }
.btn-quiet { color: var(--text-dim); background: transparent; padding-inline: 0.4rem; }
.btn-quiet:hover { color: var(--text); }
.btn-sm { padding: 0.55rem 0.95rem; font-size: 0.82rem; }

.chip {
  display: inline-flex; align-items: center; gap: 0.42rem;
  font-family: var(--f-mono); font-size: 0.72rem;
  padding: 0.28rem 0.62rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-dim);
  white-space: nowrap;
}
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); flex: none; }

/* ==========================================================================
   Header
   ========================================================================== */

header.site {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--ink) 88%, transparent);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--line-soft);
}
.bar {
  display: flex; align-items: center; gap: 2rem;
  height: 4.1rem; max-width: var(--maxw); margin-inline: auto;
  padding-inline: var(--gutter);
}
.brand {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--f-display); font-weight: 800; font-size: 1.02rem;
  letter-spacing: -0.02em; text-decoration: none; white-space: nowrap;
}
.brand svg { width: 1.5rem; height: 1.5rem; flex: none; }
.brand .labs { color: var(--text-dim); font-weight: 500; }

nav.main { display: flex; gap: 1.65rem; margin-left: auto; font-size: 0.855rem; font-weight: 500; }
nav.main a { color: var(--text-dim); text-decoration: none; transition: color .14s ease; }
nav.main a:hover, nav.main a[aria-current] { color: var(--text); }

.bar-cta { display: flex; align-items: center; gap: 0.8rem; }

.nav-toggle {
  display: none; margin-left: auto;
  background: none; border: 1px solid var(--line); border-radius: 7px;
  color: var(--text); width: 2.4rem; height: 2.4rem;
  align-items: center; justify-content: center; cursor: pointer;
}
@media (max-width: 940px) {
  nav.main, .bar-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  nav.main.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; left: 0; right: 0; top: 4.1rem;
    background: var(--ink-2); border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--gutter) 1.25rem;
  }
  nav.main.open a { padding: 0.7rem 0; border-bottom: 1px solid var(--line-soft); font-size: 0.95rem; }
}
@media (min-width: 941px) { .mobile-only { display: none; } }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero { position: relative; overflow: hidden; padding-block: clamp(3.5rem, 7vw, 6rem) clamp(3rem, 6vw, 5rem); }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 70%;
  background: radial-gradient(60% 60% at 22% 0%, rgba(240,179,46,.13), transparent 70%),
              radial-gradient(50% 50% at 82% 12%, rgba(61,214,196,.10), transparent 72%);
  pointer-events: none;
}
.hero .wrap { position: relative; }

.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 2.75rem; } }

.hero h1 { max-width: 15ch; }
.hero .lead { max-width: 50ch; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 2.1rem; align-items: center; }

.install {
  display: inline-flex; align-items: center; gap: 0.7rem;
  margin-top: 0.55rem; padding: 0.72rem 0.9rem 0.72rem 1rem;
  background: var(--ink-3); border: 1px solid var(--line); border-radius: 8px;
  font-family: var(--f-mono); font-size: 0.83rem; color: var(--text-dim);
  cursor: pointer; transition: border-color .14s ease;
}
.install:hover { border-color: var(--gold-dk); }
.install .prompt { color: var(--gold); user-select: none; }
.install .cmd { color: var(--text); }
.install .copy-ico { color: var(--text-mute); display: block; }
.install.copied { border-color: var(--ok); }
.install.copied .copy-ico { color: var(--ok); }

.hero-meta {
  display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1.6rem;
  padding-top: 1.6rem; border-top: 1px solid var(--line-soft);
}

.hero-media {
  position: relative; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line); background: var(--ink-3);
  box-shadow: 0 28px 70px -30px rgba(0,0,0,.85);
}
.hero-media video, .hero-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.hero-media figcaption {
  display: flex; justify-content: space-between; gap: 1rem; align-items: baseline;
  padding: 0.7rem 0.95rem;
  font-family: var(--f-mono); font-size: 0.7rem; color: var(--text-mute);
  border-top: 1px solid var(--line-soft); background: var(--ink-2);
}
.hero-media figcaption b { color: var(--text-dim); font-weight: 500; }

/* ==========================================================================
   Stat strip
   ========================================================================== */

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line); border-block: 1px solid var(--line);
}
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat-cell { background: var(--ink); padding: 1.6rem var(--gutter); }
.stat-cell .n {
  font-family: var(--f-mono); font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  font-weight: 500; color: var(--gold); letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums; line-height: 1.15;
}
.stat-cell .n.cyan { color: var(--cyan); }
.stat-cell .l { margin-top: 0.4rem; font-size: 0.815rem; color: var(--text-dim); line-height: 1.45; max-width: 26ch; }
.stat-cell .s { margin-top: 0.5rem; font-family: var(--f-mono); font-size: 0.66rem; color: var(--text-mute); }

/* ==========================================================================
   Cards / grids
   ========================================================================== */

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 10px;
  padding: 1.5rem; display: flex; flex-direction: column; gap: 0.65rem;
  transition: border-color .16s ease, background .16s ease;
}
.card:hover { border-color: var(--gold-dk); background: var(--ink-3); }
.card h3 { margin-top: 0.15rem; }
.card p { font-size: 0.925rem; color: var(--text-dim); }
.card .k {
  font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--text-mute);
}
.card .ico { width: 1.6rem; height: 1.6rem; color: var(--gold); margin-bottom: 0.3rem; }
.card .ico svg { width: 100%; height: 100%; }
.card .foot {
  margin-top: auto; padding-top: 0.9rem;
  font-family: var(--f-mono); font-size: 0.72rem; color: var(--text-mute);
  border-top: 1px solid var(--line-soft);
}
.card .foot b { color: var(--text-dim); font-weight: 500; }

/* numbered / stepped list */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: s; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step .sn {
  display: block; font-family: var(--f-mono); font-size: 0.75rem;
  color: var(--gold); letter-spacing: 0.1em; margin-bottom: 0.7rem;
  padding-bottom: 0.7rem; border-bottom: 1px solid var(--line);
}
.step h3 { margin-bottom: 0.45rem; }
.step p { font-size: 0.9rem; color: var(--text-dim); }

/* ==========================================================================
   Architecture stack
   ========================================================================== */

.stack { display: flex; flex-direction: column; gap: 0.6rem; }
.layer {
  display: grid; grid-template-columns: 12rem 1fr; gap: 1.5rem; align-items: start;
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 9px;
  padding: 1.1rem 1.3rem;
  transition: border-color .16s ease;
}
.layer:hover { border-color: var(--gold-dk); }
@media (max-width: 760px) { .layer { grid-template-columns: 1fr; gap: 0.6rem; } }
.layer .lname {
  font-family: var(--f-mono); font-size: 0.78rem; color: var(--gold);
  letter-spacing: 0.02em; padding-top: 0.15rem;
}
.layer .lname small { display: block; color: var(--text-mute); font-size: 0.68rem; letter-spacing: 0.06em; margin-top: 0.25rem; }
.layer .lmods { display: flex; flex-wrap: wrap; gap: 0.38rem; }
.layer .lmods span {
  font-family: var(--f-mono); font-size: 0.73rem;
  padding: 0.22rem 0.55rem; border-radius: 5px;
  background: var(--ink-4); border: 1px solid var(--line-soft); color: var(--text-dim);
}

/* ==========================================================================
   Tables
   ========================================================================== */

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--ink-2); }
table.data { width: 100%; border-collapse: collapse; font-size: 0.885rem; min-width: 48rem; }
table.data thead th {
  text-align: left; padding: 0.85rem 1rem;
  font-family: var(--f-mono); font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-mute);
  border-bottom: 1px solid var(--line); background: var(--ink-3); white-space: nowrap;
}
table.data tbody td { padding: 0.9rem 1rem; border-bottom: 1px solid var(--line-soft); color: var(--text-dim); vertical-align: top; }
table.data tbody tr:last-child td { border-bottom: none; }
table.data tbody tr:hover td { background: var(--ink-3); }
table.data td.metric { font-family: var(--f-mono); color: var(--gold); white-space: nowrap; font-variant-numeric: tabular-nums; }
table.data td.metric.cyan { color: var(--cyan); }
table.data td.name { color: var(--text); font-weight: 500; }
table.data td.name small { display: block; color: var(--text-mute); font-weight: 400; font-size: 0.78rem; font-family: var(--f-mono); margin-top: 0.15rem; }

.badge {
  display: inline-block; font-family: var(--f-mono); font-size: 0.65rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.18rem 0.45rem; border-radius: 4px; white-space: nowrap;
}
.badge.ok { background: var(--ok-bg); color: var(--ok); }
.badge.warn { background: var(--warn-bg); color: var(--warn); }
.badge.fail { background: var(--fail-bg); color: var(--fail); }

/* ==========================================================================
   Gallery
   ========================================================================== */

.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0.85rem; }
.gitem {
  position: relative; overflow: hidden; border-radius: 9px;
  border: 1px solid var(--line); background: var(--ink-3);
}
.gitem img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gitem.contain { background: #0a0e14; }
.gitem.contain img { object-fit: contain; }
.gitem.contain:hover img { transform: none; }
.gitem:hover img { transform: scale(1.03); }
.gitem figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 1.6rem 0.9rem 0.75rem;
  background: linear-gradient(to top, rgba(4,7,12,.94), rgba(4,7,12,.55) 55%, transparent);
  font-family: var(--f-mono); font-size: 0.7rem; color: var(--text-dim);
}
.gitem figcaption b { display: block; color: var(--text); font-weight: 500; margin-bottom: 0.15rem; font-size: 0.76rem; }
.g-w6 { grid-column: span 6; aspect-ratio: 16 / 9; }
.g-w4 { grid-column: span 4; aspect-ratio: 4 / 3; }
.g-w3 { grid-column: span 3; aspect-ratio: 1 / 1; }
@media (max-width: 860px) {
  .g-w6, .g-w4 { grid-column: span 12; }
  .g-w3 { grid-column: span 6; }
}

/* ==========================================================================
   Code
   ========================================================================== */

.code-card {
  border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--ink-2);
}
.code-head {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.6rem 0.9rem; border-bottom: 1px solid var(--line);
  background: var(--ink-3);
}
.code-head .tabs { display: flex; gap: 0.25rem; }
.code-head .tabs button {
  background: none; border: none; cursor: pointer;
  font-family: var(--f-mono); font-size: 0.73rem; color: var(--text-mute);
  padding: 0.3rem 0.6rem; border-radius: 5px;
}
.code-head .tabs button[aria-selected="true"] { color: var(--gold); background: var(--ink-4); }
.code-head .fname { margin-left: auto; font-family: var(--f-mono); font-size: 0.7rem; color: var(--text-mute); }
pre.code {
  margin: 0; padding: 1.15rem 1.2rem; overflow-x: auto;
  font-size: 0.815rem; line-height: 1.75; color: #c9d4e2; tab-size: 4;
}
pre.code .c { color: var(--text-mute); font-style: italic; }
pre.code .k { color: var(--violet); }
pre.code .s { color: var(--cyan); }
pre.code .f { color: var(--gold); }
pre.code .n { color: #f08c6a; }
pre.code[hidden] { display: none; }

/* ==========================================================================
   Split feature blocks
   ========================================================================== */

.split-block { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split-block.flip > :first-child { order: 2; }
@media (max-width: 900px) {
  .split-block { grid-template-columns: 1fr; gap: 2rem; }
  .split-block.flip > :first-child { order: 0; }
}
.split-block .media {
  border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--ink-3);
}
.split-block .media img { width: 100%; }
.split-block .media figcaption {
  padding: 0.7rem 0.95rem;
  border-top: 1px solid var(--line);
  background: var(--ink-2);
  font-family: var(--f-mono);
  font-size: 0.7rem;
  color: var(--text-mute);
}
.checks { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.7rem; }
.checks li { display: flex; gap: 0.65rem; font-size: 0.925rem; color: var(--text-dim); }
.checks li::before {
  content: ""; flex: none; width: 1.05rem; height: 1.05rem; margin-top: 0.28rem;
  border-radius: 50%; background: var(--ok-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2343d98a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E");
  background-size: 0.78rem; background-repeat: no-repeat; background-position: center;
}
.checks li b { color: var(--text); font-weight: 600; }

/* ==========================================================================
   Repos / open source
   ========================================================================== */

.repo {
  display: grid; grid-template-columns: 1fr auto; gap: 1.25rem; align-items: start;
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 10px; padding: 1.4rem;
  transition: border-color .16s ease;
}
.repo:hover { border-color: var(--gold-dk); }
.repo h3 { display: flex; align-items: center; gap: 0.55rem; font-family: var(--f-mono); font-size: 1rem; font-weight: 500; }
.repo h3 svg { width: 1rem; height: 1rem; color: var(--text-dim); flex: none; }
.repo p { font-size: 0.9rem; color: var(--text-dim); margin-top: 0.55rem; }
.repo .rmeta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 0.95rem; font-family: var(--f-mono); font-size: 0.72rem; color: var(--text-mute); }
.repo .rlinks { display: flex; flex-direction: column; gap: 0.45rem; align-items: stretch; }

/* ==========================================================================
   Callout / note
   ========================================================================== */

.note {
  display: flex; gap: 0.8rem;
  margin-top: 1.75rem; padding: 0.95rem 1.15rem;
  border-left: 2px solid var(--gold-dk); background: var(--ink-3);
  border-radius: 0 7px 7px 0;
  font-size: 0.875rem; color: var(--text-dim);
}
.note b { color: var(--text); font-weight: 600; }

/* ==========================================================================
   CTA
   ========================================================================== */

.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--ink-3), var(--ink-2) 60%);
  border-block: 1px solid var(--line);
}
.cta-band::after {
  content: ""; position: absolute; inset: auto -8% -60% auto; width: 46%; height: 150%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(240,179,46,.13), transparent 70%);
  pointer-events: none;
}
.cta-inner { position: relative; display: grid; grid-template-columns: 1.35fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 860px) { .cta-inner { grid-template-columns: 1fr; gap: 2rem; } }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

/* ==========================================================================
   Team
   ========================================================================== */

.person { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1.25rem; align-items: start; }
.person img { width: 4.5rem; height: 4.5rem; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.person strong { display: block; font-size: 1rem; }
.person .role { display: block; font-family: var(--f-mono); font-size: 0.74rem; color: var(--gold); margin: 0.15rem 0 0.55rem; }
.person p { font-size: 0.885rem; color: var(--text-dim); }
.person a { display: inline-block; margin-top: 0.6rem; font-family: var(--f-mono); font-size: 0.75rem; }

/* ==========================================================================
   Footer
   ========================================================================== */

footer.site { padding-block: 4rem 3rem; border-top: 1px solid var(--line); background: var(--ink-2); }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2.5rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-grid h4 {
  font-family: var(--f-mono); font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-mute);
  margin-bottom: 0.9rem;
}
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.foot-grid ul a { font-size: 0.885rem; color: var(--text-dim); text-decoration: none; }
.foot-grid ul a:hover { color: var(--text); }
.foot-brand p { font-size: 0.875rem; color: var(--text-mute); margin-top: 0.9rem; max-width: 32ch; }
.foot-base {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line-soft);
  font-size: 0.78rem; color: var(--text-mute);
}
.foot-base a { color: var(--text-mute); }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Multi-page additions: skip link, sticky WhatsApp, product blocks, pages
   ========================================================================== */

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--gold); color: #1a1204; padding: 0.7rem 1.1rem;
  font-weight: 600; border-radius: 0 0 8px 0; text-decoration: none;
}
.skip-link:focus { left: 0; }

/* floating WhatsApp — always visible, follows the scroll */
.fab {
  position: fixed; right: 1.15rem; bottom: 1.15rem; z-index: 70;
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.8rem 1.15rem; border-radius: 999px;
  background: #1fae63; color: #04150c;
  font-family: var(--f-body); font-size: 0.88rem; font-weight: 600;
  text-decoration: none; white-space: nowrap;
  box-shadow: 0 14px 34px -12px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  transition: transform .14s ease, background .14s ease;
}
.fab:hover { background: #29c874; transform: translateY(-2px); }
.fab svg { width: 1.15rem; height: 1.15rem; flex: none; }
@media (max-width: 620px) {
  .fab { right: 0.8rem; bottom: 0.8rem; padding: 0.78rem; }
  .fab span { display: none; }           /* icon only on phones */
}
@media (prefers-reduced-motion: reduce) { .fab { transition: none; } }
footer.site { padding-bottom: 5.5rem; }   /* keeps the button off the footer text */

/* page header for the inner pages */
.page-head { padding-block: clamp(3rem, 6vw, 4.6rem) clamp(1.5rem, 3vw, 2.4rem); }
.page-head h1 { max-width: 22ch; margin-bottom: 1.2rem; }

/* product blocks on the main page */
.product-block { margin-bottom: clamp(3rem, 6vw, 5rem); }
.product-block:last-child { margin-bottom: 0; }
.product-name { font-size: clamp(1.5rem, 2.8vw, 2rem); margin-bottom: 1rem; }
.product-proof {
  display: flex; align-items: baseline; gap: 0.7rem; flex-wrap: wrap;
  margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line);
}
.product-proof b {
  font-family: var(--f-mono); font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  color: var(--gold); font-weight: 500; letter-spacing: -0.02em;
}
.product-proof span { font-size: 0.86rem; color: var(--text-dim); max-width: 28ch; }
.product-actions { margin-top: 1.2rem; }
.product-media video, .product-media img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--ink-3);
}

/* "what exists today" strip */
.exist-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
@media (max-width: 780px) { .exist-grid { grid-template-columns: repeat(2, 1fr); } }
.exist-cell { background: var(--ink-2); padding: 1.4rem 1.2rem; }
.exist-cell b {
  display: block; font-family: var(--f-mono); font-size: 1.6rem; color: var(--gold);
  font-weight: 500; font-variant-numeric: tabular-nums;
}
.exist-cell span { display: block; margin-top: 0.35rem; font-size: 0.84rem; color: var(--text-dim); }

/* destination cards */
.dest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 820px) { .dest-grid { grid-template-columns: 1fr; } }
.dest {
  position: relative; display: block; padding: 1.7rem 1.6rem 1.5rem;
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 12px;
  text-decoration: none; transition: border-color .16s ease, transform .16s ease;
}
.dest:hover { border-color: var(--gold-dk); transform: translateY(-2px); }
.dest h3 { margin-bottom: 0.7rem; }
.dest p { font-size: 0.9rem; color: var(--text-dim); }
.dest .go {
  display: inline-block; margin-top: 1.1rem; color: var(--gold);
  font-family: var(--f-mono); font-size: 0.95rem;
}

/* story rows */
.story { display: grid; gap: 1.7rem; max-width: 74ch; }
.story-row .k {
  display: block; font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem;
}
.story-row p { color: var(--text-dim); }

/* call to action closing a section */
.section-cta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem;
  margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid var(--line-soft);
}
