/* AFBN refresh mock, shared stylesheet. Direction: atelier (council 2026-09-03, candidate a).
   One serif (Newsreader), brand navy for type, brand red once per page, white and cool paper. */

:root {
  --paper: #f6f7f9;
  --white: #ffffff;
  --navy: #003767;
  --navy-soft: #44607c;
  --rule: #d3d9e0;
  --rule-soft: #e6ebf1;
  --red: #c1202f;
  --red-hover: #a91a28;
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --wrap: 68rem;
  --pad: 1.5rem;
}
@media (min-width: 900px) { :root { --pad: 4rem; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.55;
  font-feature-settings: "lnum" 1, "tnum" 1;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 4px; }
h1, h2, h3 { font-weight: 400; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2rem, 2.4vw + 1.2rem, 3.375rem); line-height: 1.12; letter-spacing: -0.005em; font-variation-settings: "opsz" 72; }
h2 { font-size: clamp(1.625rem, 1.2vw + 1.1rem, 2.125rem); line-height: 1.2; font-variation-settings: "opsz" 36; }
h3 { font-size: 1.3125rem; line-height: 1.3; }
p { margin: 0; }
.lead { font-size: 1.1875rem; color: var(--navy-soft); }
.soft { color: var(--navy-soft); }
.ital { font-style: italic; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.measure { max-width: 34rem; }
.measure-wide { max-width: 44rem; }
.flow > * + * { margin-top: 1rem; }
.flow h2 + p, .flow h3 + p { margin-top: 0.6rem; }
.flow h2, .flow h3 { margin-top: 2.25rem; }
.flow h2:first-child, .flow h3:first-child { margin-top: 0; }
.flow ul { margin: 0; padding-left: 1.2rem; }
.flow li + li { margin-top: 0.35rem; }
.pull { font-size: clamp(1.5rem, 1vw + 1.1rem, 1.875rem); line-height: 1.3; font-variation-settings: "opsz" 36; margin: 2.5rem 0; padding-left: 1.25rem; border-left: 2px solid var(--red); }

/* Links and the one red action */
.link { text-decoration: none; border-bottom: 1px solid var(--rule); padding-bottom: 1px; }
.link:hover { border-bottom-color: var(--navy); }
.cta {
  display: inline-block;
  padding: 0.85rem 1.5rem 0.95rem;
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  font-size: 1.0625rem;
  line-height: 1;
  border-radius: 2px;
}
.cta:hover { background: var(--red-hover); }
.cta:focus-visible { outline-color: var(--red); }

/* Contact bar: every page can call or book. Desktop: one quiet line above the masthead. */
.contact-bar { display: none; background: var(--paper); border-bottom: 1px solid var(--rule); font-size: 0.9375rem; }
.contact-bar-inner { display: flex; justify-content: space-between; align-items: baseline; padding-top: 0.55rem; padding-bottom: 0.55rem; }
.contact-bar .motto { font-style: italic; color: var(--navy-soft); }
.contact-bar .reach a { text-decoration: none; }
.contact-bar .reach a:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact-bar .sep { display: inline-block; width: 1px; height: 0.9em; background: var(--rule); margin: 0 0.9rem; vertical-align: -0.1em; }
.contact-bar .book { border-bottom: 1px solid var(--navy); padding-bottom: 1px; }
@media (min-width: 900px) { .contact-bar { display: block; } }

/* Phones: a fixed two-action bar, navy, always reachable. */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--navy); color: var(--white);
  padding-bottom: env(safe-area-inset-bottom);
}
.action-bar a { color: var(--white); text-decoration: none; text-align: center; padding: 0.95rem 0.5rem 1rem; font-size: 1rem; line-height: 1.2; }
.action-bar a + a { border-left: 1px solid rgba(255, 255, 255, 0.25); }
.action-bar a:focus-visible { outline: 2px solid var(--white); outline-offset: -4px; }
body { padding-bottom: 3.6rem; }
@media (min-width: 900px) { .action-bar { display: none; } body { padding-bottom: 0; } }

/* Masthead and navigation */
.masthead { background: var(--white); }
.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  padding-bottom: 1rem;
}
.masthead .logo img { height: 40px; width: auto; }
.masthead .motto { font-style: italic; font-size: 0.9375rem; color: var(--navy-soft); display: none; }
.nav { display: none; }
.nav a { text-decoration: none; margin-left: 1.5rem; font-size: 1rem; padding-bottom: 2px; border-bottom: 1px solid transparent; }
.nav a:hover { border-bottom-color: var(--rule); }
.nav a[aria-current="page"] { border-bottom-color: var(--navy); }
.nav-m { position: relative; }
.nav-m summary { list-style: none; cursor: pointer; font-size: 1rem; padding: 0.4rem 0; border-bottom: 1px solid var(--navy); }
.nav-m summary::-webkit-details-marker { display: none; }
.nav-m[open] summary { border-bottom-color: transparent; }
.nav-m .sheet {
  position: absolute; right: 0; top: 2.4rem; z-index: 20;
  background: var(--white); border: 1px solid var(--rule);
  min-width: 15rem; padding: 0.75rem 1.25rem;
  box-shadow: 0 12px 30px rgba(0, 55, 103, 0.08);
}
.nav-m .sheet a { display: block; text-decoration: none; padding: 0.55rem 0; border-bottom: 1px solid var(--rule-soft); }
.nav-m .sheet a:last-child { border-bottom: 0; }
@media (min-width: 900px) {
  .masthead-inner { padding-top: 2rem; padding-bottom: 1.25rem; }
  .masthead .logo img { height: 48px; }
  .masthead .motto { display: block; }
  .nav { display: flex; align-items: center; }
  .nav-m { display: none; }
}

/* Page head (inner pages) */
.page-head { padding-top: 2.5rem; padding-bottom: 2rem; }
.page-head .lead { margin-top: 1rem; max-width: 40rem; }
@media (min-width: 900px) { .page-head { padding-top: 4rem; padding-bottom: 3rem; } }

/* Sections */
.section { padding: 3rem 0; }
.section.paper { background: var(--paper); }
.section.ruled { border-top: 1px solid var(--rule); }
@media (min-width: 900px) { .section { padding: 5rem 0; } }
.section-head { margin-bottom: 2rem; }
.section-head p { margin-top: 0.6rem; }

/* Proof line: the client's own numbers, one quiet row */
.proof { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; margin: 0; }
.proof div { border-top: 1px solid var(--rule); padding-top: 0.75rem; }
.proof dt { text-wrap: balance; font-size: 1.5rem; line-height: 1.1; font-variation-settings: "opsz" 36; }
.proof dd { margin: 0.3rem 0 0; font-size: 0.9375rem; color: var(--navy-soft); font-style: italic; }
@media (min-width: 900px) { .proof { grid-template-columns: repeat(5, 1fr); } .proof dt { font-size: 1.75rem; } }

/* Pillars: four services, Laura's order, no cards, no icons */
.pillars { display: grid; gap: 2rem; margin: 0; }
.pillars > div { border-top: 1px solid var(--rule); padding-top: 1rem; }
.pillars dd { margin: 0; }
.pillars h3 a { text-decoration: none; }
.pillars h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.pillars p { margin-top: 0.5rem; color: var(--navy-soft); }
.pillars .free { color: var(--navy); font-style: italic; }
@media (min-width: 900px) { .pillars { grid-template-columns: repeat(2, 1fr); gap: 3rem 4rem; } }

/* Offices: map beside the picker and list */
.offices { display: grid; gap: 2.5rem; }
.map { display: block; margin-bottom: 1.5rem; }
.map svg { width: 100%; height: auto; display: block; }
.map .office-pin { cursor: pointer; }
.map .office-pin:hover .halo, .map .office-pin:focus-visible .halo { fill-opacity: 0.3; }
.map .office-pin:focus-visible { outline: none; }
.map .office-pin.is-selected .dot { r: 7.5; fill: var(--navy); stroke-width: 2; }
.map .office-pin.is-selected .halo { r: 18; fill: var(--navy); fill-opacity: 0.22; }
@media (min-width: 900px) {
  .offices { grid-template-columns: 1.3fr 1fr; align-items: start; gap: 4rem; }
  .map { margin-bottom: 0; }
}
.base-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 1rem; }
.base select {
  appearance: none; -webkit-appearance: none;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23003767' stroke-width='1.25'/%3E%3C/svg%3E") no-repeat right 0.15rem center;
  border: 0; border-bottom: 1px solid var(--navy); border-radius: 0;
  padding: 0.2rem 1.4rem 0.35rem 0; font: inherit; font-size: 1.0625rem; color: var(--navy);
  min-width: 12rem; cursor: pointer;
}
.base label { display: block; }
.base-result { margin-top: 1rem; min-height: 1.5rem; display: grid; gap: 0.6rem; justify-items: start; }
.base-result:empty { min-height: 0; }
.base-result-name { font-size: 1.25rem; line-height: 1.25; }
.base-call { display: inline-block; background: var(--navy); color: var(--white); text-decoration: none; padding: 0.85rem 1.4rem 0.95rem; border-radius: 2px; font-size: 1.0625rem; line-height: 1; }
.base-call:hover { background: #002a4f; }
.base-call:focus-visible { outline-color: var(--navy); }
.base-shared { font-size: 0.9375rem; color: var(--navy-soft); font-style: italic; }
.base-suggest { font-size: 0.9375rem; color: var(--navy-soft); font-style: italic; }
.office-list li.is-selected { background: var(--paper); box-shadow: -0.6rem 0 0 var(--paper), 0.6rem 0 0 var(--paper); }
.office-list li.is-selected a { text-decoration: underline; text-underline-offset: 3px; }
.office-list { margin: 1.75rem 0 0; padding: 0; list-style: none; columns: 2; column-gap: 2rem; }
.office-list li { break-inside: avoid; padding: 0.45rem 0; border-top: 1px solid var(--rule-soft); font-size: 1rem; }
.office-list li a { text-decoration: none; }
.office-list li a:hover { text-decoration: underline; text-underline-offset: 3px; }
.office-list .num { display: block; color: var(--navy-soft); font-size: 0.9375rem; }

/* Who we serve: Laura's eight people */
.people { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.9rem 3rem; }
.people li { border-top: 1px solid var(--rule-soft); padding-top: 0.7rem; font-size: 1.0625rem; }
@media (min-width: 720px) { .people { grid-template-columns: 1fr 1fr; } }

/* Quotes: real words from afbn.us, set as text, no cards */
.quotes { margin: 0; padding: 0; list-style: none; display: grid; gap: 1.75rem 3rem; }
.quotes blockquote { margin: 0; border-top: 1px solid var(--rule); padding-top: 1rem; }
.quotes blockquote p { font-size: 1.1875rem; line-height: 1.4; font-variation-settings: "opsz" 24; }
.quotes blockquote footer { margin-top: 0.6rem; font-style: italic; font-size: 0.9375rem; color: var(--navy-soft); }
@media (min-width: 720px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
#say .quotes { grid-template-columns: 1fr; }
@media (min-width: 720px) { #say .quotes { grid-template-columns: repeat(2, 1fr); } }

/* Workbook request: object plus a three-field form */
.request { display: grid; gap: 2rem; align-items: center; }
.request .object { background: var(--white); padding: 2rem; }
.request .object img { width: min(70%, 320px); margin: 0 auto; }
.form { display: grid; gap: 1.1rem; max-width: 26rem; }
.form label { display: block; font-size: 0.9375rem; color: var(--navy-soft); margin-bottom: 0.25rem; }
.form input, .form select {
  width: 100%; font: inherit; font-size: 1.0625rem; color: var(--navy);
  border: 0; border-bottom: 1px solid var(--navy); border-radius: 0; padding: 0.3rem 0 0.4rem; background: transparent;
}
.form select { appearance: none; -webkit-appearance: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23003767' stroke-width='1.25'/%3E%3C/svg%3E") no-repeat right 0.15rem center; padding-right: 1.4rem; }
.form .cta { justify-self: start; margin-top: 0.5rem; border: 0; cursor: pointer; font-family: var(--serif); }
.form .note { font-size: 0.875rem; color: var(--navy-soft); font-style: italic; }
@media (min-width: 900px) { .request { grid-template-columns: 1fr 1fr; gap: 4rem; } }

/* Forms, wide variant and choices */
.form-wide { max-width: 44rem; }
.form-grid { display: grid; gap: 1.1rem 2rem; }
@media (min-width: 720px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.form textarea { width: 100%; font: inherit; font-size: 1.0625rem; color: var(--navy); border: 0; border-bottom: 1px solid var(--navy); border-radius: 0; padding: 0.3rem 0 0.4rem; background: transparent; resize: vertical; }
.form .help { margin-top: 0.4rem; font-size: 0.875rem; color: var(--navy-soft); font-style: italic; }
.form h2 { font-size: 1.375rem; }
.choice { display: flex; gap: 0.6rem; align-items: baseline; font-size: 1rem; color: var(--navy); cursor: pointer; }
.choice input { accent-color: var(--navy); width: 1rem; height: 1rem; margin: 0; flex: 0 0 auto; position: relative; top: 0.1rem; }
.choices { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.questions { margin: 1.25rem 0 0; padding: 0; list-style: none; display: grid; gap: 1.25rem; }
.questions li { border-top: 1px solid var(--rule-soft); padding-top: 0.9rem; }
.questions li p { margin-bottom: 0.5rem; }

/* Careers: team stories with portraits, and the film */
.people-grid { margin: 0; padding: 0; list-style: none; display: grid; gap: 2rem 2.5rem; }
.person { display: grid; grid-template-columns: 96px 1fr; gap: 1.1rem; align-items: start; border-top: 1px solid var(--rule); padding-top: 1.1rem; }
.person img { width: 96px; height: 128px; object-fit: cover; }
.person h3 a { text-decoration: none; }
.person h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 720px) { .people-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .people-grid { grid-template-columns: 1fr 1fr 1fr; } }
.film-clip { width: 100%; height: auto; background: var(--navy); display: block; }

/* Footer */
.footer { border-top: 1px solid var(--rule); background: var(--paper); padding: 3rem 0 2.5rem; font-size: 0.9375rem; color: var(--navy-soft); }
.footer-grid { display: grid; gap: 2rem; }
.footer h4 { margin: 0 0 0.6rem; font-weight: 400; font-size: 1rem; color: var(--navy); }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer ul { margin: 0; padding: 0; list-style: none; }
.footer li + li { margin-top: 0.3rem; }
.footer .legal { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); font-size: 0.875rem; }
.footer .legal p + p { margin-top: 0.4rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* Reveal: one gentle rise for a section entering view, JS-only, once */
.js .reveal > * { opacity: 0; transform: translateY(10px); transition: opacity 600ms ease, transform 600ms ease; }
.js .reveal.in > * { opacity: 1; transform: none; }
.js .reveal > :nth-child(2) { transition-delay: 80ms; }
.js .reveal > :nth-child(3) { transition-delay: 160ms; }
.js .reveal > :nth-child(4) { transition-delay: 240ms; }
.js .reveal > :nth-child(5) { transition-delay: 320ms; }
.js .reveal > :nth-child(n+6) { transition-delay: 400ms; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .js .reveal > * { opacity: 1; transform: none; }
}
