/* ============================================================
   PBHQ — Field Operations stylesheet
   Direction: 80s action-hero military. Forward-leaning type, the
   Army star, speed lines, logo green as unit patches on a bone
   ground, khaki paper for maps and orders, brass for marks.
   ============================================================ */

:root {
  --ground:    #F2EEE3;
  --ground-2:  #E9E3D2;
  --card:      #FBF9F3;
  --paper:     #E2D6B0;
  --paper-2:   #D4C69A;
  --ink:       #14201A;
  --ink-soft:  #4A5A4E;
  --brand:     #2B5439;
  --brand-deep:#1F3F2B;
  --brand-2:   #356A48;
  --brass:     #B58A3C;
  --brass-2:   #C9A05A;
  --signal:    #D14A2A;
  --bone:      #F2EEE3;
  --text:      var(--ink);
  --muted:     rgba(20, 32, 26, 0.72);
  --faint:     rgba(20, 32, 26, 0.46);
  --line:      rgba(20, 32, 26, 0.14);
  --line-2:    rgba(20, 32, 26, 0.30);

  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body:    "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --mono:    "IBM Plex Mono", "SFMono-Regular", Menlo, Consolas, monospace;

  --max: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
  --nav-h: 68px;
  --speed: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 12'%3E%3Cpath d='M0 0.5h33l7 1.5-7 1.5H0zM0 4.5h25l7 1.5-7 1.5H0zM0 8.5h17l7 1.5-7 1.5H0z'/%3E%3C/svg%3E");
}

/* A unit patch: logo green ground, bone text. Tokens flip inside it. */
.patch {
  --text: var(--bone);
  --muted: rgba(242, 238, 227, 0.78);
  --faint: rgba(242, 238, 227, 0.5);
  --line: rgba(242, 238, 227, 0.18);
  --line-2: rgba(242, 238, 227, 0.36);
  --card: rgba(255, 255, 255, 0.06);
  background: var(--brand);
  color: var(--bone);
}
/* Patch over a photo: the image sits under a heavy logo-green wash so type stays legible. */
.patch.photo { position: relative; isolation: isolate; overflow: hidden; }
.patch.photo::before, .patch.photo::after { content: ""; position: absolute; z-index: -1; pointer-events: none; }
/* Oversized to the bottom-right so the source image's corner watermark falls outside the section. */
.patch.photo::before { inset: -12px -22% -28% -12px; background: var(--photo) left top / cover no-repeat; filter: blur(2px) saturate(.7); }
.patch.photo::after { inset: 0; background: linear-gradient(180deg, rgba(43,84,57,.74) 0%, rgba(43,84,57,.85) 55%, rgba(43,84,57,.94) 100%); }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--ground);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* laid-paper grain across the ground */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: repeating-linear-gradient(90deg, rgba(20,32,26,0.022) 0 1px, transparent 1px 4px);
}
body > * { position: relative; z-index: 1; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
::selection { background: var(--brass-2); color: var(--ink); }

/* ---------- Logo marks ---------- */
.wordmark, .splat { display: inline-block; background-color: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.wordmark { --m: url(/images/pbhq-wordmark.svg); aspect-ratio: 1024 / 330; }
.splat { --m: url(/images/pbhq-splat.svg); aspect-ratio: 1; }
.star { width: 1em; height: 1em; fill: currentColor; flex: none; }

/* ---------- Type ---------- */
.display {
  font-family: var(--display);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0.005em;
}
h1.display { font-size: clamp(46px, 6.6vw, 96px); }
h2.display { font-size: clamp(40px, 5.4vw, 76px); }
h3.display { font-size: clamp(28px, 3vw, 40px); }
.display .lo { color: var(--brand); }
.patch .display .lo { color: var(--brass-2); }
.display .dim { color: var(--faint); }

.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--muted); max-width: 62ch; }
.prose p { color: var(--muted); max-width: 66ch; }
.prose p + p { margin-top: 1em; }
.prose strong { color: var(--text); font-weight: 600; }

.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.4; }

/* Designator: annex / paragraph label, led by the logo's speed lines */
.desig {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 22px;
}
.patch .desig { color: var(--brass-2); }
.desig::before { content: ""; width: 40px; height: 12px; flex: none; background: currentColor; -webkit-mask: var(--speed) left / contain no-repeat; mask: var(--speed) left / contain no-repeat; }
.desig .n { color: var(--text); white-space: nowrap; }
.desig .sep { color: var(--faint); }

/* ---------- Layout ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-block: clamp(72px, 9vw, 128px); }
.section + .section { border-top: 1px solid var(--line); }
.section.tight { padding-block: clamp(48px, 6vw, 80px); }
.section.ground-2 { background: var(--ground-2); }
.section.patch + .section, .section + .section.patch { border-top: 0; }

.cols { display: grid; gap: clamp(28px, 4vw, 64px); }
.cols.two { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
.cols.half { grid-template-columns: 1fr 1fr; }
@media (max-width: 860px) { .cols.two, .cols.half { grid-template-columns: minmax(0, 1fr); } }
.stick { position: sticky; top: calc(var(--nav-h) + 24px); }
.stick h1 { font-size: clamp(40px, 5.2vw, 72px) !important; }
.stick .lede { margin-top: 26px; }
@media (max-width: 860px) { .stick { position: static; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  font-family: var(--display); font-weight: 700; font-style: italic; font-size: 19px;
  text-transform: uppercase; letter-spacing: 0.04em; line-height: 1;
  border-radius: 2px; border: 1px solid transparent;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--brand); color: var(--bone); border-color: var(--brand); }
.btn.primary:hover { background: var(--brand-2); border-color: var(--brand-2); }
.btn.ghost { color: var(--text); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--text); }
.btn.small { padding: 10px 16px; font-size: 16px; }
.btn .arrow { font-family: var(--mono); font-weight: 400; font-style: normal; }
.patch .btn.primary { background: var(--brass-2); color: var(--ink); border-color: var(--brass-2); }
.patch .btn.primary:hover { background: #D9B46A; border-color: #D9B46A; }
.sheet .btn.primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.sheet .btn.primary:hover { background: var(--brand); border-color: var(--brand); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.textlink { color: var(--brand); font-weight: 500; border-bottom: 1px solid rgba(43,84,57,0.35); padding-bottom: 1px; }
.textlink:hover { border-bottom-color: var(--brand); }
.patch .textlink { color: var(--brass-2); border-bottom-color: rgba(201,160,90,0.4); }

/* ---------- Nav (a green patch) ---------- */
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); border-bottom: 2px solid var(--brass-2); }
.nav .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; color: inherit; }
.brand .wordmark { width: 150px; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { padding: 8px 12px; font-family: var(--display); font-weight: 600; font-style: italic; font-size: 19px; letter-spacing: 0.03em; text-transform: uppercase; color: var(--muted); transition: color .15s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--bone); }
.nav-links a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--brass-2); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .signin { padding: 8px 12px; font-family: var(--display); font-weight: 600; font-style: italic; font-size: 19px; letter-spacing: 0.03em; text-transform: uppercase; color: var(--muted); }
.nav-cta .signin:hover { color: var(--bone); }
.burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.burger span { width: 22px; height: 2px; background: var(--bone); transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.drawer { display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; z-index: 49; padding: 16px var(--gutter) 40px; overflow-y: auto; }
.drawer[data-open="true"] { display: block; }
.drawer a { display: block; padding: 16px 0; font-family: var(--display); font-size: 32px; font-weight: 700; font-style: italic; text-transform: uppercase; border-bottom: 1px solid var(--line); }
.drawer a[aria-current="page"] { color: var(--brass-2); }
.drawer .drawer-cta { margin-top: 24px; display: grid; gap: 12px; }
.drawer .drawer-cta a { border: 0; padding: 14px 24px; font-size: 19px; text-align: center; }
.drawer .drawer-cta .ghost { border: 1px solid var(--line-2); }
@media (max-width: 940px) { .nav-links, .nav-cta { display: none; } .burger { display: flex; } }

/* ---------- Paper sheet ---------- */
.sheet {
  position: relative; background: var(--paper); color: var(--ink);
  --text: var(--ink); --muted: var(--ink-soft); --faint: rgba(20,32,26,0.5);
  border: 1px solid rgba(20,32,26,0.22); border-radius: 2px;
  box-shadow: 0 18px 40px -24px rgba(20,32,26,0.45);
}
.sheet::before { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background-image: repeating-linear-gradient(90deg, rgba(0,0,0,0.03) 0 1px, transparent 1px 4px); mix-blend-mode: multiply; }
.sheet > * { position: relative; }
.sheet .desig { color: var(--brand); }
.sheet .display .lo { color: var(--brand); }
.sheet-head {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 14px 22px; border-bottom: 1px solid rgba(20,32,26,0.22);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft);
}
.sheet-head b { color: var(--ink); font-weight: 500; }
.sheet-body { padding: clamp(22px, 3vw, 40px); }

/* ---------- Hero ---------- */
.recon { padding-bottom: clamp(24px, 3vw, 40px); }
.recon-print { margin: 0; padding: 0 10px 10px; }
.recon-print .sheet-head { padding-inline: 12px; }
.recon-print img { display: block; width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; object-position: 45% 60%; margin-top: 10px; border-radius: 1px; filter: saturate(.85) contrast(1.05) sepia(.08); }
@media (max-width: 700px) { .recon-print img { aspect-ratio: 4 / 3; object-position: 38% 60%; } }
.reel-print { margin: 0; width: fit-content; justify-self: center; padding: 0 10px 10px; }
.reel-print .sheet-head { padding-inline: 12px; }
.reel-print iframe { display: block; width: 267px; max-width: 100%; height: 476px; margin-top: 10px; border: 0; overflow: hidden; background: var(--ink); }
.hero { padding-block: clamp(56px, 7vw, 96px) clamp(64px, 8vw, 112px); }
.hero .cols.two { grid-template-columns: minmax(0, 11fr) minmax(0, 10fr); align-items: center; }
@media (max-width: 1000px) { .hero .cols.two { grid-template-columns: 1fr; } }
.hero h1 { font-size: clamp(46px, 6vw, 88px); margin-top: 14px; }
.hero .lede { margin-top: 28px; }
.status { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.status .star { color: var(--brand); font-size: 14px; }
.page-hero { padding-block: clamp(56px, 7vw, 96px) clamp(40px, 5vw, 64px); }
.page-hero .lede { margin-top: 26px; }

/* ---------- Field map ---------- */
.map-sheet .sheet-body { padding: 0; }
.fieldmap { width: 100%; height: auto; display: block; }
.fieldmap text { font-family: var(--mono); text-transform: uppercase; }
.fieldmap .lbl { font-size: 8.5px; letter-spacing: 0.1em; fill: var(--ink-soft); }
.fieldmap .lbl.big { font-size: 10px; fill: var(--ink); }
.fieldmap .grid-l { font-size: 7px; fill: rgba(20,32,26,0.5); letter-spacing: 0.05em; }
.fieldmap .ln { fill: none; stroke: var(--ink); stroke-width: 1.2; stroke-linejoin: round; stroke-linecap: round; }
.fieldmap .ln.thin { stroke-width: 0.8; stroke: rgba(20,32,26,0.7); }
.fieldmap .ln.dash { stroke-dasharray: 3 3; stroke: rgba(20,32,26,0.7); stroke-width: 0.9; }
.fieldmap .ln.road { stroke-width: 4; stroke: rgba(20,32,26,0.14); }
.fieldmap .fill-wood { fill: rgba(43,84,57,0.18); }
.fieldmap .fill-turf { fill: rgba(43,84,57,0.10); }
.fieldmap .fill-bldg { fill: rgba(20,32,26,0.55); }
.fieldmap .bunker { fill: rgba(20,32,26,0.28); stroke: var(--ink); stroke-width: 0.7; }
.fieldmap .grid { stroke: rgba(20,32,26,0.12); stroke-width: 0.6; }
.fieldmap .obj { cursor: pointer; }
.fieldmap .obj .ring { fill: var(--paper); stroke: var(--brass); stroke-width: 2; }
.fieldmap .obj .ring2 { fill: none; stroke: var(--brass); stroke-width: 1; opacity: 0; transform-box: fill-box; transform-origin: center; }
.fieldmap .obj .num { font-size: 9px; font-weight: 500; fill: var(--ink); text-anchor: middle; dominant-baseline: central; letter-spacing: 0; }
.fieldmap .obj .tag { font-size: 8px; fill: var(--ink); letter-spacing: 0.08em; font-weight: 500; }
.fieldmap .obj.is-hot .ring { fill: var(--brass-2); }
.fieldmap .obj.is-hot .ring2 { opacity: 1; }
.fieldmap .obj.is-hot .tag { fill: var(--brand); }
.map-legend { list-style: none; border-top: 1px solid rgba(20,32,26,0.22); }
.map-legend li { border-bottom: 1px solid rgba(20,32,26,0.12); }
.map-legend li:last-child { border-bottom: 0; }
.map-legend a { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 12px; padding: 10px 22px; font-size: 14px; color: var(--ink); transition: background-color .15s; }
.map-legend a:hover, .map-legend a.is-hot { background: rgba(181,138,60,0.22); }
.map-legend .k { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--brass); font-family: var(--mono); font-size: 10px; display: grid; place-items: center; font-weight: 500; }
.map-legend .is-hot .k, .map-legend a:hover .k { background: var(--brass-2); }
@media (max-width: 480px) { .map-legend .mono { display: none; } .map-legend a { grid-template-columns: 28px 1fr; } }
.map-legend .what { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.map-legend b { font-weight: 500; }
@media (prefers-reduced-motion: no-preference) {
  .fieldmap.draw .ln { stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: draw 2.2s cubic-bezier(.4,0,.2,1) forwards; }
  .fieldmap.draw .fill-wood, .fieldmap.draw .fill-turf, .fieldmap.draw .fill-bldg, .fieldmap.draw .bunker { opacity: 0; animation: fadein .8s ease .9s forwards; }
  .fieldmap.draw .obj { opacity: 0; transform-box: fill-box; transform-origin: center; animation: pop .5s cubic-bezier(.2,.9,.3,1.4) forwards; }
  .fieldmap.draw .obj:nth-of-type(1) { animation-delay: 1.4s; }
  .fieldmap.draw .obj:nth-of-type(2) { animation-delay: 1.55s; }
  .fieldmap.draw .obj:nth-of-type(3) { animation-delay: 1.7s; }
  .fieldmap.draw .obj:nth-of-type(4) { animation-delay: 1.85s; }
  .fieldmap.draw .obj:nth-of-type(5) { animation-delay: 2.0s; }
  .fieldmap.draw .obj:nth-of-type(6) { animation-delay: 2.15s; }
  .fieldmap .obj.is-hot .ring2 { animation: ping 1.4s ease-out infinite; }
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
  .reveal.in { opacity: 1; transform: none; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
@keyframes ping { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }

/* ---------- Order paragraphs (homepage) ---------- */
.para-head { display: grid; grid-template-columns: auto 1fr; gap: 20px 28px; align-items: baseline; margin-bottom: clamp(28px, 4vw, 48px); }
.para-head .num { font-family: var(--display); font-weight: 800; font-style: italic; font-size: clamp(64px, 9vw, 128px); line-height: .8; color: var(--brand); }
.patch .para-head .num { color: var(--brass-2); }
.para-head .num small { font-size: .42em; vertical-align: top; letter-spacing: 0; }
.para-head .title { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.para-head .title .star { color: var(--brass); font-size: 13px; }
.para-head h2 { margin-top: 10px; }
.para-head.center { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.para-head.center h2 { max-width: 22ch; margin-inline: auto; }

/* Annex cards */
.annexes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .annexes { grid-template-columns: 1fr; } }
.annex { border: 1px solid var(--line); border-top: 3px solid var(--brass-2); border-radius: 2px; padding: 28px 26px 26px; display: flex; flex-direction: column; gap: 14px; background: var(--card); transition: border-color .2s, transform .2s; }
.annex:hover { border-color: var(--brass-2); transform: translateY(-2px); }
.annex .desig { margin-bottom: 4px; }
.annex h3 { font-size: clamp(26px, 2.4vw, 32px); }
.annex p { color: var(--muted); font-size: 15.5px; flex: 1; }
.annex .textlink { align-self: flex-start; }
.stamp { display: inline-block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--signal); border: 1.5px solid var(--signal); padding: 4px 8px; border-radius: 2px; transform: rotate(-3deg); margin-left: 8px; vertical-align: middle; }
.patch .stamp { color: var(--brass-2); border-color: var(--brass-2); }

/* Table of equipment */
.toe { list-style: none; border-top: 1px solid var(--line-2); }
.toe li { display: grid; grid-template-columns: 110px minmax(0, 260px) 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: start; }
.toe .code { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--brand); padding-top: 6px; }
.toe h3 { font-family: var(--display); font-weight: 700; font-style: italic; text-transform: uppercase; font-size: 28px; line-height: 1; }
.toe h3 a:hover { color: var(--brand); }
.toe p { color: var(--muted); font-size: 16px; max-width: 58ch; }
@media (max-width: 760px) { .toe li { grid-template-columns: 1fr; gap: 8px; } .toe .code { padding-top: 0; } }

/* Personnel file cards (founders) */
.command { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 860px) { .command { grid-template-columns: 1fr; } }
.filecard { background: var(--paper); color: var(--ink); border: 1px solid rgba(20,32,26,0.25); border-radius: 2px; box-shadow: 0 18px 40px -24px rgba(20,32,26,0.45); overflow: hidden; }
.fc-head { display: flex; align-items: center; gap: 10px; padding: 10px 18px; background: var(--brand); color: var(--bone); font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; }
.fc-head .star { color: var(--brass-2); font-size: 14px; }
.fc-head .no { margin-left: auto; color: var(--brass-2); }
.fc-body { padding: 22px 22px 24px; display: grid; grid-template-columns: 132px 1fr; gap: 18px 20px; }
@media (max-width: 480px) { .fc-body { grid-template-columns: 1fr; } }
.fc-photo { aspect-ratio: 4 / 5; border: 1px solid rgba(20,32,26,0.4); background: repeating-linear-gradient(45deg, rgba(20,32,26,0.06) 0 4px, transparent 4px 10px); display: grid; place-items: center; font-family: var(--mono); font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
.fc-photo { overflow: hidden; }
.fc-photo img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.05) sepia(.08); }
@media (max-width: 480px) { .fc-photo { width: 160px; } }
.fc-fields { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-content: start; font-size: 14px; }
.fc-fields dt { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); padding-top: 3px; }
.fc-fields dd { color: var(--ink); font-weight: 500; border-bottom: 1px solid rgba(20,32,26,0.18); padding-bottom: 4px; }
.fc-fields dd.name { font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 24px; line-height: 1; }
.fc-bio { grid-column: 1 / -1; font-size: 15px; color: var(--ink-soft); line-height: 1.6; border-top: 1px solid rgba(20,32,26,0.22); padding-top: 16px; }

/* Figure slot */
.figure { border: 1px solid var(--line-2); border-radius: 2px; background: var(--card); aspect-ratio: 16 / 10; display: grid; place-items: center; position: relative; overflow: hidden; }
.figure::before { content: ""; position: absolute; inset: 12px; border: 1px dashed var(--line); border-radius: 2px; }
.figure .cap { position: absolute; left: 20px; bottom: 16px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.figure .cap b { color: var(--brand); font-weight: 500; }
.figure .ph { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }

/* Screenshot figure: browser frame */
.shot { margin: 0; align-self: center; }
.shot .bar { display: flex; gap: 6px; align-items: center; padding: 9px 12px; background: var(--ink, #14201A); border: 1px solid var(--line-2); border-bottom: 0; border-radius: 6px 6px 0 0; }
.shot .bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(242,238,227,0.28); }
.shot img { display: block; width: 100%; height: auto; border: 1px solid var(--line-2); border-top: 0; border-radius: 0 0 6px 6px; box-shadow: 0 18px 40px -22px rgba(20,32,26,0.45); }
/* Tall screenshot scrolling inside the browser frame (report is 1150x1217; window shows 1150x640) */
.scroll-screen { container-type: inline-size; aspect-ratio: 1150 / 640; overflow: hidden; background: #0A0D14; border: 1px solid var(--line-2); border-top: 0; border-radius: 0 0 6px 6px; box-shadow: 0 18px 40px -22px rgba(20,32,26,0.45); }
.shot .scroll-screen img { border: 0; border-radius: 0; box-shadow: none; }
@media (prefers-reduced-motion: no-preference) {
  .scroll-screen img { animation: report-scroll 18s ease-in-out 1s infinite; }
}
@keyframes report-scroll {
  0%, 12% { transform: none; }
  50%, 70% { transform: translateY(calc(-100% + 55.65cqw)); }
  100% { transform: none; }
}
.shot .cap { display: block; margin-top: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.shot .cap b { color: var(--brand); font-weight: 500; }

/* Inner page chapters */
.chapters { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chapters a { display: inline-block; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 2px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.chapters a:hover { color: var(--text); border-color: var(--text); }
.chapter { padding-block: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--nav-h) + 16px); }
.chapter .cols.two { align-items: center; }
.chapter:nth-of-type(even) .cols.two > :first-child { order: 2; }
@media (max-width: 860px) { .chapter:nth-of-type(even) .cols.two > :first-child { order: 0; } }
.chapter h2 { font-size: clamp(36px, 4.4vw, 60px); }
.chapter .prose { margin-top: 22px; }

/* Reports */
.reports { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .reports { grid-template-columns: 1fr; } }
.report { border: 1px solid var(--line); border-radius: 2px; padding: 26px 24px; background: var(--card); }
.report .top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.report .top .mono { color: var(--brand); }
.report h3 { font-size: 28px; }
.report p { color: var(--muted); font-size: 15.5px; margin-top: 8px; }

/* Resource card */
.resource { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; border: 1px solid var(--line); border-radius: 2px; padding: 30px 28px; background: var(--card); transition: border-color .2s; }
.resource:hover { border-color: var(--brass-2); }
@media (max-width: 700px) { .resource { grid-template-columns: 1fr; } }
.resource h3 { font-size: 30px; margin-top: 8px; }
.resource p { color: var(--muted); font-size: 15.5px; margin-top: 10px; max-width: 60ch; }
.resource .meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
/* Field debriefs: interview cards with click-to-load YouTube */
.sec-head h2 { margin-top: 14px; }
.sec-head h2 .lo { display: block; }
.sec-head .lede { margin-top: 20px; }
.debriefs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
@media (max-width: 760px) { .debriefs { grid-template-columns: 1fr; } }
.debrief { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 2px; background: var(--card); overflow: hidden; }
.yt { position: relative; aspect-ratio: 16 / 9; background: var(--ink); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-thumb { display: block; position: absolute; inset: 0; }
.yt-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: filter .2s; }
.yt-play { position: absolute; left: 14px; bottom: 14px; width: 52px; height: 52px; border-radius: 50%; background: var(--brass-2); box-shadow: 0 10px 24px -8px rgba(20,32,26,0.7); transition: transform .2s; }
.yt-play::after { content: ""; position: absolute; left: 20px; top: 16px; border: 10px solid transparent; border-right: 0; border-left: 15px solid var(--ink); }
.yt-thumb:hover .yt-play, .yt-thumb:focus-visible .yt-play { transform: scale(1.08); }
.yt-thumb:hover img { filter: brightness(.9); }
.yt-time { position: absolute; right: 10px; bottom: 10px; padding: 3px 7px; background: rgba(20,32,26,0.85); color: var(--bone); font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; border-radius: 2px; }
.db-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 24px 24px 26px; }
.db-body .top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.db-body .top .mono { color: var(--brand); }
.db-body h3 { font-size: 28px; }
.db-role { font-size: 14.5px; color: var(--muted); margin-top: -4px; }
.db-points { list-style: none; display: grid; gap: 8px; margin: 6px 0 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.db-points li { position: relative; padding-left: 18px; font-size: 15.5px; line-height: 1.5; color: var(--text); }
.db-points li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 2px; background: var(--brass); }
.db-body .textlink { align-self: flex-start; margin-top: auto; }

.pill { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-2); padding: 4px 8px; border-radius: 2px; }

/* Prompt page */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.step { border: 1px solid var(--line); border-radius: 2px; padding: 24px 22px; background: var(--card); }
.step .mono { color: var(--brand) !important; }
.step h3 { font-size: 24px; margin-top: 10px; }
.step p { color: var(--muted); font-size: 15px; margin-top: 8px; }
.promptbox .sheet-head { position: sticky; top: var(--nav-h); background: var(--paper); z-index: 2; border-radius: 2px 2px 0 0; }
.promptbox pre { font-family: var(--mono); font-size: 13.5px; line-height: 1.6; white-space: pre-wrap; word-wrap: break-word; color: var(--ink); padding: clamp(22px, 3vw, 36px); max-height: 640px; overflow: auto; tab-size: 2; }
.copy-btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--ink); border-radius: 2px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); transition: background-color .15s, color .15s; }
.copy-btn:hover, .copy-btn.done { background: var(--ink); color: var(--paper); }
.tips { list-style: none; display: grid; gap: 12px; }
.tips li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--muted); font-size: 15.5px; align-items: start; }
.tips li .star { color: var(--brass); font-size: 14px; margin-top: 4px; }
blockquote.followup { border-left: 2px solid var(--brass); padding: 4px 0 4px 20px; color: var(--text); font-size: 16px; max-width: 70ch; }

/* Embeds */
.embed { background: #fff; border-radius: 2px; overflow: hidden; }
.embed iframe { display: block; width: 100%; border: 0; }
.policy_embed_div { width: 100% !important; height: auto !important; font-family: var(--body); color: var(--ink); }
.policy_embed_div h1, .policy_embed_div h2, .policy_embed_div h3 { font-family: var(--display); font-style: italic; text-transform: uppercase; line-height: 1; margin: 1.4em 0 .5em; }
.policy_embed_div p, .policy_embed_div li { color: var(--ink-soft); margin-bottom: .8em; }
.policy_embed_div a { color: var(--brand); text-decoration: underline; }

/* Contact facts */
.facts { list-style: none; display: grid; gap: 18px; margin-top: 32px; }
.facts li { display: grid; gap: 4px; }
.facts .mono { color: var(--brand); }
.facts a:hover { color: var(--brand); }

/* Deploy: closing patch with the splat */
.deploy { padding-block: clamp(80px, 10vw, 140px); }
.deploy .wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (max-width: 860px) { .deploy .wrap { grid-template-columns: 1fr; } }
.deploy .splat { width: min(100%, 340px); color: var(--bone); }
.deploy h2 { font-size: clamp(44px, 6.4vw, 92px); }
.deploy .lede { margin-top: 20px; }
.deploy.solo .wrap { grid-template-columns: 1fr; text-align: center; }
.deploy.solo .lede, .deploy.solo .desig { margin-inline: auto; justify-content: center; }
.deploy.solo .actions { justify-content: center; }

/* Footer */
.footer { padding-block: 48px 40px; border-top: 1px solid var(--line); }
.footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .footer .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer .wrap { grid-template-columns: 1fr; } }
.footer .brand .wordmark { width: 170px; }
.footer .tag { margin-top: 16px; color: var(--muted); font-size: 14.5px; max-width: 30ch; }
.footer h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer li a { color: var(--muted); font-size: 15px; }
.footer li a:hover { color: var(--bone); }
.footer .bottom { grid-column: 1 / -1; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }

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

/* ---------- Booking sheet (Situation) ---------- */
.seg { display: inline-flex; border: 1px solid var(--ink); border-radius: 2px; overflow: hidden; }
.seg-btn { padding: 7px 12px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); transition: background-color .15s, color .15s; }
.seg-btn + .seg-btn { border-left: 1px solid var(--ink); }
.seg-btn.is-on { background: var(--brand); color: var(--bone); }
.board-body { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.board { width: 100%; min-width: 540px; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.board th { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); font-weight: 500; text-align: left; padding: 10px 8px; }
.board thead th { border-bottom: 1px solid rgba(20,32,26,0.35); text-align: center; }
.board thead th:first-child { width: 84px; }
.board tbody th { border-bottom: 1px solid rgba(20,32,26,0.14); padding-left: 14px; padding-right: 4px; font-size: 9.5px; overflow: hidden; }
.board tbody tr:last-child th, .board tbody tr:last-child td { border-bottom: 0; }
.slot { height: 60px; padding: 3px; border-bottom: 1px solid rgba(20,32,26,0.14); border-left: 1px solid rgba(20,32,26,0.14); vertical-align: top; }
.slot > span { display: flex; flex-direction: column; justify-content: center; height: 100%; border-radius: 2px; padding: 4px 6px; font-size: 11px; line-height: 1.2; overflow: hidden; }
.slot .open { border: 1px dashed rgba(20,32,26,0.35); color: rgba(20,32,26,0.45); font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; align-items: center; }
.slot .booked { background: rgba(43,84,57,0.16); border-left: 2px solid var(--brand); color: var(--ink); font-weight: 500; }
.slot .booked small { display: block; font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); font-weight: 500; margin-top: 3px; }
.slot .missed { border: 1px dashed var(--signal); color: var(--signal); font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; align-items: center; text-align: center; }
.board-foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 12px 22px 14px; border-top: 1px solid rgba(20,32,26,0.22); font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.board-foot b { color: var(--ink); font-weight: 500; }
@media (prefers-reduced-motion: no-preference) { .slot > span.pop { animation: slotpop .35s cubic-bezier(.2,.8,.3,1.2) both; } }
@keyframes slotpop { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }

/* ---------- Area of operations (Marketing) ---------- */
.ao-wrap.cols.two { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
.ao-list { display: grid; gap: 8px; }
.ao-item { display: block; padding: 22px 22px 20px; border: 1px solid var(--line); border-left: 3px solid transparent; border-radius: 2px; background: var(--card); transition: border-color .2s, background-color .2s; }
.ao-item:hover, .ao-item.is-hot { border-color: var(--line-2); border-left-color: var(--brass-2); }
.ao-item .desig { margin-bottom: 10px; }
.ao-item h3 { font-size: 26px; }
.ao-item p { color: var(--muted); font-size: 15px; margin-top: 8px; }
.ao-sheet .sheet-head [data-ao-label] { color: var(--brand); }
.aomap { width: 100%; height: auto; display: block; }
.aomap text { font-family: var(--mono); }
.aomap .lbl { font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; fill: var(--ink-soft); }
.aomap .lbl.big { font-size: 10.5px; fill: var(--ink); font-weight: 500; }
.aomap .ring { fill: none; stroke: rgba(20,32,26,0.35); stroke-width: 0.9; stroke-dasharray: 3 4; }
.aomap .ln.road { fill: none; stroke: rgba(20,32,26,0.14); stroke-width: 4; }
.aomap .town rect { fill: rgba(20,32,26,0.45); }
.aomap .dot { fill: rgba(20,32,26,0.22); stroke: none; transform-box: fill-box; transform-origin: center; transition: fill .3s, transform .3s, stroke .3s; }
.aomap .route { fill: none; stroke: var(--brass); stroke-width: 1.2; stroke-dasharray: 4 4; opacity: 0; transition: opacity .3s; }
.aomap .call { opacity: 0; transition: opacity .3s; }
.aomap .call line { stroke: var(--ink); stroke-width: 0.8; }
.aomap .call text { font-size: 9.5px; fill: var(--ink); font-weight: 500; }
.aomap .field .star { fill: var(--brass-2); stroke: var(--ink); stroke-width: 1; width: auto; height: auto; }
.aomap.on-search .g-search, .aomap.on-social .g-social, .aomap.on-past .g-past { fill: var(--brass-2); stroke: var(--ink); stroke-width: 1; transform: scale(1.7); }
.aomap.on-web .dot { fill: rgba(20,32,26,0.38); }
.aomap.on-web .route { opacity: 1; }
.aomap.on-search .call-search, .aomap.on-social .call-social, .aomap.on-past .call-past, .aomap.on-web .call-web { opacity: 1; }
.ao-key { display: flex; gap: 20px; flex-wrap: wrap; padding: 12px 22px 14px; border-top: 1px solid rgba(20,32,26,0.22); font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.ao-key span { display: inline-flex; align-items: center; gap: 8px; }
.k-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(20,32,26,0.22); }
.k-dot.on { background: var(--brass-2); box-shadow: 0 0 0 1px var(--ink); }
@media (max-width: 860px) { .ao-wrap.cols.two { grid-template-columns: 1fr; } .ao-sheet { order: -1; position: static; } }
@media (prefers-reduced-motion: no-preference) { .aomap.on-web .route { stroke-dashoffset: 40; animation: march 1.6s linear infinite; } }
@keyframes march { to { stroke-dashoffset: 0; } }

/* Drawn sample campaign (email + SMS) */
.mock { container-type: inline-size; position: relative; aspect-ratio: 16 / 11; border: 1px solid var(--line-2); border-radius: 6px; background: var(--ground-2) radial-gradient(rgba(20,32,26,0.10) 1px, transparent 1.4px) 0 0 / 14px 14px; overflow: hidden; }
.mock-email { position: absolute; left: 5%; top: 7%; width: 62%; background: var(--card); border: 1px solid var(--line-2); border-radius: 4px; box-shadow: 0 14px 30px -18px rgba(20,32,26,0.5); font-size: 2.3cqw; color: var(--ink); overflow: hidden; }
.me-meta { display: grid; gap: 0.3em; padding: 0.9em 1.1em; border-bottom: 1px solid var(--line); font-size: 0.82em; color: var(--ink-soft); }
.me-meta b { font-family: var(--mono); font-weight: 500; font-size: 0.85em; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-right: 0.6em; }
.me-band { display: flex; justify-content: space-between; align-items: baseline; gap: 1em; padding: 1.1em 16% 1.1em 1.1em; background: var(--brand); color: var(--bone); }
.me-logo { font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 1.5em; line-height: 1; }
.me-tag { font-family: var(--mono); font-size: 0.72em; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-2); }
.me-body { padding: 1.1em 16% 1.4em 1.1em; }
.me-body p { margin: 0 0 0.9em; line-height: 1.45; color: var(--ink-soft); }
.me-body .me-h { font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 2em; line-height: 1; color: var(--ink); margin-bottom: 0.4em; }
.me-btn { display: inline-block; padding: 0.6em 1.1em; background: var(--brass); color: var(--ink); font-family: var(--display); font-weight: 700; font-style: italic; text-transform: uppercase; letter-spacing: 0.04em; border-radius: 2px; }
.mock-phone { position: absolute; right: 6%; top: 12%; width: 34%; height: 100%; background: var(--ink); border-radius: 1.2em 1.2em 0 0; padding: 0.7em 0.7em 0; font-size: 2.1cqw; box-shadow: 0 18px 40px -16px rgba(20,32,26,0.6); }
.mp-top { display: flex; align-items: center; gap: 0.5em; padding: 0.7em 0.6em; background: var(--card); border-radius: 0.8em 0.8em 0 0; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink); font-size: 0.95em; }
.mp-av { display: grid; place-items: center; width: 2em; height: 2em; border-radius: 50%; background: var(--brand); color: var(--bone); font-family: var(--mono); font-size: 0.75em; }
.mp-thread { display: flex; flex-direction: column; gap: 0.5em; height: 100%; padding: 0.8em 0.6em; background: var(--card); }
.mp-auto { align-self: center; font-family: var(--mono); font-size: 0.68em; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-top: 0.3em; }
.mp-msg { margin: 0; max-width: 88%; padding: 0.55em 0.8em; background: var(--ground-2); border-radius: 0.9em 0.9em 0.9em 0.2em; line-height: 1.35; color: var(--ink); }
.mp-msg.me { align-self: flex-end; background: var(--brand); color: var(--bone); border-radius: 0.9em 0.9em 0.2em 0.9em; }

/* Waiver flow: real mobile screenshot scrolling in a phone, beside the steps */
.mw-steps { position: absolute; left: 6%; top: 50%; transform: translateY(-50%); width: 44%; margin: 0; padding: 0; list-style: none; display: grid; gap: 1.1em; font-size: 2.2cqw; counter-reset: mw; }
.mw-steps li { position: relative; display: grid; gap: 0.25em; padding-left: 2.6em; counter-increment: mw; }
.mw-steps li::before { content: counter(mw, decimal-leading-zero); position: absolute; left: 0; top: 0.1em; width: 1.9em; height: 1.9em; display: grid; place-items: center; border: 1px solid var(--brass); border-radius: 50%; font-family: var(--mono); font-size: 0.72em; color: var(--ink); background: var(--card); }
.mw-steps li:not(:last-child)::after { content: ""; position: absolute; left: 0.68em; top: 1.6em; bottom: -1.1em; border-left: 1px dashed var(--line-2); }
.mw-steps b { font-family: var(--display); font-weight: 700; font-style: italic; text-transform: uppercase; font-size: 1.2em; line-height: 1; color: var(--ink); }
.mw-steps span { font-size: 0.85em; line-height: 1.35; color: var(--ink-soft); }
.mw-steps li.now::before { background: var(--brand); border-color: var(--brand); color: var(--bone); }
.mw-phone { position: absolute; right: 7%; bottom: 0; width: 38%; padding: 0.6em 0.6em 0; font-size: 2.1cqw; background: var(--ink); border-radius: 1.2em 1.2em 0 0; box-shadow: 0 18px 40px -16px rgba(20,32,26,0.6); }
.mw-screen { height: 61cqw; overflow: hidden; border-radius: 0.8em 0.8em 0 0; background: #0E0F12; }
.mw-screen img { display: block; width: 100%; height: auto; }
@media (prefers-reduced-motion: no-preference) {
  .mw-screen img { animation: mw-scroll 16s ease-in-out 1s infinite; }
}
@keyframes mw-scroll {
  0%, 12% { transform: none; }
  50%, 70% { transform: translateY(calc(-100% + 61cqw)); }
  100% { transform: none; }
}

/* Check-in kiosk: real screenshot on a tablet */
.mk-tablet { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64%; padding: 2.4cqw; background: var(--ink); border-radius: 3cqw; box-shadow: 0 18px 40px -16px rgba(20,32,26,0.6); }
.mk-tablet::before { content: ""; position: absolute; left: 50%; top: 0.9cqw; width: 0.7cqw; height: 0.7cqw; margin-left: -0.35cqw; border-radius: 50%; background: rgba(242,238,227,0.18); }
.mk-tablet img { display: block; width: 100%; height: auto; border-radius: 0.8cqw; }

/* Payment setup: real processor picker + where the money goes */
.mpay-shot { position: absolute; left: 6%; top: 7%; width: 88%; padding: 1.6cqw; background: #171922; border-radius: 1.2cqw; box-shadow: 0 18px 40px -18px rgba(20,32,26,0.6); }
.mpay-shot img { display: block; width: 100%; height: auto; }
.mpay-flow { position: absolute; left: 6%; right: 6%; top: 60%; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 1.4cqw; font-size: 2.1cqw; }
.mpay-node { display: grid; gap: 0.3em; padding: 0.9em 1em; background: var(--card); border: 1px solid var(--line-2); border-radius: 4px; }
.mpay-node b { font-family: var(--display); font-weight: 700; font-style: italic; text-transform: uppercase; font-size: 1.15em; line-height: 1; color: var(--ink); }
.mpay-node span { font-size: 0.82em; line-height: 1.3; color: var(--ink-soft); }
.mpay-node.you { background: var(--brand); border-color: var(--brand); }
.mpay-node.you b { color: var(--bone); }
.mpay-node.you span { color: rgba(242,238,227,0.78); }
.mpay-arrow { position: relative; width: 3cqw; height: 1px; background: var(--ink-soft); }
.mpay-arrow::after { content: ""; position: absolute; right: -1px; top: -0.45cqw; border: 0.45cqw solid transparent; border-right: 0; border-left: 0.7cqw solid var(--ink-soft); }
.mpay-note { position: absolute; left: 6%; right: 6%; top: 85%; margin: 0; text-align: center; font-family: var(--mono); font-size: 1.6cqw; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.mpay-note b { color: var(--brand); font-weight: 500; }

/* Drawn ad dashboards (real numbers) + example ad cards */
.ad-dash { position: absolute; left: 5%; top: 7%; width: 66%; background: var(--card); border: 1px solid var(--line-2); border-radius: 4px; box-shadow: 0 14px 30px -18px rgba(20,32,26,0.5); font-size: 2.2cqw; color: var(--ink); overflow: hidden; }
.ad-head { display: flex; justify-content: space-between; align-items: center; padding: 0.9em 1.1em; border-bottom: 1px solid var(--line); }
.ad-label, .ad-k, .ad-key { font-family: var(--mono); font-size: 0.72em; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.ad-legend { display: flex; gap: 1em; }
.ad-key::before { content: ""; display: inline-block; width: 0.8em; height: 0.8em; margin-right: 0.45em; vertical-align: -0.05em; border-radius: 1px; background: var(--brand); }
.ad-key.bing::before { background: var(--brass); }
.ad-stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 1.8em; padding: 1em 1.1em 0.4em; }
.ad-stats div { display: grid; gap: 0.2em; }
.ad-v { font-family: var(--display); font-weight: 800; font-style: italic; font-size: 2.6em; line-height: 1; color: var(--ink); }
.ad-stats div:last-child .ad-v { color: var(--brand); }
.ad-chart { display: block; width: 100%; height: 17cqw; margin-top: 0.8em; }
.ad-chart .grid line { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.ad-chart .line { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; }
.ad-chart .line.google { stroke: var(--brand); }
.ad-chart .area.google { fill: var(--brand); opacity: 0.22; }
.ad-chart .line.bing { stroke: var(--brass); }
.ad-chart .area.bing { fill: var(--brass); opacity: 0.28; }
.ad-card { position: absolute; background: var(--card); border: 1px solid var(--line-2); border-radius: 6px; box-shadow: 0 18px 40px -16px rgba(20,32,26,0.55); color: var(--ink); font-size: 2.1cqw; }
.ad-card.serp { right: 4%; bottom: 5%; width: 40%; padding: 1em 1.1em 1.1em; }
.serp-q { padding: 0.55em 1em; margin-bottom: 0.9em; border: 1px solid var(--line-2); border-radius: 2em; color: var(--ink-soft); font-size: 0.92em; }
.serp-q::before { content: ""; display: inline-block; width: 0.7em; height: 0.7em; margin-right: 0.6em; border: 0.14em solid var(--faint); border-radius: 50%; vertical-align: -0.05em; }
.serp-sp { font-size: 0.8em; color: var(--ink-soft); }
.serp-sp::first-word { font-weight: 700; }
.serp-t { margin: 0.25em 0 0.35em; font-weight: 600; font-size: 1.1em; line-height: 1.25; color: var(--brand); }
.serp-d { margin: 0; font-size: 0.88em; line-height: 1.4; color: var(--ink-soft); }
.ad-card.post { left: 5%; top: 7%; width: 30%; overflow: hidden; }
.post-top { display: flex; align-items: center; gap: 0.5em; padding: 0.7em 0.8em 0.4em; font-size: 0.92em; line-height: 1.2; }
.post-top small { color: var(--faint); font-size: 0.85em; }
.post-copy { margin: 0; padding: 0 0.8em 0.6em; font-size: 0.9em; line-height: 1.35; color: var(--ink-soft); }
.post-img { aspect-ratio: 1 / 0.8; overflow: hidden; background: var(--brand); }
.post-img img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.05); }
.post-cta { display: flex; justify-content: space-between; align-items: center; gap: 0.6em; padding: 0.6em 0.8em; background: var(--ground-2); font-size: 0.85em; font-weight: 600; }
.post-btn { flex: none; padding: 0.4em 0.8em; background: var(--brand); color: var(--bone); border-radius: 3px; font-size: 0.9em; }
.ads-search .ad-dash { top: 6%; width: 68%; }
.ads-meta .ad-dash { left: auto; right: 4%; top: auto; bottom: 8%; width: 59%; z-index: 1; }

/* Marketing: the full picture (one system) */
.system .cols.two { align-items: end; margin-bottom: clamp(32px, 4vw, 48px); }
.system h2 { font-size: clamp(40px, 5vw, 68px); }
.sys-phases { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); }
.sys-phase { position: relative; display: flex; flex-direction: column; gap: 10px; padding: clamp(24px, 3vw, 36px); border-right: 1px solid rgba(20,32,26,0.22); }
.sys-phase:last-child { border-right: 0; }
.sys-phase:not(:last-child)::after { content: ""; position: absolute; z-index: 1; right: -13px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%; background: var(--brass-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314201A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center / 16px no-repeat; box-shadow: 0 0 0 4px var(--paper); }
.sys-num { font-family: var(--display); font-weight: 800; font-style: italic; font-size: clamp(48px, 5vw, 72px); line-height: .8; color: var(--brand); }
.sys-phase h3 { font-size: clamp(30px, 3vw, 40px); }
.sys-phase p { color: var(--ink-soft); font-size: 15.5px; max-width: 32ch; flex: 1; }
.sys-units { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.sys-units a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 8px; background: var(--card); border: 1px solid rgba(20,32,26,0.22); border-radius: 2px; font-family: var(--display); font-weight: 700; font-style: italic; font-size: 17px; text-transform: uppercase; letter-spacing: 0.02em; color: var(--ink); transition: border-color .15s, background-color .15s; }
.sys-units a span { font-family: var(--mono); font-style: normal; font-weight: 500; font-size: 10.5px; letter-spacing: 0.1em; color: var(--bone); background: var(--brand); padding: 3px 6px; border-radius: 2px; }
.sys-units a:hover { border-color: var(--brand); background: #fff; }
.sys-loop { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border-top: 1px dashed rgba(20,32,26,0.35); font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); text-align: center; }
.sys-loop .star { width: 16px; height: 16px; flex: none; fill: var(--brand); }
@media (max-width: 800px) {
  .sys-phases { grid-template-columns: 1fr; }
  .sys-phase { border-right: 0; border-bottom: 1px solid rgba(20,32,26,0.22); }
  .sys-phase:last-child { border-bottom: 0; }
  .sys-phase:not(:last-child)::after { right: auto; top: auto; left: 50%; bottom: -13px; margin: 0 0 0 -12px; transform: rotate(90deg); }
}

/* Get started: open slots */
.slots-open { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 26px; padding: 12px 16px; border: 1px solid var(--line-2); border-left: 3px solid var(--brass-2); border-radius: 2px; background: var(--card); }
.slots-marks { display: inline-flex; gap: 6px; color: var(--brand); font-size: 22px; }
.slots-open .mono { color: var(--muted); }
.slots-open .mono b { color: var(--text); font-weight: 500; }
