/* ============================================================
   BRIAN KOLFAGE — air-force command-tech theme
   deep navy ops-floor palette, electric blue glow, angular HUD cuts
   ============================================================ */

:root {
  --bg: #050b18;
  --bg-2: #081226;
  --panel: #0b1a33;
  --panel-2: #0d2144;
  --ink: #eaf1fc;
  --ink-soft: #b9c9e6;
  --steel: #7d92b8;
  --line: rgba(94, 143, 214, .28);
  --blue: #2f7de1;
  --blue-bright: #4da3ff;
  --cyan: #35c8ff;
  --red: #ff2e4d;
  --display: "Oswald", "Arial Narrow", sans-serif;
  --body: "Archivo", "Helvetica Neue", sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  --nav-h: 64px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(1100px 620px at 88% -8%, rgba(47, 125, 225, .16), transparent 62%),
    radial-gradient(900px 560px at -10% 30%, rgba(53, 200, 255, .07), transparent 60%),
    radial-gradient(1000px 700px at 110% 78%, rgba(47, 125, 225, .1), transparent 62%),
    var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-bright); }
.mono { font-family: var(--mono); }

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

/* faint tech dot-matrix — reads as avionics, not paper */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(94, 143, 214, .16) 1px, transparent 1.6px);
  background-size: 34px 34px;
  pointer-events: none;
}

/* ============ NAV ============ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
  background: rgba(5, 11, 24, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 24px rgba(47, 125, 225, .12);
  z-index: 100;
}
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-star { width: 30px; height: 30px; }
.nav-word {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: .1em;
  font-size: 15px;
  color: var(--ink);
}
@media (min-width: 900px) {
  .nav-word { font-size: 17px; letter-spacing: .12em; }
}
.nav-word em { font-style: normal; color: var(--red); }
.nav-links { margin-left: auto; display: none; gap: 4px; }
.nav-links a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  padding: 10px 12px;
  border: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease, background .2s ease, text-shadow .2s ease;
}
.nav-links a:hover, .nav-links a:focus-visible {
  color: var(--cyan);
  border-color: rgba(53, 200, 255, .45);
  background: rgba(53, 200, 255, .06);
  text-shadow: 0 0 12px rgba(53, 200, 255, .6);
}
.nav-cta {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: #fff;
  background: linear-gradient(135deg, var(--red), #c1152f);
  padding: 10px 13px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: filter .2s ease, transform .2s ease;
}
@media (min-width: 900px) {
  .nav-cta { font-size: 12px; letter-spacing: .14em; padding: 12px 18px; }
}
.nav-links ~ .nav-cta { margin-left: 8px; }
.nav-cta:hover, .nav-cta:focus-visible { filter: brightness(1.2) drop-shadow(0 0 10px rgba(255, 46, 77, .55)); transform: translateY(-1px); }
.nav-burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 10px;
  background: none;
  border: 1px solid var(--line);
  cursor: pointer;
}
.nav-burger span { height: 2px; background: var(--ink); transition: transform .25s ease, opacity .2s ease; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-burger { display: none; }
}

.nav-links.open {
  display: flex;
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  flex-direction: column;
  gap: 0;
  background: rgba(5, 11, 24, .97);
  border-bottom: 2px solid var(--blue);
  padding: 8px 20px 20px;
}
.nav-links.open a { padding: 16px 4px; font-size: 15px; border-bottom: 1px dashed var(--line); }

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 40px) 20px 0;
  background:
    radial-gradient(760px 460px at 82% 6%, rgba(53, 200, 255, .1), transparent 62%),
    radial-gradient(620px 420px at 8% 96%, rgba(47, 125, 225, .12), transparent 60%);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(0deg, transparent 0 3px, rgba(53, 200, 255, .018) 3px 4px);
  pointer-events: none;
}
.hero-radar {
  position: absolute;
  top: -140px; right: -140px;
  width: 480px; height: 480px;
  opacity: .55;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 36px;
  align-items: center;
  padding-bottom: 48px;
}
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.25fr .85fr; padding-bottom: 72px; }
}

.kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cyan);
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
}
.kicker.light { color: var(--cyan); }
.blink-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px var(--red);
  animation: blink 1.2s ease-in-out infinite;
}
@keyframes blink { 50% { opacity: .15; } }

.hero-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(64px, 13vw, 148px);
  line-height: .92;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--ink);
  text-shadow: 0 0 42px rgba(77, 163, 255, .35);
  position: relative;
}
.hero-name::after {
  content: "";
  position: absolute;
  left: 4px; bottom: -14px;
  width: 58%; height: 10px;
  background: repeating-linear-gradient(-45deg, var(--red) 0 14px, transparent 14px 26px);
}
.hero-role {
  margin-top: 34px;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(17px, 2.4vw, 22px);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.hero-role span { color: var(--blue-bright); }
.hero-lede { margin-top: 18px; max-width: 56ch; font-size: 17px; color: var(--ink-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px;
  padding: 14px 24px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  transition: filter .2s ease, transform .2s ease, background .2s ease, color .2s ease;
  cursor: pointer;
  border: 0;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue), #1553ab);
  color: #fff;
  filter: drop-shadow(0 0 14px rgba(47, 125, 225, .45));
}
.btn-primary:hover, .btn-primary:focus-visible { filter: drop-shadow(0 0 22px rgba(77, 163, 255, .7)); transform: translateY(-2px); }
.btn-ghost { background: rgba(53, 200, 255, .07); color: var(--cyan); box-shadow: inset 0 0 0 1.5px rgba(53, 200, 255, .5); }
.btn-ghost:hover, .btn-ghost:focus-visible { background: rgba(53, 200, 255, .16); transform: translateY(-2px); }
.btn-signal {
  background: linear-gradient(135deg, var(--red), #c1152f);
  color: #fff;
  filter: drop-shadow(0 0 16px rgba(255, 46, 77, .5));
}
.btn-signal:hover, .btn-signal:focus-visible { filter: drop-shadow(0 0 26px rgba(255, 46, 77, .8)); transform: translateY(-2px); }
.btn-big { min-height: 60px; padding: 18px 30px; font-size: 14px; margin-top: 8px; }
.btn svg { width: 20px; height: 20px; }

.hero-coords {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  margin-top: 36px;
  max-width: 480px;
}
.hero-coords div { border-left: 2px solid var(--cyan); padding-left: 10px; }
.hero-coords dt { font-size: 10px; letter-spacing: .2em; color: var(--steel); }
.hero-coords dd { font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--ink); }

.hero-photo {
  position: relative;
  justify-self: center;
  max-width: 420px;
  border: 1px solid rgba(53, 200, 255, .35);
  background: var(--panel);
  padding: 12px 12px 46px;
  box-shadow: 0 0 44px rgba(47, 125, 225, .28);
}
.hero-photo figcaption, .frame figcaption {
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--steel);
  padding-top: 10px;
}

/* HUD bracket corners */
.hud-corner {
  position: absolute;
  width: 22px; height: 22px;
  border: 2px solid var(--cyan);
  filter: drop-shadow(0 0 6px rgba(53, 200, 255, .8));
  pointer-events: none;
}
.hud-corner.tl { top: -6px; left: -6px; border-right: 0; border-bottom: 0; }
.hud-corner.tr { top: -6px; right: -6px; border-left: 0; border-bottom: 0; }
.hud-corner.bl { bottom: -6px; left: -6px; border-right: 0; border-top: 0; }
.hud-corner.br { bottom: -6px; right: -6px; border-left: 0; border-top: 0; }

/* targeting reticle that follows pointer over photos */
.reticle {
  position: fixed;
  z-index: 200;
  width: 64px; height: 64px;
  margin: -32px 0 0 -32px;
  border: 1.5px solid rgba(255, 46, 77, .9);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(255, 46, 77, .45);
  pointer-events: none;
  opacity: 0;
  transition: opacity .18s ease;
}
.reticle::before, .reticle::after { content: ""; position: absolute; background: rgba(255, 46, 77, .9); }
.reticle::before { left: 50%; top: -9px; width: 1.5px; height: 82px; transform: translateX(-50%); }
.reticle::after { top: 50%; left: -9px; height: 1.5px; width: 82px; transform: translateY(-50%); }

/* ticker */
.ticker {
  position: relative;
  border-top: 1px solid rgba(53, 200, 255, .4);
  border-bottom: 1px solid rgba(53, 200, 255, .4);
  background: linear-gradient(90deg, rgba(13, 33, 68, .9), rgba(11, 26, 51, .9));
  color: var(--ink);
  overflow: hidden;
  margin: 0 -20px;
}
.ticker-track { display: flex; white-space: nowrap; width: max-content; animation: ticker 42s linear infinite; }
.ticker-track span {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 14px 0;
}
.ticker-track i { font-style: normal; color: var(--cyan); padding: 0 22px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ============ STATS ============ */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 18, 38, .6);
}
@media (min-width: 800px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 34px 24px; border-right: 1px dashed var(--line); border-top: 1px dashed var(--line); }
.stat strong {
  display: block;
  font-size: clamp(38px, 5vw, 54px);
  font-weight: 700;
  color: var(--blue-bright);
  text-shadow: 0 0 22px rgba(77, 163, 255, .5);
  line-height: 1;
}
.stat span {
  display: block;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--steel);
  line-height: 1.6;
}

/* ============ SECTIONS ============ */
.section { padding: 90px 20px; position: relative; }
.section-alt { background: rgba(8, 18, 38, .55); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head, .bio-layout, .edu-layout, .venture-main, .venture-grid,
.awards, .speak-layout, .wall-hero { max-width: 1200px; margin-left: auto; margin-right: auto; }
.section-head h2, .edu-copy h2, .speak-copy h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(40px, 6.5vw, 72px);
  line-height: .98;
  text-transform: uppercase;
  letter-spacing: .01em;
  color: var(--ink);
  text-shadow: 0 0 34px rgba(77, 163, 255, .25);
}
.section-sub { max-width: 62ch; margin-top: 20px; color: var(--ink-soft); }

.bio-layout { margin-top: 48px; display: grid; gap: 44px; }
@media (min-width: 960px) { .bio-layout { grid-template-columns: 1.05fr .95fr; align-items: start; } }
.bio-text p { margin-bottom: 20px; max-width: 68ch; color: var(--ink-soft); }
.bio-text .lead { font-size: 20px; font-weight: 500; color: var(--ink); }
.bio-text strong { color: var(--blue-bright); }
.bio-text em { color: var(--ink); }

.pull-quote {
  margin: 34px 0;
  padding: 22px 26px;
  border-left: 3px solid var(--red);
  background: linear-gradient(90deg, rgba(255, 46, 77, .08), transparent 70%);
}
.pull-quote p {
  font-family: var(--display);
  font-size: clamp(20px, 3vw, 27px);
  font-weight: 600;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: .02em;
  margin-bottom: 10px;
  color: var(--ink);
}
.pull-quote cite { font-size: 11px; letter-spacing: .12em; color: var(--steel); text-transform: uppercase; }

.bio-rail { display: grid; gap: 28px; }

/* photo frames */
.frame {
  position: relative;
  background: var(--panel);
  border: 1px solid rgba(94, 143, 214, .35);
  padding: 10px 10px 40px;
  box-shadow: 0 0 34px rgba(47, 125, 225, .14);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.frame:hover {
  transform: translateY(-4px);
  border-color: rgba(53, 200, 255, .55);
  box-shadow: 0 0 46px rgba(53, 200, 255, .22);
}
.frame img { width: 100%; }
.frame.tall img { max-height: 640px; object-fit: cover; }

/* awards */
.awards { margin-top: 72px; }
.awards-title { font-size: 13px; letter-spacing: .22em; color: var(--red); margin-bottom: 24px; }
.awards-grid { display: grid; gap: 0; border-top: 1px solid rgba(53, 200, 255, .4); }
@media (min-width: 720px) { .awards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .awards-grid { grid-template-columns: repeat(3, 1fr); } }
.award { padding: 26px 24px; border-bottom: 1px solid var(--line); border-right: 1px dashed var(--line); transition: background .2s ease; }
.award:hover { background: rgba(47, 125, 225, .07); }
.award-ic { width: 26px; height: 26px; fill: var(--blue-bright); margin-bottom: 12px; filter: drop-shadow(0 0 6px rgba(77, 163, 255, .6)); }
.award strong { display: block; font-family: var(--display); font-size: 18px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--ink); }
.award span { display: block; margin-top: 6px; font-size: 14px; color: var(--steel); }

/* education */
.edu-layout { display: grid; gap: 44px; align-items: center; max-width: 1100px; margin-left: auto; margin-right: auto; }
@media (min-width: 960px) { .edu-layout { grid-template-columns: .8fr 1.2fr; } }
.edu-photo { max-width: 420px; justify-self: center; }
.edu-copy p { margin-top: 18px; max-width: 68ch; color: var(--ink-soft); }
.edu-copy p strong { color: var(--ink); }
.fact-list { list-style: none; margin-top: 30px; border-top: 1px solid rgba(53, 200, 255, .4); }
.fact-list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 12px 4px;
  border-bottom: 1px dashed var(--line);
  font-size: 13px;
  flex-wrap: wrap;
}
.fact-list span { color: var(--cyan); letter-spacing: .16em; font-size: 11px; }
.fact-list strong { letter-spacing: .04em; color: var(--ink); text-align: right; }

/* ventures */
.venture-main { margin-top: 48px; display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .venture-main { grid-template-columns: 1.15fr .85fr; } }
.venture-name {
  font-family: var(--display);
  font-size: clamp(44px, 7vw, 84px);
  font-weight: 700;
  line-height: .95;
  text-transform: uppercase;
  color: var(--red);
  text-shadow: 0 0 34px rgba(255, 46, 77, .4);
}
.venture-tag { margin-top: 12px; font-size: 12px; letter-spacing: .18em; color: var(--steel); }
.venture-copy p { margin-top: 18px; max-width: 62ch; color: var(--ink-soft); }
.venture-copy p strong { color: var(--ink); }
.metric-row {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 30px;
  border: 1px solid rgba(53, 200, 255, .4);
  background: rgba(11, 26, 51, .7);
}
.metric-row li { padding: 18px 14px; text-align: center; }
.metric-row li + li { border-left: 1px dashed var(--line); }
.metric-row strong { display: block; font-size: clamp(24px, 3.4vw, 36px); font-weight: 700; color: var(--blue-bright); text-shadow: 0 0 18px rgba(77, 163, 255, .5); }
.metric-row span { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); line-height: 1.5; display: block; margin-top: 6px; }
.venture-photo { max-width: 440px; justify-self: center; }

.venture-grid { margin-top: 56px; display: grid; gap: 20px; }
@media (min-width: 860px) { .venture-grid { grid-template-columns: repeat(3, 1fr); } }
.venture-card {
  background: linear-gradient(160deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line);
  padding: 26px 24px 30px;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.venture-card:hover { transform: translateY(-5px); border-color: rgba(53, 200, 255, .55); box-shadow: 0 18px 44px rgba(47, 125, 225, .18); }
.venture-no { font-size: 11px; letter-spacing: .2em; color: var(--cyan); margin-bottom: 14px; }
.venture-card h4 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--ink);
}
.venture-card p { font-size: 15px; color: var(--ink-soft); }

/* divider — HUD scan canvas, no photography */
.divider {
  position: relative;
  height: 62vh;
  min-height: 380px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.divider canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.divider-quote {
  position: relative;
  z-index: 1;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(26px, 4.6vw, 46px);
  line-height: 1.15;
  text-transform: uppercase;
  text-align: center;
  color: var(--ink);
  text-shadow: 0 0 30px rgba(53, 200, 255, .45);
  padding: 0 20px;
}

/* wall hero */
.wall-hero { margin-top: 48px; }
.wall-hero img { width: 100%; }

/* ============ SPEAKING ============ */
.section-dark {
  background:
    radial-gradient(800px 480px at 90% 0%, rgba(53, 200, 255, .1), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(47, 125, 225, .16), transparent 60%),
    var(--bg-2);
  border-top: 1px solid var(--line);
}
.speak-layout { display: grid; gap: 48px; }
@media (min-width: 960px) { .speak-layout { grid-template-columns: 1.2fr .8fr; align-items: start; } }
.speak-copy > p { margin-top: 18px; max-width: 62ch; color: var(--ink-soft); }
.topics { margin-top: 34px; display: grid; gap: 0; border-top: 1px solid rgba(53, 200, 255, .4); }
.topic { padding: 20px 4px; border-bottom: 1px dashed var(--line); }
.topic h4 { font-size: 13px; letter-spacing: .18em; color: var(--cyan); margin-bottom: 8px; }
.topic p { font-size: 15px; color: var(--ink-soft); }
.past-stages { margin-top: 30px !important; font-size: 11px; letter-spacing: .14em; color: var(--steel) !important; max-width: 70ch; }
.speak-mail { margin-top: 18px; font-size: 12px; letter-spacing: .14em; color: var(--ink-soft); }
.speak-mail a { color: var(--cyan); }
.speak-rail { display: grid; gap: 28px; }

/* booking status panel */
.status-panel {
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
  border: 1px solid rgba(53, 200, 255, .4);
  padding: 24px;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}
.status-head {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
}
.status-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #2eff8a;
  box-shadow: 0 0 12px #2eff8a;
  animation: blink 1.6s ease-in-out infinite;
}
.status-rows { list-style: none; margin-top: 14px; }
.status-rows li {
  display: flex; justify-content: space-between; gap: 14px;
  padding: 10px 0;
  font-size: 12px;
  border-bottom: 1px dashed rgba(94, 143, 214, .2);
  flex-wrap: wrap;
}
.status-rows li:last-child { border-bottom: 0; }
.status-rows span { color: var(--steel); letter-spacing: .14em; }
.status-rows strong { color: var(--cyan); letter-spacing: .06em; text-align: right; }

/* footer */
.footer {
  background: #03070f;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  text-align: center;
  padding: 70px 20px calc(40px + env(safe-area-inset-bottom));
}
.footer-star { width: 44px; margin: 0 auto 22px; }
.footer-quote {
  font-family: var(--display);
  font-size: clamp(20px, 3.4vw, 30px);
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--ink);
}
.footer-nav { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; }
.footer-nav a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 8px 4px;
}
.footer-nav a:hover, .footer-nav a:focus-visible { color: var(--cyan); }
.footer-fine { margin-top: 34px; font-size: 11px; letter-spacing: .16em; color: var(--steel); }

/* back to top */
.to-top {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 90;
  min-width: 44px; min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgba(53, 200, 255, .5);
  background: rgba(8, 18, 38, .9);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, background .2s ease;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top:hover { background: var(--blue); color: #fff; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(26px) scale(.98); transition: opacity .55s ease-out, transform .55s ease-out; }
.reveal.in { opacity: 1; transform: none; }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
