/* 340 Solutions — Architectural Intelligence (production build, 2026-10-24). Consulting pages only; /notary uses notary.css (family v4).
   System: the 340 module — 3 bays : 4 bays : the open circle. Split layouts use a 3:4 column ratio;
   the circle marks position, state and sequence. Fonts: Newsreader + Instrument Sans (SIL OFL, files in fonts/). */

/* Subset + instanced (see fonts/README.txt): ~89 KB total */
@font-face { font-family: "Newsreader"; src: url("/assets/fonts/newsreader-roman.woff2") format("woff2"); font-weight: 340 520; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/assets/fonts/newsreader-italic.woff2") format("woff2"); font-weight: 360; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/assets/fonts/instrument-sans-v4.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  /* Surfaces */
  --ivory: #f4f0e8;        /* page */
  --paper: #faf8f3;        /* architectural white */
  --stone: #e8e2d7;        /* quiet surface */
  --stone-2: #d5ccbd;      /* strong rule */
  --ink: #161513;          /* deepest dark */
  --charcoal: #22201d;     /* dark sections */
  /* Type */
  --graphite: #1d1c1a;     /* text on light: 15.0:1 on ivory */
  --muted: #57524a;        /* secondary on light: 6.8:1 on ivory */
  --subtle: #645e55;       /* tertiary on light: 5.6:1 on ivory, 5.0:1 on stone */
  --on-dark: #f1ece3;      /* text on charcoal: 13.8:1 */
  --on-dark-muted: #b8b0a3;/* secondary on charcoal: 7.6:1 */
  /* Signature */
  --bronze: #8a5a2e;       /* accent text/lines on light: 5.2:1 on ivory, 4.6:1 on stone */
  --bronze-deep: #6f4520;  /* hover / pressed */
  --copper: #c9935f;       /* accent on dark: 6.1:1 on charcoal */
  --line: rgba(29, 28, 26, .14);
  --line-strong: rgba(29, 28, 26, .32);
  --line-dark: rgba(241, 236, 227, .14);
  --focus: #1d4ed8;

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Type scale (fluid, 1.25 → 1.333) */
  --t-xs: 0.8125rem; --t-sm: 0.9375rem; --t-md: 1.0625rem; --t-lg: clamp(1.15rem, 1.05rem + 0.4vw, 1.3rem);
  --t-xl: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); --t-2xl: clamp(2rem, 1.4rem + 2.2vw, 3.15rem);
  --t-3xl: clamp(2.55rem, 1.3rem + 4.4vw, 5.4rem);

  /* Spacing (4px base) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
  --gutter: clamp(20px, 4.5vw, 64px);
  --sec-y: clamp(60px, 7vw, 112px);
  --max: 88rem;
  --hdr-h: 72px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}
html[data-text="lg"] { font-size: 112.5%; }
html[data-text="xl"] { font-size: 125%; }
html[data-contrast="high"] { --muted: #3a3632; --subtle: #45403a; --line: rgba(29, 28, 26, .4); --line-strong: rgba(29, 28, 26, .7); --on-dark-muted: #ddd6ca; --line-dark: rgba(241, 236, 227, .4); }
@media (prefers-contrast: more) { :root { --muted: #3a3632; --subtle: #45403a; --line: rgba(29, 28, 26, .4); --on-dark-muted: #ddd6ca; } }

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body { background: var(--ivory); color: var(--graphite); font: 400 var(--t-md)/1.62 var(--sans); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.sec-dark :focus-visible, .cta-band :focus-visible, .site-footer :focus-visible { outline-color: #9ec1ff; }
.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; }
.nowrap { white-space: nowrap; }
.skip { position: absolute; left: var(--s4); top: -100px; z-index: 100; padding: var(--s3) var(--s4); background: var(--graphite); color: var(--paper); }
.skip:focus { top: var(--s4); }
main:focus { outline: none; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 420; letter-spacing: -0.015em; line-height: 1.08; text-wrap: balance; }
h2 { font-weight: 400; letter-spacing: -0.022em; line-height: 1.04; }
/* Very large text on small screens: long words hyphenate or break instead of forcing sideways scrolling */
/* No automatic hyphenation: words stay whole; a word breaks only if it cannot fit at all (extreme text zoom) */
h1, h2, h3, .case-q, .svc-name, .exp-num, .ledger strong, .nav-links a { hyphens: manual; overflow-wrap: break-word; }
h2 { font-size: var(--t-2xl); }
h3 { font-size: var(--t-xl); line-height: 1.2; }
em { font-style: italic; }
p { max-width: 68ch; }
p, li, dd, dt, label, summary { overflow-wrap: break-word; }
.kicker { display: flex; align-items: center; gap: var(--s3); font-size: var(--t-sm); font-weight: 500; color: var(--muted); margin-bottom: var(--s5); }
.kicker .o { flex: none; width: 10px; height: 10px; border: 1.5px solid var(--bronze); border-radius: 50%; }
.label { display: block; font-size: var(--t-sm); font-weight: 600; color: var(--graphite); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 48px; padding: 0 var(--s5);
  border: 1px solid transparent; border-radius: 2px; font-family: var(--sans); font-weight: 600; font-size: var(--t-sm); letter-spacing: 0.005em;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .18s var(--ease-out), color .18s var(--ease-out), border-color .18s var(--ease-out), transform .12s var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn .arr { width: 14px; margin-left: 2px; }
@media (hover: hover) { .btn:hover .arr { width: 22px; } }
.btn-solid { background: var(--graphite); color: var(--paper); }
.btn-solid:hover { background: var(--bronze-deep); }
.btn-line { border-color: var(--line-strong); color: var(--graphite); }
.btn-line:hover { border-color: var(--graphite); }
.btn-bronze { background: var(--copper); color: var(--ink); }
.btn-bronze:hover { background: #ddb084; }
.btn-sm { min-height: 40px; padding: 0 var(--s4); }
.btn-block { width: 100%; }
.arrow-link { display: inline-flex; align-items: center; gap: var(--s2); font-weight: 600; color: var(--bronze); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: rgba(138, 90, 46, .4); padding-block: var(--s1); }
.arrow-link:hover { text-decoration-color: currentColor; }
.arr { width: 18px; height: 1px; background: currentColor; position: relative; transition: width .2s var(--ease-out); }
.arr::after { content: ""; position: absolute; right: 0; top: -3.5px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); transform-origin: 70% 30%; }
@media (hover: hover) { .arrow-link:hover .arr { width: 26px; } }
.a11y-reset { background: none; border: 0; padding: var(--s1) 0; color: var(--bronze); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

/* ---------- Header ---------- */
/* Solid bar: no backdrop blur (it would trap the fixed mobile sheet and greys over dark sections) */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ivory); border-bottom: 1px solid transparent; transition: border-color .2s var(--ease-out); }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s5); min-height: var(--hdr-h); }
.logo { display: inline-flex; align-items: center; gap: var(--s3); text-decoration: none; flex: none; min-height: 44px; }
/* The mark: three bays | four-bay field with the open circle (3 : 4 : 0) */
.logo-num { font-family: var(--serif); font-size: 1.6rem; font-weight: 480; letter-spacing: -0.03em; line-height: 1; margin-top: -2px; }
.logo-word { font-size: var(--t-sm); font-weight: 500; color: var(--muted); padding-left: var(--s3); border-left: 1px solid var(--line-strong); line-height: 1.2; }
.primary-nav { margin-left: auto; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 clamp(var(--s4), 2vw, var(--s6)); }
.nav-links a { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: var(--t-sm); font-weight: 500; text-decoration: none; color: var(--muted); transition: color .15s var(--ease-out); }
.nav-links a:hover, .nav-links a.is-active { color: var(--graphite); }
.nav-links a::before { content: ""; position: absolute; left: 0; right: 0; bottom: 12px; height: 1px; background: var(--bronze); transform: scaleX(0); transform-origin: 0 50%; transition: transform .22s var(--ease-out); }
@media (hover: hover) { .nav-links a:hover::before { transform: scaleX(1); } }
.nav-links a::after { content: ""; position: absolute; left: 50%; bottom: 8px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; border: 1px solid var(--bronze); opacity: 0; transform: scale(.4); transition: opacity .2s var(--ease-out), transform .2s var(--ease-out); }
.nav-links a.is-active::after { opacity: 1; transform: none; }
.nav-family { padding-left: clamp(var(--s4), 2vw, var(--s6)); border-left: 1px solid var(--line-strong); }
.i-ext { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease-out); }
.nav-family a:hover .i-ext { transform: translate(1px, -1px); }
.nav-sheet-foot { display: none; }
.header-tools { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); }
.tool { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-width: 44px; height: 44px; padding: 0 var(--s3); border: 1px solid var(--line); border-radius: 2px; background: transparent; cursor: pointer; font-weight: 600; font-size: var(--t-sm); }
.tool:hover { border-color: var(--line-strong); }
.tool[aria-expanded="true"] { border-color: var(--graphite); }
.nav-toggle { display: none; }
.menu-lines { position: relative; width: 18px; height: 8px; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transition: transform .2s var(--ease-out); }
.nav-toggle[aria-expanded="true"] .menu-lines { border-bottom-color: transparent; transform: translateY(3px); }

.a11y-panel { position: absolute; right: var(--gutter); top: calc(100% + 8px); width: min(320px, calc(100vw - 2 * var(--gutter))); padding: var(--s5); background: var(--paper); border: 1px solid var(--line-strong); box-shadow: 0 24px 48px -24px rgba(22, 21, 19, .35); z-index: 60; }
.a11y-title { font-family: var(--serif); font-size: var(--t-lg); margin-bottom: var(--s3); }
.a11y-panel fieldset { border: 0; padding: 0; margin: 0 0 var(--s4); display: flex; flex-wrap: wrap; gap: var(--s1) var(--s4); }
.a11y-panel legend { width: 100%; font-size: var(--t-sm); font-weight: 600; margin-bottom: var(--s1); }
.a11y-panel label { display: inline-flex; align-items: center; gap: var(--s2); min-height: 36px; font-size: var(--t-sm); cursor: pointer; }
.a11y-panel input { accent-color: var(--bronze); width: 18px; height: 18px; }
.a11y-note { margin-top: var(--s2); font-size: var(--t-xs); color: var(--subtle); }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(32px, 4.5vw, 64px); }
.hero h1 { font-size: var(--t-3xl); font-weight: 380; line-height: 1.0; letter-spacing: -0.032em; }
.hero-row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4fr); gap: var(--s6) clamp(var(--s7), 6vw, var(--s10)); align-items: center; margin-top: clamp(var(--s6), 4vw, var(--s8)); }
.h1-a { display: block; }
.h1-b { display: block; color: var(--bronze); font-weight: 360; }
.lede { max-width: 36rem; font-size: var(--t-lg); color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }
.note { margin-top: var(--s4); font-size: var(--t-sm); color: var(--subtle); }
.pillars { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); margin-top: var(--s6); padding-top: var(--s4); border-top: 1px solid var(--line); font-size: var(--t-sm); font-weight: 500; }
.pillars li { display: inline-flex; align-items: center; gap: var(--s2); }
.pillars li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--bronze); }


/* Columns sized in rem: four at desktop, fewer as text grows */
.ledger { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); column-gap: var(--s6); margin-top: clamp(var(--s6), 4vw, var(--s8)); border-top: 1px solid var(--graphite); }
.ledger li { padding: var(--s5) 0 var(--s6); display: grid; gap: var(--s1); align-content: start; border-top: 1px solid var(--line); margin-top: -1px; }
.ledger strong { font-family: var(--serif); font-size: var(--t-xl); font-weight: 450; letter-spacing: -0.01em; line-height: 1.15; }
.ledger span { font-size: var(--t-sm); color: var(--muted); }

/* ---------- Sections ---------- */
.sec { padding-block: var(--sec-y); }
.sec-paper { background: var(--paper); border-block: 1px solid var(--line); }
.sec-stone { background: var(--stone); }
.sec-dark { background: var(--charcoal); color: var(--on-dark); }
.sec-dark .kicker { color: var(--on-dark-muted); }
.sec-dark .kicker .o { border-color: var(--copper); }
.sec-head { margin-bottom: clamp(var(--s7), 6vw, var(--s9)); }
.sec-head.split { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4fr); gap: var(--s5) clamp(var(--s6), 6vw, var(--s10)); align-items: end; }
.sec-intro { font-size: var(--t-lg); color: var(--muted); max-width: 40rem; }
.sec-dark .sec-intro { color: var(--on-dark-muted); }

/* Service index: disclosure buttons; on wide screens the open body sits in the right-hand bay */
.fit { margin-bottom: var(--s7); }
.fit-q { font-size: var(--t-sm); font-weight: 600; margin-bottom: var(--s3); }
.fit-opts { display: flex; flex-wrap: wrap; gap: var(--s2); }
.fit-opts button { min-height: 40px; padding: var(--s2) var(--s4); border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; font-size: var(--t-sm); text-align: left; cursor: pointer; transition: border-color .15s var(--ease-out), background-color .15s var(--ease-out); }
.fit-opts button:hover { border-color: var(--graphite); }
.fit-opts button[aria-pressed="true"] { background: var(--graphite); border-color: var(--graphite); color: var(--paper); }

.svc { border-top: 1px solid var(--graphite); }
.svc-h { font-size: inherit; line-height: inherit; letter-spacing: 0; font-family: var(--sans); }
.svc-btn { display: grid; grid-template-columns: 3.25rem minmax(0, 1fr) 20px; align-items: center; gap: var(--s3); width: 100%; min-height: 72px; padding: var(--s4) 0; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; cursor: pointer; }
.svc { counter-reset: svc; }
.svc-btn::before { counter-increment: svc; content: counter(svc, decimal-leading-zero); font-variant-numeric: tabular-nums; font-size: var(--t-sm); font-weight: 600; color: var(--subtle); transition: color .2s var(--ease-out); }
.svc-name { font-family: var(--serif); font-size: var(--t-xl); font-weight: 420; letter-spacing: -0.012em; line-height: 1.2; transition: transform .25s var(--ease-out); }
.svc-o { width: 14px; height: 14px; border: 1.5px solid var(--line-strong); border-radius: 50%; justify-self: end; transition: background-color .2s var(--ease-out), border-color .2s var(--ease-out), transform .2s var(--ease-out); }
.svc-btn:hover .svc-o { border-color: var(--bronze); }
.svc-btn[aria-expanded="true"]::before { color: var(--bronze); }
.svc-btn[aria-expanded="true"] .svc-o { background: var(--bronze); border-color: var(--bronze); }
.svc-body { padding: var(--s4) 0 var(--s7) calc(3.25rem + var(--s3)); border-bottom: 1px solid var(--line); }
.svc-title { display: none; }
.svc-lead { font-family: var(--serif); font-size: var(--t-lg); line-height: 1.45; max-width: 34rem; }
.svc-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s6); margin-top: var(--s6); }
.olist { display: grid; gap: var(--s2); margin-top: var(--s3); }
.olist li { position: relative; padding-left: 22px; }
.olist li::before { content: ""; position: absolute; left: 0; top: .58em; width: 9px; height: 9px; border: 1.5px solid var(--bronze); border-radius: 50%; }
.when { align-self: start; padding: var(--s4) var(--s5); border-left: 2px solid var(--bronze); background: var(--stone); font-size: var(--t-sm); }
.when .label { margin-bottom: var(--s1); color: var(--bronze-deep); }
.svc-cta { margin-top: var(--s6); }
.family-note { margin-top: var(--s7); color: var(--muted); }
.family-note .arrow-link { margin-left: var(--s2); }

@media (min-width: 1024px) {
  .is-enhanced .service { display: contents; }
  .svc.is-enhanced { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4fr); column-gap: clamp(var(--s7), 6vw, var(--s10)); border-top: 0; }
  .is-enhanced .svc-h { grid-column: 1; border-top: 0; }
  .is-enhanced .service:first-child .svc-btn { border-top: 1px solid var(--graphite); }
  .is-enhanced .svc-body { grid-column: 2; grid-row: 1 / span 6; align-self: start; padding: var(--s7); border: 1px solid var(--line); background: var(--ivory); position: relative; }
  .is-enhanced .svc-body::before { content: ""; position: absolute; left: -1px; top: -1px; width: 3px; height: 72px; background: var(--bronze); }
  .is-enhanced .svc-btn[aria-expanded="true"] .svc-name { transform: translateX(6px); }
  .is-enhanced .svc-title { display: block; font-family: var(--serif); font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.6rem); font-weight: 400; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: var(--s4); text-wrap: balance; }
  .is-enhanced .svc-body:not([hidden]) { animation: panel-in .28s var(--ease-out); }
}
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } }

/* Who we help: a ledger of situations → responses */
.cases { border-top: 1px solid var(--line-dark); }
.cases li { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4fr); gap: var(--s4) clamp(var(--s5), 4vw, var(--s8)); align-items: baseline; padding: clamp(var(--s5), 3vw, var(--s6)) 0; border-bottom: 1px solid var(--line-dark); }
.case-q { font-family: var(--serif); font-style: italic; font-weight: 360; font-size: var(--t-xl); line-height: 1.25; letter-spacing: -0.01em; }
.case-a { position: relative; padding-left: 44px; color: var(--on-dark-muted); }
.case-a::before { content: ""; position: absolute; left: 0; top: .8em; width: 28px; height: 1px; background: var(--copper); }

/* Experience: figure + strata (a section cut through the practice areas) */
.exp { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4fr); gap: clamp(var(--s7), 7vw, var(--s10)); align-items: start; }
.exp-num { font-family: var(--serif); font-size: clamp(5rem, 3rem + 9vw, 10.5rem); font-weight: 300; line-height: .85; letter-spacing: -0.05em; }
.exp-num span { color: var(--bronze); }
.exp-cap { margin-top: var(--s3); font-size: var(--t-lg); color: var(--muted); }
.strata { margin-top: var(--s7); }
.strata li { position: relative; padding: var(--s3) 0 var(--s3) var(--s4); border-top: 1px solid var(--line-strong); font-size: var(--t-sm); font-weight: 500; }
.strata li:nth-child(2) { margin-left: 6%; } .strata li:nth-child(3) { margin-left: 12%; } .strata li:nth-child(4) { margin-left: 18%; }
.strata li:nth-child(5) { margin-left: 24%; } .strata li:nth-child(6) { margin-left: 30%; border-bottom: 1px solid var(--line-strong); }
.strata li::before { content: ""; position: absolute; left: 0; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--bronze); }
.exp-copy h2 { margin-bottom: var(--s5); }
.exp-copy > p:not(.kicker) { color: var(--muted); margin-bottom: var(--s4); }
.olist-lg { margin-top: var(--s6); gap: 0; border-top: 1px solid var(--line); }
.olist-lg li { padding: var(--s3) 0 var(--s3) 26px; border-bottom: 1px solid var(--line); }
.olist-lg li::before { top: calc(var(--s3) + .55em); }

/* Approach: a dimension line with four stations */
.dimline { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s6); padding-top: var(--s7); }
.dimline::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--graphite); }
.dimline::after { content: ""; position: absolute; right: 0; top: 0; width: 1px; height: 15px; background: var(--graphite); }
.dimline li { position: relative; }
.dimline li::before { content: ""; position: absolute; left: 0; top: calc(-1 * var(--s7)); width: 15px; height: 15px; border: 1.5px solid var(--graphite); border-radius: 50%; background: var(--stone); }
.dimline li:first-child::before { background: var(--bronze); border-color: var(--bronze); }
.dl-n { display: block; font-size: var(--t-sm); font-weight: 600; color: var(--bronze); margin-bottom: var(--s2); font-variant-numeric: tabular-nums; }
.dimline h3 { margin-bottom: var(--s2); }
.dimline p { color: var(--muted); }

/* Why: tenets set like an editorial spread, staggered */
.why { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4fr); gap: clamp(var(--s7), 7vw, var(--s10)); }
.why-head { position: sticky; top: calc(var(--hdr-h) + var(--s6)); align-self: start; }
.why-head h2 { font-size: clamp(2.2rem, 1.6rem + 3vw, 4rem); }
.why-head em { font-style: normal; color: var(--bronze); }
.tenets { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s8) var(--s7); }
.tenets li { position: relative; border-top: 1px solid var(--graphite); padding-top: var(--s6); }
.tenets li::before { content: ""; position: absolute; left: 0; top: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--ivory); border: 1.5px solid var(--bronze); }
.tenets li:nth-child(even) { margin-top: var(--s9); margin-bottom: calc(-1 * var(--s9)); }
.tenets h3 { margin-bottom: var(--s3); }
.tenets p { color: var(--muted); }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4fr); gap: clamp(var(--s7), 7vw, var(--s10)); }
.faq-list { border-top: 1px solid var(--graphite); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; display: block; padding: var(--s5) 44px var(--s5) 0; font-family: var(--serif); font-size: var(--t-lg); line-height: 1.35; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before, .faq-list summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 1.5px; background: var(--graphite); transition: transform .22s var(--ease-out); }
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: rotate(0deg); }
.faq-list summary:hover { color: var(--bronze-deep); }
.faq-a { padding: 0 var(--s7) var(--s5) 0; color: var(--muted); }

/* CTA */
.cta-band { position: relative; overflow: hidden; background: var(--ink); color: var(--on-dark); padding-block: clamp(var(--s8), 8vw, 128px); }
.cta-in { position: relative; }
.cta-band h2 { font-size: var(--t-3xl); font-weight: 360; max-width: 14ch; letter-spacing: -0.03em; line-height: 1.02; }
.cta-band p { margin-top: var(--s5); max-width: 36rem; color: var(--on-dark-muted); font-size: var(--t-lg); }
.cta-band .btn { margin-top: var(--s6); }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4fr); gap: clamp(var(--s7), 7vw, var(--s10)); align-items: start; }
.contact-info h2 { margin-bottom: var(--s4); }
.contact-info > p:not(.kicker) { color: var(--muted); }
.facts { margin-top: var(--s6); border-top: 1px solid var(--graphite); }
.facts div { display: grid; grid-template-columns: minmax(0, 8rem) minmax(0, 1fr); gap: var(--s4); padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: var(--t-sm); font-weight: 600; }
.facts dd { color: var(--muted); }
.facts a { display: inline-block; padding-block: 3px; color: var(--bronze); text-underline-offset: 4px; }
.contact-form { position: relative; padding: clamp(var(--s5), 4vw, var(--s7)); background: var(--paper); border: 1px solid var(--line); }
/* Crop marks at two corners of the form sheet */
.contact-form::before, .contact-form::after { content: ""; position: absolute; width: 18px; height: 18px; border: 0 solid var(--bronze); pointer-events: none; }
.contact-form::before { left: -9px; top: -9px; border-width: 1px 0 0 1px; }
.contact-form::after { right: -9px; bottom: -9px; border-width: 0 1px 1px 0; }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s4); }
.field { display: grid; gap: var(--s2); margin-bottom: var(--s5); }
.field label { font-size: var(--t-sm); font-weight: 600; }
.optional { font-weight: 400; color: var(--subtle); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: var(--s3) var(--s4); border: 1px solid #8f877b; border-radius: 2px; background: #fff; transition: border-color .15s var(--ease-out), box-shadow .15s var(--ease-out); }
.field textarea { resize: vertical; min-height: 132px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--graphite); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--graphite); }
.field [aria-invalid="true"] { border-color: #a1260d; box-shadow: inset 3px 0 0 #a1260d; }
.field-hint { font-size: var(--t-xs); color: var(--subtle); }
.form-privacy { margin-top: var(--s4); font-size: var(--t-xs); color: var(--subtle); }
.form-privacy a { color: var(--bronze); }
.form-panel { margin-top: var(--s5); padding: var(--s5); border-left: 3px solid var(--bronze); background: var(--stone); }
.form-panel h3 { font-size: var(--t-lg); margin-bottom: var(--s2); }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding-top: clamp(var(--s7), 6vw, var(--s9)); }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ftr-lead { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4fr); gap: var(--s6) clamp(var(--s7), 6vw, var(--s10)); align-items: start; padding-bottom: clamp(var(--s7), 6vw, var(--s9)); }
.ftr-lock { display: inline-flex; flex-wrap: wrap; align-items: center; gap: clamp(var(--s4), 2vw, var(--s5)); text-decoration: none; }
.site-footer .ftr-lock:hover { text-decoration: none; }
.ftr-word { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: var(--s3); font-family: var(--serif); font-size: clamp(3.4rem, 2rem + 5.5vw, 7rem); font-weight: 340; letter-spacing: -0.04em; line-height: .9; color: var(--on-dark); }
.ftr-word span { font-family: var(--sans); font-size: var(--t-md); font-weight: 500; letter-spacing: 0; color: var(--on-dark-muted); }
.ftr-pitch p { font-family: var(--serif); font-size: var(--t-xl); line-height: 1.3; color: var(--on-dark); max-width: 30ch; margin-bottom: var(--s5); }
.site-footer .arrow-link { color: var(--copper); text-decoration-color: rgba(201, 147, 95, .45); }
.ftr-top { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s7); padding-block: var(--s7); }
.ftr-meta { padding-top: 6px; font-size: var(--t-sm); }
.ftr-h { font-size: var(--t-sm); font-weight: 600; color: var(--on-dark); margin-bottom: var(--s3); }
.ftr-h2 { margin-top: var(--s6); }
.ftr-col li a { display: inline-block; padding: 6px 0; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3) var(--s6); padding-block: var(--s5); font-size: var(--t-sm); }
/* Footer rules sit on the content width, not the gutters */
.ftr-top, .footer-bottom { background: linear-gradient(var(--line-dark), var(--line-dark)) no-repeat center top / calc(100% - 2 * var(--gutter)) 1px; }
.legal-links { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s5); }
.legal-links a { display: inline-block; padding: 4px 0; color: var(--on-dark-muted); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  html:not([data-motion="reduce"]) .hero-copy > * { animation: rise .55s var(--ease-out) backwards; }
  html:not([data-motion="reduce"]) .hero-copy > :nth-child(2) { animation-delay: .06s; }
  html:not([data-motion="reduce"]) .hero-copy > :nth-child(3) { animation-delay: .12s; }
  html:not([data-motion="reduce"]) .hero-copy > :nth-child(n+4) { animation-delay: .18s; }
  html:not([data-motion="reduce"]) .reveal { transition: opacity .45s var(--ease-out), transform .45s var(--ease-out); }
  html:not([data-motion="reduce"]) .reveal.is-pending { opacity: 0; transform: translateY(10px); }
}
/* Hero entrance moves but never hides text (opacity stays 1), so the largest paint is recorded at first paint */
@keyframes rise { from { transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition: none !important; } }
html[data-motion="reduce"] { scroll-behavior: auto; }
html[data-motion="reduce"] *, html[data-motion="reduce"] *::before, html[data-motion="reduce"] *::after { animation-duration: .01ms !important; transition: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav-links { gap: var(--s4); }
  .header-cta { display: none; }
}
@media (max-width: 1023px) {
  :root { --hdr-h: 64px; }
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: fixed; inset: var(--hdr-h) 0 0 0; z-index: 45; display: flex; flex-direction: column; justify-content: space-between;
    padding: var(--s5) var(--gutter) calc(var(--s6) + env(safe-area-inset-bottom)); background: var(--ivory); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s var(--ease-out), transform .2s var(--ease-out), visibility 0s .2s;
  }
  .primary-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links a { width: 100%; min-height: 60px; font-family: var(--serif); font-size: clamp(1.6rem, 1.2rem + 2vw, 2.1rem); font-weight: 400; color: var(--graphite); }
  .nav-links a::after { display: none; }
  .nav-family { padding-left: 0; border-left: 0; }
  .nav-family a { font-size: var(--t-lg); font-family: var(--sans); font-weight: 600; color: var(--bronze); }
  .nav-sheet-foot { display: grid; gap: var(--s4); margin-top: var(--s7); }
  .nav-sheet-foot a:not(.btn) { color: var(--bronze); }
  body.menu-open { overflow: hidden; }
  .hero-row { grid-template-columns: minmax(0, 1fr); }
  .sec-head.split, .exp, .why, .faq, .contact { grid-template-columns: minmax(0, 1fr); }
  .why-head { position: static; }
  .ftr-lead { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .ftr-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .cases li { grid-template-columns: minmax(0, 1fr); row-gap: var(--s2); }
  .case-a { padding-left: 36px; }
  .case-a::before { width: 22px; }
  .tenets { grid-template-columns: minmax(0, 1fr); gap: var(--s6); }
  .tenets li:nth-child(even) { margin: 0; }
  .svc-cols, .form-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .svc-cols > div { margin-bottom: var(--s5); }
}
@media (max-width: 640px) {
  .logo-word { display: none; }
  .header-tools { margin-left: auto; }
  .hero h1 { max-width: none; }
  .actions .btn { flex: 1 1 100%; }
  .ledger { grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); column-gap: var(--s5); }
  .pillars { gap: var(--s2) var(--s4); }
  .svc-btn { grid-template-columns: 2.25rem minmax(0, 1fr) 16px; min-height: 64px; }
  .svc-body { padding-left: 0; }
  /* Situation picker becomes a touch-scrolling rail (buttons stay in tab order) */
  .fit-opts { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) var(--s3); scrollbar-width: thin; }
  .fit-opts button { flex: none; max-width: 78vw; scroll-snap-align: start; white-space: normal; }
  .strata li:nth-child(n) { margin-left: 0; }
  .strata li { padding-left: var(--s4); }
  .exp-num { font-size: 6rem; }
  .facts div { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ftr-top { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 380px) {
  .tool .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (forced-colors: active) {
  .svc-btn[aria-expanded="true"] .svc-o, .strata li::before { forced-color-adjust: none; background: Highlight; fill: Highlight; }
  .btn { border: 1px solid ButtonText; }
}

/* Long addresses never force sideways scrolling */
.nav-sheet-foot p, .facts dd, .ftr-col li, .footer-bottom p { overflow-wrap: anywhere; }

/* Approach timeline: vertical whenever four stations don't fit (rem-based, so enlarged text switches too) */
#approach .wrap { container-type: inline-size; }
@container (max-width: 56rem) {
  .dimline { grid-template-columns: minmax(0, 1fr); gap: var(--s6); padding-top: 0; padding-left: var(--s7); }
  .dimline::before { left: 7px; right: auto; top: 8px; bottom: 8px; width: 1px; height: auto; }
  .dimline::after { display: none; }
  .dimline li::before { left: calc(-1 * var(--s7)); top: 4px; }
}
@media (max-width: 1023px) { .nav-links a { overflow-wrap: anywhere; } }

/* ---------- Refinement (2026-10-24) ---------- */
/* Datum: where a dark or stone section begins, a small circle sits on the boundary at the 3 : 4 split line */
.sec-dark, .sec-stone, .cta-band, .site-footer { position: relative; }
.sec-dark::before, .sec-stone::before, .cta-band::before, .site-footer::before {
  content: ""; position: absolute; z-index: 1; top: -6px; width: 11px; height: 11px; border-radius: 50%;
  left: calc(max(var(--gutter), (100% - var(--max)) / 2 + var(--gutter)) + (min(100%, var(--max)) - 2 * var(--gutter)) * 3 / 7 - 5.5px);
  background: var(--ivory); border: 1.5px solid var(--bronze);
}
.sec-dark::after, .cta-band::after { content: ""; position: absolute; top: 5px; width: 1px; height: 40px; background: var(--copper); opacity: .6;
  left: calc(max(var(--gutter), (100% - var(--max)) / 2 + var(--gutter)) + (min(100%, var(--max)) - 2 * var(--gutter)) * 3 / 7); }
.site-footer::before { background: var(--ink); border-color: var(--copper); }

/* Accordion affordance on small screens: plus becomes minus */
@media (max-width: 1023px) {
  .svc-o { position: relative; width: 28px; height: 28px; border-width: 1px; }
  .svc-o::before, .svc-o::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; margin: -0.75px 0 0 -5.5px; background: var(--graphite); transition: transform .2s var(--ease-out); }
  .svc-o::after { transform: rotate(90deg); }
  .svc-btn[aria-expanded="true"] .svc-o { background: transparent; border-color: var(--bronze); }
  .svc-btn[aria-expanded="true"] .svc-o::after { transform: rotate(0deg); }
  .svc-btn { grid-template-columns: 2.25rem minmax(0, 1fr) 28px; }
}

/* ---------- Production integration (existing markup + main.js hooks) ---------- */
[hidden] { display: none !important; }
html:has(.primary-nav.is-open) { overflow: hidden; }
.skip-link { position: absolute; left: var(--s4); top: -100px; z-index: 100; padding: var(--s3) var(--s4); background: var(--graphite); color: var(--paper); }
.skip-link:focus { top: var(--s4); }

/* Display settings panel (same markup and storage keys as before) */
.a11y-panel fieldset { display: block; }
.a11y-options { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s4); }
.a11y-options label { min-height: 44px; }
.a11y-panel label:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }

/* Form states written by main.js */
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.field-error { font-size: var(--t-sm); font-weight: 600; color: #a1260d; }
.field-error::before { content: "Error: "; }
.form-panel h3:focus { outline: none; }
.form-panel h3:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.form-panel p { color: var(--muted); overflow-wrap: anywhere; }
.form-panel a { color: var(--bronze); }
.form-panel-error { border-left-color: #a1260d; }
.form-panel-error h3::before { content: "Error: "; }
.form-note { margin-top: var(--s3); font-size: var(--t-xs); color: var(--subtle); }
.form-note a { color: var(--bronze); }
.contact-form button[disabled] { opacity: .7; cursor: progress; }

/* Homepage consultation bar on phones (dismissible; main.js hides it over hero, contact, footer and open panels) */
.consult-bar { display: none; }
@media (max-width: 640px) {
  .consult-bar:not([hidden]) {
    position: fixed; left: 50%; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; translate: -50% 0;
    display: flex; align-items: center; gap: 4px; padding: 4px; max-width: calc(100% - 24px);
    border: 1px solid var(--line-strong); border-radius: 2px; background: var(--paper);
    box-shadow: 0 16px 32px -16px rgba(22, 21, 19, .45);
    transition: transform .25s var(--ease-out), opacity .2s var(--ease-out), visibility 0s;
  }
  .consult-bar .btn { min-height: 44px; white-space: nowrap; }
  .consult-bar-close { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; color: var(--muted); cursor: pointer; }
  .consult-bar-close:hover { color: var(--graphite); }
  .consult-bar.is-hidden { transform: translateY(calc(100% + 24px)); opacity: 0; visibility: hidden; transition: transform .25s var(--ease-out), opacity .2s var(--ease-out), visibility 0s .25s; }
  body.has-consult-bar { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  html.has-consult-bar { scroll-padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
}
@media (forced-colors: active) { .consult-bar:not([hidden]) { border: 1px solid CanvasText; } }

/* Policy pages (/privacy, /terms, /accessibility) */
.legal { padding-block: clamp(var(--s7), 6vw, var(--s9)) var(--sec-y); }
.legal .container { width: 100%; max-width: calc(46rem + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.legal h1 { font-size: var(--t-2xl); margin-bottom: var(--s3); }
.legal-meta { color: var(--subtle); font-size: var(--t-sm); margin-bottom: var(--s6); padding-bottom: var(--s5); border-bottom: 1px solid var(--graphite); }
.legal h2 { font-size: var(--t-xl); margin: var(--s7) 0 var(--s3); }
.legal h3 { font-size: var(--t-lg); margin: var(--s5) 0 var(--s2); }
.legal p, .legal li { max-width: 38rem; overflow-wrap: break-word; }
.legal p + p { margin-top: var(--s3); }
.legal ul { list-style: disc; padding-left: 1.4rem; margin: var(--s3) 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s2); }
.legal ul li::marker { color: var(--bronze); }
.legal a:not(.btn) { color: var(--bronze); text-decoration: underline; text-underline-offset: 3px; }
.legal .summary { padding: var(--s4) var(--s5); border-left: 2px solid var(--bronze); background: var(--stone); }
.legal-table-wrap { overflow-x: auto; margin: var(--s4) 0; border-top: 1px solid var(--graphite); }
.legal table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); }
.legal th, .legal td { text-align: left; vertical-align: top; padding: var(--s3) var(--s3) var(--s3) 0; border-bottom: 1px solid var(--line); }
.legal th { font-weight: 600; }
.legal code { font-size: .92em; white-space: nowrap; }
.choice-box { margin: var(--s4) 0 0; padding: var(--s4) var(--s5); border-left: 2px solid var(--bronze); background: var(--paper); border-top: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.choice-box p { margin-bottom: var(--s3); }
.choice-box p:focus { outline: 2px solid var(--focus); outline-offset: 3px; }
@media (max-width: 640px) {
  .legal-table-wrap { overflow: visible; }
  .legal table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .legal table, .legal tbody, .legal tr, .legal td { display: block; width: 100%; }
  .legal tr { padding: var(--s2) 0; border-bottom: 1px solid var(--line); }
  .legal td { border-bottom: 0; padding: var(--s1) 0; }
  .legal code { white-space: normal; overflow-wrap: anywhere; }
  .legal td::before { content: attr(data-label); display: block; font-size: var(--t-xs); font-weight: 600; color: var(--bronze-deep); }
}
.legal-links a[aria-current="page"] { color: var(--on-dark); }

/* 404 */
.error-page { padding-block: clamp(var(--s8), 10vw, var(--s10)); }
.error-page .wrap { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4fr); gap: var(--s7); align-items: center; }
.error-code { font-family: var(--serif); font-size: clamp(5rem, 3rem + 10vw, 11rem); font-weight: 340; line-height: .85; letter-spacing: -0.05em; color: var(--bronze); }
.error-page h1 { font-size: var(--t-2xl); margin-bottom: var(--s4); }
.error-page p:not(.error-code) { color: var(--muted); max-width: 32rem; }
.error-page .actions { margin-top: var(--s6); }
@media (max-width: 760px) { .error-page .wrap { grid-template-columns: minmax(0, 1fr); } }
.text-link { color: var(--bronze); text-decoration: underline; text-underline-offset: 3px; }
/* Policy/404 header: existing .container markup */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.header-spacer { flex: 1; }
/* Short pages (404, policies): footer sits at the bottom; footers without the brand lockup stay compact */
body { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
.site-footer:not(:has(.ftr-lead)) { padding-top: var(--s2); }
.legal .summary { max-width: calc(38rem + 2 * var(--s5)); }

/* ================= Architectural Intelligence 2.0 (2026-10-24) ================= */
/* Symbol (brand v3, 2026-10-25): "the arriving block" — an L-shaped foundation of three modules in place and the
   fourth module lifting up and to the right. Graphite + bronze on light, ivory + copper on dark. Spec: docs/BRAND.md */
.sym { display: block; height: auto; overflow: visible; }
.sym .s-l { fill: var(--graphite); }
.sym .s-m { fill: var(--bronze); }
.sym-nav { width: 27px; flex: none; }
.logo { gap: 10px; }
.logo-num { font-size: 1.5rem; font-weight: 500; letter-spacing: -0.035em; margin-top: 0; }
.logo-word { padding-left: 0; border-left: 0; font-size: 1.02rem; font-weight: 500; color: var(--graphite); letter-spacing: .005em; margin-left: -4px; }
/* Dark version (footer) */
.site-footer .sym .s-l { fill: var(--on-dark); }
.site-footer .sym .s-m { fill: var(--copper); }
.sym-footer { width: clamp(48px, 4.4vw, 68px); }
/* Line version (CTA band) */
.sym-cta { position: absolute; right: max(var(--gutter), 7%); top: 50%; width: min(24%, 300px); transform: translateY(-50%); pointer-events: none; }
.sym-cta * { vector-effect: non-scaling-stroke; }
.sym-cta .s-l { fill: none; stroke: rgba(241, 236, 227, .26); stroke-width: 1; }
.sym-cta .s-m { fill: rgba(201, 147, 95, .12); stroke: var(--copper); stroke-width: 1.5; }
/* Shown only when the band is wide enough in rem, so enlarged text hides it; the text column stays clear of it */
.cta-band { container-type: inline-size; }
.sym-cta { display: none; }
@container (min-width: 70rem) { .sym-cta { display: block; } .cta-in { padding-right: 38%; } }

/* Plate: architectural model. A 340 Solutions pedestal carries five organizations of different shapes and sizes, each
   assembled from the service blocks it needs; a bronze grid connects them through a central hub and one block is still
   arriving. Materials are SVG gradients (no filters), so the motion repaints cheaply. Labels live in the legend. */
.plate { margin: 0; }
.plate-stage { position: relative; }
.plate-art { display: block; width: 100%; height: auto; overflow: visible; }
.plate-art polygon { stroke-linejoin: round; }
.bb-floorglow { fill: url(#g-glow); }
.p-top { fill: url(#g-marble); } .p-front { fill: url(#g-front); } .p-cham { fill: url(#g-cham); } .p-side { fill: url(#g-side); }
.s-front { fill: #eadfce; } .s-cham { fill: #f1e8da; } .s-side { fill: #d9cbb6; }
.p-edge { fill: none; stroke: #c9935f; stroke-width: 1.2; stroke-linejoin: round; stroke-linecap: round; }
.p-baseline { fill: none; stroke: #ffc98a; stroke-width: 1.4; stroke-linejoin: round; }
.b-num { font-family: var(--serif); font-weight: 500; font-size: 31px; letter-spacing: .01em; fill: url(#g-metal); }
.b-word { font-family: var(--sans); font-weight: 600; font-size: 8.6px; letter-spacing: .42em; fill: #efe6d8; }
.b-rule { fill: none; stroke: #b47b45; stroke-width: 1; }
.bb-grid { fill: none; stroke: var(--bronze); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; opacity: .6; }
.bb-route { fill: none; stroke: #c9935f; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.bb-node { fill: var(--bronze); } .bb-hub { fill: #c9935f; stroke: #f4eee4; stroke-width: 1; }
.bb-bshadow { fill: rgba(29, 28, 26, .07); }
.bb-pad .f-top { fill: url(#g-br-t); } .bb-pad .f-front { fill: url(#g-br-f); } .bb-pad .f-side { fill: url(#g-br-s); }
.bb-ping { fill: url(#g-ping); stroke: #f0b878; stroke-width: 1.2; opacity: 0; }
.bb-m .f-top { stroke: rgba(29, 28, 26, .16); stroke-width: .6; }
.m-st .f-top { fill: #faf6ef; } .m-st .f-front { fill: url(#g-st-f); } .m-st .f-side { fill: url(#g-st-s); }
.m-gr .f-top { fill: #4d4842; } .m-gr .f-front { fill: url(#g-gr-f); } .m-gr .f-side { fill: url(#g-gr-s); }
.bb-slot { fill: url(#g-slot); }
.bb-seam { fill: none; stroke: #f0a95e; stroke-width: 1; opacity: .8; }
.bb-next .f-top { fill: url(#g-br-t); stroke: #9c6435; } .bb-next .f-front { fill: url(#g-br-f); } .bb-next .f-side { fill: url(#g-br-s); }
.bb-under { fill: #ffcf8f; opacity: .3; }
.bb-pulses { display: none; }
.bb-pulse, .bb-halo { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: .06 2; stroke-dashoffset: .06; opacity: 0; }
.bb-pulse { stroke: #ffe1ad; stroke-width: 2.6; } .bb-halo { stroke: #f0a95e; stroke-width: 7; }
@media (max-width: 1023px) { .plate-art { max-width: 34rem; margin-inline: auto; } }
@media (max-width: 480px) { .b-word { font-size: 10.5px; letter-spacing: .3em; } }
/* Highlight from the legend: a service lights its blocks in every organization that uses it, plus those organizations'
   grid paths; other paths dim and the travelling pulse pauses. Highlighted blocks also gain an outline (not colour only). */
.plate-art .bb-grid, .plate-art .bb-route, .plate-art .bb-ping, .plate-art .bb-pulses { transition: opacity .2s var(--ease-out); }
.plate-art .bb-m { transition: transform .25s var(--ease-out); }
.plate.has-hl .bb-m:not(.is-hl) .f-top { fill: #f7f4ee; stroke: rgba(29, 28, 26, .1); }
.plate.has-hl .bb-m:not(.is-hl) .f-front { fill: #ebe5db; } .plate.has-hl .bb-m:not(.is-hl) .f-side { fill: #e0d9cd; }
.plate.has-hl .bb-m:not(.is-hl) .bb-slot, .plate.has-hl .bb-m:not(.is-hl) .bb-seam { opacity: .25; }
.plate.has-hl:not(.hl-org) .bb-m.is-hl .f-top { fill: #ecd7bd; stroke: #1d1c1a; stroke-width: 1.2; }
.plate.has-hl:not(.hl-org) .bb-m.is-hl .f-front { fill: var(--bronze); stroke: #1d1c1a; stroke-width: 1; }
.plate.has-hl:not(.hl-org) .bb-m.is-hl .f-side { fill: var(--bronze-deep); stroke: #1d1c1a; stroke-width: 1; }
.plate.hl-org .bb-m .f-top { stroke: var(--bronze); stroke-width: 1.2; }
.plate.has-hl .bb-grid { opacity: .2; }
.plate.has-hl .bb-route.is-on { opacity: 1; }
.plate.has-hl .bb-bld.is-on .bb-ping { opacity: .75; }
.plate.has-hl .bb-pulses { opacity: 0; }
/* Entrance (once, about 3.2 s): pedestal, grid, organizations rise back to front, the bronze block arrives, lights
   come on. Then a pulse travels the grid hub → each organization → hub every 11 s (6 s of travel, 5 s rest); each
   organization glows as it arrives. JS pauses it offscreen, in a hidden tab, and while a service is highlighted. */
@keyframes bb-up { from { opacity: 0; transform: translateY(14px); } }
@keyframes bb-rise { 0% { opacity: 0; transform: translateY(16px); } 70% { opacity: 1; transform: translateY(-1.5px); } 100% { transform: none; } }
@keyframes bb-arrive { from { opacity: 0; transform: translateY(-46px); } }
@keyframes appear { from { opacity: 0; } }
@keyframes bb-hop { 0% { opacity: 0; stroke-dashoffset: .06; } 1% { opacity: 1; } 8% { opacity: 1; } 9% { opacity: 0; stroke-dashoffset: -1; } 100% { opacity: 0; stroke-dashoffset: -1; } }
@keyframes bb-glow { 0% { opacity: 0; } 2% { opacity: .9; } 11% { opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: no-preference) {
  html:not([data-motion="reduce"]) .plate-art .bb-found { animation: bb-up .6s var(--ease-out) backwards; }
  html:not([data-motion="reduce"]) .plate-art .bb-net { animation: appear .5s .4s var(--ease-out) backwards; }
  html:not([data-motion="reduce"]) .plate-art .bb-bld { animation: bb-rise .7s var(--ease-out) backwards; }
  html:not([data-motion="reduce"]) .plate-art [data-b="tall"].bb-bld { animation-delay: .6s; }
  html:not([data-motion="reduce"]) .plate-art [data-b="wide"].bb-bld { animation-delay: .8s; }
  html:not([data-motion="reduce"]) .plate-art [data-b="mid"].bb-bld { animation-delay: 1s; }
  html:not([data-motion="reduce"]) .plate-art [data-b="small"].bb-bld { animation-delay: 1.2s; }
  html:not([data-motion="reduce"]) .plate-art [data-b="new"].bb-bld { animation-delay: 1.4s; }
  html:not([data-motion="reduce"]) .plate-art .bb-next { animation: bb-arrive .7s 2.1s var(--ease-out) backwards; }
  html:not([data-motion="reduce"]) .plate-art .bb-light, html:not([data-motion="reduce"]) .plate-art .bb-slot { animation: appear .6s 2.6s var(--ease-out) backwards; }
  html:not([data-motion="reduce"]) .plate-art .bb-pulses { display: inline; }
  html:not([data-motion="reduce"]) .plate-art .bb-pulse, html:not([data-motion="reduce"]) .plate-art .bb-halo { animation: bb-hop 11s linear infinite; }
  html:not([data-motion="reduce"]) .plate-art .h1 { animation-delay: 4.4s; }
  html:not([data-motion="reduce"]) .plate-art .h0 { animation-delay: 3.4s; }
  html:not([data-motion="reduce"]) .plate-art .h2 { animation-delay: 5.4s; }
  html:not([data-motion="reduce"]) .plate-art .h3 { animation-delay: 6.4s; }
  html:not([data-motion="reduce"]) .plate-art .h4 { animation-delay: 7.4s; }
  html:not([data-motion="reduce"]) .plate-art .h5 { animation-delay: 8.4s; }
  html:not([data-motion="reduce"]) .plate:not(.has-hl) .bb-ping { animation: bb-glow 11s var(--ease-out) infinite; }
  html:not([data-motion="reduce"]) .plate-art [data-b="tall"] .bb-ping { animation-delay: 4.35s; }
  html:not([data-motion="reduce"]) .plate-art [data-b="wide"] .bb-ping { animation-delay: 5.35s; }
  html:not([data-motion="reduce"]) .plate-art [data-b="small"] .bb-ping { animation-delay: 6.35s; }
  html:not([data-motion="reduce"]) .plate-art [data-b="new"] .bb-ping { animation-delay: 7.35s; }
  html:not([data-motion="reduce"]) .plate-art [data-b="mid"] .bb-ping { animation-delay: 8.35s; }
  html:not([data-motion="reduce"]) .plate.has-hl .bb-m.is-hl { transform: translateY(-3px); }
  html:not([data-motion="reduce"]) .plate.is-still .plate-art *, html:not([data-motion="reduce"]) .plate.has-hl .bb-pulses * { animation-play-state: paused; }
}
/* Legend: the meaning, typeset beside the art; each item opens its service */
.plate-key { margin-top: var(--s4); padding-top: var(--s4); border-top: 1px solid var(--line); }
.key-cap { font-size: var(--t-sm); color: var(--muted); margin-bottom: var(--s4); max-width: 46ch; }
.key-cap strong { display: block; font-family: var(--serif); font-weight: 480; font-size: var(--t-lg); line-height: 1.25; color: var(--graphite); margin-bottom: var(--s1); }
.key-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 8.5rem), 1fr)); gap: var(--s4) var(--s5); }
.key-h { font-size: var(--t-sm); font-weight: 600; margin-bottom: var(--s2); }
.key-col ul { display: grid; gap: 0; }
.key-col a { display: inline-block; padding: 3px 0; font-size: var(--t-sm); color: var(--muted); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: color .15s var(--ease-out), text-decoration-color .15s var(--ease-out); }
.key-col a:hover, .key-col a:focus-visible { color: var(--graphite); text-decoration-color: var(--bronze); }
/* Desktop: the art is capped so it balances the copy, and the legend runs full width beneath both columns on the
   same 3fr:4fr grid (caption under the copy, service groups under the art) instead of stacking under the art */
@media (min-width: 1024px) {
  .hero-row .plate-stage { width: 100%; max-width: 34rem; justify-self: end; }
  .plate-key { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4fr); gap: var(--s4) clamp(var(--s7), 6vw, var(--s10)); align-items: start; margin-top: clamp(var(--s5), 3vw, var(--s6)); }
  .plate-key .key-cap { margin-bottom: 0; }
  .plate-key .key-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr)); }
}

/* Service glyph: one organization on the foundation, this service's block in bronze */
.glyph { width: 104px; height: auto; margin-bottom: var(--s4); overflow: visible; }
.glyph polygon { stroke-linejoin: round; }
.gl-found .f-top { fill: #ece5d8; } .gl-found .f-front { fill: #2a2723; } .gl-found .f-side { fill: #1d1b18; }
.gl-m .f-top { fill: var(--paper); stroke: rgba(29, 28, 26, .22); stroke-width: .5; } .gl-m .f-front { fill: #ddd5c8; } .gl-m .f-side { fill: #c9bfb0; }
.gl-m.b .f-top { fill: #5a544c; } .gl-m.b .f-front { fill: #3a3631; } .gl-m.b .f-side { fill: #2b2824; }
.gl-m.on .f-top { fill: #ecd7bd; stroke: var(--bronze); } .gl-m.on .f-front { fill: var(--bronze); } .gl-m.on .f-side { fill: var(--bronze-deep); }

/* Who we help: rows respond on hover */
.cases li { transition: background-color .2s var(--ease-out); }
.case-a::before { transition: width .25s var(--ease-out); }
@media (hover: hover) { .cases li:hover { background-color: rgba(241, 236, 227, .03); } .cases li:hover .case-a::before { width: 36px; } }

/* Experience: practice areas drawn as stacked slabs */
.strata li { margin-top: 10px; padding: 10px 14px 10px 30px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 6px 0 -1px #d9d0c2; }
.strata li:nth-child(6) { border-bottom: 1px solid var(--line); }
.strata li::before { left: 13px; }

/* Approach: numbered stations on the dimension line */
.dimline li::before { display: none; }
.dl-n { position: absolute; left: 0; top: calc(-1 * var(--s7) - 12px); width: 40px; height: 40px; margin: 0; display: grid; place-items: center; border: 1.5px solid var(--graphite); border-radius: 50%; background: var(--stone); color: var(--graphite); font-size: .85rem; transition: border-color .2s var(--ease-out), color .2s var(--ease-out); }
.dimline li:first-child .dl-n { background: var(--bronze); border-color: var(--bronze); color: var(--paper); }
.dimline { padding-top: calc(var(--s7) + 8px); }
.dimline::before { top: 8px; } .dimline::after { top: 1px; }
.dimline h3 { margin-top: var(--s2); }
@media (hover: hover) { .dimline li:hover .dl-n { border-color: var(--bronze); color: var(--bronze-deep); } .dimline li:first-child:hover .dl-n { color: var(--paper); } }
@container (max-width: 56rem) {
  .dimline { padding-top: 0; padding-left: calc(var(--s7) + 8px); }
  .dimline::before { left: 20px; top: 20px; bottom: 20px; }
  .dl-n { left: calc(-1 * var(--s7) - 8px); top: 0; }
  .dimline h3 { margin-top: 0; }
}
/* Footer lockup: same proportions as the header logo, never a giant "340" beside a small word */
.ftr-word { font-size: clamp(2.4rem, 1.9rem + 1.8vw, 3.4rem); gap: .3em; letter-spacing: -0.035em; line-height: 1; }
.ftr-word span { font-size: .66em; color: var(--on-dark); letter-spacing: .005em; }

/* ================= Family v4 (2026-10-25): contextual next steps ================= */
.sec-cta { margin-top: clamp(var(--s6), 4vw, var(--s7)); }
.sec-dark .arrow-link { color: var(--copper); text-decoration-color: rgba(201, 147, 95, .45); }

/* ================= Optimization (2026-10-25): touch targets ≥ 24px (WCAG 2.5.8) ================= */
.key-col a { min-width: 24px; min-height: 24px; }
.form-status { margin: 0 0 var(--s3); font-size: var(--t-sm); font-weight: 600; color: #a3261b; }
.form-status:empty { margin: 0; }
