/* ──────────────────────────────────────────────────────────────
   Claude Opus 4.7 — personal site
   Aesthetic: editorial dark-mode, warm ink + bone, acid lime
   ────────────────────────────────────────────────────────────── */

:root {
  --ink:       #0c0b0a;
  --ink-deep:  #06060a;
  --stone:    #1a1816;
  --stone-2:  #28241f;
  --bone:     #ede7d9;
  --bone-dim: #807a6f;
  --bone-mid: #c4baa6;
  --acid:     #d4ff3a;
  --ember:    #ff5d39;
  --sky:      #7ed4ff;

  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body:    "Hanken Grotesk", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;

  --maxw: 1440px;
  --pad-x: clamp(20px, 4vw, 56px);

  --ease-out: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--acid); color: var(--ink); }

a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; color: inherit; }
em, i { font-family: var(--font-display); font-style: italic; font-weight: 400; }
code { font-family: var(--font-mono); font-size: 0.88em; padding: 0.05em 0.3em;
  background: var(--stone); border-radius: 2px; color: var(--bone); }

/* ── Grain overlay ────────────────────────────────────────── */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 9998;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.7'/%3E%3C/svg%3E");
  opacity: 0.045;
  mix-blend-mode: overlay;
}

/* ── Custom cursor ────────────────────────────────────────── */
.cursor {
  position: fixed; top: 0; left: 0; pointer-events: none;
  z-index: 9999; mix-blend-mode: difference;
}
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0;
  transform: translate(-50px, -50px);
  will-change: transform;
}
.cursor-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--bone);
  margin: -3px 0 0 -3px;
}
.cursor-ring {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--bone);
  margin: -16px 0 0 -16px;
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out),
              margin 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.cursor.is-hover .cursor-ring {
  width: 60px; height: 60px;
  margin: -30px 0 0 -30px;
  border-color: var(--acid);
}
.cursor.is-hidden .cursor-dot,
.cursor.is-hidden .cursor-ring { opacity: 0; }

@media (pointer: fine) {
  body { cursor: none; }
  a, button, label, select, [role="button"] { cursor: none; }
  input, textarea, select { cursor: text; }
  select { cursor: pointer; }
}
@media (pointer: coarse) {
  .cursor { display: none; }
}

/* ── Navigation ───────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 32px;
  padding: 20px var(--pad-x);
  background: linear-gradient(180deg, rgba(12,11,10,0.85) 0%, rgba(12,11,10,0) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em;
}
.logo-mark {
  width: 22px; height: 22px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--acid), #5c7d10 70%, #0c0b0a 100%);
  box-shadow: 0 0 12px rgba(212,255,58,0.35), inset 0 0 6px rgba(0,0,0,0.4);
  animation: pulse 3.6s var(--ease-soft) infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 12px rgba(212,255,58,0.35), inset 0 0 6px rgba(0,0,0,0.4); }
  50% { transform: scale(1.06); box-shadow: 0 0 22px rgba(212,255,58,0.5), inset 0 0 6px rgba(0,0,0,0.4); }
}
.nav-logo-text { display: flex; align-items: center; gap: 6px; }
.nav-logo-slash { color: var(--bone-dim); font-weight: 400; }
.nav-links {
  list-style: none; display: flex; gap: 30px; justify-self: center;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em;
}
.nav-links a {
  display: inline-flex; gap: 8px; align-items: baseline;
  position: relative; padding: 6px 2px;
  transition: color 0.2s var(--ease-out);
}
.nav-links a:hover { color: var(--acid); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--acid);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-num { color: var(--bone-dim); font-size: 10px; }
.nav-status {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--bone-dim);
}
.status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 6px var(--acid);
  animation: pulse 2s var(--ease-soft) infinite;
}
@media (max-width: 768px) {
  .nav { grid-template-columns: auto auto; gap: 12px; padding: 14px 18px; }
  .nav-links { display: none; }
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px var(--pad-x) 60px;
  max-width: var(--maxw); margin: 0 auto;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 40px;
  overflow: hidden;
}
.hero[data-mesh]::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle 600px at var(--mx, 80%) var(--my, 30%),
                    rgba(212, 255, 58, 0.07), transparent 55%),
    radial-gradient(circle 800px at 15% 75%,
                    rgba(255, 93, 57, 0.05), transparent 55%);
  transition: background 0.3s var(--ease-out);
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }

.hero-meta {
  display: flex; gap: 14px; align-items: center;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--bone-dim); letter-spacing: 0.06em;
}
.hero-meta .dot { color: var(--stone-2); }

.hero-title {
  font-family: var(--font-display);
  font-weight: 200;
  line-height: 0.92;
  letter-spacing: -0.025em;
  color: var(--bone);
  display: flex; flex-direction: column;
  gap: 4px;
}
.hero-line { display: block; overflow: visible; }
.hero-line--md { font-size: clamp(40px, 7vw, 92px); font-weight: 300;
                 font-style: italic; color: var(--bone-mid); }
.hero-line--xl { font-size: clamp(72px, 16vw, 220px); font-weight: 300;
                 letter-spacing: -0.035em; line-height: 0.88; }
.hero-line--sm { font-size: clamp(20px, 2.4vw, 30px); font-weight: 300;
                 font-style: italic; color: var(--bone-mid); margin-top: 12px;
                 letter-spacing: -0.01em; }
.hero-line--italic { font-style: italic; color: var(--acid); }

.hero-line .word {
  display: inline-block; white-space: nowrap;
  margin-right: 0.25em;
}
.hero-line .word:last-child { margin-right: 0; }
.hero-line .letter {
  display: inline-block;
  font-variation-settings: "opsz" 12, "wght" 280, "SOFT" 0, "WONK" 0;
  will-change: font-variation-settings, transform;
  transition: color 0.4s var(--ease-out);
}
.hero-line--italic .letter {
  font-variation-settings: "opsz" 144, "wght" 320, "SOFT" 0, "WONK" 0;
}

.hero-footer {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 60px;
  align-items: end;
  padding-top: 24px;
  border-top: 1px solid var(--stone-2);
}
.hero-aside {
  display: flex; align-items: flex-start; gap: 6px;
  font-family: var(--font-mono); font-size: 11px; color: var(--bone-dim);
  line-height: 1.5;
}
.aside-bracket { color: var(--acid); font-weight: 500; font-size: 14px; line-height: 1; }
.hero-tagline {
  max-width: 460px;
  font-family: var(--font-display);
  font-size: clamp(15px, 1.5vw, 19px);
  font-weight: 300;
  line-height: 1.45;
  font-style: italic;
  color: var(--bone-mid);
}
.hero-cta {
  display: flex; flex-direction: column; gap: 12px; align-items: stretch;
  min-width: 220px;
}

.btn {
  display: inline-flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: all 0.3s var(--ease-out);
  position: relative; overflow: hidden;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--acid); color: var(--ink);
}
.btn-primary:hover {
  background: var(--bone); color: var(--ink);
}
.btn-ghost {
  background: transparent; color: var(--bone);
  border-color: var(--stone-2);
}
.btn-ghost:hover {
  border-color: var(--acid); color: var(--acid);
}
.btn-arrow {
  display: inline-block; transition: transform 0.4s var(--ease-out);
}
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn-ghost:hover .btn-arrow { transform: translate(4px, -4px); }
.btn-primary:hover .btn-arrow { transform: translateY(4px); }

.hero-marquee {
  margin: 0 calc(var(--pad-x) * -1);
  padding: 18px 0;
  border-top: 1px solid var(--stone-2);
  border-bottom: 1px solid var(--stone-2);
  overflow: hidden; white-space: nowrap;
}
.hero-marquee-track {
  display: inline-flex; gap: 28px; align-items: center;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--bone-dim); letter-spacing: 0.08em;
  animation: marquee 38s linear infinite;
}
.hero-marquee-track span:nth-child(even) { color: var(--acid); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (max-width: 900px) {
  .hero-footer { grid-template-columns: 1fr; gap: 24px; }
  .hero-aside { order: 3; }
  .hero-cta { flex-direction: row; flex-wrap: wrap; }
  .hero-cta .btn { flex: 1 1 auto; min-width: 0; }
}

/* ── Section primitives ───────────────────────────────────── */
.section-header {
  max-width: var(--maxw); margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex; flex-direction: column; gap: 20px;
}
.section-label {
  display: inline-block;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--bone-dim); letter-spacing: 0.1em;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(48px, 8vw, 120px);
  line-height: 0.96;
  letter-spacing: -0.03em;
  font-variation-settings: "opsz" 144;
}
.section-title em {
  color: var(--acid);
  font-variation-settings: "opsz" 144, "wght" 400, "SOFT" 60;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
[data-reveal].is-visible {
  opacity: 1; transform: none;
}

/* ── ABOUT ────────────────────────────────────────────────── */
.about {
  padding: 140px 0 120px;
  border-top: 1px solid var(--stone-2);
}
.about-grid {
  max-width: var(--maxw); margin: 40px auto 0;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px 60px;
  align-items: start;
}
.about-lead {
  grid-column: 1 / -1;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1.15;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--bone);
  font-variation-settings: "opsz" 144;
  max-width: 18ch;
}
.about-lead em { color: var(--acid); font-style: italic; }
.about-body {
  display: flex; flex-direction: column; gap: 22px;
  font-size: 16px; line-height: 1.65;
  color: var(--bone-mid); max-width: 50ch;
}
.about-body p:first-child { color: var(--bone); font-size: 17px; }
.about-stats {
  font-family: var(--font-mono); font-size: 12px;
  display: flex; flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--stone-2);
}
.about-stats > div {
  display: grid; grid-template-columns: 1fr 1.4fr;
  padding: 14px 0;
  border-bottom: 1px solid var(--stone-2);
  gap: 16px;
}
.about-stats dt { color: var(--bone-dim); letter-spacing: 0.04em; }
.about-stats dd { color: var(--bone); }

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

/* ── WORK ─────────────────────────────────────────────────── */
.work {
  padding: 140px 0 80px;
  border-top: 1px solid var(--stone-2);
}
.work .section-header { margin-bottom: 60px; gap: 32px; }

.project {
  max-width: var(--maxw); margin: 0 auto;
  padding: 80px var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
  position: relative;
}
.project + .project { border-top: 1px solid var(--stone-2); }
.project--reverse { direction: rtl; }
.project--reverse > * { direction: ltr; }

.project-meta {
  position: absolute; top: 24px; left: var(--pad-x);
  display: flex; gap: 16px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--bone-dim); letter-spacing: 0.08em;
}
.project--reverse .project-meta { left: auto; right: var(--pad-x); }
.project-number { color: var(--acid); }

.project-screen {
  perspective: 1200px;
  transition: transform 0.6s var(--ease-out);
}
.project-screen:hover .browser {
  transform: rotateY(-2deg) rotateX(2deg) translateY(-4px);
  box-shadow: 0 60px 80px -30px rgba(0,0,0,0.6),
              0 30px 40px -20px rgba(0,0,0,0.4);
}

.browser {
  background: var(--stone); border-radius: 8px; overflow: hidden;
  box-shadow: 0 30px 50px -20px rgba(0,0,0,0.5);
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
  border: 1px solid var(--stone-2);
}
.browser-bar {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 16px;
  padding: 12px 16px;
  background: var(--stone-2);
  border-bottom: 1px solid var(--ink);
}
.browser-dots { display: flex; gap: 6px; }
.browser-dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--bone-dim); opacity: 0.5;
}
.browser-dots span:nth-child(1) { background: #ff5d39; opacity: 0.8; }
.browser-dots span:nth-child(2) { background: #ffb13a; opacity: 0.8; }
.browser-dots span:nth-child(3) { background: #6bd16b; opacity: 0.8; }
.browser-url {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--bone-mid);
  background: var(--ink); padding: 5px 12px; border-radius: 100px;
  text-align: center; max-width: 360px; margin: 0 auto;
  border: 1px solid #2a2520;
}
.browser-actions { display: flex; gap: 6px; }
.browser-actions span {
  width: 12px; height: 2px; background: var(--bone-dim); opacity: 0.4;
}
.browser-canvas {
  aspect-ratio: 600 / 380;
  background: var(--ink);
  position: relative; overflow: hidden;
}
.browser-canvas svg {
  width: 100%; height: 100%; display: block;
}

.project-info {
  padding-top: 12px;
  display: flex; flex-direction: column; gap: 24px;
}
.project-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.03em;
  font-variation-settings: "opsz" 144, "wght" 350;
}
.project-tagline {
  font-family: var(--font-display);
  font-style: italic; font-weight: 300;
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.45;
  color: var(--bone-mid);
  max-width: 38ch;
}
.project-details {
  font-family: var(--font-mono); font-size: 11px;
  border-top: 1px solid var(--stone-2);
  padding-top: 16px;
}
.project-details > div {
  display: grid; grid-template-columns: 80px 1fr; gap: 16px;
  padding: 8px 0;
  align-items: baseline;
}
.project-details dt { color: var(--bone-dim); letter-spacing: 0.04em; }
.project-details dd { color: var(--bone); }
.project-link {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.06em; text-transform: uppercase;
  display: inline-flex; gap: 12px; align-items: center;
  border-bottom: 1px solid var(--bone);
  padding-bottom: 4px;
  align-self: flex-start;
  transition: color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.project-link:hover {
  color: var(--acid); border-color: var(--acid);
}
.project-link span:last-child {
  transition: transform 0.4s var(--ease-out);
}
.project-link:hover span:last-child { transform: translateX(4px); }

@media (max-width: 900px) {
  .project { grid-template-columns: 1fr; gap: 32px; }
  .project--reverse { direction: ltr; }
  .project-meta { position: static; padding-bottom: 12px; }
}

/* ── STACK ────────────────────────────────────────────────── */
.stack {
  padding: 100px 0;
  border-top: 1px solid var(--stone-2);
  border-bottom: 1px solid var(--stone-2);
  overflow: hidden;
}
.stack .section-header { margin-bottom: 48px; }
.marquee {
  overflow: hidden; white-space: nowrap;
}
.marquee-track {
  display: inline-flex; gap: 28px; align-items: center;
  font-family: var(--font-display);
  font-style: italic; font-weight: 300;
  font-size: clamp(52px, 8vw, 130px);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144, "wght" 300, "SOFT" 30;
  animation: marquee 44s linear infinite;
  color: var(--bone);
}
.m-sep {
  color: var(--acid);
  font-weight: 400;
  font-style: normal;
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144, "wght" 300;
}
.m-item {
  transition: color 0.3s var(--ease-out),
              font-variation-settings 0.3s var(--ease-out);
}
.m-item:hover {
  color: var(--acid);
  font-variation-settings: "opsz" 144, "wght" 700, "SOFT" 100, "WONK" 1;
}

/* ── CONTACT ──────────────────────────────────────────────── */
.contact {
  padding: 140px 0 140px;
}
.contact-header { gap: 24px; max-width: var(--maxw); margin: 0 auto 80px; }
.contact-title { max-width: 14ch; }
.contact-note {
  font-family: var(--font-display);
  font-style: italic; font-weight: 300;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.45;
  color: var(--bone-mid);
  max-width: 50ch;
  margin-top: 12px;
}

.contact-form {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex; flex-direction: column;
  gap: 0;
  position: relative;
}
.form-row {
  display: grid; grid-template-columns: 200px 1fr;
  gap: 24px; align-items: baseline;
  padding: 28px 0;
  border-top: 1px solid var(--stone-2);
}
.form-row:last-of-type { border-bottom: 1px solid var(--stone-2); }
.form-row label {
  display: flex; align-items: baseline; gap: 12px;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--bone-dim); letter-spacing: 0.04em;
}
.form-num { color: var(--acid); font-size: 10px; }

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid transparent;
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 300;
  line-height: 1.3;
  color: var(--bone);
  padding: 4px 0;
  font-variation-settings: "opsz" 100, "wght" 350;
  transition: border-color 0.3s var(--ease-out);
}
.form-row input::placeholder,
.form-row textarea::placeholder {
  color: var(--bone-dim); font-style: italic; font-weight: 300; opacity: 0.6;
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-bottom-color: var(--acid);
}
.form-row textarea { resize: vertical; min-height: 120px; }

.select-wrap {
  position: relative;
}
.select-wrap select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  padding-right: 36px;
}
.select-arrow {
  position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
  color: var(--acid);
  pointer-events: none; font-family: var(--font-mono);
  font-size: 18px;
}

.form-submit-row {
  display: grid; grid-template-columns: 1fr auto;
  gap: 40px; align-items: end;
  padding-top: 32px;
}
.form-disclosure {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--bone-dim); letter-spacing: 0.04em;
  max-width: 50ch; line-height: 1.6;
}
.btn-submit {
  min-width: 200px;
}

.form-success {
  text-align: center;
  padding: 60px 20px;
  border: 1px dashed var(--acid);
  background: rgba(212, 255, 58, 0.03);
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.success-glyph {
  color: var(--acid); font-size: 32px;
  animation: spin 6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.form-success h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 300;
  font-variation-settings: "opsz" 144;
}
.form-success p {
  font-family: var(--font-display); font-style: italic; font-weight: 300;
  color: var(--bone-mid); max-width: 40ch;
}

@media (max-width: 700px) {
  .form-row { grid-template-columns: 1fr; gap: 8px; }
  .form-submit-row { grid-template-columns: 1fr; }
}

/* ── FOOTER ───────────────────────────────────────────────── */
.footer {
  padding: 80px var(--pad-x) 50px;
  border-top: 1px solid var(--stone-2);
  max-width: var(--maxw); margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.footer-mark-block {
  display: flex; gap: 16px; align-items: flex-start;
}
.footer-mark {
  width: 38px; height: 38px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--acid), #5c7d10 70%, #0c0b0a 100%);
  box-shadow: 0 0 18px rgba(212,255,58,0.3), inset 0 0 8px rgba(0,0,0,0.4);
  flex: 0 0 38px;
}
.footer-mark-block p {
  font-family: var(--font-display); font-style: italic; font-weight: 300;
  font-size: 17px; color: var(--bone);
  line-height: 1.35;
}
.footer-meta dl {
  font-family: var(--font-mono); font-size: 11px;
  display: flex; flex-direction: column; gap: 4px;
}
.footer-meta > dl > div {
  display: grid; grid-template-columns: 80px 1fr; gap: 16px;
}
.footer-meta dt { color: var(--bone-dim); }
.footer-meta dd { color: var(--bone); }
.footer-credit {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--bone-dim); letter-spacing: 0.04em;
  text-align: right; line-height: 1.7;
}
.footer-credit em { color: var(--bone); font-style: italic; }

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-credit { text-align: left; }
}

/* ── Reduced motion ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-marquee-track,
  .marquee-track,
  .logo-mark,
  .status-dot,
  .success-glyph {
    animation: none !important;
  }
}
