/* ============================================================
   Ottermate — locked brand system
   Rust #BF5A2E · Cream #F2E9DD · Deep Rust #9A4423
   Off-White #FAF6F0 · Tint #F5E0D5 · Charcoal #1A1A1A · Grey #555
   Playfair Display (display) · Inter (body)
   ============================================================ */

:root {
  --rust: #BF5A2E;
  --cream: #F2E9DD;
  --rust-deep: #9A4423;
  --offwhite: #FAF6F0;
  --tint: #F5E0D5;
  --charcoal: #1A1A1A;
  --grey: #555555;

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  --measure: 62ch;
  --container: 1120px;
  --pad-x: clamp(20px, 4vw, 48px);
  --section-y: clamp(64px, 9vw, 112px);

  --ease-calm: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--offwhite);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--rust-deep); }

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* ---------- type ---------- */

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; }

h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); letter-spacing: -0.01em; color: var(--rust); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); color: var(--rust-deep); letter-spacing: -0.005em; }
h3 { font-size: 1.25rem; color: var(--rust-deep); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 14px;
}

.nowrap { white-space: nowrap; }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 6px;
  border: 2px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.btn-lg { padding: 17px 36px; font-size: 1.05rem; }

.btn-rust { background: var(--rust); color: var(--cream); }
.btn-rust:hover { background: var(--rust-deep); }

.btn-cream { background: var(--cream); color: var(--rust); }
.btn-cream:hover { background: var(--offwhite); color: var(--rust-deep); }

.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(154, 68, 35, 0.22); }
.btn:active { transform: translateY(1px); box-shadow: none; }

@media (prefers-reduced-motion: reduce) {
  .btn:hover { transform: none; }
}

.micro {
  font-size: 0.86rem;
  color: var(--grey);
  margin-top: 12px;
}

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--offwhite);
  border-bottom: 1px solid var(--tint);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--rust-deep);
  margin-right: auto;
}

.brand-mark { flex-shrink: 0; }

.brand-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.01em;
}

.nav-links { display: flex; gap: 26px; }

.nav-links a {
  text-decoration: none;
  color: var(--charcoal);
  font-size: 0.95rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-links a:hover { color: var(--rust-deep); border-bottom-color: var(--rust); }

.nav .btn { padding: 11px 20px; font-size: 0.92rem; }

/* skip link — visible only once focused */
.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -120%);
  z-index: 100;
  background: var(--rust);
  color: var(--cream);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px 22px;
  border-radius: 0 0 6px 6px;
  text-decoration: none;
  transition: transform 0.18s var(--ease-calm);
}
.skip-link:focus { transform: translate(-50%, 0); }

/* ---------- language menu (desktop) ---------- */

.lang { position: relative; flex-shrink: 0; }

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal);
  background: none;
  border: 1px solid var(--tint);
  border-radius: 6px;
  padding: 9px 12px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.lang-toggle:hover { color: var(--rust-deep); border-color: var(--rust); }

.lang-globe, .lang-caret {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.lang-globe { width: 17px; height: 17px; }
.lang-caret { width: 11px; height: 11px; stroke-width: 1.8; transition: transform 0.2s var(--ease-calm); }

.lang-toggle[aria-expanded="true"] { border-color: var(--rust); color: var(--rust-deep); }
.lang-toggle[aria-expanded="true"] .lang-caret { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 170px;
  list-style: none;
  background: var(--offwhite);
  border: 1px solid var(--tint);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(154, 68, 35, 0.14);
  padding: 6px;
  z-index: 60;
}

.lang-menu[hidden] { display: none; }

.lang-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 5px;
  font-size: 0.93rem;
  color: var(--charcoal);
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.lang-menu a:hover { background: var(--tint); color: var(--rust-deep); }

/* the language you are already reading: marked, and not a pointless link */
.lang-menu a[aria-current] {
  font-weight: 700;
  color: var(--rust-deep);
  background: var(--cream);
}

/* ---------- hamburger ---------- */

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--tint);
  border-radius: 6px;
  padding: 10px;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle:hover { border-color: var(--rust); }

.nav-toggle-bars {
  display: block;
  width: 20px;
  height: 14px;
  position: relative;
}

.nav-toggle-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--rust-deep);
  transition: transform 0.25s var(--ease-calm), opacity 0.18s ease;
}

.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 6px; }
.nav-toggle-bars span:nth-child(3) { top: 12px; }

/* bars morph into a close cross while the panel is open */
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- mobile panel ---------- */

.mobile-menu {
  display: none;
  border-top: 1px solid var(--tint);
  background: var(--offwhite);
  padding: 8px var(--pad-x) 26px;
  max-height: calc(100dvh - 72px);
  overflow-y: auto;
}

.mobile-menu[hidden] { display: none; }

.mobile-links { display: flex; flex-direction: column; }

.mobile-links a {
  padding: 15px 2px;
  font-size: 1.05rem;
  color: var(--charcoal);
  text-decoration: none;
  border-bottom: 1px solid var(--tint);
}

.mobile-links a:active { color: var(--rust-deep); }

.mobile-lang-label {
  margin-top: 24px;
  margin-bottom: 10px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
}

/* three wide targets rather than a dropdown: on a phone, tapping once beats
   tapping twice, and three languages fit across the smallest screen */
.mobile-lang { display: flex; gap: 8px; }

.mobile-lang a {
  flex: 1;
  text-align: center;
  padding: 13px 4px;
  min-height: 46px;
  border: 1px solid var(--tint);
  border-radius: 7px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--charcoal);
  text-decoration: none;
}

.mobile-lang a[aria-current] {
  background: var(--rust);
  border-color: var(--rust);
  color: var(--cream);
}

.mobile-cta { display: block; text-align: center; margin-top: 22px; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .lang { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .mobile-menu { display: block; }
  .brand { margin-right: auto; }
}

@media (min-width: 861px) {
  /* the panel is desktop-irrelevant; keep it out of the layout and the a11y tree */
  .mobile-menu { display: none !important; }
}

@media (max-width: 480px) {
  .brand-word { font-size: 1.15rem; }
}
@media (max-width: 360px) {
  .nav .brand-word { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .nav-toggle-bars span, .lang-caret, .skip-link { transition: none; }
}

/* ---------- hero ---------- */

.hero { padding-top: clamp(24px, 3.5vw, 44px); }

.hero-copy {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  opacity: 0;
  transform: translateY(14px);
  animation: hero-copy-in 0.9s var(--ease-calm) 0.1s forwards;
}

@keyframes hero-copy-in {
  to { opacity: 1; transform: none; }
}

.hero-cta {
  text-align: center;
  margin-top: clamp(16px, 2.2vw, 26px);
  opacity: 0;
  transform: translateY(14px);
  animation: hero-copy-in 0.9s var(--ease-calm) 1.1s forwards;
}

.hero-cta .sub {
  max-width: 56ch;
  margin: 0 auto 24px;
  font-size: 1.08rem;
}

/* line composition directly under the headline — compact so the
   drawing is on screen the moment the page loads */

/* The "how the work happens now / how it should run" captions that used to sit
   either side of this figure were removed: the drawing resolving left to right
   already says it, and naming it was heavy-handed. The wrapper is a plain block
   now, no grid areas to place them in. */
.hero-line-wrap {
  max-width: 760px;
  margin: clamp(10px, 1.6vw, 18px) auto 0;
}

.hero-line svg { width: 100%; height: auto; display: block; }

.hero-line-mobile { display: none; }

@media (max-width: 640px) {
  .hero-line-desktop { display: none; }
  .hero-line-mobile { display: block; max-width: 400px; margin: 0 auto; }
}

/* --- hero SVG line animation --- */

.chaos-line path,
.chaos-line polyline {
  fill: none;
  stroke: var(--rust);
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Default is the FINISHED figure. A visitor without JS, or before the CSS
   animation can start, sees the completed drawing rather than a blank box.

   This used to be inverted: the markup carried .no-anim (drawn), and an
   external script swapped it for .play (undrawn) after first paint. On a
   phone, where the script lands noticeably later than the paint, that read as
   the lattice drawing itself, vanishing for a beat, then redrawing. The `js`
   class is now set by an inline head script, so the undrawn starting state is
   in place before anything is painted and there is nothing to flash. */
.chaos-line .seg {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

.chaos-line .node {
  fill: var(--offwhite);
  stroke: var(--rust);
  opacity: 1;
}

/* JS present: start hidden and run the intro straight from CSS. Nothing here
   waits on main.js, so the choreography begins as early as the browser can
   manage. */
.js .chaos-line .seg { stroke-dashoffset: 1; }
.js .chaos-line .node { opacity: 0; }

.js .chaos-line .seg-tangle {
  animation: draw 1.2s cubic-bezier(0.6, 0.05, 0.5, 0.95) 0s forwards;
}
.js .chaos-line .seg-bridge {
  animation: draw 0.45s var(--ease-calm) 1.2s forwards;
}
.js .chaos-line .seg-lattice-a { animation: draw 0.7s var(--ease-calm) 1.5s forwards; }
.js .chaos-line .seg-lattice-b { animation: draw 0.7s var(--ease-calm) 1.6s forwards; }
.js .chaos-line .seg-lattice-c { animation: draw 0.6s var(--ease-calm) 1.75s forwards; }
.js .chaos-line .seg-lattice-d { animation: draw 0.6s var(--ease-calm) 1.8s forwards; }
.js .chaos-line .node { animation: node-in 0.4s var(--ease-calm) 2.05s forwards; }

/* There used to be an ambient `pulse 4s infinite` on three of the nodes. It was
   already visually dead - .done lands at 3.2s and forces node opacity to 1,
   overriding it 0.6s after it started - but it kept running, repainting inside
   the SVG forever. On mobile that is a permanent rasterisation trigger on the
   hero layer for no visible effect, and a plausible source of intermittent
   flicker. The figure is meant to settle, so it now settles. */

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes node-in { to { opacity: 1; } }

/* Locked final frame once the intro is over, so the drawing survives anything
   that resets animation state - notably the mobile copy of the SVG, which is
   display:none at desktop widths and would otherwise restart its animation the
   moment a rotation brings it into play. */
.chaos-line.done .seg { stroke-dashoffset: 0 !important; }
.chaos-line.done .node { opacity: 1 !important; }
.chaos-line.done .seg, .chaos-line.done .node { animation: none !important; }

@media (prefers-reduced-motion: reduce) {
  .chaos-line .seg { stroke-dashoffset: 0 !important; animation: none !important; }
  .chaos-line .node { opacity: 1 !important; animation: none !important; }
  .hero-copy, .hero-cta { opacity: 1; transform: none; animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- sections ---------- */

.section { padding-top: var(--section-y); padding-bottom: var(--section-y); }

.section-rule { border-top: 1px solid var(--tint); }

.section p + p { margin-top: 1.1em; }

/* ---------- metrics strip ---------- */

.metrics {
  margin-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--tint);
  border-bottom: 1px solid var(--tint);
  padding: clamp(36px, 5vw, 56px) 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 40px);
}

.metrics-3 { grid-template-columns: repeat(3, 1fr); }

.metric dt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  line-height: 1.1;
  color: var(--rust);
}

.metric dd {
  margin-top: 8px;
  font-size: 0.92rem;
  color: var(--grey);
}

@media (max-width: 900px) {
  .metrics-grid, .metrics-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .metrics-grid, .metrics-3 { grid-template-columns: 1fr; gap: 26px; }
}

/* ---------- "where the hours hide" cards ---------- */

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 28px);
  margin-top: clamp(32px, 4vw, 52px);
}

.case-card {
  background: var(--cream);
  border-radius: 10px;
  padding: clamp(24px, 2.8vw, 34px);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s var(--ease-calm), box-shadow 0.2s var(--ease-calm);
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(154, 68, 35, 0.12);
}

.case-card strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 2.4vw, 2.1rem);
  line-height: 1.1;
  color: var(--rust);
  margin-bottom: 12px;
}

.case-card strong span { font-size: 0.6em; }

.case-card p { font-size: 0.94rem; flex: 1; }

.case-card footer {
  margin-top: 16px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
}

@media (max-width: 860px) {
  .case-grid { grid-template-columns: 1fr; }
}

/* ---------- what we do ---------- */

.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2.4vw, 28px);
  margin-top: clamp(32px, 4vw, 52px);
}

.svc-card {
  background: var(--cream);
  border-radius: 10px;
  padding: clamp(24px, 2.6vw, 32px);
  transition: transform 0.2s var(--ease-calm), box-shadow 0.2s var(--ease-calm);
}

.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(154, 68, 35, 0.12);
}

.icon {
  width: 44px;
  height: 44px;
  fill: none;
  stroke: var(--rust);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 18px;
  transition: transform 0.25s var(--ease-calm);
}

.svc-card:hover .icon { transform: translateY(-4px) rotate(-4deg); }

@media (prefers-reduced-motion: reduce) {
  .svc-card:hover .icon { transform: none; }
}

.svc-card h3 { margin-bottom: 8px; font-size: 1.15rem; }

.svc-card p { font-size: 0.94rem; }

@media (max-width: 1020px) {
  .svc-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .svc-grid { grid-template-columns: 1fr; }
}

/* ---------- how it works ---------- */

.how-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
  margin-top: clamp(32px, 4vw, 52px);
}

.steps-wrap { position: relative; }

.steps-rail {
  position: absolute;
  top: 26px;
  bottom: 26px;
  left: 25px;
  width: 2px;
}

.steps-rail svg { width: 2px; height: 100%; display: block; }

.rail-path {
  fill: none;
  stroke: var(--rust);
  stroke-width: 2;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.drawn .rail-path {
  animation: draw 1.2s var(--ease-calm) 0.1s forwards;
}

.steps { list-style: none; display: grid; gap: 38px; position: relative; }

.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 22px; }

.step-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--rust);
  border: 2px solid var(--rust);
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: var(--offwhite);
  position: relative;
  z-index: 1;
}

.steps h3 { margin-bottom: 4px; }
.steps p { font-size: 0.97rem; }

.how-ill img,
.co-ill img {
  border: 1px solid var(--tint);
  border-radius: 10px;
  transition: transform 0.25s var(--ease-calm), box-shadow 0.25s var(--ease-calm);
}

.how-ill img:hover,
.co-ill img:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(154, 68, 35, 0.1);
}

.scope-note {
  margin-top: clamp(28px, 4vw, 44px);
  font-size: 0.95rem;
  color: var(--grey);
}

@media (max-width: 860px) {
  .how-grid { grid-template-columns: 1fr; }
  .how-ill { order: -1; max-width: 560px; }
}

@media (prefers-reduced-motion: reduce) {
  .rail-path { stroke-dashoffset: 0 !important; animation: none !important; }
}

/* ---------- company ---------- */

.co-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
  margin-top: clamp(32px, 4vw, 52px);
}

.co-text { max-width: var(--measure); }

.co-ill img { border: 1px solid var(--tint); border-radius: 10px; }

.founder-chip {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}

.founder-chip img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--rust);
}

.founder-chip strong { display: block; font-size: 0.98rem; }
.founder-chip span { font-size: 0.85rem; color: var(--grey); }

.stats-note { margin-top: 22px; font-size: 0.88rem; color: var(--grey); font-style: italic; }

@media (max-width: 860px) {
  .co-grid { grid-template-columns: 1fr; }
  .co-ill { order: -1; max-width: 560px; }
}

/* ---------- FAQ ---------- */

.faq-list { max-width: 760px; margin-top: clamp(28px, 4vw, 44px); }

.faq-list details {
  border-bottom: 1px solid var(--tint);
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 20px 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--rust-deep);
  transition: color 0.2s ease;
}

.faq-list summary:hover { color: var(--rust); }

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--rust);
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease-calm);
}

.faq-list summary:hover::after { transform: rotate(90deg); }

.faq-list details[open] summary::after { content: "–"; transform: none; }

.faq-list details p {
  padding: 0 4px 22px;
  max-width: var(--measure);
  color: var(--charcoal);
}

/* ---------- final CTA band ---------- */

.cta-band {
  background: var(--rust);
  color: var(--cream);
  overflow: hidden;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.cta-band h2 { color: var(--cream); }

.cta-band .sub { margin-top: 18px; max-width: 46ch; }

.cta-band .btn { margin-top: 30px; }

@media (max-width: 820px) {
  .cta-grid { grid-template-columns: 1fr; }
  .cta-ill { max-width: 520px; margin: 0 auto; }
}

/* ---------- footer ---------- */

.footer { padding: clamp(40px, 6vw, 64px) 0; border-top: 1px solid var(--tint); }

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 32px;
}

.footer .brand-word { font-size: 1.15rem; }

.footer-tag { color: var(--grey); font-size: 0.92rem; margin-right: auto; }

.footer-links { display: flex; gap: 22px; font-size: 0.92rem; }

.footer-links a { color: var(--charcoal); text-decoration: none; border-bottom: 1px solid var(--tint); }
.footer-links a:hover { color: var(--rust-deep); border-bottom-color: var(--rust); }

.footer-copy { width: 100%; font-size: 0.82rem; color: var(--grey); }

/* ---------- scroll reveal ---------- */

/* Guarded by .js for the same reason as the hero line: without a script there
   is nothing to add .revealed, and an unguarded rule would leave most of the
   page permanently invisible rather than merely unanimated. */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease-calm), transform 0.5s var(--ease-calm);
}

.js .reveal.revealed { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
