/* ==========================================================================
   MC Food — Design System
   Colours sampled directly from the official MC Food logo:
   navy #1F458D · green #A6CF47
   ========================================================================== */

:root {
  /* Brand */
  --navy: #1f458d;
  --navy-deep: #142f68;
  --navy-ink: #0d2049;
  --green: #a6cf47;
  --green-deep: #8bb833;
  --green-soft: #eef7dc;

  /* Neutrals */
  --ink: #0f1b2d;
  --body: #4a5568;
  --muted: #79839a;
  --line: #e4e8f0;
  --surface: #f5f7fb;
  --surface-2: #eef2f8;
  --white: #fff;

  /* Type */
  --font-head: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  /* Shape */
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  /* Elevation */
  --sh-sm: 0 1px 2px rgba(15, 27, 45, .06), 0 2px 8px rgba(15, 27, 45, .04);
  --sh: 0 4px 12px rgba(15, 27, 45, .07), 0 12px 32px rgba(15, 27, 45, .06);
  --sh-lg: 0 10px 24px rgba(15, 27, 45, .1), 0 28px 64px rgba(20, 47, 104, .14);
  --sh-brand: 0 12px 30px rgba(31, 69, 141, .28);

  --wrap: 1240px;
  --nav-h: 84px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 20px); }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.18; font-weight: 700; letter-spacing: -.02em; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--navy); color: #fff; }

/* ---------- Layout helpers ---------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section--tint { background: var(--surface); }
.section--navy { background: var(--navy-ink); color: #c3ceE4; }
.section--navy h2, .section--navy h3 { color: #fff; }
/* A white card sitting on a navy section must keep its own dark type —
   otherwise the white heading lands on a white card and disappears. */
.section--navy .card h3 { color: var(--ink); }
.section--navy .card p { color: var(--body); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-head); font-size: .78rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--navy);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--green); }
.section--navy .eyebrow { color: var(--green); }

.h-xl { font-size: clamp(2.1rem, 5.2vw, 3.5rem); }
.h-lg { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
.h-md { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.16rem); color: var(--body); max-width: 62ch; }
.section--navy .lead { color: #b9c6e0; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.center .eyebrow { justify-content: center; }
.sec-head { max-width: 720px; margin-bottom: clamp(2.2rem, 4vw, 3.2rem); }
.sec-head.center { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--navy); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .92rem 1.7rem; border-radius: 100px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  border: 2px solid transparent; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--sh-brand); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; }
.btn--green { --btn-bg: var(--green); --btn-fg: #16320a; }
.btn--green:hover { box-shadow: 0 12px 30px rgba(166, 207, 71, .4); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--navy); border-color: #c9d3e8; }
.btn--ghost:hover { border-color: var(--navy); box-shadow: none; background: var(--white); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--navy); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--outline-light:hover { border-color: #fff; box-shadow: none; }
.btn--sm { padding: .68rem 1.25rem; font-size: .88rem; }


/* ---------- Language switcher ---------- */
.lang { display: inline-flex; align-items: center; gap: 2px; padding: 2px; border-radius: 100px; background: rgba(255,255,255,.1); }
.lang a {
  display: grid; place-items: center; min-width: 34px; height: 24px; padding: 0 .5rem;
  border-radius: 100px; font-family: var(--font-head); font-size: .74rem; font-weight: 700;
  letter-spacing: .05em; color: #a9b8d6; transition: background .2s, color .2s;
}
.lang a:hover { color: #fff; background: rgba(255,255,255,.12); }
.lang a.is-on { background: var(--green); color: #16320a; }
@media (max-width: 900px) { .lang a { min-width: 40px; height: 30px; } }

/* The 404 page has no dark topbar, so its switcher sits in the white header
   and needs the inverted palette. */
.nav__menu .lang { background: rgba(31,69,141,.08); }
.nav__menu .lang a { color: var(--navy); }
.nav__menu .lang a:hover { color: var(--navy-ink); background: rgba(31,69,141,.12); }
.nav__menu .lang a.is-on { background: var(--green); color: #16320a; }

/* ==========================================================================
   Header
   ========================================================================== */
.topbar {
  background: var(--navy-ink); color: #a9b8d6;
  font-size: .84rem; padding: .5rem 0;
}
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.topbar a { display: inline-flex; align-items: center; gap: .45rem; transition: color .2s; }
.topbar a:hover { color: var(--green); }
.topbar svg { width: 15px; height: 15px; opacity: .8; }
.topbar__set { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.topbar__social { display: flex; gap: .9rem; }

.header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.header.is-stuck { box-shadow: 0 6px 24px rgba(15, 27, 45, .08); }
.nav { display: flex; align-items: center; gap: 1.5rem; height: var(--nav-h); }
.nav__logo img { height: 46px; width: auto; }
.nav__menu { display: flex; align-items: center; gap: .35rem; margin-left: auto; }
.nav__menu a {
  position: relative; padding: .6rem .9rem; border-radius: 100px;
  font-family: var(--font-head); font-weight: 500; font-size: .95rem; color: var(--ink);
  transition: color .2s, background .2s;
}
.nav__menu a:hover { color: var(--navy); background: var(--surface); }
.nav__menu a.is-active { color: var(--navy); font-weight: 600; }
.nav__menu a.is-active::after {
  content: ""; position: absolute; left: 50%; translate: -50% 0; bottom: .18rem;
  width: 20px; height: 3px; border-radius: 3px; background: var(--green);
}
.nav__cta { margin-left: .6rem; }
.nav__burger { display: none; width: 46px; height: 46px; margin-left: auto; border-radius: 12px; align-items: center; justify-content: center; }
.nav__burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: .3s var(--ease); }
.nav__burger span::before, .nav__burger span::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease);
}
.nav__burger span::before { top: -7px; }
.nav__burger span::after { top: 7px; }
body.nav-open .nav__burger span { background: transparent; }
body.nav-open .nav__burger span::before { top: 0; rotate: 45deg; }
body.nav-open .nav__burger span::after { top: 0; rotate: -45deg; }

@media (max-width: 980px) {
  .nav__burger { display: flex; }
  .nav__menu {
    position: fixed; inset: calc(var(--nav-h) + var(--top-off, 0px)) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 1rem 1.25rem 1.75rem;
    border-bottom: 1px solid var(--line); box-shadow: var(--sh);
    max-height: calc(100dvh - var(--nav-h)); overflow-y: auto;
    clip-path: inset(0 0 100% 0); opacity: 0; pointer-events: none;
    transition: clip-path .38s var(--ease), opacity .3s;
  }
  body.nav-open .nav__menu { clip-path: inset(0 0 0 0); opacity: 1; pointer-events: auto; }
  .nav__menu a { padding: .95rem .6rem; border-radius: var(--r-sm); font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav__menu a.is-active::after { display: none; }
  .nav__cta { margin: 1rem 0 0; }
  .btn.nav__cta { width: 100%; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(140deg, #1b3d80 0%, var(--navy) 42%, #2a56a6 100%);
  color: #fff; padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(7rem, 12vw, 10rem);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(1000px 460px at 82% 8%, rgba(166, 207, 71, .22), transparent 62%),
    radial-gradient(760px 420px at 4% 92%, rgba(255, 255, 255, .12), transparent 60%);
}
.hero__waves { position: absolute; left: 0; right: 0; bottom: -1px; z-index: -1; width: 100%; }
.hero__in { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero__tag {
  display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.4rem;
  padding: .45rem 1rem .45rem .5rem; border-radius: 100px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18);
  font-size: .82rem; font-weight: 500; letter-spacing: .02em; backdrop-filter: blur(6px);
}
.hero__tag b { background: var(--green); color: #16320a; padding: .2rem .6rem; border-radius: 100px; font-size: .74rem; font-weight: 700; letter-spacing: .06em; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.65rem); letter-spacing: -.03em; }
.hero h1 em { font-style: normal; color: var(--green); }
.hero__lead { margin-top: 1.35rem; font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: #ccd8ef; max-width: 54ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.2rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 2.4rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, .16); }
.hero__meta b { display: block; font-family: var(--font-head); font-size: clamp(1.6rem, 3vw, 2.15rem); color: #fff; line-height: 1.1; }
.hero__meta span { font-size: .84rem; color: #a9bcdf; }

.hero__art { position: relative; aspect-ratio: 640 / 520; }
@keyframes spin { to { rotate: 360deg; } }

/* ---- Animated delivery-truck scene (original artwork, not a photo) ---- */
.truck { width: 100%; height: auto; display: block; overflow: visible; }
.truck__ring { transform-box: fill-box; transform-origin: center; animation: spin 60s linear infinite; }
.truck__body { animation: truckBob 2.6s ease-in-out infinite; }
.truck__wheel {
  transform-box: fill-box; transform-origin: center;
  animation: wheelSpin 1.15s linear infinite;
}
.truck__dash { animation: roadDash 1.1s linear infinite; }
.truck__speed { animation: speedLine 1.5s ease-in-out infinite; }
.truck__speed--2 { animation-delay: -.5s; }
.truck__speed--3 { animation-delay: -1s; }
@keyframes truckBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes wheelSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes roadDash { to { stroke-dashoffset: -60; } }
@keyframes speedLine {
  0% { opacity: 0; transform: translateX(18px); }
  35% { opacity: .6; }
  100% { opacity: 0; transform: translateX(-30px); }
}
.hero__chip {
  position: absolute; right: 6%; bottom: 12%; z-index: 3;
  background: #fff; color: var(--ink); border-radius: var(--r);
  padding: .75rem 1.05rem; box-shadow: var(--sh-lg);
  display: flex; align-items: center; gap: .7rem; font-size: .84rem; font-weight: 600;
}
.hero__chip i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--green-soft); color: var(--green-deep); }
.hero__chip svg { width: 18px; height: 18px; }

@media (max-width: 900px) {
  .hero__in { grid-template-columns: 1fr; }
  /* width:100% is required — every child is absolutely positioned, so without it
     the auto margins shrink this grid item to its 0-wide intrinsic content. */
  .hero__art { width: 100%; max-width: 460px; margin-inline: auto; order: -1; }
  .hero__meta { gap: 1.6rem 2rem; }
}
@media (max-width: 560px) { .hero__art { display: none; } }

/* ==========================================================================
   Brand marquee
   ========================================================================== */
.marquee { padding: 2.6rem 0; background: #fff; border-bottom: 1px solid var(--line); overflow: hidden; }
.marquee__label { text-align: center; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 1.6rem; }
.marquee__track { display: flex; gap: 3.2rem; width: max-content; animation: slide 46s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track img { height: 42px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .55; transition: filter .3s, opacity .3s; }
.marquee__track img:hover { filter: none; opacity: 1; }
@keyframes slide { to { translate: -50% 0; } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ==========================================================================
   Cards & grids
   ========================================================================== */
.grid { display: grid; gap: 1.5rem; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 2rem 1.8rem; box-shadow: var(--sh-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--sh); border-color: #d3dcee; }
.card__ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--green-soft); color: var(--navy); margin-bottom: 1.3rem; }
.card__ico svg { width: 27px; height: 27px; }
.card h3 { font-size: 1.18rem; margin-bottom: .6rem; }
.card p { font-size: .95rem; }

/* Category tiles */
.cat {
  position: relative; overflow: hidden; display: block;
  border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff;
  padding: 1.6rem 1.5rem 1.5rem; box-shadow: var(--sh-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.cat::before {
  content: ""; position: absolute; inset: auto -30% -55% auto; width: 78%; aspect-ratio: 1;
  border-radius: 50%; background: var(--green-soft); transition: scale .45s var(--ease);
}
.cat:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.cat:hover::before { scale: 1.25; }
.cat > * { position: relative; }
/* Fixed frame + absolutely-placed photo: percentage max-height on a replaced
   element is unreliable here, so the image can never blow past the box. */
.cat__img { display: block; position: relative; height: 130px; margin-bottom: 1.1rem; }
.cat__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: scale .4s var(--ease); }
.cat:hover .cat__img img { scale: 1.08; }
.cat h3 { font-size: 1.08rem; margin-bottom: .2rem; }
.cat span { font-size: .85rem; color: var(--muted); }
.cat__go { display: inline-flex; align-items: center; gap: .4rem; margin-top: .9rem; color: var(--navy); font-weight: 600; font-size: .87rem; font-family: var(--font-head); }
.cat__go svg { width: 15px; height: 15px; transition: translate .3s var(--ease); }
.cat:hover .cat__go svg { translate: 4px 0; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.stat { background: #fff; padding: 2rem 1.5rem; text-align: center; }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.85rem); color: var(--navy); line-height: 1.05; letter-spacing: -.03em; }
.stat span { font-size: .87rem; color: var(--muted); }
.section--navy .stats { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .12); }
.section--navy .stat { background: var(--navy-ink); }
.section--navy .stat b { color: var(--green); }
.section--navy .stat span { color: #a9bcdf; }

/* ---------- Brand wall (logos only) ---------- */
.brand-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 1.15rem; }
.blogo {
  position: relative; overflow: hidden; display: grid; place-items: center;
  aspect-ratio: 3 / 2; padding: 1.9rem 1.5rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--sh-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.blogo::before {
  content: ""; position: absolute; inset: auto -35% -70% auto; width: 82%; aspect-ratio: 1;
  border-radius: 50%; background: var(--green-soft); opacity: 0; transition: opacity .4s var(--ease), scale .5s var(--ease);
  scale: .6;
}
.blogo:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: var(--green); }
.blogo:hover::before { opacity: 1; scale: 1; }
.blogo img {
  position: relative; max-height: 78px; max-width: 80%; width: auto; object-fit: contain;
  transition: scale .4s var(--ease);
}
.blogo:hover img { scale: 1.07; }
.blogo__word {
  position: relative; font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.1rem, 2vw, 1.4rem); color: var(--navy); text-align: center; letter-spacing: -.02em;
}
.blogo__bar {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  padding: .6rem .95rem; background: var(--navy); color: #fff;
  font-family: var(--font-head); font-size: .84rem; font-weight: 600;
  translate: 0 101%; transition: translate .32s var(--ease);
}
.blogo__bar span { opacity: .72; font-weight: 500; font-size: .78rem; }
.blogo__bar svg { width: 15px; height: 15px; flex: none; }
.blogo:hover .blogo__bar, .blogo:focus-visible .blogo__bar { translate: 0; }
/* touch devices have no hover — keep the label permanently visible */
@media (hover: none) {
  .blogo { aspect-ratio: 3 / 2.25; }
  .blogo__bar { translate: 0; background: var(--surface); color: var(--ink); }
}

/* ---------- Brand detail hero ---------- */
.bhero__card {
  display: grid; place-items: center; background: #fff; border-radius: var(--r-lg);
  padding: 2.2rem 2.5rem; box-shadow: var(--sh-lg); min-height: 150px;
}
.bhero__card img { max-height: 92px; max-width: 100%; width: auto; object-fit: contain; }
.bhero__card b { font-family: var(--font-head); font-size: 1.9rem; color: var(--navy); }
.bhero__in { display: grid; grid-template-columns: 320px 1fr; gap: clamp(1.8rem, 4vw, 3.2rem); align-items: center; }
@media (max-width: 780px) { .bhero__in { grid-template-columns: 1fr; } .bhero__card { max-width: 320px; } }
.bhero__tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.3rem; }
.bhero__tags span {
  padding: .4rem .95rem; border-radius: 100px; font-size: .82rem; font-weight: 600;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .2); color: #fff;
}

/* ---------- Other brands strip ---------- */
.strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .9rem; }
.strip a {
  display: grid; place-items: center; height: 92px; padding: 1rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s;
}
.strip a:hover { transform: translateY(-4px); box-shadow: var(--sh); border-color: var(--green); }
.strip img { max-height: 44px; max-width: 84%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .6; transition: .28s; }
.strip a:hover img { filter: none; opacity: 1; }
.strip b { font-family: var(--font-head); color: var(--navy); font-size: .95rem; }

/* ==========================================================================
   Product catalogue
   ========================================================================== */
.toolbar { position: sticky; top: var(--nav-h); z-index: 40; background: rgba(255, 255, 255, .93); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); padding: 1rem 0; }
.toolbar__in { display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; }
.search { position: relative; flex: 1 1 260px; }
.search svg { position: absolute; left: 1rem; top: 50%; translate: 0 -50%; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.search input {
  width: 100%; padding: .85rem 2.6rem .85rem 2.9rem; border-radius: 100px;
  border: 1px solid var(--line); background: var(--surface); transition: .25s;
}
.search input:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(31, 69, 141, .1); }
.search__clear { position: absolute; right: .55rem; top: 50%; translate: 0 -50%; width: 30px; height: 30px; border-radius: 50%; display: none; place-items: center; color: var(--muted); }
.search__clear:hover { background: var(--surface-2); color: var(--ink); }
.search.has-value .search__clear { display: grid; }
.select { position: relative; }
.select select {
  appearance: none; padding: .85rem 2.6rem .85rem 1.2rem; border-radius: 100px;
  border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: .93rem;
}
.select select:focus { outline: none; border-color: var(--navy); }
.select svg { position: absolute; right: 1rem; top: 50%; translate: 0 -50%; width: 15px; height: 15px; color: var(--muted); pointer-events: none; }

.chips { display: flex; gap: .5rem; flex-wrap: wrap; padding: 1.4rem 0 0; }
.chip {
  padding: .5rem 1.05rem; border-radius: 100px; border: 1px solid var(--line);
  background: #fff; font-size: .88rem; font-weight: 500; color: var(--body);
  transition: .22s var(--ease);
}
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip small { opacity: .6; margin-left: .3rem; font-size: .8em; }

.result-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 1.8rem 0 1.2rem; }
.result-bar p { font-size: .92rem; color: var(--muted); }
.result-bar b { color: var(--ink); }

.p-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.35rem; }
/* featured strip keeps a clean 4x2 block instead of a ragged last row */
@media (min-width: 1060px) { .p-grid--feat { grid-template-columns: repeat(4, 1fr); } }
.p-card {
  position: relative; display: flex; flex-direction: column; text-align: left;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; box-shadow: var(--sh-sm);
  transition: transform .32s var(--ease), box-shadow .32s var(--ease), border-color .32s;
}
.p-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: #cfdaef; }
/* Square media box + square source images (padded at build time) means every
   product is rendered at exactly the same scale — none looks bigger than another. */
.p-card__media { display: block; position: relative; aspect-ratio: 1 / 1; background: #fff; }
.p-card__media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: var(--line); }
/* Absolute so the photo can never influence the box: the frame stays exactly
   square no matter the image's intrinsic size or whether it has loaded yet. */
.p-card__media > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  padding: .7rem; object-fit: contain; transition: scale .4s var(--ease);
}
.p-card:hover .p-card__media img { scale: 1.07; }
.p-card__brand { position: absolute; top: .7rem; left: .7rem; height: 26px; }
.p-card__brand img { height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.p-card__body { padding: 1rem 1.05rem 1.15rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
/* Reserve three lines for every title: the longest names in the catalogue need
   three, so all cards end up identical in height and nothing ever gets cut off. */
.p-card__name {
  font-family: var(--font-head); font-size: .9rem; font-weight: 600; color: var(--ink);
  line-height: 1.35; min-height: 4.05em; overflow-wrap: break-word;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3;
  overflow: hidden;
}
.p-card__meta { margin-top: auto; display: flex; align-items: center; gap: .5rem; font-size: .78rem; }
.p-card__code { font-family: ui-monospace, "SF Mono", Menlo, monospace; color: var(--muted); letter-spacing: .02em; }

.empty { text-align: center; padding: 5rem 1rem; }
.empty svg { width: 54px; height: 54px; color: var(--line); margin: 0 auto 1.2rem; }
.empty h3 { margin-bottom: .5rem; }

/* Product modal */
.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 1.25rem; visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal__veil { position: absolute; inset: 0; background: rgba(10, 24, 52, .55); backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s; }
.modal.is-open .modal__veil { opacity: 1; }
.modal__box {
  position: relative; width: min(100%, 780px); max-height: 88dvh; overflow-y: auto;
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-lg);
  display: grid; grid-template-columns: 1fr 1fr;
  opacity: 0; translate: 0 18px; scale: .98; transition: .34s var(--ease);
}
.modal.is-open .modal__box { opacity: 1; translate: 0; scale: 1; }
.modal__close { position: absolute; top: .8rem; right: .8rem; z-index: 2; width: 38px; height: 38px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; color: var(--ink); transition: .2s; }
.modal__close:hover { background: var(--navy); color: #fff; rotate: 90deg; }
.modal__media { background: var(--surface); display: grid; place-items: center; padding: 2.2rem; }
.modal__media img { width: 100%; max-width: 320px; height: 320px; object-fit: contain; }
.modal__body { padding: 2rem 1.9rem; }
.modal__logo { height: 34px; margin-bottom: 1.1rem; }
.modal__body h3 { font-size: 1.35rem; margin-bottom: 1.2rem; }
.spec { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.spec:last-of-type { border-bottom: 0; }
.spec dt { color: var(--muted); }
.spec dd { font-weight: 600; color: var(--ink); text-align: right; }
.modal .btn { width: 100%; margin-top: 1.4rem; }
@media (max-width: 640px) { .modal__box { grid-template-columns: 1fr; } .modal__media { padding: 2rem 1.5rem; } .modal__media img { max-height: 200px; } }

/* ==========================================================================
   Content blocks
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--rev .split__media { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--rev .split__media { order: 0; } }
.split__media { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); background: var(--surface); }
.split__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split__media--pad { position: relative; padding: 2.5rem; aspect-ratio: 4/3; }
.split__media--pad img { position: absolute; inset: 2.5rem; width: calc(100% - 5rem); height: calc(100% - 5rem); aspect-ratio: auto; object-fit: contain; }

.ticks { display: grid; gap: .85rem; margin: 1.7rem 0 0; }
.ticks li { display: flex; gap: .8rem; align-items: flex-start; font-size: .97rem; }
.ticks svg { flex: none; width: 22px; height: 22px; color: var(--green-deep); margin-top: .15rem; }
.section--navy .ticks li { color: #c3ceE4; }

/* Timeline */
.tl { position: relative; padding-left: 2.4rem; display: grid; gap: 2.4rem; }
.tl::before { content: ""; position: absolute; left: 7px; top: .55rem; bottom: .55rem; width: 2px; background: linear-gradient(var(--green), var(--navy)); border-radius: 2px; }

/* The line draws itself downward, then each entry slides in after it. */
.tl::before { transform-origin: top center; scale: 1 0; transition: scale 1.5s var(--ease); }
.tl.is-in::before { scale: 1 1; }
.tl__item.reveal { translate: -24px 0; }
.tl__item.reveal.is-in { translate: 0 0; }
.tl__item { position: relative; }
.tl__item::before { content: ""; position: absolute; left: -2.4rem; top: .4rem; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--navy); box-shadow: 0 0 0 4px rgba(31, 69, 141, .12); scale: 0; transition: scale .5s var(--ease) .25s; }
.tl__item.is-in::before { scale: 1; }
.tl__item:first-child::before { border-color: var(--green); box-shadow: 0 0 0 4px rgba(166, 207, 71, .2); }
.tl__year { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; color: var(--navy); line-height: 1; margin-bottom: .5rem; }
.tl__item h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.tl__item p { font-size: .95rem; }

/* CTA band */
.cta {
  position: relative; overflow: hidden; isolation: isolate; color: #fff; text-align: center;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy) 55%, #2c5aab);
  border-radius: var(--r-xl); padding: clamp(3rem, 6vw, 4.6rem) clamp(1.5rem, 5vw, 4rem);
}
.cta::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 60%; aspect-ratio: 1; z-index: -1;
  border-radius: 50%; background: radial-gradient(circle, rgba(166, 207, 71, .3), transparent 65%);
}
.cta h2 { color: #fff; margin-bottom: 1rem; }
.cta p { color: #c6d3ec; max-width: 56ch; margin-inline: auto; }
.cta__actions { display: flex; gap: .85rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }

/* Two clear routes inside a CTA: buyer enquiry vs. supplier proposal */
.cta__split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; margin-top: 2.4rem; text-align: left; }
@media (max-width: 720px) { .cta__split { grid-template-columns: 1fr; } }
.cta__card {
  display: flex; flex-direction: column; gap: .55rem;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--r); padding: 1.5rem 1.5rem 1.6rem;
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.cta__card:hover { background: rgba(255, 255, 255, .13); border-color: rgba(255, 255, 255, .3); transform: translateY(-3px); }
.cta__card i { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--green); color: #16320a; margin-bottom: .35rem; }
.cta__card svg { width: 21px; height: 21px; }
.cta__card b { font-family: var(--font-head); font-size: 1.05rem; color: #fff; }
.cta__card span { font-size: .93rem; color: #c6d3ec; }
.cta__card .btn { align-self: flex-start; margin-top: .8rem; }
.cta__direct { margin-top: 1.8rem; font-size: .92rem; }
.cta__direct a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.cta__direct a:hover { color: var(--green); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.info { display: grid; gap: 1.1rem; }
.info__row { display: flex; gap: 1rem; align-items: flex-start; padding: 1.15rem 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-sm); }
.info__row i { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--green-soft); color: var(--navy); }
.info__row svg { width: 21px; height: 21px; }
.info__row b { display: block; font-family: var(--font-head); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .2rem; font-weight: 600; }
.info__row a, .info__row p { color: var(--ink); font-weight: 500; font-size: .97rem; }
.info__row a:hover { color: var(--navy); }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--sh); }
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-size: .87rem; font-weight: 600; color: var(--ink); margin-bottom: .45rem; font-family: var(--font-head); }
.field input, .field textarea, .field select {
  width: 100%; padding: .85rem 1.05rem; border: 1px solid var(--line);
  border-radius: var(--r-sm); background: var(--surface); transition: .22s;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(31, 69, 141, .1); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.form__note { font-size: .84rem; color: var(--muted); margin-top: 1rem; text-align: center; }
/* honeypot — hidden from people, visible to naive spam bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin-top: 1rem; padding: 0; font-size: .9rem; text-align: center; border-radius: var(--r-sm); }
.form__status:empty { display: none; }
.form__status.is-wait { padding: .8rem 1rem; background: var(--surface-2); color: var(--body); }
.form__status.is-ok { padding: .8rem 1rem; background: var(--green-soft); color: #3f5d12; font-weight: 600; }
.form__status.is-err { padding: .8rem 1rem; background: #fdeceb; color: #9b271f; font-weight: 600; }
.map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--sh-sm); }
.map iframe { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(.25); }

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.phero {
  position: relative; overflow: hidden; isolation: isolate; color: #fff;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy) 60%, #2b58a8);
  padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(4.5rem, 8vw, 6.5rem);
}
.phero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(760px 340px at 88% 10%, rgba(166, 207, 71, .2), transparent 62%); }
.phero__waves { position: absolute; left: 0; right: 0; bottom: -1px; z-index: -1; width: 100%; }
.phero h1 { color: #fff; }
.phero .lead { color: #c6d3ec; margin-top: 1rem; }
.crumbs { display: flex; gap: .5rem; align-items: center; font-size: .85rem; color: #a9bcdf; margin-bottom: 1.1rem; }
.crumbs a:hover { color: var(--green); }
.crumbs svg { width: 13px; height: 13px; opacity: .6; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--navy-ink); color: #9fb0d1; padding-top: clamp(3.5rem, 6vw, 5rem); }
.footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1.4fr; gap: 2.5rem; padding-bottom: 3rem; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__logo { background: #fff; border-radius: var(--r); padding: .9rem 1.1rem; display: inline-block; margin-bottom: 1.2rem; }
.footer__logo img { height: 42px; }
.footer p { font-size: .92rem; max-width: 40ch; }
.footer__tag { font-family: var(--font-head); font-size: .78rem; font-weight: 600; letter-spacing: .16em; color: var(--green); margin-bottom: .7rem; }
.footer h4 { color: #fff; font-size: .84rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.15rem; }
.footer__links { display: grid; gap: .7rem; font-size: .93rem; }
.footer__links a { transition: color .2s, translate .2s; display: inline-block; }
.footer__links a:hover { color: var(--green); translate: 3px 0; }
.footer__contact { display: grid; gap: .8rem; font-size: .93rem; }
.footer__contact li { display: flex; gap: .7rem; align-items: flex-start; }
.footer__contact svg { flex: none; width: 17px; height: 17px; color: var(--green); margin-top: .2rem; }
.footer__contact a:hover { color: #fff; }
.social { display: flex; gap: .6rem; margin-top: 1.5rem; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .07); transition: .25s var(--ease); }
.social a:hover { background: var(--green); color: #16320a; transform: translateY(-3px); }
.social svg { width: 19px; height: 19px; }
.footer__bar { border-top: 1px solid rgba(255, 255, 255, .1); padding: 1.5rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: .86rem; }
.footer__legal { display: flex; flex-wrap: wrap; gap: .55rem 1.4rem; }
.footer__legal a { transition: color .2s; }
.footer__legal a:hover { color: var(--green); }

/* ---------- Long-form legal / editorial pages ---------- */
.prose { max-width: 78ch; }
.prose h2 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); margin: 2.6rem 0 .9rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.06rem; margin: 1.6rem 0 .5rem; }
.prose p { margin-bottom: 1rem; }
.prose ul { display: grid; gap: .55rem; margin: 0 0 1.2rem; padding-left: 1.3rem; list-style: disc; }
.prose li { padding-left: .2rem; }
.prose a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--green-deep); }
.prose__meta { font-size: .88rem; color: var(--muted); padding: .9rem 1.1rem; background: var(--surface); border-radius: var(--r-sm); border: 1px solid var(--line); margin-bottom: 2.4rem; }
.prose table { width: 100%; border-collapse: collapse; margin-bottom: 1.4rem; font-size: .93rem; }
.prose th, .prose td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--font-head); color: var(--ink); background: var(--surface); }

/* ---------- Job postings ---------- */
.job-list { display: grid; gap: 1.2rem; }
.job {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.7rem 1.8rem; box-shadow: var(--sh-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.job:hover { transform: translateY(-3px); box-shadow: var(--sh); border-color: #d3dcee; }
/* Posting with a poster image (e.g. the graphic used on social media) */
.job--media { display: grid; grid-template-columns: 210px 1fr; gap: 1.6rem; align-items: start; }
@media (max-width: 680px) { .job--media { grid-template-columns: 1fr; } }
.job__poster {
  display: block; overflow: hidden; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: var(--surface);
}
.job__poster img { display: block; width: 100%; height: auto; transition: scale .4s var(--ease); }
.job__poster:hover img { scale: 1.06; }
@media (max-width: 680px) { .job__poster img { max-height: 340px; object-fit: cover; } }

.job__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.2rem; flex-wrap: wrap; }
.job__top h3 { font-size: 1.2rem; margin-bottom: .65rem; }
.job__tags { display: flex; flex-wrap: wrap; gap: .45rem; }
.job__tag {
  padding: .28rem .75rem; border-radius: 100px; font-size: .8rem; font-weight: 600;
  background: var(--surface); color: var(--body); border: 1px solid var(--line);
}
.job__tag--dept { background: var(--navy); border-color: var(--navy); color: #fff; }
.job__tag--due { background: var(--green-soft); border-color: #d6e8ac; color: #4a6b16; }
.job__tag--closed { background: #edf0f5; border-color: #dfe4ec; color: var(--muted); }

/* Closed postings stay visible as an archive, visibly de-emphasised */
.job--archived { background: #fbfcfe; border-style: dashed; box-shadow: none; }
.job--archived:hover { transform: none; box-shadow: var(--sh-sm); border-color: var(--line); }
.job--archived h3 { color: var(--body); }
.job--archived .job__poster img { filter: grayscale(1); opacity: .72; }
.job--archived:hover .job__poster img { filter: grayscale(.35); opacity: .9; scale: 1; }
.job__closed {
  display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap;
  padding: .55rem 1rem; border-radius: 100px; background: #edf0f5;
  font-family: var(--font-head); font-size: .84rem; font-weight: 600; color: var(--muted);
}
.job__summary { margin-top: 1rem; font-size: .97rem; }
.job__more { margin-top: 1rem; border-top: 1px solid var(--line); padding-top: .9rem; }
.job__more summary {
  cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: .92rem;
  color: var(--navy); list-style: none; display: flex; align-items: center; gap: .45rem;
}
.job__more summary::-webkit-details-marker { display: none; }
.job__more summary::before {
  content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor; rotate: 45deg; translate: 0 -2px;
  transition: rotate .25s var(--ease);
}
.job__more[open] summary::before { rotate: -135deg; translate: 0 2px; }
.job__body { padding-top: 1rem; }
.job__body h4 { font-family: var(--font-head); font-size: .95rem; color: var(--ink); margin: 1.1rem 0 .45rem; }
.job__body h4:first-child { margin-top: 0; }
.job__body ul { display: grid; gap: .4rem; padding-left: 1.2rem; list-style: disc; margin-bottom: .4rem; }
.job__body li { font-size: .95rem; }
.job__body p { font-size: .95rem; }
@media (max-width: 560px) { .job__top .btn { width: 100%; } }

/* ---------- Cookie preference control ---------- */
.pref { display: flex; align-items: flex-start; gap: 1.1rem; padding: 1.4rem 1.5rem; border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: var(--sh-sm); margin: 1.4rem 0 1rem; }
.pref__txt { flex: 1; }
.pref__txt b { display: block; font-family: var(--font-head); color: var(--ink); margin-bottom: .25rem; }
.pref__txt span { font-size: .92rem; color: var(--body); }
.switch { position: relative; flex: none; width: 54px; height: 30px; border-radius: 100px; background: #cbd3e2; transition: background .25s var(--ease); }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: translate .25s var(--ease); }
.switch[aria-checked="true"] { background: var(--green-deep); }
.switch[aria-checked="true"]::after { translate: 24px 0; }
.map-blocked { display: grid; place-items: center; gap: .9rem; text-align: center; padding: 3rem 1.5rem; background: var(--surface); color: var(--body); min-height: 380px; }
.map-blocked p { font-size: .93rem; max-width: 42ch; }

/* Back to top */
.totop {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 70;
  width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; box-shadow: var(--sh-brand);
  opacity: 0; pointer-events: none; translate: 0 12px; transition: .3s var(--ease);
}
.totop.is-on { opacity: 1; pointer-events: auto; translate: 0; }
.totop:hover { background: var(--green); color: #16320a; }
.totop svg { width: 19px; height: 19px; }

/* ==========================================================================
   Responsive fixes
   ========================================================================== */
/* Wide tables scroll inside themselves; the page body never scrolls sideways. */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 1.4rem; border-radius: var(--r-sm); }
.table-wrap table { margin-bottom: 0; min-width: 380px; }

.hero__chip small { font-size: .78rem; }

/* Comfortable touch targets on phones and tablets */
@media (max-width: 900px) {
  .topbar { font-size: .82rem; }
  .topbar__in { justify-content: center; text-align: center; }
  .topbar a { padding: .3rem 0; }
  .topbar__social { gap: .35rem; }
  .topbar__social a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; }
  .topbar__social svg { width: 17px; height: 17px; }
  .footer__links a, .footer__legal a { padding: .3rem 0; }
  .footer__contact a { display: inline-block; padding: .2rem 0; }
  .crumbs { flex-wrap: wrap; }
}
@media (max-width: 420px) {
  .wrap { width: min(100% - 1.75rem, var(--wrap)); }
  .cta__actions .btn, .hero__actions .btn { width: 100%; }
  .modal__body { padding: 1.5rem 1.35rem; }
}

/* ==========================================================================
   Motion
   ========================================================================== */
@keyframes riseIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes fadeScale { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }

/* Hero copy enters in sequence on load */
.hero__tag    { animation: riseIn .7s var(--ease) .05s both; }
.hero h1      { animation: riseIn .7s var(--ease) .15s both; }
.hero__lead   { animation: riseIn .7s var(--ease) .25s both; }
.hero__actions{ animation: riseIn .7s var(--ease) .35s both; }
.hero__meta   { animation: riseIn .7s var(--ease) .45s both; }
.hero__art    { animation: fadeScale 1s var(--ease) .2s both; }
.phero .crumbs { animation: riseIn .6s var(--ease) .05s both; }
.phero h1      { animation: riseIn .6s var(--ease) .13s both; }
.phero .lead   { animation: riseIn .6s var(--ease) .21s both; }
.phero .bhero__in { animation: riseIn .6s var(--ease) .18s both; }

/* Reading-progress bar */
.progress {
  position: fixed; inset: 0 auto auto 0; z-index: 200;
  width: 100%; height: 3px; transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--green), #d3ee9a);
  pointer-events: none;
}

/* Sheen sweep across buttons on hover */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, .3) 50%, transparent 68%);
  translate: -110% 0;
}
.btn:hover::after { animation: sheen .75s var(--ease); }
@keyframes sheen { to { translate: 110% 0; } }

/* The little accent rule draws itself when its section scrolls into view */
.reveal .eyebrow::before { width: 0; transition: width .6s var(--ease) .18s; }
.reveal.is-in .eyebrow::before { width: 26px; }

/* JS-rendered imagery fades in once decoded */
.p-card__media > img, .blogo img, .strip img, .cat__img img { opacity: 0; }
.p-card__media > img.is-loaded, .blogo img.is-loaded,
.strip img.is-loaded, .cat__img img.is-loaded { opacity: 1; transition: opacity .45s var(--ease), scale .4s var(--ease); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; translate: 0 22px; transition: opacity .7s var(--ease), translate .7s var(--ease); }
.reveal.is-in { opacity: 1; translate: 0; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; translate: 0; transition: none; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  .progress { display: none; }
  .reveal .eyebrow::before { width: 26px; }
  .p-card__media > img, .blogo img, .strip img, .cat__img img { opacity: 1; }
  .tl::before { scale: 1 1; }
  .tl__item::before { scale: 1; }
  .tl__item.reveal { translate: 0 0; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
