/* ==========================================================================
   KDC — Kuwaiti Distributor Company for Chemicals W.L.L
   style.css — tokens, reset, layout, typography, header, hero, footer
   Concept: "the drum yard". See DESIGN.md.
   ========================================================================== */

/* --- Tokens --------------------------------------------------------------- */
:root {
  /* Colour. Both brand values are sampled from images/brand/kdc-logo.png:
     the boxed K and C are #0D8437, the boxed D and the wordmark are #142387. */
  --ultra:       #142387;  /* logo blue — headings, links, primary fill, ground */
  --ultra-rgb:   20 35 135;
  --deep:        #0E1A63;  /* ultramarine taken down, for photographic grounds */
  --deep-rgb:    14 26 99;
  --green:       #0D8437;  /* logo green — the signal. 4.80:1 on white */
  --green-rgb:   13 132 55;
  --green-deep:  #0A6B2C;  /* where green must carry small type. 6.66:1 */
  --green-lift:  #4ADE80;  /* green on the ultramarine ground. 7.44:1 */

  --ink:         #1A1D33;  /* body copy. 16.57:1 on white */
  --muted:       #5A6076;  /* secondary copy. 6.23:1 on white */
  --pearl:       #E6E8F6;  /* near-white type on ultramarine. 10.64:1 */
  --mist:        #F4F5FA;  /* the alternating band */
  --paper:       #FFFFFF;

  --line:        #DDE0EC;
  --line-strong: #C3C8DE;
  --line-dark:   rgb(255 255 255 / 0.16);

  /* Type. One superfamily, three roles: condensed for display, regular for
     running text, mono for every code, label, figure and stencil chip. */
  --font-display: "IBM Plex Sans Condensed", "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --font-body:    "IBM Plex Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --fs-micro:  0.6875rem;  /* 11 — chip, badge */
  --fs-label:  0.75rem;    /* 12 — eyebrow, meta */
  --fs-fine:   0.8125rem;  /* 13 */
  --fs-nav:    0.9375rem;  /* 15 */
  --fs-body:   1.0625rem;  /* 17 */
  --fs-lead:   1.1875rem;  /* 19 */
  --fs-h4:     1.125rem;   /* 18 */
  --fs-h3:     1.5rem;     /* 24 */
  --fs-h2:     clamp(1.75rem, 1.2rem + 1.9vw, 2.5rem);
  --fs-h1:     clamp(2rem, 1.35rem + 2.4vw, 3rem);
  --fs-hero:   clamp(2.25rem, 1.3rem + 3.9vw, 4rem);

  --lh-body:  1.72;
  --lh-tight: 1.12;
  --track-display: -0.02em;
  --track-utility:  0.13em;
  --measure: 70ch;

  /* Layout */
  --shell: 1240px;
  --gutter: 20px;
  --section-y: 72px;
  --header-h: 68px;
  --utility-h: 34px;

  --radius-sm: 2px;
  --radius:    4px;
  --radius-lg: 6px;

  /* Elevation — shadows are tinted with the brand blue, never neutral black */
  --shadow-sm:   0 1px 2px rgb(20 35 135 / 0.06);
  --shadow-card: 0 1px 2px rgb(20 35 135 / 0.05), 0 8px 24px -10px rgb(20 35 135 / 0.16);
  --shadow-lift: 0 2px 4px rgb(20 35 135 / 0.07), 0 18px 38px -14px rgb(20 35 135 / 0.26);
  --shadow-head: 0 1px 0 rgb(20 35 135 / 0.10), 0 6px 20px -12px rgb(20 35 135 / 0.45);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-hover: 180ms;
  --dur-reveal: 620ms;
  --dur-fade: 1200ms;
  --slide-hold: 6500ms;
}

@media (min-width: 640px)  { :root { --gutter: 32px; } }
@media (min-width: 1024px) { :root { --gutter: 44px; --section-y: 112px; --header-h: 76px; } }

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  /* Reserves the header's full expanded height. The header itself is fixed, so
     compacting it never changes this and the page never jumps. */
  padding-top: calc(var(--utility-h) + var(--header-h));
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { padding: 0; list-style: none; }

a { color: var(--ultra); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--green-deep); }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  padding: 10px 18px;
  background: var(--paper); color: var(--ultra);
  font-family: var(--font-mono); font-size: var(--fs-fine);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  transition: top var(--dur-hover) var(--ease);
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* --- Typography ----------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: var(--lh-tight);
  letter-spacing: var(--track-display);
  color: var(--ultra);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); font-weight: 600; letter-spacing: -0.01em; }

p { max-width: var(--measure); }
p + p { margin-top: 1.1em; }

.lead { font-size: var(--fs-lead); color: var(--muted); }

/* The utility register: every eyebrow, label, code and figure caption. */
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: var(--track-utility);
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 18px;
}
/* The motif: an outlined square, taken from the three boxed letters of the
   KDC mark. It is the only ornament in the system. */
.eyebrow::before {
  content: ""; flex: none;
  width: 10px; height: 10px;
  border: 2px solid currentColor;
}
.eyebrow--light { color: var(--green-lift); }

/* --- Shell & sections ----------------------------------------------------- */
.shell {
  width: 100%; max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.shell--narrow { max-width: 900px; }

.section { padding-block: var(--section-y); }
.section--mist { background: var(--mist); border-block: 1px solid var(--line); }
.section--tight { padding-block: calc(var(--section-y) * 0.62); }

.section-head { margin-bottom: 44px; }
.section-head p { margin-top: 14px; color: var(--muted); }

/* --- Header --------------------------------------------------------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--ultra);
  box-shadow: var(--shadow-head);
}

.header-utility {
  background: var(--deep);
  color: var(--pearl);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.02em;
  height: var(--utility-h);
  overflow: hidden;
  transition: height var(--dur-hover) var(--ease), opacity var(--dur-hover) var(--ease);
}
.header-utility .shell {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--utility-h);
}
.utility-contact { display: flex; align-items: center; gap: 22px; white-space: nowrap; }
/* Below 640px only the phone number stays — the rest would wrap out of the
   bar's fixed height. The drawer carries the email address. */
.utility-contact a + a, .utility-parent { display: none; }
.utility-contact a { color: var(--pearl); text-decoration: none; }
.utility-contact a:hover { color: var(--green-lift); }
.utility-parent { color: rgb(230 232 246 / 0.72); letter-spacing: 0.06em; }

.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  height: var(--header-h);
  transition: height var(--dur-hover) var(--ease);
}

.brand { display: inline-flex; align-items: center; flex: none; }
.brand img {
  height: 38px; width: auto;
  transition: height var(--dur-hover) var(--ease);
}

/* Compact state, set by navigation.js past 120px of scroll and released
   again below 40px. Two thresholds, so the state cannot chatter. */
.site-header.is-compact .header-utility { height: 0; opacity: 0; }
.site-header.is-compact .header-inner { height: 60px; }
.site-header.is-compact .brand img { height: 32px; }

/* --- Desktop navigation --------------------------------------------------- */
.nav { display: none; }
.nav > ul { display: flex; align-items: center; gap: 4px; }

.nav a, .nav-parent {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 13px;
  font-size: var(--fs-nav);
  font-weight: 500;
  color: var(--pearl);
  text-decoration: none;
  border-radius: var(--radius-sm);
  position: relative;
  transition: color var(--dur-hover) var(--ease);
}
.nav a::after, .nav-parent::after {
  content: ""; position: absolute;
  left: 13px; right: 13px; bottom: 4px; height: 2px;
  background: var(--green-lift);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-hover) var(--ease);
}
.nav a:hover, .nav-parent:hover,
.nav a:focus-visible, .nav-parent:focus-visible { color: #fff; }
.nav a:hover::after, .nav-parent:hover::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"]::after { transform: scaleX(1); }

.nav-item--has-child { position: relative; }
.nav-parent svg { transition: transform var(--dur-hover) var(--ease); }
.nav-parent[aria-expanded="true"] svg { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute; top: calc(100% + 2px); right: 0;
  min-width: 216px;
  padding: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--dur-hover) var(--ease),
              transform var(--dur-hover) var(--ease),
              visibility var(--dur-hover);
}
.nav-item--has-child:hover .nav-dropdown,
.nav-parent[aria-expanded="true"] + .nav-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-dropdown a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%;
  padding: 9px 12px;
  color: var(--ink);
  font-size: var(--fs-fine);
  border-radius: var(--radius-sm);
}
.nav-dropdown a::after { display: none; }
.nav-dropdown a svg { color: var(--muted); flex: none; }
.nav-dropdown a:hover { background: var(--mist); color: var(--ultra); }
.nav-dropdown a:hover svg { color: var(--green-deep); }

/* --- Mobile drawer -------------------------------------------------------- */
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  color: var(--pearl);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
}
.nav-toggle:hover { color: #fff; border-color: var(--green-lift); }

.drawer {
  position: fixed; inset: 0; z-index: 150;
  visibility: hidden;
}
.drawer[data-open="true"] { visibility: visible; }

.drawer-scrim {
  position: absolute; inset: 0;
  background: rgb(14 26 99 / 0.55);
  opacity: 0;
  transition: opacity 240ms var(--ease);
}
.drawer[data-open="true"] .drawer-scrim { opacity: 1; }

.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(340px, 86vw);
  display: flex; flex-direction: column;
  background: var(--ultra);
  transform: translateX(100%);
  transition: transform 280ms var(--ease);
  overflow-y: auto;
}
.drawer[data-open="true"] .drawer-panel { transform: translateX(0); }

.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 18px var(--gutter);
  border-bottom: 1px solid var(--line-dark);
}
.drawer-head img { height: 32px; width: auto; }
.drawer-close {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; color: var(--pearl);
  border: 1px solid var(--line-dark); border-radius: var(--radius);
}
.drawer-close:hover { color: #fff; border-color: var(--green-lift); }

.drawer-nav { padding: 10px var(--gutter) 24px; }
.drawer-nav > ul > li { border-bottom: 1px solid var(--line-dark); }
.drawer-nav a, .drawer-nav .nav-parent {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; padding: 15px 0;
  font-family: var(--font-display);
  font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em;
  color: var(--pearl); text-decoration: none;
}
.drawer-nav a:hover, .drawer-nav .nav-parent:hover { color: var(--green-lift); }
/* The current page carries the boxed marker. It has to sit next to the label,
   so this row opts out of the space-between the other rows use. */
.drawer-nav a[aria-current="page"] { color: #fff; justify-content: flex-start; gap: 12px; }
.drawer-nav a[aria-current="page"]::before {
  content: ""; flex: none; width: 9px; height: 9px;
  border: 2px solid var(--green-lift);
}
.drawer-nav .nav-dropdown {
  position: static; opacity: 1; visibility: visible; transform: none;
  background: none; border: 0; box-shadow: none; padding: 0 0 12px;
  min-width: 0;
  display: none;
}
.drawer-nav .nav-parent[aria-expanded="true"] + .nav-dropdown { display: block; }
.drawer-nav .nav-dropdown a {
  padding: 11px 0 11px 18px;
  font-family: var(--font-mono); font-size: var(--fs-fine);
  font-weight: 400; letter-spacing: 0.04em;
  color: rgb(230 232 246 / 0.78);
  border-left: 2px solid var(--line-dark);
}
.drawer-nav .nav-dropdown a:hover { color: var(--green-lift); border-left-color: var(--green-lift); }

.drawer-foot {
  margin-top: auto;
  padding: 22px var(--gutter) 28px;
  border-top: 1px solid var(--line-dark);
  font-family: var(--font-mono); font-size: var(--fs-fine);
  color: rgb(230 232 246 / 0.8);
}
.drawer-foot a { color: inherit; text-decoration: none; display: block; padding: 4px 0; }
.drawer-foot a:hover { color: var(--green-lift); }

body.is-locked { overflow: hidden; }

/* --- The ultramarine ground ----------------------------------------------- */
/* Used by the home hero and, at a third the height, every inner page head. */
.ground { position: relative; background: var(--deep); isolation: isolate; overflow: hidden; }
.ground::after {
  /* a 44px stencil grid, faded at the edges — the yard, gridded */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(120% 100% at 78% 40%, #000 10%, transparent 78%);
          mask-image: radial-gradient(120% 100% at 78% 40%, #000 10%, transparent 78%);
}
.ground > * { position: relative; z-index: 2; }
.ground h1, .ground h2 { color: #fff; }
.ground p { color: var(--pearl); }

/* --- Home hero ------------------------------------------------------------ */
.hero { min-height: min(84vh, 700px); display: flex; flex-direction: column; }

/* The stage is the photographic part of the hero. The manifest sits below it,
   so the slide dots anchor to the photograph and never ride over the strip. */
.hero-stage { position: relative; flex: 1; display: flex; }

.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity var(--dur-fade) var(--ease);
}
.hero-slide.is-active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 62%;
  filter: saturate(1.04) contrast(1.02);
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  /* Weighted to the left, where the type sits, and thinning to a light wash on
     the right so the photograph is legible as an image rather than a texture.
     The stops are set from measured contrast, not by eye — see DESIGN.md. */
  background:
    radial-gradient(68% 74% at 6% 42%, rgb(14 26 99 / 0.62) 0%,
                                       rgb(14 26 99 / 0.30) 46%, transparent 74%),
    linear-gradient(96deg, rgb(14 26 99 / 0.80) 0%, rgb(14 26 99 / 0.70) 30%,
                           rgb(14 26 99 / 0.38) 56%, rgb(14 26 99 / 0.14) 80%,
                           rgb(14 26 99 / 0.08) 100%),
    linear-gradient(180deg, transparent 56%, rgb(14 26 99 / 0.34) 100%);
}

.hero-body {
  /* Positioned so it clears the scrim, which carries z-index 1 inside the
     stage's stacking context. */
  position: relative; z-index: 2;
  flex: 1;
  display: flex; align-items: center;
  padding-block: clamp(64px, 11vw, 128px);
}
.hero-title {
  font-size: var(--fs-hero);
  max-width: 17ch;
  color: #fff;
  text-wrap: balance;
}
.hero-lead {
  margin-top: 22px;
  max-width: 54ch;
  font-size: var(--fs-lead);
  color: var(--pearl);
}
/* 12px type over a photograph cannot be made safe by a scrim alone — measured,
   it fell to 2.7:1 over the brightest slide. So the hero eyebrow carries its own
   near-opaque plate and stops depending on what is behind it. */
.hero .eyebrow {
  display: inline-flex;
  align-self: flex-start;
  width: auto;
  padding: 7px 14px 7px 12px;
  /* Solid, not translucent: at #0B1548 the green sits at a fixed 10.2:1 whatever
     photograph happens to be behind it, including mid-crossfade. */
  background: #0B1548;
  border: 1px solid rgb(74 222 128 / 0.32);
  border-radius: var(--radius-sm);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* The signature: the manifest. Five product families stencilled across the
   foot of the hero, the way a load is listed on a packing sheet. */
.manifest {
  position: relative; z-index: 2;
  border-top: 1px solid rgb(255 255 255 / 0.2);
  background: rgb(9 17 66 / 0.62);
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
}
.manifest-grid {
  display: grid;
  grid-template-columns: 1fr;
}
.manifest-item {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 18px;
  border-top: 1px solid rgb(255 255 255 / 0.12);
  color: var(--pearl);
  text-decoration: none;
  transition: background var(--dur-hover) var(--ease), color var(--dur-hover) var(--ease);
}
.manifest-item:first-child { border-top: 0; }
.manifest-name {
  font-family: var(--font-display);
  font-size: 0.9375rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.manifest-item svg {
  flex: none; color: var(--green-lift); opacity: 0.75;
  transition: transform var(--dur-hover) var(--ease), opacity var(--dur-hover) var(--ease);
}
.manifest-item:hover { background: rgb(20 35 135 / 0.72); color: #fff; }
.manifest-item:hover svg { transform: translateX(4px); opacity: 1; }

.hero-dots {
  position: absolute; z-index: 3; left: var(--gutter); bottom: 22px;
  display: flex; gap: 8px;
}
.hero-dot {
  width: 26px; height: 3px;
  background: rgb(255 255 255 / 0.34);
  transition: background var(--dur-hover) var(--ease), width var(--dur-hover) var(--ease);
}
.hero-dot[aria-current="true"] { background: var(--green-lift); width: 40px; }

/* --- Page head (inner pages) ---------------------------------------------- */
.page-head { padding-block: clamp(48px, 7vw, 92px); }
.page-head-media { position: absolute; inset: 0; z-index: 0; }
.page-head-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 60%;
  filter: saturate(1) contrast(1.02);
}
.page-head-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(96deg, rgb(14 26 99 / 0.90) 0%, rgb(14 26 99 / 0.82) 42%,
                                     rgb(14 26 99 / 0.52) 78%, rgb(14 26 99 / 0.40) 100%);
}
.page-head h1 { max-width: 20ch; }
.page-head p { margin-top: 16px; max-width: 62ch; }

/* --- Footer --------------------------------------------------------------- */
.site-footer { background: var(--ultra); color: var(--pearl); }
.footer-main { padding-block: clamp(48px, 6vw, 76px); }
.footer-grid {
  display: grid; gap: 44px;
  grid-template-columns: 1fr;
}
.footer-brand img { height: 40px; width: auto; }
.footer-brand p {
  margin-top: 20px; max-width: 40ch;
  font-size: var(--fs-fine); color: rgb(230 232 246 / 0.76);
}

.footer-title {
  font-family: var(--font-mono);
  font-size: var(--fs-label); font-weight: 500;
  letter-spacing: var(--track-utility); text-transform: uppercase;
  color: var(--green-lift);
  margin-bottom: 18px;
}
.footer-list li + li { margin-top: 10px; }
.footer-list a {
  color: var(--pearl); text-decoration: none; font-size: var(--fs-fine);
  transition: color var(--dur-hover) var(--ease);
}
.footer-list a:hover { color: var(--green-lift); }

.footer-contact { font-size: var(--fs-fine); }
.footer-contact dt {
  font-family: var(--font-mono); font-size: var(--fs-micro);
  letter-spacing: var(--track-utility); text-transform: uppercase;
  color: rgb(230 232 246 / 0.6);
}
.footer-contact dd { margin: 4px 0 16px; color: var(--pearl); }
.footer-contact a { color: var(--pearl); text-decoration: none; }
.footer-contact a:hover { color: var(--green-lift); }

.footer-bar {
  border-top: 1px solid var(--line-dark);
  padding-block: 22px;
  font-family: var(--font-mono); font-size: var(--fs-label);
  color: rgb(230 232 246 / 0.72);
}
.footer-bar .shell {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 10px 24px;
}

/* --- Back to top ---------------------------------------------------------- */
.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: var(--ultra); color: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity var(--dur-hover) var(--ease),
              transform var(--dur-hover) var(--ease),
              visibility var(--dur-hover), background var(--dur-hover) var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--green-deep); }

/* --- Scroll reveal --------------------------------------------------------
   Gated on .has-js, which the inline head script sets. Without JavaScript the
   class is never added and every section renders plainly — the content is
   never hidden behind a script that might not run. */
.has-js .reveal { opacity: 0; transform: translateY(14px); }
.has-js .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity var(--dur-reveal) var(--ease), transform var(--dur-reveal) var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .has-js .reveal { opacity: 1; transform: none; }
}
