/* Raystone Automations v3, "The Front Desk".
   Stone paper, forest ink, ledger rules, Archivo display + Source Serif 4 body. */

:root {
  --paper: #F6F6F2;
  --paper-2: #ECECE8;
  --ink: #10182B;
  --ink-2: #48536B;
  --band: #0F1C40;
  --band-2: #17285A;
  --accent: #1E4390;
  --signal: #7EB6E8;
  --line: #D8DAE0;
  --line-d: rgba(160, 175, 210, 0.25);
  --paper-on-band: #EEF1F8;
  --muted-on-band: #9AA9CC;
  --wrap: 1200px;
  --clear-b: 5.5rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --sec: clamp(4.5rem, 9vw, 7.5rem);
  --radius: 2px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  /* z-scale */
  --z-header: 50;
  --z-menu: 60;
  --z-fab: 40;
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
section[id], [id] { scroll-margin-top: 5.5rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a[href^="tel:"] { font-variant-numeric: tabular-nums; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: var(--band); color: var(--paper-on-band); }

h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

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

.skip {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--band); color: var(--paper-on-band);
  padding: 0.6rem 1rem; font-family: Archivo, sans-serif; font-size: 0.9rem;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

/* ---------- Type roles ---------- */
.display {
  font-family: Archivo, "Arial Narrow", sans-serif;
  font-variation-settings: "wdth" 118;
  font-weight: 740;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  line-height: 0.98;
  color: var(--ink);
}
.dek {
  font-size: clamp(1.125rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 34em;
}
.lbl {
  font-family: Archivo, sans-serif;
  font-weight: 620;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-2);
}
.num { font-family: Archivo, sans-serif; font-variant-numeric: tabular-nums; }
.stmt { font-size: 1.5rem; line-height: 1.45; }
.art {
  font-family: Archivo, sans-serif; font-size: 0.85rem; letter-spacing: 0.03em;
  font-variant-numeric: tabular-nums;
}
.art .state { color: var(--accent); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.sec--deep .art .state { color: var(--signal); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: Archivo, sans-serif; font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.01em;
  background: var(--band); color: var(--paper-on-band);
  padding: 0.85rem 1.5rem; border: 1px solid var(--band);
  border-radius: var(--radius);
  text-decoration: none; cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: transparent; color: var(--accent); border-color: var(--accent); }
/* on deep bands */
.btn--paper { background: var(--paper); color: var(--band); border-color: var(--paper); }
.btn--paper:hover { background: var(--signal); border-color: var(--signal); color: var(--band); }
.btn--ondeep { background: transparent; color: var(--paper-on-band); border-color: var(--muted-on-band); }
.btn--ondeep:hover { background: transparent; color: var(--signal); border-color: var(--signal); }

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0; z-index: var(--z-header);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.top-in {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 4rem; gap: 1.5rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.65rem;
  color: var(--ink); text-decoration: none;
  font-family: Archivo, sans-serif; font-weight: 700; font-size: 1.02rem;
  letter-spacing: 0.015em;
}
.brand img, .brand svg { width: 30px; height: 30px; }
.brand small {
  display: block; font-weight: 500; font-size: 0.66rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-2);
}
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a {
  font-family: Archivo, sans-serif; font-weight: 500; font-size: 0.92rem;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.nav a:hover { color: var(--accent); }
.nav a.btn { color: var(--paper-on-band); padding: 0.6rem 1.1rem; font-size: 0.88rem; }
.nav a.btn:hover { color: #fff; }
.menu-btn {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 0.5rem 0.8rem;
  font-family: Archivo, sans-serif; font-weight: 600; font-size: 0.85rem;
  color: var(--ink); cursor: pointer;
}

/* mobile menu panel */
.m-menu {
  display: none;
  position: fixed; inset: 0; z-index: var(--z-menu);
  background: var(--band); color: var(--paper-on-band);
  padding: 1.25rem var(--gutter) 2rem;
  flex-direction: column;
}
.m-menu.open { display: flex; }
.m-menu-head { display: flex; align-items: center; justify-content: space-between; min-height: 4rem; }
.m-menu-head .brand { color: var(--paper-on-band); }
.m-menu-head .brand small { color: var(--muted-on-band); }
.m-close {
  background: none; border: 1px solid var(--line-d); border-radius: var(--radius);
  color: var(--paper-on-band); padding: 0.5rem 0.8rem;
  font-family: Archivo, sans-serif; font-weight: 600; font-size: 0.85rem; cursor: pointer;
}
.m-links { display: flex; flex-direction: column; margin-top: 2rem; }
.m-links a {
  font-family: Archivo, sans-serif; font-variation-settings: "wdth" 112;
  font-weight: 700; font-size: 1.7rem; text-transform: uppercase;
  color: var(--paper-on-band); text-decoration: none;
  padding: 0.9rem 0; border-top: 1px solid var(--line-d);
}
.m-links a:hover { color: var(--signal); }
.m-menu .btn { margin-top: 2rem; align-self: flex-start; }
.m-contact { margin-top: auto; font-size: 0.95rem; color: var(--muted-on-band); }
.m-contact a { color: var(--signal); }

/* ---------- Status strip (signature) ---------- */
.statusbar { border-bottom: 1px solid var(--line); }
.statusbar-in {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-block: 0.55rem;
  font-family: Archivo, sans-serif; font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2);
}
.statusbar a { color: var(--ink); text-decoration: none; font-weight: 600; white-space: nowrap; }
.statusbar a:hover { color: var(--accent); }
.dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); margin-right: 0.5rem; vertical-align: 1px;
  animation: pulse 2.4s var(--ease) infinite;
}
.dot--dead { background: var(--ink-2); animation: none; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(30, 67, 144, 0.35); }
  50% { box-shadow: 0 0 0 6px rgba(30, 67, 144, 0); }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(3rem, 7vw, 6rem) var(--sec); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: start;
}
.hero h1 { display: block; }
.hero .display {
  font-size: clamp(2.3rem, 5vw, 4.15rem);
  display: block;
  text-wrap: initial;
}
.h1-sub {
  display: block; margin-top: 1.1rem;
  font-family: "Source Serif 4", Georgia, serif;
  font-style: italic; font-weight: 480;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  text-transform: none; letter-spacing: 0; line-height: 1.4;
  color: var(--ink-2);
}
.hero .dek { margin-top: 1.4rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; align-items: center; }
.cta-note { margin-top: 1rem; font-size: 0.95rem; font-style: italic; color: var(--ink-2); }
.heroph { margin: 0; }
.heroph .ph { position: relative; }
.heroph img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%;
  border-radius: var(--radius);
}
.heroph .ph::after {
  content: ""; position: absolute; inset: 0.9rem -0.9rem -0.9rem 0.9rem;
  border: 1px solid var(--band); border-radius: var(--radius);
  z-index: -1;
}
.heroph figcaption {
  margin-top: 1.4rem;
  font-family: Archivo, sans-serif; font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.04em; color: var(--ink-2);
}
.heroph figcaption strong {
  display: block; font-weight: 650; font-size: 0.88rem; color: var(--ink);
  text-transform: uppercase; letter-spacing: 0.06em;
}

/* hero load animation (pure CSS so content is never JS-gated) */
.rise { animation: rise 0.9s var(--ease) both; }
.rise-2 { animation: rise 0.9s 0.12s var(--ease) both; }
.rise-3 { animation: rise 0.9s 0.24s var(--ease) both; }
.rise-4 { animation: rise 1s 0.3s var(--ease) both; }
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Overnight ledger (hero specimen) ---------- */
.nightlog {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0.9rem 1.1rem 0.6rem;
}
.nl-head { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: 0.6rem; }
.nl-head .lbl { color: var(--ink); }
.nl-head .lbl + .lbl { color: var(--ink-2); font-weight: 500; }
.nl-row { display: flex; gap: 0.8rem; align-items: baseline; border-top: 1px solid var(--line); padding: 0.5rem 0; font-size: 0.8rem; }
.nl-row .t { color: var(--ink-2); min-width: 4.6em; }
.nl-row .state { margin-left: auto; }
.nl-note { margin: 0.5rem 0 0.3rem; font-family: "Source Serif 4", Georgia, serif; font-style: italic; font-size: 0.78rem; color: var(--ink-2); }
.heroph .nightlog { margin-top: 1.4rem; }
.sec--deep .prose { color: var(--muted-on-band); }
.sec--deep .prose h2 { color: var(--paper-on-band); }
.sec--deep .stmt { color: var(--paper-on-band); }
.band-stmt { max-width: 26em; margin-top: 1rem; }
.chip-q { display: block; margin: 0.9rem 0 0.45rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.chips button {
  font-family: Archivo, sans-serif; font-weight: 600; font-size: 0.82rem;
  padding: 0.42rem 0.75rem; cursor: pointer; border-radius: var(--radius);
  background: var(--paper); color: var(--ink); border: 1px solid var(--line);
}
.chips button:hover { border-color: var(--accent); color: var(--accent); }
.chips button[aria-pressed="true"] { background: var(--band); color: var(--paper-on-band); border-color: var(--band); }
#intakeChips { margin-bottom: 1.4rem; }
#bookDone { margin-bottom: 1.4rem; }
/* ---------- The schematic ---------- */
.schematic { margin: 0 0 clamp(2rem, 5vw, 3.5rem); }
.schematic svg { display: block; width: 100%; height: auto; }
.schematic .sch-loop { fill: none; stroke: var(--ink-2); stroke-width: 1.2; opacity: 0.55; }
.schematic .sch-node { fill: var(--paper-2); stroke: var(--accent); stroke-width: 1.5; }
.sec:not(.sec--alt) .schematic .sch-node { fill: var(--paper); }
.schematic .sch-lbl { font-family: Archivo, sans-serif; font-weight: 650; font-size: 13px; letter-spacing: 0.08em; fill: var(--ink-2); }
.schematic .sch-tick { fill: none; stroke: var(--ink-2); stroke-width: 1.5; opacity: 0.7; }
.schematic .lit .sch-node { fill: var(--accent); }
.schematic .lit .sch-lbl { fill: var(--accent); }
.schematic .sch-v { display: none; }
@media (max-width: 700px) {
  .schematic .sch-h { display: none; }
  .schematic .sch-v { display: block; max-width: 340px; }
}
.schematic figcaption { margin-top: 0.6rem; font-family: "Source Serif 4", Georgia, serif; font-style: italic; font-size: 0.9rem; color: var(--ink-2); }
@media (prefers-reduced-motion: no-preference) {
  html.js .schematic:not(.drawn) .sch-loop { stroke-dasharray: 2400; stroke-dashoffset: 2400; }
  html.js .schematic.drawn .sch-loop { stroke-dasharray: 2400; animation: schdraw 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
  @keyframes schdraw { to { stroke-dashoffset: 0; } }
}
/* ---------- Dispatch board ---------- */
.dispatch { border: 1px solid var(--line-d); border-radius: var(--radius); margin-bottom: clamp(2rem, 4vw, 3rem); }
.dp-head { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 1.1rem; border-bottom: 1px solid var(--line-d); }
.dp-head .lbl { color: var(--paper-on-band); }
.dp-head .lbl + .lbl { color: var(--muted-on-band); font-weight: 500; }
.dp-row { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 1rem; padding: 0.8rem 1.1rem; border-top: 1px solid var(--line-d); font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; }
.dp-row:first-of-type { border-top: 0; }
.dp-row .n { color: var(--paper-on-band); font-weight: 650; }
.dp-row .s { color: var(--muted-on-band); }
.dp-row .live { color: var(--signal); font-weight: 700; letter-spacing: 0.08em; }
.dp-row .live::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); margin-right: 0.45rem; vertical-align: 1px; }
@media (max-width: 560px) {
  .dp-row { grid-template-columns: 1fr auto; }
  .dp-row .s { grid-column: 1 / -1; }
}
/* ---------- Sections & the ledger ---------- */
.sec { padding-block: var(--sec); }
/* The rail: static vertical hairline down the label rail, node dots at row junctions */
@media (min-width: 961px) {
  .has-rail > .wrap { position: relative; }
  .has-rail > .wrap::before {
    content: ""; position: absolute; left: var(--gutter); top: 0; bottom: 0;
    width: 1px; background: var(--line);
  }
  .sec--deep.has-rail > .wrap::before { background: var(--line-d); }
  .has-rail .sechead > .lbl, .has-rail .lrow > :first-child { padding-left: 1.1rem; }
}
/* node dots on every ledger row, all sizes (plan: dots remain as row markers on mobile) */
.has-rail .lrow { position: relative; }
.has-rail .lrow::before {
  content: ""; position: absolute; left: -3.5px; top: -4px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--accent);
}
.sec--alt.has-rail .lrow::before { background: var(--paper-2); }
.sec--deep.has-rail .lrow::before { background: var(--band); border-color: var(--signal); }
.sec--tight { padding-block: calc(var(--sec) * 0.62); }
.sec--alt { background: var(--paper-2); }
.sec--deep { background: var(--band); color: var(--paper-on-band); }
.sec--deep .display { color: var(--paper-on-band); }
.sec--deep .dek { color: var(--muted-on-band); }
.sec--deep .lbl { color: var(--muted-on-band); }
.sec--deep a { color: var(--signal); }

.sechead {
  display: grid; grid-template-columns: minmax(150px, 240px) 1fr;
  gap: 1rem 2.5rem;
  padding-top: 1.1rem; border-top: 1px solid var(--line);
  margin-bottom: clamp(2.2rem, 5vw, 3.8rem);
}
.sec--deep .sechead { border-top-color: var(--line-d); }
.sechead h2.display, .sechead .h2 { font-size: clamp(1.8rem, 3.6vw, 3rem); }
.sechead .dek { margin-top: 1rem; }

.ledger { border-bottom: 1px solid var(--line); }
.sec--deep .ledger { border-bottom-color: var(--line-d); }
.lrow {
  display: grid; grid-template-columns: minmax(150px, 240px) 1fr;
  gap: 0.6rem 2.5rem;
  padding-block: clamp(1.4rem, 3vw, 2.1rem);
  border-top: 1px solid var(--line);
}
.sec--deep .lrow { border-top-color: var(--line-d); }
.lrow h3 {
  font-family: Archivo, sans-serif; font-variation-settings: "wdth" 110;
  font-weight: 680; font-size: clamp(1.15rem, 2vw, 1.45rem);
  text-transform: uppercase; letter-spacing: 0.005em; line-height: 1.15;
}
.lrow .body { max-width: 58ch; color: var(--ink-2); }
.sec--deep .lrow .body { color: var(--muted-on-band); }
.lrow-k {
  font-family: Archivo, sans-serif; font-weight: 620; font-size: 0.8125rem;
  text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-2);
  padding-top: 0.35rem;
}

/* ---------- Process steps ---------- */
.step-n {
  font-family: Archivo, sans-serif; font-variation-settings: "wdth" 122;
  font-weight: 750; font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums;
}
.step-n small {
  display: block; font-size: 0.8125rem; font-weight: 620; letter-spacing: 0.07em;
  color: var(--ink-2); font-variation-settings: "wdth" 100; margin-bottom: 0.4rem;
}

/* ---------- Packages ---------- */
.packs {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper);
}
.pack { padding: clamp(1.6rem, 3vw, 2.4rem); border-left: 1px solid var(--line); position: relative; display: flex; flex-direction: column; }
.pack:first-child { border-left: 0; }
.pack-name {
  font-family: Archivo, sans-serif; font-variation-settings: "wdth" 112;
  font-weight: 700; font-size: 1.5rem; text-transform: uppercase;
}
.pack-tag {
  position: absolute; top: -0.75rem; left: clamp(1.6rem, 3vw, 2.4rem);
  background: var(--band); color: var(--paper-on-band);
  font-family: Archivo, sans-serif; font-weight: 600; font-size: 0.72rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.28rem 0.7rem; border-radius: var(--radius);
}
.pack-for { margin-top: 0.8rem; font-style: italic; color: var(--ink-2); min-height: 3.2em; }
.pack ul { list-style: none; margin: 1.4rem 0 1.8rem; padding: 0; flex-grow: 1; }
.pack li {
  padding: 0.55rem 0 0.55rem 1.4rem; border-top: 1px solid var(--line);
  font-size: 0.98rem; color: var(--ink-2); position: relative;
}
.pack li::before {
  content: ""; position: absolute; left: 2px; top: 1.05rem;
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
}
.pack .btn { width: 100%; justify-content: center; margin-top: auto; }
.packs-note { margin-top: 1.2rem; font-size: 0.95rem; font-style: italic; color: var(--ink-2); }

/* ---------- Compare table ---------- */
.tbl-scroll { overflow-x: auto; }
table.compare {
  width: 100%; min-width: 560px; border-collapse: collapse;
  font-size: 1rem;
}
.compare th, .compare td {
  text-align: left; padding: 0.95rem 1.2rem;
  border-top: 1px solid var(--line); vertical-align: top;
}
.compare thead th {
  font-family: Archivo, sans-serif; font-weight: 650; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.06em; border-top: 0;
  color: var(--ink-2); padding-top: 0;
}
.compare td:first-child {
  font-family: Archivo, sans-serif; font-weight: 600; font-size: 0.88rem;
  text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-2);
  width: 26%;
}
.compare .win { color: var(--ink); font-weight: 600; }
.compare .win .num, .compare td .num { font-weight: 700; }
.compare td small { display: block; color: var(--ink-2); font-size: 0.88rem; font-style: italic; }

/* ---------- Industries ---------- */
.trades {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3em 0;
  padding: clamp(1.2rem, 2.5vw, 1.8rem) 0; margin: 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.trades li {
  list-style: none;
  font-family: Archivo, sans-serif; font-variation-settings: "wdth" 116;
  font-weight: 700; font-size: clamp(1.5rem, 3.4vw, 2.6rem); text-transform: uppercase;
  color: var(--ink);
}
.trades li:not(:last-child)::after { content: "\00B7"; margin: 0 0.5em; color: var(--accent); font-weight: 400; }

/* ---------- Founder ---------- */
.founder-grid {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: start;
}
.founder-grid figure { margin: 0; }
.founder-grid img { border-radius: var(--radius); }
.founder-grid figcaption {
  margin-top: 1rem; font-family: Archivo, sans-serif; font-size: 0.85rem;
  color: var(--ink-2); letter-spacing: 0.03em;
}
.founder-grid figcaption strong { color: var(--ink); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.88rem; display: block; }
blockquote.pull {
  margin: 0; font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.45;
  font-style: italic; font-weight: 480; color: var(--ink);
}
blockquote.pull + .body { margin-top: 1.6rem; color: var(--ink-2); max-width: 58ch; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3.5vw, 3rem); }
.quote { border-top: 1px solid var(--line-d); padding-top: 1.4rem; }
.quote p { font-style: italic; font-size: 1.05rem; color: var(--paper-on-band); }
.quote footer {
  margin-top: 1.1rem; font-family: Archivo, sans-serif; font-size: 0.85rem;
  color: var(--muted-on-band); letter-spacing: 0.03em;
}
.quote footer strong {
  display: block; color: var(--paper-on-band); font-weight: 650;
  text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.85rem;
}

/* ---------- FAQ ---------- */
.faq { border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem;
  padding: 1.25rem 0;
  font-family: Archivo, sans-serif; font-weight: 620; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-weight: 500; font-size: 1.4rem; line-height: 1;
  color: var(--ink-2); transition: transform 0.25s var(--ease); flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent); }
.faq .a { padding: 0 0 1.5rem; max-width: 62ch; color: var(--ink-2); }

/* ---------- CTA band ---------- */
.cta-band .display { font-size: clamp(2.2rem, 5vw, 4rem); max-width: 14em; margin-top: 1rem; }
.cta-band .dek { margin-top: 1.3rem; }
.cta-band .cta-row { margin-top: 2.2rem; }
.cta-band .cta-note { color: var(--muted-on-band); }
.tel-big {
  font-family: Archivo, sans-serif; font-weight: 650; font-size: 1.05rem;
  color: var(--paper-on-band); text-decoration: none; letter-spacing: 0.02em;
}
.tel-big:hover { color: var(--signal); }

/* ---------- Footer ---------- */
footer.site {
  background: var(--band); color: var(--muted-on-band);
  border-top: 1px solid var(--line-d);
  padding-block: clamp(3rem, 6vw, 4.5rem) calc(2rem + var(--clear-b));
  font-size: 0.95rem;
}
.foot-mark {
  display: block; margin: clamp(2rem, 5vw, 3.2rem) 0 0;
  font-family: Archivo, sans-serif; font-variation-settings: "wdth" 118;
  font-weight: 750; text-transform: uppercase; letter-spacing: -0.015em;
  line-height: 0.85; font-size: clamp(3.2rem, 13vw, 9.5rem);
  color: var(--paper-on-band); user-select: none;
}
.foot-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
}
.foot-grid h4 {
  font-family: Archivo, sans-serif; font-weight: 620; font-size: 0.8125rem;
  text-transform: uppercase; letter-spacing: 0.07em; color: var(--paper-on-band);
  margin-bottom: 1rem;
}
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: 0.55rem; }
.foot-grid a { color: var(--muted-on-band); text-decoration: none; }
.foot-grid a:hover { color: var(--signal); }
.foot-brand { display: flex; align-items: center; gap: 0.65rem; color: var(--paper-on-band); font-family: Archivo, sans-serif; font-weight: 700; font-size: 1.05rem; }
.foot-brand img { width: 32px; height: 32px; }
.foot-blurb { margin-top: 1rem; max-width: 30ch; font-style: italic; }
.foot-area { font-size: 0.85rem; color: var(--muted-on-band); margin: 0 0 1.2rem; max-width: 44em; }
.foot-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid var(--line-d);
  font-family: Archivo, sans-serif; font-size: 0.8rem; letter-spacing: 0.04em;
}
.foot-base .sig { text-transform: uppercase; }
.foot-base .sig .dot { animation: none; background: var(--signal); }

/* ---------- Book page ---------- */
.book-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: start;
}
.book-list { list-style: none; margin: 1.6rem 0 0; padding: 0; }
.book-list li { border-top: 1px solid var(--line); padding: 1rem 0; display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; color: var(--ink-2); }
.book-list .lbl { padding-top: 0.2rem; min-width: 5.5rem; }
.cal-frame { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; min-height: 720px; }
.calendly-inline-widget { min-width: 280px; height: 760px; }

/* ---------- Service hero aside (fact ticket) ---------- */
.hero-svc { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.ticket { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem 0.4rem; margin-top: 0.5rem; }
.ticket .lbl { display: block; padding-bottom: 0.9rem; }
.ticket dl { margin: 0; }
.ticket .trow { display: grid; grid-template-columns: auto 1fr; gap: 1rem; border-top: 1px solid var(--line); padding: 0.85rem 0; }
.ticket dt { font-family: Archivo, sans-serif; font-weight: 650; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink); min-width: 5.2rem; padding-top: 0.1rem; }
.ticket dd { margin: 0; font-size: 0.98rem; color: var(--ink-2); }
@media (max-width: 960px) { .hero-svc { grid-template-columns: 1fr; } .ticket { max-width: 480px; } }
/* ---------- Page-specific (absorbed from private page styles) ---------- */
.hero-solo { max-width: 850px; }
.hero--about { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(2.5rem, 6vw, 4.5rem); }
.err .dek { margin-top: 1.2rem; }
.book-grid h1.display { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
.book-grid .dek { margin-top: 1.2rem; }
.book-photo { width: 120px; height: 150px; object-fit: cover; border-radius: var(--radius); margin-top: 0.9rem; }
.book-quote { margin: 2.4rem 0 0; border-top: 1px solid var(--line); padding-top: 1.4rem; font-style: italic; color: var(--ink-2); }
.book-quote footer { margin-top: 0.9rem; font-family: Archivo, sans-serif; font-style: normal; font-size: 0.85rem; letter-spacing: 0.03em; color: var(--ink-2); }
.book-quote footer strong { display: block; color: var(--ink); font-weight: 650; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.85rem; }
.book-phone { margin-top: 1.6rem; font-size: 0.98rem; color: var(--ink-2); }
.cal-frame { position: relative; }
.cal-fallback { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding: 2rem; color: var(--ink-2); }
.cal-widget { position: relative; z-index: 1; }
/* ---------- Prose (service pages) ---------- */
.prose { max-width: 62ch; }
@media (min-width: 1100px) { .sechead + .prose, .sechead ~ .prose { margin-left: calc(240px + 2.5rem); } }
.prose h2 { font-family: Archivo, sans-serif; font-variation-settings: "wdth" 112; font-weight: 700; text-transform: uppercase; font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 2.4em 0 0.7em; }
.prose h3 { font-family: Archivo, sans-serif; font-weight: 650; font-size: 1.15rem; margin: 1.8em 0 0.5em; }
.prose ul { padding-left: 1.1rem; color: var(--ink-2); }
.prose li { margin-bottom: 0.45rem; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 404 ---------- */
.err { min-height: 55vh; display: grid; align-content: center; }
.err .display { font-size: clamp(3rem, 9vw, 6rem); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .founder-grid, .book-grid { grid-template-columns: 1fr; }
  .heroph { max-width: 480px; }
  .heroph .ph::after { inset: 0.7rem -0.7rem -0.7rem 0.7rem; }
  .founder-grid figure { max-width: 380px; }
  .packs { grid-template-columns: 1fr; }
  .pack { border-left: 0; border-top: 1px solid var(--line); }
  .pack:first-child { border-top: 0; }
  .pack-tag { top: 1rem; left: auto; right: 1.2rem; }
  .quotes { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .nav { display: none; }
  .menu-btn { display: inline-block; }
}
@media (max-width: 760px) {
  .sechead, .lrow { grid-template-columns: 1fr; }
  .sechead { gap: 0.8rem; }
  .lrow { gap: 0.5rem; }
  .lrow-k { padding-top: 0; }
  .lrow .body { max-width: none; }
  .statusbar-in { font-size: 0.78rem; }
  .trades li { font-size: 1.35rem; }
}
@media (max-width: 560px) {
  .foot-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .cta-row .btn { width: 100%; justify-content: center; }
  /* stack the compare table: each row becomes label + two labeled cells */
  table.compare, .compare tbody, .compare tr, .compare td { display: block; min-width: 0; }
  .compare thead { display: none; }
  .compare tr { border-top: 1px solid var(--line); padding: 0.9rem 0; }
  .compare td, .compare td:first-child { width: auto; border-top: 0; padding: 0.2rem 0; }
  .compare td:first-child { margin-bottom: 0.3rem; }
  .compare td:nth-child(2)::before, .compare td:nth-child(3)::before {
    display: block; font-family: Archivo, sans-serif; font-weight: 620; font-size: 0.72rem;
    text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-2);
  }
  .compare td:nth-child(2)::before { content: "Hiring an employee"; }
  .compare td:nth-child(3)::before { content: "Raystone automation"; margin-top: 0.55rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .rise-2, .rise-3, .rise-4 { animation: none; }
  .dot { animation: none; }
  * { transition-duration: 0.01ms !important; }
}
