/* ==========================================================================
   Dimalith — dimalith.com
   Hand-built static site. No dependencies, no build step.
   ========================================================================== */

/* --- Tokens --------------------------------------------------------------- */
:root {
  --bg:            #08080b;
  --bg-raise:      #0d0d12;
  --bg-sink:       #050507;
  --surface:       #101017;

  --ink:           #eaeaf0;
  --ink-soft:      #a8a8b8;
  --ink-mute:      #6e6e80;

  --line:          rgba(255, 255, 255, 0.09);
  --line-soft:     rgba(255, 255, 255, 0.05);
  --line-strong:   rgba(255, 255, 255, 0.16);

  --accent:        #7c3aed;
  --accent-lift:   #9d6bff;
  --accent-glow:   rgba(124, 58, 237, 0.28);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Code",
          Menlo, Consolas, monospace;

  /* Single source of truth for where the hero lockup sits. Every page uses
     this exact top offset so the animated logo lands in the same place. */
  --hero-top: clamp(6rem, 13vh, 8.5rem);

  --gut:      clamp(1.5rem, 5vw, 4rem);
  --measure:  68ch;
  --shell:    1220px;

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

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }

::selection { background: var(--accent); color: #fff; }

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

/* --- Typography ----------------------------------------------------------- */
h1, h2, h3, h4 {
  margin: 0;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.t-display {
  font-size: clamp(2.5rem, 1.4rem + 4.6vw, 4.75rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.t-h2 {
  font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem);
  font-weight: 300;
  letter-spacing: -0.035em;
}

.t-h3 {
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.t-lead {
  font-size: clamp(1.0625rem, 1rem + 0.42vw, 1.3125rem);
  line-height: 1.6;
  color: var(--ink-soft);
  font-weight: 300;
  letter-spacing: -0.012em;
}

p { margin: 0 0 1.15em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.5rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: var(--accent);
  flex: none;
}

.muted { color: var(--ink-soft); }
.accent { color: var(--accent-lift); }

/* --- Layout --------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.section { padding-block: clamp(4.5rem, 9vw, 8.5rem); }
.section--tight { padding-block: clamp(3.5rem, 6vw, 5.5rem); }
.section--edge { border-top: 1px solid var(--line-soft); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 2rem; }
}

.split__aside { position: sticky; top: 7rem; }
@media (max-width: 860px) { .split__aside { position: static; } }

/* --- Header --------------------------------------------------------------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease),
              backdrop-filter 0.4s var(--ease);
}

.masthead.is-stuck {
  background: rgba(8, 8, 11, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line-soft);
}

.masthead__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex: none;
}

/* Full lockup — the supplied logo, used whole. */
.brand__logo {
  height: 1.5rem;
  width: auto;
  max-width: none;
  opacity: 0.95;
}

/* The masthead brand is a handoff, not a duplicate: it stays out of the way
   while the animated hero lockup is on screen, then takes over once that has
   scrolled away.

   Hidden-by-default is expressed in CSS, gated on the .js class that the inline
   head script sets before first paint. So the brand is never painted visible
   and then removed — there is no flash. With JS off, .js is absent, this rule
   never applies, and the brand simply stays visible. */
.brand--handoff {
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease),
              visibility 0s linear 0s;
}

.js .brand--handoff {
  opacity: 0;
  transform: translateY(-6px);
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
              visibility 0s linear 0.3s;
}

.js .masthead.brand-shown .brand--handoff {
  opacity: 1;
  transform: none;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease),
              visibility 0s linear 0s;
}

@media (prefers-reduced-motion: reduce) {
  .brand--handoff,
  .js .brand--handoff,
  .js .masthead.brand-shown .brand--handoff {
    transition: opacity 0.2s linear;
    transform: none;
  }
}

.nav { display: flex; align-items: center; gap: clamp(1.25rem, 2.6vw, 2.5rem); }

.nav__link {
  position: relative;
  padding-block: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 450;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.25s var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { transform: scaleX(1); }

.nav__link[aria-current="page"] { color: var(--ink); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.nav__cta { margin-left: 0.5rem; }

.burger {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  margin-right: -0.6rem;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 1.25rem;
  height: 1px;
  margin: 0.3rem auto;
  background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.2s var(--ease);
}

.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(0.4rem) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-0.4rem) rotate(-45deg); }

@media (max-width: 780px) {
  .burger { display: block; }

  .nav {
    position: fixed;
    inset: 5rem 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem var(--gut) 2.25rem;
    background: rgba(8, 8, 11, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line-soft);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  }

  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }

  .nav__link {
    padding-block: 0.95rem;
    font-size: 1rem;
    border-bottom: 1px solid var(--line-soft);
  }

  .nav__link::after { display: none; }
  .nav__cta { margin: 1.25rem 0 0; text-align: center; }
}

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.5rem;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease),
              color 0.3s var(--ease), transform 0.3s var(--ease);
}

.btn:hover {
  border-color: var(--accent);
  background: rgba(124, 58, 237, 0.1);
  transform: translateY(-1px);
}

.btn__arrow { transition: transform 0.3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

.btn--solid {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.btn--solid:hover {
  background: var(--accent-lift);
  border-color: var(--accent-lift);
  box-shadow: 0 8px 30px -10px var(--accent-glow);
}

.btn--ghost { border-color: transparent; padding-inline: 0; }
.btn--ghost:hover { background: none; border-color: transparent; color: var(--accent-lift); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2.5rem; }

/* --- Text links ----------------------------------------------------------- */
.link {
  color: var(--ink);
  text-decoration: none;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  padding-bottom: 1px;
  transition: background-size 0.35s var(--ease), color 0.25s var(--ease);
}

.link:hover { background-size: 100% 1px; color: var(--accent-lift); }

/* --- Hero ----------------------------------------------------------------- */
/* Top-aligned, not centred: the lockup must land at an identical y-offset on
   every page, so the hero grows downward from a fixed --hero-top.

   Every hero is content-sized. An earlier version gave the home page a tall
   min-height, which made its hero band — and the percentage-based decoration
   inside it — render at a different scale from the other pages. */
.hero {
  position: relative;
  display: flex;
  align-items: flex-start;
  padding-block: var(--hero-top) clamp(3.5rem, 8vw, 6rem);
  overflow: hidden;
  isolation: isolate;
}

/* Ambient gradient field — the only decorative flourish on the page.
   Geometry is absolute (rem), not a percentage of the hero, so the glow renders
   at the same scale on every page regardless of how tall that hero's content
   makes it. */
.field {
  position: absolute;
  inset: -14rem -10% auto;
  z-index: -2;
  height: 62rem;
  pointer-events: none;
  background:
    radial-gradient(46rem 34rem at 22% 14rem, rgba(124, 58, 237, 0.20), transparent 62%),
    radial-gradient(38rem 30rem at 82% 40rem, rgba(80, 60, 190, 0.14), transparent 66%),
    radial-gradient(30rem 26rem at 58% 4rem,  rgba(160, 120, 255, 0.09), transparent 70%);
  filter: blur(12px);
  animation: drift 34s ease-in-out infinite alternate;
}

@keyframes drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(-2.5%, 2%, 0) scale(1.06); }
  100% { transform: translate3d(2%, -1.5%, 0) scale(1.02); }
}

/* Hairline grid — structure, barely visible. */
.grid-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--line-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line-soft) 1px, transparent 1px);
  background-size: 5.5rem 5.5rem;
  /* Absolute mask geometry, for the same reason as .field above. */
  mask-image: radial-gradient(100rem 34rem at 50% 11rem, #000 22%, transparent 78%);
  -webkit-mask-image: radial-gradient(100rem 34rem at 50% 11rem, #000 22%, transparent 78%);
  opacity: 0.7;
}

.hero__inner { position: relative; width: 100%; }

/* Animated logo lockup: the D holds, IMALITH slides out from behind it. */
/* Hero lockup — reconstructs the supplied logo exactly from its two pieces.
   Both source images share the same 255px-tall box, so each renders at full
   height; the gap between the D and the wordmark is 67/255 = 0.263 of that
   height, measured from the original artwork. */
.lockup {
  --lock-h: clamp(2.6rem, 6.2vw, 4rem);
  --lock-gap: calc(var(--lock-h) * 0.263);

  display: flex;
  align-items: center;
  height: var(--lock-h);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.lockup__d {
  height: 100%;
  width: auto;
  flex: none;
  opacity: 0;
  transform: translateY(10px) scale(0.94);
  animation: d-in 1s var(--ease) 0.15s forwards;
}

.lockup__word {
  position: relative;
  height: 100%;
  margin-left: var(--lock-gap);
  overflow: hidden;
  flex: none;
}

.lockup__word img {
  height: 100%;
  width: auto;
  max-width: none;
  /* Slides out from behind the D — offset by the gap so it starts tucked
     underneath rather than beside it. */
  transform: translateX(calc(-100% - var(--lock-gap)));
  animation: word-out 1.15s var(--ease) 0.62s forwards;
}

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

@keyframes word-out {
  to { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .field { animation: none; }
  .lockup__d { opacity: 1; transform: none; animation: none; }
  .lockup__word img { transform: none; animation: none; }
}

.hero__title { max-width: 17ch; }
.hero__lead { margin-top: 1.75rem; max-width: 52ch; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  max-width: none;
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.hero__meta span { display: inline-flex; align-items: center; gap: 0.6rem; }
.hero__meta span + span::before {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}

/* --- Practice cards ------------------------------------------------------- */
.practices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: 1px;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}

.practice {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 3.4vw, 2.75rem);
  background: var(--bg);
  text-decoration: none;
  overflow: hidden;
  transition: background 0.45s var(--ease);
}

.practice::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s var(--ease);
}

.practice:hover { background: var(--bg-raise); }
.practice:hover::before { transform: scaleX(1); }

.practice__num {
  margin-bottom: 1.75rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  color: var(--accent-lift);
}

.practice__title { margin-bottom: 0.9rem; }
.practice__body { color: var(--ink-soft); font-size: 0.9375rem; }

.practice__list {
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
  color: var(--ink-mute);
}

.practice__list li {
  padding: 0.5rem 0;
  border-top: 1px solid var(--line-soft);
  letter-spacing: 0.01em;
}

.practice__more {
  margin-top: auto;
  padding-top: 2rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  transition: color 0.3s var(--ease);
}

.practice:hover .practice__more { color: var(--accent-lift); }

/* --- Stats ---------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.stat__value {
  font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem);
  font-weight: 200;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}

.stat__label {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* --- Capability stack ----------------------------------------------------- */
.stack { border-top: 1px solid var(--line); margin-top: clamp(2rem, 4vw, 3rem); }

.stack__row {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr) minmax(0, 1.35fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: baseline;
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--line);
  transition: background 0.4s var(--ease), padding-inline 0.4s var(--ease);
}

.stack__row:hover { background: var(--bg-raise); }

.stack__idx {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
}

.stack__body { color: var(--ink-soft); font-size: 0.9375rem; }

@media (max-width: 720px) {
  .stack__row { grid-template-columns: 1fr; gap: 0.75rem; }
}

/* --- Tech marks ----------------------------------------------------------- */
.marks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
  padding: 0;
  list-style: none;
}

/* Deliberately no hover state: these are evidence, not controls. A hover
   response would imply they filter or link somewhere, and they don't. */
.marks li {
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
}

/* --- Callout / CTA band --------------------------------------------------- */
.band {
  position: relative;
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(48rem 22rem at 50% 118%, rgba(124, 58, 237, 0.16), transparent 68%),
    var(--bg-sink);
  overflow: hidden;
}

.band__inner {
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
  text-align: center;
}

.band__inner p { margin-inline: auto; }
.band .btn-row { justify-content: center; }

/* --- Contact -------------------------------------------------------------- */
.detail-list { margin: 0; padding: 0; border-top: 1px solid var(--line); }

.detail-list div {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 1.5rem;
  padding-block: 1.15rem;
  border-bottom: 1px solid var(--line);
}

.detail-list dt {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-top: 0.25rem;
}

.detail-list dd { margin: 0; color: var(--ink); }

@media (max-width: 560px) {
  .detail-list div { grid-template-columns: 1fr; gap: 0.35rem; }
}

.form { display: grid; gap: 1.35rem; margin-top: 0.5rem; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.35rem; }
@media (max-width: 620px) { .form__grid { grid-template-columns: 1fr; } }

.field-group { display: grid; gap: 0.5rem; }

.field-group label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.field-group input,
.field-group select,
.field-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 0.9375rem;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.field-group textarea { min-height: 9rem; resize: vertical; }

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  border-color: var(--accent);
  background: var(--bg-raise);
  outline: none;
}

.field-group input::placeholder,
.field-group textarea::placeholder { color: var(--ink-mute); opacity: 0.6; }

.form__note { font-size: 0.8125rem; color: var(--ink-mute); }
.form__hp { position: absolute; left: -9999px; opacity: 0; }

/* --- Footer --------------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--line-soft);
  background: var(--bg-sink);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

@media (max-width: 760px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

.footer__mark { width: 8.5rem; opacity: 0.9; margin-bottom: 1.4rem; }
.footer__blurb { font-size: 0.875rem; color: var(--ink-mute); max-width: 34ch; }

.footer__head {
  margin: 0 0 1.15rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.footer__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.7rem; }

.footer__list a {
  font-size: 0.875rem;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

.footer__list a:hover { color: var(--accent-lift); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.75rem;
  color: var(--ink-mute);
}

.footer__bottom p { margin: 0; }

/* --- Scroll reveal -------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}

.reveal.is-in { opacity: 1; transform: none; }

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

/* --- Utility -------------------------------------------------------------- */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
}

.skip:focus { left: 1rem; top: 1rem; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
