/* ============================================================
   Snappad - site.css
   Design read: pre-launch B2B landing for real estate agents.
   Gallery-light ground, one accent, restrained motion.
   Dials: DESIGN_VARIANCE 7 / MOTION_INTENSITY 5 / VISUAL_DENSITY 4
   ============================================================ */

/* ---------- Tokens ---------- */

:root {
  /* Ground: gallery light. Photography reads true against neutral paper. */
  --paper:        #f4f3f0;
  --paper-raised: #faf9f7;
  --paper-sunk:   #eae8e3;
  --line:         #dcd9d3;
  --line-strong:  #c6c2ba;

  --ink:          #17181a;
  --ink-2:        #4a4e52;
  --ink-3:        #5e6367;
  --ink-invert:   #faf9f7;

  /* Single accent, locked for the whole page. Deep pine. */
  --accent:       #12604a;
  --accent-deep:  #0d4837;
  --accent-soft:  #e3ece8;
  --accent-ink:   #ffffff;

  /* One radius system: soft 12px surfaces, pill interactives. */
  --r-surface: 12px;
  --r-inset:   8px;
  --r-pill:    999px;

  --shadow-soft: 0 1px 2px rgba(30, 28, 24, .04), 0 8px 24px -12px rgba(30, 28, 24, .16);
  --shadow-lift: 0 2px 4px rgba(30, 28, 24, .06), 0 20px 44px -20px rgba(30, 28, 24, .26);

  --measure: 62ch;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --shell: 1360px;

  --ease: cubic-bezier(.16, 1, .3, 1);

  /* z-scale, documented so nobody spams z-50 */
  --z-base: 0;
  --z-raised: 10;
  --z-nav: 100;
  --z-overlay: 200;

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper:        #131415;
    --paper-raised: #1a1c1d;
    --paper-sunk:   #0e0f10;
    --line:         #2a2d2f;
    --line-strong:  #3a3e41;

    --ink:          #f2f1ee;
    --ink-2:        #b7bbbe;
    --ink-3:        #9aa0a4;
    --ink-invert:   #131415;

    --accent:       #4cc79c;
    --accent-deep:  #6bd9b1;
    --accent-soft:  #16302a;
    --accent-ink:   #0b1512;

    --shadow-soft: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px -12px rgba(0, 0, 0, .6);
    --shadow-lift: 0 2px 4px rgba(0, 0, 0, .5), 0 20px 44px -20px rgba(0, 0, 0, .7);
  }
}

/* ---------- Reset ---------- */

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

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3 {
  margin: 0;
  font-weight: 560;
  letter-spacing: -0.028em;
  line-height: 1.06;
  text-wrap: balance;
}

p { margin: 0; }

a { color: inherit; }

button, input, select, textarea { font: inherit; color: inherit; }

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

.u-mono {
  font-family: "Geist Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  font-variant-numeric: tabular-nums;
}

.u-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--ink-invert);
  padding: .75rem 1.25rem;
  z-index: var(--z-overlay);
  border-radius: 0 0 var(--r-inset) 0;
}
.u-skip:focus { left: 0; }

.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;
}

/* ---------- Layout shell ---------- */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(4.5rem, 9vw, 8rem); }

.section--sunk {
  background: var(--paper-sunk);
  border-block: 1px solid var(--line);
}

.section__head {
  max-width: 44ch;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section__title {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
}

.section__lede {
  margin-top: 1.15rem;
  color: var(--ink-2);
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  max-width: var(--measure);
  text-wrap: pretty;
}

.eyebrow {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: .6875rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.15rem;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  white-space: nowrap;
  padding: .8rem 1.6rem;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-size: .9375rem;
  font-weight: 520;
  letter-spacing: -0.008em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .22s var(--ease), border-color .22s var(--ease),
              color .22s var(--ease), transform .12s var(--ease), box-shadow .22s var(--ease);
}

.btn:active { transform: translateY(1px) scale(.985); }

/* Primary: near-black on paper. High contrast, never fights the photography. */
.btn--primary {
  background: var(--ink);
  color: var(--ink-invert);
  box-shadow: var(--shadow-soft);
}
.btn--primary:hover { background: var(--accent); box-shadow: var(--shadow-lift); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--ink); background: var(--paper-raised); }

.btn--block { width: 100%; }

.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn[disabled]:active { transform: none; }

/* ---------- Nav (single line, <= 72px) ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  height: 68px;
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}

@media (prefers-reduced-transparency: reduce) {
  .nav { background: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

.nav.is-stuck { border-bottom-color: var(--line); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
}

.nav__brand {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-decoration: none;
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__link {
  font-size: .9375rem;
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s var(--ease);
}
.nav__link:hover { color: var(--ink); }

.nav__cta { flex-shrink: 0; }

@media (max-width: 860px) {
  .nav__links { display: none; }
}

/* ---------- Hero: asymmetric split ---------- */

.hero {
  padding-top: clamp(2.5rem, 5vw, 4.5rem);  /* cap: never floats content mid-viewport */
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

/* Scale is planned against the column width: 7 words must land on 2 lines,
   never 3. Do not raise this cap without shortening the headline. */
.hero__title {
  font-size: clamp(2.15rem, 3.7vw, 3rem);
  letter-spacing: -0.034em;
}

.hero__lede {
  margin-top: 1.5rem;
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  color: var(--ink-2);
  max-width: 46ch;
  text-wrap: pretty;
}

.hero__actions {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__copy { order: 1; }
  .hero__media { order: 2; }
}

/* ---------- Before / after comparison ---------- */

.ba {
  --pos: 50%;
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: var(--r-surface);
  overflow: hidden;
  background: var(--paper-sunk);
  box-shadow: var(--shadow-lift);
  isolation: isolate;
  touch-action: pan-y;
}

.ba--wide { aspect-ratio: 16 / 9; }

.ba__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .45s var(--ease);
}

/* Both frames are held back until both have decoded. A half-loaded
   comparison shows the same image on either side of the handle, which
   reads as "this product changes nothing". */
.ba.is-ready .ba__frame { opacity: 1; }

.ba__skeleton {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: linear-gradient(
    100deg,
    var(--paper-sunk) 30%,
    color-mix(in srgb, var(--paper-raised) 70%, var(--paper-sunk)) 50%,
    var(--paper-sunk) 70%
  );
  background-size: 220% 100%;
  animation: ba-shimmer 1.6s linear infinite;
  transition: opacity .3s var(--ease);
}

.ba.is-ready .ba__skeleton { opacity: 0; pointer-events: none; animation: none; }

@keyframes ba-shimmer {
  from { background-position: 140% 0; }
  to   { background-position: -40% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .ba__frame { transition: none; }
  .ba__skeleton { animation: none; transition: none; }
}

/* The "before" sits on top and is clipped from the right by the handle. */
.ba__frame--before {
  z-index: var(--z-raised);
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.ba__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .16);
  z-index: 20;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s var(--ease);
}

.ba.is-ready .ba__divider { opacity: 1; }

.ba__knob {
  position: absolute;
  top: 50%;
  left: var(--pos);
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .28);
  display: grid;
  place-items: center;
  z-index: 30;
  pointer-events: none;
  opacity: 0;
  transition: transform .18s var(--ease), opacity .3s var(--ease);
}

.ba.is-ready .ba__knob { opacity: 1; }

.ba__knob svg { width: 20px; height: 20px; color: #17181a; }

.ba:hover .ba__knob { transform: scale(1.06); }

/* The range input is the real control: pointer drag and arrow keys for free. */
.ba__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 40;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
}

.ba__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 44px;
  height: 100%;
  cursor: ew-resize;
}
.ba__range::-moz-range-thumb {
  width: 44px;
  height: 100%;
  border: 0;
  background: transparent;
  cursor: ew-resize;
}

/* The knob precedes the input in the DOM, so a sibling combinator cannot
   reach it. :has() on the container can. */
.ba__range:focus-visible { outline: none; }
.ba:has(.ba__range:focus-visible) .ba__knob {
  box-shadow: 0 0 0 3px var(--accent), 0 2px 10px rgba(0, 0, 0, .28);
}

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

/* Captions sit below the frame, never as pills on the image. */
.ba-caption {
  margin-top: .9rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-size: .8125rem;
  color: var(--ink-3);
}

.ba-caption__side { font-family: "Geist Mono", ui-monospace, monospace; letter-spacing: .04em; }
.ba-caption__side--after { color: var(--accent); }

.ba-note {
  margin-top: .5rem;
  font-size: .75rem;
  color: var(--ink-3);
}

/* ---------- Statement band ---------- */

.band {
  background: var(--paper-sunk);
  border-block: 1px solid var(--line);
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

.band__text {
  font-size: clamp(1.5rem, 3.2vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.2;
  max-width: 26ch;
  text-wrap: balance;
}

.band__text em {
  font-style: normal;
  color: var(--accent);
}

/* ---------- Capability bento: exactly 4 cells ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-surface);
  border: 1px solid var(--line);
  background: var(--paper-raised);
  overflow: hidden;
  transition: border-color .28s var(--ease), transform .28s var(--ease), box-shadow .28s var(--ease);
}

.tile:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

@media (prefers-reduced-motion: reduce) {
  .tile { transition: border-color .28s var(--ease); }
  .tile:hover { transform: none; box-shadow: none; }
}

.tile--lead   { grid-column: span 7; }
.tile--second { grid-column: span 5; }
.tile--third  { grid-column: span 5; }
.tile--fourth { grid-column: span 7; }

.tile__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--paper-sunk);
  border-bottom: 1px solid var(--line);
}

.tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.tile:hover .tile__media img { transform: scale(1.025); }

@media (prefers-reduced-motion: reduce) {
  .tile__media img { transition: none; }
  .tile:hover .tile__media img { transform: none; }
}

/* A comparison nested in a bento cell fills the media box and drops its own
   frame, since the tile already supplies the border and radius. */
.tile__media .ba {
  position: absolute;
  inset: 0;
  height: 100%;
  aspect-ratio: auto;
  border-radius: 0;
  box-shadow: none;
}

.tile__media .ba__knob {
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
}

.tile__media .ba__knob svg { width: 17px; height: 17px; }

.tile__body { padding: clamp(1.4rem, 2.4vw, 2rem); }

.tile__title {
  font-size: clamp(1.125rem, 1.7vw, 1.375rem);
  letter-spacing: -0.024em;
}

.tile__text {
  margin-top: .7rem;
  color: var(--ink-2);
  font-size: .9375rem;
  max-width: 46ch;
  text-wrap: pretty;
}

@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr; }
  .tile--lead, .tile--second, .tile--third, .tile--fourth { grid-column: 1 / -1; }
}

/* ---------- Sequence (staggered, offset) ---------- */

.seq {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  counter-reset: none;
}

.step {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 6fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  padding-block: clamp(1.75rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line);
}

/* Offset each step to break the grid, per DESIGN_VARIANCE 7 */
.step:nth-child(2) { margin-left: clamp(0rem, 4vw, 4rem); }
.step:nth-child(3) { margin-left: clamp(0rem, 8vw, 8rem); }

.step__label {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  letter-spacing: -0.03em;
  color: var(--accent);
}

.step__text {
  color: var(--ink-2);
  font-size: clamp(1rem, 1.2vw, 1.0625rem);
  max-width: 52ch;
  text-wrap: pretty;
}

@media (max-width: 760px) {
  .step { grid-template-columns: 1fr; gap: .6rem; }
  .step:nth-child(2), .step:nth-child(3) { margin-left: 0; }
}

/* ---------- Full-bleed showcase ---------- */

.showcase__frame {
  border-radius: var(--r-surface);
  overflow: hidden;
}

.showcase__foot {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}

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

/* ---------- Two-panel contrast ---------- */

.compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.panel {
  border-radius: var(--r-surface);
  border: 1px solid var(--line);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: var(--paper-raised);
}

.panel--accent {
  background: var(--accent-soft);
  border-color: transparent;
}

.panel__title {
  font-size: 1.0625rem;
  font-weight: 560;
  letter-spacing: -0.02em;
  margin-bottom: 1.4rem;
}

.panel--accent .panel__title { color: var(--accent); }

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

.panel__item {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: .75rem;
  align-items: start;
  font-size: .9375rem;
  color: var(--ink-2);
}

.panel__icon { width: 20px; height: 20px; margin-top: .15rem; flex-shrink: 0; }
.panel--accent .panel__icon { color: var(--accent); }
.panel:not(.panel--accent) .panel__icon { color: var(--ink-3); }

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

/* ---------- Early access form ---------- */

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

@media (max-width: 900px) {
  .signup__grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

.form {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border-radius: var(--r-surface);
  border: 1px solid var(--line);
  background: var(--paper-raised);
  box-shadow: var(--shadow-soft);
}

.field { display: grid; gap: .5rem; }

.field__label {
  font-size: .875rem;
  font-weight: 520;
  color: var(--ink);
}

.field__hint {
  font-size: .8125rem;
  color: var(--ink-3);
}

.field__control {
  width: 100%;
  padding: .8rem 1rem;
  border-radius: var(--r-inset);
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.field__control::placeholder { color: var(--ink-3); opacity: 1; }

.field__control:hover { border-color: var(--ink-3); }

.field__control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}

select.field__control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235e6367' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-right: 2.75rem;
}

@media (prefers-color-scheme: dark) {
  select.field__control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa0a4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  }
}

.field__error {
  font-size: .8125rem;
  color: #b3261e;
  display: none;
}

@media (prefers-color-scheme: dark) {
  .field__error { color: #ff8a80; }
}

.field.is-invalid .field__control { border-color: #b3261e; }
.field.is-invalid .field__error { display: block; }

@media (prefers-color-scheme: dark) {
  .field.is-invalid .field__control { border-color: #ff8a80; }
}

.form__foot {
  font-size: .8125rem;
  color: var(--ink-3);
  text-wrap: pretty;
}

/* Loading state: the button reports work, no generic spinner overlay. */
.btn.is-busy { pointer-events: none; }

.btn__spinner {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid color-mix(in srgb, currentColor 30%, transparent);
  border-top-color: currentColor;
  animation: ba-spin .7s linear infinite;
  display: none;
}

.btn.is-busy .btn__spinner { display: block; }

@keyframes ba-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .btn__spinner { animation-duration: 2s; }
}

/* Success state replaces the form in place. */
.form-success {
  display: none;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border-radius: var(--r-surface);
  border: 1px solid var(--accent);
  background: var(--accent-soft);
}

.form-success__title {
  font-size: 1.25rem;
  letter-spacing: -0.025em;
  color: var(--accent);
}

.form-success__text {
  margin-top: .65rem;
  color: var(--ink-2);
  font-size: .9375rem;
  max-width: 46ch;
}

.signup.is-sent .form { display: none; }
.signup.is-sent .form-success { display: block; }

.form-error {
  display: none;
  font-size: .875rem;
  color: #b3261e;
  padding: .8rem 1rem;
  border-radius: var(--r-inset);
  background: color-mix(in srgb, #b3261e 8%, transparent);
  border: 1px solid color-mix(in srgb, #b3261e 30%, transparent);
}

.form.has-error .form-error { display: block; }

@media (prefers-color-scheme: dark) {
  .form-error { color: #ff8a80; }
}

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding-block: clamp(2.5rem, 5vw, 4rem);
  background: var(--paper-sunk);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.footer__brand {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.footer__meta {
  font-size: .8125rem;
  color: var(--ink-3);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .875rem;
}

.footer__links a {
  color: var(--ink-2);
  text-decoration: none;
  transition: color .2s var(--ease);
}
.footer__links a:hover { color: var(--ink); }

/* ---------- Scroll reveal (MOTION_INTENSITY 5) ---------- */

/* Scoped to .has-js so that if the script fails to load, the content is
   simply visible rather than permanently transparent. */
@media (prefers-reduced-motion: no-preference) {
  .has-js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
    transition-delay: var(--reveal-delay, 0ms);
  }
  .has-js .reveal.is-in {
    opacity: 1;
    transform: none;
  }
}
