/* ============================================================
   Thomas Reid — personal site
   Palette derived from k7.com: near-black warm ground, oxblood
   glow, one vermilion accent. Body copy stays near-white; red is
   for accents and CTAs only (red-on-black body text fails contrast).
   ============================================================ */

:root {
  /* ground */
  --ink:        #0A0607;
  --ink-2:      #120C0E;
  --ink-3:      #1A1214;

  /* the glow */
  --oxblood:    #4E100C;
  --oxblood-2:  #7E1C12;
  --ember:      #2A0A08;

  /* accent */
  --accent:     #E0492F;
  --accent-hot: #FF6B4A;

  /* type */
  --paper:      #F6F0EE;
  --paper-dim:  #B9A9A7;
  --paper-faint:#8B7A78;

  --line:       rgba(246, 240, 238, 0.09);
  --line-2:     rgba(246, 240, 238, 0.16);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
          Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --nav-h: 68px;
  --wrap: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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


/* ============================================================
   BACKGROUND — drifting blurred gradients, fixed behind content
   ============================================================ */

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--ink);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.85;
  will-change: transform;
}

.blob--1 {
  width: 78vw; height: 78vw;
  top: -26vw; left: -14vw;
  background: radial-gradient(circle at 50% 50%,
              var(--oxblood-2) 0%, var(--oxblood) 42%, transparent 68%);
  animation: drift-1 34s var(--ease) infinite alternate;
}

.blob--2 {
  width: 62vw; height: 62vw;
  top: 24vh; right: -18vw;
  background: radial-gradient(circle at 50% 50%,
              var(--oxblood) 0%, var(--ember) 48%, transparent 70%);
  animation: drift-2 42s var(--ease) infinite alternate;
}

.blob--3 {
  width: 54vw; height: 54vw;
  bottom: -16vw; left: 18vw;
  background: radial-gradient(circle at 50% 50%,
              #5E1410 0%, transparent 66%);
  animation: drift-3 50s var(--ease) infinite alternate;
}

@keyframes drift-1 {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(9vw, 7vh, 0) scale(1.14); }
}
@keyframes drift-2 {
  from { transform: translate3d(0, 0, 0) scale(1.06); }
  to   { transform: translate3d(-11vw, -9vh, 0) scale(0.92); }
}
@keyframes drift-3 {
  from { transform: translate3d(0, 0, 0) scale(0.95); }
  to   { transform: translate3d(7vw, -6vh, 0) scale(1.18); }
}

/* filmic grain — keeps the big gradients from banding */
.bg__grain {
  position: absolute;
  inset: -50%;
  opacity: 0.32;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

.bg__vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 40%, transparent 30%, rgba(10, 6, 7, 0.72) 100%),
    linear-gradient(180deg, rgba(10, 6, 7, 0.55) 0%, transparent 22%);
}


/* ============================================================
   LAYOUT PRIMITIVES
   ============================================================ */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 28px;
}
.wrap--narrow { max-width: 820px; }

.section { padding-block: clamp(90px, 13vh, 150px); position: relative; }

.section__head { margin-bottom: clamp(48px, 7vw, 76px); }

/* title only, no supporting paragraph */
.section__head--bare { margin-bottom: clamp(40px, 5.5vw, 62px); }

.eyebrow {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.section__title {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.section__sub {
  margin: 18px 0 0;
  max-width: 54ch;
  color: var(--paper-dim);
  font-size: 1.02rem;
}


/* ============================================================
   NAV
   ============================================================ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 24px;
  padding-inline: 28px;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease,
              backdrop-filter 0.35s ease;
}

.nav.is-stuck {
  background: rgba(10, 6, 7, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}

.nav__mark {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  text-decoration: none;
  margin-right: auto;
}
.nav__bang { color: var(--accent); }

.nav__links {
  display: flex;
  gap: 30px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav__links a {
  position: relative;
  text-decoration: none;
  color: var(--paper-dim);
  padding-block: 6px;
  transition: color 0.2s ease;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__links a:hover { color: var(--paper); }
.nav__links a:hover::after,
.nav__links a.is-active::after { transform: scaleX(1); }
.nav__links a.is-active { color: var(--paper); }


/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding-inline: 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), background 0.2s ease,
              border-color 0.2s ease, box-shadow 0.25s ease;
}

.btn--solid {
  background: var(--accent);
  color: #fff;
}
.btn--solid:hover {
  background: var(--accent-hot);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(224, 73, 47, 0.32);
}

.btn--ghost {
  border-color: var(--line-2);
  color: var(--paper);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent-hot);
  transform: translateY(-2px);
}


/* ============================================================
   1 — HERO
   ============================================================ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: calc(var(--nav-h) + 40px) 80px;
}

.hero__inner {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 28px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.hero__name {
  margin: 0 0 26px;
  font-size: clamp(3.2rem, 11vw, 7.4rem);
  line-height: 0.86;
  letter-spacing: -0.055em;
  display: flex;
  flex-direction: column;
}

/* The k7 move: heavy solid word, then a light oblique word. */
.hero__name-solid {
  font-weight: 800;
  color: var(--paper);
}
.hero__name-light {
  font-weight: 200;
  font-style: italic;
  color: var(--paper);
  padding-left: 0.06em;
}

.hero__lede {
  margin: 0 0 26px;
  max-width: 46ch;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  color: var(--paper-dim);
}

.hero__avail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 36px;
  padding: 8px 16px 8px 13px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 13px;
  color: var(--paper-dim);
}

.pulse {
  width: 7px; height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(224, 73, 47, 0.7);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  70%  { box-shadow: 0 0 0 9px rgba(224, 73, 47, 0); }
  100% { box-shadow: 0 0 0 0 rgba(224, 73, 47, 0); }
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* --- right panel / terminal (3D head goes here later) --- */

.hero__panel { display: flex; justify-content: center; }

.terminal {
  width: 100%;
  max-width: 480px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: rgba(18, 12, 14, 0.66);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.terminal__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.terminal__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--line-2);
}
.terminal__dot:first-child { background: var(--accent); }

.terminal__title {
  margin-left: 8px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--paper-faint);
}

.terminal__body {
  margin: 0;
  padding: 22px 20px 26px;
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.75;
  white-space: pre-wrap;
  min-height: 150px;
}

.t-dim { color: var(--accent); }
.t-out { color: var(--paper-dim); }

.caret {
  display: inline-block;
  width: 8px; height: 1em;
  vertical-align: text-bottom;
  background: var(--accent);
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* --- scroll cue --- */

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  width: 24px; height: 38px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.hero__scroll span {
  width: 3px; height: 7px;
  border-radius: 2px;
  background: var(--accent);
  animation: scroll-cue 1.9s ease-in-out infinite;
}
@keyframes scroll-cue {
  0%, 100% { transform: translateY(0);    opacity: 1; }
  50%      { transform: translateY(11px); opacity: 0.2; }
}


/* ============================================================
   2 — CAREER PATH (the spine)
   ============================================================ */

.path {
  list-style: none;
  margin: 0;
  padding: 0 0 0 0;
  position: relative;
}

/* the line itself */
.path::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg,
              transparent 0%,
              var(--line-2) 8%,
              var(--line-2) 88%,
              transparent 100%);
}

.mile {
  position: relative;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 0 32px;
  padding: 0 0 46px 44px;
}
.mile:last-child { padding-bottom: 0; }

/* the node — every milestone is identical. The only special one is
   "Now", which is solid accent and pulses. No unexplained hierarchy. */
.mile::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--ink);
  border: 1px solid var(--line-2);
}
.mile::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 14px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--paper-faint);
}

.mile--now::before {
  border-color: var(--accent);
  animation: pulse 2.4s ease-out infinite;
}
.mile--now::after { background: var(--accent); }

.mile__year {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--paper-faint);
  padding-top: 7px;
}
.mile--now .mile__year { color: var(--accent); }

.mile__body { min-width: 0; }

.mile__title {
  margin: 0;
  font-size: 1.22rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.mile__org {
  margin: 5px 0 0;
  font-size: 0.92rem;
  color: var(--paper-faint);
}

.mile__note {
  margin: 12px 0 0;
  max-width: 56ch;
  font-size: 0.97rem;
  color: var(--paper-dim);
}


/* ============================================================
   3 — PROJECTS
   ============================================================ */

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 32px 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(168deg, rgba(32, 22, 24, 0.72) 0%, rgba(14, 10, 11, 0.78) 100%);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  box-shadow:
    0 1px 0 0 rgba(246, 240, 238, 0.045) inset,
    0 18px 44px rgba(0, 0, 0, 0.34);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.4s var(--ease), border-color 0.4s ease,
              box-shadow 0.4s ease;
}

/* accent wash that comes up on hover */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(100% 78% at 12% 0%,
              rgba(224, 73, 47, 0.16) 0%, transparent 64%);
  transition: opacity 0.45s ease;
}

/* lit top edge — the thing that makes it read as a physical panel */
.card::after {
  content: "";
  position: absolute;
  top: 0; left: 28px; right: 28px;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg,
              transparent, rgba(246, 240, 238, 0.28), transparent);
  transition: background 0.45s ease, left 0.45s var(--ease), right 0.45s var(--ease);
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(224, 73, 47, 0.4);
  box-shadow:
    0 1px 0 0 rgba(246, 240, 238, 0.07) inset,
    0 26px 60px rgba(0, 0, 0, 0.46),
    0 0 44px rgba(224, 73, 47, 0.1);
}
.card:hover::before { opacity: 1; }
.card:hover::after {
  left: 0; right: 0;
  background: linear-gradient(90deg,
              transparent, var(--accent), transparent);
}

.card--feature { grid-column: 1 / -1; }

/* big outlined numeral bleeding off the top-right corner */
.card__ghost {
  position: absolute;
  top: -26px;
  right: 10px;
  z-index: -1;
  font-size: 128px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(246, 240, 238, 0.075);
  pointer-events: none;
  user-select: none;
  transition: -webkit-text-stroke-color 0.45s ease, transform 0.55s var(--ease);
}
.card--feature .card__ghost { font-size: 190px; top: -40px; right: 24px; }

.card:hover .card__ghost {
  -webkit-text-stroke-color: rgba(224, 73, 47, 0.32);
  transform: translateY(6px);
}

.card__title {
  margin: 0 0 14px;
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.card--feature .card__title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }

.card__what {
  margin: 0;
  max-width: 62ch;
  color: var(--paper-dim);
  font-size: 0.98rem;
}
.card--feature .card__what { font-size: 1.06rem; max-width: 56ch; }

.card__why {
  margin: 14px 0 0;
  max-width: 56ch;
  font-size: 0.98rem;
  font-style: italic;
  color: var(--paper-faint);
  border-left: 2px solid rgba(224, 73, 47, 0.45);
  padding-left: 14px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.tag {
  display: inline-block;
  padding: 4px 11px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--paper-faint);
}
.tag--wip {
  border-color: rgba(224, 73, 47, 0.32);
  color: var(--accent);
}

.card__link {
  margin-top: auto;
  padding-top: 26px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--paper);
  transition: color 0.25s ease;
}

.card__arrow {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  font-size: 13px;
  transition: transform 0.3s var(--ease), border-color 0.3s ease,
              background 0.3s ease, color 0.3s ease;
}

.card:hover .card__link { color: var(--accent-hot); }
.card:hover .card__arrow {
  transform: translateX(5px);
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

/* whole card is clickable via the link's stretched hit area */
.card__link::after { content: ""; position: absolute; inset: 0; }

.grid__foot {
  margin: 34px 0 0;
  text-align: center;
  font-size: 0.95rem;
  color: var(--paper-faint);
}
.grid__foot a { color: var(--accent); text-decoration: none; }
.grid__foot a:hover { color: var(--accent-hot); text-decoration: underline; }


/* ============================================================
   4 — COLOPHON
   ============================================================ */

.colophon {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.colophon__prose p {
  margin: 0 0 20px;
  max-width: 58ch;
  color: var(--paper-dim);
  font-size: 1.02rem;
}
.colophon__prose p:last-child { margin-bottom: 0; }

.colophon__panel {
  padding: 26px 26px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(18, 12, 14, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.spec { display: flex; flex-direction: column; }

.spec__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}
.spec__row dt {
  color: var(--paper-faint);
  letter-spacing: 0.04em;
}
.spec__row dd {
  margin: 0;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--paper);
  text-align: right;
}

.spec__live {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 18px 0 0;
  font-size: 12px;
  color: var(--paper-faint);
}


/* ============================================================
   5 — CONTACT + FOOTER
   ============================================================ */

.section--contact { padding-bottom: clamp(70px, 9vh, 110px); }

.contact__title {
  margin: 0;
  font-size: clamp(2.6rem, 8vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.contact__sub {
  margin: 22px 0 46px;
  max-width: 48ch;
  color: var(--paper-dim);
}

.contact__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.contact__list a {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: padding-left 0.3s var(--ease), border-color 0.3s ease;
}
.contact__list a:hover {
  padding-left: 16px;
  border-bottom-color: var(--accent);
}

.contact__key {
  flex: 0 0 110px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-faint);
}

.contact__val {
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  word-break: break-word;
  transition: color 0.25s ease;
}
.contact__list a:hover .contact__val { color: var(--accent-hot); }

.foot {
  border-top: 1px solid var(--line);
  padding-block: 26px;
  font-size: 12.5px;
  color: var(--paper-faint);
}
.foot__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.foot a { text-decoration: none; transition: color 0.2s ease; }
.foot a:hover { color: var(--accent); }


/* ============================================================
   SCROLL REVEAL
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 940px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__panel { justify-content: flex-start; }
  .terminal { max-width: 100%; }
  .colophon { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap, .hero__inner { padding-inline: 20px; }
  .nav { padding-inline: 20px; gap: 14px; }
  .nav__links { display: none; }
  .hero { min-height: auto; padding-block: calc(var(--nav-h) + 56px) 72px; }
  .hero__scroll { display: none; }
  .grid { grid-template-columns: 1fr; }
  .card { padding: 28px 24px 24px; }
  .card--feature { grid-column: auto; }
  .card__ghost { font-size: 96px; top: -18px; right: 6px; }
  .card--feature .card__ghost { font-size: 110px; top: -22px; right: 10px; }
  .mile {
    grid-template-columns: 1fr;
    gap: 6px;
    padding-left: 34px;
    padding-bottom: 38px;
  }
  .mile__year { padding-top: 0; }
  .path::before { left: 6px; }
  .mile::before { width: 13px; height: 13px; top: 5px; }
  .mile::after  { width: 5px;  height: 5px;  top: 9px; left: 4px; }
  .contact__list a { flex-direction: column; gap: 6px; }
  .contact__key { flex: none; }
  .foot__inner { justify-content: center; text-align: center; }
  .foot__mid { order: 3; width: 100%; }
}


/* ============================================================
   REDUCED MOTION — kill drift, blink, pulse and reveal
   ============================================================ */

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

  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal { opacity: 1; transform: none; }
  .caret { opacity: 1; }
}
