/* ============================================================
   Martin Beitz — mbeitz.de
   Design tokens & base
   ============================================================ */

:root {
  /* Palette */
  --bg:          #0A0A0B;
  --bg-soft:    #101013;
  --bg-elev:    #15151A;
  --line:        #1F1F26;
  --line-strong: #2A2A33;
  --text:        #EDEDEF;
  --text-dim:    #9A9AA3;
  --text-mute:   #6A6A74;
  --accent:      #00E5B8;
  --accent-dim:  #00b894;
  --accent-glow: rgba(0, 229, 184, 0.18);
  --danger:      #FF5F57;
  --warn:        #FEBC2E;
  --ok:          #28C840;

  /* Type */
  --font-sans: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;

  /* Layout */
  --container: 1200px;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 24px;

  /* Motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: 'ss01', 'cv01', 'cv11';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

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

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

@media (max-width: 720px) {
  .container { padding: 0 20px; }
}

/* ============================================================
   Background atmosphere
   ============================================================ */

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 0%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, black 30%, transparent 70%);
  pointer-events: none;
  z-index: -2;
}

.bg-glow {
  position: fixed;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle at center, var(--accent-glow) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
  filter: blur(40px);
}

/* ============================================================
   Navigation
   ============================================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(10, 10, 11, 0.6);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}

.nav.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(10, 10, 11, 0.85);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.nav__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 13px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links a {
  font-size: 14px;
  color: var(--text-dim);
  transition: color .2s var(--ease);
  font-weight: 400;
}

.nav__links a:hover { color: var(--text); }

.nav__cta {
  color: var(--text) !important;
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px !important;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}

.nav__cta:hover {
  border-color: var(--accent);
  background: var(--accent-glow);
}

.nav__toggle {
  display: none;
  background: none;
  border: 0;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.nav__toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: transform .25s var(--ease), opacity .25s;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
    padding: 20px 28px 28px;
    gap: 20px;
    align-items: flex-start;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: transform .3s var(--ease), opacity .3s;
  }
  .nav__links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav__toggle { display: flex; }
  .nav__cta { align-self: stretch; text-align: center; }
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 0 0 0 var(--accent-glow);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 40px -10px var(--accent-glow), 0 0 0 1px var(--accent);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}
.btn--ghost:hover {
  border-color: var(--accent);
  background: var(--bg-elev);
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  position: relative;
  padding: 80px 0 120px;
  overflow: hidden;
}

.hero__inner {
  position: relative;
  max-width: 1100px;
}

.hero__meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 40px;
  opacity: 0;
  animation: rise .7s var(--ease) .1s forwards;
}

.dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 0 var(--accent);
  animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(0, 229, 184, 0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(0, 229, 184, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 229, 184, 0); }
}

.hero__title {
  font-family: var(--font-sans);
  font-size: clamp(44px, 8vw, 96px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 36px;
  opacity: 0;
  animation: rise .9s var(--ease) .2s forwards;
}

.hero__title .accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.hero__subline {
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.5;
  color: var(--text-dim);
  max-width: 680px;
  margin-bottom: 40px;
  opacity: 0;
  animation: rise .9s var(--ease) .35s forwards;
}

.hero__subline em {
  color: var(--text);
  font-style: normal;
  font-weight: 500;
  position: relative;
}
.hero__subline em::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--accent);
  opacity: 0.5;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 72px;
  opacity: 0;
  animation: rise .9s var(--ease) .5s forwards;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-mute);
  padding-top: 32px;
  border-top: 1px solid var(--line);
  opacity: 0;
  animation: rise .9s var(--ease) .65s forwards;
}

.trust li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.trust li span {
  color: var(--accent);
  font-weight: 500;
}

/* Hero code card */
.hero__card {
  margin-top: 72px;
  max-width: 640px;
  background: linear-gradient(180deg, var(--bg-elev), var(--bg-soft));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow:
    0 30px 60px -20px rgba(0, 0, 0, .6),
    0 0 0 1px rgba(255, 255, 255, .02) inset;
  opacity: 0;
  transform: translateY(20px);
  animation: rise 1s var(--ease) .8s forwards;
}

.hero__card-head {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

.hero__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.hero__dot--r { background: var(--danger); }
.hero__dot--y { background: var(--warn); }
.hero__dot--g { background: var(--ok); }

.hero__card-title {
  margin-left: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-mute);
}

.hero__code {
  padding: 22px 24px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text);
  overflow-x: auto;
  white-space: pre;
}
.hero__code .c-c { color: var(--text-mute); }
.hero__code .c-k { color: #c792ea; }
.hero__code .c-v { color: var(--accent); }
.hero__code .c-s { color: #ffcb8b; }

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   Sections — shared
   ============================================================ */

.section {
  padding: 120px 0;
  position: relative;
}

.section--alt {
  background: linear-gradient(180deg, transparent, var(--bg-soft) 20%, var(--bg-soft) 80%, transparent);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section__head {
  max-width: 780px;
  margin-bottom: 64px;
}

.section__num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.section__title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.section__sub {
  margin-top: 20px;
  font-size: 18px;
  color: var(--text-dim);
  line-height: 1.5;
}

@media (max-width: 720px) {
  .section { padding: 80px 0; }
  .section__head { margin-bottom: 40px; }
}

/* ============================================================
   About — grid-2
   ============================================================ */

.grid-2 {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
}

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

.prose p { font-size: 17px; line-height: 1.7; color: var(--text-dim); margin-bottom: 20px; }
.prose .lead { font-size: 21px; line-height: 1.55; color: var(--text); margin-bottom: 28px; letter-spacing: -0.015em; }
.prose a { color: var(--accent); border-bottom: 1px solid var(--accent-dim); transition: opacity .2s; }
.prose a:hover { opacity: 0.75; }
.prose--wide { max-width: 780px; }

.facts {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elev);
  padding: 8px 24px;
}
.facts__item {
  display: flex;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  gap: 16px;
}
.facts__item:last-child { border-bottom: 0; }
.facts__label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.facts__value { font-size: 15px; font-weight: 500; text-align: right; }

/* ============================================================
   Strengths
   ============================================================ */

.strengths {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.strength {
  background: var(--bg-soft);
  padding: 36px 32px;
  position: relative;
  transition: background .3s var(--ease);
}
.strength:hover { background: var(--bg-elev); }

.strength__num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  display: block;
  margin-bottom: 18px;
}

.strength h3 {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}

.strength p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ============================================================
   Services
   ============================================================ */

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}

.service {
  display: block;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .25s var(--ease), transform .25s var(--ease), background .25s var(--ease);
  position: relative;
  overflow: hidden;
}

.service::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), var(--accent-glow), transparent 40%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}

.service:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}
.service:hover::before { opacity: 1; }

.service__head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 14px;
}

.service__tag {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  background: var(--accent-glow);
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: lowercase;
  letter-spacing: 0.04em;
}

.service h3 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.service p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.service__more {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-mute);
  transition: color .2s;
}
.service:hover .service__more { color: var(--accent); }

/* ============================================================
   Method — split layout with sticky aside & timeline
   ============================================================ */

.method {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  align-items: start;
}

.method__aside {
  position: sticky;
  top: 100px;
}

.method__aside .section__num {
  display: inline-block;
  margin-bottom: 20px;
}

.method__aside .section__title {
  margin-bottom: 24px;
}

.method__intro {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dim);
  margin-bottom: 36px;
  max-width: 340px;
}

.method__meta {
  display: flex;
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.method__meta span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-mute);
}

.method__meta strong {
  font-family: var(--font-sans);
  font-size: 32px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
}

.method__list {
  list-style: none;
  position: relative;
  padding-left: 0;
}

/* Connecting timeline line */
.method__list::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--line-strong) 10%,
    var(--line-strong) 90%,
    transparent
  );
}

.method__item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 24px;
  align-items: start;
  padding: 14px 0 36px;
  position: relative;
}

.method__item:last-child { padding-bottom: 0; }

.method__step {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  transition: border-color .3s var(--ease), color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.method__item:hover .method__step {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--bg-elev);
  box-shadow: 0 0 0 4px var(--accent-glow);
}

.method__body {
  padding-top: 10px;
}

.method__body h3 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 10px;
  color: var(--text);
}

.method__body p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 520px;
}

.method__tag {
  align-self: center;
  padding: 5px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-mute);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  white-space: nowrap;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}

.method__item:hover .method__tag {
  color: var(--accent);
  border-color: var(--accent);
}

@media (max-width: 960px) {
  .method {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .method__aside {
    position: static;
  }
  .method__intro { max-width: none; }
}

@media (max-width: 600px) {
  .method__item {
    grid-template-columns: 40px 1fr;
    gap: 18px;
    padding-bottom: 28px;
  }
  .method__step {
    width: 40px;
    height: 40px;
    font-size: 11px;
  }
  .method__list::before {
    left: 19px;
  }
  .method__tag {
    grid-column: 2;
    justify-self: start;
    margin-top: 12px;
  }
  .method__body h3 {
    font-size: 19px;
  }
  .method__meta {
    gap: 20px;
    flex-wrap: wrap;
  }
}

/* ============================================================
   Projects
   ============================================================ */

.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.project {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.project:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.project > span {
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--accent);
  transition: transform .25s var(--ease);
  display: inline-block;
}
.project:hover > span { transform: translateX(4px); }

.project h3 {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.project p {
  font-size: 14.5px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ============================================================
   Stance
   ============================================================ */

.stance {
  padding: 140px 0;
  text-align: center;
}

.stance__inner {
  max-width: 920px;
  text-align: center;
}

.stance .section__num { display: block; text-align: center; margin-bottom: 28px; }

.stance__quote {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(26px, 3.6vw, 42px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 28px;
}

.stance__quote .accent {
  color: var(--accent);
  font-style: italic;
}

.stance__author {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-mute);
  letter-spacing: 0.06em;
}

/* ============================================================
   CTA
   ============================================================ */

.cta {
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, var(--accent-glow), transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}

.cta__inner {
  text-align: center;
  max-width: 820px;
  position: relative;
}

.cta__title {
  font-size: clamp(32px, 5.5vw, 64px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.cta__sub {
  font-size: 18px;
  color: var(--text-dim);
  margin-bottom: 36px;
}

.cta__buttons {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ============================================================
   Contact
   ============================================================ */

.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.contact__card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .25s var(--ease);
}
.contact__card:hover { border-color: var(--accent); }

.contact__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-mute);
  margin-bottom: 14px;
}

.contact__link {
  display: block;
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.4;
  word-break: break-word;
  transition: color .2s;
}
.contact__link:hover { color: var(--accent); }

.contact__link--sub {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-mute);
}

/* ============================================================
   Footer
   ============================================================ */

.footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 36px;
  background: var(--bg-soft);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  align-items: center;
  gap: 32px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer__brand strong {
  display: block;
  font-size: 15px;
  font-weight: 500;
}
.footer__brand span {
  display: block;
  font-size: 13px;
  color: var(--text-mute);
  margin-top: 2px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
}
.footer__links a {
  font-size: 13px;
  color: var(--text-dim);
  transition: color .2s;
}
.footer__links a:hover { color: var(--accent); }

.footer__copy {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-mute);
  text-align: right;
}

@media (max-width: 820px) {
  .footer__inner { grid-template-columns: 1fr; text-align: center; gap: 20px; }
  .footer__brand { justify-content: center; }
  .footer__copy { text-align: center; }
}

/* ============================================================
   Reveal on scroll
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   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__meta, .hero__title, .hero__subline, .hero__ctas, .trust, .hero__card,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
