@font-face {
  font-family: "TT Ramillas";
  src:
    local("TT Ramillas"),
    local("TT Ramillas Trial"),
    url("./fonts/TTRamillas-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f4eee4;
  --surface: #fffaf3;
  --surface-muted: #f5e8d6;
  --text: #38261f;
  --text-muted: #6b5247;
  --line: #e6d1bc;
  --primary: #8b4f36;
  --primary-strong: #6e3b29;
  --accent: #7d472f;
  --accent-deep: #4f2f22;
  --orchid: #e5b7a3;
  --rose: #c49374;
  --peach: #d8b189;
  --lavender: #f0dfbf;
  --shadow: 0 14px 36px rgba(96, 54, 36, 0.14);
  --radius: 16px;
  --radius-sm: 10px;
  --focus: 0 0 0 3px rgba(139, 79, 54, 0.28);
  --scroll-y: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
  color: var(--text);
  overflow-x: clip;
  background: linear-gradient(180deg, #f6f1e7 0%, #f1e5d2 46%, #efe3cf 100%);
}

body::before,
body::after {
  content: none;
  display: none;
}

body::before {
  display: none;
}

body::after {
  display: none;
}

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

a {
  color: var(--primary-strong);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 8px;
}

.container {
  width: min(1100px, calc(100% - 2rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  z-index: 1000;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(230, 209, 188, 0.85);
  backdrop-filter: blur(8px);
  background: rgba(246, 241, 231, 0.94);
}

.nav {
  min-height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  color: var(--accent);
  text-decoration: none;
  font-family: "TT Ramillas", "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.menu-toggle {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
  font: inherit;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  width: 100%;
  position: absolute;
  top: 4rem;
  left: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.nav-links li a {
  display: block;
  padding: 0.8rem 1rem;
  text-decoration: none;
  color: var(--text);
}

.nav-links li a[aria-current="page"] {
  color: var(--accent);
  font-weight: 700;
}

.nav-links.is-open {
  display: block;
}

main {
  position: relative;
  isolation: isolate;
}

.section {
  padding: 2.6rem 0;
  position: relative;
  overflow: clip;
}

.section::before {
  display: none;
}

.section:nth-of-type(2n)::before {
  display: none;
}

.hero {
  padding: 3.6rem 0 2.4rem;
}

.hero-inner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 250, 243, 0.98), rgba(244, 231, 214, 0.96));
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 8px);
  box-shadow: var(--shadow);
  padding: clamp(1.2rem, 3.3vw, 2.2rem);
}

.hero-inner::after {
  display: none;
}

.hero-shell {
  display: grid;
  gap: 1.2rem;
  align-items: center;
}

.hero-media-wrap {
  position: relative;
  width: min(100%, 430px);
}

.hero-monogram {
  position: absolute;
  left: 0.3rem;
  top: -0.45rem;
  margin: 0;
  color: var(--primary);
  font-family: "TT Ramillas", "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1;
  letter-spacing: 0.04em;
  z-index: 1;
}

.hero-media {
  border-radius: 40px;
  overflow: hidden;
  border: 2px solid rgba(139, 79, 54, 0.45);
  background: #efe2d2;
  box-shadow: 0 16px 28px rgba(96, 54, 36, 0.14);
}

.hero-media img {
  width: 100%;
  height: clamp(320px, 42vw, 460px);
  object-fit: cover;
  object-position: center 28%;
}

.hero-content {
  max-width: 560px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.78rem;
  margin-bottom: 0.5rem;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 0.8rem;
  color: var(--accent-deep);
  font-family: "TT Ramillas", "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  font-weight: 400;
  line-height: 0.98;
}

h2 {
  color: var(--accent-deep);
  font-family: "TT Ramillas", "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-weight: 400;
}

.hero-sub {
  color: var(--text-muted);
  max-width: 64ch;
  margin-bottom: 1rem;
}

.hero-role {
  margin: 0 0 0.85rem;
  color: #7b4630;
  letter-spacing: 0.11em;
  font-size: 0.96rem;
  text-transform: uppercase;
  font-family: "TT Ramillas", "Iowan Old Style", "Baskerville", "Times New Roman", serif;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.62rem 1rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 150ms ease, filter 150ms ease, border-color 150ms ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff;
  box-shadow: 0 10px 24px rgba(139, 79, 54, 0.28);
}

.btn-primary:hover {
  filter: brightness(1.03);
}

.btn-secondary {
  background: linear-gradient(145deg, rgba(240, 204, 160, 0.48), rgba(236, 182, 146, 0.34));
  color: var(--text);
  border-color: rgba(125, 71, 47, 0.35);
}

.hero .btn-primary {
  background: transparent;
  color: var(--primary-strong);
  border-color: rgba(125, 71, 47, 0.65);
  box-shadow: none;
}

.hero .btn-primary:hover {
  background: rgba(139, 79, 54, 0.1);
  filter: none;
}

.section-muted {
  background: #f3e7d7;
  border-top: 1px solid rgba(230, 209, 188, 0.86);
  border-bottom: 1px solid rgba(230, 209, 188, 0.86);
}

.section-head {
  margin-bottom: 1.2rem;
}

.section-head p {
  margin-top: 0.4rem;
  color: var(--text-muted);
}

.proof-grid,
.skills-grid,
.project-grid,
.artifacts-grid {
  display: grid;
  gap: 1rem;
}

.timeline {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  box-shadow: none;
  padding: clamp(1rem, 2.4vw, 1.8rem) max(1rem, calc((100vw - 1100px) / 2 + 1rem));
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(300px, 1.1fr) minmax(320px, 1fr);
  background: linear-gradient(180deg, rgba(255, 250, 243, 0.94), rgba(243, 230, 210, 0.94));
}

.timeline-visual {
  position: relative;
  min-height: 700px;
  isolation: isolate;
}

.timeline-curve {
  position: absolute;
  pointer-events: none;
  left: -66%;
  top: -38%;
  width: 140%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 14px solid transparent;
  border-right-color: #6b3a29;
  border-bottom-color: #6b3a29;
  transform: rotate(11deg);
  filter: drop-shadow(0 8px 16px rgba(122, 74, 53, 0.2));
}

.timeline-story-intro {
  position: absolute;
  left: 0.2rem;
  top: 43%;
  transform: translateY(-50%);
  width: min(240px, 42%);
  z-index: 2;
}

.timeline-story-intro h3 {
  margin-bottom: 0.35rem;
  font-size: clamp(1.35rem, 2.1vw, 1.85rem);
  color: var(--accent-deep);
}

.timeline-story-intro p {
  margin: 0;
  color: var(--text-muted);
}

.timeline-track {
  position: relative;
  min-height: 700px;
  --timeline-dot-gap: 1rem;
  --timeline-dot-size: 14px;
  --timeline-card-shift: 1in;
}

.timeline-track::before {
  content: none;
}

.timeline-step {
  position: absolute;
  --anchor-x: 56%;
  --anchor-y: 120px;
  text-align: left;
  border: 1px solid rgba(210, 176, 154, 0.7);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.96);
  padding: 0.62rem 0.84rem;
  cursor: pointer;
  width: min(360px, 74%);
  left: calc(var(--anchor-x) + var(--timeline-dot-gap) + var(--timeline-card-shift));
  top: var(--anchor-y);
  transform: translateY(-50%);
  box-shadow: 0 10px 20px rgba(122, 74, 53, 0.12);
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
  z-index: 1;
}

.timeline-step::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--timeline-dot-gap) - (var(--timeline-dot-size) / 2));
  top: 50%;
  width: var(--timeline-dot-size);
  height: var(--timeline-dot-size);
  box-sizing: border-box;
  transform: translateY(-50%);
  border-radius: 999px;
  border: 2px solid #b76948;
  background: #fff;
}

.timeline-step:hover {
  transform: translateY(calc(-50% - 2px));
  border-color: rgba(125, 71, 47, 0.35);
}

.timeline-step.is-active {
  border-color: rgba(166, 79, 51, 0.45);
  background: linear-gradient(145deg, rgba(255, 246, 236, 0.96), rgba(246, 223, 198, 0.92));
  box-shadow: 0 12px 26px rgba(122, 74, 53, 0.18);
}

.timeline-step.is-active::before {
  border-color: #b76948;
  background: #fff;
}

.timeline-step-kicker {
  display: block;
  margin-bottom: 0.12rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 700;
}

.timeline-step-label {
  display: block;
  color: var(--text);
  font-weight: 700;
}

.timeline-step:nth-child(1) {
  --anchor-x: 60%;
  --anchor-y: 62px;
  --timeline-card-shift: 0.7in;
}

.timeline-step:nth-child(2) {
  --anchor-x: 60%;
  --anchor-y: 180px;
}

.timeline-step:nth-child(3) {
  --anchor-x: 60%;
  --anchor-y: 298px;
}

.timeline-step:nth-child(4) {
  --anchor-x: 56.5%;
  --anchor-y: 416px;
}

.timeline-step:nth-child(5) {
  --anchor-x: 47.8%;
  --anchor-y: 534px;
}

.timeline-step:nth-child(6) {
  --anchor-x: calc(45.8% - 1in);
  --anchor-y: 652px;
}

.timeline-panels {
  position: relative;
}

.timeline-panel {
  border: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
  animation: timeline-panel-in 260ms ease;
}

.timeline-panel h3 {
  margin-bottom: 0.45rem;
}

.timeline-panel p {
  margin-top: 0;
}

.timeline-panel ul {
  margin-top: 0.75rem;
}

.timeline-detail-container {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  gap: 1rem;
  align-items: start;
  min-height: 400px;
}

.timeline-text-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(255, 250, 243, 0.98), rgba(243, 227, 205, 0.94));
  padding: clamp(0.9rem, 2.3vw, 1.2rem);
  box-shadow: 0 12px 26px rgba(96, 54, 36, 0.12);
}

.timeline-images {
  position: relative;
  min-height: 260px;
}

.timeline-img {
  position: absolute;
  width: 90px;
  height: auto;
  z-index: 2;
  display: block;
}

.timeline-img.img1 {
  top: -40px;
  right: -40px;
}

.timeline-img.img2 {
  top: 78px;
  right: -8px;
}

.timeline-img.img3 {
  top: 160px;
  right: -48px;
}

#timeline-panel-started .timeline-img.img1 {
  width: 104px;
  top: 186px;
  right: 138px;
  bottom: auto;
  left: auto;
}

#timeline-panel-started .timeline-img.img2 {
  width: 208px;
  top: -20px;
  right: -4px;
  left: auto;
  bottom: auto;
}

#timeline-panel-envy .timeline-img.img1 {
  width: 260px;
  top: 72px;
  right: 14px;
  left: auto;
  bottom: auto;
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(96, 54, 36, 0.18);
}

#timeline-panel-pba-start .timeline-img.img1 {
  width: 300px;
  top: -18px;
  right: 14px;
  left: auto;
  bottom: auto;
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(96, 54, 36, 0.18);
}

@media (min-width: 981px) {
  #timeline-panel-pba-start .timeline-detail-container {
    grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
    gap: 0.45rem;
    align-items: center;
  }

  #timeline-panel-pba-start .timeline-text-card {
    max-width: 420px;
  }

  #timeline-panel-pba-start .timeline-images {
    min-height: auto;
    display: flex;
    align-items: center;
  }

  #timeline-panel-pba-start .timeline-img.img1 {
    position: static;
    width: 360px;
  }
}

#timeline-panel-dana .timeline-img.img1 {
  width: 250px;
  top: 12px;
  right: 14px;
  left: auto;
  bottom: auto;
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(96, 54, 36, 0.18);
}

#timeline-panel-adapt .timeline-img.img1 {
  width: 300px;
  top: 56px;
  right: -18px;
  left: auto;
  bottom: auto;
}

#timeline-panel-adapt .timeline-img.img2 {
  width: 96px;
  top: 150px;
  right: 62px;
  left: auto;
  bottom: auto;
}

@keyframes timeline-panel-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  background: linear-gradient(165deg, rgba(255, 250, 243, 0.96), rgba(244, 231, 215, 0.9));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(96, 54, 36, 0.16);
  border-color: rgba(125, 71, 47, 0.35);
}

.card p,
.card li {
  color: var(--text-muted);
}

.card ul {
  padding-left: 1.1rem;
  margin-bottom: 0;
}

.page-intro p {
  max-width: 68ch;
}

.controls {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.8rem;
}

.search-input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font: inherit;
  padding: 0.72rem 0.9rem;
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255, 250, 243, 0.94), rgba(247, 235, 220, 0.9));
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font: inherit;
  color: var(--text);
  cursor: pointer;
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}

.chip:hover {
  border-color: #d59f80;
}

.chip.is-active {
  background: #f2dcc7;
  border-color: #ddb08f;
  color: #7b4a34;
}

.results-meta {
  color: var(--text-muted);
  margin-bottom: 0.8rem;
  min-height: 1.4rem;
}

.project-card {
  padding: 1rem;
}

.project-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}

.project-card h3 {
  margin-bottom: 0.45rem;
}

.project-date {
  margin: 0 0 0.2rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7b4a34;
}

.project-summary {
  margin-top: 0;
  margin-bottom: 0.8rem;
}

.tag-list,
.tool-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #f9faef;
  color: #5f6f43;
  font-size: 0.84rem;
  padding: 0.22rem 0.6rem;
}

.project-accordion {
  margin-top: 0.4rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.project-accordion[hidden] {
  display: none;
}

.project-accordion p {
  margin-top: 0.3rem;
}

.project-accordion h4 {
  margin: 0.8rem 0 0.2rem;
}

.screenshot {
  margin-top: 0.6rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  overflow: hidden;
}

.screenshot-grid {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: start;
}

.screenshot img {
  display: block;
  width: 100%;
  height: auto;
}

.screenshot video {
  display: block;
  width: 100%;
  height: auto;
}

.screenshot-video {
  display: block;
  justify-self: start;
  width: fit-content;
  max-width: 100%;
  background: transparent;
}

.screenshot-video video {
  width: auto;
  max-width: 100%;
  max-height: 50vh;
}

.screenshot-grid.has-video .screenshot img,
.screenshot-grid.has-video .screenshot video {
  width: auto;
  max-width: 100%;
  max-height: 50vh;
}

#panel-founder-operator-envie-boutique .screenshot {
  width: fit-content;
  max-width: 100%;
}

#panel-founder-operator-envie-boutique .screenshot img {
  width: auto;
  max-width: 100%;
  max-height: 56vh;
  margin: 0 auto;
}

@media (max-width: 759px) {
  .screenshot-video video {
    max-height: 38vh;
  }

  .screenshot-grid.has-video .screenshot img,
  .screenshot-grid.has-video .screenshot video {
    max-height: 38vh;
  }

  #panel-founder-operator-envie-boutique .screenshot img {
    max-height: 42vh;
  }
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.btn-link {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
}

.prompt-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #f8f8ec;
  padding: 0.7rem;
}

.prompt-item h4 {
  margin: 0 0 0.35rem;
}

.prompt-item pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--text-muted);
  font-size: 0.93rem;
}

.prompt-item .card-actions {
  margin-top: 0.55rem;
}

.empty-state {
  color: var(--text-muted);
}

.site-footer {
  padding: 1.3rem 0 2rem;
}

.footer-inner {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  padding: 0.56rem 0.74rem;
  border-radius: 9px;
  background: #3e5231;
  color: #fff;
  box-shadow: var(--shadow);
  font-size: 0.9rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition: opacity 620ms cubic-bezier(0.2, 0.75, 0.2, 1), transform 620ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.proof-grid .card:nth-child(2),
.skills-grid .card:nth-child(2),
.artifacts-grid .card:nth-child(2),
.project-grid .card:nth-child(2) {
  transition-delay: 90ms;
}

.proof-grid .card:nth-child(3),
.skills-grid .card:nth-child(3),
.project-grid .card:nth-child(3) {
  transition-delay: 150ms;
}

@media (max-width: 759px) {
  .hero-shell {
    grid-template-columns: 1fr;
  }

  .timeline-detail-container {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .timeline-images {
    min-height: auto;
    margin-top: 0.3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }

  .timeline-img {
    position: static;
    width: 100%;
    min-height: 110px;
    object-fit: contain;
  }

}

@media (min-width: 760px) {
  .menu-toggle {
    display: none;
  }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    position: static;
    width: auto;
    border: 0;
    background: transparent;
  }

  .nav-links li a {
    padding: 0.42rem 0.7rem;
    border-radius: 999px;
  }

  .nav-links li a:hover {
    background: rgba(139, 79, 54, 0.12);
  }

  .proof-grid,
  .skills-grid,
  .project-grid,
  .artifacts-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-shell {
    grid-template-columns: minmax(290px, 370px) 1fr;
    gap: 1.8rem;
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .artifacts-grid {
    grid-template-columns: 1fr 1fr;
  }

  .timeline {
    align-items: center;
    gap: 1.4rem;
  }
}

@media (max-width: 980px) {
  .timeline {
    width: auto;
    margin-left: 0;
    border-radius: var(--radius);
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 1rem;
    grid-template-columns: 1fr;
  }

  .timeline-visual,
  .timeline-track {
    min-height: auto;
  }

  .timeline-story-intro {
    position: static;
    transform: none;
    width: 100%;
    margin-bottom: 0.8rem;
  }

  .timeline-curve {
    display: none;
  }

  .timeline-track::before {
    display: none;
  }

  .timeline-step {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
    margin-bottom: 0.6rem;
  }

  .timeline-step::before {
    left: auto;
    right: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  body::before,
  body::after,
  .section::before {
    transform: none;
  }
}
