/* ==========================================================================
   MPLE Holdings — site styles
   Hand-written, framework-free.  One cohesive design system for every page.
   Light "editorial" language: Instrument Serif display headings with italic
   accents, JetBrains Mono labels, Inter body, hairline borders, restrained
   colour.  Accent = MPLE blue.
   ========================================================================== */

/* --- Design tokens ------------------------------------------------------- */
:root {
  /* Brand */
  --blue:        #4871bc;
  --blue-dark:   #365a99;
  --navy:        #2e4b7f;
  --cyan:        #2bb5f8;
  --blue-light:  #8fb0ea;   /* blue accent legible on dark bands */
  --dark-navy:   #16213b;   /* dark contrast bands (Trading flagship) */
  --dark-navy-2: #1b2845;

  /* Neutral premium hero overlay (near-ink, not a blue wash) */
  --overlay:     18, 21, 28;

  /* Surfaces & ink */
  --ink:         #16191f;
  --muted:       #59616d;
  --line:        rgba(22, 25, 31, .13);
  --line-strong: rgba(22, 25, 31, .26);
  --bg:          #ffffff;
  --bg-soft:     #f6f5f2;   /* warm off-white band */
  --panel:       #ffffff;
  --white:       #ffffff;

  --radius:      3px;
  --container:   1140px;
  --nav-h:       74px;

  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --mono:  "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
           "Helvetica Neue", Arial, sans-serif;
}

/* --- Reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-top: var(--nav-h);            /* clear the fixed navbar */
}
body.no-nav { padding-top: 0; }         /* splash has no navbar */

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--blue-dark); }

/* Display headings — serif, light weight, tight */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em;
  line-height: 1.08; margin: 0 0 .5em; color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 5.5vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); }
h3 { font-size: clamp(1.35rem, 2.3vw, 1.7rem); line-height: 1.2; }
/* italic accent words inside headings */
h1 em, h2 em, h3 em, .hero h1 em, .splash__title em {
  font-style: italic; color: var(--blue);
}
p  { margin: 0 0 1rem; }
strong { font-weight: 600; color: var(--ink); }

/* --- Layout helpers ------------------------------------------------------ */
.container {
  width: 100%; max-width: var(--container);
  margin-inline: auto; padding-inline: 1.5rem;
}
.container--wide { max-width: 1400px; }

.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--soft { background: var(--bg-soft); }

.center  { text-align: center; }
.mx-auto { margin-inline: auto; }
.lead    { font-size: 1.15rem; color: var(--muted); }

/* Mono eyebrow / kicker */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--mono); font-size: .72rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--blue);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue); flex: none;
}

/* --- Buttons (sharp, mono label) ----------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--mono); font-weight: 500; font-size: .78rem;
  letter-spacing: .05em; text-transform: uppercase; line-height: 1;
  padding: .95rem 1.5rem; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn span { transition: transform .2s ease; }
.btn:hover span { transform: translateX(3px); }
.btn-primary { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: var(--white); }
.btn-outline { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn-white { border-color: rgba(255,255,255,.7); color: var(--white); background: transparent; }
.btn-white:hover { background: var(--white); color: var(--ink); }

.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.btn-row.center { justify-content: center; }

/* ==========================================================================
   Header / navigation
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; height: var(--nav-h);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line); z-index: 1000;
}
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .55rem; }
.brand img { height: 36px; width: auto; }
.brand__name { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; color: var(--ink); line-height: 1; }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 11px; }
.nav-toggle span { display: block; height: 1.5px; border-radius: 2px; background: var(--ink); margin: 5px 0; transition: transform .25s ease, opacity .25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-menu { display: flex; align-items: center; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.nav-menu > li { position: relative; }
.nav-menu a {
  display: block; padding: .55rem .8rem; border-radius: var(--radius);
  font-family: var(--mono); font-size: .73rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink);
}
.nav-menu a:hover, .nav-menu a[aria-current="page"] { color: var(--blue); background: var(--bg-soft); }

/* Dropdown */
.has-dropdown > .dropdown-toggle::after {
  content: ""; display: inline-block; width: .4em; height: .4em; margin-left: .45em;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform .2s ease;
}
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(22, 25, 31, .1); padding: .35rem; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown,
.has-dropdown.open > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.has-dropdown:hover > .dropdown-toggle::after,
.has-dropdown.open > .dropdown-toggle::after { transform: translateY(0) rotate(-135deg); }
/* dropdown sub-links stay sans + normal case (longer labels) */
.dropdown a { font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: .95rem; font-weight: 500; padding: .6rem .75rem; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; display: flex; align-items: center;
  min-height: 460px; padding: clamp(4rem, 9vw, 7rem) 0;
  color: var(--white); background-size: cover; background-position: center; text-align: center;
}
.hero--tall { min-height: calc(100vh - var(--nav-h)); min-height: calc(100svh - var(--nav-h)); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(var(--overlay), .45), rgba(var(--overlay), .72));
}
.hero > .container { position: relative; z-index: 1; }
.hero h1 { color: var(--white); text-shadow: 0 2px 24px rgba(0,0,0,.28); max-width: 18ch; margin-inline: auto; }
.hero p { color: rgba(255,255,255,.92); font-size: 1.2rem; max-width: 640px; margin: 1rem auto 0; }
.hero:not(.hero--plain) p strong, .hero:not(.hero--plain) h1 strong { color: #fff; }
.hero .eyebrow { color: #fff; }
.hero .eyebrow::before { background: var(--cyan); }

/* Plain hero — light, text-led (no photo), e.g. Trading */
.hero--plain { background: var(--bg-soft); color: var(--ink); text-align: center; min-height: auto; padding: clamp(5rem, 10vw, 8rem) 0; }
.hero--plain::before { display: none; }
.hero--plain h1 { color: var(--ink); text-shadow: none; }
.hero--plain p { color: var(--muted); }
.hero--plain .eyebrow { color: var(--blue); }
.hero--plain .eyebrow::before { background: var(--blue); }

/* Dark contrast bands — light site with dark anchors (Trading flagship) */
.hero--dark { background: var(--dark-navy); color: #fff; overflow: hidden; padding: clamp(5.5rem, 11vw, 8.5rem) 0 clamp(3.5rem, 7vw, 5.5rem); }
.hero--dark::before {
  background:
    radial-gradient(58% 75% at 80% -12%, rgba(72, 113, 188, .32), transparent 60%),
    radial-gradient(55% 60% at -8% 112%, rgba(43, 181, 248, .12), transparent 55%);
}
.hero--dark h1 { color: #fff; }
.hero--dark p, .hero--dark .lead { color: rgba(255, 255, 255, .72); }
.hero--dark .eyebrow { color: rgba(255, 255, 255, .85); }
.hero--dark .eyebrow::before { background: var(--blue-light); }
.hero--dark h1 em { color: var(--blue-light); }
.hero--dark .stats { margin-top: clamp(2.75rem, 6vw, 4rem); border-top-color: rgba(255, 255, 255, .18); }
.hero--dark .stat__num { color: #fff; }
.hero--dark .stat__num sup { color: var(--blue-light); }
.hero--dark .stat__label { color: rgba(255, 255, 255, .55); }

.section--dark { background: var(--dark-navy); color: #fff; }
.section--dark .eyebrow { color: rgba(255, 255, 255, .85); }
.section--dark .eyebrow::before { background: var(--blue-light); }
.section--dark .section-head h2 { color: #fff; }
.section--dark .section-head h2 em { color: var(--blue-light); }
.section--dark .section-head p { color: rgba(255, 255, 255, .66); }
.section--dark .card-grid { background: rgba(255, 255, 255, .15); border-color: rgba(255, 255, 255, .15); }
.section--dark .card { background: var(--dark-navy); }
.section--dark .card:hover { background: var(--dark-navy-2); }
.section--dark .card h3 { color: #fff; }
.section--dark .card p { color: rgba(255, 255, 255, .64); }
.section--dark .card__num { color: var(--blue-light); }

/* Open CTA — large editorial email link (Trading contact close) */
.cta { max-width: 720px; margin-inline: auto; text-align: center; }
.cta > p { color: var(--muted); max-width: 50ch; margin: 0 auto; }
.cta__email {
  display: inline-flex; align-items: baseline; gap: .55rem; margin-top: clamp(1.75rem, 4vw, 2.5rem);
  font-family: var(--serif); font-size: clamp(1.7rem, 4.5vw, 2.9rem); line-height: 1.1;
  color: var(--ink); border-bottom: 1px solid var(--line-strong); padding-bottom: .3rem;
  word-break: break-word; transition: color .2s ease, border-color .2s ease;
}
.cta__email span { font-family: var(--sans); font-size: .42em; color: var(--blue); transform: translateY(-0.12em); transition: transform .2s ease; }
.cta__email:hover { color: var(--blue); border-bottom-color: var(--blue); }
.cta__email:hover span { transform: translateY(-0.12em) translateX(5px); }
/* CTA on dark bands */
.hero--dark .cta > p, .section--dark .cta > p { color: rgba(255, 255, 255, .68); }
.hero--dark .cta__email, .section--dark .cta__email { color: #fff; border-bottom-color: rgba(255, 255, 255, .32); }
.hero--dark .cta__email span, .section--dark .cta__email span { color: var(--blue-light); }
.hero--dark .cta__email:hover, .section--dark .cta__email:hover { color: var(--blue-light); border-bottom-color: var(--blue-light); }

/* ==========================================================================
   Content blocks
   ========================================================================== */
.section-head { max-width: 760px; margin: 0 auto clamp(2.25rem, 4vw, 3.25rem); text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

.prose { max-width: 760px; }
.prose p { color: var(--muted); }
.prose strong { color: var(--ink); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.split .prose { max-width: none; }

/* Image + text feature rows */
.feature {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
}
.feature--reverse .feature__media { order: 2; }
.feature__media img { width: 100%; border-radius: var(--radius); }
.feature + .feature { margin-top: clamp(2.5rem, 5vw, 4rem); }
.feature .prose { max-width: none; }

/* --- Cards (hairline cells; mono numerals; no toy badges) ---------------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card {
  background: var(--panel); padding: clamp(1.75rem, 3vw, 2.4rem);
  text-align: left; transition: background .2s ease;
}
.card:hover { background: var(--bg-soft); }
.card__num {
  display: block; font-family: var(--mono); font-size: .78rem; font-weight: 500;
  letter-spacing: .12em; color: var(--blue); margin-bottom: 1rem;
}
.card__num::before { content: "0"; }           /* renders 01, 02, … */
.card__icon { color: var(--blue); width: 44px; height: 44px; margin-bottom: 1.1rem; }
.card__icon svg { width: 44px; height: 44px; display: block; }
.card h3 { margin: 0 0 .35rem; }
.card p { color: var(--muted); margin: 0; font-size: 1rem; }

/* Mono tag chips */
.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1.1rem 0 0; padding: 0; list-style: none; }
.chips li {
  font-family: var(--mono); font-size: .68rem; font-weight: 500; letter-spacing: .05em;
  text-transform: uppercase; color: var(--ink);
  border: 1px solid var(--line); border-radius: 2px; padding: .3rem .55rem;
}

/* Image cards (Energy) */
.media-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.media-card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.media-card__body { padding: 1.1rem 1.25rem; }
.media-card h3 { margin: 0; font-size: 1.3rem; }

/* --- Stats --------------------------------------------------------------- */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  max-width: 820px; margin-inline: auto;
  border-top: 1px solid var(--line); padding-top: 2.25rem;
}
.stat__num { font-family: var(--mono); font-weight: 500; font-size: clamp(2.1rem, 4.5vw, 3rem); line-height: 1; letter-spacing: -0.02em; color: var(--ink); }
.stat__num sup { color: var(--blue); font-size: .5em; top: -.7em; }
.stat__label { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: .7rem; }

/* ==========================================================================
   Timeline (history)
   ========================================================================== */
.timeline { max-width: 800px; margin-inline: auto; list-style: none; padding: 0; }
.timeline__item { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 1.5rem; }
.timeline__item:not(:last-child) { padding-bottom: 2.75rem; }
.timeline__num {
  display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--blue); color: var(--blue); background: var(--bg);
  font-family: var(--mono); font-weight: 500; font-size: 1rem; position: relative; z-index: 1;
}
.timeline__item:not(:last-child) .timeline__num::after {
  content: ""; position: absolute; top: 52px; left: 50%; transform: translateX(-50%);
  width: 1px; height: calc(100% + 2.75rem - 52px); background: var(--line);
}
.timeline__body h3 { margin-bottom: .4rem; }
.timeline__body p { color: var(--muted); margin: 0; }

/* ==========================================================================
   Client lists (facility management)
   ========================================================================== */
.client-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2.5rem; }
.client-group { margin-bottom: 1.5rem; }
.client-group h4 { font-family: var(--mono); font-weight: 500; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: .6rem; }
.client-group ul { list-style: none; margin: 0; padding: 0; }
.client-group li { color: var(--muted); padding: .15rem 0 .15rem 1.1rem; position: relative; }
.client-group li::before { content: "—"; color: var(--line-strong); position: absolute; left: 0; }

/* ==========================================================================
   Gallery + lightbox (our work)
   ========================================================================== */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.gallery__item { position: relative; margin: 0; cursor: pointer; overflow: hidden; background: var(--navy); }
.gallery__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease, opacity .3s ease; }
.gallery__item:hover img { transform: scale(1.05); opacity: .82; }
.gallery__cap {
  position: absolute; inset: auto 0 0 0; padding: 1.5rem .9rem .8rem;
  background: linear-gradient(transparent, rgba(18,21,28,.9));
  color: var(--white); font-family: var(--mono); font-size: .72rem; letter-spacing: .04em;
  transform: translateY(8px); opacity: 0; transition: .25s ease;
}
.gallery__item:hover .gallery__cap, .gallery__item:focus-visible .gallery__cap { transform: translateY(0); opacity: 1; }

.lightbox { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; background: rgba(12, 15, 20, .94); padding: 2rem; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 82vh; border-radius: var(--radius); }
.lightbox__cap { position: absolute; bottom: 1.4rem; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.9); font-family: var(--mono); font-size: .8rem; letter-spacing: .04em; }
.lightbox__btn { position: absolute; background: rgba(255,255,255,.1); border: 0; color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.lightbox__btn:hover { background: rgba(255,255,255,.22); }
.lightbox__close { top: 1.2rem; right: 1.2rem; }
.lightbox__prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1.2rem; top: 50%; transform: translateY(-50%); }

/* ==========================================================================
   Contact card
   ========================================================================== */
.contact-card {
  max-width: 640px; margin-inline: auto; text-align: center;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 3.5rem);
}
.contact-card .email { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2rem); word-break: break-word; margin: .25rem 0 0; }

/* ==========================================================================
   Splash sector chooser (index)
   ========================================================================== */
.splash {
  min-height: 100vh; min-height: 100svh; display: flex; align-items: center; position: relative;
  background-size: cover; background-position: center; color: var(--white);
  text-align: center; padding: 4rem 0;
}
.splash::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18, 21, 28, .5), rgba(12, 15, 20, .72));
}
.splash > .container { position: relative; z-index: 1; }
.splash__brand { margin-bottom: clamp(2.75rem, 6vw, 4.25rem); }
.splash__logo {
  width: clamp(74px, 10vw, 96px); height: clamp(74px, 10vw, 96px);
  object-fit: contain; padding: 15px; margin: 0 auto 1.5rem;
  background: var(--white); border-radius: 50%;
  box-shadow: 0 8px 26px rgba(0, 0, 0, .22);
}
.splash__title {
  font-family: var(--serif); font-size: clamp(2.6rem, 7vw, 4.2rem); font-weight: 400;
  color: var(--white); margin: 0; letter-spacing: -0.01em; text-shadow: 0 2px 22px rgba(0, 0, 0, .3);
}

.sector-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: rgba(255,255,255,.25); border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius); overflow: hidden; }
.sector-btn {
  display: flex; align-items: center; justify-content: center;
  min-height: clamp(130px, 15vw, 160px); padding: 1.75rem 1.5rem; text-align: center;
  background: rgba(255, 255, 255, .04); color: var(--white);
  font-family: var(--mono); font-size: .9rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  transition: background .25s ease, color .25s ease;
}
.sector-btn:hover { background: rgba(255, 255, 255, .14); color: var(--white); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line); padding: .5rem 1rem 1rem;
    box-shadow: 0 14px 34px rgba(22,25,31,.1); max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
    /* Hide by the menu's full height + the header offset, so short menus
       (Home/Contacts) hide as reliably as the tall construction-nav one. */
    transform: translateY(calc(-100% - var(--nav-h) - 4px)); transition: transform .3s ease;
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-menu > li { width: 100%; }
  .nav-menu a { padding: .85rem .6rem; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    min-width: 0; border: 0; border-left: 1px solid var(--line); border-radius: 0; margin: 0 0 .3rem .6rem; padding: 0;
    max-height: 0; overflow: hidden; transition: max-height .25s ease;
  }
  .has-dropdown.open > .dropdown { max-height: 400px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .split, .feature, .feature--reverse .feature__media { grid-template-columns: 1fr; order: 0; }
  .feature__media { order: 0 !important; }
  .sector-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .timeline__item { grid-template-columns: 46px 1fr; gap: 1.1rem; }
  .timeline__num { width: 44px; height: 44px; }
  .timeline__item:not(:last-child) .timeline__num::after { top: 44px; height: calc(100% + 2.75rem - 44px); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
