/* ==========================================================
   Marie L. Williams — memorial site
   Palette drawn from her portrait: ivory, deep garnet, warm gold
   ========================================================== */

:root {
  --ivory: #faf6ef;
  --cream: #f3ece0;
  --paper: #fffdf9;
  --ink: #2b2326;
  --ink-soft: #4e4347;
  --garnet: #8a2433;
  --garnet-deep: #5e1520;
  --gold: #b8924a;
  --gold-soft: #d9c08f;
  --night: #221a1d;
  --line: rgba(43, 35, 38, 0.12);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Lato", "Segoe UI", Helvetica, Arial, sans-serif;
  --script: "Great Vibes", "Cormorant Garamond", cursive;

  --radius: 6px;
  --shadow: 0 18px 40px -20px rgba(43, 20, 25, 0.35);
  --nav-h: 68px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--garnet); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--garnet-deep); }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.2; margin: 0; color: var(--ink); }

.container { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.container.narrow { width: min(760px, 100% - 2.5rem); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.75rem;
}

.script { font-family: var(--script); font-weight: 400; }

/* ---------- Navigation ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.site-header.scrolled {
  background: rgba(250, 246, 239, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
}
.nav {
  height: var(--nav-h);
  width: min(1200px, 100% - 2.5rem);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ivory);
  text-decoration: none;
  letter-spacing: 0.02em;
  opacity: 0;
  transition: opacity 0.35s ease, color 0.35s ease;
}
.scrolled .nav-brand { opacity: 1; color: var(--ink); }
.nav-links { list-style: none; display: flex; gap: 1.75rem; margin: 0; padding: 0; }
.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  padding: 0.45rem 0;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: rgba(255, 253, 249, 0.88);
  transition: color 0.25s ease;
}
.nav-links a::after {
  /* gold underline that grows from the center on hover */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.nav-links a:hover::after, .nav-links a:focus-visible::after { transform: scaleX(1); }
.nav-icon {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: var(--gold-soft);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.25s ease, transform 0.25s ease;
}
.nav-links a:hover .nav-icon { transform: translateY(-1px); }
.nav-links a:hover { color: var(--paper); }
.scrolled .nav-links a { color: var(--ink-soft); }
.scrolled .nav-links a:hover { color: var(--garnet); }
.scrolled .nav-icon { stroke: var(--gold); }
.scrolled .nav-links a:hover .nav-icon { stroke: var(--garnet); }

@media (max-width: 1080px) and (min-width: 901px) {
  .nav-links { gap: 1.25rem; }
  .nav-links a { letter-spacing: 0.1em; }
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--ivory);
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}
.scrolled .nav-toggle span, .nav-open .nav-toggle span { background: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: calc(var(--nav-h) + 2rem) 1.25rem 4rem;
  color: var(--ivory);
  background:
    radial-gradient(ellipse at 50% 30%, rgba(138, 36, 51, 0.45), transparent 60%),
    radial-gradient(ellipse at 50% 120%, rgba(184, 146, 74, 0.18), transparent 55%),
    linear-gradient(180deg, #2a1d21 0%, var(--night) 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  /* fine gold frame */
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(217, 192, 143, 0.25);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 720px; }
.hero .eyebrow { color: var(--gold-soft); animation: fadeUp 1s ease both; }

.portrait {
  margin: 1.25rem auto 2rem;
  width: clamp(190px, 34vw, 270px);
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 7px;
  background: linear-gradient(140deg, var(--gold-soft), var(--gold) 45%, #7d5f2a);
  box-shadow: 0 0 0 10px rgba(217, 192, 143, 0.08), 0 30px 60px -20px rgba(0, 0, 0, 0.7);
  animation: fadeUp 1.1s 0.15s ease both;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 4px solid var(--night); }

.hero-name {
  font-size: clamp(2.6rem, 7vw, 4.75rem);
  font-weight: 400;
  color: var(--paper);
  letter-spacing: 0.01em;
  animation: fadeUp 1.1s 0.3s ease both;
}
.hero-dates {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  margin: 1rem 0 2.25rem;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  letter-spacing: 0.08em;
  color: var(--gold-soft);
  animation: fadeUp 1.1s 0.45s ease both;
}
.hero-dates .divider { font-size: 0.8em; color: var(--gold); }

.hero-verse {
  margin: 0 auto;
  max-width: 34rem;
  animation: fadeUp 1.1s 0.6s ease both;
}
.hero-verse p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  line-height: 1.5;
  margin: 0 0 0.5rem;
  color: rgba(255, 253, 249, 0.85);
}
.hero-verse cite {
  font-style: normal;
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

.scroll-cue {
  display: inline-block;
  margin-top: 3rem;
  width: 26px;
  height: 42px;
  border: 1px solid rgba(217, 192, 143, 0.55);
  border-radius: 14px;
  position: relative;
  animation: fadeUp 1.1s 0.9s ease both;
}
.scroll-cue span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 3px;
  height: 8px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--gold-soft);
  animation: scrollDot 2s ease-in-out infinite;
}

/* ---------- Sections ---------- */
.section { padding: clamp(4.5rem, 10vw, 7.5rem) 0; }

.section-head { text-align: center; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.section-head h2 { font-size: clamp(2.2rem, 5vw, 3.25rem); }
.section-intro { color: var(--ink-soft); max-width: 36rem; margin: 1.5rem auto 0; }

.ornament {
  display: block;
  width: 120px;
  height: 14px;
  margin: 1.1rem auto 0;
  background:
    linear-gradient(var(--gold), var(--gold)) left center / 46px 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) right center / 46px 1px no-repeat;
  position: relative;
}
.ornament::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border: 1px solid var(--gold);
  transform: translate(-50%, -50%) rotate(45deg);
}

/* Story */
.prose { max-width: 40rem; margin-inline: auto; }
.prose p {
  margin: 0 0 1.5rem;
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.85;
  color: #3d3236;
}
.prose .lead {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.6vw, 1.5rem);
  font-weight: 500;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: 2rem;
}
.prose .lead::first-letter {
  /* fallback: a three-line drop cap */
  float: left;
  font-size: 3.85em;
  line-height: 0.85;
  margin: 0.06em 0.1em 0 0;
  color: var(--garnet);
  font-weight: 500;
}
@supports (initial-letter: 3) or (-webkit-initial-letter: 3) {
  .prose .lead::first-letter {
    float: none;
    font-size: inherit;
    line-height: inherit;
    margin: 0 0.12em 0 0;
    -webkit-initial-letter: 3;
    initial-letter: 3;
  }
}

.obit-link { text-align: center; margin: 1rem 0 0; }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--garnet);
  border: 1px solid var(--garnet);
  border-radius: 999px;
  padding: 0.9rem 1.9rem;
  transition: background 0.25s ease, color 0.25s ease;
}
.btn-outline svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.btn-outline:hover { background: var(--garnet); color: var(--paper); }

/* Quote band */
.quote-band {
  background: linear-gradient(120deg, var(--garnet-deep), var(--garnet));
  color: var(--paper);
  text-align: center;
  padding: clamp(3.5rem, 8vw, 5rem) 0;
}
.quote-band .script {
  font-size: clamp(1.9rem, 4.6vw, 3rem);
  line-height: 1.35;
  margin: 0;
}

/* Faith cards */
.faith { background: var(--paper); }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 2.25rem 1.75rem 2rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { font-size: 1.45rem; margin-bottom: 0.75rem; }
.card p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }
.card strong { color: var(--garnet); font-weight: 700; }
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
  background: rgba(138, 36, 51, 0.08);
}
.card-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--garnet);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Timeline */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 7.25rem;
  top: 0.6rem;
  bottom: 0.6rem;
  width: 1px;
  background: linear-gradient(var(--gold-soft), var(--gold), var(--gold-soft));
}
.timeline li {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 2.5rem;
  position: relative;
  padding-bottom: 2.4rem;
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: calc(7.25rem - 6px);
  top: 0.55rem;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--ivory);
  border: 2px solid var(--garnet);
}
.t-year {
  text-align: right;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--garnet);
  line-height: 1.5;
}
.t-body h3 { font-size: 1.4rem; margin-bottom: 0.25rem; }
.t-body p { margin: 0; color: var(--ink-soft); }

/* Family */
.family { background: var(--cream); }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}
.stat {
  background: var(--paper);
  text-align: center;
  padding: 2rem 1rem;
}
.stat-num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  font-weight: 500;
  line-height: 1;
  color: var(--garnet);
}
.stat-label {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.family-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}
.family-col h3 {
  font-size: 1.6rem;
  padding-bottom: 0.9rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--gold-soft);
}
.names { list-style: none; margin: 0; padding: 0; }
.names li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px dashed var(--line);
}
.names .n { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; }
.names .r { font-size: 0.85rem; color: var(--ink-soft); text-align: right; font-style: italic; }
.note { margin: 1.25rem 0 0; color: var(--ink-soft); font-size: 0.98rem; }

/* Gallery */
.gallery-section { background: var(--paper); }
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.gallery figure {
  margin: 0;
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: zoom-in;
  background: var(--cream);
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2rem 1rem 0.8rem;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--paper);
  background: linear-gradient(transparent, rgba(34, 26, 29, 0.8));
  opacity: 0;
  transition: opacity 0.35s ease;
}
.gallery figure:hover figcaption, .gallery figure:focus-visible figcaption { opacity: 1; }
.gallery .placeholder {
  cursor: default;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.5rem;
  border: 1px dashed var(--gold-soft);
  background: var(--ivory);
  color: var(--ink-soft);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
}
.gallery-cta { text-align: center; margin: 2.5rem 0 0; color: var(--ink-soft); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 2rem;
  background: rgba(20, 14, 16, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; text-align: center; }
.lightbox img { max-height: 80vh; max-width: min(1000px, 100%); border-radius: 4px; margin: 0 auto; }
.lightbox figcaption { color: var(--gold-soft); font-family: var(--serif); font-size: 1.2rem; margin-top: 1rem; }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(217, 192, 143, 0.4);
  background: rgba(34, 26, 29, 0.6);
  color: var(--gold-soft);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}
.lightbox-nav:hover { background: var(--garnet); }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-count { color: rgba(255, 253, 249, 0.6); font-size: 0.85rem; letter-spacing: 0.15em; margin-top: 0.5rem; }
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: 0;
  color: var(--paper);
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
}

/* Service */
.service {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(138, 36, 51, 0.35), transparent 65%),
    var(--night);
}
.service-card {
  text-align: center;
  color: var(--paper);
  border: 1px solid rgba(217, 192, 143, 0.35);
  padding: clamp(2.5rem, 7vw, 4rem) 1.5rem;
  position: relative;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(217, 192, 143, 0.15);
  pointer-events: none;
}
.service-card .eyebrow { color: var(--gold-soft); }
.service-card h2 { color: var(--paper); font-size: clamp(2.1rem, 5vw, 3rem); }
.service-date {
  font-family: var(--serif);
  font-size: 1.45rem;
  color: var(--gold-soft);
  margin: 1.75rem 0 1rem;
}
.service-place { margin: 0; color: rgba(255, 253, 249, 0.8); line-height: 1.8; }

/* Memories form */
.memory-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 5vw, 3rem);
  box-shadow: var(--shadow);
  display: grid;
  gap: 1.25rem;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.memory-form label {
  display: grid;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.memory-form .optional { text-transform: none; letter-spacing: 0; font-weight: 400; }
.memory-form input, .memory-form textarea {
  font: inherit;
  font-size: 1rem;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--ink);
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.75rem 0.9rem;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.memory-form input[type="file"] { padding: 0.6rem; background: transparent; }
.memory-form input:focus, .memory-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 146, 74, 0.2);
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn {
  justify-self: start;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--garnet);
  border: 0;
  border-radius: 999px;
  padding: 1rem 2.25rem;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}
.btn:hover { background: var(--garnet-deep); transform: translateY(-1px); }
.btn:disabled { opacity: 0.6; cursor: progress; }
.form-status { margin: 0; font-family: var(--serif); font-size: 1.15rem; }
.form-status.ok { color: #3d6b45; }
.form-status.err { color: var(--garnet); }

/* Footer */
.site-footer {
  background: var(--night);
  color: rgba(255, 253, 249, 0.65);
  text-align: center;
  padding: 3.5rem 1.25rem 3rem;
  border-top: 1px solid rgba(217, 192, 143, 0.2);
}
.site-footer p { margin: 0.25rem 0; }
.footer-script { font-size: 2.4rem; color: var(--gold-soft); margin-bottom: 0.75rem !important; }
.site-footer .small { font-size: 0.85rem; }
.site-footer a { color: var(--gold-soft); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes scrollDot {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-toggle { display: block; z-index: 2; }
  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.75rem;
    background: var(--ivory);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
  }
  .nav-links a { color: var(--ink) !important; font-size: 0.95rem; gap: 0.75rem; }
  .nav-links .nav-icon { width: 20px; height: 20px; stroke: var(--gold); }
  /* backdrop-filter would make the header the containing block for the fixed menu */
  .site-header.nav-open { backdrop-filter: none; }
  .nav-open .nav-links { opacity: 1; visibility: visible; }
  .nav-open .nav-brand { opacity: 1; color: var(--ink); position: relative; z-index: 2; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .hero::before { inset: 12px; }
  .family-grid, .field-row { grid-template-columns: 1fr; }
  .timeline::before { left: 6px; }
  .timeline li { grid-template-columns: 1fr; gap: 0.2rem; padding-left: 2rem; }
  .timeline li::before { left: 0; }
  .t-year { text-align: left; font-size: 1.15rem; }
  .names li { flex-direction: column; gap: 0; }
  .names .r { text-align: left; }
  .btn { justify-self: stretch; }
}
