/* Your Accounting Co. (industry site: CPA and bookkeeping office).
   Newsreader headings and Public Sans text on warm paper, ink rules, oxblood actions, brass
   highlights. The ledger idea runs through it: double rules open each section, lists read as
   ruled rows, totals get a double underline. Fonts are declared in inc/head.html so their URLs
   use /showcase/assets. Drawings read the --ill-* tokens. Contrast pairs: tools/contrast.py. */

:root {
  color-scheme: light;
  --paper: #f6f3ec; --paper-2: #ede7db; --card: #fcfaf5; --tint: #f4ebe6;
  --ink: #1c1b18; --body: #2e2c28; --muted: #59554d; --line: #d9d1c2;
  --accent: #7a2c29; --accent-hover: #5c201e; --on-accent: #ffffff; --link: #7a2c29;
  --brass: #b8924f; --brass-soft: #e6d3ac; --brass-lt: #d2b273;
  --field-bg: #fffdf9; --field-line: #847d70; --ph: #6b665b; --focus: #7a2c29;
  --ok: #2c6a3a; --error: #9b1c1c;
  --note-bg: #f6ebe3; --note-line: #c9a597;
  --band: #1c1b18; --band-fg: #f6f3ec; --band-muted: #c5bfb2; --band-line: #3d3a34; --band-ok: #9fd3a8;
  --cta-bg: #6f2825; --cta-fg: #ffffff; --cta-muted: #f1ddd7;

  --ill-bg: #e9e2d4; --ill-a: #fcfaf5; --ill-b: #dccfb9; --ill-c: #c8b796; --ill-line: #1c1b18;
  --ill-hi: #7a2c29; --ill-brass: #c29a55; --ill-leaf: #5c6b4a; --ill-leaf2: #7a8a62; --ill-sky: #cbd5d2;
  --ill-rule: #ddd3c3; --ill-coffee: #5a3f2c; --ill-grain: #e2d9c8; --ill-wood: #b98f5f; --ill-shade: #b3a283;
  --ill-rug: #d3c3a5;

  --display: "YA Newsreader", Georgia, "Times New Roman", serif;
  --text: "YA Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --h1: clamp(2.35rem, 4.4vw, 3.85rem);
  --h2: clamp(1.75rem, 2.7vw, 2.35rem);
  --h3: 1.3rem;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(64px, 8vw, 112px);
  --header-h: 80px;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; padding-bottom: 52px; background: var(--paper); color: var(--body);
  font: 400 1.0625rem/1.65 var(--text); font-synthesis: none; -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 500; color: var(--ink); letter-spacing: -0.012em; line-height: 1.15; text-wrap: balance; }
h1 { font-size: var(--h1); line-height: 1.06; letter-spacing: -0.02em; }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); line-height: 1.25; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-hover); text-decoration-thickness: 2px; }
strong { font-weight: 650; color: var(--ink); }
svg { display: block; }
::selection { background: var(--brass-soft); color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 1px; }
.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; }
.wrap { width: min(1200px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.narrow { max-width: 820px; }
.skip { position: absolute; left: 12px; top: -120px; z-index: 60; padding: 12px 18px; background: var(--accent); color: var(--on-accent); font-weight: 650; text-decoration: none; border-radius: 2px; }
.skip:focus { top: 12px; color: var(--on-accent); }
.muted { color: var(--muted); }
.lede { font-size: clamp(1.1rem, 1.45vw, 1.24rem); line-height: 1.6; color: var(--body); max-width: 36em; }
.small { font-size: .9375rem; }
.tnum { font-variant-numeric: lining-nums tabular-nums; }
.nowrap, a[href^="tel:"] { white-space: nowrap; }

/* Icons and drawings */
.ico { width: 44px; height: 44px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; color: var(--accent); }
.ico .hl { fill: var(--brass-soft); stroke: none; }
.art { position: relative; overflow: hidden; background: var(--ill-bg); border-radius: 2px; }
.art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.frame { padding: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 2px; }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 24px;
  font: 600 1rem/1.2 var(--text); color: var(--on-accent); background: var(--accent); border: 1px solid var(--accent);
  border-radius: 2px; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-accent); }
.btn-small { min-height: 44px; padding: 10px 18px; font-size: .9375rem; }
.btn-outline { color: var(--ink); background: transparent; border-color: var(--ink); }
.btn-outline:hover { color: var(--ink); background: var(--paper-2); border-color: var(--ink); }
.btn-light { color: var(--accent); background: var(--paper); border-color: var(--paper); }
.btn-light:hover { color: var(--accent-hover); background: #ffffff; border-color: #ffffff; }
.arw { width: 12px; height: 12px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; color: var(--link);
  text-decoration: none; border-bottom: 0;
}
.link-arrow .arw { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.7; transition: transform .15s; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 5px; }
.link-arrow:hover .arw { transform: translateX(3px); }
.text-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 2px; font: 600 .9375rem/1.2 var(--text); color: var(--link); background: none; border: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.text-btn:hover { color: var(--accent-hover); }

/* Jump links, quick links, area list */
.jump ul { border-top: 1px solid var(--ink); }
.jump li { border-bottom: 1px solid var(--line); }
.jump a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; font-weight: 600; color: var(--ink); text-decoration: none; }
.jump a:hover { color: var(--accent); }
.jump .arw { color: var(--accent); }
.quick-label { margin: 22px 0 10px; font-size: .9375rem; font-weight: 600; color: var(--ink); }
.quick { display: flex; flex-wrap: wrap; gap: 8px; }
.quick a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--field-line); border-radius: 2px; background: var(--card); font-size: .9375rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.quick a:hover { border-color: var(--accent); color: var(--accent); }
.areas { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.areas li { padding: 8px 14px; border: 1px solid var(--line); border-radius: 2px; background: var(--card); font-size: .9375rem; color: var(--ink); }

/* Status pill */
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 2px 10px; border: 1px solid currentColor; border-radius: 999px; font: 600 .8125rem/1.6 var(--text); color: var(--muted); white-space: nowrap; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill.is-open { color: var(--ok); }
.tag { display: inline-block; padding: 1px 8px; border: 1px solid var(--line); border-radius: 2px; font: 600 .75rem/1.6 var(--text); color: var(--muted); background: var(--paper); }

/* Top bar */
.topbar { background: var(--band); color: var(--band-muted); font-size: .875rem; }
.topbar-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; }
.topbar p { display: flex; align-items: center; gap: 14px; margin: 0; }
.topbar a { display: inline-flex; align-items: center; min-height: 44px; color: var(--band-fg); text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; color: var(--band-fg); }
.topbar-contact { gap: 22px !important; }
.topbar-email { font-weight: 500 !important; color: var(--band-muted) !important; }
.topbar .pill { color: var(--band-muted); }
.topbar .pill.is-open { color: var(--band-ok); }
.topbar :focus-visible, .site-footer :focus-visible, .cta-band :focus-visible, .band :focus-visible { outline-color: var(--brass-lt); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-row { position: relative; display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.wordmark { display: inline-flex; align-items: center; gap: 12px; flex: none; min-height: 44px; font: 600 1.5rem/1 var(--display); letter-spacing: -0.015em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.wordmark:hover { color: var(--ink); }
.mark { width: 30px; height: 30px; flex: none; }
.mark-bg { fill: var(--accent); }
.mark-ln { fill: none; stroke: #ffffff; stroke-width: 1.8; stroke-linecap: round; opacity: .9; }
.mark-tot { fill: none; stroke: var(--brass-lt); stroke-width: 1.6; stroke-linecap: round; }
.nav { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-weight: 500; font-size: 1rem; color: var(--ink); text-decoration: none; }
.nav-list a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 8px; }
.nav-list a[aria-current] { color: var(--accent); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.nav-actions { display: flex; align-items: center; gap: 22px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 650; color: var(--ink); text-decoration: none; white-space: nowrap; font-variant-numeric: lining-nums; }
.nav-phone svg { width: 18px; height: 18px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linejoin: round; }
.nav-phone:hover { color: var(--accent); }
.nav-actions .btn[aria-current] { background: var(--accent-hover); border-color: var(--accent-hover); }
.menu-btn { display: none; }

/* Home hero */
.hero { padding: clamp(44px, 6.5vw, 92px) 0 clamp(56px, 7vw, 100px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 76px); align-items: center; }
.hero .lede { margin-top: 24px; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 24px; font-size: .9375rem; color: var(--muted); }
.hero-art .art { aspect-ratio: 640 / 520; }

/* Facts strip under the hero */
.facts { border-top: 3px double var(--ink); border-bottom: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.facts-grid > div { padding: 22px 24px 24px; border-left: 1px solid var(--line); }
.facts-grid > div:first-child { padding-left: 0; border-left: 0; }
.facts-grid dt { font-family: var(--display); font-size: 1.15rem; font-weight: 500; color: var(--ink); }
.facts-grid dd { margin: 4px 0 0; font-size: .9375rem; color: var(--muted); }
.facts-grid dd a { display: inline-flex; align-items: center; min-height: 44px; margin: -10px 0; font-weight: 600; }

/* Sections */
.section { padding: var(--section) 0; }
.section-alt { background: var(--paper-2); }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 32px; margin-bottom: 36px; }
.section-head p { max-width: 34em; margin: 0; color: var(--muted); }
.section-head h2 + p { margin-top: 12px; }

/* Ledger layout: heading in the margin column, content on the right, double rule on top. */
.ledger { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 28px clamp(32px, 5vw, 80px); padding-top: 28px; border-top: 3px double var(--ink); }
.ledger-head > p { margin-top: 14px; color: var(--muted); }
.ledger-head .link-arrow { margin-top: 10px; }
.ledger-head .ico { margin-bottom: 18px; }
.ledger-body > h3 { margin: 36px 0 12px; }
.ledger-body > h3:first-child { margin-top: 4px; }
.ledger-body > p { max-width: 40em; }
.ledger + .ledger { margin-top: clamp(56px, 7vw, 88px); }
.ledger-body > :is(ul, ol, .key-forms) + p { margin-top: 24px; }
.ledger-body > p + :is(ul, ol) { margin-top: 20px; }
.section:not(.section-alt, .band) + .section:not(.section-alt, .band) { padding-top: 0; }
/* The double rule already opens a ledger: its first ruled list starts flush, without a second rule. */
.ledger > .index, .ledger > .faq, .ledger > .steps, .ledger-body > .index:first-child, .ledger-body > .ruled:first-child { border-top: 0; }
.ledger > .index > li:first-child, .ledger-body > .index:first-child > li:first-child { padding-top: 6px; }
.ledger > .faq > details:first-child > summary { padding-top: 4px; }
.ledger > .faq > details:first-child > summary::after { margin-top: -11px; }
.ledger > .faq > details[open]:first-child > summary::after { margin-top: -5px; }
.ledger > .steps > li:first-child { padding-top: 6px; }
.ledger-body > .ruled:first-child > li:first-child { padding-top: 4px; }
.ledger-body > .ruled:first-child > li:first-child::before { top: calc(4px + .42em); }
@media (min-width: 901px) { .ledger-head.sticky { position: sticky; top: calc(var(--header-h) + 28px); align-self: start; } }

/* Ruled index rows (service lists) */
.index { border-top: 1px solid var(--line); }
.index-row { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr) 40px; gap: 22px; padding: 28px 0 30px; border-bottom: 1px solid var(--line); }
.index-row .ico { width: 44px; height: 44px; }
.index-row h3 { margin-bottom: 8px; }
.index-row h3 a { color: var(--ink); text-decoration: none; }
.index-row h3 a::after { content: ""; position: absolute; inset: 0; }
.index-row h3 a:focus-visible { outline: none; }
.index-row:has(h3 a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 4px; }
.index-row p { margin: 0; color: var(--muted); max-width: 40em; }
.index-row .incl { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; font-size: .9375rem; color: var(--body); }
.index-row .incl li { position: relative; padding-left: 18px; }
.index-row .incl li { line-height: 24px; }
.index-row .incl li::before { content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 2px; background: var(--brass); }
.index-row .go { align-self: center; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--field-line); border-radius: 50%; color: var(--accent); transition: background-color .15s, color .15s, border-color .15s; }
.index-row .go svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.index-row:hover .go { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.index-row:hover h3 a { color: var(--accent); }

/* Checks */
.checks li { position: relative; padding: 0 0 0 30px; }
.checks li + li { margin-top: 10px; }
.checks li::before { content: ""; position: absolute; left: 3px; top: .42em; width: 11px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.checks.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 36px; }
.checks.cols-2 li + li { margin-top: 0; }
.ruled li { padding: 14px 0 14px 30px; border-bottom: 1px solid var(--line); }
.ruled li::before { top: calc(14px + .42em); }
.ruled li + li { margin-top: 0; }
.ruled { border-top: 1px solid var(--line); }

/* Who we serve cards: a ruled table rather than floating boxes. */
.cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.cols.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.col { display: flex; flex-direction: column; padding: 28px 26px 30px; border-right: 1px solid var(--line); }
.col:first-child { padding-left: 0; }
.col:last-child { padding-right: 0; border-right: 0; }
.col .ico { margin-bottom: 18px; }
.col h3 { margin-bottom: 10px; }
.col p { color: var(--muted); }
.col .link-arrow { margin-top: auto; padding-top: 12px; }

/* The accounting year */
.band { background: var(--band); color: var(--band-muted); }
.band h2, .band h3 { color: var(--band-fg); }
.band a { color: var(--band-fg); }
.band .ledger { border-top-color: var(--band-fg); }
.band .ledger-head > p { color: var(--band-muted); }
.band .section-head p { color: var(--band-muted); }
.year { margin: 0; }
.months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); padding-bottom: 12px; border-bottom: 1px solid var(--band-line); font: 600 .8125rem/1 var(--text); color: var(--band-muted); text-align: center; }
.year-rows { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); row-gap: 0; }
.year-row { padding: 20px 0 22px; border-bottom: 1px solid var(--band-line); }
.year-row .bar { display: block; height: 8px; margin: 0 4px 14px; border-radius: 1px; background: var(--brass-lt); }
.year-row .bar.seg { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0; margin: 0 0 14px; background: none; }
.year-row .bar.seg i { height: 8px; margin: 0 4px; border-radius: 1px; background: var(--brass-lt); opacity: .55; }
.year-row h3 { margin: 0 4px 4px; font-size: 1.2rem; }
.year-row .when { margin: 0 4px 6px; font-size: .875rem; font-weight: 600; color: var(--brass-lt); }
.year-row p { margin: 0 4px; font-size: .9375rem; color: var(--band-muted); max-width: 36em; }
.r1 { grid-column: 1 / 5; } .r2 { grid-column: 5 / 9; } .r3 { grid-column: 9 / 13; } .r4 { grid-column: 1 / 13; }
.year-note { margin: 22px 0 0; font-size: .9375rem; color: var(--band-muted); }
.year-note a { font-weight: 600; }

/* Quotes */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.quotes figure { margin: 0; padding: 28px 28px 8px; border-right: 1px solid var(--line); }
.quotes figure:first-child { padding-left: 0; }
.quotes figure:last-child { border-right: 0; padding-right: 0; }
.quotes blockquote { margin: 0 0 18px; font: italic 400 1.25rem/1.45 var(--display); color: var(--ink); }
.quotes blockquote p::before { content: "\201C"; }
.quotes blockquote p::after { content: "\201D"; }
.quotes figcaption { font-size: .9375rem; color: var(--muted); }
.quotes figcaption strong { display: block; color: var(--ink); }
.sample-note { margin: 24px 0 0; font-size: .875rem; color: var(--muted); }

/* FAQ */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; display: block; padding: 20px 48px 20px 0; font: 500 1.2rem/1.35 var(--display); color: var(--ink); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -9px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); transition: transform .15s; }
.faq details[open] summary::after { margin-top: -3px; transform: rotate(225deg); }
.faq summary:hover { color: var(--accent); }
.faq .answer { padding: 0 48px 22px 0; color: var(--body); }
.faq .answer p { max-width: 42em; }

/* Steps */
.steps { counter-reset: step; border-top: 1px solid var(--line); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 0 12px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); grid-row: span 2; font: 500 1.6rem/1.1 var(--display); font-variant-numeric: lining-nums tabular-nums; color: var(--accent); }
.steps h3 { font-size: 1.2rem; margin-bottom: 4px; }
.steps p { margin: 0; color: var(--muted); }
.steps.compact li { padding: 16px 0; grid-template-columns: 48px minmax(0, 1fr); }
.steps.compact li::before { font-size: 1.3rem; }

/* Interior page hero */
.page-hero { padding: 28px 0 clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 40px 64px; align-items: end; }
.page-hero h1 { margin-top: clamp(28px, 4vw, 52px); max-width: 15em; }
.page-hero .lede { margin-top: 20px; }
.page-hero .art { aspect-ratio: 6 / 5; }
.page-hero .art.wide { aspect-ratio: 640 / 440; }
.page-hero + .section { padding-top: clamp(48px, 6vw, 88px); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; font-size: .875rem; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: "/"; color: var(--field-line); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* Split section with a drawing */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.split .art { aspect-ratio: 6 / 5; }
.split h2 + .lede, .split h2 + p { margin-top: 16px; }
.split.wide-art { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }

/* Who we serve and About details */
.serve-list > section + section { margin-top: clamp(56px, 7vw, 96px); }
.serve-list .checks { margin: 18px 0 8px; }
.key-forms { margin: 22px 0 0; padding: 18px 20px; background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--brass); font-size: .9375rem; }
.key-forms p { margin: 0; }
.key-forms .link-arrow { margin-top: 4px; }
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.person { display: flex; flex-direction: column; padding: 24px 22px 26px; background: var(--card); border: 1px solid var(--line); border-top: 3px double var(--ink); }
.monogram { display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: 18px; border: 1px solid var(--brass); border-radius: 50%; background: var(--paper-2); font: 500 1.55rem/1 var(--display); font-variant-numeric: lining-nums; color: var(--accent); letter-spacing: .02em; }
.person h3 { font-size: 1.2rem; }
.person .role { margin: 4px 0 12px; font-size: .9375rem; font-weight: 600; color: var(--ink); }
.person p { font-size: .9375rem; color: var(--muted); }
.person .tag { align-self: flex-start; margin-top: auto; }
.team-note { margin: 0 0 28px; color: var(--muted); max-width: 44em; }
.hours-list li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.hours-list li:first-child { border-top: 1px solid var(--line); }
.contact-card { padding: 26px 26px 28px; background: var(--card); border: 1px solid var(--line); border-top: 3px double var(--ink); }
.contact-card h2 { font-size: 1.45rem; margin-bottom: 8px; }
.contact-card dl { margin: 16px 0 0; }
.contact-card dt { margin-top: 14px; font-size: .875rem; font-weight: 600; color: var(--muted); }
.contact-card dd { margin: 2px 0 0; }
.contact-card dd a { display: inline-flex; align-items: center; min-height: 44px; margin: -8px 0; font-weight: 600; }
.big-phone { display: inline-flex; align-items: center; min-height: 48px; font: 500 1.75rem/1.2 var(--display); font-variant-numeric: lining-nums; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--field-line); }
.big-phone:hover { color: var(--accent); border-bottom-color: var(--accent); }
.pill-row { margin: 12px 0 0; }
.pill-row:has([hidden]) { display: none; }
.hours-title { margin-bottom: 12px; font-size: 1.2rem; }

/* Resources: checklist builder */
.cl { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(28px, 4vw, 56px); align-items: start; padding-top: 28px; border-top: 3px double var(--ink); }
.cl-intro { max-width: 46em; margin-bottom: 32px; }
.cl-intro p { margin-top: 14px; color: var(--muted); }
@media (min-width: 901px) { .cl-picker { position: sticky; top: calc(var(--header-h) + 24px); } }
.cl-picker { margin: 0; padding: 0; border: 0; min-width: 0; }
.cl-picker legend { padding: 0; margin-bottom: 6px; font: 500 1.35rem/1.25 var(--display); color: var(--ink); }
.cl-picker .hint { margin: 0 0 18px; font-size: .9375rem; color: var(--muted); }
.cl-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opt-tile { position: relative; display: flex; align-items: flex-start; gap: 12px; min-height: 64px; padding: 13px 14px; background: var(--card); border: 1px solid var(--field-line); border-radius: 2px; cursor: pointer; transition: background-color .12s, border-color .12s; }
.opt-tile:hover { border-color: var(--ink); }
.opt-tile input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); cursor: pointer; }
.opt-tile span { display: block; font-size: .9375rem; line-height: 1.4; }
.opt-tile strong { display: block; font-weight: 650; }
.opt-tile small { display: block; margin-top: 2px; font-size: .8125rem; color: var(--muted); }
.opt-tile:has(input:checked) { background: var(--tint); border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.opt-tile:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.opt-tile input:focus-visible { outline: none; }
.cl-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; margin-top: 14px; }
.cl-jump { display: none; }
.cl-out { background: var(--card); border: 1px solid var(--line); padding: 26px clamp(20px, 3vw, 34px) 30px; }
.cl-out-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.cl-out-head h3 { font-size: 1.45rem; }
.cl-count { margin: 0; font-size: .9375rem; color: var(--muted); }
.cl-for { margin: 12px 0 0; font-size: .9375rem; color: var(--body); }
.cl-progress { display: flex; align-items: center; gap: 14px; margin-top: 14px; font-size: .875rem; color: var(--muted); }
.cl-progress .meter { flex: 1; height: 6px; background: var(--paper-2); border-radius: 3px; overflow: hidden; }
.cl-progress .meter i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s; }
.cl-empty { margin: 20px 0 4px; padding: 22px; background: var(--paper); border: 1px dashed var(--field-line); color: var(--muted); }
.cl-group { margin-top: 22px; }
.cl-group h4 { display: flex; align-items: center; gap: 10px; padding-bottom: 8px; font-size: 1.15rem; border-bottom: 1px solid var(--ink); }
.cl-group h4 .n { margin-left: auto; font: 600 .8125rem/1 var(--text); color: var(--muted); font-variant-numeric: tabular-nums; }
.cl-group ul li { border-bottom: 1px solid var(--line); }
.cl-item { display: flex; align-items: flex-start; gap: 12px; padding: 11px 0; cursor: pointer; font-size: .9688rem; line-height: 1.5; }
.cl-item input { flex: none; width: 19px; height: 19px; margin: 2px 0 0; accent-color: var(--accent); cursor: pointer; }
.cl-item:has(input:checked) span { color: var(--muted); }
.js .cl-group[hidden] { display: none; }
.cl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 26px; padding-top: 22px; border-top: 3px double var(--ink); }
.cl-status { min-height: 1.6em; margin: 12px 0 0; font-size: .9375rem; color: var(--ok); font-weight: 600; }
.cl-fallback { margin-top: 12px; }
.cl-fallback label { display: block; margin-bottom: 6px; font-size: .9375rem; font-weight: 650; color: var(--ink); }
.cl-fallback textarea { display: block; width: 100%; padding: 12px 14px; font: 400 .875rem/1.6 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; color: var(--ink); background: var(--field-bg); border: 1px solid var(--field-line); border-radius: 2px; }
.cl-note { margin: 14px 0 0; font-size: .875rem; color: var(--muted); }
.no-js-note { margin: 0 0 18px; padding: 14px 16px; border: 1px solid var(--line); background: var(--card); font-size: .9375rem; }
.js .no-js-note { display: none; }
html:not(.js) .cl-picker, html:not(.js) .cl-actions, html:not(.js) .cl-progress, html:not(.js) .cl-empty, html:not(.js) .cl-out-head .cl-count { display: none; }
html:not(.js) .cl { grid-template-columns: 1fr; }
.print-head { display: none; }
.res-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.res-card { padding: 26px 24px 28px; background: var(--card); border: 1px solid var(--line); border-top: 3px double var(--ink); }
.res-card .ico { margin-bottom: 16px; }
.res-card h3 { margin-bottom: 10px; }
.res-card p, .res-card li { font-size: .9688rem; color: var(--body); }
.res-card .checks { margin-top: 12px; }

/* Consultation form */
.consult { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px clamp(32px, 5vw, 72px); align-items: start; }
.consult-side > * + * { margin-top: 32px; }
.consult-side h2 { font-size: 1.45rem; margin-bottom: 14px; }
.form-card { padding: clamp(22px, 3vw, 36px); background: var(--card); border: 1px solid var(--line); border-top: 3px double var(--ink); }
.form-card > h2 { font-size: 1.6rem; }
.form-intro { margin: 8px 0 24px; color: var(--muted); font-size: .9688rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field { margin: 0 0 20px; }
.field > label, .field legend, .draft label { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 7px; padding: 0; font-size: .9375rem; font-weight: 650; color: var(--ink); }
.field .req, .field .opt { font-size: .8125rem; font-weight: 500; color: var(--muted); }
fieldset.field { margin: 0 0 20px; padding: 0; border: 0; min-width: 0; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea {
  display: block; width: 100%; min-height: 48px; padding: 11px 14px; font: 400 1rem/1.5 var(--text); color: var(--ink);
  background: var(--field-bg); border: 1px solid var(--field-line); border-radius: 2px;
}
.field select { appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
.field textarea { min-height: 120px; resize: vertical; }
.field ::placeholder { color: var(--ph); opacity: 1; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field [aria-invalid="true"] { border-color: var(--error); box-shadow: inset 0 0 0 1px var(--error); }
.field-error { margin: 6px 0 0; font-size: .875rem; font-weight: 600; color: var(--error); }
.field-error:empty { display: none; }
.field-help { margin: 6px 0 0; font-size: .8125rem; color: var(--muted); }
.radios { display: flex; flex-wrap: wrap; gap: 8px; }
.radio { flex: 1 1 auto; white-space: nowrap; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 12px; background: var(--field-bg); border: 1px solid var(--field-line); border-radius: 2px; font-size: .9375rem; cursor: pointer; }
.radio input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
.radio:has(input:checked) { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: var(--tint); }
.radio:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.radio input:focus-visible { outline: none; }
.notice { display: flex; gap: 14px; margin: 0 0 20px; padding: 16px 18px; background: var(--note-bg); border: 1px solid var(--note-line); border-left: 4px solid var(--accent); border-radius: 2px; font-size: .9375rem; line-height: 1.55; color: var(--ink); }
.notice svg { width: 24px; height: 24px; flex: none; margin-top: 1px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.notice p { margin: 0; }
.form-note { margin: 14px 0 0; font-size: .875rem; color: var(--muted); }
.form-summary { margin: 0 0 18px; padding: 14px 16px; border: 1px solid var(--error); border-left-width: 4px; background: #fbf1f0; color: var(--ink); font-size: .9375rem; }
.form-summary:focus { outline: 3px solid var(--focus); outline-offset: 2px; }
.form-summary ul { margin-top: 6px; }
.form-summary li { list-style: disc; margin-left: 20px; }
.form-summary a { font-weight: 600; color: var(--error); }
.draft { margin-top: 28px; padding-top: 26px; border-top: 3px double var(--ink); }
.draft h3 { font-size: 1.4rem; }
.draft h3:focus { outline: none; }
.draft > p { margin: 6px 0 16px; color: var(--muted); font-size: .9688rem; }
.draft textarea { display: block; width: 100%; min-height: 260px; padding: 14px 16px; font: 400 .9375rem/1.7 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; color: var(--ink); background: var(--field-bg); border: 1px solid var(--field-line); border-radius: 2px; resize: vertical; }
.draft-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 16px; }
.draft-status { min-height: 1.6em; margin: 12px 0 0; font-size: .9375rem; font-weight: 600; color: var(--ok); }

/* Prose (privacy) */
.prose { max-width: 44em; }
.prose h2 { margin: 44px 0 12px; font-size: 1.6rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul { margin: 0 0 1em; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li + li { margin-top: 6px; }
.prose ul li { line-height: 28px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 8px; height: 2px; background: var(--brass); }

/* 404 */
.lost { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.lost .index-row { grid-template-columns: minmax(0, 1fr) 40px; padding: 18px 0; }
.lost h1 { margin-bottom: 18px; }

/* CTA band */
.cta-band { background: var(--cta-bg); color: var(--cta-muted); padding: clamp(52px, 6vw, 76px) 0; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 56px; }
.cta-copy { max-width: 36em; }
.cta-band h2 { color: var(--cta-fg); }
.cta-band p { margin: 12px 0 0; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.cta-phone { display: inline-flex; align-items: center; min-height: 48px; font: 500 clamp(1.6rem, 2.4vw, 2rem)/1.1 var(--display); font-variant-numeric: lining-nums; color: var(--cta-fg); text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .5); }
.cta-phone:hover { color: var(--cta-fg); border-bottom-color: var(--cta-fg); }

/* Footer */
.site-footer { padding: clamp(52px, 6vw, 72px) 0 24px; background: var(--band); color: var(--band-muted); font-size: .9375rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 36px 48px; padding-bottom: 40px; }
.site-footer .wordmark { color: var(--band-fg); font-size: 1.4rem; }
.site-footer .mark-bg { fill: var(--accent); }
.footer-brand p { margin: 16px 0 0; max-width: 30em; }
.site-footer h2 { margin-bottom: 8px; font: 650 .9375rem/1.3 var(--text); letter-spacing: 0; color: var(--band-fg); }
.footer-list a { display: inline-flex; align-items: center; min-height: 44px; color: var(--band-muted); text-decoration: none; }
.footer-list a:hover { color: var(--band-fg); text-decoration: underline; }
.footer-contact p { margin: 10px 0 10px; }
.footer-hours li { padding: 2px 0; }
.footer-base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 18px; border-top: 1px solid var(--band-line); font-size: .875rem; }
.footer-base p { margin: 0; }
.footer-base .sep { margin: 0 6px; color: var(--field-line); }
.footer-base a { display: inline-flex; align-items: center; min-height: 44px; color: var(--band-muted); }
.footer-base a:hover { color: var(--band-fg); }

/* Responsive */
@media (max-width: 1239px) {
  .nav-phone { display: none; }
  .nav-list a { padding: 0 10px; }
  .header-row { gap: 20px; }
}
@media (max-width: 1100px) {
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols .col { padding: 26px 24px 28px 0; border-right: 0; }
  .cols .col:nth-child(odd) { padding-right: 28px; border-right: 1px solid var(--line); }
  .cols .col:nth-child(even) { padding-left: 28px; }
  .cols .col:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cols.c3 { grid-template-columns: 1fr; }
  .cols.c3 .col { padding: 24px 0; border-right: 0; }
  .cols.c3 .col + .col { border-top: 1px solid var(--line); }
  .res-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 999px) {
  :root { --header-h: 72px; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-left: auto; padding: 0 14px; flex: none;
    font: 600 .9375rem/1 var(--text); color: var(--ink); background: transparent; border: 1px solid var(--field-line); border-radius: 2px; cursor: pointer;
  }
  .menu-btn:hover { border-color: var(--ink); }
  .menu-lines { position: relative; width: 16px; height: 12px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
  .menu-lines::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid currentColor; }
  .site-header.open .menu-lines { border-color: transparent; }
  .site-header.open .menu-lines::before, .site-header.open .menu-lines::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid currentColor; transform: rotate(45deg); }
  .site-header.open .menu-lines::before { transform: rotate(-45deg); }
  .nav {
    display: none; position: absolute; top: 100%; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter));
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; background: var(--paper);
    border-top: 1px solid var(--line); border-bottom: 3px double var(--ink); max-height: calc(100vh - var(--header-h) - 60px); overflow-y: auto;
  }
  .site-header.open .nav { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list a { display: flex; min-height: 52px; padding: 0; font-size: 1.0625rem; border-bottom: 1px solid var(--line); }
  .nav-actions { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 16px; }
  .nav-phone { display: inline-flex; justify-content: center; min-height: 50px; border: 1px solid var(--ink); border-radius: 2px; }
  .nav-actions .btn { min-height: 50px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 640px; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .facts-grid > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .ledger { grid-template-columns: 1fr; }
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero .art-wrap { display: none; }
  .split, .split.wide-art { grid-template-columns: 1fr; }
  .split .art-wrap { max-width: 560px; }
  .quotes { grid-template-columns: 1fr; }
  .quotes figure { padding: 24px 0; border-right: 0; }
  .quotes figure + figure { border-top: 1px solid var(--line); }
  .cl { grid-template-columns: 1fr; }
  .cl-jump { display: inline-flex; }
  .consult { grid-template-columns: 1fr; }
  .consult-side { order: 2; }
  .lost { grid-template-columns: 1fr; }
  .year-rows { grid-template-columns: 1fr; }
  .r1, .r2, .r3, .r4 { grid-column: auto; }
  .months { display: none; }
  .year-row .bar, .year-row .bar.seg { display: none; }
  .year-row { border-left: 3px solid var(--brass-lt); padding-left: 16px; margin-top: 0; }
  .year-rows { border-top: 1px solid var(--band-line); }
}
@media (max-width: 720px) {
  .cols { grid-template-columns: 1fr; }
  .cols .col, .cols .col:nth-child(odd), .cols .col:nth-child(even) { padding: 24px 0; border-right: 0; }
  .cols .col + .col { border-top: 1px solid var(--line); }
  .res-grid { grid-template-columns: 1fr; }
  .checks.cols-2 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .topbar-hours > span:not(.pill) { display: none; }
  .topbar-email { display: none !important; }
  .wordmark { font-size: 1.25rem; gap: 10px; }
  .mark { width: 26px; height: 26px; }
  .facts-grid { grid-template-columns: 1fr; }
  .facts-grid > div, .facts-grid > div:nth-child(3) { padding: 16px 0; border-left: 0; }
  .facts-grid > div + div { border-top: 1px solid var(--line); }
  .index-row { grid-template-columns: 40px minmax(0, 1fr); gap: 16px; }
  .index-row .ico { width: 36px; height: 36px; }
  .index-row .go { display: none; }
  .team { grid-template-columns: 1fr; }
  .cl-options { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-contact { grid-column: 1 / -1; }
  .btn-row .btn { flex: 1 1 100%; }
  .cl-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .cl-actions .btn:first-child { grid-column: 1 / -1; }
  .draft-actions .btn { flex: 1 1 auto; }
  .cta-actions { flex-direction: column; align-items: flex-start; }
  .faq summary { font-size: 1.12rem; }
  .steps li { grid-template-columns: 48px minmax(0, 1fr); }
  .steps li::before { font-size: 1.35rem; }
}
@media (max-width: 400px) {
  .wordmark { font-size: 1.12rem; gap: 8px; }
  .mark { width: 24px; height: 24px; }
  .menu-btn { gap: 8px; padding: 0 11px; }
  .header-row { gap: 10px; }
  .topbar-contact { gap: 14px !important; }
  .footer-grid { grid-template-columns: 1fr; }
  .cl-out { padding-left: 16px; padding-right: 16px; }
  .form-card { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 340px) {
  .wordmark { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Print: the checklist prints on its own; other pages print their main content. */
@media print {
  @page { margin: 16mm 14mm; }
  body { padding: 0; background: #ffffff; color: #000000; font-size: 11pt; }
  .skip, .topbar, .site-header, .site-footer, .cta-band, .crumbs, .btn-row, .menu-btn { display: none !important; }
  .section, .page-hero { padding: 16px 0; }
  .section-alt, .band { background: #ffffff; color: #000000; }
  .page-resources main > *:not(#checklist) { display: none !important; }
  .page-resources #checklist { padding: 0; }
  .page-resources #checklist .cl-intro, .cl-picker, .cl-actions, .cl-note, .cl-progress, .cl-tools, .cl-status { display: none !important; }
  .cl { display: block; padding: 0; border: 0; }
  .cl-out { border: 0; padding: 0; background: #ffffff; }
  .print-head { display: block; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 3px double #000000; }
  .print-head p { margin: 2px 0 0; font-size: 10pt; }
  .cl-group { break-inside: avoid-page; }
  .cl-item { padding: 6px 0; }
  .cl-group h4 { break-after: avoid; }
  a { color: #000000; }
}

/* Showcase bar. Showcase chrome, not part of any template: Lumen Alto's night colors
   in every template and style, removed when a template becomes a client site.
   build.py appends this to base.css (Standard) and inlines it in single-page templates. */
.sc-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; align-items: center; gap: 16px; height: 52px; padding: 0 clamp(16px, 3vw, 40px);
  background: #000000; color: #f2f0eb; border-top: 1px solid rgba(242, 240, 235, .16);
  font: 500 .9rem/1 system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: 0; text-transform: none;
  overflow-x: auto; white-space: nowrap;
}
.sc-bar a { color: #f2f0eb; text-decoration: none; }
.sc-bar a:hover { text-decoration: underline; }
.sc-bar :focus-visible { outline: 2px solid #f2f0eb; outline-offset: 2px; }
.sc-home { font-weight: 700; padding-right: 16px; border-right: 1px solid rgba(242, 240, 235, .24); }
.sc-label { color: rgba(242, 240, 235, .62); }
.sc-styles { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.sc-styles li { flex-shrink: 0; text-wrap: nowrap; }
.sc-styles a { display: inline-block; padding: 7px 12px; border: 1px solid transparent; border-radius: 2px; }
.sc-styles a[aria-current] { border-color: rgba(242, 240, 235, .5); }
@media print { .sc-bar { display: none; } }

/* Template look switcher (2026-11-02): a bar at the top of every template page, above the site's
   header, and a corner "Next look" button once the bar scrolls away. Industry sites keep .sc-bar. */
.sc-looks {
  position: relative; z-index: 60;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  padding: 12px clamp(16px, 3vw, 40px);
  background: #000000; color: #f2f0eb; border-bottom: 1px solid rgba(242, 240, 235, .16);
  font: 500 15px/1.3 system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: 0; text-transform: none; text-align: left;
}
.sc-looks a { color: #f2f0eb; text-decoration: none; }
.sc-looks :focus-visible, .sc-pill:focus-visible { outline: 2px solid #f2f0eb; outline-offset: 3px; }
.sc-looks p { margin: 0; }
.sc-looks-home { font-weight: 700; padding-right: 14px; border-right: 1px solid rgba(242, 240, 235, .24); }
.sc-looks-home:hover { text-decoration: underline; }
.sc-looks-prompt { font-weight: 700; }
.sc-looks-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.sc-looks-list a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 13px 0 7px;
  border: 1px solid rgba(242, 240, 235, .38); border-radius: 999px; white-space: nowrap; font-size: 14px;
}
.sc-looks-list a:hover { border-color: #f2f0eb; background: rgba(242, 240, 235, .1); }
.sc-looks-list a[aria-current] { border: 2px solid #f2f0eb; padding: 0 12px 0 6px; background: rgba(242, 240, 235, .14); font-weight: 700; }
.sc-sw {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(135deg, var(--a) 0 50%, var(--b) 50% 100%);
  box-shadow: 0 0 0 1px rgba(242, 240, 235, .55);
}
.sc-looks-count { margin-left: auto !important; color: rgba(242, 240, 235, .78); white-space: nowrap; }
.sc-looks-cur { display: none; }
.sc-looks-next, .sc-pill {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 18px; border-radius: 999px;
  background: #f2f0eb; color: #000000 !important; font-weight: 700; white-space: nowrap;
}
.sc-looks-next:hover, .sc-pill:hover { background: #ffffff; }
.sc-vh { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sc-pill {
  position: fixed; right: 16px; bottom: 16px; z-index: 60; gap: 10px; min-height: 46px;
  font: 700 15px/1 system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: 0; text-transform: none; text-decoration: none;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .7), 0 8px 24px rgba(0, 0, 0, .35);
}
.sc-pill[hidden] { display: none; }
.sc-pill-count { font-weight: 500; color: #3a3a3a; }
/* The prompt needs the most room, then the names. Below 1440px the prompt goes; below 1200px the
   names give way to swatches (names stay as tooltips) and the count names the current look. */
@media (max-width: 1439px) { .sc-looks-prompt { display: none; } }
@media (max-width: 1199px) {
  .sc-looks-name { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .sc-looks-list a, .sc-looks-list a[aria-current] { width: 40px; padding: 0; justify-content: center; }
  .sc-looks-list a[aria-current] .sc-sw { box-shadow: 0 0 0 2px #000000, 0 0 0 4px #f2f0eb; }
  .sc-looks-list a { border-color: transparent; }
  .sc-looks-list a[aria-current] { border-color: transparent; background: none; }
  .sc-looks-cur { display: inline; color: #f2f0eb; font-weight: 700; }
}
@media (max-width: 760px) {
  .sc-looks { padding-block: 10px; }
  .sc-looks-home { order: 1; }
  .sc-looks-next { order: 2; margin-left: auto; }
  .sc-looks-count { order: 3; flex-basis: 100%; margin-left: 0 !important; }
  .sc-looks-list { order: 4; }
  .sc-pill-count { display: none; }
}
@media print { .sc-looks, .sc-pill { display: none !important; } }
