/* ==========================================================================
   JOHNMED INDUSTRY — design system
   Palette is taken from the company logo: royal blue, deep navy, silver, white.
   Signature motif: the "measurement rule" divider (tick marks) and mono-set
   instrument codes, borrowed from the calipers and catalogue plates the
   instruments themselves are measured and listed with.
   ========================================================================== */

:root {
  --navy: #0b1b37;
  --navy-2: #12305f;
  --blue: #1b47a8;
  --blue-bright: #2f6be0;
  --steel: #5d6f8c;
  --silver: #a9b6c9;
  --line: #e1e7f0;
  --mist: #f4f7fb;
  --paper: #ffffff;
  --ink: #0d1a2f;

  --shadow-sm: 0 1px 2px rgba(11, 27, 55, 0.06), 0 2px 8px rgba(11, 27, 55, 0.05);
  --shadow-md: 0 10px 30px rgba(11, 27, 55, 0.10);
  --shadow-lg: 0 24px 60px rgba(11, 27, 55, 0.16);

  --radius: 4px;
  --radius-lg: 8px;

  --display: 'Sora', 'Segoe UI', system-ui, sans-serif;
  --body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;

  --wrap: 1240px;
  --header-h: 76px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-bright); }
button { font: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.15; margin: 0 0 .6em; letter-spacing: -0.02em; color: var(--navy); }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.1em; }
:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 2px; border-radius: 2px; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy); color: #d8e1ee; }
.section--navy h2, .section--navy h3 { color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- signature: measurement rule ---------- */
.rule {
  height: 14px;
  background-image: repeating-linear-gradient(to right, var(--silver) 0 1px, transparent 1px 14px);
  background-position: bottom;
  background-repeat: repeat-x;
  border-bottom: 1px solid var(--line);
  opacity: .55;
}
.eyebrow {
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--steel);
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: '';
  width: 34px; height: 1px;
  background: var(--blue);
}
.section--navy .eyebrow { color: var(--silver); }
.section--navy .eyebrow::before { background: var(--blue-bright); }
.lede { font-size: 1.08rem; color: var(--steel); max-width: 60ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .78rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--display);
  font-weight: 600;
  font-size: .93rem;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--navy-2); color: #fff; }
.btn--ghost { border-color: var(--line); color: var(--navy); background: #fff; }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--onnavy { border-color: rgba(255,255,255,.35); color: #fff; background: transparent; }
.btn--onnavy:hover { background: #fff; color: var(--navy); }
.btn--wa { background: #1f9d55; color: #fff; }
.btn--wa:hover { background: #178044; color: #fff; }
.btn--sm { padding: .55rem 1rem; font-size: .85rem; }
.btn--block { width: 100%; justify-content: center; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.brand img { width: 52px; height: 52px; object-fit: contain; }
.brand__name { font-family: var(--display); font-weight: 700; font-size: 1rem; letter-spacing: .06em; color: var(--navy); line-height: 1.1; }
.brand__sub { font-family: var(--mono); font-size: .62rem; letter-spacing: .2em; color: var(--steel); text-transform: uppercase; }

.nav { margin-left: auto; display: flex; align-items: center; gap: .25rem; }
.nav__link {
  display: inline-block;
  padding: .6rem .85rem;
  font-size: .93rem;
  font-weight: 500;
  color: var(--navy);
  border-radius: var(--radius);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--blue); background: var(--mist); }
.nav__item { position: relative; }
.nav__item--has-menu > .nav__link::after { content: '▾'; margin-left: .35rem; font-size: .7em; color: var(--steel); }

.header__actions { display: flex; align-items: center; gap: .5rem; margin-left: .5rem; }
.icon-btn {
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; color: var(--navy); cursor: pointer; position: relative;
}
.icon-btn:hover { border-color: var(--blue); color: var(--blue); }
.basket-count {
  position: absolute; top: -7px; right: -7px;
  min-width: 20px; height: 20px; padding: 0 5px;
  background: var(--blue); color: #fff;
  border-radius: 999px; font-size: .7rem; font-weight: 700;
  display: grid; place-items: center;
}

/* mega menu */
.mega {
  position: absolute; left: 50%; transform: translateX(-50%) translateY(8px);
  top: 100%; width: min(96vw, 1080px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.75rem;
  display: grid; grid-template-columns: 2.4fr 1fr; gap: 2rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.nav__item--has-menu:hover .mega,
.nav__item--has-menu:focus-within .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.mega h4 { font-family: var(--mono); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--steel); margin-bottom: .9rem; }
.mega__cols { columns: 3; column-gap: 1.5rem; }
.mega__cols a { display: block; font-size: .87rem; padding: .2rem 0; color: var(--ink); break-inside: avoid; }
.mega__cols a:hover { color: var(--blue); }
.mega__side { border-left: 1px solid var(--line); padding-left: 1.75rem; }
.mega__side a { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .5rem 0; border-bottom: 1px solid var(--line); font-weight: 500; color: var(--navy); font-size: .9rem; }
.mega__side a:hover { color: var(--blue); }

/* mobile nav */
.burger { display: none; }
.nav__mobile-cta { display: none; }
@media (max-width: 1080px) {
  .nav {
    position: fixed; inset: var(--header-h) 0 0 auto; width: min(90vw, 380px);
    background: #fff; border-left: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 1rem; overflow-y: auto;
    transform: translateX(100%); transition: transform .25s ease;
    box-shadow: var(--shadow-lg);
  }
  .nav[data-open="true"] { transform: translateX(0); }
  .nav__link { padding: .85rem .5rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .mega {
    position: static; transform: none; width: auto; box-shadow: none; border: 0;
    padding: .5rem 0 1rem; display: none; opacity: 1; visibility: visible; pointer-events: auto;
    grid-template-columns: 1fr;
  }
  .nav__item--has-menu[data-open="true"] .mega { display: grid; }
  .mega__cols { columns: 2; }
  .mega__side { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 1rem; }
  .burger { display: grid; }
  .header__actions { margin-left: auto; }
  .header__actions .btn--primary { display: none; }
  .nav__mobile-cta {
    display: flex; flex-direction: column; gap: .6rem;
    margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line);
  }
  .nav__mobile-contact { font-size: .88rem; color: var(--steel); text-align: center; }
}

@media (max-width: 480px) {
  .header__inner { gap: .6rem; }
  .brand__sub { display: none; }
  .header__actions { gap: .35rem; }
  .icon-btn { width: 38px; height: 38px; }
}
@media (max-width: 360px) {
  .brand__name { font-size: .82rem; }
  .icon-btn:first-child { display: none; } /* search icon — saves room; still reachable via Products */
}

/* ---------- hero ---------- */
.hero { position: relative; background: var(--navy); color: #dbe4f1; overflow: hidden; }
.hero__inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.5rem; align-items: center;
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
}
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: #86b0ff; }
.hero p { color: #b9c8de; font-size: 1.1rem; max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero__art { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(255,255,255,.12); }
.hero__strip {
  display: flex; flex-wrap: wrap; gap: 2.5rem;
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 1.25rem 0;
  font-family: var(--mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #8ea3c4;
}
@media (max-width: 900px) { .hero__inner { grid-template-columns: 1fr; gap: 2.25rem; } }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.stat { padding: 1.75rem 1.5rem; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__value { font-family: var(--display); font-size: 2rem; font-weight: 700; color: var(--navy); line-height: 1; }
.stat__label { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); margin-top: .5rem; }
@media (max-width: 780px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
}

/* ---------- grids & cards ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 2.25rem; }
.section__head p { margin: 0; }
@media (max-width: 700px) { .section__head { flex-direction: column; align-items: flex-start; gap: 1rem; } }

.cat-card {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--navy);
  color: #fff;
}
.cat-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; transition: transform .5s ease; opacity: .9; }
.cat-card:hover img { transform: scale(1.04); }
.cat-card__body { position: absolute; inset: auto 0 0 0; padding: 1.4rem; background: linear-gradient(to top, rgba(6,15,32,.94), rgba(6,15,32,0)); }
.cat-card__body h3 { color: #fff; margin-bottom: .25rem; font-size: 1.15rem; }
.cat-card__body p { color: #b9c8de; font-size: .87rem; margin: 0; }
.cat-card__count { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; color: #86b0ff; }

.product-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.product-card:hover { border-color: var(--silver); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.product-card__media { position: relative; background: var(--mist); }
.product-card__media img { aspect-ratio: 1/1; object-fit: contain; width: 100%; padding: 1rem; }
.product-card__flag {
  position: absolute; top: .7rem; left: .7rem;
  font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase;
  background: var(--blue); color: #fff; padding: .2rem .5rem; border-radius: 2px;
}
.product-card__body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.product-card__code { font-family: var(--mono); font-size: .76rem; letter-spacing: .1em; color: var(--blue); }
.product-card__name { font-family: var(--display); font-weight: 600; font-size: .98rem; color: var(--navy); line-height: 1.3; }
.product-card__meta { font-size: .8rem; color: var(--steel); }
.product-card__actions { display: flex; gap: .5rem; margin-top: auto; padding-top: .9rem; }
.product-card__actions .btn { flex: 1; justify-content: center; }

.feature {
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; background: #fff;
  border-top: 3px solid var(--blue);
}
.feature h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.feature p { color: var(--steel); font-size: .92rem; margin: 0; }
.feature__no { font-family: var(--mono); font-size: .72rem; color: var(--silver); letter-spacing: .18em; display: block; margin-bottom: .8rem; }

/* ---------- process (manufacturing) ---------- */
.process { counter-reset: step; display: grid; gap: 0; }
.process__step {
  display: grid; grid-template-columns: 84px 1fr; gap: 1.5rem;
  padding: 1.35rem 0; border-bottom: 1px solid rgba(255,255,255,.12);
  align-items: baseline;
}
.process__step:last-child { border-bottom: 0; }
.process__no { font-family: var(--mono); font-size: .82rem; letter-spacing: .16em; color: #86b0ff; }
.process__step h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.process__step p { margin: 0; color: #a9bdd9; font-size: .92rem; }

/* ---------- catalogue layout ---------- */
.catalogue { display: grid; grid-template-columns: 268px 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 940px) { .catalogue { grid-template-columns: 1fr; } }

.filters { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; position: sticky; top: calc(var(--header-h) + 16px); }
.filters__group { padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--line); }
.filters__group:last-child { border-bottom: 0; }
.filters h4 { font-family: var(--mono); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--steel); margin-bottom: .75rem; }
.filters a { display: block; font-size: .88rem; padding: .28rem 0; color: var(--ink); }
.filters a:hover { color: var(--blue); }
.filters a[aria-current="true"] { color: var(--blue); font-weight: 600; }

.field { display: block; margin-bottom: 1rem; }
.field > span { display: block; font-size: .8rem; font-weight: 600; color: var(--navy); margin-bottom: .35rem; }
.field input, .field select, .field textarea, .searchbar input {
  width: 100%; padding: .7rem .85rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  font: inherit; font-size: .93rem; color: var(--ink); background: #fff;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(47,107,224,.14); }
.field small { color: var(--steel); font-size: .78rem; }

.toolbar { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.searchbar { display: flex; gap: .5rem; flex: 1 1 320px; }
.result-count { font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; color: var(--steel); }

.pagination { display: flex; gap: .35rem; justify-content: center; margin-top: 2.5rem; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 40px; height: 40px; padding: 0 .7rem;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--mono); font-size: .85rem; color: var(--navy); background: #fff;
}
.pagination a:hover { border-color: var(--blue); color: var(--blue); }
.pagination [aria-current="page"] { background: var(--navy); color: #fff; border-color: var(--navy); }

.breadcrumb { font-family: var(--mono); font-size: .76rem; letter-spacing: .1em; color: var(--steel); margin-bottom: 1rem; }
.breadcrumb a { color: var(--steel); }
.breadcrumb a:hover { color: var(--blue); }

/* ---------- product detail ---------- */
.detail { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .detail { grid-template-columns: 1fr; gap: 2rem; } }
.gallery__main { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--mist); overflow: hidden; }
.gallery__main img { aspect-ratio: 1/1; object-fit: contain; width: 100%; padding: 1.5rem; cursor: zoom-in; transition: transform .35s ease; }
.gallery__main img.zoomed { transform: scale(1.7); cursor: zoom-out; }
.gallery__thumbs { display: flex; gap: .6rem; margin-top: .75rem; flex-wrap: wrap; }
.gallery__thumbs button { width: 74px; height: 74px; padding: .3rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; cursor: pointer; }
.gallery__thumbs button[aria-selected="true"] { border-color: var(--blue); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; }

.spec-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.spec-table th, .spec-table td { text-align: left; padding: .7rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 42%; font-family: var(--mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--steel); font-weight: 400; }
.code-badge { font-family: var(--mono); font-size: .95rem; letter-spacing: .12em; color: var(--blue); }

.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.qty button { width: 42px; height: 44px; border: 0; background: #fff; cursor: pointer; color: var(--navy); font-size: 1.1rem; }
.qty button:hover { background: var(--mist); }
.qty input { width: 64px; height: 44px; border: 0; border-inline: 1px solid var(--line); text-align: center; font-family: var(--mono); }

/* ---------- basket ---------- */
.basket-row { display: grid; grid-template-columns: 90px 1fr auto auto; gap: 1.25rem; align-items: center; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.basket-row img { width: 90px; height: 90px; object-fit: contain; background: var(--mist); border-radius: var(--radius); padding: .4rem; }
@media (max-width: 620px) { .basket-row { grid-template-columns: 70px 1fr; row-gap: .75rem; } .basket-row img { width: 70px; height: 70px; } }

.panel { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; padding: 1.75rem; }
.panel--mist { background: var(--mist); }
.alert { padding: .9rem 1.1rem; border-radius: var(--radius); margin-bottom: 1.25rem; font-size: .93rem; border: 1px solid; }
.alert--ok { background: #eefaf2; border-color: #b7e4c8; color: #14663a; }
.alert--err { background: #fdf0f0; border-color: #f2c2c2; color: #8f2222; }

/* ---------- news ---------- */
.news-card { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.news-card img { aspect-ratio: 16/10; object-fit: cover; }
.news-card__body { padding: 1.25rem; }
.news-card__meta { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); margin-bottom: .5rem; }

/* ---------- footer ---------- */
.footer { background: var(--navy); color: #a9bdd9; padding-top: 4rem; }
.footer h4 { color: #fff; font-family: var(--mono); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer a { color: #a9bdd9; font-size: .9rem; display: block; padding: .22rem 0; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
@media (max-width: 980px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand img { width: 74px; height: 74px; margin-bottom: 1rem; }
.footer__cols { columns: 2; column-gap: 1.25rem; }
.newsletter { display: flex; gap: .5rem; margin-top: .75rem; }
.newsletter input { flex: 1; padding: .7rem .85rem; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; border-radius: var(--radius); font: inherit; font-size: .9rem; }
.newsletter input::placeholder { color: #7f93b3; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 1.25rem 0; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .82rem; }
.social { display: flex; gap: .6rem; margin-top: 1rem; }
.social a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); padding: 0; }
.social a:hover { background: #fff; color: var(--navy); }

/* ---------- floating whatsapp ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 70;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow-md);
}
.wa-float:hover { background: #1da851; color: #fff; }

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- print-ish utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: 1rem; }
.muted { color: var(--steel); }
.center { text-align: center; }
