/* ==========================================================================
   JAI Studios — Cullman, Alabama
   Websites for small-town business.

   Palette: void ink · chalk · copper · cobalt · coral
   Type: Syne (display) · Instrument Serif (editorial italic) · JetBrains Mono
   Language: full-bleed blocks, oversized type, hairline CTAs, dissolve motion.
   ========================================================================== */

@font-face {
  font-family: "Syne";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/syne-normal-400-800.woff2") format("woff2");
}

@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrumentserif-italic-400.woff2") format("woff2");
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/jetbrainsmono-normal-400.woff2") format("woff2");
}

:root {
  --void: #07080c;
  --ink: #0e1018;
  --line: rgba(244, 240, 232, 0.08);
  --line-strong: rgba(244, 240, 232, 0.16);
  --chalk: #f4f0e8;
  --chalk-dim: rgba(244, 240, 232, 0.72);
  --fog: rgba(244, 240, 232, 0.5);
  --copper: #d4a574;
  --copper-dim: rgba(212, 165, 116, 0.45);
  --cobalt: #4b6bff;
  --coral: #e86a52;

  --font-display: "Syne", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --nav-h: 4.75rem;
  --pad: clamp(1.25rem, 5vw, 4.5rem);
  --max: 90rem;
  --copy: 36rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: auto;
  scroll-padding-top: calc(var(--nav-h) + 1rem);
}

::selection {
  background: var(--copper);
  color: var(--void);
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

body {
  font-family: var(--font-display);
  font-weight: 400;
  background: var(--void);
  color: var(--chalk);
  line-height: 1.6;
  overflow-x: hidden;
}

body.is-loading {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.mono {
  font-family: var(--font-mono);
  font-weight: 400;
  letter-spacing: 0.05em;
}

.italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

/* Accessibility scaffolding */
.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 11000;
  padding: 0.7rem 1.1rem;
  background: var(--chalk);
  color: var(--void);
  font-weight: 700;
  font-size: 0.85rem;
  transform: translateY(calc(-100% - 1.5rem));
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--cobalt);
  outline-offset: 3px;
}

/* ==========================================================================
   Grain — the whole page sits under a faint animated film
   ========================================================================== */

.noise {
  pointer-events: none;
  position: fixed;
  inset: -12%;
  z-index: 9990;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 1.6s steps(6) infinite;
}

@keyframes grain-shift {
  0% { transform: translate3d(0, 0, 0); }
  20% { transform: translate3d(-2%, 1.4%, 0); }
  40% { transform: translate3d(1.6%, -1%, 0); }
  60% { transform: translate3d(-1%, -1.8%, 0); }
  80% { transform: translate3d(1.8%, 1%, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

/* ==========================================================================
   Preloader — numeric count, thin rule, dissolve reveal
   ========================================================================== */

.ldr {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: none;
  background: var(--void);
  transition:
    opacity 0.7s var(--ease),
    clip-path 0.9s var(--ease),
    visibility 0.9s;
  clip-path: inset(0 0 0 0);
}

html.js-enabled .ldr {
  display: block;
}

.ldr.is-done {
  opacity: 0;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  pointer-events: none;
}

.ldr__inner {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: clamp(2rem, 8vh, 4.5rem);
}

.ldr__label {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--fog);
  margin-bottom: 1.25rem;
}

.ldr__pct {
  font-size: clamp(3.5rem, 12vw, 7.5rem);
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--chalk);
  font-variant-numeric: tabular-nums;
  margin-bottom: 1.5rem;
}

.ldr__pct::after {
  content: "%";
  font-size: 0.32em;
  color: var(--copper);
  margin-left: 0.15em;
}

.ldr__track {
  height: 1px;
  background: var(--line-strong);
  overflow: hidden;
}

.ldr__fill {
  height: 100%;
  width: 0%;
  background: var(--copper);
}

/* ==========================================================================
   Nav — mark left, phone right, nothing else
   ========================================================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 8000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s, backdrop-filter 0.4s;
}

.nav.is-scrolled,
html:not(.js-enabled) .nav {
  background: rgba(7, 8, 12, 0.78);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line);
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.nav__mark {
  width: 0.55rem;
  height: 0.55rem;
  background: var(--copper);
  transform: rotate(45deg);
  box-shadow: 0 0 16px rgba(212, 165, 116, 0.5);
  flex-shrink: 0;
}

.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
  font-size: 0.8rem;
  color: var(--chalk-dim);
  transition: color 0.25s;
}

.nav__phone:hover,
.nav__phone:focus-visible {
  color: var(--copper);
}

.nav__phone-hint {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--fog);
}

@media (max-width: 560px) {
  .nav__phone-hint {
    display: none;
  }
}

/* ==========================================================================
   Hairline CTA — a rule and a small label, never a filled button
   ========================================================================== */

.act {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.7rem;
  min-height: 46px;
  padding-top: 0.4rem;
}

.act__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--chalk);
  transition: color 0.3s;
}

.act__rule {
  position: relative;
  display: block;
  height: 1px;
  width: 100%;
  background: var(--line-strong);
  overflow: hidden;
}

.act__rule::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s var(--ease);
}

.act:hover .act__label,
.act:focus-visible .act__label {
  color: var(--copper);
}

.act:hover .act__rule::after,
.act:focus-visible .act__rule::after {
  transform: scaleX(1);
}

.act--quiet .act__label {
  color: var(--chalk-dim);
}

/* ==========================================================================
   Section chrome — full-bleed, hairline-topped, numbered
   ========================================================================== */

.sec {
  position: relative;
  border-top: 1px solid var(--line);
  padding: clamp(5.5rem, 13vw, 10rem) var(--pad);
  overflow: hidden;
}

.sec__inner {
  max-width: var(--max);
  margin-inline: auto;
  position: relative;
}

.sec__head {
  display: flex;
  align-items: baseline;
  gap: 1.1rem;
  margin-bottom: clamp(2.75rem, 7vw, 5rem);
}

.sec__no {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--copper);
  letter-spacing: 0.08em;
}

.sec__tag {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--fog);
}

.sec__title {
  font-size: clamp(2rem, 5.2vw, 3.9rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.04;
  max-width: 20ch;
  text-wrap: balance;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.sec__title .italic {
  color: var(--copper);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.tick {
  color: var(--copper);
}

/* Ghost type — oversized stroked letters used as imagery */
.ghost {
  position: absolute;
  z-index: 0;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 240, 232, 0.06);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

@supports not (-webkit-text-stroke: 1px black) {
  .ghost {
    display: none;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--nav-h) + 2rem) var(--pad) clamp(3rem, 7vh, 5rem);
  overflow: hidden;
}

.hero__field {
  position: absolute;
  inset: -22% -12%;
  background:
    radial-gradient(ellipse 52% 58% at 76% 16%, rgba(75, 107, 255, 0.2), transparent 62%),
    radial-gradient(ellipse 44% 52% at 10% 66%, rgba(212, 165, 116, 0.13), transparent 58%),
    radial-gradient(ellipse 30% 36% at 52% 6%, rgba(232, 106, 82, 0.07), transparent 55%);
  filter: blur(12px);
  pointer-events: none;
  animation: field-drift 26s ease-in-out infinite alternate;
}

@keyframes field-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-2.5%, 3%, 0) scale(1.05); }
}

.hero__gridlines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse 72% 62% at 46% 38%, black, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse 72% 62% at 46% 38%, black, transparent 76%);
  opacity: 0.65;
  pointer-events: none;
}

.hero__arcs {
  position: absolute;
  right: -6rem;
  top: 8%;
  width: clamp(18rem, 36vw, 34rem);
  height: auto;
  pointer-events: none;
  animation: arc-turn 90s linear infinite;
}

@keyframes arc-turn {
  to { transform: rotate(360deg); }
}

.hero .ghost {
  right: -2%;
  bottom: 26%;
  font-size: clamp(13rem, 30vw, 26rem);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin-inline: auto;
}

.hero__eyebrow {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--fog);
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.hero__eyebrow .sep {
  color: var(--copper);
  margin: 0 0.5em;
}

.hero__title {
  font-weight: 500;
  line-height: 0.98;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.hero__line {
  display: block;
}

.hero__line--sans {
  font-size: clamp(2.6rem, 10.5vw, 8.25rem);
  letter-spacing: 0.015em;
  text-transform: uppercase;
  font-weight: 500;
}

.hero__line--serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.7rem, 11vw, 8.75rem);
  letter-spacing: -0.01em;
  padding-right: 0.08em;
}

.hero__deck {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) auto;
  gap: 2rem 4rem;
  align-items: end;
}

@media (max-width: 900px) {
  .hero__deck {
    grid-template-columns: 1fr;
  }
}

.hero__lede {
  color: var(--chalk-dim);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.7;
  max-width: var(--copy);
}

.hero__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2.75rem;
  align-items: end;
}

.hero__scroll {
  position: absolute;
  right: var(--pad);
  top: 42%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--fog);
  writing-mode: vertical-rl;
}

.hero__scroll-line {
  width: 1px;
  height: 3.25rem;
  background: linear-gradient(to bottom, var(--copper), transparent);
  animation: scroll-pulse 2.2s ease infinite;
}

@keyframes scroll-pulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.45; }
}

@media (max-width: 900px) {
  .hero__scroll {
    display: none;
  }
}

@media (max-width: 390px) {
  .hero {
    padding-top: calc(var(--nav-h) + 1.25rem);
  }

  .hero__line--sans {
    font-size: 2.45rem;
  }

  .hero__line--serif {
    font-size: 2.55rem;
  }
}

/* ==========================================================================
   01 · What we build — three blocks split by hairlines
   ========================================================================== */

.svc__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.svc {
  padding: clamp(2rem, 4vw, 3.25rem) clamp(1.5rem, 3vw, 2.75rem) clamp(2.5rem, 5vw, 4rem);
  border-right: 1px solid var(--line);
  position: relative;
}

.svc:first-child {
  padding-left: 0;
}

.svc:last-child {
  border-right: 0;
  padding-right: 0;
}

.svc__no {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--copper);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
}

.svc__glyph {
  display: block;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1.5rem;
}

.svc h3 {
  font-size: clamp(1.3rem, 1.9vw, 1.65rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 1rem;
  max-width: 16ch;
}

.svc p {
  color: var(--chalk-dim);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 30rem;
}

@media (max-width: 900px) {
  .svc__grid {
    grid-template-columns: 1fr;
    border-top: 0;
  }

  .svc {
    border-right: 0;
    border-top: 1px solid var(--line);
    padding-inline: 0;
  }
}

/* ==========================================================================
   02 · The deal — full-bleed statement
   ========================================================================== */

.vow {
  background: var(--ink);
}

.vow__field {
  position: absolute;
  inset: -20% -10%;
  background:
    radial-gradient(ellipse 48% 52% at 22% 30%, rgba(212, 165, 116, 0.12), transparent 60%),
    radial-gradient(ellipse 40% 46% at 82% 78%, rgba(75, 107, 255, 0.1), transparent 58%);
  filter: blur(14px);
  pointer-events: none;
  animation: field-drift 30s ease-in-out infinite alternate;
}

.vow .ghost {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  right: 2%;
  top: -6%;
  font-size: clamp(16rem, 34vw, 30rem);
  -webkit-text-stroke: 0;
  color: rgba(212, 165, 116, 0.05);
}

.vow__title {
  position: relative;
  z-index: 1;
  font-weight: 500;
  line-height: 1.02;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.vow__line {
  display: block;
}

.vow__line--sans {
  font-size: clamp(1.6rem, 7.2vw, 5.9rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-weight: 500;
}

.vow__line--serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.7rem, 7.6vw, 6.25rem);
  color: var(--copper);
  padding-right: 0.08em;
}

.vow__note {
  position: relative;
  z-index: 1;
  color: var(--chalk-dim);
  font-size: clamp(0.98rem, 1.4vw, 1.1rem);
  line-height: 1.75;
  max-width: var(--copy);
}

.vow__note strong {
  color: var(--chalk);
  font-weight: 600;
}

/* ==========================================================================
   03 · How it works — three steps, ~two weeks
   ========================================================================== */

.steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  counter-reset: step;
}

.step {
  padding: clamp(2rem, 4vw, 3.25rem) clamp(1.5rem, 3vw, 2.75rem) clamp(2.5rem, 5vw, 4rem);
  border-right: 1px solid var(--line);
}

.step:first-child {
  padding-left: 0;
}

.step:last-child {
  border-right: 0;
  padding-right: 0;
}

.step__when {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--copper);
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
}

.step h3 {
  font-size: clamp(1.3rem, 1.9vw, 1.65rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.step p {
  color: var(--chalk-dim);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 30rem;
}

@media (max-width: 900px) {
  .steps__grid {
    grid-template-columns: 1fr;
    border-top: 0;
  }

  .step {
    border-right: 0;
    border-top: 1px solid var(--line);
    padding-inline: 0;
  }
}

.steps__aside {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--fog);
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: var(--copy);
}

/* ==========================================================================
   04 · Where we work — the town wall
   ========================================================================== */

.towns .ghost {
  right: -1%;
  bottom: 4%;
  font-size: clamp(9rem, 22vw, 19rem);
}

.towns__wall {
  position: relative;
  z-index: 1;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: clamp(1.1rem, 2.6vw, 2.25rem);
  row-gap: clamp(0.5rem, 1.6vw, 1rem);
  padding: clamp(2rem, 5vw, 3.5rem) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.45rem, 3.6vw, 2.7rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.towns__wall li {
  display: inline-flex;
  align-items: baseline;
  gap: clamp(1.1rem, 2.6vw, 2.25rem);
  color: var(--chalk-dim);
}

.towns__wall li::before {
  content: "·";
  color: var(--copper-dim);
  font-family: var(--font-serif);
}

.towns__wall li:first-child::before {
  content: none;
}

.towns__wall .towns__home {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--copper);
  font-size: 1.1em;
}

.towns__note {
  position: relative;
  z-index: 1;
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--fog);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: var(--copy);
}

/* ==========================================================================
   05 · Say hello — the phone number is the artwork
   ========================================================================== */

.call {
  background: var(--ink);
  min-height: 88svh;
  display: flex;
  align-items: center;
}

.call .sec__inner {
  flex: 1;
}

.call__field {
  position: absolute;
  inset: -18% -10%;
  background:
    radial-gradient(ellipse 46% 52% at 74% 24%, rgba(75, 107, 255, 0.16), transparent 60%),
    radial-gradient(ellipse 42% 48% at 16% 80%, rgba(212, 165, 116, 0.13), transparent 58%);
  filter: blur(14px);
  pointer-events: none;
  animation: field-drift 28s ease-in-out infinite alternate;
}

.call__rings {
  position: absolute;
  left: -8rem;
  bottom: -9rem;
  width: clamp(18rem, 34vw, 30rem);
  height: auto;
  pointer-events: none;
  animation: arc-turn 110s linear infinite reverse;
}

.call__kicker {
  position: relative;
  z-index: 1;
  font-size: clamp(1.5rem, 3.4vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
  max-width: 24ch;
}

.call__kicker .italic {
  color: var(--copper);
}

.call__number {
  position: relative;
  z-index: 1;
  display: inline-block;
  font-size: clamp(2.5rem, 10vw, 7.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  min-height: 44px;
  font-variant-numeric: tabular-nums;
  color: var(--chalk);
  margin-bottom: clamp(2.25rem, 6vw, 3.75rem);
  transition: color 0.35s;
}

.call__number .sep {
  color: var(--copper);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 0.55em;
  vertical-align: 0.16em;
  margin: 0 0.12em;
}

.call__number:hover,
.call__number:focus-visible {
  color: var(--copper);
}

.call__acts {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2.75rem;
  margin-bottom: clamp(2.75rem, 7vw, 4.5rem);
}

.call__sign {
  position: relative;
  z-index: 1;
  color: var(--fog);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: var(--copy);
}

.call__sign .italic {
  color: var(--chalk-dim);
  font-size: 1.15em;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.foot {
  border-top: 1px solid var(--line);
  padding: 2rem var(--pad) 2.25rem;
}

.foot__inner {
  max-width: var(--max);
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  font-size: 0.72rem;
  color: var(--fog);
}

.foot__inner .mono {
  font-size: 0.68rem;
}

.foot a {
  color: var(--chalk-dim);
  transition: color 0.25s;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.foot a:hover,
.foot a:focus-visible {
  color: var(--copper);
}

.foot .sep {
  color: var(--copper-dim);
  margin: 0 0.6em;
}

/* ==========================================================================
   Motion states — dissolve, never slide
   ========================================================================== */

html.js-enabled [data-hero],
html.js-enabled [data-hero-line],
html.js-enabled [data-reveal],
html.js-enabled [data-reveal-group] > * {
  opacity: 0;
  filter: blur(14px);
}

/* ==========================================================================
   Reduced motion — collapse the theater, keep the content
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html.js-enabled .ldr,
  .ldr {
    display: none !important;
  }

  html.js-enabled [data-hero],
  html.js-enabled [data-hero-line],
  html.js-enabled [data-reveal],
  html.js-enabled [data-reveal-group] > * {
    opacity: 1 !important;
    filter: none !important;
  }

  .noise {
    animation: none !important;
  }
}
