/* ==========================================================================
   Tidal River Productions — site styles
   Edit the variables in :root to change colors, type, and spacing site-wide.
   ========================================================================== */

:root {
  /* Color */
  --ink: #080b1a;          /* page background */
  --ink-2: #0f1430;        /* raised surfaces */
  --ink-3: #161c3f;        /* borders on raised surfaces */
  --line: rgba(154, 166, 196, 0.16);
  --text: #eaf0ff;
  --muted: #9aa6c4;
  --teal: #2ee6c5;
  --blue: #3f8cff;
  --violet: #7c6cff;
  --grad: linear-gradient(100deg, var(--teal) 0%, var(--blue) 50%, var(--violet) 100%);

  /* Type */
  --font: "Sora", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --step--1: clamp(0.84rem, 0.8rem + 0.2vw, 0.94rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.3rem + 1vw, 2.1rem);
  --step-3: clamp(2rem, 1.6rem + 2vw, 3.2rem);
  --step-4: clamp(2.6rem, 1.8rem + 4vw, 5.2rem);

  /* Layout */
  --max: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(4.5rem, 10vw, 8.5rem);
  --radius: 14px;
  --radius-sm: 8px;
}

/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.measure { max-width: 62ch; }
.muted { color: var(--muted); }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.skip {
  position: absolute; left: 1rem; top: -3rem; padding: 0.5rem 0.75rem;
  background: var(--teal); color: var(--ink); border-radius: var(--radius-sm); z-index: 100;
}
.skip:focus { top: 1rem; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.35rem; border-radius: 999px;
  font-weight: 600; font-size: var(--step--1); line-height: 1;
  border: 1px solid transparent; transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--text); color: var(--ink); }
.btn-primary:hover { background: #fff; }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--muted); background: rgba(255,255,255,0.03); }
.btn-grad { background: var(--grad); background-origin: border-box; background-repeat: no-repeat; color: var(--ink); }
.btn-grad:hover { filter: brightness(1.08); }
.btn svg { width: 1em; height: 1em; }

/* Header ----------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(8, 11, 26, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand img, .brand svg { height: 36px; width: auto; }
.nav-links { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2rem); }
.nav-links a { font-size: var(--step--1); color: var(--muted); padding: 0.4rem 0; position: relative; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--grad); border-radius: 2px;
}
.nav-links a.nav-cta { margin-left: 0.5rem; padding: 0.75rem 1.25rem; color: var(--ink); }
.nav-links a.nav-cta:hover { color: var(--ink); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: var(--radius-sm); }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px auto; transition: transform 0.2s, opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 72px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--gutter) 1.25rem;
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 0.9rem 0; font-size: var(--step-0); border-bottom: 1px solid var(--line); }
  .nav-links a[aria-current="page"]::after { display: none; }
  .nav-links a.nav-cta { margin: 1rem 0 0; padding: 0.9rem 1.25rem; justify-content: center; border-bottom: 0; }
}

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(3rem, 7vw, 5.5rem);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  grid-template-areas:
    "copy reel"
    "actions reel";
  column-gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero-copy { grid-area: copy; align-self: end; }
.hero-actions { grid-area: actions; align-self: start; }
.hero-grid .reel { grid-area: reel; }
.hero h1 { font-size: var(--step-4); font-weight: 600; letter-spacing: -0.035em; max-width: 12ch; }
.hero .lede { margin-top: 1.5rem; font-size: var(--step-1); color: var(--muted); max-width: 42ch; font-weight: 300; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.25rem; }
.hero .proof { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; color: var(--muted); font-size: var(--step--1); }
.hero .proof span { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero .proof i { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); display: inline-block; }

/* The current: animated flow lines behind the hero */
.current {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 80%, transparent 100%);
}
.current svg { width: 100%; height: 100%; }
.current path {
  fill: none; stroke: url(#current-grad); stroke-width: 1.2; opacity: 0.55;
  stroke-dasharray: 2400; stroke-dashoffset: 2400;
  animation: draw 2.4s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.current path:nth-child(2) { animation-delay: 0.15s; opacity: 0.4; }
.current path:nth-child(3) { animation-delay: 0.3s; opacity: 0.3; }
.current path:nth-child(4) { animation-delay: 0.45s; opacity: 0.22; }
.current path:nth-child(5) { animation-delay: 0.6s; opacity: 0.16; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero .wrap { position: relative; z-index: 1; }
/* Intro: a short fade-up. Starts visible if animations are unavailable. */
.hero-enter { animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero-copy .hero-enter:nth-child(2) { animation-delay: 0.1s; }
.hero-actions .hero-enter:nth-child(1) { animation-delay: 0.2s; }
.hero-actions .hero-enter:nth-child(2) { animation-delay: 0.3s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Reel frame */
.reel {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius);
  background: var(--ink-2); overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(63, 140, 255, 0.35), 0 0 0 1px var(--line);
}
/* Soft violet glow behind the reel, same family as the "Have a project in mind?" band */
.hero-grid { isolation: isolate; }
.hero-grid::after {
  content: ""; grid-area: reel; z-index: -1; place-self: center; width: 150%; aspect-ratio: 16 / 11; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(124, 108, 255, 0.7), rgba(63, 140, 255, 0.3) 55%, transparent 80%);
  filter: blur(36px); pointer-events: none;
}
.reel::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: var(--grad); opacity: 0.7;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.reel video, .reel img { width: 100%; height: 100%; object-fit: cover; }
.reel .play {
  position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; border-radius: 50%;
  background: rgba(8, 11, 26, 0.65); backdrop-filter: blur(6px);
  display: grid; place-items: center; border: 1px solid rgba(255,255,255,0.18);
  transition: transform 0.2s ease, background 0.2s ease;
}
.reel .play:hover { transform: scale(1.06); background: rgba(8, 11, 26, 0.85); }
.reel .play svg { width: 26px; height: 26px; margin-left: 3px; fill: #fff; }
.reel .caption {
  position: absolute; left: 1rem; bottom: 0.9rem; font-size: var(--step--1); color: var(--muted);
  background: rgba(8, 11, 26, 0.6); padding: 0.3rem 0.6rem; border-radius: 6px;
}

@media (max-width: 900px) {
  .hero { padding-top: clamp(2.5rem, 8vw, 4.5rem); }
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "reel"
      "actions";
    row-gap: 2rem;
  }
  .hero h1 { max-width: 14ch; }
  .hero .actions { margin-top: 0; }
  .hero .proof { margin-top: 1.5rem; }
}

/* Sections --------------------------------------------------------------- */
.section { padding: var(--section) 0; }
.section + .section { padding-top: 0; }
.section-head { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head h2 { font-size: var(--step-3); max-width: 20ch; }
.section-head p { color: var(--muted); max-width: 58ch; font-size: var(--step-0); }
@media (min-width: 900px) {
  .section-head.split { grid-template-columns: 1.2fr 1fr; align-items: start; gap: 3rem; }
  .section-head.split p { margin-top: 0; padding-top: 0.35rem; align-self: start; }
}
.section-tint { background: var(--ink-2); border-block: 1px solid var(--line); }
/* Tinted bands keep their own top padding, and so does whatever follows one */
.section + .section.section-tint { padding-top: var(--section); }
.section-tint.section + .section { padding-top: var(--section); }

/* Service ledger --------------------------------------------------------- */
.ledger { border-top: 1px solid var(--line); }
.ledger-row {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr) auto;
  gap: clamp(1rem, 3vw, 3rem); align-items: start;
  padding: clamp(1.5rem, 3vw, 2.25rem) 0; border-bottom: 1px solid var(--line);
  transition: background 0.2s ease;
}
.ledger-row:hover { background: linear-gradient(90deg, rgba(255,255,255,0.025), transparent); }
.ledger-row h3 { font-size: var(--step-2); font-weight: 600; }
.ledger-row .sub { color: var(--muted); font-size: var(--step--1); margin-top: 0.35rem; }
.ledger-row p { color: var(--muted); }
.ledger-row .go {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--text); transition: border-color 0.15s, background 0.15s;
}
.ledger-row:hover .go { border-color: var(--teal); background: rgba(46, 230, 197, 0.08); }
.ledger-row .go svg { width: 16px; height: 16px; }
.ledger-row.lead { padding-block: clamp(2rem, 4vw, 3rem); }
.ledger-row.lead h3 { font-size: var(--step-3); }
.ledger-row.lead h3 span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ledger-row.lead p { color: var(--text); font-size: var(--step-1); font-weight: 300; }
.ledger-row ul { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.ledger-row ul li {
  font-size: var(--step--1); color: var(--muted); padding: 0.3rem 0.7rem;
  border: 1px solid var(--line); border-radius: 999px;
}
@media (max-width: 760px) {
  .ledger-row { grid-template-columns: 1fr; }
  .ledger-row .go { display: none; }
}

/* Feature split (AI capabilities) ---------------------------------------- */
.features { display: grid; gap: clamp(1.25rem, 3vw, 2rem); grid-template-columns: repeat(3, 1fr); }
.feature { display: grid; gap: 1rem; align-content: start; }
.feature .visual {
  aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--ink-3);
}
.feature .visual img, .feature .visual video { width: 100%; height: 100%; object-fit: cover; }
.feature h3 { font-size: var(--step-1); }
.feature p { color: var(--muted); font-size: var(--step--1); }
@media (max-width: 900px) { .features { grid-template-columns: 1fr; } .feature { grid-template-columns: 1fr 1.4fr; gap: 1.25rem; align-items: center; } .feature .visual { aspect-ratio: 1; } .feature > div { display: grid; gap: 0.5rem; } }
@media (max-width: 560px) { .feature { grid-template-columns: 1fr; } .feature .visual { aspect-ratio: 16/10; } }

/* Work grid -------------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.filters button {
  padding: 0.5rem 0.9rem; border-radius: 999px; border: 1px solid var(--line);
  color: var(--muted); font-size: var(--step--1);
}
.filters button:hover { color: var(--text); border-color: var(--muted); }
.filters button[aria-pressed="true"] { color: var(--ink); background: var(--text); border-color: var(--text); }

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 3vw, 2rem) clamp(1rem, 2vw, 1.5rem); }
.work-grid.featured { grid-template-columns: repeat(3, 1fr); }
.work-grid.featured .tile:first-child { grid-column: span 2; }
.tile { display: grid; gap: 0.75rem; text-align: left; }
.tile .thumb {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  background: var(--ink-3); isolation: isolate;
}
.tile .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.tile:hover .thumb img { transform: scale(1.04); }
.tile .thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(8, 11, 26, 0.65));
}
.tile .play-sm {
  position: absolute; right: 0.9rem; bottom: 0.9rem; z-index: 1;
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(8, 11, 26, 0.7); border: 1px solid rgba(255,255,255,0.18);
}
.tile .play-sm svg { width: 14px; height: 14px; fill: #fff; margin-left: 2px; }
.tile .meta { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.tile h3 { font-size: var(--step-0); font-weight: 600; }
.tile .cat { color: var(--muted); font-size: var(--step--1); white-space: nowrap; }
.tile .desc { color: var(--muted); font-size: var(--step--1); }
.tile[hidden] { display: none; }
@media (max-width: 900px) { .work-grid, .work-grid.featured { grid-template-columns: repeat(2, 1fr); } .work-grid.featured .tile:first-child { grid-column: span 2; } }
@media (max-width: 560px) { .work-grid, .work-grid.featured { grid-template-columns: 1fr; } .work-grid.featured .tile:first-child { grid-column: auto; } }

/* Client strip ----------------------------------------------------------- */
.clients { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem 2.5rem; }
.clients li { color: var(--muted); font-weight: 600; letter-spacing: 0.01em; font-size: var(--step-0); opacity: 0.85; }
.clients img { height: 38px; width: auto; opacity: 0.8; transition: opacity 0.2s; }
.clients li:hover img { opacity: 1; }
@media (max-width: 700px) { .clients { justify-content: center; gap: 1.25rem 2rem; } .clients img { height: 30px; } }
.clients-note { margin-top: 1.25rem; color: var(--muted); font-size: var(--step--1); }

/* Process track ---------------------------------------------------------- */
.track { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; position: relative; }
.track::before {
  content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 1px;
  background: linear-gradient(90deg, var(--teal), var(--violet)); opacity: 0.5;
}
.step { position: relative; padding-top: 2rem; }
.step::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 15px; height: 15px; border-radius: 50%;
  background: var(--ink); border: 2px solid var(--teal);
  box-shadow: 0 0 0 4px rgba(46, 230, 197, 0.12), 0 0 14px 2px rgba(46, 230, 197, 0.55);
}
.step .n { color: var(--muted); font-size: var(--step--1); }
.step h3 { font-size: var(--step-0); margin-top: 0.25rem; }
.step p { color: var(--muted); font-size: var(--step--1); margin-top: 0.5rem; }
@media (max-width: 900px) {
  .track { grid-template-columns: 1fr; gap: 0; padding-left: 1.75rem; }
  .track::before { left: 7px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: linear-gradient(180deg, var(--teal), var(--violet)); }
  .step { padding: 0 0 2rem 0; }
  .step::before { left: -1.75rem; top: 4px; }
}

/* Process page: detailed steps */
.steps-detail { display: grid; gap: 0; border-top: 1px solid var(--line); }
.steps-detail .step-row {
  display: grid; grid-template-columns: 4rem minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(1rem, 3vw, 3rem);
  padding: clamp(1.5rem, 3vw, 2.5rem) 0; border-bottom: 1px solid var(--line);
}
.steps-detail .num { font-size: var(--step-2); color: var(--muted); font-weight: 300; line-height: 1; }
.steps-detail h3 { font-size: var(--step-2); }
.steps-detail .what { color: var(--muted); margin-top: 0.5rem; }
.steps-detail .ai { color: var(--text); border-left: 2px solid var(--teal); padding-left: 1rem; font-size: var(--step--1); }
.steps-detail .ai strong { display: block; color: var(--teal); font-weight: 600; margin-bottom: 0.25rem; }
@media (max-width: 800px) { .steps-detail .step-row { grid-template-columns: 3rem 1fr; } .steps-detail .ai { grid-column: 2; } }

/* Two-column prose blocks (service / AI pages) --------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split.flip > :first-child { order: 2; }
.split h2 { font-size: var(--step-3); max-width: 18ch; }
.split h3 { font-size: var(--step-2); }
.split p { color: var(--muted); margin-top: 1rem; }
.split ul.check { margin-top: 1.5rem; display: grid; gap: 0.75rem; }
.split ul.check li { display: flex; gap: 0.75rem; align-items: flex-start; color: var(--text); }
.split ul.check li::before, .protect-grid ul.check li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 0.2rem; border-radius: 50%;
  background: var(--grad);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='11' fill='none' stroke='%23000' stroke-width='2'/><path d='M7 12.5l3 3 7-7' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='11' fill='none' stroke='%23000' stroke-width='2'/><path d='M7 12.5l3 3 7-7' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
}
.split .visual { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--ink-3); }
.split .visual img, .split .visual video { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }

/* Page hero (interior pages) --------------------------------------------- */
.page-hero { padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(2.5rem, 5vw, 4rem); position: relative; overflow: hidden; }
.page-hero h1 { font-size: var(--step-4); letter-spacing: -0.035em; max-width: 14ch; }
.page-hero .lede { margin-top: 1.25rem; color: var(--muted); font-size: var(--step-1); font-weight: 300; max-width: 48ch; }
.page-hero .actions { margin-top: 2rem; display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* Stat line -------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; border-top: 1px solid var(--line); padding-top: 2rem; }
.stats b { display: block; font-size: var(--step-3); font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.stats span { color: var(--muted); font-size: var(--step--1); display: block; margin-top: 0.5rem; }
@media (max-width: 600px) { .stats { grid-template-columns: 1fr; } }

/* Quote form ------------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1.5rem; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: var(--step--1); color: var(--muted); margin-bottom: 0.45rem; }
.field label .req { color: var(--teal); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.85rem 1rem; border-radius: var(--radius-sm);
  background: var(--ink-2); border: 1px solid var(--line); color: var(--text);
  font: inherit; font-size: var(--step-0);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--teal); outline-offset: 0; border-color: transparent; }
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 9l6 6 6-6' fill='none' stroke='%239aa6c4' stroke-width='2' stroke-linecap='round'/></svg>"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 16px; }
.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem 1rem; }
.checks label {
  display: flex; align-items: center; gap: 0.6rem; padding: 0.7rem 0.9rem;
  border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; color: var(--text); font-size: var(--step--1);
}
.checks label:has(input:checked) { border-color: var(--teal); background: rgba(46, 230, 197, 0.07); }
.checks input { accent-color: var(--teal); width: 16px; height: 16px; margin: 0; }
.form-foot { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-top: 1.5rem; }
.form-foot .note { color: var(--muted); font-size: var(--step--1); max-width: 40ch; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 640px) { .form-grid, .checks { grid-template-columns: 1fr; } }

.quote-side { display: grid; gap: 1.5rem; align-content: start; }
.quote-side .card { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-2); }
.quote-side h3 { font-size: var(--step-1); }
.quote-side p, .quote-side li { color: var(--muted); font-size: var(--step--1); }
.quote-side ul { display: grid; gap: 0.5rem; margin-top: 0.75rem; }
.quote-side li { padding-left: 1rem; position: relative; }
.quote-side li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); }
.quote-side a { color: var(--text); border-bottom: 1px solid var(--line); }

/* CTA band --------------------------------------------------------------- */
/* Instagram feed -------------------------------------------------------- */
.insta { padding: 0 0 var(--section); }
.insta-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2rem; }
.insta-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.75rem; }
.insta-grid li { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--ink-3); position: relative; }
.insta-grid a { display: block; width: 100%; height: 100%; }
.insta-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s cubic-bezier(0.2,0.7,0.2,1); }
.insta-grid a:hover img, .insta-grid a:focus-visible img { transform: scale(1.05); }
.insta-grid .vid { position: absolute; top: 0.5rem; right: 0.5rem; width: 22px; height: 22px; fill: #fff; filter: drop-shadow(0 1px 3px rgba(0,0,0,0.6)); pointer-events: none; }
@media (max-width: 900px) { .insta-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .insta-grid { grid-template-columns: repeat(2, 1fr); } }
.cta-band { padding: var(--section) 0; }
.cta-inner {
  position: relative; overflow: hidden; border-radius: 20px; padding: clamp(2.5rem, 6vw, 4.5rem);
  background: var(--ink-2); border: 1px solid var(--line);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center;
}
.cta-inner::before {
  content: ""; position: absolute; inset: auto -20% -60% auto; width: 60%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(124, 108, 255, 0.35), transparent 70%); pointer-events: none;
}
.cta-inner h2 { font-size: var(--step-3); max-width: 16ch; }
.cta-inner p { color: var(--muted); margin-top: 0.75rem; max-width: 44ch; }
.cta-inner .actions { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: flex-end; position: relative; }
@media (max-width: 800px) { .cta-inner { grid-template-columns: 1fr; } .cta-inner .actions { justify-content: flex-start; } }

/* Footer ----------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); padding: 3.5rem 0 2rem; color: var(--muted); font-size: var(--step--1); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; }
.foot-grid h4 { color: var(--text); font-size: var(--step--1); font-weight: 600; margin-bottom: 0.9rem; }
.foot-grid ul { display: grid; gap: 0.5rem; }
.foot-grid a:hover { color: var(--text); }
.foot-brand p { margin-top: 1rem; max-width: 30ch; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.social { display: flex; gap: 0.75rem; }
.social a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); }
.social a:hover { border-color: var(--muted); }
.social svg { width: 16px; height: 16px; fill: currentColor; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* Lightbox --------------------------------------------------------------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); width: 100%; }
.lightbox::backdrop { background: rgba(4, 6, 16, 0.88); backdrop-filter: blur(6px); }
.lightbox .frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; }
.lightbox iframe, .lightbox video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lightbox .close { position: absolute; top: -3rem; right: 0; color: var(--text); font-size: var(--step--1); padding: 0.5rem 0.75rem; }
.lightbox .empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); text-align: center; padding: 2rem; }

/* FAQ -------------------------------------------------------------------- */
.faq { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem) clamp(2rem, 4vw, 4rem); border-top: 1px solid var(--line); padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.faq-item h3 { font-size: var(--step-1); font-weight: 600; max-width: 28ch; }
.faq-item p { color: var(--muted); margin-top: 0.6rem; max-width: 60ch; }
@media (max-width: 760px) { .faq { grid-template-columns: 1fr; } }

/* Placeholders: visible markers for content still to come ---------------- */
.ph {
  display: grid; place-items: center; text-align: center; padding: 1rem;
  color: var(--muted); font-size: var(--step--1);
  background:
    repeating-linear-gradient(135deg, rgba(154,166,196,0.06) 0 10px, transparent 10px 20px),
    var(--ink-3);
  outline: 1px dashed rgba(154, 166, 196, 0.35); outline-offset: -8px;
  width: 100%; height: 100%; min-height: 100%;
}
.ph small { display: block; opacity: 0.7; margin-top: 0.25rem; }

/* Motion preferences ----------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .current path { animation: none; stroke-dashoffset: 0; }
  .hero-enter { animation: none; }
  .tile .thumb img { transition: none; }
}

/* AI FAQ accordion ------------------------------------------------------- */
.qa-section { padding-top: 0; }
.qa-group { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 1rem clamp(2rem, 5vw, 5rem); padding: clamp(2rem, 4vw, 3.25rem) 0; border-top: 1px solid var(--line); }
.qa-group > h2 { font-size: var(--step-2); letter-spacing: -0.02em; position: sticky; top: 6rem; align-self: start; }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.15rem 0; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary h3 { font-size: var(--step-1); font-weight: 500; line-height: 1.3; }
.qa summary:hover h3 { color: var(--teal); }
.qa summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; border-radius: 4px; }
.qa-icon { flex: none; width: 14px; height: 14px; position: relative; }
.qa-icon::before, .qa-icon::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; background: var(--teal); transition: transform 0.25s ease; }
.qa-icon::after { transform: rotate(90deg); }
.qa[open] .qa-icon::after { transform: rotate(0deg); }
.qa-body { padding: 0 2.5rem 1.4rem 0; }
.qa-body p { color: var(--muted); max-width: 64ch; }
.qa-note { margin-top: 2.5rem; color: var(--muted); font-size: 0.9rem; max-width: 70ch; }
.qa-note a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 800px) { .qa-group { grid-template-columns: 1fr; } .qa-group > h2 { position: static; } .qa-body { padding-right: 0; } }
@media (prefers-reduced-motion: reduce) { .qa-icon::before, .qa-icon::after { transition: none; } }

/* Who we help ------------------------------------------------------------ */
.audiences { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 3rem); }
.audience { border-top: 2px solid var(--line); padding-top: 1.5rem; display: flex; flex-direction: column; }
.audience:nth-child(1) { border-top-color: var(--teal); }
.audience:nth-child(2) { border-top-color: var(--blue); }
.audience:nth-child(3) { border-top-color: var(--violet); }
.audience h3 { font-size: var(--step-0); font-weight: 500; color: var(--muted); }
.audience .pitch { font-size: var(--step-2); font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; color: var(--text); margin-top: 0.5rem; max-width: 18ch; }
.audience p { color: var(--muted); margin-top: 1rem; }
.audience ul { margin: 1.25rem 0 1.75rem; display: grid; gap: 0.6rem; }
.audience li { padding-left: 1.1rem; position: relative; color: var(--text); font-size: var(--step--1); }
.audience li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); }
.audience .more { margin-top: auto; align-self: start; color: var(--text); font-weight: 500; border-bottom: 1px solid var(--teal); padding-bottom: 2px; }
.audience .more:hover { color: var(--teal); }
.section-head p a, .cta-inner p a.inline { color: var(--text); text-decoration: underline; text-decoration-color: var(--teal); text-underline-offset: 3px; }
.split p strong { color: var(--text); font-weight: 600; }
@media (max-width: 900px) { .audiences { grid-template-columns: 1fr; } .audience .pitch { max-width: none; } }

/* Stats rings ------------------------------------------------------------ */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 3rem); }
.stat { text-align: left; }
.stat svg { width: min(100%, 190px); overflow: visible; filter: drop-shadow(0 0 18px rgba(63, 140, 255, 0.45)) drop-shadow(0 0 40px rgba(124, 108, 255, 0.25)); }
.stat .track { fill: none; stroke: rgba(255, 255, 255, 0.07); stroke-width: 7; }
.stat .arc { fill: none; stroke-width: 7; stroke-linecap: round; transform: rotate(-90deg); transform-origin: 60px 60px; stroke-dashoffset: var(--off); }
.stat text { fill: var(--text); font-size: 27px; font-weight: 600; letter-spacing: -0.03em; }
.stat p { color: var(--muted); margin-top: 1.25rem; max-width: 22ch; }
.stat-source { margin-top: 2.5rem; color: var(--muted); font-size: 0.85rem; }
.stat-source a { color: var(--text); text-decoration: underline; text-decoration-color: var(--teal); text-underline-offset: 3px; }
.js .stat .arc { stroke-dashoffset: 339.292; transition: stroke-dashoffset 1.4s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .stat.in .arc { stroke-dashoffset: var(--off); }
.stat:nth-child(2) .arc { transition-delay: 0.12s; } .stat:nth-child(3) .arc { transition-delay: 0.24s; } .stat:nth-child(4) .arc { transition-delay: 0.36s; }
@media (max-width: 800px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } .stat svg { width: min(100%, 150px); } }
@media (prefers-reduced-motion: reduce) { .js .stat .arc { transition: none; stroke-dashoffset: var(--off); } }

/* Client logos: continuous scroll to the left ----------------------------- */
.clients-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.clients-marquee .clients { flex-wrap: nowrap; justify-content: flex-start; gap: 0; width: max-content; animation: clients-scroll 40s linear infinite; }
.clients-marquee .clients li { flex: none; padding-right: clamp(3rem, 6vw, 5.5rem); }
.clients-marquee:hover .clients { animation-play-state: paused; }
@keyframes clients-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .clients-marquee { -webkit-mask-image: none; mask-image: none; }
  .clients-marquee .clients { animation: none; flex-wrap: wrap; width: auto; gap: 1.5rem 0; }
  .clients-marquee .clients li[aria-hidden] { display: none; }
}

/* Service row thumbnails -------------------------------------------------- */
.ledger-row { grid-template-columns: clamp(110px, 13vw, 170px) minmax(0, 1fr) minmax(0, 1.5fr) auto; }
.row-thumb { aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--ink-2); box-shadow: 0 0 0 1px var(--line); }
.row-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(0.2,0.7,0.2,1); }
.ledger-row:hover .row-thumb img { transform: scale(1.06); }
@media (max-width: 760px) { .ledger-row { grid-template-columns: 1fr; } .row-thumb { aspect-ratio: 16 / 9; } }
/* Who we help photos ------------------------------------------------------ */
.aud-photo { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; margin-bottom: 1.5rem; background: var(--ink-2); box-shadow: 0 0 0 1px var(--line); }
.aud-photo img { width: 100%; height: 100%; object-fit: cover; }
.audience { border-top: 0; padding-top: 0; }
.audience h3 { padding-top: 1.1rem; border-top: 2px solid var(--line); }
.audience:nth-child(1) h3 { border-top-color: var(--teal); } .audience:nth-child(2) h3 { border-top-color: var(--blue); } .audience:nth-child(3) h3 { border-top-color: var(--violet); }
/* Full-width video divider ------------------------------------------------ */
.vband { position: relative; height: clamp(260px, 38vw, 460px); overflow: hidden; display: grid; align-items: center; isolation: isolate; border-block: 1px solid var(--line); }
.vband video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.vband::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,11,26,0.88) 0%, rgba(8,11,26,0.5) 55%, rgba(15,20,48,0.35) 100%), linear-gradient(180deg, var(--ink) 0%, transparent 22%, transparent 78%, var(--ink) 100%); }
.vband p { font-size: var(--step-4); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; max-width: 14ch; }
.vband + .section { padding-top: var(--section); }

/* Temporary holding page -------------------------------------------------- */
.holding { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 2rem 1.5rem; position: relative; overflow: hidden; isolation: isolate; text-align: center; }
.holding-glow { position: absolute; z-index: -1; left: 50%; top: 50%; width: min(1100px, 150vw); aspect-ratio: 1.3; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(124, 108, 255, 0.45), rgba(63, 140, 255, 0.2) 50%, transparent 75%); filter: blur(40px); animation: holding-pulse 7s ease-in-out infinite alternate; }
@keyframes holding-pulse { from { opacity: 0.65; transform: translate(-50%, -50%) scale(0.94); } to { opacity: 1; transform: translate(-50%, -50%) scale(1.04); } }
.holding-inner { max-width: 40rem; display: grid; justify-items: center; }
.holding-inner img { width: min(300px, 70vw); height: auto; }
.holding-inner h1 { font-size: var(--step-4); letter-spacing: -0.035em; line-height: 1.05; margin-top: 3rem; }
.holding-inner p { color: var(--muted); font-size: var(--step-1); font-weight: 300; margin: 1.25rem 0 2rem; max-width: 34ch; }
.holding-inner .holding-foot { font-size: var(--step--1); font-weight: 400; margin: 3rem 0 0; max-width: none; }
@media (prefers-reduced-motion: reduce) { .holding-glow { animation: none; } }
.feature > div > h3 + p { margin-top: 0.5rem; }

.qa-section .section-head { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.section + .section.qa-section { padding-top: var(--section); }

/* Vertical (9:16) videos --------------------------------------------------- */
.lightbox.vertical { max-width: min(94vw, calc(84vh * 9 / 16)); }
.lightbox.vertical .frame { aspect-ratio: 9 / 16; }
/* Vertical tile: full-bleed 9:16 poster on the left, title and blurb on the right (no letterbox bars). */
.work-grid .tile[data-vertical] {
  grid-column: span 2; grid-template-columns: minmax(150px, 230px) 1fr; grid-template-rows: 1fr 1fr;
  column-gap: clamp(1rem, 2.5vw, 1.75rem); row-gap: 0.6rem; align-items: center;
}
.tile[data-vertical] .thumb { grid-row: 1 / span 2; aspect-ratio: 9 / 16; background: var(--ink-3); }
.tile[data-vertical] .thumb img { object-fit: cover; }
.tile[data-vertical] .meta { grid-column: 2; grid-row: 1; flex-direction: column; align-items: flex-start; gap: 0.35rem; align-self: end; }
.tile[data-vertical] .meta h3 { font-size: var(--step-1); line-height: 1.25; }
.tile[data-vertical] .desc { grid-column: 2; grid-row: 2; align-self: start; }
@media (max-width: 560px) {
  .work-grid .tile[data-vertical] { grid-column: auto; grid-template-columns: minmax(120px, 42%) 1fr; }
}

/* Hero ambience: rising particles + slow glow breathing ---------------------- */
.particles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
@keyframes glow-breathe { 0%, 100% { opacity: 0.8; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) { .hero-grid::after { animation: glow-breathe 7s ease-in-out infinite; } }
@media (prefers-reduced-motion: reduce) { .particles { display: none; } }

/* AI badge on the home audience photo ---------------------------------------- */
.aud-photo { position: relative; }

/* Photo > direction > result flow --------------------------------------------- */
.flow { display: grid; grid-template-columns: 1fr 44px 1fr 44px 1.35fr; align-items: center; gap: 0; }
.node { margin: 0; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.75rem; display: grid; gap: 0.7rem; box-shadow: 0 0 40px -18px rgba(63,140,255,0.45); }
.node-result { box-shadow: 0 0 60px -14px rgba(46,230,197,0.45), 0 0 0 1px rgba(46,230,197,0.35); }
.node-tag { font-size: var(--step--1); color: var(--muted); font-weight: 500; }
.node img { width: 100%; height: auto; border-radius: calc(var(--radius) - 4px); display: block; }
.node-photo img { aspect-ratio: 4 / 3; object-fit: cover; }
.node-result img { aspect-ratio: 16 / 9; object-fit: cover; }
.node-prompt { align-self: stretch; align-content: start; }
.node-prompt p { color: var(--text, #e8ecf8); font-size: var(--step--1); line-height: 1.6; margin: 0; }
.flow-link { position: relative; height: 2px; background: linear-gradient(90deg, var(--teal), var(--blue), var(--violet)); box-shadow: 0 0 12px rgba(63,140,255,0.8); }
.flow-link i { position: absolute; right: -1px; top: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); transform: translateY(-50%); box-shadow: 0 0 12px var(--teal); }
.flow-note { margin-top: 1.25rem; color: var(--muted); font-size: var(--step--1); max-width: 70ch; }
@media (prefers-reduced-motion: no-preference) { .flow-link i { animation: flow-dot 2.6s ease-in-out infinite; } }
@keyframes flow-dot { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }
@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr; }
  .flow-link { width: 2px; height: 36px; margin: 0 auto; background: linear-gradient(180deg, var(--teal), var(--violet)); }
  .flow-link i { right: auto; left: 50%; top: auto; bottom: -1px; transform: translateX(-50%); }
}

/* Home: node-style AI workflow in the 'new to AI' column ----------------------- */
.aud-nodes { background-color: var(--ink-2); background-image: radial-gradient(rgba(255,255,255,0.09) 1px, transparent 1px); background-size: 14px 14px; display: grid; place-items: center; }
.aud-nodes svg { width: 100%; height: 100%; display: block; }
.aud-nodes .nd rect { fill: #10152c; stroke: rgba(255,255,255,0.14); stroke-width: 1; }
.aud-nodes .nd rect.out { stroke: rgba(46,230,197,0.55); filter: drop-shadow(0 0 8px rgba(46,230,197,0.35)); }
.aud-nodes .t-tag { font: 500 8.5px/1 inherit; font-family: inherit; fill: #98a2c3; }
.aud-nodes .t-name { font-family: inherit; font-size: 12px; font-weight: 600; fill: #fff; }
.aud-nodes .wires path { filter: drop-shadow(0 0 4px rgba(63,140,255,0.8)); stroke-dasharray: 5 5; }
@media (prefers-reduced-motion: no-preference) { .aud-nodes .wires path { animation: wire-flow 1.6s linear infinite; } }
@keyframes wire-flow { to { stroke-dashoffset: -20; } }

/* AI page: data security + legal protections ---------------------------------- */
.protect-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); }
.protect-grid > div { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: 0 0 50px -24px rgba(46,230,197,0.45); }
.protect-grid h3 { font-size: var(--step-1); }
.protect-grid ul.check { margin-top: 1.25rem; display: grid; gap: 0.75rem; }
.protect-grid ul.check li { display: flex; gap: 0.75rem; align-items: flex-start; color: var(--text); }
@media (max-width: 800px) { .protect-grid { grid-template-columns: 1fr; } }

/* AI page: compact protections link band ------------------------------------- */
.protect-band { padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.protect-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2.5rem; padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.25rem, 3vw, 2rem); background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 0 50px -24px rgba(46,230,197,0.45); }
.protect-line p { max-width: 62ch; color: var(--text); }
/* AI FAQ page: topic jump links ---------------------------------------------- */
.qa-jump { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.qa-jump a { padding: 0.45rem 0.9rem; border-radius: 999px; border: 1px solid var(--line); font-size: var(--step--1); color: var(--muted); }
.qa-jump a:hover { color: var(--text); border-color: var(--muted); }
.qa-group, #data-protection { scroll-margin-top: 90px; }
.protect-note { margin-top: 1.5rem; max-width: 75ch; color: var(--muted); font-size: var(--step--1); }
.protect-lead { margin: 0 0 2rem; max-width: 80ch; color: var(--text); }

/* AI page: scrolling list of tool names (text, not logos) ---------------------- */
.tools-band { padding-block: clamp(2rem, 4vw, 3rem) 0; }
.tools-line { color: var(--muted); font-size: var(--step--1); margin-bottom: 1.25rem; }
.clients.tools li { font-size: var(--step-1); font-weight: 600; letter-spacing: -0.01em; color: var(--text); opacity: 0.75; white-space: nowrap; }
.clients-marquee .clients.tools { animation-duration: 45s; }
.tools-band .clients-marquee { padding-bottom: 2rem; }
.protect-band + .section { padding-top: clamp(3.5rem, 7vw, 5.5rem); }
.btn-teal { background: var(--teal); color: var(--ink); border-color: transparent; box-shadow: 0 0 24px -6px rgba(46,230,197,0.7); }
.btn-teal:hover { background: #5cf0d6; }

/* ---------- AI glossary ---------- */
.protect-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.gloss-group { padding-top: clamp(2.5rem, 5vw, 4rem); scroll-margin-top: 90px; }
.gloss-group:first-child { padding-top: 0; }
.gloss-group h2 { font-size: var(--step-2); margin-bottom: 1.25rem; }
.gloss { border-top: 1px solid var(--line); }
.gloss-row { display: grid; grid-template-columns: minmax(12rem, 18rem) 1fr; gap: 0.5rem 2.5rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.gloss-row dt { font-weight: 600; color: var(--text); }
.gloss-row dd { margin: 0; color: var(--muted); max-width: 64ch; }
.gloss-row:target dt { color: var(--teal); }
@media (max-width: 720px) {
  .gloss-row { grid-template-columns: 1fr; gap: 0.35rem; }
}
