/* ============================================================
   Aerodynamics.cloud — design system
   Aesthetic: engineering editorial. Layered ink/navy, amber
   accent from the pittogramma, serif authority + mono precision.
   ============================================================ */

:root {
  /* color */
  --ink-950: #070b14;
  --ink-900: #0a1020;
  --ink-850: #0d1628;
  --ink-800: #121d33;
  --ink-700: #1a2742;
  --line: rgba(146, 163, 200, 0.16);
  --line-strong: rgba(146, 163, 200, 0.3);
  --text: #e9ecf5;
  --text-2: #b9c2d8;
  --muted: #8d99b5;
  --amber: #f2b63c;
  --amber-bright: #ffcf5e;
  --amber-deep: #c98f14;
  --blue: #6f93ff;
  --paper: #f5f2ea;
  --paper-2: #ece7da;
  --ink-on-paper: #141a28;
  --muted-on-paper: #5a627a;
  --amber-fill: #f2b63c;        /* button fill: dark text on top in both themes */
  --amber-fill-hover: #ffcf5e;
  --on-amber: #17130a;
  --glow-blue: rgba(58, 86, 165, 0.32);
  --stream: rgba(146, 163, 200, 0.17);
  --shadow-card: rgba(0, 0, 0, 0.6);
  --shadow-pop: rgba(0, 0, 0, 0.7);
  --danger: #ff9d87;
  color-scheme: dark;

  /* type */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Spline Sans Mono", "SF Mono", Menlo, monospace;

  /* rhythm */
  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 44px);
  --section-y: clamp(72px, 11vw, 148px);
  --radius: 14px;
  --ease: cubic-bezier(0.22, 0.61, 0.2, 1);
}

/* light theme: follows the system unless the switch forced a choice */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
  --ink-950: #f6f4ef;
  --ink-900: #eeebe3;
  --ink-850: #ffffff;
  --ink-800: #f3f0e9;
  --ink-700: #e4e0d6;
  --line: rgba(20, 26, 40, 0.12);
  --line-strong: rgba(20, 26, 40, 0.24);
  --text: #141a28;
  --text-2: #3a4356;
  --muted: #5d6679;
  --amber: #8f5f00;          /* amber as text/lines needs more contrast on light */
  --amber-bright: #6f4900;
  --amber-deep: #8f5f00;
  --paper: #ebe3d1;
  --glow-blue: rgba(58, 86, 165, 0.10);
  --stream: rgba(20, 26, 40, 0.12);
  --shadow-card: rgba(20, 26, 40, 0.14);
  --shadow-pop: rgba(20, 26, 40, 0.22);
  --danger: #b3261e;
  color-scheme: light;
  }
}
:root[data-theme="light"] {
  --ink-950: #f6f4ef;
  --ink-900: #eeebe3;
  --ink-850: #ffffff;
  --ink-800: #f3f0e9;
  --ink-700: #e4e0d6;
  --line: rgba(20, 26, 40, 0.12);
  --line-strong: rgba(20, 26, 40, 0.24);
  --text: #141a28;
  --text-2: #3a4356;
  --muted: #5d6679;
  --amber: #8f5f00;          /* amber as text/lines needs more contrast on light */
  --amber-bright: #6f4900;
  --amber-deep: #8f5f00;
  --paper: #ebe3d1;
  --glow-blue: rgba(58, 86, 165, 0.10);
  --stream: rgba(20, 26, 40, 0.12);
  --shadow-card: rgba(20, 26, 40, 0.14);
  --shadow-pop: rgba(20, 26, 40, 0.22);
  --danger: #b3261e;
  color-scheme: light;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink-950);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 200;
  background: var(--amber-fill); color: var(--on-amber); padding: 10px 16px;
  font-weight: 600; text-decoration: none; border-radius: 0 0 8px 8px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- typography helpers ---------- */
.mono {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 34px; height: 1px;
  background: var(--amber);
  opacity: 0.9;
}
.display {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "opsz" 100;
  letter-spacing: -0.015em;
  line-height: 1.06;
  text-wrap: balance;
}
h2.display { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  color: var(--text-2);
  max-width: 56ch;
  text-wrap: pretty;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-weight: 600; font-size: 0.95rem;
  text-decoration: none;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn-solid {
  background: var(--amber-fill);
  color: var(--on-amber);
  box-shadow: 0 6px 24px -8px rgba(242, 182, 60, 0.55);
}
.btn-solid:hover {
  background: var(--amber-fill-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -10px rgba(242, 182, 60, 0.65);
}
.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--amber); color: var(--amber-bright); transform: translateY(-2px); }
.btn-arrow::after {
  content: "→";
  font-family: var(--font-body);
  transition: transform 0.25s var(--ease);
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* ---------- theme switch ---------- */
.theme-toggle {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: none;
  color: var(--text-2);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.theme-toggle:hover { border-color: var(--amber); color: var(--amber-bright); }
.theme-toggle svg { width: 17px; height: 17px; }
/* show the icon of the theme you would switch to */
.theme-toggle .i-moon, .img-light { display: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .theme-toggle .i-sun,
  :root:not([data-theme="dark"]) .img-dark { display: none; }
  :root:not([data-theme="dark"]) .theme-toggle .i-moon,
  :root:not([data-theme="dark"]) .img-light { display: block; }
}
:root[data-theme="light"] .theme-toggle .i-sun,
:root[data-theme="light"] .img-dark { display: none; }
:root[data-theme="light"] .theme-toggle .i-moon,
:root[data-theme="light"] .img-light { display: block; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
/* blur lives on a pseudo-element: backdrop-filter on the header itself would
   turn it into the containing block for the fixed mobile menu */
.site-header::before {
  content: "";
  position: absolute; inset: 0;
  background: color-mix(in srgb, var(--ink-950) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.header-inner { position: relative; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 74px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.brand img { width: 34px; height: auto; }
.brand-word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.22rem;
  letter-spacing: 0.01em;
  color: var(--text);
}
.site-nav { display: flex; align-items: center; }
.nav-menu {
  display: flex; align-items: center; gap: clamp(14px, 2vw, 26px);
  margin: 0;
}
.nav-menu > li > a {
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-2);
  padding: 6px 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.nav-menu > li > a:hover { color: var(--text); }
.nav-menu > li > a[aria-current="page"] {
  color: var(--amber);
  border-bottom-color: var(--amber);
}
.nav-lang a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  border: 1px solid var(--line-strong) !important;
  border-radius: 6px;
  padding: 5px 9px !important;
}
.nav-lang a:hover { border-color: var(--amber) !important; color: var(--amber-bright); }
/* beat .nav-menu > li > a specificity so the solid button keeps dark text */
.nav-menu > li.nav-cta > a.btn-solid { color: var(--on-amber); border-bottom: none; }
.nav-menu > li.nav-cta > a.btn-solid:hover { color: var(--on-amber); }
.nav-cta .btn { padding: 10px 20px; font-size: 0.88rem; }
.nav-toggle { display: none; }

/* compact header at every desktop width: the header lives inside .wrap
   (max 1180px), so even on ultrawide the menu never gets more room */
@media (min-width: 1121px) {
  .brand-word { font-size: 1.05rem; }
  .nav-menu { gap: 13px; }
  .nav-menu > li > a { font-size: 0.84rem; }
  .nav-lang a { font-size: 0.72rem; padding: 4px 7px !important; }
  .nav-cta .btn { padding: 9px 14px; font-size: 0.8rem; }
}

@media (max-width: 1120px) {
  .nav-toggle {
    display: grid; place-items: center;
    background: none; border: 0; cursor: pointer;
    width: 44px; height: 44px;
    position: relative; z-index: 120;
  }
  .nav-toggle-box { display: grid; gap: 6px; width: 24px; }
  .nav-toggle-box span {
    height: 2px; background: var(--text); border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle-box span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-box span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav-menu {
    position: fixed; inset: 0; z-index: 110;
    flex-direction: column; justify-content: center;
    gap: 8px;
    background: color-mix(in srgb, var(--ink-950) 96%, transparent);
    backdrop-filter: blur(20px);
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s var(--ease);
  }
  .nav-menu.is-open { opacity: 1; pointer-events: auto; }
  .nav-menu > li > a {
    font-family: var(--font-display);
    font-size: 1.6rem;
    padding: 10px;
  }
  .nav-lang a { font-size: 0.9rem; }
  .nav-cta { margin-top: 18px; }
  .nav-cta .btn { font-size: 1rem; padding: 14px 28px; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: clip;
  padding-block: clamp(88px, 13vw, 170px) clamp(64px, 9vw, 120px);
  background:
    radial-gradient(1100px 520px at 78% -10%, var(--glow-blue), transparent 65%),
    radial-gradient(900px 500px at -10% 108%, rgba(242, 182, 60, 0.08), transparent 60%),
    var(--ink-950);
}
.hero-inner { position: relative; z-index: 2; max-width: 900px; }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 6.2vw, 4.9rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--amber);
}
.hero .lede { margin-top: 28px; }
@media (max-width: 700px) { .hero h1 br { display: none; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

/* streamlines backdrop */
.streamlines {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 1; pointer-events: none;
}
.streamlines path {
  fill: none;
  stroke: var(--stream);
  stroke-width: 1;
}
.streamlines path.s-amber { stroke: rgba(242, 182, 60, 0.35); stroke-width: 1.2; }
.streamlines .dot { fill: var(--amber); opacity: 0.8; }

@media (prefers-reduced-motion: no-preference) {
  .streamlines path {
    stroke-dasharray: 6 14;
    animation: streamflow 26s linear infinite;
  }
  .streamlines path.s-amber { stroke-dasharray: 2 18; animation-duration: 15s; }
  @keyframes streamflow { to { stroke-dashoffset: -400; } }
}

/* page-load stagger */
@media (prefers-reduced-motion: no-preference) {
  .hero-inner > * { opacity: 0; transform: translateY(18px); animation: rise 0.9s var(--ease) forwards; }
  .hero-inner > *:nth-child(2) { animation-delay: 0.12s; }
  .hero-inner > *:nth-child(3) { animation-delay: 0.24s; }
  .hero-inner > *:nth-child(4) { animation-delay: 0.36s; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}

/* ---------- credibility bar ---------- */
.credbar {
  border-block: 1px solid var(--line);
  background: var(--ink-900);
}
.credbar .wrap {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between;
  gap: 14px 34px;
  padding-block: 20px;
}
.credbar span {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-2);
  display: inline-flex; align-items: center; gap: 10px;
}
.credbar span::before {
  content: "";
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--amber);
}

/* ---------- sections ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section-tinted { background: var(--ink-900); border-block: 1px solid var(--line); }
.section-head { max-width: 780px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .lede { margin-top: 18px; }

/* paper (light) section */
.section-paper {
  background:
    radial-gradient(900px 400px at 90% 0%, rgba(242, 182, 60, 0.13), transparent 60%),
    var(--paper);
  color: var(--ink-on-paper);
}
.section-paper .lede { color: var(--muted-on-paper); }
.section-paper .eyebrow { color: var(--amber-deep); }
.section-paper .eyebrow::before { background: var(--amber-deep); }

/* ---------- card grids ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 28px);
}
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2.4vw, 28px); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }

.card {
  position: relative;
  color: var(--text); /* cards stay dark even inside .section-paper */
  background: linear-gradient(160deg, var(--ink-850), var(--ink-900) 70%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 34px);
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card::before {
  content: "";
  position: absolute; inset: 0 auto auto 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--amber), transparent 60%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 24px 48px -24px var(--shadow-card); }
.card:hover::before { transform: scaleX(1); }
.card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.card p { color: var(--text-2); font-size: 0.98rem; }
.card .card-kicker {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 16px;
}
.card-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px;
  font-weight: 600; font-size: 0.92rem;
  color: var(--amber);
  text-decoration: none;
}
.card-link::after { content: "→"; transition: transform 0.25s var(--ease); }
.card-link:hover::after { transform: translateX(4px); }

/* featured card (Claude adoption) */
.card-featured {
  border-color: rgba(242, 182, 60, 0.45);
  background:
    radial-gradient(420px 200px at 100% 0%, rgba(242, 182, 60, 0.14), transparent 70%),
    linear-gradient(160deg, var(--ink-800), var(--ink-900) 75%);
}
.card-featured::before { transform: scaleX(1); }
.card-featured .card-kicker { color: var(--amber); }

/* ---------- big numbers strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 4vw, 48px);
  text-align: left;
}
@media (max-width: 720px) { .stats { grid-template-columns: 1fr; } }
.stat { border-left: 2px solid var(--amber); padding-left: 22px; }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
}
.stat span { color: var(--muted); font-size: 0.95rem; }
.section-paper .stat b { color: var(--ink-on-paper); }
.section-paper .stat span { color: var(--muted-on-paper); }

/* ---------- case studies ---------- */
.case {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(20px, 4vw, 56px);
  padding-block: clamp(30px, 4vw, 44px);
  border-top: 1px solid var(--line);
}
.case:last-of-type { border-bottom: 1px solid var(--line); }
@media (max-width: 820px) { .case { grid-template-columns: 1fr; gap: 12px; } }
.case-meta { display: flex; flex-direction: column; gap: 8px; }
.case-meta .sector {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}
.case-meta .place { color: var(--muted); font-size: 0.88rem; }
.case h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.case p { color: var(--text-2); max-width: 62ch; }
.case .result {
  margin-top: 12px;
  color: var(--text);
  font-weight: 500;
}
.case .result::before {
  content: "▸ ";
  color: var(--amber);
}
.award-chip {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 14px;
  border: 1px solid rgba(242, 182, 60, 0.5);
  color: var(--amber-bright);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.award-chip::before { content: "✦"; }

/* ---------- product panels ---------- */
.product-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 900px) { .product-panel { grid-template-columns: 1fr; } }
.product-panel + .product-panel { margin-top: clamp(56px, 8vw, 110px); }
.product-panel.flip > .product-visual { order: -1; }
@media (max-width: 900px) { .product-panel.flip > .product-visual { order: 0; } }
/* illustrations are device screens with light-on-dark SVG text:
   they stay dark in both themes */
.product-visual {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid rgba(146, 163, 200, 0.16);
  background: linear-gradient(140deg, #121d33, #0a1020);
  aspect-ratio: 16 / 10.5;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.product-visual svg { width: 82%; height: auto; }
.feature-list { display: grid; gap: 14px; margin-top: 26px; }
.feature-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  color: var(--text-2);
  font-size: 0.97rem;
}
.feature-list li::before {
  content: "";
  width: 10px; height: 10px;
  margin-top: 7px;
  border: 2px solid var(--amber);
  border-radius: 50%;
}
.feature-list b { color: var(--text); font-weight: 600; }
.section-paper .feature-list li { color: var(--muted-on-paper); }
.section-paper .feature-list b { color: var(--ink-on-paper); }
.section-paper .feature-list li::before { border-color: var(--amber-deep); }
.section-paper .card-link { color: var(--amber-deep); }

/* ---------- leadership / about ---------- */
.leader {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 820px) { .leader { grid-template-columns: 1fr; } }
.leader-photo {
  border-radius: var(--radius);
  aspect-ratio: 4/4.6;
  border: 1px solid var(--line);
  background:
    radial-gradient(300px 300px at 70% 20%, rgba(242, 182, 60, 0.16), transparent 70%),
    linear-gradient(160deg, var(--ink-800), var(--ink-900));
  display: grid; place-items: center;
  overflow: hidden;
}
/* a plaque can be taller than the photo ratio — let the box grow */
.leader-photo:has(.plaque) { aspect-ratio: auto; align-self: stretch; }

/* credentials plaque (honest alternative to a stock "team photo") */
.plaque {
  width: 100%;
  padding: clamp(26px, 3.4vw, 40px);
  display: grid;
  gap: 20px;
  align-content: center;
}
.plaque img { width: 52px; height: auto; margin-bottom: 6px; }
.plaque p {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-2);
  border-left: 2px solid var(--amber);
  padding-left: 14px;
  line-height: 1.5;
}
.plaque p b { color: var(--amber-bright); font-weight: 500; display: block; }

blockquote.pull {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  line-height: 1.4;
  color: var(--text);
  border-left: 2px solid var(--amber);
  margin: 0;
  padding-left: 26px;
}
blockquote.pull footer {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* value rows (culture) */
.value-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  padding-block: 26px;
  border-top: 1px solid var(--line);
  align-items: start;
}
.value-row:last-child { border-bottom: 1px solid var(--line); }
.value-row .num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--amber);
}
.value-row h3 { font-size: 1.12rem; font-weight: 600; margin-bottom: 6px; }
.value-row p { color: var(--text-2); font-size: 0.97rem; max-width: 62ch; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(800px 400px at 85% 120%, rgba(242, 182, 60, 0.18), transparent 65%),
    radial-gradient(700px 380px at 10% -30%, var(--glow-blue), transparent 65%),
    var(--ink-900);
  border-block: 1px solid var(--line);
}
.cta-band .wrap {
  padding-block: clamp(64px, 9vw, 110px);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 860px) { .cta-band .wrap { grid-template-columns: 1fr; } }
.cta-band h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.cta-band .lede { margin-top: 16px; }
.cta-note { margin-top: 14px; color: var(--muted); font-size: 0.9rem; }
.cta-side { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cta-side .btn { font-size: 1.02rem; padding: 16px 30px; }

/* ---------- contact page ---------- */
.booking-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-900);
  padding: clamp(22px, 3vw, 36px);
}
.booking-frame iframe { width: 100%; min-height: 680px; border: 0; border-radius: 8px; }
.contact-meta { display: grid; gap: 6px; color: var(--text-2); }
.contact-meta b { color: var(--text); }
.qualify-list { display: grid; gap: 10px; margin-top: 20px; }
.qualify-list li {
  display: grid; grid-template-columns: 22px 1fr; gap: 10px;
  color: var(--text-2); font-size: 0.97rem;
}
.qualify-list li::before { content: "✓"; color: var(--amber); font-weight: 700; }

/* ---------- forms ---------- */
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 7px; font-size: 0.88rem; font-weight: 600; color: var(--text); }
.form input, .form select, .form textarea {
  width: 100%;
  background: var(--ink-950);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  font: inherit;
  font-weight: 400;
  transition: border-color 0.2s var(--ease);
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: 2px solid transparent;
  border-color: var(--amber);
}
.form textarea { min-height: 110px; resize: vertical; }
.form ::placeholder { color: var(--muted); opacity: 0.7; }
.form .consent { grid-template-columns: 18px 1fr; display: grid; gap: 10px; align-items: start; font-weight: 400; color: var(--text-2); font-size: 0.84rem; }
.form .consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--amber); }
.form button.btn { border: 0; cursor: pointer; justify-self: start; font-size: 1rem; }
.form .hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { color: var(--muted); font-size: 0.82rem; }
.form-success {
  border: 1px solid rgba(242, 182, 60, 0.5);
  border-radius: 10px;
  padding: 28px;
  text-align: center;
  color: var(--text);
  font-size: 1.05rem;
}
.form-error {
  color: var(--danger);
  font-size: 0.9rem;
  border-left: 2px solid var(--danger);
  padding-left: 12px;
}

/* trust chips (product heroes) */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.chip-row li {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 7px 14px;
}
.chip-row li::before { content: "✦ "; color: var(--amber); }

/* ---------- page hero (interior pages) ---------- */
.page-hero {
  position: relative;
  overflow: clip;
  padding-block: clamp(72px, 9vw, 120px) clamp(40px, 6vw, 72px);
  background:
    radial-gradient(900px 420px at 85% -20%, var(--glow-blue), transparent 65%),
    var(--ink-950);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-wrap: balance;
  max-width: 20ch;
}
.page-hero .lede { margin-top: 22px; }

/* ---------- reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
  .reveal.is-visible { opacity: 1; transform: none; }
  .reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
  .reveal-stagger.is-visible > * { opacity: 1; transform: none; }
  .reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.1s; }
  .reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.2s; }
  .reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.3s; }
  .reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.4s; }
  .reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.5s; }
  .reveal-stagger.is-visible > *:nth-child(7) { transition-delay: 0.6s; }
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ink-900);
  padding-block: clamp(48px, 7vw, 84px) 34px;
  font-size: 0.94rem;
}
.f-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: clamp(24px, 4vw, 48px);
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 900px) { .f-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .f-top { grid-template-columns: 1fr; } }
.f-tagline {
  margin-top: 16px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.08rem;
  color: var(--text-2);
  max-width: 30ch;
}
.f-badges a { text-decoration: none; }
.f-badges a:hover { color: var(--amber-bright); }
.f-badges { margin-top: 18px; color: var(--muted); letter-spacing: 0.1em; font-size: 0.7rem; }
.f-col h3 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  font-weight: 500;
}
.f-col ul { display: grid; gap: 10px; list-style: none; padding: 0; margin: 0; }
.f-col a { color: var(--text-2); text-decoration: none; transition: color 0.2s; }
.f-col a:hover { color: var(--amber-bright); }
.f-bottom { padding-top: 26px; color: var(--muted); font-size: 0.84rem; display: grid; gap: 6px; }
.f-bottom a { color: var(--text-2); }
.f-bottom a:hover { color: var(--amber-bright); }

/* ---------- prose (privacy etc.) ---------- */
.prose { max-width: 68ch; }
.prose h2 { font-family: var(--font-display); font-size: 1.5rem; margin: 2em 0 0.6em; }
.prose p, .prose li { color: var(--text-2); }
.prose a { color: var(--amber); }
.prose ul { padding-left: 1.2em; }

/* ---------- cookie banner ---------- */
.cookie-banner {
  position: fixed;
  z-index: 300;
  left: 16px; right: 16px; bottom: 16px;
  max-width: 460px;
  margin-inline: auto;
  background: var(--ink-850);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 24px 64px -16px var(--shadow-pop);
  padding: 22px 24px;
}
@media (min-width: 720px) { .cookie-banner { left: auto; right: 24px; bottom: 24px; } }
.cookie-banner .cb-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.cookie-banner .cb-body { color: var(--text-2); font-size: 0.88rem; line-height: 1.55; }
.cookie-banner .cb-body a { color: var(--amber); }
.cookie-banner .cb-actions {
  display: grid;
  grid-template-columns: 1fr 1fr; /* equal prominence, per Garante guidelines */
  gap: 10px;
  margin-top: 16px;
}
.cookie-banner .cb-btn {
  justify-content: center;
  border: 1px solid var(--amber);
  color: var(--amber-bright);
  background: transparent;
  cursor: pointer;
  padding: 11px 16px;
  font-size: 0.9rem;
}
.cookie-banner .cb-btn:hover { background: rgba(242, 182, 60, 0.12); transform: none; }
.cookie-banner .cb-status {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.cookie-prefs { background: none; border: 0; padding: 0; font: inherit; color: var(--text-2); cursor: pointer; text-decoration: underline; }
.cookie-prefs:hover { color: var(--amber-bright); }
.cookie-banner .cb-customize {
  background: none; border: 0; padding: 0;
  margin-top: 12px;
  font: inherit; font-size: 0.8rem;
  color: var(--muted);
  text-decoration: underline;
  cursor: pointer;
}
.cookie-banner .cb-customize:hover { color: var(--amber-bright); }
.cookie-banner .cb-prefs { display: grid; gap: 12px; margin-top: 16px; }
.cookie-banner .cb-cat {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  color: var(--text-2);
  font-size: 0.84rem;
  line-height: 1.5;
}
.cookie-banner p.cb-cat { grid-template-columns: 1fr; color: var(--muted); }
.cookie-banner .cb-cat input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--amber); cursor: pointer; }

/* ---------- language landing (root) ---------- */
.lang-landing {
  min-height: 100svh;
  display: grid; place-items: center;
  text-align: center;
  padding: 24px;
}
.lang-landing .choices { display: flex; gap: 16px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
