/* AdSwift Bloom — Paper Bloom design system */
:root {
  --paper: #FDFCFA;
  --oat: #F4F0E8;
  --petal: #EFE3DC;
  --vermilion: #C8503C;
  --sage: #6B8471;
  --slateblue: #2E4257;
  --graphite: #1B1F24;
  --graphite-soft: #4B535C;
  --graphite-faint: #5A636D;
  --graphite-muted: #4B535C;
  --paper-90: rgba(253,252,250,.92);
  --paper-75: rgba(253,252,250,.75);
  --rule: #E6DED2;
  --shadow-card: 0 1px 2px rgba(27,31,36,.05), 0 18px 44px rgba(27,31,36,.07);
  --grad-oat: linear-gradient(180deg, #FDFCFA, #F4F0E8);
  --grad-cta: linear-gradient(100deg, #C8503C, #D46A4F);
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 26px;
  --t-fast: 160ms;
  --t-base: 220ms;
  --t-slow: 380ms;
  --t-reveal: 560ms;
  --ease: cubic-bezier(.2,.7,.3,1);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;
  --space-11: 176px;
  --max-w: 1280px;
  --header-h: 72px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Work Sans", system-ui, sans-serif;
  --font-mono: "Spline Sans Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.72;
  color: var(--graphite);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--slateblue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--vermilion); }
:focus-visible { outline: 2px solid var(--slateblue); outline-offset: 2px; }

.surface-paper { background: var(--paper); color: var(--graphite); }
.surface-oat { background: var(--oat); color: var(--graphite); }
.surface-petal { background: var(--petal); color: var(--graphite); }
.surface-verm { background: var(--vermilion); color: var(--paper); }
.surface-frost {
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: var(--graphite);
  border: 1px solid var(--rule);
}

/* Readable text on light surfaces */
.surface-paper p,
.surface-oat p,
.surface-petal p { color: var(--graphite-muted); }
.surface-paper .lead,
.surface-oat .lead,
.surface-petal .lead { color: var(--graphite-muted); }
.surface-paper h1, .surface-paper h2, .surface-paper h3,
.surface-oat h1, .surface-oat h2, .surface-oat h3,
.surface-petal h1, .surface-petal h2, .surface-petal h3 { color: var(--graphite); }
.surface-paper .eyebrow,
.surface-oat .eyebrow,
.surface-petal .eyebrow,
.surface-paper .mono-label,
.surface-oat .mono-label,
.surface-petal .mono-label { color: var(--graphite-soft); }
.surface-paper .prose-list li,
.surface-oat .prose-list li,
.surface-petal .prose-list li { color: var(--graphite-muted); }
.surface-paper .legal-prose p,
.surface-oat .legal-prose p,
.surface-petal .legal-prose p { color: var(--graphite-muted); }
.surface-paper .legal-prose h2,
.surface-oat .legal-prose h2,
.surface-petal .legal-prose h2 { color: var(--graphite); }
.map-placeholder { color: var(--graphite-muted); }
.map-placeholder p { color: var(--graphite-muted); }
.map-placeholder strong { color: var(--graphite); }
.pull-quote cite { color: var(--graphite-soft); }

/* Readable text on dark surfaces */
.surface-verm h1, .surface-verm h2, .surface-verm h3,
.surface-verm p, .surface-verm .lead { color: var(--paper); }
.surface-verm a:not(.btn-secondary) { color: var(--paper); text-decoration-color: rgba(253,252,250,.55); }
.surface-verm a:not(.btn-secondary):hover { color: var(--paper); opacity: .9; }

.skip {
  position: absolute;
  left: -9999px;
  top: var(--space-4);
  z-index: 10000;
  padding: var(--space-3) var(--space-5);
  background: var(--graphite);
  color: var(--paper);
}
.skip:focus { left: var(--space-4); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; margin: 0 0 var(--space-5); }
h1 { font-size: clamp(42px, 5.4vw, 80px); }
h2 { font-size: clamp(30px, 3.2vw, 48px); }
h3 { font-size: clamp(21px, 2vw, 28px); }
p { margin: 0 0 var(--space-5); }
.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--graphite-faint);
  margin-bottom: var(--space-4);
}
.mono-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--graphite-faint);
}
.folio { font-family: var(--font-mono); font-size: 11px; color: var(--graphite-faint); }

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-5);
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
@media (max-width: 768px) {
  .grid-12 { grid-template-columns: 1fr; }
}

.section-pad { padding-block: clamp(72px, 10vw, 176px); }
.section-pad-sm { padding-block: clamp(48px, 8vw, 128px); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  height: var(--header-h);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow var(--t-base) var(--ease);
}
.site-header.is-condensed { box-shadow: var(--shadow-card); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--space-5);
  height: 100%;
  gap: var(--space-5);
}
.wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--graphite);
}
.wordmark:hover { color: var(--vermilion); }
.nav-primary { display: flex; align-items: center; gap: var(--space-6); list-style: none; margin: 0; padding: 0; }
.nav-primary a {
  position: relative;
  text-decoration: none;
  color: var(--graphite-soft);
  font-weight: 500;
  font-size: 0.9375rem;
  padding-block: var(--space-2);
}
.nav-primary a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--vermilion);
  transition: width var(--t-base) var(--ease);
}
.nav-primary a:hover::after,
.nav-primary a[aria-current="page"]::after { width: 100%; }
.nav-primary a[aria-current="page"] { color: var(--graphite); }
.btn-mail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: var(--space-3) var(--space-6);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  color: var(--graphite);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: border-color var(--t-base) var(--ease), transform var(--t-fast) var(--ease);
}
.btn-mail:hover { border-color: var(--sage); color: var(--graphite); transform: translateY(-1px); }
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: var(--space-3) var(--space-7);
  background: var(--grad-cta);
  color: var(--paper);
  font-weight: 600;
  border: none;
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.btn-primary:hover { color: var(--paper); transform: translateY(-2px); box-shadow: var(--shadow-card); }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: var(--space-3) var(--space-6);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  color: var(--graphite);
  font-weight: 500;
  text-decoration: none;
}
.btn-secondary:hover { border-color: var(--sage); color: var(--graphite); }

.nav-toggle {
  display: none;
  min-width: 44px;
  min-height: 44px;
  background: none;
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  cursor: pointer;
  padding: var(--space-2);
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--graphite);
  margin: 4px auto;
}
@media (max-width: 1024px) {
  .nav-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; }
  .nav-primary {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    padding: var(--space-6);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--t-base) var(--ease), opacity var(--t-base) var(--ease);
  }
  .nav-primary.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .header-cta { display: none; }
}

/* Breadcrumb */
.breadcrumb { padding: var(--space-5) var(--space-5) 0; max-width: var(--max-w); margin-inline: auto; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; margin: 0; padding: 0; font-size: 0.8125rem; color: var(--graphite-faint); }
.breadcrumb a { color: var(--graphite-soft); text-decoration: none; }
.breadcrumb li:not(:last-child)::after { content: "·"; margin-left: var(--space-2); }

/* Hero Press Sheet */
.hero-press {
  min-height: clamp(76vh, 88vh, 900px);
  position: relative;
  overflow: hidden;
}
.hero-press .grid-12 { align-items: start; min-height: inherit; padding-block: var(--space-9); }
.hero-margin {
  grid-column: 1 / 3;
  border-right: 1px solid var(--rule);
  padding-right: var(--space-5);
  min-height: 60vh;
}
.hero-margin .folio { writing-mode: vertical-rl; transform: rotate(180deg); margin-bottom: var(--space-6); }
.hero-margin .margin-note { font-size: 12px; font-style: italic; color: var(--graphite-soft); max-width: 140px; }
.hero-copy { grid-column: 3 / 8; padding-top: var(--space-8); }
.hero-copy .dateline { width: 48px; height: 1px; background: var(--rule); margin-block: var(--space-4); }
.hero-copy h1 em { font-style: italic; position: relative; }
.hero-copy h1 em::after {
  content: "";
  position: absolute;
  left: 0; bottom: 4px;
  width: 100%; height: 3px;
  background: var(--vermilion);
  opacity: 0.6;
}
.hero-copy .lead { color: var(--graphite-muted); max-width: 470px; margin-bottom: var(--space-6); }
.hero-copy > a:not([class]) { color: var(--slateblue); font-weight: 500; }
.hero-caption .figure-caption { color: var(--graphite-muted); font-style: italic; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: var(--space-5); align-items: center; margin-bottom: var(--space-7); }
.hero-photo-wrap {
  grid-column: 8 / 13;
  position: relative;
  margin-right: calc(-1 * var(--space-5) - 5vw);
}
.hero-photo-wrap img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--r-lg) 0 0 var(--r-lg);
}
.hero-caption {
  position: absolute;
  left: -15%;
  bottom: var(--space-6);
  max-width: 260px;
  padding: var(--space-5);
  border-radius: var(--r-md);
}
.hero-sage-rule {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--sage);
  padding-top: var(--space-4);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--graphite-faint);
}
.trust-strip { font-size: 0.8125rem; color: var(--graphite-soft); margin-top: var(--space-4); }
@media (max-width: 1024px) {
  .hero-margin { display: none; }
  .hero-copy { grid-column: 1 / -1; }
  .hero-photo-wrap { grid-column: 1 / -1; margin-right: 0; }
  .hero-photo-wrap img { border-radius: var(--r-md); }
}

/* Drop cap */
.drop-cap::first-letter {
  float: left;
  font-family: var(--font-display);
  font-size: 3.8em;
  line-height: 0.85;
  padding-right: var(--space-3);
  color: var(--vermilion);
  font-weight: 600;
}

/* Press Band */
.press-band {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
}
.press-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, var(--paper-90) 0%, var(--paper-75) 45%, rgba(253,252,250,.35) 100%);
  z-index: 0;
  pointer-events: none;
}
.press-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.press-band h2 {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: var(--space-9) var(--space-5);
  font-size: clamp(36px, 5vw, 64px);
  color: var(--graphite);
}
.js .press-band.is-visible::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
  animation: sweep 2.4s var(--ease) 1;
  z-index: 2;
  pointer-events: none;
}
@keyframes sweep {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}

/* Specimen cards */
.specimen-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-5);
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
.specimen-card {
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: var(--space-6);
  background: var(--paper);
  box-shadow: var(--shadow-card);
  border-left: 3px solid var(--rule);
  transition: transform var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
  overflow: hidden;
}
.specimen-card:hover { transform: translateY(-2px); border-left-color: rgba(200,80,60,.3); }
.specimen-card h3 { color: var(--graphite); }
.specimen-card p { color: var(--graphite-muted); }
.specimen-card .card-thumb {
  margin: calc(-1 * var(--space-6)) calc(-1 * var(--space-6)) var(--space-5);
  width: calc(100% + 2 * var(--space-6));
  max-width: none;
  border-radius: var(--r-md) var(--r-md) 0 0;
}
.specimen-card:nth-child(1) { grid-column: 1 / 6; margin-top: 0; }
.specimen-card:nth-child(2) { grid-column: 6 / 11; margin-top: var(--space-7); }
.specimen-card:nth-child(3) { grid-column: 2 / 7; margin-top: var(--space-4); }
.specimen-card:nth-child(4) { grid-column: 7 / 13; margin-top: var(--space-9); }
.specimen-card:nth-child(5) { grid-column: 1 / 5; margin-top: var(--space-6); }
.specimen-card:nth-child(6) { grid-column: 5 / 12; margin-top: var(--space-3); }
@media (max-width: 768px) {
  .specimen-card { grid-column: 1 / -1 !important; margin-top: 0 !important; }
}

/* Season strip */
.season-strip-wrap { overflow: hidden; padding-block: var(--space-8); }
.season-strip {
  display: flex;
  gap: var(--space-5);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: var(--space-5);
  padding: var(--space-4) var(--space-5);
  -webkit-overflow-scrolling: touch;
}
.season-strip::-webkit-scrollbar { height: 4px; }
.season-strip::-webkit-scrollbar-thumb { background: var(--rule); border-radius: 2px; }
.season-card {
  flex: 0 0 min(280px, 80vw);
  scroll-snap-align: start;
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: var(--space-6);
  background: var(--paper);
  overflow: hidden;
}
.season-card h3 { color: var(--graphite); }
.season-card p { color: var(--graphite-muted); }
.season-card .card-thumb {
  margin: calc(-1 * var(--space-6)) calc(-1 * var(--space-6)) var(--space-5);
  width: calc(100% + 2 * var(--space-6));
  max-width: none;
  border-radius: var(--r-md) var(--r-md) 0 0;
}
.season-nav { display: flex; gap: var(--space-3); justify-content: center; margin-top: var(--space-5); }
.season-nav button {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--rule);
  background: var(--paper);
  border-radius: var(--r-sm);
  cursor: pointer;
  font-size: 1.25rem;
  color: var(--graphite);
}

/* Split layouts */
.split-4-8 { display: grid; grid-template-columns: 4fr 8fr; gap: var(--space-8); align-items: start; }
.split-5-7 { display: grid; grid-template-columns: 5fr 7fr; gap: var(--space-8); align-items: start; }
.split-7-5 { display: grid; grid-template-columns: 7fr 5fr; gap: var(--space-8); align-items: start; }
@media (max-width: 768px) {
  .split-4-8, .split-5-7, .split-7-5 { grid-template-columns: 1fr; }
}

/* Pull quote */
.pull-quote {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.25;
  font-style: italic;
  hanging-punctuation: first last;
  max-width: 720px;
  margin-inline: auto;
  padding: var(--space-9) var(--space-5);
}
.pull-quote cite {
  display: block;
  margin-top: var(--space-5);
  font-style: normal;
  font-size: 0.875rem;
  font-family: var(--font-body);
  color: var(--graphite-faint);
}

/* Card & case images */
.card-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

/* Case notes */
.case-note {
  margin-bottom: 0;
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow-card);
}
.case-note .card-thumb {
  aspect-ratio: 16 / 9;
  border-radius: 0;
  margin: 0;
}
.case-note .case-note-body { padding: var(--space-6); }
.case-note h3 { color: var(--graphite); }
.case-note p { color: var(--graphite-muted); }
.case-note .dateline { width: 32px; height: 1px; background: var(--rule); margin-block: var(--space-3); }
.figure-caption {
  font-size: 13px;
  font-style: italic;
  color: var(--graphite-muted);
  border-top: 1px solid var(--rule);
  padding-top: var(--space-3);
  margin-top: var(--space-4);
}

/* Accordion */
.accordion { border-top: 1px solid var(--rule); }
.accordion-item { border-bottom: 1px solid var(--rule); }
.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-5) 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  color: var(--graphite);
  min-height: 44px;
}
.accordion-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
}
.accordion-icon::before,
.accordion-icon::after {
  content: "";
  position: absolute;
  background: var(--vermilion);
  transition: transform var(--t-base) var(--ease);
}
.accordion-icon::before { width: 14px; height: 1.5px; top: 11px; left: 5px; }
.accordion-icon::after { width: 1.5px; height: 14px; top: 5px; left: 11px; }
.accordion-trigger[aria-expanded="true"] .accordion-icon::after { transform: rotate(90deg); opacity: 0; }
.accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-slow) var(--ease);
}
.accordion-panel.is-open { grid-template-rows: 1fr; }
.accordion-panel-inner { overflow: hidden; }
.accordion-panel-inner > div { padding-bottom: var(--space-6); color: var(--graphite-muted); }

/* CTA spread */
.cta-spread {
  position: relative;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: center;
}
.cta-spread img {
  position: absolute;
  left: -10%;
  top: 0;
  width: 55%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.cta-spread::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(200,80,60,.15) 0%, rgba(200,80,60,.88) 55%, var(--vermilion) 100%);
  z-index: 0;
  pointer-events: none;
}
.cta-spread .cta-inner {
  position: relative;
  z-index: 1;
  margin-left: auto;
  max-width: 560px;
  padding: var(--space-9) var(--space-5);
}
.cta-spread .cta-inner h2,
.cta-spread .cta-inner p { color: var(--paper); }
.cta-spread .btn-secondary {
  background: var(--paper);
  color: var(--graphite);
  border-color: var(--paper);
  font-weight: 600;
}

/* Map */
.where-we-are { position: relative; z-index: 1; }
.map-band {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.map-band-secondary { min-height: 280px; border-radius: var(--r-md); }
.map-section-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.map-section-stack .map-address-float {
  position: static;
  max-width: none;
  width: 100%;
  margin: 0;
}
.where-we-are:has(.map-band-secondary) { padding-bottom: var(--space-6); }
.map-plate {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--oat);
  padding: var(--space-7);
  display: grid;
  grid-template-rows: auto 420px;
  gap: var(--space-4);
}
.map-plate .map-frame,
.map-plate .map-placeholder {
  grid-row: 2;
  grid-column: 1;
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: var(--r-sm);
  overflow: hidden;
}
.map-plate .map-frame { z-index: 1; }
.map-plate .map-placeholder { z-index: 2; }
@media (max-width: 768px) {
  .map-plate { grid-template-rows: auto 300px; }
}
.map-band .map-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.map-band .map-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  background: var(--oat) url('/images/13-city-street-day.jpg') center / cover no-repeat;
  padding: var(--space-6);
  text-align: center;
}
.map-band .map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(.82) sepia(.14) contrast(1.02) brightness(1.03);
}
.map-band .map-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(253,252,250,.88);
  z-index: 0;
}
.map-band .map-placeholder > * { position: relative; z-index: 1; }
.map-plate .map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  background: var(--oat) url('/images/13-city-street-day.jpg') center / cover no-repeat;
  padding: var(--space-6);
  text-align: center;
}
.map-plate .map-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(253,252,250,.88);
  z-index: 0;
}
.map-plate .map-placeholder > * { position: relative; z-index: 1; }
.map-placeholder p { font-size: 0.9375rem; color: var(--graphite-muted); margin: 0; }
.map-placeholder strong { color: var(--graphite); }
.map-address-float {
  padding: var(--space-5);
  border-radius: var(--r-md);
}
.map-load-btn {
  min-height: 44px;
  padding: var(--space-3) var(--space-6);
  background: var(--grad-cta);
  color: var(--paper);
  border: none;
  border-radius: var(--r-sm);
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
}
@media (max-width: 768px) {
  .map-band-secondary { min-height: 220px; }
}

/* Footer */
.site-footer { padding-block: var(--space-9); border-top: 1px solid var(--rule); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: var(--space-7);
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
.footer-wordmark {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  margin-bottom: var(--space-5);
}
.footer-col h3 { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--graphite-soft); font-family: var(--font-body); font-weight: 600; margin-bottom: var(--space-4); }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: var(--space-2); }
.footer-col a { color: var(--graphite-muted); text-decoration: none; font-size: 0.9375rem; }
.footer-col a:hover { color: var(--vermilion); }
.footer-meta { font-size: 0.8125rem; color: var(--graphite-soft); margin-top: var(--space-6); line-height: 1.6; }
.footer-meta a { color: var(--graphite-muted); }
.footer-bottom {
  max-width: var(--max-w);
  margin: var(--space-7) auto 0;
  padding: var(--space-5) var(--space-5) 0;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-4);
  font-size: 0.8125rem;
  color: var(--graphite-soft);
}
.back-top { text-decoration: none; color: var(--graphite-muted); display: inline-flex; align-items: center; gap: var(--space-2); }
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Cookie consent */
.consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 950;
  transform: translateY(100%);
  transition: transform var(--t-base) var(--ease);
}
.consent.is-visible { transform: translateY(0); }
.consent.is-hidden { display: none; }
.consent-panel-custom {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-slow) var(--ease);
  background: var(--paper);
  border-top: 1px solid var(--rule);
}
.consent-panel-custom.is-open { max-height: 400px; }
.consent-panel-inner { padding: var(--space-6) var(--space-5); max-width: var(--max-w); margin-inline: auto; }
.consent-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--rule);
  gap: var(--space-5);
}
.consent-switch {
  min-width: 52px;
  min-height: 32px;
  border-radius: 16px;
  border: 1px solid var(--rule);
  background: var(--oat);
  cursor: pointer;
  position: relative;
  padding: 0;
}
.consent-switch[aria-checked="true"] { background: var(--sage); border-color: var(--sage); }
.consent-switch[aria-checked="true"]::after { transform: translateX(20px); }
.consent-switch::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 24px; height: 24px;
  background: var(--paper);
  border-radius: 50%;
  transition: transform var(--t-base) var(--ease);
}
.consent-switch:disabled { opacity: 0.6; cursor: not-allowed; }
.consent-strip {
  background: var(--paper);
  border-top: 1px solid var(--rule);
  padding: var(--space-5);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  max-width: 100%;
}
.consent-strip p { margin: 0; flex: 1; min-width: 200px; font-size: 0.9375rem; color: var(--graphite-muted); }
.consent-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.consent-actions button {
  min-height: 44px;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  font-family: var(--font-body);
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--graphite);
}
.consent-actions .consent-accept { background: var(--grad-cta); color: var(--paper); border: none; }

/* Reveal */
.js .reveal { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: no-preference) {
  .js .reveal:not(.is-visible) { opacity: 1; transform: translateY(14px); transition: opacity var(--t-reveal) var(--ease), transform var(--t-reveal) var(--ease); }
  .js .reveal.is-visible { opacity: 1; transform: translateY(0); }
}

/* Content utilities */
.content-narrow { max-width: 680px; margin-inline: auto; padding-inline: var(--space-5); }
.content-wide { max-width: var(--max-w); margin-inline: auto; padding-inline: var(--space-5); }
.prose-list { padding-left: var(--space-6); margin-bottom: var(--space-5); }
.prose-list li { margin-bottom: var(--space-3); }
.note-list {
  list-style: none;
  padding: 0;
  margin: var(--space-8) auto 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  counter-reset: notes;
}
.note-list li {
  counter-increment: notes;
  padding: var(--space-6);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  background: var(--paper);
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: minmax(120px, 200px) 1fr;
  gap: var(--space-6);
  align-items: start;
}
.note-list li::before {
  content: counter(notes, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--graphite-soft);
  display: block;
  margin-bottom: var(--space-2);
  grid-column: 2;
  grid-row: 1;
}
.note-list .note-thumb {
  grid-column: 1;
  grid-row: 1 / span 3;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-sm);
}
.note-list h2 { grid-column: 2; grid-row: 2; color: var(--graphite); margin: 0 0 var(--space-3); }
.note-list p { grid-column: 2; grid-row: 3; color: var(--graphite-muted); margin-bottom: 0; }
@media (max-width: 640px) {
  .note-list li { grid-template-columns: 1fr; padding: var(--space-5); }
  .note-list .note-thumb { grid-column: 1; grid-row: auto; max-width: 100%; margin-bottom: var(--space-4); }
  .note-list li::before { grid-column: 1; grid-row: auto; }
  .note-list h2 { grid-column: 1; grid-row: auto; align-self: auto; }
  .note-list p { grid-column: 1; grid-row: auto; }
}
.disclaimer { font-size: 0.8125rem; color: var(--graphite-soft); font-style: italic; margin-top: var(--space-6); }
.pull-quote { color: var(--graphite); }
.pull-quote + cite,
cite.content-narrow { color: var(--graphite-soft) !important; }

/* Page hero band for inner pages */
.page-hero-band {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  display: flex;
  align-items: center;
}
.page-hero-band__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}
.page-hero-band__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: var(--space-8) var(--space-5);
  width: 100%;
}
.page-hero-band__inner h2 {
  font-size: clamp(28px, 4vw, 48px);
  color: var(--graphite);
  max-width: 720px;
  margin: 0;
}
.page-hero-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--paper-90), var(--paper-75));
  z-index: 0;
  pointer-events: none;
}

/* Discipline cards on craft page */
.discipline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-5);
}
.discipline-card {
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow-card);
}
.discipline-card .card-thumb { aspect-ratio: 16 / 10; }
.discipline-card-body { padding: var(--space-5); }
.discipline-card h3 { font-size: 1.125rem; margin-bottom: var(--space-3); color: var(--graphite); }
.discipline-card p { font-size: 0.9375rem; margin: 0; color: var(--graphite-muted); }

/* Answers hero split */
.answers-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
  margin-bottom: var(--space-8);
}
@media (max-width: 768px) {
  .answers-hero { grid-template-columns: 1fr; }
}
.answers-hero img { border-radius: var(--r-md); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* 404 visual */
.error-visual img {
  width: 100%;
  max-width: 480px;
  margin-inline: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-md);
  margin-bottom: var(--space-6);
}
.photo-bleed { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: var(--r-md); }
.legal-prose h2 { margin-top: var(--space-8); color: var(--graphite); }
.legal-prose p { color: var(--graphite-muted); }
.legal-prose strong { color: var(--graphite); }
.map-address-float p { color: var(--graphite-muted); }
.map-address-float strong { color: var(--graphite); }
.contact-block address { font-style: normal; line-height: 1.8; margin-bottom: var(--space-5); }
.category-index { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-bottom: var(--space-7); padding-bottom: var(--space-5); border-bottom: 1px solid var(--sage); }
.category-index a { text-decoration: none; color: var(--graphite-soft); font-size: 0.875rem; font-weight: 500; }
.error-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-5); margin: var(--space-6) 0; }
.error-links a { color: var(--slateblue); }
