/* Journey to Recovery Behavioral Health and Wellness Center
   Stylesheet — single file, no build step required. */

/* ---------- Tokens: light (default, also the un-stamped state) ---------- */
:root {
  --ground:        #FAF9F6;
  --surface:       #FFFFFF;
  --surface-alt:   #F1EEE8;
  --ink:           #16242B;
  --body:          #3D4B53;
  --muted:         #6B7A82;
  --rule:          #DFDAD1;
  --rule-strong:   #C6BFB3;

  --brand:         #14515F;
  --brand-text:    #10454F;
  --link:          #16636F;
  --link-hover:    #0E3F49;

  --accent:        #A9631C;
  --accent-soft:   #F2E4CF;

  --hero-bg:       #103F4B;
  --hero-ink:      #F5F2EB;
  --hero-muted:    #AFC7CD;
  --hero-rule:     #2A5D68;

  --notice-bg:     #F6EDDD;
  --notice-rule:   #D9BC8B;
  --notice-ink:    #6B4413;

  --focus:         #14515F;

  --shadow: 0 1px 2px rgba(22, 36, 43, .05), 0 8px 24px rgba(22, 36, 43, .05);

  --measure: 66ch;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  --font-display: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

/* ---------- Tokens: dark via OS preference (guarded so an explicit
     light choice still wins) ---------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground:      #0E181D;
    --surface:     #152329;
    --surface-alt: #1B2F36;
    --ink:         #ECF1F1;
    --body:        #BDC9CD;
    --muted:       #8A9BA1;
    --rule:        #26383F;
    --rule-strong: #3A5058;

    --brand:       #7CC2D1;
    --brand-text:  #92CFDC;
    --link:        #7FC8D7;
    --link-hover:  #A8DDE8;

    --accent:      #DFA359;
    --accent-soft: #33280F;

    --hero-bg:     #0A171C;
    --hero-ink:    #ECF1F1;
    --hero-muted:  #94AAB1;
    --hero-rule:   #22424B;

    --notice-bg:   #241C0E;
    --notice-rule: #6A5426;
    --notice-ink:  #E4BE7C;

    --focus:       #7CC2D1;

    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .28);
  }
}

/* ---------- Tokens: dark via explicit choice ---------- */
:root[data-theme="dark"] {
  --ground:      #0E181D;
  --surface:     #152329;
  --surface-alt: #1B2F36;
  --ink:         #ECF1F1;
  --body:        #BDC9CD;
  --muted:       #8A9BA1;
  --rule:        #26383F;
  --rule-strong: #3A5058;

  --brand:       #7CC2D1;
  --brand-text:  #92CFDC;
  --link:        #7FC8D7;
  --link-hover:  #A8DDE8;

  --accent:      #DFA359;
  --accent-soft: #33280F;

  --hero-bg:     #0A171C;
  --hero-ink:    #ECF1F1;
  --hero-muted:  #94AAB1;
  --hero-rule:   #22424B;

  --notice-bg:   #241C0E;
  --notice-rule: #6A5426;
  --notice-ink:  #E4BE7C;

  --focus:       #7CC2D1;

  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .28);
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
a:hover { color: var(--link-hover); }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.15;
  text-wrap: balance;
  margin: 0;
}

h1 { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.4rem); letter-spacing: -0.015em; }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.3vw, 2.25rem); letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.0625rem; font-weight: 600; font-family: var(--font-body); }

p { margin: 0; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}

.lede {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--body);
}

.prose { max-width: var(--measure); display: flex; flex-direction: column; gap: 1.1em; }
.prose h3 { margin-top: .6em; }

/* Placeholder marker — every one of these must be replaced before launch. */
.fill {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: .9em;
  background: var(--accent-soft);
  padding: 0 .25em;
  border-bottom: 1px dashed var(--accent);
  border-radius: 2px;
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

main { display: block; }

.band {
  padding-block: clamp(3rem, 6vw, 5.25rem);
  border-top: 1px solid var(--rule);
}
.band:first-of-type { border-top: 0; }
.band--alt { background: var(--surface-alt); }

.band-head {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  max-width: var(--measure);
  margin-bottom: 2.5rem;
}

/* ---------- Skip link ---------- */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: .7rem 1.1rem;
  z-index: 100;
}
.skip:focus { left: .5rem; top: .5rem; }

/* ---------- Header ---------- */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 40;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.5rem;
  flex-wrap: wrap;
  padding-block: .75rem;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  color: var(--ink);
}
.wordmark:hover { color: var(--ink); }

.wordmark .mark {
  width: 2.35rem;
  height: 2.35rem;
  flex: none;
  color: var(--brand);
}

.wordmark .name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.wordmark .sub {
  display: block;
  font-family: var(--font-mono);
  font-size: .625rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-top: .2rem;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1.35rem;
  align-items: center;
}
.site-nav a {
  color: var(--body);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
  padding-block: .35rem;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--ink); border-bottom-color: var(--rule-strong); }
.site-nav a[aria-current="page"] { color: var(--brand-text); border-bottom-color: var(--brand); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  padding: .7rem 1.35rem;
  border-radius: 3px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--primary { background: var(--brand); color: #FFFFFF; }
:root[data-theme="dark"] .btn--primary { color: #0A171C; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn--primary { color: #0A171C; } }
.btn--primary:hover { background: var(--link-hover); color: #FFFFFF; }
:root[data-theme="dark"] .btn--primary:hover { color: #0A171C; }

.btn--ghost {
  border-color: var(--rule-strong);
  color: var(--ink);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--brand); color: var(--brand-text); }

.btn--onhero { background: var(--hero-ink); color: var(--hero-bg); }
.btn--onhero:hover { background: #FFFFFF; color: var(--hero-bg); }
.btn--onhero-ghost { border-color: var(--hero-rule); color: var(--hero-ink); }
.btn--onhero-ghost:hover { border-color: var(--hero-ink); color: var(--hero-ink); }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Hero ---------- */
.hero {
  background: var(--hero-bg);
  color: var(--hero-muted);
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
  border-bottom: 1px solid var(--rule);
}
.hero h1, .hero h2 { color: var(--hero-ink); }
.hero .eyebrow { color: var(--hero-muted); }
.hero .lede { color: var(--hero-muted); }
.hero p a { color: var(--hero-ink); }

.hero-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 60rem) {
  .hero-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
}

.hero-copy { display: flex; flex-direction: column; gap: 1.35rem; max-width: 34em; }

.hero-facts {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--hero-rule);
}
.hero-facts div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-block: .8rem;
  border-bottom: 1px solid var(--hero-rule);
}
.hero-facts dt {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--hero-muted);
  margin: 0;
}
.hero-facts dd {
  margin: 0;
  color: var(--hero-ink);
  font-weight: 600;
  font-size: 1rem;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* Page hero (interior pages) */
.page-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
  padding-block: clamp(2.75rem, 5vw, 4.5rem);
}
.page-hero .inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}
.page-hero .inner > * { max-width: var(--measure); }

/* ---------- Status notice ---------- */
.notice {
  background: var(--notice-bg);
  border: 1px solid var(--notice-rule);
  border-radius: 3px;
  padding: 1.15rem 1.35rem;
  color: var(--notice-ink);
  font-size: .95rem;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.notice strong { color: var(--notice-ink); }
.notice a { color: var(--notice-ink); }

.notice-band { padding-block: 1.75rem; background: var(--ground); border-bottom: 1px solid var(--rule); }

/* ---------- Continuum (a real sequence — numbering earns its place) ---------- */
.continuum {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  counter-reset: stage;
}
@media (min-width: 52rem) { .continuum { grid-template-columns: repeat(3, 1fr); gap: 0; } }

.stage {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--rule);
  padding: 1.75rem 1.5rem 1.9rem;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
@media (min-width: 52rem) {
  .stage + .stage { border-left: 0; }
}
.stage::before {
  counter-increment: stage;
  content: "Stage " counter(stage);
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.stage h3 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; }
.stage p { font-size: .97rem; }
.stage .stage-goal {
  margin-top: auto;
  padding-top: .9rem;
  border-top: 1px solid var(--rule);
  font-size: .88rem;
  color: var(--muted);
}

/* ---------- Generic card grid ---------- */
.grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.card h3 { font-family: var(--font-body); font-size: 1.03rem; font-weight: 700; color: var(--ink); }
.card p { font-size: .95rem; }

/* ---------- Checklists / outcome lists ---------- */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
@media (min-width: 46rem) { .ticks--two { grid-template-columns: 1fr 1fr; gap: .7rem 2rem; } }
.ticks li {
  position: relative;
  padding-left: 1.6rem;
  font-size: .98rem;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: .55rem;
  height: .55rem;
  border: 1.5px solid var(--brand);
  border-radius: 50%;
}

.plainlist { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.plainlist li { padding-left: 1.1rem; position: relative; font-size: .98rem; }
.plainlist li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--muted);
}

/* ---------- Numbered process ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 0; }
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 1rem;
  padding-block: 1.15rem;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.steps li:first-child { border-top: 1px solid var(--rule); }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: .85rem;
  color: var(--accent);
  padding-top: .18rem;
}
.steps h4 { margin-bottom: .15rem; }
.steps p { font-size: .95rem; }

/* ---------- Definition table (transparency block) ---------- */
.facts {
  border-top: 1px solid var(--rule);
  margin: 0;
}
.facts > div {
  display: grid;
  grid-template-columns: 1fr;
  gap: .15rem;
  padding-block: .95rem;
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 40rem) {
  .facts > div { grid-template-columns: 15rem 1fr; gap: 1.5rem; align-items: baseline; }
}
.facts dt {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.facts dd { margin: 0; color: var(--ink); }

/* ---------- Pull quote ---------- */
.pullquote {
  border-left: 3px solid var(--accent);
  padding: .25rem 0 .25rem 1.5rem;
  margin: 0;
  max-width: 34em;
}
.pullquote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.45;
  color: var(--ink);
}

/* ---------- CTA band ---------- */
.cta {
  background: var(--hero-bg);
  color: var(--hero-muted);
  padding-block: clamp(2.75rem, 5vw, 4rem);
}
.cta h2 { color: var(--hero-ink); }
.cta .inner { display: flex; flex-direction: column; align-items: flex-start; gap: 1.15rem; }
.cta .inner > * { max-width: 40em; }
.cta p { color: var(--hero-muted); }

/* ---------- Form ---------- */
.form { display: grid; gap: 1.1rem; max-width: 34rem; }
.field { display: grid; gap: .35rem; }
.field label { font-size: .9rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 1rem;
  padding: .65rem .8rem;
  border: 1px solid var(--rule-strong);
  border-radius: 3px;
  background: var(--surface);
  color: var(--ink);
  width: 100%;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field .hint { font-size: .84rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--rule);
  padding-block: 3rem 2.25rem;
  font-size: .93rem;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 48rem) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }

.site-footer h4 {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: .85rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer a { color: var(--body); text-decoration: none; }
.site-footer a:hover { color: var(--link); text-decoration: underline; }

.footer-legal {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  justify-content: space-between;
  color: var(--muted);
  font-size: .86rem;
}

.crisis {
  background: var(--surface-alt);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 1rem 1.15rem;
  font-size: .92rem;
  color: var(--body);
}
.crisis strong { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================================================
   Illustration system — icons, diagram, photo slots, stat figures.
   Added in the visual pass. Everything below inherits the tokens above,
   so it works in both themes without a second copy.
   ========================================================================= */

/* ---------- Icons ---------- */
.icon {
  width: 1.9rem;
  height: 1.9rem;
  flex: none;
  color: var(--brand);
}

.card--icon { gap: .7rem; }
.card--icon .icon { margin-bottom: .15rem; }

/* ---------- Hero art ---------- */
.hero { position: relative; overflow: hidden; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 55% at 80% 15%, rgba(255, 255, 255, .075), transparent 62%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }

.hero-side { display: flex; flex-direction: column; gap: 1.25rem; }

.hero-art {
  width: 100%;
  max-width: 27rem;
  height: auto;
  color: var(--hero-ink);
  margin-inline: auto;
}
@media (max-width: 38rem) { .hero-art { max-width: 20rem; } }

/* ---------- Stat figures ---------- */
.stats {
  display: grid;
  gap: 1.75rem 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
}
.stat {
  display: grid;
  gap: .3rem;
  padding-top: .9rem;
  border-top: 2px solid var(--brand);
  align-content: start;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 1.5rem + 2.4vw, 3.25rem);
  line-height: 1;
  color: var(--ink);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.stat-label { font-size: .97rem; color: var(--ink); font-weight: 600; }
.stat-note { font-size: .85rem; color: var(--muted); line-height: 1.45; }

/* ---------- Continuum track diagram ---------- */
.track { display: grid; gap: 1.5rem; }
.track-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2.25rem;
}
@media (min-width: 52rem) {
  .track-list { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
}

.track-stop {
  position: relative;
  display: grid;
  gap: .3rem;
  padding-left: 2.5rem;
  align-content: start;
}
@media (min-width: 52rem) {
  .track-stop { padding-left: 0; padding-top: 3rem; }
}

.track-dot {
  position: absolute;
  left: 0;
  top: .15rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  border: 1.5px solid var(--brand);
  background: var(--ground);
  display: grid;
  place-items: center;
  z-index: 2;
}
@media (min-width: 52rem) { .track-dot { top: 0; } }
.track-dot > span {
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: var(--brand);
  opacity: .4;
}
.track-stop:nth-child(2) .track-dot > span { opacity: .7; }
.track-stop:last-child .track-dot { border-width: 2px; }
.track-stop:last-child .track-dot > span { opacity: 1; }

/* connector: vertical when stacked, horizontal when in a row */
.track-stop::before {
  content: "";
  position: absolute;
  left: .72rem;
  top: 1.65rem;
  bottom: -2.25rem;
  width: 1.5px;
  background: var(--rule-strong);
  z-index: 1;
}
@media (min-width: 52rem) {
  .track-stop::before {
    left: 1.5rem;
    right: -1.75rem;
    top: .72rem;
    bottom: auto;
    width: auto;
    height: 1.5px;
  }
}
.track-stop:last-child::before { display: none; }

.track-num {
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.track-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
}
.track-goal { font-size: .9rem; color: var(--muted); }
.track-caption {
  font-size: .92rem;
  color: var(--muted);
  max-width: 52ch;
  padding-top: .25rem;
}

/* ---------- Photo slots ---------- */
.photo { margin: 0; }
.photo-frame {
  aspect-ratio: var(--ratio, 4 / 3);
  border: 1.5px dashed var(--rule-strong);
  border-radius: 3px;
  background: var(--surface-alt);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: 1.5rem;
  text-align: center;
}
.photo-icon { width: 1.65rem; height: 1.65rem; color: var(--muted); }
.photo-kicker {
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.photo-brief {
  font-size: .88rem;
  color: var(--muted);
  max-width: 34ch;
  line-height: 1.5;
}
.photo--onhero .photo-frame {
  background: rgba(255, 255, 255, .05);
  border-color: var(--hero-rule);
}
.photo--onhero .photo-icon, .photo--onhero .photo-brief { color: var(--hero-muted); }

/* ---------- Split figure layout ---------- */
.split {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 54rem) {
  .split { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .split--flip > :first-child { order: 2; }
}

/* ---------- Quote with more presence ---------- */
.pullquote {
  border-left: 3px solid var(--accent);
  padding: .5rem 0 .5rem 1.75rem;
}
.pullquote p { font-size: clamp(1.25rem, 1.05rem + .6vw, 1.5rem); }

/* ---------- Reference image (review builds only, never the public site) ---------- */
.photo-ref { margin: 0; display: grid; gap: .6rem; }
.photo-ref img {
  width: 100%;
  border-radius: 3px;
  border: 1px solid var(--rule);
}
.photo-ref figcaption {
  font-size: .84rem;
  color: var(--muted);
  line-height: 1.5;
}
.photo-ref .ref-flag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--notice-ink);
  background: var(--notice-bg);
  border: 1px solid var(--notice-rule);
  border-radius: 2px;
  padding: .2rem .45rem;
  margin-bottom: .35rem;
}
.split--top { align-items: start; }
