/* fiveways.ai site styles. Brand source: brand/DESIGN.md v2 (premium round, 6 October 2026). */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("/assets/fonts/CormorantGaramond-Variable.woff2") format("woff2");
  font-weight: 500 700;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/Manrope-Variable.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  /* core */
  --ink: #102631;          /* navy ink: text and rules */
  --black: #161616;        /* footer ground */
  --paper: #fbfaf6;
  --white: #ffffff;
  --panel: #f6f3ec;        /* ivory */
  --stone: #ddd6c9;
  --hair: #d6d0c4;
  --hair-strong: #8a8377;  /* 3:1+ on white, paper and ivory for field and chip borders */
  --muted: #5a6a72;
  --quiet: #627078;
  /* brand */
  --sky: #c2e1f1;
  --navy: #193b4d;
  --sky-deep: var(--navy);
  --action: var(--navy);
  --action-text: #f6f3ec;
  --action-hover: #102631;
  /* product status */
  --mint: #d3e8dc;
  --mint-deep: #1e5038;
  --butter: #f1e4b8;
  --butter-deep: #5a4a14;
  --blush: #f0d3d3;
  --blush-deep: #6a2a2e;
  --peri: #c7cff6;
  --peri-deep: #19224d;
  --done: #147a52;
  --error: #b42318;
  /* type */
  --serif: "Cormorant Garamond", Garamond, "Iowan Old Style", Georgia, serif;
  --font: "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;
  /* shape */
  --r-chip: 6px;
  --r-card: 6px;
  --r-input: 8px;
  --r-button: 10px;
  --r-panel: 10px;
  --gutter: clamp(16px, 4vw, 64px);
  --section: clamp(64px, 10vw, 144px);
  --max: 1280px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --header: 72px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 500 1rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 600; text-wrap: balance; }
h3 { font-family: var(--font); }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--peri-deep); outline-offset: 3px; border-radius: 4px; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--action); color: var(--action-text); padding: 12px 16px; border-radius: var(--r-input); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

.shell { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
.kicker { font: 700 0.8125rem/1.2 var(--font); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.display { font-family: var(--serif); font-weight: 600; font-size: clamp(3rem, 6.4vw, 5.75rem); line-height: 1; letter-spacing: -0.02em; }
.h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.5rem, 4.8vw, 3.875rem); line-height: 1.05; letter-spacing: -0.015em; }
.h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 3.4vw, 2.75rem); line-height: 1.1; letter-spacing: -0.01em; }
.h3 { font-family: var(--font); font-size: 1.25rem; line-height: 1.3; letter-spacing: -0.005em; font-weight: 600; }
.lead { font-size: 1.1875rem; line-height: 1.55; color: var(--muted); max-width: 52ch; }
.small { font-size: 0.875rem; line-height: 1.5; color: var(--quiet); }
.tabular { font-variant-numeric: tabular-nums; }

/* ---------- buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: var(--r-button); border: 0;
  background: var(--action); color: var(--action-text);
  font: 600 15px/1 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 150ms var(--ease);
}
.btn:hover { background: var(--action-hover); }
.btn[disabled] { opacity: 0.55; cursor: progress; }
.btn-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px currentColor; }
.btn-ghost:hover { background: color-mix(in srgb, currentColor 8%, transparent); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }
.link { font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.link:hover { text-decoration-thickness: 2px; }
.arrow::after { content: "→"; margin-left: 6px; display: inline-block; transition: transform 150ms var(--ease); }
a:hover .arrow::after, .arrow:hover::after { transform: translateX(3px); }

/* ---------- chips and dots ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 9px; border-radius: var(--r-chip); font: 700 11px/1 var(--font); letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.chip-done { background: var(--mint); color: var(--mint-deep); }
.chip-draft { background: var(--butter); color: var(--butter-deep); }
.chip-needs { background: var(--blush); color: var(--blush-deep); }
.chip-sel { background: var(--peri); color: var(--peri-deep); }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--navy); }
.num { font: 600 13px/1 var(--font); color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: 0.02em; flex: none; }

/* typing dots that settle into a status (signature element) */
.ty { display: inline-grid; align-items: center; justify-items: end; height: 30px; }
.ty > * { grid-area: 1 / 1; }
.ty .bubble { display: inline-flex; gap: 5px; padding: 10px 13px; border-radius: 15px 15px 15px 5px; background: color-mix(in srgb, currentColor 10%, transparent); transition: opacity 200ms var(--ease), transform 240ms var(--ease); }
.ty .bubble i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: ty 1.2s var(--ease) infinite; }
.ty .bubble i:nth-child(2) { animation-delay: 0.15s; }
.ty .bubble i:nth-child(3) { animation-delay: 0.3s; }
.ty .chip { opacity: 0; transform: scale(0.6); transition: opacity 200ms var(--ease), transform 280ms var(--ease); }
.ty.is-set .bubble { opacity: 0; transform: scale(0.6); }
.ty.is-set .bubble i { animation: none; }
.ty.is-set .chip { opacity: 1; transform: scale(1); }
@keyframes ty { 0%, 60%, 100% { transform: translateY(0); opacity: 0.35; } 30% { transform: translateY(-4px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .ty .bubble { display: none; }
  .ty .chip { opacity: 1; transform: none; transition: none; }
}

/* ---------- row lists ---------- */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.row { display: flex; align-items: center; gap: 16px; min-height: 58px; border-bottom: 1px solid var(--hair); white-space: nowrap; }
.row-name { font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.01em; overflow: hidden; text-overflow: ellipsis; }
.row-detail { color: var(--muted); overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.row-end { margin-left: auto; flex: none; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid transparent; transition: border-color 150ms var(--ease); }
.site-header.is-stuck { border-bottom-color: var(--hair); }
.nav { display: flex; align-items: center; gap: 32px; height: var(--header); }
.brand { display: inline-flex; flex: none; }
.brand img { height: 38px; width: auto; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { font-weight: 600; font-size: 15px; text-decoration: none; padding: 6px 0; border-bottom: 1.5px solid transparent; }
.nav-links a:hover, .nav-links a[aria-current="page"] { border-bottom-color: var(--navy); }
.nav-actions { display: flex; gap: 10px; }
.menu-button { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; background: transparent; border-radius: var(--r-button); cursor: pointer; position: relative; }
.menu-button span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 200ms var(--ease), top 200ms var(--ease); }
.menu-button span:first-child { top: 19px; }
.menu-button span:last-child { top: 27px; }
.menu-button[aria-expanded="true"] span:first-child { top: 23px; transform: rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { top: 23px; transform: rotate(-45deg); }
.mobile-menu { border-top: 1px solid var(--hair); padding: 8px var(--gutter) 24px; background: var(--paper); }
.mobile-menu a:not(.btn) { display: flex; align-items: center; height: 56px; border-bottom: 1px solid var(--hair); font-weight: 600; font-size: 17px; text-decoration: none; }
.mobile-menu .btn { width: 100%; margin-top: 20px; }

@media (max-width: 1040px) { .nav-actions .btn-ghost { display: none; } }
@media (max-width: 880px) {
  .nav-links, .nav-actions { display: none; }
  .menu-button { display: block; }
}

/* ---------- sections ---------- */
.section { padding: var(--section) 0; }
.section + .section { padding-top: 0; }
.section-head { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: end; margin-bottom: 48px; }
.section-head .lead { justify-self: end; }
.section-head > div { display: grid; gap: 16px; }
@media (max-width: 880px) {
  .section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 32px; }
  .section-head .lead { justify-self: start; }
}

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 7vw, 88px); }
.hero-grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 24px; justify-items: start; }
.hero-copy .display { font-size: clamp(2.75rem, 5.2vw, 4.5rem); max-width: 15ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 4px 0 0; padding: 0; font-weight: 600; font-size: 14px; }
.ticks li::before { content: "✓"; color: var(--done); margin-right: 8px; }

.plan { background: var(--sky); color: var(--navy); border-radius: var(--r-card); padding: clamp(24px, 3vw, 36px); position: relative; overflow: hidden; }
.plan-mark { position: absolute; right: -70px; top: -40px; width: 340px; opacity: 0.12; pointer-events: none; }
.plan .kicker { color: var(--sky-deep); }
.plan h2 { color: var(--ink); font-size: 1.875rem; letter-spacing: -0.01em; line-height: 1.15; margin: 8px 0 20px; position: relative; }
.plan-sheet { background: var(--white); border-radius: var(--r-card); border-top: 0; padding: 4px 18px; color: var(--ink); position: relative; }
.plan-sheet .row { min-height: 54px; }
.plan-sheet .row:last-child { border-bottom: 0; }
.plan-sheet .row-name { font-size: 0.9375rem; }
.plan .small { color: var(--sky-deep); margin-top: 14px; position: relative; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* services strip under the hero */
.svc-strip { list-style: none; margin: clamp(48px, 6vw, 80px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.svc-strip a { display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid var(--ink); text-decoration: none; height: 100%; }
.svc-strip b { display: flex; align-items: baseline; gap: 10px; font-family: var(--serif); font-weight: 600; font-size: 1.375rem; line-height: 1.15; letter-spacing: -0.005em; }
.svc-strip a > span { color: var(--muted); font-size: 14px; line-height: 1.5; }
.svc-strip a:hover b { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
@media (max-width: 1040px) { .svc-strip { grid-template-columns: repeat(3, 1fr); row-gap: 28px; } }
@media (max-width: 640px) { .svc-strip { grid-template-columns: 1fr 1fr; } }
@media (max-width: 400px) { .svc-strip { grid-template-columns: 1fr; } }

/* systems the work happens in (real app logos) */
.systems { border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); background: var(--white); padding: clamp(40px, 5vw, 64px) 0; }
.systems-grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.systems-copy { display: grid; gap: 14px; }
.systems-copy .small { max-width: 38ch; }
.systems-rows .row { display: grid; grid-template-columns: minmax(0, 14rem) 10.5rem minmax(0, 1fr); gap: 20px; min-height: 60px; }
.systems-rows .row-name { font-size: 0.9375rem; }
.systems-rows .row-detail { font-size: 14px; }
.logos { display: flex; gap: 12px; align-items: center; }
.logos img { width: 32px; height: 32px; object-fit: contain; }
@media (max-width: 960px) { .systems-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .systems-rows .row { grid-template-columns: minmax(0, 1fr) 10.5rem; }
  .systems-rows .row-detail { display: none; }
}
.works-with { display: grid; gap: 10px; margin-top: 8px; }
.works-with .kicker { color: var(--sky-deep); }
.sector-side .logos img { width: 36px; height: 36px; }
.sector-side .btn { margin-top: auto; }

/* ---------- services ---------- */
.services { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.services details { border-bottom: 1px solid var(--hair); }
.services summary { list-style: none; display: grid; grid-template-columns: 2rem minmax(0, 18rem) minmax(0, 1fr) 24px; gap: 20px; align-items: center; min-height: 64px; cursor: pointer; white-space: nowrap; }
.services summary::-webkit-details-marker { display: none; }
.services summary::after { content: "+"; color: var(--muted); font-size: 22px; font-weight: 500; text-align: right; }
.services details[open] summary::after { content: "–"; }
.services summary:hover .row-name { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.service-body { display: grid; grid-template-columns: 2rem minmax(0, 18rem) minmax(0, 1fr) 24px; gap: 20px; padding: 0 0 28px; }
.service-body > div { grid-column: 3; display: grid; gap: 14px; max-width: 62ch; padding: 24px 28px; border-radius: var(--r-card); background: var(--panel); color: var(--ink); border-left: 2px solid var(--navy); }
.svc-ai-employees .service-body > div { background: var(--sky); color: var(--navy); }
.service-body > div li { color: inherit; }
.service-body > div li::before { color: inherit; }
.services details[open] summary .num { color: var(--navy); }
.service-body ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.service-body li::before { content: "✓"; color: var(--navy); font-weight: 700; margin-right: 10px; }
@media (max-width: 720px) {
  .services summary { grid-template-columns: 2rem minmax(0, 1fr) 24px; }
  .services summary .row-detail { display: none; }
  .service-body { grid-template-columns: 2rem 1fr; }
  .service-body > div { grid-column: 2; }
}

/* ---------- the spread (sticky Sky label beside paper work) ---------- */
.spread { display: grid; grid-template-columns: 4fr 8fr; background: var(--paper); }
.spread-label { background: var(--sky); color: var(--navy); position: sticky; top: var(--header); height: calc(100vh - var(--header)); min-height: 560px; padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; gap: 20px; overflow: hidden; }
.spread-label .kicker { color: var(--sky-deep); }
.spread-label .label-title { color: var(--ink); font-family: var(--serif); font-size: clamp(2.75rem, 5vw, 5.25rem); line-height: 1; letter-spacing: -0.02em; font-weight: 600; }
.spread-label p { font-size: 1.0625rem; line-height: 1.5; max-width: 30ch; }
.spread-label .label-foot { margin-top: auto; display: grid; gap: 12px; justify-items: start; position: relative; z-index: 1; }
.spread-label .label-foot .small { color: var(--sky-deep); }
.label-mark { position: absolute; right: -16%; bottom: -14%; width: 88%; opacity: 0.13; pointer-events: none; }
.spread-work { padding: clamp(32px, 5vw, 72px) var(--gutter) clamp(48px, 6vw, 96px); min-width: 0; }

.week-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 20px; }
.tally { text-align: right; flex: none; }
.tally-num { font-size: clamp(3rem, 6vw, 4.5rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.tally-num span { font-size: 0.42em; color: var(--muted); margin-left: 6px; letter-spacing: 0; }
.week .row { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr) minmax(0, 13rem) 6.5rem; }
.week .t { font-size: 13px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.who { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); min-width: 0; overflow: hidden; }
.who img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; background: var(--sky); flex: none; }
.who span { overflow: hidden; text-overflow: ellipsis; }
.assumptions { margin-top: 20px; max-width: 70ch; }
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); margin-top: 56px; }
.numbers > div { padding: 20px 20px 20px 0; border-bottom: 1px solid var(--hair); display: grid; gap: 4px; align-content: start; }
.numbers > div + div { padding-left: 20px; border-left: 1px solid var(--hair); }
.numbers b { font-size: clamp(2rem, 3.4vw, 2.75rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.numbers b span { font-size: 0.42em; color: var(--muted); margin-left: 4px; letter-spacing: 0; }
.numbers small { color: var(--muted); font-size: 14px; line-height: 1.4; }

@media (max-width: 960px) {
  .spread { grid-template-columns: 1fr; }
  .spread-label { position: relative; top: 0; height: auto; min-height: 0; padding: 40px var(--gutter) 36px; }
  .label-mark { width: 60%; right: -12%; bottom: -30%; }
  .numbers { grid-template-columns: 1fr 1fr; }
  .numbers > div:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 640px) {
  .week .row { grid-template-columns: 4.25rem minmax(0, 1fr) 5.75rem; gap: 10px; }
  .week .who { display: none; }
  .week-head { flex-direction: column; align-items: start; }
  .tally { text-align: left; }
}

/* ---------- sector and step link rows ---------- */
.link-rows .row { text-decoration: none; display: grid; grid-template-columns: minmax(0, 16rem) minmax(0, 1fr) auto; gap: 20px; min-height: 64px; }
.link-rows a.row:hover .row-name { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
@media (max-width: 720px) {
  .link-rows .row { grid-template-columns: minmax(0, 1fr) auto; }
  .link-rows .row-detail { display: none; }
}

.steps { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.steps li { padding: 20px 24px 24px 0; display: grid; gap: 8px; align-content: start; border-bottom: 1px solid var(--hair); }
.steps li + li { padding-left: 24px; border-left: 1px solid var(--hair); }
.steps .step-num { font-size: 13px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.steps b { font-family: var(--serif); font-size: 1.875rem; letter-spacing: -0.01em; font-weight: 600; line-height: 1.1; }
.steps p { color: var(--muted); font-size: 15px; line-height: 1.5; }
@media (max-width: 880px) {
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 18px 0; border-left: 0; grid-template-columns: 2.5rem 8rem 1fr; align-items: baseline; gap: 12px; }
}
@media (max-width: 520px) {
  .steps li, .steps li + li { grid-template-columns: 2rem 1fr; }
  .steps li p { grid-column: 2; }
}

/* ---------- comparison ---------- */
.compare { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); }
.compare th, .compare td { text-align: left; padding: 0 16px 0 0; height: 58px; border-bottom: 1px solid var(--hair); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 0; }
.compare thead th { font: 700 13px/1.2 var(--font); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); height: 48px; }
.compare tbody th { font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.01em; width: 30%; }
.compare td { color: var(--muted); width: 30%; }
.compare td.ours { color: var(--ink); font-weight: 600; width: 40%; }
.compare td.ours::before { content: "✓"; color: var(--navy); margin-right: 10px; }
@media (max-width: 720px) {
  .compare .theirs { display: none; }
  .compare tbody th { width: 45%; }
  .compare td.ours { width: 55%; }
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 24px; align-items: center; min-height: 60px; padding: 14px 0; cursor: pointer; font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.005em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 500; font-size: 22px; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 24px; max-width: 68ch; color: var(--muted); }

/* ---------- contact ---------- */
.contact { background: var(--panel); }
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-copy { display: grid; gap: 20px; position: sticky; top: calc(var(--header) + 32px); }
.contact-copy .rows { margin-top: 8px; }
.contact-copy .row { min-height: 52px; font-size: 15px; }
.form { background: var(--white); border: 1px solid var(--hair); border-radius: var(--r-panel); padding: clamp(24px, 3.5vw, 40px); display: grid; gap: 22px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-weight: 700; font-size: 14px; padding: 0; }
.field .opt { color: var(--quiet); font-weight: 500; }
.input, .select, .textarea { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--hair-strong); border-radius: var(--r-input); background: var(--white); font-size: 16px; }
.textarea { height: 104px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.input:focus, .select:focus, .textarea:focus { outline: 2px solid var(--peri-deep); outline-offset: 0; border-color: var(--peri-deep); }
.input[aria-invalid="true"] { border-color: var(--error); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.picks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.pick { position: relative; }
.pick input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pick span { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: var(--r-button); box-shadow: inset 0 0 0 1px var(--hair-strong); font-weight: 700; font-size: 14px; background: var(--white); transition: background-color 150ms var(--ease), box-shadow 150ms var(--ease); }
.pick input:checked + span { background: var(--navy); color: var(--action-text); box-shadow: none; }
.pick input:checked + span::before { content: "✓"; }
.pick input:focus-visible + span { outline: 2px solid var(--peri-deep); outline-offset: 2px; }
.form-foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.form-error { color: var(--error); font-weight: 700; font-size: 14px; }
.form-success { display: grid; gap: 12px; justify-items: start; padding: 8px 0; }
.form-success:focus { outline: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fast { border-top: 1px solid var(--ink); padding-top: 20px; display: grid; gap: 12px; }
.fast-row { display: flex; gap: 10px; }
.fast-row .input { flex: 1; min-width: 0; }
@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-copy { position: static; }
}
@media (max-width: 560px) {
  .field-grid { grid-template-columns: 1fr; }
  .fast-row { flex-direction: column; }
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--sky); color: var(--navy); border-radius: var(--r-card); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; position: relative; overflow: hidden; }
.cta-band h2 { color: var(--ink); max-width: 18ch; }
.cta-band p { margin-top: 14px; max-width: 46ch; font-size: 1.0625rem; line-height: 1.5; position: relative; }
.cta-band .hero-actions { position: relative; }
.cta-band .cta-mark { position: absolute; right: -60px; top: -80px; width: 340px; opacity: 0.12; pointer-events: none; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- page heroes (sectors, how we work) ---------- */
.page-hero { padding: clamp(48px, 7vw, 104px) 0 clamp(32px, 4vw, 56px); }
.page-hero.center { text-align: center; }
.page-hero.center .lead { margin: 20px auto 0; }
.page-hero .display { margin-top: 16px; }
.page-hero.center .display { max-width: 16ch; margin-left: auto; margin-right: auto; }
.page-hero-split { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: end; }
@media (max-width: 880px) { .page-hero-split { grid-template-columns: 1fr; gap: 20px; } }

/* sector tabs */
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.tab { height: 44px; padding: 0 18px; border-radius: var(--r-button); border: 0; box-shadow: inset 0 0 0 1px var(--hair-strong); background: var(--white); font-weight: 700; font-size: 14px; cursor: pointer; white-space: nowrap; transition: background-color 150ms var(--ease), color 150ms var(--ease); }
.tab:hover { box-shadow: inset 0 0 0 1px var(--navy); }
.tab[aria-selected="true"] { background: var(--navy); color: var(--action-text); box-shadow: none; }
@media (max-width: 720px) {
  .tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
  .tabs::-webkit-scrollbar { display: none; }
}
.sector-panel { display: grid; grid-template-columns: 7fr 5fr; gap: 32px; margin-top: 40px; animation: panel-in 240ms var(--ease); }
.sector-panel[hidden] { display: none; }
@keyframes panel-in { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .sector-panel { animation: none; } }
.sector-panel h2 { margin-bottom: 8px; }
.sector-panel > div > .small { margin-bottom: 20px; }
.sector-panel .row { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr) 6.5rem; }
.sector-side { background: var(--sky); color: var(--navy); border-radius: var(--r-card); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; }
.sector-side .big { color: var(--ink); font-size: clamp(3rem, 5.4vw, 4.75rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.sector-side .big span { font-size: 0.42em; color: var(--sky-deep); margin-left: 6px; letter-spacing: -0.01em; }
.sector-side h3 { color: var(--ink); font-family: var(--serif); font-weight: 600; font-size: 1.875rem; line-height: 1.15; letter-spacing: -0.01em; }
.sector-side p { font-size: 1rem; line-height: 1.5; max-width: 34ch; }
.sector-side .btn { margin-top: auto; align-self: flex-start; }
.sys { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.sys li { height: 30px; padding: 0 12px; border-radius: var(--r-chip); background: var(--white); color: var(--ink); font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; margin-top: 16px; font-size: 14px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 960px) { .sector-panel { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .sector-panel .row { grid-template-columns: minmax(0, 1fr) 6rem; }
  .sector-panel .row-detail { display: none; }
}

/* packages */
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.package { background: var(--white); border: 1px solid var(--hair); border-radius: var(--r-card); padding: clamp(24px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 6px; }
.package.lead-pack { background: var(--sky); border-color: var(--sky); color: var(--navy); }
.package-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.package h2 { font-size: 2.125rem; letter-spacing: -0.01em; line-height: 1.05; color: var(--ink); }
.package .len { color: var(--muted); margin-bottom: 18px; }
.package.lead-pack .len { color: var(--sky-deep); }
.package ul { list-style: none; margin: 0 0 24px; padding: 0; border-top: 1px solid var(--ink); }
.package li { min-height: 46px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--hair); color: var(--ink); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.package.lead-pack li { border-bottom-color: color-mix(in srgb, var(--sky-deep) 22%, transparent); }
.package li::before { content: "✓"; color: var(--navy); font-weight: 700; flex: none; }
.package.lead-pack li::before { color: var(--sky-deep); }
.package-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 4px; }
.package-foot b { font-size: 15px; color: var(--ink); }
.package-foot .small { color: inherit; }
@media (max-width: 960px) { .packages { grid-template-columns: 1fr; } }

.agenda .row { display: grid; grid-template-columns: 4.5rem minmax(0, 18rem) minmax(0, 1fr); gap: 20px; }
.agenda .t { font-weight: 600; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 720px) {
  .agenda .row { grid-template-columns: 3.5rem minmax(0, 1fr); }
  .agenda .row-detail { display: none; }
}

.rules-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.rules-grid > div { padding: 20px 24px 24px 0; border-bottom: 1px solid var(--hair); display: grid; gap: 8px; align-content: start; }
.rules-grid > div + div { padding-left: 24px; border-left: 1px solid var(--hair); }
.rules-grid b { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; line-height: 1.15; letter-spacing: -0.005em; }
.rules-grid p { color: var(--muted); font-size: 15px; line-height: 1.5; }
@media (max-width: 880px) {
  .rules-grid { grid-template-columns: 1fr 1fr; }
  .rules-grid > div:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 520px) {
  .rules-grid { grid-template-columns: 1fr; }
  .rules-grid > div, .rules-grid > div + div { padding: 18px 0; border-left: 0; }
}

/* ---------- footer ---------- */
.site-footer { background: var(--black); color: var(--panel); padding: clamp(56px, 7vw, 96px) 0 32px; }
.footer-grid { display: grid; grid-template-columns: 5fr 2fr 2fr 3fr; gap: 40px; }
.footer-brand { display: grid; gap: 16px; align-content: start; }
.footer-brand img { height: 40px; width: auto; }
.footer-brand p { color: #b3ada3; max-width: 34ch; }
.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-col .kicker { color: #9b958b; margin-bottom: 6px; }
.footer-col a { text-decoration: none; font-weight: 600; }
.footer-col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-col p { color: #b3ada3; font-size: 14px; line-height: 1.6; }
.footer-base { margin-top: 56px; padding-top: 20px; border-top: 1px solid #3a3733; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; color: #9b958b; font-size: 14px; }
.site-footer :focus-visible { outline-color: var(--peri); }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.package ul:last-child { margin-bottom: 0; }
.package.pack-lilac, .package.pack-pist { background: var(--panel); border-color: var(--hair); }

/* ==========================================================================
   Mobile and wrap clean-up (7 October 2026)
   Text never truncates: rows, tables and lists wrap instead of cutting off.
   ========================================================================== */

/* rows and tables wrap at every width */
.row { white-space: normal; padding: 12px 0; }
.row-name, .row-detail, .who span { white-space: normal; overflow: visible; text-overflow: clip; }
.row-name { line-height: 1.3; }
.row-detail { line-height: 1.45; }
.compare th, .compare td { white-space: normal; overflow: visible; text-overflow: clip; max-width: none; height: auto; padding: 14px 16px 14px 0; line-height: 1.4; vertical-align: top; }
.compare thead th { height: auto; padding-top: 12px; padding-bottom: 12px; }
.package li { white-space: normal; overflow: visible; text-overflow: clip; padding: 10px 0; line-height: 1.4; align-items: flex-start; }
.package li::before { margin-top: 1px; }
.services summary { white-space: normal; padding: 12px 0; }
.services summary .row-name { line-height: 1.3; }
.chip { font-size: 12px; }
.num, .week .t, .agenda .t { font-size: 14px; }

/* footer links and brand get a full tap target */
.footer-col a { display: inline-flex; align-items: center; min-height: 40px; }
.brand { min-height: 44px; align-items: center; }

@media (max-width: 720px) {
  /* rows with a detail line stack the detail under the name */
  .rows .row:has(> .row-detail) { flex-wrap: wrap; row-gap: 4px; align-items: baseline; }
  .rows .row:has(> .row-detail) > .row-detail { flex: 1 1 100%; padding-left: calc(1.5rem + 16px); font-size: 14px; }
  .rows .row:not(:has(> .num)) > .row-detail { padding-left: 0; }
  .rows .row .num { width: 1.5rem; }
  .systems-rows .row { align-items: center; }

  /* sector panels keep their detail line, stacked */
  .sector-panel .row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 4px; align-items: center; }
  .sector-panel .row-detail { display: block; grid-column: 1 / -1; grid-row: 2; font-size: 14px; }

  /* plan card, week and tables */
  .plan-sheet .row { align-items: center; }
  .week .row { align-items: center; }
  .compare tbody th { width: 42%; padding-right: 12px; }
  .compare td.ours { width: 58%; }

  /* services: body box uses the full width */
  .service-body { grid-template-columns: 1fr; padding-bottom: 20px; }
  .service-body > div { grid-column: 1; padding: 18px 18px 20px; }

  .page-hero.center { text-align: left; }
  .page-hero.center .lead { margin-left: 0; }
  .page-hero.center .display { margin-left: 0; max-width: none; }

  /* watermark marks are hidden on phones so they never cross text */
  .plan-mark, .cta-band .cta-mark { display: none; }
  .label-mark { opacity: 0.1; }

  /* card padding on small screens */
  .plan, .sector-side, .cta-band, .package { padding: 22px 20px; }
  .form { padding: 22px 18px; }
}

@media (max-width: 560px) {
  .fast-row .input { flex: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-grid > .footer-col:last-child { grid-column: 1 / -1; }
  .footer-col:last-child p { max-width: none; }
  .hero-actions .btn { flex: 1 1 auto; }
}

@media (min-width: 721px) and (max-width: 960px) {
  /* tablet: the open service box uses the full row, not one narrow column */
  .service-body > div { grid-column: 2 / -1; max-width: none; }
}
.link.arrow { white-space: nowrap; }

/* second pass, from the Codex review */
@media (pointer: coarse) { .btn-sm { height: 44px; } }

@media (max-width: 720px) {
  /* detail lines stay visible, on a second line */
  .link-rows .row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 4px; }
  .link-rows .row-detail { display: block; grid-column: 1 / -1; grid-row: 2; font-size: 14px; }
  .agenda .row { grid-template-columns: 3.5rem minmax(0, 1fr); row-gap: 4px; }
  .agenda .row-detail { display: block; grid-column: 2; font-size: 14px; }
  .systems-rows .row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 6px; }
  .systems-rows .row-detail { display: block; grid-column: 1 / -1; font-size: 13.5px; }
}

@media (max-width: 480px) {
  .display { font-size: 2.625rem; line-height: 1.04; }
  .hero-copy .display { font-size: 2.75rem; }
  .h1 { font-size: 2.25rem; line-height: 1.08; }
  .h2 { font-size: 1.875rem; }
  .spread-label .label-title { font-size: 2.75rem; }
  .numbers { grid-template-columns: 1fr; }
  .numbers > div, .numbers > div + div, .numbers > div:nth-child(3) { padding: 18px 0; border-left: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .week .row { grid-template-columns: 5rem minmax(0, 1fr) auto; }
  .week .t { white-space: nowrap; }
}

/* ---------- legal pages (privacy, terms) ---------- */
.legal-main { padding: clamp(40px, 7vw, 96px) 0 var(--section); }
.legal-document { max-width: 72ch; margin: 0 auto; display: grid; gap: 0; color: var(--ink); }
.legal-eyebrow { font: 700 0.8125rem/1.2 var(--font); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.legal-document h1 { font-size: clamp(2.5rem, 5vw, 3.875rem); line-height: 1.05; letter-spacing: -0.015em; margin: 14px 0 12px; }
.legal-date { color: var(--quiet); font-size: 0.875rem; }
.legal-intro { font-size: 1.1875rem; line-height: 1.55; color: var(--muted); margin-top: 20px; }
.legal-contents { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin: 36px 0 8px; border-top: 1px solid var(--ink); }
.legal-contents a { display: flex; align-items: center; min-height: 48px; padding: 10px 0; border-bottom: 1px solid var(--hair); text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.35; }
.legal-contents a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.legal-document section { padding-top: 40px; scroll-margin-top: calc(var(--header) + 16px); }
.legal-document h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); line-height: 1.1; letter-spacing: -0.01em; margin-bottom: 14px; }
.legal-document h3 { font-size: 1.125rem; font-weight: 600; margin: 20px 0 8px; }
.legal-document p, .legal-document li { font-size: 1rem; line-height: 1.7; color: var(--ink); }
.legal-document p + p, .legal-document ul + p, .legal-document ol + p, .legal-document p + ul, .legal-document p + ol { margin-top: 14px; }
.legal-document ul, .legal-document ol { margin: 12px 0 0; padding-left: 1.25rem; display: grid; gap: 10px; }
.legal-document li::marker { color: var(--navy); }
.legal-document a:not(.legal-contents a) { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; overflow-wrap: anywhere; }
.legal-document strong { font-weight: 700; }
@media (max-width: 640px) {
  .legal-contents { grid-template-columns: 1fr; }
  .legal-document h1 { font-size: 2.5rem; }
  .legal-document h2 { font-size: 1.75rem; }
  .legal-document section { padding-top: 32px; }
}


/* ==========================================================================
   Design review fixes (11 October 2026)
   ========================================================================== */

/* C1: the contact band keeps its own top padding */
.section.contact { padding-top: var(--section); }

/* C2: errors sit under their field and are visible while focused */
.field { scroll-margin-top: calc(var(--header) + 24px); }
.field-error { color: var(--error); font-weight: 700; font-size: 14px; line-height: 1.4; margin: 0; }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"],
.input[aria-invalid="true"]:focus, .select[aria-invalid="true"]:focus { border-color: var(--error); outline-color: var(--error); }
fieldset[aria-invalid="true"] .pick span { box-shadow: inset 0 0 0 1.5px var(--error); }
.field-grid .field:last-child:nth-child(odd) { grid-column: 1 / -1; }
.select:invalid { color: var(--quiet); }

/* M11: pick chips keep their width when selected; the navy fill shows the state */
.pick span::before, .pick input:checked + span::before { content: none; }

/* H2: short label in the header on small screens */
.show-sm { display: none; }

/* M2, M3: headline wraps and lining figures */
.display { text-wrap: pretty; }
.display, .h1, .h2, .label-title, .plan h2, .sector-side h3, .steps b, .package h2 { font-variant-numeric: lining-nums; }

/* M1: one rhythm after the full-bleed spread */
.spread-work { padding-bottom: 0; }
.spread + .section { padding-top: var(--section); }

/* M5, M6: service detail is plain text under the title, titles in serif */
.service-body > div, .svc-ai-employees .service-body > div { background: none; color: var(--ink); border-left: 0; border-radius: 0; padding: 4px 0 8px; }
.services summary .row-name { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; letter-spacing: -0.005em; line-height: 1.15; }

/* M12: tick lists hang their indent */
.service-body li { display: grid; grid-template-columns: 1.4rem 1fr; }
.service-body li::before { margin: 0; }
.compare td.ours { padding-left: 1.4em; text-indent: -1.4em; }

/* M10: the row is the link; the end label stays quiet */
.link-rows .row-end { font-weight: 500; text-decoration: none; color: var(--muted); }
.link-rows a.row:active { background: var(--panel); }

/* M7: sector tabs are an underlined strip, not buttons */
.tab { background: none; box-shadow: none; border-radius: 0; padding: 0 2px; border-bottom: 2px solid transparent; color: var(--muted); }
.tab[aria-selected="true"] { background: none; color: var(--ink); border-bottom-color: var(--navy); }
.tabs { gap: 28px; border-bottom: 1px solid var(--hair); }

/* M14: the spread stays on the page grid on wide screens */
.spread-work > * { max-width: 860px; }
.label-mark { width: 64%; right: -18%; bottom: -26%; }
@media (min-width: 1440px) { .spread-label { padding-left: calc((100vw - var(--max)) / 2 + var(--gutter)); } }

/* L1: footer tap targets */
.footer-base a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; }
.footer-col a { min-height: 44px; }

/* L2: hover only where a pointer can hover */
@media (hover: none) {
  .btn:hover { background: var(--action); }
  .btn-ghost:hover { background: transparent; }
  .tab:hover { box-shadow: none; }
}

/* L9: sectors hero aligns left like every other page */
.page-hero.center { text-align: left; }
.page-hero.center .lead, .page-hero.center .display { margin-left: 0; }
.page-hero.center .tabs { justify-content: flex-start; }

@media (max-width: 880px) {
  /* H2: the booking button stays in the header next to the menu */
  .nav-actions { display: flex; margin-left: auto; }
  .nav-actions .btn-ghost { display: none; }
  .nav-actions .btn { height: 44px; padding: 0 14px; font-size: 14px; }
  .menu-button { margin-left: 0; flex: none; }
  .nav { gap: 10px; }
}

@media (max-width: 720px) {
  /* H1: the hero strip repeats the services list on phones */
  .svc-strip { display: none; }
  .show-sm { display: inline; }
  .hide-sm { display: none; }

  /* M6: tighter number column, detail indented under the title */
  .services summary { grid-template-columns: 1.75rem minmax(0, 1fr) 24px; gap: 12px; }
  .service-body > div { margin-left: calc(1.75rem + 12px); padding: 0 0 8px; }

  /* M7: tabs scroll sideways with a fade so more are visible */
  .tabs { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; gap: 20px; justify-content: flex-start; margin: 0; padding: 0;
          -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { scroll-snap-align: start; height: 44px; flex: none; }

  /* M13: the comparison keeps both sides, stacked */
  .compare thead { display: none; }
  .compare, .compare tbody { display: block; }
  .compare tr { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--hair); }
  .compare th, .compare td, .compare tbody th, .compare td.ours { border: 0; padding: 0; width: auto; height: auto; }
  .compare .theirs { display: block; font-size: 14px; color: var(--muted); }
  .compare td.theirs::before { content: "General AI chat: "; font-weight: 600; }
  .compare td.ours { padding-left: 1.4em; }
}

@media (max-width: 400px) { .brand img { height: 32px; } }
@media (max-width: 720px) { .btn-sm { height: 44px; } }
.systems-rows .row:has(> .row-detail) { align-items: center; }

/* ==========================================================================
   AI Map entry offer (11 October 2026)
   ========================================================================== */

/* header: the compact CTA and logo fit a 320px phone */
@media (max-width: 420px) { .brand img { height: 30px; } }
.mobile-menu a[href^="mailto:"] { font-weight: 600; }

/* hero */
.hero-support { color: var(--ink); max-width: 52ch; line-height: 1.6; }
.price-line, .form-price { font-weight: 700; font-size: 1.0625rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.hero .hero-grid { align-items: start; }
.section-tight { padding-top: clamp(32px, 5vw, 72px); }

/* example jobs */
.jobs { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.jobs li { padding: 20px 24px 24px 0; display: grid; gap: 10px; align-content: start; border-bottom: 1px solid var(--hair); }
.jobs li + li { padding-left: 24px; border-left: 1px solid var(--hair); }
.jobs b { font-family: var(--serif); font-size: 1.875rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.1; }
.jobs p { color: var(--muted); font-size: 15px; line-height: 1.55; max-width: 40ch; }
@media (max-width: 880px) {
  .jobs { grid-template-columns: 1fr; }
  .jobs li, .jobs li + li { padding: 18px 0; border-left: 0; }
}

/* AI Map offer */
.offer-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.offer-copy { display: grid; gap: 20px; }
.offer-card { background: var(--sky); color: var(--navy); border-radius: var(--r-card); padding: clamp(24px, 3vw, 40px); display: grid; gap: 18px; justify-items: start; position: relative; overflow: hidden; }
.offer-card .cta-mark { position: absolute; right: -70px; top: -60px; width: 300px; opacity: 0.12; pointer-events: none; }
.offer-lead { font-weight: 700; color: var(--ink); position: relative; }
.ticklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; position: relative; width: 100%; border-top: 1px solid color-mix(in srgb, var(--navy) 30%, transparent); padding-top: 14px; }
.ticklist li { display: flex; gap: 10px; color: var(--ink); line-height: 1.45; }
.ticklist li::before { content: "✓"; font-weight: 700; color: var(--navy); flex: none; }
.offer-card .btn { position: relative; }
@media (max-width: 960px) { .offer-grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .offer-card { padding: 22px 20px; } .offer-card .cta-mark { display: none; } }

/* systems and control */
.systems-copy p { line-height: 1.55; }
.systems-copy .approval { font-weight: 600; }
.systems-note { margin-top: 14px; }

/* sectors under services */
.sub-kicker { margin: clamp(48px, 6vw, 80px) 0 16px; }

/* how-we-work text rows */
.page-hero-side { display: grid; gap: 20px; justify-items: start; }
.text-rows { border-top: 1px solid var(--ink); }
.text-rows > div { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; padding: 28px 0 32px; border-bottom: 1px solid var(--hair); }
.text-rows > div > div { display: grid; gap: 12px; max-width: 62ch; color: var(--muted); font-size: 1.0625rem; line-height: 1.6; }
@media (max-width: 880px) { .text-rows > div { grid-template-columns: 1fr; gap: 12px; } }
.agenda .row { grid-template-columns: minmax(0, 16rem) minmax(0, 1fr); }
@media (max-width: 720px) { .agenda .row { grid-template-columns: 1fr; } .agenda .row-detail { display: block; } }

/* enquiry form */
.form-price { margin-bottom: 12px; }
.form-body { display: grid; gap: 22px; }
.field-hint { font-size: 14px; line-height: 1.45; color: var(--muted); margin-top: -2px; }
.select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--error); }
.offer-card .offer-format { color: var(--navy); position: relative; }
.wa-card { justify-items: start; gap: 16px; }
