@import url('https://fonts.googleapis.com/css2?family=Besley:ital,wght@0,500;0,600;0,700;1,500;1,600;1,700&family=Public+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap');

/*
  ================================================================
  ACACIA CENTER FOR JUSTICE
  Interactive Blog: "When Every Door Closes"
  Child theme stylesheet — loads on this post only.
  ================================================================
*/


/* ── 1. CUSTOM PROPERTIES ─────────────────────────────────────── */
:root {
  --green:        #174337;
  --green-dark:   #0B320C;
  --green-hover:  #0f3530;
  --green-light:  #e6eeeb;
  --green-muted:  #c4d6cf;

  --black:        #0e0e0e;
  --text:         #1a1a1a;
  --text-muted:   #525250;
  --text-light:   #888884;

  --bg:           #ffffff;
  --bg-subtle:    #f6f5f0;
  --bg-muted:     #eeede8;
  --border:       #dddbd5;
  --border-light: #eae8e2;

  --font-serif: 'Besley', Georgia, 'Times New Roman', serif;
  --font-sans:  'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --max-w:      1160px;
  --article-w:  720px;
  --gutter:     clamp(1.25rem, 5vw, 2.5rem);

  --header-h:   72px;

  --radius:     2px;
  --shadow-sm:  0 1px 4px rgba(0,0,0,0.07);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.11);
  --shadow-lg:  0 12px 48px rgba(0,0,0,0.18);
  --shadow-door: 0 8px 32px rgba(0,0,0,0.14), 0 2px 8px rgba(0,0,0,0.08);

  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
}

body.modal-is-open {
  overflow: hidden;
}


/* ── 2. RESET & BASE ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 18px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.2s;
}
a:hover { color: var(--green-dark); }

ul, ol { list-style: none; }

button { cursor: pointer; font-family: inherit; }

*:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}


/* ── 3. LAYOUT CONTAINERS ─────────────────────────────────────── */
.container-narrow {
  width: 100%;
  max-width: var(--article-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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


/* ── 4. TYPOGRAPHY UTILITIES ──────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.75rem;
}


/* ── 5. BUTTONS ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.75em 1.5em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--green);
  color: #fff;
}

.btn-callout {
  background: #fff;
  color: var(--green-dark);
  border-color: #fff;
  margin-top: 1.5rem;
}
.btn-callout:hover,
.btn-callout:focus-visible {
  background: var(--green-light);
  border-color: var(--green-light);
}


/* ── 6. HERO ─────────────────────────────────────────────────── */
.article-hero {
  display: flex;
  flex-direction: column;
}

.hero-dark {
  background: #0B320C;
  color: #fff;
  padding: clamp(4rem, 10vw, 7rem) 0 5rem;
  position: relative;
  overflow: hidden;
  min-height: 52vh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}

.hero-dark > .container-wide {
  width: 100%;
  position: relative;
  padding-top: 2.5rem;
  box-sizing: border-box;
}

.hero-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 100% at -10% 60%, rgba(23,67,55,0.5) 0%, transparent 55%),
    radial-gradient(ellipse 50% 70% at 100% 10%, rgba(46,139,87,0.08) 0%, transparent 55%);
  pointer-events: none;
}

.hero-dark::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--gutter) - 1px);
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(46,139,87,0.35) 30%, rgba(46,139,87,0.35) 70%, transparent);
  pointer-events: none;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 2.25rem;
  position: relative;
}

.hero-dot { color: var(--green); }

.article-hero .hero-dark .hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 9vw, 7rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: #fff;
  margin-top: 0;
  margin-bottom: 1.5rem;
  position: relative;
}

.hero-deck {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.4;
  color: rgba(255,255,255,0.55);
  max-width: 540px;
  position: relative;
}

/* ── Editorial body section ── */
.hero-body {
  background: #fff;
  border-bottom: 1px solid var(--border-light);
  padding: 4rem 0 5rem;
}

.intro-lede {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 500;
  line-height: 1.7;
  color: var(--text);
  margin: 0 0 1.75rem;
}

.intro-body {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  font-weight: 400;
  line-height: 1.82;
  color: var(--text);
  margin: 0 0 1.5rem;
}

.intro-body--final {
  margin-top: 2rem;
  font-style: italic;
  color: var(--green-dark);
  border-left: 3px solid var(--green);
  padding-left: 1.25rem;
  margin-bottom: 0;
}

.intro-section-heading {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  margin: 3rem 0 1.25rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-light);
}

.intro-doors-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem;
  border-left: 2px solid var(--border-light);
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.intro-doors-list li {
  font-family: var(--font-serif);
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--text);
  padding: 0.1rem 0;
}

.intro-doors-list li::before {
  content: '→';
  margin-right: 0.65rem;
  color: var(--green);
  font-style: normal;
}

.camara-aside {
  margin: 2.5rem 0 0;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--green);
  border-radius: 4px;
  padding: 2rem 2.25rem;
}

.camara-label {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 0.35rem;
}

.camara-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.9rem;
  letter-spacing: -0.01em;
}

.camara-bio {
  font-family: var(--font-sans);
  font-size: 0.97rem;
  font-weight: 400;
  line-height: 1.78;
  color: var(--text-muted);
  margin: 0;
}

.observer-callout {
  border-left: 4px solid var(--green);
  padding: 2rem 2rem 2rem 2.25rem;
  background: var(--green-light);
  margin: 2.5rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.observer-callout h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--green-dark);
}
.observer-callout p {
  font-family: var(--font-sans);
  font-weight: 400;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.observer-callout p:last-child { margin-bottom: 0; }

.decision-list {
  list-style: decimal;
  padding-left: 1.5rem;
  margin-top: 1rem;
}
.decision-list li {
  font-family: var(--font-sans);
  font-weight: 400;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: var(--text);
  padding-left: 0.5rem;
}

@media (max-width: 860px) {
  /* Extra top space so the H1 clears sticky theme headers on phones */
  .article-hero .hero-dark {
    min-height: 0;
    padding: clamp(5.75rem, 22vw, 9rem) 0 2.5rem;
  }
  .hero-dark > .container-wide {
    padding-top: clamp(2rem, 6vw, 3.25rem);
  }
  .hero-body { padding: 2.5rem 0 3.5rem; }
  .intro-section-heading { margin: 2rem 0 1rem; padding-top: 2rem; }
  .camara-aside { padding: 1.5rem 1.5rem; }
}

@media (max-width: 500px) {
  .article-hero .hero-dark .hero-title { letter-spacing: -0.02em; }
  .hero-deck  { font-size: 1rem; }
}


/* ── 7. JOURNEY CTA SECTION ──────────────────────────────────── */
.journey-cta {
  background: #f4f3ee;
  padding-block: 5rem 4.5rem;
  text-align: center;
  border-top: 1px solid var(--border-light);
}

.journey-title {
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--black);
  margin-bottom: 0.6rem;
  letter-spacing: -0.025em;
}

.journey-subtitle {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0 auto 3rem;
  max-width: 380px;
  letter-spacing: 0.02em;
}

.door-preview-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin: 0 auto 3rem;
  max-width: 900px;
}

.door-preview-card {
  background: var(--bg);
  border-radius: 4px;
  padding: 0;
  border: 1.5px solid var(--border-light);
  cursor: pointer;
  text-align: left;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 0.22s, box-shadow 0.22s, transform 0.22s var(--ease-out);
  font: inherit;
  position: relative;
}
.door-preview-card:hover {
  border-color: var(--green);
  box-shadow: 0 6px 24px rgba(23,67,55,0.14);
  transform: translateY(-3px);
}
.door-preview-card:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
}

.door-preview-image {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: contain;
  object-position: center bottom;
  display: block;
  background: var(--bg-subtle);
  padding: 0.5rem 1rem 0;
}

.door-preview-num {
  position: absolute;
  top: 0.55rem;
  left: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--green);
  background: rgba(255,255,255,0.9);
  padding: 0.15rem 0.4rem;
  border-radius: 2px;
}

.door-preview-title {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--text-muted);
  padding: 0.65rem 0.75rem 0.85rem;
  border-top: 1px solid var(--border-light);
}

.journey-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

.btn-large {
  font-size: 0.82rem;
  padding: 1.1em 2.5em;
  letter-spacing: 0.08em;
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1.5px solid var(--border);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.6em 1.2em;
  border-radius: var(--radius);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.btn-ghost:hover,
.btn-ghost:focus-visible {
  color: var(--text);
  border-color: var(--text-muted);
  background: var(--bg-muted);
}

#show-full-article-btn {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem 0;
  transition: color 0.2s;
}
#show-full-article-btn:hover { color: var(--green); }

@media (max-width: 860px) {
  .door-preview-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 560px;
  }
}
@media (max-width: 560px) {
  .door-preview-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 380px;
  }
}
@media (max-width: 380px) {
  .door-preview-grid {
    grid-template-columns: 1fr 1fr;
  }
}


/* ── 8. EDITORIAL BREAKS ─────────────────────────────────────── */
.section-rule {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border) 15%, var(--border) 85%, transparent);
  margin: 2.5rem 0;
}

.pull-quote {
  margin: 2.25rem 0;
  padding: 1.25rem 0 1.25rem 1.5rem;
  border-left: 4px solid var(--text);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1.55;
  color: var(--text);
}
.pull-quote p {
  margin: 0;
}
.pull-quote--accent {
  border-left-color: var(--green);
  background: var(--green-light);
  padding: 1.35rem 1.35rem 1.35rem 1.5rem;
  font-size: 1.2rem;
}

.stat-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 2.25rem 0;
}
@media (min-width: 640px) {
  .stat-row {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}
.stat-block {
  background: #fff;
  border: 1px solid var(--border);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.stat-block--solo {
  margin: 2rem 0;
}
.stat-block--dark {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: #fff;
}
.stat-block--dark .stat-caption,
.stat-block--dark .stat-caption a {
  color: rgba(255,255,255,0.92);
}
.stat-block--dark .stat-caption a {
  text-decoration-color: rgba(255,255,255,0.5);
}
.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1;
  color: var(--green-dark);
  margin-bottom: 0.65rem;
}
.stat-block--dark .stat-number {
  color: #fff;
}
.stat-caption {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--text-muted);
}


/* ── 9. ARTICLE SECTIONS ─────────────────────────────────────── */
.article-section {
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--border-light);
}
.article-section.alt-bg {
  background: var(--bg-subtle);
}

.section-door-marker {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-light);
}
.section-door-img {
  flex: 0 0 104px;
  width: 104px;
  aspect-ratio: 9 / 14;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: var(--shadow-md);
  opacity: 0.95;
}
.section-door-info {
  flex: 1;
  padding-top: 0.25rem;
}
.section-door-info h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.8vw, 1.75rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 1rem;
}

.section-body p {
  font-family: var(--font-sans);
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: var(--text);
  line-height: 1.78;
}
.section-body p:last-child { margin-bottom: 0; }

.section-body a {
  color: var(--green);
  text-decoration-thickness: 1px;
}
.section-body a:hover { color: var(--green-dark); }

.callout-box {
  background: var(--green-light);
  border-left: 4px solid var(--green);
  padding: 2rem 2rem 2rem 2.25rem;
  margin: 2.5rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.callout-box h3 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 0.85rem;
}
.callout-box p {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 1rem;
  color: var(--text);
}
.callout-box p:last-child { margin-bottom: 0; }


/* ── 10. CONCLUSION ──────────────────────────────────────────── */
.conclusion {
  background: var(--bg);
  padding: 5rem 0 6rem;
}

.conclusion-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 2rem;
}

.conclusion-body {
  margin-bottom: 3rem;
}
.conclusion-body p {
  font-family: var(--font-sans);
  font-weight: 400;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.78;
}
.conclusion-body p:last-child { margin-bottom: 0; }

.final-callout {
  background: var(--green);
  color: #fff;
  padding: 3rem;
  border-radius: var(--radius);
}
.final-callout h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 1.25rem;
}
.final-callout p {
  font-family: var(--font-sans);
  font-size: 0.97rem;
  font-weight: 400;
  line-height: 1.72;
  color: rgba(255,255,255,0.88);
  margin-bottom: 1rem;
}
.final-callout p:last-of-type { margin-bottom: 0; }


/* ── 11. JOURNEY MODAL ───────────────────────────────────────── */
.journey-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(11, 50, 12, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.journey-modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.journey-modal {
  display: grid;
  grid-template-columns: 40% 1fr;
  width: 100%;
  max-width: 1040px;
  height: min(90vh, 700px);
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05) inset,
    0 48px 96px rgba(0,0,0,0.6),
    0 16px 32px rgba(0,0,0,0.35);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.4s var(--ease-out);
}

.journey-modal-overlay.is-open .journey-modal {
  transform: none;
}

.journey-modal-image-panel {
  background: #0B320C;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.journey-modal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
  transition: opacity 0.4s ease;
  position: relative;
  z-index: 1;
}

.modal-exhibit-num {
  position: absolute;
  bottom: -0.08em;
  right: -0.03em;
  font-family: var(--font-serif);
  font-size: clamp(8rem, 18vw, 14rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
  color: rgba(255,255,255,0.07);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.journey-modal-image-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 70%, rgba(11,50,12,0.15) 100%);
  pointer-events: none;
  z-index: 2;
}

.journey-modal-content-panel {
  display: flex;
  flex-direction: column;
  background: #fafaf8;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.journey-modal-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1.1rem 1.75rem;
  border-bottom: 1px solid var(--border-light);
  flex-shrink: 0;
  background: #fff;
}

.journey-modal-progress {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.progress-door { color: var(--green); }
.progress-sep  { color: var(--border); }
.progress-part { color: var(--text-light); font-weight: 600; letter-spacing: 0.1em; }

.journey-modal-dots {
  display: flex;
  gap: 5px;
  align-items: center;
}

.modal-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  transition: background 0.25s, transform 0.25s;
  flex-shrink: 0;
}

.modal-dot.is-active {
  background: var(--green);
  transform: scale(1.4);
}

.journey-modal-close {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1;
  flex-shrink: 0;
  transition: border-color 0.18s, color 0.18s, background 0.18s;
}
.journey-modal-close:hover,
.journey-modal-close:focus-visible {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-light);
}

.journey-modal-scroll {
  flex: 1 1 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 2rem 2rem 1rem;
  min-height: 0;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.journey-modal-scroll::-webkit-scrollbar { width: 4px; }
.journey-modal-scroll::-webkit-scrollbar-track { background: transparent; }
.journey-modal-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.journey-modal-scroll.is-transitioning {
  opacity: 0;
  transform: translateY(6px);
}

.journey-modal-title {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.22;
  color: var(--black);
  margin: 0 0 1.25rem;
  flex-shrink: 0;
}

.journey-modal-body {
  font-family: var(--font-sans);
  font-size: 0.96rem;
  font-weight: 400;
  line-height: 1.72;
  color: var(--text);
  flex: 1;
  overflow: hidden;
}

.journey-modal-body p { margin: 0 0 1rem; }
.journey-modal-body p:last-child { margin-bottom: 0; }
.journey-modal-body strong { color: var(--black); font-weight: 600; }

.modal-part-label {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-light);
  margin: 0 0 0.65rem;
}

.modal-short-copy {
  background: var(--green-light);
  border-left: 3px solid var(--green);
  padding: 0.9rem 1.1rem;
  border-radius: 0 4px 4px 0;
  margin-bottom: 1rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--text);
  flex-shrink: 0;
}
.modal-short-copy p { margin: 0; }

.modal-full-preview {
  font-family: var(--font-sans);
  font-size: 0.93rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
}
.modal-full-preview p { margin: 0 0 0.9rem; }
.modal-full-preview p:last-child { margin-bottom: 0; }

.modal-callout-box {
  background: #0B320C;
  color: #fff;
  padding: 1.25rem 1.5rem;
  border-radius: 6px;
  margin-top: 1.1rem;
  flex-shrink: 0;
}
.modal-callout-box h4 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin: 0 0 0.6rem;
}
.modal-callout-box p {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
  margin: 0 0 0.6rem;
}
.modal-callout-box p:last-child { margin-bottom: 0; }
.modal-callout-box .btn-primary {
  background: #fff;
  color: #0B320C;
  border-color: #fff;
  margin-top: 0.75rem;
  font-size: 0.72rem;
}
.modal-callout-box .btn-primary:hover {
  background: var(--green-light);
  border-color: var(--green-light);
}

.journey-modal-footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem 1.1rem;
  border-top: 1px solid var(--border-light);
  flex-shrink: 0;
  background: #fff;
}

.journey-modal-footer .btn-primary { margin-left: auto; font-size: 0.75rem; }
.journey-modal-footer .btn-ghost   { font-size: 0.7rem; }

@media (max-width: 700px) {
  .journey-modal-overlay { padding: 0; }

  .journey-modal {
    grid-template-columns: 1fr;
    grid-template-rows: 200px 1fr;
    height: 100dvh;
    max-height: none;
    border-radius: 0;
    max-width: none;
  }

  .journey-modal-image-panel::after { display: none; }
  .journey-modal-header { padding: 0.85rem 1.25rem; }
  .journey-modal-scroll { padding: 1.25rem 1.25rem 0.75rem; }
  .journey-modal-footer { padding: 0.75rem 1.25rem 1.5rem; gap: 0.4rem; }
  .journey-modal-footer .btn-ghost:last-child { display: none; }
  .journey-modal-footer .btn-primary { padding: 0.75rem 1.25rem; }
  .journey-modal-title { font-size: 1.25rem; margin-bottom: 0.9rem; }
  .journey-modal-body { font-size: 0.9rem; }
  .modal-short-copy { font-size: 0.8rem; padding: 0.75rem 1rem; }
}


/* ── 12. FULL ARTICLE STYLES ─────────────────────────────────── */
.article--full {
  background: var(--bg-subtle);
  padding-block: 4rem;
}

.article-story-intro {
  margin-bottom: 3rem;
}

.article-story-intro h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 2rem;
}

.article--full .article-section {
  margin-bottom: 4rem;
  padding: 3rem 2rem;
  background: var(--bg);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.article--full .article-section.alt-bg {
  background: var(--bg-subtle);
}


/* ── 13. RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .section-door-marker {
    flex-direction: column;
    gap: 1.25rem;
  }
  .section-door-img {
    width: 80px;
    flex: 0 0 80px;
  }
  .final-callout { padding: 2rem 1.5rem; }
}


/* ── 14. ACCESSIBILITY / MOTION PREFERENCES ──────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

.door-preview-card:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}
