/* O1GTM — Strategy. Systems. Scale.
   Layout modeled on acquisition.com: announcement bar, dark nav, bold uppercase Poppins,
   pill buttons, card sections, solid brand footer. Brand colors from the O1GTM logo. */

:root {
  --brand: #3352b8;        /* royal blue, measured from the keyline in original_logo.jpeg */
  --brand-dark: #26409a;
  --brand-soft: #e9eefc;
  --brand-light: #9db3ff;  /* brand blue for text on dark backgrounds */
  --brand-pale: #e0e7ff;   /* body text on brand-blue backgrounds */
  --danger: #d92d20;       /* the one red: form errors and the "won't fix" crosses */
  --danger-soft: #fff5f5;
  --ink-line: #2a2d38;     /* dividers on dark backgrounds */
  --ink: #0f1115;          /* logo black / nav */
  --ink-2: #3a3d48;
  --muted: #6b6e7a;
  --gtm-gray: #a6a6a6;     /* "GTM" gray in the logo (same as tools/logo-lib.mjs) */
  --bg: #ffffff;
  --bg-gray: #ececec;
  --bg-soft: #f7f7f8;
  --line: #e3e3e8;
  --f: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1180px;
  --gut: clamp(20px, 4vw, 40px);
  --r: 14px;
  --shadow: 0 10px 30px rgba(18, 20, 28, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f); color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
[id] { scroll-margin-top: 100px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 200; background: #fff; padding: 8px 14px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.center { text-align: center; }

/* ---------- Type ---------- */
.h1, .h2, .h3 { font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; line-height: 1.08; }
.h1 { font-size: clamp(36px, 5.4vw, 64px); }
.h2 { font-size: clamp(28px, 3.8vw, 44px); }
.h3 { font-size: clamp(20px, 2vw, 24px); }
.hl { color: var(--brand); }
.sub { font-size: clamp(16px, 1.5vw, 19px); color: var(--ink-2); max-width: 62ch; }
.center .sub { margin-left: auto; margin-right: auto; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.sec-title { margin-bottom: clamp(36px, 5vw, 56px); }
.sec-title .sub { margin-top: 14px; }
/* No orphans: never leave a single word alone on the last line (e.g. "in." under a centered paragraph).
   Headings and centered paragraphs get evenly balanced lines (browsers without support ignore it).
   Checked by tools/orphans.html. */
h1, h2, h3, h4, .h1, .h2, .h3, summary { text-wrap: balance; }
/* Centered paragraphs read best with even line lengths */
.center .sub, .hero .sub, .hero .q, .page-hero .sub, .why-close { text-wrap: balance; }
/* Narrow card columns: balanced lines avoid one long line followed by a lone word or two */
.step p, .pillar p, .card p, .res-body p, .foot-desc { text-wrap: balance; }
/* Body text: no text-wrap: pretty here. js/main.js keeps the last two words together instead;
   using both pushed three words down and left a short line above them. */

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 34px; border-radius: 999px; border: 2px solid var(--brand);
  font: 700 15px/1.2 var(--f); text-transform: uppercase; letter-spacing: .02em; text-decoration: none; cursor: pointer;
  background: var(--brand); color: #fff; transition: background .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(51, 82, 184, .28); }
.btn-lg { padding: 18px 52px; font-size: 16px; }
.btn-sm { padding: 10px 22px; font-size: 13px; }
.btn-outline { background: transparent; color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-dark { background: var(--ink); border-color: var(--ink); }
.btn-dark:hover { background: #000; border-color: #000; box-shadow: 0 10px 22px rgba(0,0,0,.2); }
.btn-white { background: #fff; border-color: #fff; color: var(--brand); }
.btn-white:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }
/* Phones: big pill buttons become full-width with a single-line label, so long labels never wrap. */
@media (max-width: 560px) {
  .btn { text-align: center; }
  .btn-lg { padding: 16px 22px; font-size: 14.5px; letter-spacing: 0; }
  .btn-row > .btn, .btn-row > a.btn, .form-foot .btn, .result-band .btn, .center > .btn { width: 100%; }
  .form-foot .btn { padding-left: 16px; padding-right: 16px; font-size: 14px; letter-spacing: 0; }
  .form-foot { flex-direction: column; align-items: stretch; }
  .form-foot small { text-align: center; }
}
@media (max-width: 360px) { .btn-lg, .btn { font-size: 13.5px; padding-left: 16px; padding-right: 16px; } }

/* ---------- Announcement bar ---------- */
.announce { background: var(--brand); color: #fff; text-align: center; font-size: 15px; font-weight: 600; padding: 11px var(--gut); }
.announce a { text-decoration: none; display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }
.announce .tag { background: #fff; color: var(--ink); border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 800; }
.announce span.go { font-weight: 400; }
.announce a:hover span.go { text-decoration: underline; }
/* Phones: one compact line. The whole bar is the link, so the "Find what's broken" text and the colon can go. */
@media (max-width: 640px) {
  .announce { font-size: 13px; padding: 9px 12px; }
  .announce a { gap: 8px; flex-wrap: nowrap; }
  .announce span.go, .announce .colon { display: none; }
  .announce .tag { font-size: 11px; padding: 1px 8px; flex: none; }
}
@media (max-width: 370px) { .announce { font-size: 12px; } }

/* Logo: vector files in /assets, generated by tools/make-logo.mjs (don't hand-edit the SVGs). */
@media (max-width: 400px) { .nav { gap: 10px; } }

/* ---------- Header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--ink); color: #fff; transition: box-shadow .25s; }
.site-header.scrolled { box-shadow: 0 1px 0 rgba(255, 255, 255, .08), 0 6px 24px rgba(0, 0, 0, .28); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 88px; }
@media (max-width: 1100px) { .nav { height: 76px; } }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand img { height: 64px; width: auto; }
@media (max-width: 400px) { .brand img { height: 48px !important; } }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links > a:not(.btn) { color: #fff; text-decoration: none; font-size: 15px; font-weight: 500; position: relative; padding: 6px 0; }
.nav-links > a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--brand); transform: scaleX(0); transition: transform .25s; }
.nav-links > a:not(.btn):hover::after, .nav-links > a[aria-current="page"]::after { transform: scaleX(1); }
.menu-btn { display: none; background: none; border: 0; color: #fff; cursor: pointer; width: 44px; height: 44px; padding: 10px; }
.menu-btn span { display: block; height: 2px; background: #fff; margin: 6px 0; transition: transform .25s, opacity .25s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
@media (max-width: 1100px) {
  .menu-btn { display: block; }
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink); padding: 8px var(--gut) 24px; border-top: 1px solid var(--ink-line); display: none; }
  .nav-links.open { display: flex; }
  .nav-links > a:not(.btn) { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--ink-line); }
  .nav-links > a:not(.btn)::after { display: none; }
  .nav-links > a[aria-current="page"] { color: var(--brand-light); box-shadow: inset 3px 0 0 var(--brand); padding-left: 14px; }
  .nav-links .btn { margin-top: 18px; }
  .brand img { height: 54px; }
}

/* ---------- Hero ---------- */
.hero { background: var(--bg-gray); position: relative; overflow: hidden; }
/* padding-block only: the side padding comes from .wrap (a "0" here used to remove it, so text touched the screen edge on phones) */
.hero-inner { padding-block: clamp(56px, 8vw, 96px); text-align: center; position: relative; z-index: 1; }
.hero .h1 { max-width: 15ch; margin: 0 auto; }
.hero .sub { margin: 22px auto 0; font-size: clamp(17px, 1.6vw, 20px); color: var(--ink); }
.hero .q { margin: 22px auto 0; font-weight: 700; font-size: clamp(18px, 1.8vw, 22px); color: var(--brand); max-width: 40ch; }
.hero .btn-row { margin-top: 34px; justify-content: center; }
.hero .btn-row .btn { min-width: 300px; }
.hero-deco { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
/* Hero squares live only in the empty side margins. Hidden below 1200px, where text spans the width. */
.hero-deco i { position: absolute; border-radius: 28px; border: 3px solid var(--brand); opacity: .14; }
.hero-deco i:nth-child(1) { width: 220px; height: 220px; left: -120px; top: 30px; transform: rotate(-12deg); }
.hero-deco i:nth-child(2) { width: 150px; height: 150px; right: -70px; bottom: 40px; transform: rotate(14deg); opacity: .1; }
.hero-deco i:nth-child(3) { width: 80px; height: 80px; right: 4%; top: 32px; transform: rotate(20deg); }
@media (max-width: 1199px) { .hero-deco { display: none; } }

/* Inner page hero */
.page-hero { background: var(--bg-gray); padding: clamp(56px, 8vw, 96px) 0; text-align: center; position: relative; overflow: hidden; }
.page-hero .h1 { max-width: 18ch; margin: 0 auto; font-size: clamp(32px, 4.6vw, 56px); }
.page-hero .sub { margin: 20px auto 0; color: var(--ink); }
.page-hero .sub + .sub { margin-top: 10px; }
.page-hero .btn-row { margin-top: 30px; justify-content: center; }

/* ---------- Sections ---------- */
.sec { padding: clamp(64px, 8vw, 96px) 0; }
.sec-soft { background: var(--bg-soft); }
.sec-gray { background: var(--bg-gray); }
.sec-dark { background: var(--ink); color: #fff; }
.sec-dark .sub { color: #c9cbd6; }
.sec-brand { background: var(--brand); color: #fff; }
.sec-brand .sub { color: var(--brand-pale); }
.sec-dark .hl, .sec-dark .eyebrow, .result-band .hl { color: var(--brand-light); }

/* Feature card (like "Scaling Roadmap" block) */
.feature { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: clamp(28px, 4vw, 48px); position: relative; overflow: hidden; }
.feature p + p { margin-top: 12px; }
.feature .sub { color: var(--ink-2); }
.feature .h3 { margin-bottom: 16px; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } }

/* Problem cards */
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 30px 28px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card .num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand); color: #fff; font-weight: 800; font-size: 15px; margin-bottom: 18px; }
.card h3 { font-size: 20px; font-weight: 700; line-height: 1.3; margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: 15.5px; }
.card .q { color: var(--brand); font-weight: 600; margin-bottom: 8px; }
/* Four across: each card's number, title, question and text line up with its neighbours (subgrid) */
@media (min-width: 1081px) {
  .cards-4 { row-gap: 0; }
  .cards-4 .card { display: grid; grid-row: span 4; grid-template-rows: subgrid; align-content: start; padding: 28px 24px; }
}
.card .q { text-wrap: balance; }
.nw { white-space: nowrap; }
@media (max-width: 1080px) { .cards-4 { grid-template-columns: 1fr 1fr; } } /* below this, 4 columns get too narrow for the card titles */
@media (max-width: 640px) { .cards-2, .cards-4 { grid-template-columns: 1fr; } }

.result-band { margin-top: 44px; background: var(--ink); color: #fff; border-radius: var(--r); padding: 30px 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; }
.result-band b { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-light); }
.result-band p { font-size: clamp(18px, 2vw, 22px); font-weight: 600; }
.result-band p span { color: var(--brand-light); }
.result-band > div { flex: 1 1 460px; } /* text grows, so the button sits on the right on wide screens */
.result-band > div b { display: block; margin-bottom: 4px; }

/* ---------- Services (training-style list) ---------- */
.svc { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; padding: 44px 0; border-top: 1px solid var(--line); }
#what-you-get .svc:last-child { padding-bottom: 0; }
.svc-compact .svc:last-child { border-bottom: 1px solid var(--line); }
/* Service tile: label, an icon for the service and a large outlined number (the full heading sits right next to it). */
.svc-mark { background: var(--ink); color: #fff; border-radius: var(--r); aspect-ratio: 4 / 3; display: flex; flex-direction: column; justify-content: space-between; padding: 24px; position: relative; overflow: hidden; }
.svc-mark small { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--brand-light); }
.svc-ico { position: absolute; top: 20px; right: 20px; width: 52px; height: 52px; border-radius: 14px; background: var(--brand); color: #fff; display: grid; place-items: center; }
.svc-ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svc-num { font-size: 108px; font-weight: 800; line-height: .78; letter-spacing: -.04em; color: rgba(157, 179, 255, .1); -webkit-text-stroke: 2px rgba(157, 179, 255, .7); }
.svc h2, .svc h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; text-transform: uppercase; line-height: 1.15; }
.svc .lead { font-size: 18px; font-weight: 600; color: var(--brand); margin-top: 8px; }
.svc .body { color: var(--ink-2); margin-top: 10px; max-width: 64ch; }
.svc ul { margin-top: 20px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; }
.svc li { display: flex; gap: 10px; font-size: 15px; font-weight: 500; }
.svc li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E") center / 12px no-repeat; }
.svc .adv { margin-top: 22px; background: var(--brand-soft); border-left: 4px solid var(--brand); border-radius: 0 10px 10px 0; padding: 14px 18px; font-size: 15px; }
.svc .adv b { color: var(--brand); }
.svc .btn-row { margin-top: 22px; }
/* Solutions page: short entries, so a smaller box centered next to the text (no tall empty box) */
.svc-compact .svc { grid-template-columns: 240px 1fr; align-items: center; padding: 36px 0; }
.svc-compact .svc-mark { aspect-ratio: auto; min-height: 168px; }
.svc-compact .svc-num { font-size: 80px; }
.svc-compact .svc .body { font-size: 17px; }
/* Solutions rows: buttons on the right, so each row uses the full width */
@media (min-width: 861px) {
  .svc-compact .svc > div:last-child { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "t b" "d b"; column-gap: 48px; align-items: center; }
  .svc-compact .svc h2 { grid-area: t; }
  .svc-compact .svc .body { grid-area: d; }
  .svc-compact .svc .btn-row { grid-area: b; margin-top: 0; flex-wrap: nowrap; }
}
/* Tablets/phones: the box becomes a slim one-line label band (the full heading follows right below it) */
@media (max-width: 860px) {
  .svc, .svc-compact .svc { grid-template-columns: 1fr; gap: 20px; }
  .svc-mark, .svc-compact .svc-mark { aspect-ratio: auto; min-height: 0; padding: 14px 16px; flex-direction: row; align-items: center; gap: 14px; justify-content: flex-start; }
  .svc-ico { position: static; order: -1; width: 42px; height: 42px; border-radius: 12px; }
  .svc-ico svg { width: 22px; height: 22px; }
  .svc-num { display: none; }
}
@media (max-width: 520px) { .svc ul { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */
/* One panel, one numbered row per step: the text gets a full-width line instead of a cramped column. */
.steps { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); max-width: 980px; margin: 0 auto; }
.step { display: grid; grid-template-columns: 76px 150px 1fr; align-items: center; gap: 0 24px; padding: 26px 36px; }
.step + .step { border-top: 1px solid var(--line); }
/* Straight brand bar on top of rounded panels (a thick border-top curves at the corners) */
.steps, .pillar, .form { position: relative; overflow: hidden; }
.steps::before, .pillar::before, .form::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--brand); }
.step b { font-size: 40px; font-weight: 800; color: var(--brand); line-height: 1; letter-spacing: -.02em; }
.step h3 { font-size: 20px; font-weight: 800; text-transform: uppercase; }
.step p { font-size: 16px; color: var(--ink-2); }
@media (max-width: 760px) {
  .step { grid-template-columns: 44px 1fr; column-gap: 12px; padding: 22px 20px; align-items: start; }
  .step b { font-size: 30px; grid-row: span 2; }
  .step p { grid-column: 2; margin-top: 4px; font-size: 15px; }
}

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.myths li { padding: 16px 0; border-bottom: 1px solid var(--ink-line); font-size: 18px; display: flex; gap: 14px; }
.myths li::before { content: "✕"; color: var(--danger); font-weight: 800; }
.why-close { margin-top: 22px; font-size: 20px; font-weight: 700; }
.pillars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 56px; }
.pillar { background: #1c1f2a; border-radius: var(--r); padding: 28px 20px 24px; }
.pillar h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.pillar p { font-size: 14px; color: #b7b9c6; }
@media (max-width: 1000px) { .why { grid-template-columns: 1fr; } .pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Who ---------- */
.who { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.who .card { grid-column: span 2; }
.who .card:nth-child(4), .who .card:nth-child(5) { grid-column: span 3; }
.who .card h3 { text-transform: uppercase; font-weight: 800; font-size: 18px; }
@media (max-width: 900px) { .who { grid-template-columns: 1fr; } .who .card, .who .card:nth-child(4), .who .card:nth-child(5) { grid-column: auto; } }

/* ---------- Resources (like "Free Advanced Training") ---------- */
.res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.res { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; transition: transform .25s; }
.res:hover { transform: translateY(-4px); }
.res-top { background: var(--ink); color: #fff; padding: 26px 24px; min-height: 130px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.res-top > * { position: relative; z-index: 1; }
.res-top-brand { background: var(--brand); }
.res-top-brand small { color: #fff !important; }
.res-top small { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--brand-light); }
.res-top h3 { font-size: 19px; font-weight: 800; text-transform: uppercase; line-height: 1.2; max-width: 16ch; }
.res-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 18px; flex: 1; }
.res-body p { color: var(--ink-2); font-size: 15px; flex: 1; }
.res-body .btn { align-self: flex-start; }
@media (max-width: 960px) { .res-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .res-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 20px; font-weight: 600; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--brand); color: #fff; }
.faq .ans { padding: 0 24px 22px; color: var(--ink-2); }

/* ---------- About block ---------- */
.about { display: grid; grid-template-columns: 340px 1fr; gap: 48px; align-items: center; }
.about-mark { background: var(--ink); border-radius: var(--r); aspect-ratio: 1; display: grid; place-items: center; padding: 22%; position: relative; overflow: hidden; }
.about-mark::after { content: ""; position: absolute; width: 150px; height: 150px; right: -60px; bottom: -60px; border: 3px solid var(--brand); border-radius: 28px; transform: rotate(16deg); opacity: .6; }
.about-mark img { width: 100%; height: auto; position: relative; z-index: 1; }
.about .h2 { margin-bottom: 18px; }
.about p { color: var(--ink-2); font-size: 17px; }
.about p + p { margin-top: 14px; }
.about p.strong { color: var(--ink); font-weight: 700; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 32px; } .about-mark { max-width: 200px; padding: 44px; } }

/* ---------- Checklists (audit) ---------- */
.check { display: grid; gap: 12px; }
.check li { display: flex; gap: 12px; font-weight: 500; }
.check li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E") center / 14px no-repeat; }
.card .check { margin-top: 18px; }

/* ---------- Forms ---------- */
.form-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.form { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 40px) clamp(24px, 4vw, 40px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field label .req { color: var(--brand); }
.field input, .field textarea { font: inherit; font-size: 15px; color: var(--ink); background: var(--bg-soft); border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; transition: border-color .2s, background .2s; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; }
.field.invalid input, .field.invalid textarea { border-color: var(--danger); background: var(--danger-soft); }
.field .err { display: none; font-size: 13px; color: var(--danger); }
.field.invalid .err { display: block; }
.form-foot { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.form-foot small { color: var(--muted); font-size: 13px; }
.form-success { display: none; text-align: center; padding: 20px 0; }
.form-success .ok { width: 60px; height: 60px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 28px; margin: 0 auto 16px; }
.form-success h2 { font-size: 24px; font-weight: 800; text-transform: uppercase; margin-bottom: 8px; }
.form-success p { color: var(--ink-2); }
.form-success:focus { outline: none; }
.form-error { display: none; margin-top: 14px; padding: 12px 16px; border-radius: 10px; background: var(--danger-soft); color: var(--danger); font-size: 14px; }
.form.failed .form-error { display: block; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
.form.sent .form-body { display: none; }
.form.sent .form-success { display: block; }
.prompts { margin-top: 26px; display: grid; gap: 12px; }
.prompts { margin-top: 18px; }
.prompts button { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; font: 500 16px/1.4 var(--f); color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px 14px 18px; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.prompts button:hover { border-color: var(--brand); transform: translateY(-1px); }
.prompts button b { color: var(--brand); min-width: 24px; font-variant-numeric: tabular-nums; }
.prompts button::after { content: ""; flex: none; margin-left: auto; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #c9cbd6; transition: background .2s, border-color .2s; }
.prompts button[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-soft); }
.prompts button[aria-pressed="true"]::after { border-color: var(--brand); background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E") center / 14px no-repeat; }
@media (min-width: 901px) { .form-wrap > :first-child { position: sticky; top: 120px; } }
@media (max-width: 900px) { .form-wrap { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Footer (solid brand, like reference) ---------- */
.site-footer { background: var(--brand); color: #fff; padding: 64px 0 36px; }
.foot-logo { display: inline-block; }
.foot-logo img { height: 60px; width: auto; filter: brightness(0) invert(1); } /* one-colour white logo on the brand blue */
.foot-tag { margin-top: 16px; font-size: 22px; font-weight: 800; text-transform: uppercase; }
.foot-desc { margin-top: 6px; color: var(--brand-pale); max-width: 36ch; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.foot-col h2 { font-size: 15px; font-weight: 800; text-transform: uppercase; margin-bottom: 14px; }
.foot-col li + li { margin-top: 2px; }
.foot-col a { display: inline-block; padding: 6px 0; text-decoration: none; color: #fff; font-size: 14.5px; opacity: .9; }
.foot-col a:hover { opacity: 1; text-decoration: underline; }
.foot-base { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.25); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 500; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Reveal ---------- */
.js .rv { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .rv { opacity: 1; transform: none; }
}
