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

:root {
  --green:      #1e5c1e;
  --green-mid:  #2d7a2d;
  --green-light:#eaf4ea;
  --gold:       #c9a020;
  --gold-light: #fff8e6;
  --cream:      #faf8f3;
  --paper:      #f5f0e8;
  --text:       #1e1e1e;
  --text-mid:   #444;
  --text-light: #6b6b6b;
  --border:     #e0d8cc;
  --white:      #ffffff;
  --shadow:     0 2px 12px rgba(0,0,0,.08);
  --shadow-md:  0 4px 24px rgba(0,0,0,.12);
  --radius:     10px;
  --radius-sm:  6px;

  --odonnell: #1e7a1e;
  --shanahan:  #6a2fa0;
  --stapleton: #b34700;
  --murphy:    #1a5c9e;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.25;
}

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

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

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

/* ─── NAVBAR ────────────────────────────────────────────────────────── */
#navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--green);
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--white) !important;
  text-decoration: none;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
}

.brand-symbol { font-size: 1.4rem; }

.nav-links {
  display: flex;
  list-style: none;
  gap: .25rem;
}

.nav-link {
  color: rgba(255,255,255,.85);
  text-decoration: none;
  padding: .4rem .9rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
  transition: background .15s, color .15s;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(255,255,255,.15);
  color: var(--white);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.4rem;
  padding: .25rem .5rem;
}

/* ─── BUTTONS ───────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: .65rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  transition: all .2s;
  cursor: pointer;
  font-family: inherit;
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover { background: #a87d10; border-color: #a87d10; }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover { background: rgba(255,255,255,.15); border-color: var(--white); }

.btn-green {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
  font-size: .875rem;
  padding: .45rem 1rem;
}
.btn-green:hover { background: #155215; }

.btn-back {
  background: none;
  border: 1.5px solid var(--border);
  color: var(--text-mid);
  padding: .4rem 1rem;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 500;
  transition: all .15s;
}
.btn-back:hover { border-color: var(--green); color: var(--green); }

/* ─── HERO ──────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(160deg, #0d3b0d 0%, #1e5c1e 45%, #2d3a1e 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(201,160,32,.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(255,255,255,.05) 0%, transparent 40%);
}

/* Celtic knotwork accent */
.hero::after {
  content: '✦ ✦ ✦';
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(201,160,32,.4);
  letter-spacing: .5rem;
  font-size: .8rem;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  padding: 3rem 1.5rem;
  max-width: 700px;
}

.hero-shamrock {
  font-size: 3rem;
  margin-bottom: .75rem;
  opacity: .9;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: .75rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  margin-bottom: .5rem;
}

.hero-tagline {
  color: rgba(255,255,255,.75);
  font-size: .95rem;
  margin-bottom: 2rem;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── STATS BAR ─────────────────────────────────────────────────────── */
.stats-bar {
  display: flex;
  background: var(--green);
  color: var(--white);
  justify-content: center;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem 2.5rem;
  border-right: 1px solid rgba(255,255,255,.15);
}
.stat:last-child { border-right: none; }

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
}

.stat-label {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: rgba(255,255,255,.7);
  margin-top: .15rem;
}

/* ─── SECTIONS ──────────────────────────────────────────────────────── */
.section-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.section-title {
  font-size: 1.9rem;
  color: var(--green);
  margin-bottom: 2rem;
  text-align: center;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: .75rem auto 0;
  border-radius: 2px;
}

/* ─── FAMILY LINE CARDS ─────────────────────────────────────────────── */
.family-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.family-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem 1.5rem;
  border-top: 4px solid;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.family-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.family-card-icon {
  font-size: 2rem;
  margin-bottom: .75rem;
}

.family-card h3 {
  font-size: 1.3rem;
  margin-bottom: .25rem;
}

.family-card-origin {
  font-size: .85rem;
  color: var(--text-light);
  margin-bottom: .75rem;
  font-style: italic;
}

.family-card p {
  font-size: .9rem;
  color: var(--text-mid);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.family-card-count {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* ─── STORY BANNER ──────────────────────────────────────────────────── */
.story-banner {
  background: linear-gradient(135deg, var(--green) 0%, #1a4a1a 100%);
  color: var(--white);
}

.story-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  text-align: center;
}

.story-inner h2 {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.story-inner > p {
  max-width: 700px;
  margin: 0 auto 2.5rem;
  color: rgba(255,255,255,.85);
  font-size: 1.05rem;
  line-height: 1.7;
}

.journey-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .5rem;
}

.journey-step {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  min-width: 160px;
  text-align: center;
}

.step-icon { font-size: 1.8rem; margin-bottom: .5rem; }

.journey-step strong { display: block; font-size: .95rem; color: var(--gold); }
.journey-step .step-text { font-size: .85rem; color: rgba(255,255,255,.75); margin-top: .25rem; }

.journey-arrow {
  font-size: 1.5rem;
  color: var(--gold);
  padding: 0 .25rem;
}

/* ─── NOTABLE PEOPLE GRID ───────────────────────────────────────────── */
.notable-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

/* ─── PAGE HEADERS ──────────────────────────────────────────────────── */
.page-header {
  background: var(--green);
  color: var(--white);
  padding: 3rem 1.5rem 2.5rem;
  text-align: center;
}

.page-header h2 {
  font-size: 2rem;
  color: var(--white);
  margin-bottom: .5rem;
}

.page-header p {
  color: rgba(255,255,255,.75);
  font-size: 1rem;
}

/* ─── PEOPLE ────────────────────────────────────────────────────────── */
.people-controls {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem .5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.search-input {
  flex: 1;
  min-width: 220px;
  padding: .6rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 24px;
  font-size: .95rem;
  font-family: inherit;
  outline: none;
  background: var(--white);
  transition: border-color .2s;
}
.search-input:focus { border-color: var(--green); }

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.chip {
  background: var(--white);
  border: 1.5px solid var(--border);
  padding: .35rem .9rem;
  border-radius: 20px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--text-mid);
  cursor: pointer;
  transition: all .15s;
}
.chip:hover { border-color: var(--green); color: var(--green); }
.chip.chip-active { background: var(--green); border-color: var(--green); color: var(--white); }

.people-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.1rem;
}

/* ─── PERSON CARD ───────────────────────────────────────────────────── */
.person-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  border-top: 3px solid var(--green);
}
.person-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.person-photo {
  width: 100%;
  height: 140px;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: var(--border);
}
.person-photo img { width: 100%; height: 100%; object-fit: cover; }

.person-info {
  padding: 1rem;
}

.person-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: .2rem;
}

.person-dates {
  font-size: .8rem;
  color: var(--text-light);
  margin-bottom: .4rem;
}

.person-place {
  font-size: .8rem;
  color: var(--text-mid);
  margin-bottom: .6rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.family-badge {
  display: inline-block;
  padding: .2rem .6rem;
  border-radius: 12px;
  font-size: .72rem;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* ─── PROFILE PAGE ──────────────────────────────────────────────────── */
.profile-back {
  background: var(--paper);
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.profile-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.profile-header {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 2.5rem;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.profile-photo {
  width: 140px;
  height: 140px;
  flex-shrink: 0;
  border-radius: var(--radius);
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--border);
  overflow: hidden;
}
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }

.profile-main-info { flex: 1; }

.profile-name {
  font-size: 2rem;
  color: var(--text);
  margin-bottom: .25rem;
}

.profile-dates {
  font-size: 1rem;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: .75rem;
}

.profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 1rem;
}

.profile-meta-item {
  font-size: .9rem;
  color: var(--text-mid);
}
.profile-meta-item strong { color: var(--text); }

.profile-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
}

.profile-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.profile-card h3 {
  font-size: 1.1rem;
  color: var(--green);
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--border);
}

.profile-bio { font-size: .95rem; line-height: 1.7; color: var(--text-mid); }

.family-connections { list-style: none; }
.family-connections li {
  padding: .4rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .9rem;
}
.family-connections li:last-child { border-bottom: none; }
.fc-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-light); display: block; }
.fc-name { color: var(--green); cursor: pointer; font-weight: 500; }
.fc-name:hover { text-decoration: underline; }

.profile-stories { margin-top: 1.5rem; }
.story-item {
  background: var(--gold-light);
  border-left: 3px solid var(--gold);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: .75rem;
  font-size: .9rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ─── MAP ───────────────────────────────────────────────────────────── */
.map-layout {
  display: flex;
  height: calc(100vh - 60px);
}

.map-sidebar {
  width: 300px;
  flex-shrink: 0;
  background: var(--white);
  border-right: 1px solid var(--border);
  overflow-y: auto;
  padding: 1.5rem;
}

.map-sidebar h3 {
  font-size: 1.3rem;
  color: var(--green);
  margin-bottom: .5rem;
}

.sidebar-intro {
  font-size: .875rem;
  color: var(--text-light);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

#leafletMap { flex: 1; }

.loc-group-heading {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-light);
  padding: .6rem .25rem .3rem;
  margin-top: .5rem;
  border-top: 1px solid var(--border);
}
.loc-group-heading:first-child { border-top: none; margin-top: 0; }

.location-item {
  padding: .75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background .15s;
  margin-bottom: .5rem;
  border: 1px solid transparent;
}
.location-item:hover,
.location-item.active { background: var(--green-light); border-color: var(--green); }

.location-item-name {
  font-weight: 600;
  font-size: .9rem;
  color: var(--text);
}

.location-item-country {
  font-size: .78rem;
  color: var(--text-light);
}

.location-detail {
  padding: 1rem;
  background: var(--green-light);
  border-radius: var(--radius-sm);
  margin-top: 1rem;
  display: none;
}
.location-detail.visible { display: block; }
.location-detail h4 { font-size: 1rem; color: var(--green); margin-bottom: .4rem; }
.location-detail p { font-size: .85rem; color: var(--text-mid); line-height: 1.5; }

.map-zoom-btns {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 1rem;
}
.zoom-btn {
  flex: 1;
  min-width: 70px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .35rem .4rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-mid);
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
}
.zoom-btn:hover { border-color: var(--green); color: var(--green); background: var(--green-light); }

.legend-dot.dot-notable { background: #8e44ad; }

.map-legend {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.map-legend h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-light); margin-bottom: .75rem; }

.legend-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  color: var(--text-mid);
  margin-bottom: .4rem;
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot-origin     { background: #c0392b; }
.dot-transit    { background: #e67e22; }
.dot-settlement { background: #27ae60; }
.legend-line {
  width: 20px;
  height: 2px;
  background: rgba(0,0,0,.4);
  border-top: 2px dashed rgba(0,0,0,.4);
  flex-shrink: 0;
}

/* ─── TIMELINE ──────────────────────────────────────────────────────── */
.timeline-controls {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem .5rem;
}

.timeline-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem 1.5rem 4rem;
  position: relative;
}

.timeline-wrap::before {
  content: '';
  position: absolute;
  left: calc(1.5rem + 40px);
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-event {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
  position: relative;
}

.timeline-year {
  width: 80px;
  flex-shrink: 0;
  text-align: right;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: .95rem;
  color: var(--text-light);
  padding-top: .25rem;
  line-height: 1;
}

.timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--green);
  flex-shrink: 0;
  margin-top: .3rem;
  z-index: 1;
}

.timeline-dot.dot-historical { background: #7f8c8d; box-shadow: 0 0 0 2px #7f8c8d; }
.timeline-dot.dot-migration  { background: #2980b9; box-shadow: 0 0 0 2px #2980b9; }
.timeline-dot.dot-birth      { background: #27ae60; box-shadow: 0 0 0 2px #27ae60; }
.timeline-dot.dot-death      { background: #8e44ad; box-shadow: 0 0 0 2px #8e44ad; }
.timeline-dot.dot-marriage   { background: #e74c3c; box-shadow: 0 0 0 2px #e74c3c; }

.timeline-body {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem 1.25rem;
  flex: 1;
}

.timeline-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: .3rem;
}

.timeline-desc {
  font-size: .875rem;
  color: var(--text-mid);
  line-height: 1.55;
}

.timeline-people {
  margin-top: .5rem;
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
}

.tl-person-tag {
  font-size: .75rem;
  background: var(--green-light);
  color: var(--green);
  padding: .15rem .5rem;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 500;
}
.tl-person-tag:hover { background: var(--green); color: var(--white); }

.timeline-event.hidden { display: none; }

/* ─── FOOTER ────────────────────────────────────────────────────────── */
footer {
  background: var(--green);
  color: rgba(255,255,255,.7);
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: .875rem;
}
footer .footer-sub {
  margin-top: .3rem;
  font-size: .8rem;
  color: rgba(255,255,255,.45);
}

/* ─── LEAFLET CUSTOM MARKERS ────────────────────────────────────────── */
.custom-marker {
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  border: 3px solid var(--white) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.4) !important;
}

.leaflet-popup-content-wrapper {
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow-md) !important;
}
.leaflet-popup-content { margin: 1rem !important; }
.popup-title { font-family: 'Playfair Display', serif; font-weight: 600; font-size: 1rem; margin-bottom: .3rem; }
.popup-body { font-size: .85rem; color: var(--text-mid); line-height: 1.5; }

/* ─── UTILITY ───────────────────────────────────────────────────────── */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem;
  color: var(--text-light);
  font-size: .95rem;
}

/* ─── RESPONSIVE ────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--green);
    padding: .5rem 0;
    box-shadow: 0 4px 8px rgba(0,0,0,.2);
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-link { padding: .7rem 1.5rem; border-radius: 0; }

  .map-layout { flex-direction: column; height: auto; }
  .map-sidebar { width: 100%; max-height: 280px; border-right: none; border-bottom: 1px solid var(--border); }
  #leafletMap { height: 50vh; }

  .profile-header { flex-direction: column; }
  .profile-photo { width: 100px; height: 100px; }
  .profile-grid { grid-template-columns: 1fr; }

  .timeline-wrap::before { left: calc(1.5rem + 38px); }

  .journey-steps { flex-direction: column; }
  .journey-arrow { transform: rotate(90deg); }

  .stat { padding: 1rem 1.5rem; }
  .stat-num { font-size: 1.5rem; }
}
