/* Quentin Hunter site styles. Direction A, "Boardroom", chosen 12 Nov 2026 */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('/assets/fonts/site/cormorant.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 200 900; font-display: swap; src: url('/assets/fonts/site/source-sans-3.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --mid: #0e1b2c;          /* midnight: header, hero, dark bands */
  --mid-2: #0a1522;        /* footer */
  --brass: #b8935a;        /* on dark only */
  --brass-ink: #86652f;    /* brass for text on light (contrast safe) */
  --ivory: #f4f1ea;
  --white: #ffffff;
  --ink: #0e1b2c;
  --body: #3a4552;
  --muted: #5c6774;
  --line: #e0e2e3;
  --on-dark: #c9d3de;
  --on-dark-muted: #95a4b4;
  --serif: 'Cormorant Garamond', Garamond, 'Times New Roman', serif;
  --sans: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --wrap: 1240px;
  --gutter: 40px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--body); font-family: var(--sans); font-size: 18px; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-color: var(--brass); text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--brass-ink); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); font-weight: 600; letter-spacing: -0.005em; margin: 0 0 .45em; }
h1 { font-size: clamp(2.8rem, 1.6rem + 3.4vw, 4.75rem); line-height: 1.02; }
h2 { font-size: clamp(2.1rem, 1.5rem + 1.7vw, 3.25rem); line-height: 1.08; }
h3 { font-size: 1.75rem; line-height: 1.15; }
p { margin: 0 0 1.1em; }
strong { color: var(--ink); font-weight: 600; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; }
.lede { font-size: 1.24rem; line-height: 1.6; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }
.kicker, .eyebrow { font-family: var(--sans); font-weight: 600; color: var(--brass-ink); font-size: 1rem; letter-spacing: .03em; margin: 0 0 16px; text-transform: none; line-height: 1.4; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Staging banner, only off the live domain (site.js) */
.staging-bar { display: none; background: #fff4d6; color: #5a4300; font-size: .88rem; text-align: center; padding: 7px 16px; }
.staging-bar a { color: #5a4300; font-weight: 700; }
html.is-staging .staging-bar { display: block; }

/* Logo: QH monogram in a brass ring, name in spaced capitals */
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: #fff; }
.mono { width: 46px; height: 46px; flex: none; border: 1px solid var(--brass); border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-weight: 600; font-size: 1.3rem; letter-spacing: .02em; color: var(--brass); line-height: 1; padding-top: 1px; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.55rem; letter-spacing: .07em; line-height: 1; color: #fff; display: block; white-space: nowrap; }
.brand-sub { display: block; font-size: .8rem; letter-spacing: .07em; color: var(--on-dark-muted); margin-top: 5px; }
.brand:hover .brand-name { color: #fff; }

/* Header: midnight on every page */
.site-header { background: var(--mid); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 88px; gap: 24px; border-bottom: 1px solid rgba(184,147,90,.3); }
.nav { display: flex; align-items: center; gap: clamp(22px, 2.1vw, 32px); }
.nav a { text-decoration: none; color: #dfe6ee; font-size: 1rem; white-space: nowrap; }
.nav a:not(.btn) { position: relative; line-height: 1; padding: 10px 0; }
.nav a:hover { color: var(--brass); }
.nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: var(--brass); }
.nav-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,.35); border-radius: 2px; padding: 8px 12px; font: inherit; font-size: .95rem; font-weight: 600; color: #fff; cursor: pointer; }

/* Buttons: midnight on light, brass on dark */
.btn { display: inline-flex; align-items: center; justify-content: center; background: var(--mid); color: #fff; text-decoration: none; font-weight: 700; font-size: 1rem; letter-spacing: .01em; padding: 15px 28px; border-radius: 2px; border: 1px solid var(--mid); transition: background-color .15s, color .15s, border-color .15s; }
.btn:hover { background: #1c3047; border-color: #1c3047; color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-sm { padding: 11px 20px; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.text-link { font-weight: 600; }
.on-dark .btn, .bg-deep .btn, .bg-ink .btn, .site-header .btn { background: var(--brass); border-color: var(--brass); color: var(--mid); }
.on-dark .btn:hover, .bg-deep .btn:hover, .bg-ink .btn:hover, .site-header .btn:hover { background: #cfac72; border-color: #cfac72; color: var(--mid); }
.on-dark .btn-ghost, .bg-deep .btn-ghost, .bg-ink .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.on-dark .btn-ghost:hover, .bg-deep .btn-ghost:hover, .bg-ink .btn-ghost:hover { background: #fff; color: var(--mid); border-color: #fff; }

/* Sections */
section { padding: 112px 0; }
.section-tight { padding: 76px 0; }
.bg-mist, .bg-sand, .bg-ivory { background: var(--ivory); }
.bg-white { background: var(--white); }
.bg-deep, .bg-ink, .on-dark { background: var(--mid); color: var(--on-dark); }
.bg-deep h1, .bg-deep h2, .bg-deep h3, .bg-deep strong, .bg-ink h2, .bg-ink h3, .bg-ink strong, .on-dark h1, .on-dark h2, .on-dark h3, .on-dark strong { color: #fff; }
.bg-deep a, .bg-ink a, .on-dark a { color: #fff; }
.bg-deep .kicker, .bg-deep .eyebrow, .bg-ink .eyebrow, .on-dark .kicker, .on-dark .eyebrow { color: var(--brass); }
.section-head { max-width: 760px; margin-bottom: 60px; }
.section-head p:last-child { margin-bottom: 0; }

/* Hero (home): full-bleed midnight */
.hero { padding: 96px 0 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 80px; align-items: center; }
.hero h1 { max-width: 12em; margin-bottom: 28px; }
.hero .lede { max-width: 32em; margin-bottom: 36px; color: var(--on-dark); }
.hero-note { margin: 18px 0 0; font-size: .95rem; color: var(--on-dark-muted); }
.portrait-frame { position: relative; max-width: 380px; margin-left: auto; }
.portrait-frame::after { content: ''; position: absolute; inset: -14px; border: 1px solid var(--brass); pointer-events: none; }
.portrait-frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.portrait-caption { margin: 30px 0 0; font-size: .92rem; color: var(--on-dark-muted); line-height: 1.5; max-width: 380px; margin-left: auto; }
.portrait-caption strong { display: block; color: #fff; }

/* Record: facts under the hero */
.record { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 100px; border-top: 1px solid rgba(184,147,90,.45); }
.record div { padding: 30px 28px 48px 0; }
.record div + div { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.1); }
.record b { display: block; font-family: var(--serif); font-weight: 600; font-size: 2.9rem; line-height: 1; color: #fff; margin-bottom: 12px; }
.record span { display: block; font-size: .97rem; color: var(--on-dark-muted); line-height: 1.5; }

/* Split heading + rows */
.split-head { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 80px; align-items: start; }
@media (min-width: 1081px) { .split-head > :first-child { position: sticky; top: 130px; } }
.rows { border-top: 1px solid var(--ink); }
.row { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.5fr); gap: 36px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.row h3 { margin: 0; font-size: 1.9rem; }
.row p { margin: 0 0 12px; }

/* Columns */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.card { border-top: 1px solid var(--ink); padding-top: 26px; display: flex; flex-direction: column; }
.card h3 { margin-bottom: 12px; }
.card ul { margin: 0 0 20px; padding-left: 1.1em; }
.card li { margin-bottom: 6px; }
.card .text-link, .card .btn { margin-top: auto; align-self: flex-start; }
.card-num { font-family: var(--serif); font-weight: 600; color: var(--brass-ink); font-size: 1.15rem; margin: 0 0 8px; }
.bg-deep .card, .on-dark .card { border-top-color: var(--brass); }
.bg-deep .card-num, .on-dark .card-num { color: var(--brass); }

/* Stories */
.stories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(184,147,90,.45); }
.stories article { padding: 36px 40px 8px 0; }
.stories article + article { padding-left: 40px; border-left: 1px solid rgba(255,255,255,.1); }
.stories .metric { font-family: var(--serif); font-weight: 600; font-size: 2.9rem; line-height: 1; color: var(--brass); margin: 0 0 18px; }
.stories h3 { color: #fff; margin-bottom: 12px; font-size: 1.6rem; }
.stories p { color: var(--on-dark); font-size: 1.02rem; }

/* Story list (results page) */
.story { display: grid; grid-template-columns: minmax(0, .55fr) minmax(0, 1.45fr); gap: 48px; padding: 36px 0; border-top: 1px solid var(--line); }
.story:last-child { border-bottom: 1px solid var(--line); }
.story-meta { font-size: .95rem; color: var(--muted); }
.story-meta b { display: block; font-family: var(--serif); font-weight: 600; font-size: 2.2rem; color: var(--brass-ink); line-height: 1.05; margin-bottom: 6px; }
.story h3 { font-size: 1.7rem; }
.story p:last-child { margin-bottom: 0; }

/* Method: a true sequence */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; counter-reset: step; position: relative; padding-top: 40px; }
.steps::before { content: ''; position: absolute; top: 14px; left: 15px; right: 15px; height: 1px; background: var(--brass); }
.steps > div { position: relative; }
.steps > div::before { counter-increment: step; content: counter(step); position: absolute; top: -40px; left: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--white); border: 1px solid var(--brass); color: var(--brass-ink); font-family: var(--serif); font-size: 1.05rem; font-weight: 600; display: grid; place-items: center; }
.steps h3 { margin-bottom: 8px; }
.steps p { font-size: 1rem; margin: 0; }

/* Quotes */
.quote-feature { font-family: var(--serif); font-size: clamp(1.7rem, 1.2rem + 1.2vw, 2.45rem); line-height: 1.3; color: var(--ink); max-width: 25em; margin: 0 0 20px; font-weight: 500; }
.quote-by { font-weight: 600; color: var(--ink); }
.quotes-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; margin-top: 64px; padding-top: 44px; border-top: 1px solid var(--line); }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
blockquote { margin: 0; }
blockquote p { font-family: var(--serif); color: var(--ink); font-size: 1.35rem; line-height: 1.45; font-weight: 500; }
blockquote footer { font-weight: 600; color: var(--muted); font-size: .95rem; }

/* Split */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 88px; align-items: center; }

/* Lists */
.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.ticks li { position: relative; padding-left: 26px; margin-bottom: 10px; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 11px; height: 6px; border-left: 1.5px solid var(--brass-ink); border-bottom: 1.5px solid var(--brass-ink); transform: rotate(-45deg); }
.cred-list { columns: 2; column-gap: 56px; list-style: none; padding: 0; margin: 0; }
.cred-list li { break-inside: avoid; padding: 13px 0; border-bottom: 1px solid #d9d4c8; font-size: 1rem; color: var(--ink); }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 32px; padding: 28px 0; border-top: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline .when { font-weight: 600; color: var(--brass-ink); font-size: .97rem; }
.timeline h3 { font-size: 1.5rem; margin-bottom: 6px; }
.timeline p { margin: 0; }

/* Articles */
.articles { border-top: 1px solid var(--ink); }
.article { display: grid; grid-template-columns: 180px minmax(0, 1fr) auto; gap: 32px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--body); }
.article time { font-size: .95rem; color: var(--muted); }
.article h3 { margin: 0; font-size: 1.55rem; }
.article span { font-weight: 600; color: var(--brass-ink); font-size: .95rem; white-space: nowrap; }
.article:hover h3 { color: var(--brass-ink); }

/* CTA band */
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; align-items: end; }
.cta-band h2 { margin: 0 0 14px; max-width: 15em; }
.cta-band p { margin: 0; max-width: 34em; }
.cta-band .btn-row { justify-content: flex-end; }

/* FAQ */
details { border-top: 1px solid #d9d4c8; padding: 24px 0; }
details:last-of-type { border-bottom: 1px solid #d9d4c8; }
summary { cursor: pointer; font-family: var(--serif); font-weight: 600; color: var(--ink); font-size: 1.5rem; line-height: 1.25; list-style: none; position: relative; padding-right: 36px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 4px; top: -2px; font-family: var(--sans); font-weight: 300; font-size: 1.7rem; color: var(--brass-ink); }
details[open] summary::after { content: '\2212'; }
details p { margin: 12px 0 0; max-width: 40em; }

/* Page head on inner pages: midnight */
.page-head { padding: 96px 0 80px; background: var(--mid); color: var(--on-dark); }
.page-head h1 { color: #fff; max-width: 15em; }
.page-head .lede { max-width: 36em; margin: 0; color: var(--on-dark); }
.page-head .eyebrow, .page-head .kicker { color: var(--brass); }
.page-head .hero-grid { align-items: end; }
.page-head a { color: #fff; }

/* Prose */
.prose h2 { margin-top: 1.5em; font-size: clamp(1.9rem, 1.4rem + 1vw, 2.5rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.6rem; margin-top: 1.2em; }
.prose p, .prose li { max-width: 38em; }

.note { background: var(--ivory); border-left: 2px solid var(--brass); padding: 18px 22px; margin: 0 0 1.6em; }
.note p:last-child { margin: 0; }

/* Footer */
.site-footer { background: var(--mid-2); color: var(--on-dark-muted); padding: 84px 0 36px; font-size: .97rem; }
.site-footer a { color: #e3e9ef; text-decoration: none; }
.site-footer a:hover { color: var(--brass); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 48px; margin-bottom: 60px; }
.footer-h { font-weight: 600; color: var(--brass); margin: 0 0 14px; letter-spacing: .03em; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-brand p { margin-top: 22px; max-width: 24em; }
.footer-base { border-top: 1px solid rgba(184,147,90,.25); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .88rem; }

@media (min-width: 1400px) { :root { --wrap: 1280px; } section { padding: 128px 0; } }

/* Tablet */
@media (max-width: 1080px) {
  :root { --gutter: 32px; }
  .hero-grid, .split, .split-head, .cta-band .wrap { grid-template-columns: minmax(0, 1fr); gap: 52px; }
  .portrait-frame, .portrait-caption { margin-left: 14px; }
  .portrait-frame { max-width: 320px; }
  .cta-band .btn-row { justify-content: flex-start; }
  .record, .steps, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .record div:nth-child(3) { padding-left: 0; border-left: 0; }
  .record div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
  .steps::before { display: none; }
  .stories, .grid-3, .quotes { grid-template-columns: minmax(0, 1fr); }
  .stories article, .stories article + article { padding: 32px 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Menu collapses behind the Menu button below 1180px, before the links run out of room */
@media (max-width: 1180px) {
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--mid); border-bottom: 1px solid rgba(184,147,90,.3); box-shadow: 0 14px 28px rgba(0,0,0,.28); flex-direction: column; align-items: stretch; padding: 6px var(--gutter) 26px; gap: 0; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 16px 0; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav a[aria-current="page"] { color: var(--brass); }
  .nav a[aria-current="page"]::after { display: none; }
  .nav .btn { margin-top: 22px; align-self: flex-start; }
}
/* Phone */
@media (max-width: 640px) {
  :root { --gutter: 18px; }
  body { font-size: 17px; }
  section { padding: 68px 0; }
  .hero { padding-top: 52px; }
  .lede { font-size: 1.12rem; }
  .portrait-frame { max-width: 240px; }
  .record { margin-top: 64px; }
  .record, .steps, .grid-2, .grid-4, .quotes-more { grid-template-columns: minmax(0, 1fr); }
  .record div, .record div + div { padding: 22px 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.1); }
  .record div:first-child { border-top: 0; }
  .row, .story, .timeline li, .article { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .cred-list { columns: 1; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .site-header .wrap { height: 76px; }
  .mono { width: 40px; height: 40px; font-size: 1.15rem; }
  .brand-name { font-size: 1.25rem; letter-spacing: .05em; }
  .brand-sub { display: none; }
  .page-head { padding: 60px 0 52px; }
}

/* Cormorant defaults to old-style figures; use lining numerals for numbers and headings */
h1, h2, h3, .record b, .stories .metric, .story-meta b, .card-num, .mono, .steps > div::before, summary, blockquote p, .quote-feature { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }

/* homepage v2: pains list and service cards */
.pains { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; border-top: 1px solid var(--ink); }
.pains li { padding: 20px 0 20px 30px; border-bottom: 1px solid #d9d4c8; position: relative; font-family: var(--serif); font-size: 1.32rem; line-height: 1.3; color: var(--ink); }
.pains li::before { content: ''; position: absolute; left: 0; top: 1.05em; width: 16px; height: 1px; background: var(--brass); }
.svc-grid { gap: 56px 64px; }
.svc h3 { font-size: 1.75rem; }
.svc .svc-for { font-family: var(--serif); font-style: italic; font-size: 1.18rem; color: var(--brass-ink); margin: 0 0 12px; }
@media (max-width: 760px) { .pains { grid-template-columns: 1fr; } .pains li { font-size: 1.18rem; } }
.hero-solo { padding-bottom: 112px; } @media (max-width: 760px) { .hero-solo { padding-bottom: 72px; } }

/* Legal pages: tables */
.legal-table { overflow-x: auto; margin: 18px 0 26px; }
.legal-table table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 560px; }
.legal-table th { text-align: left; font-weight: 600; color: var(--brass-text, #86652f); border-bottom: 1px solid var(--ink, #0e1b2c); padding: 8px 12px 8px 0; }
.legal-table td { vertical-align: top; border-bottom: 1px solid rgba(14,27,44,.12); padding: 10px 12px 10px 0; }
.footer-base span:first-child { max-width: 60em; }

/* Two photos, the second overlapping the corner of the first (About: Away from work) */
.photo-pair { position: relative; padding: 10px 10px 0; }
.photo-pair .pp-a img { width: 88%; outline: 1px solid var(--brass, #b8935a); outline-offset: 10px; }
.photo-pair .pp-b { width: 72%; margin: -110px 0 0 auto; position: relative; }
.photo-pair .pp-b img { border: 8px solid #fff; box-shadow: 0 12px 30px rgba(14,27,44,.25); }
@media (max-width: 640px) { .photo-pair .pp-b { margin-top: -50px; } }

/* ---------------------------------------------------------------- Funded AI assessment (/ai-assessment) */
.aa-intro { max-width: 46em; }
.aa-intro p { margin: 0 0 18px; }
.aa-intro p:not(.lede) { color: var(--on-dark); }
.aa-record { margin-top: 56px; grid-template-columns: repeat(3, 1fr); }
.aa-apply .apply-card { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--brass); padding: clamp(28px, 4vw, 52px); }
.aa-apply .apply-card h2, .aa-apply .result h2 { margin-top: 0; }
.aa-apply .lead-note { color: var(--muted); margin: 0 0 30px; }
.aa-apply .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.aa-apply .form-group { margin-bottom: 24px; }
.aa-apply .form-group > label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 8px; line-height: 1.4; }
.aa-apply .hint { font-weight: 400; color: var(--muted); }
.aa-apply input[type=text], .aa-apply input[type=email], .aa-apply input[type=tel], .aa-apply textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--white); border: 1px solid #c9cdd1; border-radius: 2px; padding: 12px 14px; }
.aa-apply textarea { min-height: 96px; resize: vertical; }
.aa-apply input:focus, .aa-apply textarea:focus { outline: none; border-color: var(--brass-ink); box-shadow: 0 0 0 3px rgba(184,147,90,.2); }
.aa-apply .radio-group, .aa-apply .scale-group { display: flex; flex-wrap: wrap; gap: 8px; }
.aa-apply .radio-pill, .aa-apply .scale-num { position: relative; cursor: pointer; }
.aa-apply .radio-pill input, .aa-apply .scale-num input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.aa-apply .radio-pill span, .aa-apply .scale-num span { display: inline-flex; align-items: center; justify-content: center; border: 1px solid #c9cdd1; background: var(--white); color: var(--ink); padding: 9px 14px; font-size: .95rem; line-height: 1.2; border-radius: 2px; transition: border-color .15s, background .15s; }
.aa-apply .scale-num span { width: 44px; height: 44px; padding: 0; font-variant-numeric: lining-nums; }
.aa-apply .radio-pill:hover span, .aa-apply .scale-num:hover span { border-color: var(--brass-ink); }
.aa-apply .radio-pill input:checked + span, .aa-apply .scale-num input:checked + span { background: var(--mid); border-color: var(--mid); color: #fff; }
.aa-apply .radio-pill input:focus-visible + span, .aa-apply .scale-num input:focus-visible + span { box-shadow: 0 0 0 3px rgba(184,147,90,.35); }
.aa-apply .submit-btn { display: inline-flex; align-items: center; justify-content: center; width: 100%; margin-top: 8px; font: inherit; font-weight: 600; font-size: 1.05rem; background: var(--mid); color: #fff; border: 1px solid var(--mid); padding: 16px 24px; cursor: pointer; border-radius: 2px; }
.aa-apply .submit-btn:hover { background: #1b2d44; }
.aa-apply .submit-btn:disabled { opacity: .6; cursor: default; }
.aa-apply .form-error { display: none; margin-top: 14px; padding: 12px 14px; background: #fbeaea; border-left: 3px solid #b3261e; color: #7a1a14; }
.aa-apply .form-note { font-size: .92rem; color: var(--muted); margin: 14px 0 0; }
.aa-apply .result { display: none; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--brass); padding: clamp(28px, 4vw, 52px); }
.aa-apply .result.active { display: block; }
.aa-apply .tick { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--brass); display: grid; place-items: center; margin-bottom: 18px; }
.aa-apply .tick svg { width: 24px; height: 24px; fill: none; stroke: var(--brass-ink); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.aa-apply .small-note { font-size: .92rem; color: var(--muted); }
.aa-apply .booking-wrap { margin-top: 22px; border: 1px solid var(--line); }
.aa-apply .resource-list { display: grid; gap: 12px; margin-top: 14px; }
.aa-apply .resource-card { display: block; text-decoration: none; border: 1px solid var(--line); padding: 16px 18px; color: var(--body); transition: border-color .15s; }
.aa-apply .resource-card:hover { border-color: var(--brass-ink); }
.aa-apply .r-title { display: block; font-weight: 600; color: var(--ink); }
.aa-apply .r-arrow { color: var(--brass-ink); }
.aa-apply .r-desc { margin: 4px 0 0; font-size: .95rem; }
@media (max-width: 640px) {
  .aa-apply .form-row { grid-template-columns: 1fr; }
  .aa-record { grid-template-columns: 1fr; }
  .aa-apply .scale-num span { width: 40px; height: 40px; }
}
