/* =========================================================
   Sia Connect — Global Styles
   ========================================================= */

/* Google Fonts: Sora (headings) + Mulish (body) */
@import url('https://fonts.googleapis.com/css2?family=Mulish:wght@400;500;600&family=Sora:wght@600;700&display=swap');

/* ---------------------------------------------------------
   Custom properties
   --------------------------------------------------------- */
:root {
  --color-accent: #E4708A;
  --color-accent-dark: #C9546F; /* hover shade of accent */
  --color-accent-tint: #FBE7EC;
  --color-ink: #0B0F19;
  --color-white: #FFFFFF;
  --color-grey: #4B5563;
  --color-bg: #FFFFFF;

  --font-heading: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Mulish', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --container-max: 1140px;
  --container-pad: 1.25rem;
  --header-height: 72px;
  --radius: 8px;
}

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

* {
  margin: 0;
}

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

body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-ink);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
  padding: 0;
}

button,
input {
  font: inherit;
}

/* ---------------------------------------------------------
   Base typography
   --------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-ink);
}

h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.125rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); }

p { color: var(--color-grey); }

/* ---------------------------------------------------------
   Layout helpers
   --------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

main {
  min-height: 60vh;
  padding-block: 3rem;
}

/* ---------------------------------------------------------
   Buttons
   --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  border-radius: var(--radius);
  border: 2px solid var(--color-accent);
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.1s ease;
}

/* Tactile press feedback */
.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background-color: var(--color-accent);
  color: var(--color-white);
}

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

.btn--secondary {
  background-color: transparent;
  color: var(--color-accent);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
  background-color: var(--color-accent);
  color: var(--color-white);
}

/* ---------------------------------------------------------
   Header
   --------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-accent-tint);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
}

.site-header__logo img {
  height: 40px;
  width: auto;
}

/* Hidden checkbox drives the mobile menu (no JS) */
.nav-toggle {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.nav-toggle__label {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
}

.nav-toggle__label span {
  display: block;
  height: 3px;
  width: 100%;
  border-radius: 2px;
  background-color: var(--color-ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-nav a {
  font-weight: 500;
  color: var(--color-ink);
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

/* Mobile: collapse nav into a dropdown */
@media (max-width: 767px) {
  .nav-toggle__label {
    display: flex;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-accent-tint);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s ease;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--container-pad) 1rem;
  }

  .site-nav a {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-accent-tint);
  }

  /* Toggle open */
  .nav-toggle:checked ~ .site-nav {
    max-height: 24rem;
  }

  /* Animate hamburger into an X */
  .nav-toggle:checked ~ .nav-toggle__label span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
  }
  .nav-toggle:checked ~ .nav-toggle__label span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle:checked ~ .nav-toggle__label span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
  }
}

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */
.site-footer {
  background-color: var(--color-ink);
  color: var(--color-white);
  padding-block: 3rem 1.5rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
}

.site-footer__logo img {
  height: 40px;
  width: auto;
  margin-bottom: 0.75rem;
}

.site-footer__tagline {
  color: var(--color-white);
  opacity: 0.75;
  max-width: 28ch;
}

.site-footer h4 {
  font-size: 1rem;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.site-footer__links li {
  margin-bottom: 0.6rem;
}

.site-footer__links a {
  color: var(--color-white);
  opacity: 0.75;
  transition: opacity 0.18s ease, color 0.18s ease;
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
  opacity: 1;
  color: var(--color-accent);
}

.site-footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  opacity: 0.7;
  font-size: 0.9rem;
}

/* Visibly-a-placeholder styling for TBC content */
.placeholder {
  border-bottom: 1px dashed var(--color-accent);
  color: var(--color-accent);
  font-style: italic;
  opacity: 0.95;
}

@media (max-width: 767px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ---------------------------------------------------------
   Sections (generic)
   --------------------------------------------------------- */
.section {
  padding-block: 4rem;
}

.section--tint {
  background-color: var(--color-accent-tint);
}

.section__title {
  text-align: center;
  margin-bottom: 2.5rem;
}

/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */
.hero {
  background-color: var(--color-accent-tint);
}

.hero__inner {
  padding-block: 4.5rem;
  text-align: center;
}

.hero__title {
  max-width: 20ch;
  margin-inline: auto;
}

.hero__subtitle {
  max-width: 60ch;
  margin: 1.25rem auto 0;
  font-size: 1.1rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

/* ---------------------------------------------------------
   Service cards (Choose your service)
   --------------------------------------------------------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  background-color: var(--color-white);
  border-top: 4px solid var(--color-accent);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(11, 15, 25, 0.08);
  padding: 2rem;
}

.service-card__title {
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.service-card__subhead {
  font-size: 1rem;
  margin: 1.5rem 0 0.75rem;
}

.service-card__list {
  margin-bottom: 1.75rem;
}

.service-card__list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--color-grey);
}

.service-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-accent);
}

/* Push the button to the bottom so cards align */
.service-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ---------------------------------------------------------
   Feature grid (Why Sia Connect)
   --------------------------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature {
  background-color: var(--color-white);
  border-top: 4px solid var(--color-accent);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(11, 15, 25, 0.08);
  padding: 1.75rem;
}

.feature__title {
  margin-bottom: 0.6rem;
}

/* ---------------------------------------------------------
   Trust / compliance strip
   --------------------------------------------------------- */
.trust-strip {
  background-color: #F3F4F6;
  padding-block: 1.25rem;
}

.trust-strip__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem 2.5rem;
}

.trust-badge {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ---------------------------------------------------------
   Final CTA
   --------------------------------------------------------- */
.cta {
  background-color: var(--color-accent);
}

.cta__inner {
  text-align: center;
  padding-block: 4rem;
}

.cta__title {
  color: var(--color-white);
}

.cta__text {
  max-width: 50ch;
  margin: 1rem auto 2rem;
  color: var(--color-white);
  opacity: 0.9;
}

/* White button on the pink CTA background for contrast */
.cta__btn.btn--secondary {
  background-color: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-accent);
}

.cta__btn.btn--secondary:hover,
.cta__btn.btn--secondary:focus-visible {
  background-color: var(--color-accent-dark);
  border-color: var(--color-white);
  color: var(--color-white);
}

/* ---------------------------------------------------------
   Sub-navigation (section strip below main header)
   --------------------------------------------------------- */
.subnav {
  position: sticky;
  top: var(--header-height);
  z-index: 900;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-accent-tint);
}

.subnav__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 52px;
  overflow-x: auto;
}

.subnav__label {
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-accent);
}

.subnav__links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.subnav__links li {
  flex-shrink: 0;
}

.subnav__links a {
  display: inline-block;
  padding: 0.9rem 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-grey);
  border-bottom: 3px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.subnav__links a:hover,
.subnav__links a:focus-visible {
  color: var(--color-accent);
}

/* Active page underline (set by include.js) */
.subnav__links a.is-active {
  color: var(--color-ink);
  border-color: var(--color-accent);
}

/* ---------------------------------------------------------
   Compact hero (section landing pages)
   --------------------------------------------------------- */
.hero--compact .hero__inner {
  padding-block: 3rem;
}

/* ---------------------------------------------------------
   Prose (text-led pages)
   --------------------------------------------------------- */
.prose {
  max-width: 70ch;
}

.prose > * + * {
  margin-top: 1.1rem;
}

.prose h2 {
  margin-top: 2.5rem;
}

.prose h3 {
  margin-top: 1.75rem;
}

.prose ul {
  padding-left: 1.25rem;
  list-style: disc;
}

.prose li {
  margin-bottom: 0.4rem;
  color: var(--color-grey);
}

/* ---------------------------------------------------------
   Level cards (support coordination levels) — extends card look
   --------------------------------------------------------- */
.level-stack {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.level-card {
  background-color: var(--color-white);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(11, 15, 25, 0.08);
  padding: 1.75rem;
}

.level-card__eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.4rem;
}

.level-card__title {
  margin-bottom: 0.6rem;
}

/* ---------------------------------------------------------
   Callout box (draws the eye to a specific note / claim)
   --------------------------------------------------------- */
.callout {
  background-color: var(--color-accent-tint);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin-top: 2rem;
}

.callout__title {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

/* ---------------------------------------------------------
   Spec list (label / value rows — eligibility, fees)
   --------------------------------------------------------- */
.spec-list {
  display: grid;
  gap: 0;
  margin-top: 1.5rem;
  max-width: 60ch;
}

.spec-list__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--color-accent-tint);
}

.spec-list__label {
  font-weight: 600;
  color: var(--color-ink);
  min-width: 16rem;
}

/* (The old .steps layout was replaced by the .timeline component
   defined near the end of this file.) */

/* ---------------------------------------------------------
   Forms
   --------------------------------------------------------- */
.form {
  max-width: 40rem;
  margin-top: 2rem;
}

.form__group {
  margin-bottom: 1.25rem;
}

.form__label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--color-ink);
}

.form__control {
  display: block;
  width: 100%;
  padding: 0.7rem 0.85rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-ink);
  background-color: var(--color-white);
  border: 1px solid #D1D5DB;
  border-radius: var(--radius);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.form__control:focus-visible {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-tint);
}

textarea.form__control {
  min-height: 8rem;
  resize: vertical;
}

.form__message {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  background-color: var(--color-accent-tint);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius);
  color: var(--color-ink);
}

.form__message[hidden] {
  display: none;
}

/* Visually separated secondary form block (e.g. professional referral) */
.referral-block {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 2px solid var(--color-accent-tint);
}

/* ---------------------------------------------------------
   Draft warning banner (full-width, bordered — for legal drafts)
   --------------------------------------------------------- */
.draft-banner {
  border: 2px solid var(--color-accent);
  border-left-width: 6px;
  border-radius: var(--radius);
  background-color: var(--color-accent-tint);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
}

.draft-banner__title {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.draft-banner p {
  color: var(--color-ink);
  margin: 0;
}

/* ---------------------------------------------------------
   Team cards (initials avatars — no images)
   --------------------------------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.team-card {
  text-align: center;
  background-color: var(--color-white);
  border-top: 4px solid var(--color-accent);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(11, 15, 25, 0.08);
  padding: 2rem 1.5rem;
}

.team-card__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background-color: var(--color-accent-tint);
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.6rem;
}

.team-card__name {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

/* ---------------------------------------------------------
   Contact details block
   --------------------------------------------------------- */
.contact-details {
  margin-top: 1.5rem;
}

.contact-details__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-accent-tint);
}

.contact-details__label {
  font-weight: 600;
  min-width: 6rem;
}

/* ---------------------------------------------------------
   FAQ accordion (CSS-only, details/summary)
   --------------------------------------------------------- */
.faq {
  max-width: 70ch;
  margin-top: 2rem;
}

.faq__item {
  background-color: var(--color-white);
  border: 1px solid var(--color-accent-tint);
  border-radius: var(--radius);
  margin-bottom: 0.85rem;
  overflow: hidden;
}

.faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.35rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
}

/* Remove default disclosure marker */
.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--color-accent);
  transition: transform 0.2s ease;
}

.faq__item[open] summary::after {
  transform: rotate(45deg);
}

.faq__item summary:hover {
  color: var(--color-accent);
}

.faq__answer {
  padding: 0 1.35rem 1.25rem;
  color: var(--color-grey);
}

/* ---------------------------------------------------------
   Responsive (matches existing 768px breakpoint)
   --------------------------------------------------------- */
@media (max-width: 767px) {
  .section {
    padding-block: 3rem;
  }

  .hero__inner {
    padding-block: 3rem;
  }

  .service-grid,
  .feature-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  /* Sub-nav becomes a sticky strip under the (non-sticky-height)
     header; label hides to save room, links scroll horizontally */
  .subnav {
    top: 0;
  }

  .subnav__label {
    display: none;
  }

  .spec-list__label {
    min-width: 0;
  }
}

/* =========================================================
   Design refresh — motion & interlocking layout
   ========================================================= */

/* ---------------------------------------------------------
   Scroll-reveal utility (paired with assets/js/reveal.js)
   Elements start hidden and animate in when they enter view.
   --------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

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

/* Stagger cards within grids and FAQ items by index.
   (Hero elements set their own inline transition-delay.) */
.service-grid .reveal:nth-child(2),
.feature-grid .reveal:nth-child(2),
.team-grid .reveal:nth-child(2),
.level-stack .reveal:nth-child(2),
.faq .reveal:nth-child(2) { transition-delay: 0.1s; }

.service-grid .reveal:nth-child(3),
.feature-grid .reveal:nth-child(3),
.team-grid .reveal:nth-child(3),
.level-stack .reveal:nth-child(3),
.faq .reveal:nth-child(3) { transition-delay: 0.2s; }

.faq .reveal:nth-child(4) { transition-delay: 0.3s; }
.faq .reveal:nth-child(5) { transition-delay: 0.4s; }

/* ---------------------------------------------------------
   Card hover lift (service, feature, team, level, FAQ cards)
   --------------------------------------------------------- */
.card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(11, 15, 25, 0.14);
}

/* ---------------------------------------------------------
   Interlocking service split (home "Choose your service")
   Two flush cards with a gradient divider between them.
   --------------------------------------------------------- */
.service-split {
  display: flex;
  align-items: stretch;
  margin-top: 0;
}

.service-split .service-card {
  flex: 1;
  border-radius: 0;
}

/* Round only the outer corners of the pair */
.service-split .service-card:first-of-type {
  border-top-left-radius: var(--radius);
  border-bottom-left-radius: var(--radius);
}

.service-split .service-card:last-of-type {
  border-top-right-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
}

/* 2px vertical gradient divider (accent -> ink) */
.service-split__divider {
  flex: 0 0 2px;
  align-self: stretch;
  background: linear-gradient(to bottom, var(--color-accent), var(--color-ink));
}

/* ---------------------------------------------------------
   Vertical timeline (How It Works)
   --------------------------------------------------------- */
.timeline {
  position: relative;
  margin-top: 2rem;
}

/* The connecting line, drawn downward by reveal.js (.is-drawn) */
.timeline-line {
  position: absolute;
  left: calc(1.375rem - 1px); /* centre of the 2.75rem number circle */
  top: 1.375rem;
  bottom: 1.375rem;
  width: 2px;
  background-color: var(--color-accent);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 0.8s ease-out;
}

.timeline-line.is-drawn {
  transform: scaleY(1);
}

.timeline-step {
  position: relative;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.timeline-step + .timeline-step {
  margin-top: 2rem;
}

.timeline-step__num {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background-color: var(--color-accent);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
}

.timeline-step__body {
  padding-top: 0.35rem;
}

.timeline-step__title {
  margin-bottom: 0.35rem;
}

/* ---------------------------------------------------------
   Interlocking split + timeline — mobile
   --------------------------------------------------------- */
@media (max-width: 767px) {
  /* Stack the split; divider becomes a full-width horizontal bar,
     and each stacked card gets full rounded corners. */
  .service-split {
    flex-direction: column;
  }

  .service-split .service-card,
  .service-split .service-card:first-of-type,
  .service-split .service-card:last-of-type {
    border-radius: var(--radius);
  }

  .service-split__divider {
    height: 2px;
    width: 100%;
    background: linear-gradient(to right, var(--color-accent), var(--color-ink));
  }
}

/* ---------------------------------------------------------
   Reduced motion — show everything at rest, no animation.
   (reveal.js also short-circuits; this prevents any flash.)
   --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .timeline-line {
    transform: scaleY(1) !important;
    transition: none !important;
  }

  .card {
    transition: none;
  }
}
