/* =========================================================
   mikegraef.com — shared stylesheet (site.css)
   Every page links this one file. Colors live in :root.
   ========================================================= */

:root {
  --bg: #0f1115;
  --bg-2: #13161c;
  --surface: #171b22;
  --surface-2: #1e232c;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f2f1ee;
  --muted: #a3aab6;
  --dim: #6c7684;
  --accent: #3ee6c4;
  --accent-2: #6ff2d8;
  --accent-ink: #071013;
  --accent-soft: rgba(62, 230, 196, 0.08);
  --accent-line: rgba(62, 230, 196, 0.28);
  --warm: #ff8a4c;
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 64px);
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Work Sans", system-ui, sans-serif;
  --header-h: 72px;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); }

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

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

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip-link:focus { left: 8px; }

/* ---------- Header / nav ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(15, 17, 21, 0.86);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand {
  font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: 1.5px;
  color: var(--accent); text-shadow: 0 0 18px rgba(62, 230, 196, 0.55); white-space: nowrap;
}
.brand:hover { color: var(--accent-2); }

.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.main-nav a, .nav-btn {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 0 14px; border-radius: 999px;
  color: #c7ccd6; font: 500 15px/1 var(--body);
  background: none; border: 0; cursor: pointer;
}
.main-nav a:hover, .nav-btn:hover, .has-menu:focus-within > .nav-btn { color: var(--text); background: rgba(255,255,255,0.05); }
.main-nav a[aria-current="page"], .nav-btn.is-current { color: var(--text); }
.main-nav a[aria-current="page"]::after, .nav-btn.is-current::after {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent);
}
.caret { width: 10px; height: 10px; transition: transform .2s; }

.has-menu { position: relative; }
.submenu {
  list-style: none; margin: 0; padding: 8px;
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.has-menu:hover > .submenu, .has-menu:focus-within > .submenu, .has-menu.open > .submenu {
  opacity: 1; visibility: visible; transform: none;
}
.has-menu:hover .caret, .has-menu.open .caret { transform: rotate(180deg); }
.submenu a { display: flex; width: 100%; border-radius: 8px; justify-content: space-between; }
.submenu .soon { font-size: 11px; color: var(--dim); letter-spacing: .5px; }
/* invisible bridge so hover doesn't drop in the gap */
.has-menu::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }

.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: 10px;
  background: none; border: 1px solid var(--line-strong); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.menu-toggle span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s, opacity .2s; }
body.nav-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .menu-toggle { display: flex; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: auto;
    height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
    background: var(--bg-2); overflow-y: auto; padding: 12px var(--gutter) 40px;
    display: none;
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .main-nav { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line); }
  .main-nav a, .nav-btn { width: 100%; justify-content: space-between; font-size: 18px; font-weight: 600; color: var(--text); min-height: 56px; padding: 0 4px; border-radius: 0; }
  .main-nav a:hover, .nav-btn:hover { background: none; }
  .has-menu::after { display: none; }
  .submenu {
    position: static; opacity: 1; visibility: visible; transform: none;
    background: none; border: 0; box-shadow: none; padding: 0 0 10px 12px; min-width: 0;
    display: none;
  }
  .has-menu.open > .submenu { display: block; }
  .has-menu:hover > .submenu { display: none; }
  .has-menu.open:hover > .submenu { display: block; }
  .submenu a { font-size: 16px; font-weight: 500; color: var(--muted); min-height: 46px; }
}

/* ---------- Type ---------- */

.eyebrow { font: 600 13px/1.2 var(--body); letter-spacing: 2px; text-transform: uppercase; color: var(--warm); margin: 0 0 12px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0; }
h2 { font-size: clamp(28px, 4vw, 40px); }
h3 { font-size: 20px; }
.lede { font-size: clamp(16px, 1.6vw, 18px); color: var(--muted); max-width: 60ch; margin: 16px 0 0; }
.muted { color: var(--muted); }

/* Neon title — sized with clamp so it never breaks mid-word */
.neon {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(40px, 9vw, 76px);
  letter-spacing: 1px; color: #e3f4ef;
  white-space: nowrap; word-break: keep-all; overflow-wrap: normal; hyphens: none;
  text-shadow:
    0 0 2px rgba(255,255,255,0.25),
    0 0 10px rgba(62,230,196,0.35),
    0 0 26px rgba(62,230,196,0.15);
  animation: neon-flicker 6s infinite;
}
@keyframes neon-flicker {
  0%, 92%, 96%, 100% { opacity: 1; }
  93% { opacity: .75; } 95% { opacity: .9; }
}
@media (prefers-reduced-motion: reduce) { .neon { animation: none; } html { scroll-behavior: auto; } }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px; border-radius: 999px;
  font: 600 15px/1 var(--body); cursor: pointer; border: 1px solid transparent;
  transition: transform .15s, background .15s, color .15s, box-shadow .15s;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { color: var(--accent-ink); background: var(--accent-2); box-shadow: 0 0 24px rgba(62,230,196,0.35); transform: translateY(-1px); }
.btn-ghost { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn-ghost:hover { background: var(--accent-soft); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ---------- Sections ---------- */

.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-tight { padding: clamp(36px, 5vw, 56px) 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 32px; }
.page-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(24px, 4vw, 40px); }

/* Home hero */
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; padding: clamp(48px, 8vw, 96px) 0; }
.hero-media {
  aspect-ratio: 4 / 3.3; border-radius: 22px; overflow: hidden;
  background: linear-gradient(135deg, #1c2430, #101318);
  border: 1px solid var(--line); position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45), 0 0 0 1px rgba(62,230,196,0.05);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05); pointer-events: none; }
.hero-roles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip { font-size: 13px; font-weight: 500; color: var(--muted); border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 12px; }

.hero-solo { grid-template-columns: 1fr; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 36px; }
  .hero-media { max-width: 520px; }
}

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; gap: 10px;
  transition: border-color .2s, transform .2s, box-shadow .2s; color: var(--text);
}
a.card:hover { color: var(--text); border-color: var(--accent-line); transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,0.35); }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .card-link { margin-top: auto; padding-top: 8px; font-weight: 600; font-size: 14px; color: var(--accent); }
.card-icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent);
}
.card-icon svg { width: 22px; height: 22px; }
.tag { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--warm); }
.card.is-soon { opacity: .75; }
#project-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 700px) { #project-cards { grid-template-columns: 1fr; } }

/* Gallery strip (home) */
.strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.strip a { border-radius: 14px; overflow: hidden; aspect-ratio: 1; background: var(--surface); border: 1px solid var(--line); }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.strip a:hover img { transform: scale(1.04); }
@media (max-width: 560px) { .strip { gap: 10px; } }

/* Newsletter */
.newsletter {
  border-radius: 20px; background: var(--accent-soft); border: 1px solid var(--accent-line);
  padding: clamp(24px, 4vw, 40px); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
}
.newsletter h2 { font-size: clamp(22px, 3vw, 28px); }
.newsletter p { margin: 6px 0 0; color: var(--muted); }
.newsletter form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter input {
  min-width: 240px; min-height: 48px; padding: 0 18px; border-radius: 999px;
  background: var(--bg); color: var(--text); border: 1px solid var(--line-strong); font: 16px var(--body);
}
.newsletter input::placeholder { color: var(--dim); }
.form-note { grid-column: 1 / -1; margin: 0; font-size: 14px; color: var(--accent); min-height: 1em; }
@media (max-width: 760px) {
  .newsletter { grid-template-columns: 1fr; }
  .newsletter form { flex-direction: column; }
  .newsletter input { min-width: 0; width: 100%; }
}

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line); padding: 40px 0 110px; margin-top: 40px; }
.site-footer .container { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.site-footer p { margin: 0; color: var(--dim); font-size: 14px; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-strong); color: var(--muted);
}
.socials a:hover { color: var(--accent); border-color: var(--accent-line); }
.socials svg { width: 20px; height: 20px; }

/* ---------- About page ---------- */

.about-hero { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.about-photo { aspect-ratio: 1; border-radius: 22px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); max-width: 380px; justify-self: end; width: 100%; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .about-hero { grid-template-columns: 1fr; } .about-photo { justify-self: start; max-width: 280px; } }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.stat b { display: block; font: 700 28px/1.1 var(--display); color: var(--accent); }
.stat span { font-size: 14px; color: var(--muted); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.timeline { position: relative; display: flex; flex-direction: column; gap: 18px; }
.t-item { display: grid; grid-template-columns: 28px 1fr; gap: 18px; }
.t-rail { display: flex; flex-direction: column; align-items: center; }
.t-dot { width: 14px; height: 14px; margin-top: 26px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px rgba(62,230,196,0.7); flex: 0 0 auto; }
.t-line { flex: 1; width: 2px; background: linear-gradient(var(--line-strong), var(--line)); margin-top: 6px; margin-bottom: -24px; }
.t-item:last-child .t-line { display: none; }
.t-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.t-card .tag { display: block; margin-bottom: 6px; }
.t-card h3 { margin-bottom: 8px; }
.t-card p { margin: 0; color: var(--muted); }
.t-item.now .t-card { border-color: var(--accent-line); background: linear-gradient(180deg, rgba(62,230,196,0.06), var(--surface)); }
.t-item.now .tag { color: var(--accent); }

.exp { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 4vw, 36px); }
.exp-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; align-items: baseline; }
.exp-head h3 { font-size: clamp(20px, 2.4vw, 24px); }
.exp-meta { color: var(--muted); font-size: 15px; }
.exp ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.exp li { position: relative; padding-left: 22px; color: var(--muted); }
.exp li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); }
.exp li b { color: var(--text); font-weight: 600; }

.skills { display: flex; flex-wrap: wrap; gap: 8px; }
.skills .chip { color: var(--text); background: var(--surface); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }

.faves { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.fave { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.fave small { display: block; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--dim); font-weight: 600; }
.fave span { font: 600 17px/1.3 var(--display); }

.cta-band { text-align: center; border-radius: 22px; padding: clamp(32px, 6vw, 56px) 24px; background: radial-gradient(ellipse at top, rgba(62,230,196,0.14), transparent 70%), var(--surface); border: 1px solid var(--line); }
.cta-band .btn-row { justify-content: center; }

/* ---------- Photos page ---------- */

.photo-grid { columns: 3 280px; column-gap: 18px; }
.photo {
  break-inside: avoid; margin: 0 0 18px; border-radius: 16px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); cursor: zoom-in; position: relative;
  padding: 0; width: 100%; display: block; text-align: left; color: var(--text);
}
.photo img { width: 100%; height: auto; min-height: 160px; object-fit: cover; transition: transform .4s; }
.photo:hover img { transform: scale(1.03); }
.photo figcaption { padding: 12px 16px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }

.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(5,6,8,0.94); display: none; align-items: center; justify-content: center; padding: 60px 16px; }
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox img { max-height: calc(100vh - 160px); width: auto; border-radius: 12px; }
.lightbox figcaption { color: var(--muted); text-align: center; }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(23,27,34,0.9); color: var(--text); cursor: pointer; display: grid; place-items: center; }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; } }

/* ---------- Music page ---------- */

.songs { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.song { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.song .video { aspect-ratio: 16 / 9; background: #000; }
.song iframe { width: 100%; height: 100%; border: 0; display: block; }
.song-body { padding: 18px 20px 22px; }
.song-body h3 { margin-bottom: 4px; }
.song-body p { margin: 0; color: var(--muted); font-size: 14px; }
.credits { margin-top: 28px; color: var(--muted); font-size: 15px; }

/* ---------- Guess Mike game ---------- */

.game { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
@media (max-width: 900px) { .game { grid-template-columns: 1fr; } }
.game-main { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: clamp(20px, 4vw, 36px); }
.game-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.cat { font: 700 12px/1 var(--body); letter-spacing: 1.6px; text-transform: uppercase; color: var(--warm); border: 1px solid rgba(255,138,76,0.35); padding: 8px 12px; border-radius: 999px; }
.lives { display: flex; gap: 6px; align-items: center; }
.bulb { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); transition: background .3s, box-shadow .3s; }
.bulb.off { background: #2a303a; box-shadow: none; }
.clue { margin: 22px 0 6px; font-size: clamp(17px, 2vw, 20px); color: var(--text); }
.clue-num { color: var(--dim); font-size: 14px; }
.word { display: flex; flex-wrap: wrap; gap: 14px 22px; margin: 28px 0; min-height: 64px; }
.word-part { display: flex; gap: 6px; }
.slot {
  width: clamp(26px, 6vw, 40px); height: clamp(40px, 8vw, 54px);
  border-bottom: 3px solid var(--line-strong); display: grid; place-items: center;
  font: 700 clamp(22px, 4.6vw, 32px)/1 var(--display); color: var(--text); text-transform: uppercase;
}
.slot.hit { border-color: var(--accent); color: var(--accent); text-shadow: 0 0 12px rgba(62,230,196,0.6); animation: pop .25s; }
.slot.miss-reveal { color: var(--warm); border-color: var(--warm); }
@keyframes pop { 0% { transform: scale(.6); } 100% { transform: scale(1); } }

.keys { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); gap: 6px; }
@media (max-width: 700px) { .keys { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
.key {
  min-height: 46px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface-2);
  color: var(--text); font: 600 16px/1 var(--display); cursor: pointer; text-transform: uppercase;
  transition: background .15s, border-color .15s, color .15s, transform .1s;
}
.key:hover:not(:disabled) { border-color: var(--accent); }
.key:active:not(:disabled) { transform: scale(.94); }
.key.right { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.key.wrong { background: transparent; color: #4a525e; border-color: var(--line); }
.key:disabled { cursor: default; }

.game-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 14px; }

.result {
  margin-top: 22px; border-radius: 16px; padding: 20px 22px; display: none;
  background: var(--accent-soft); border: 1px solid var(--accent-line);
}
.result.show { display: block; animation: rise .3s; }
.result.lose { background: rgba(255,138,76,0.08); border-color: rgba(255,138,76,0.35); }
.result h3 { margin-bottom: 6px; }
.result p { margin: 0; color: var(--muted); }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.game-side { display: flex; flex-direction: column; gap: 16px; }
.scoreboard { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.score { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px; text-align: center; }
.score b { display: block; font: 700 26px/1.1 var(--display); color: var(--accent); }
.score span { font-size: 12px; color: var(--muted); letter-spacing: .5px; }
.facts { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.facts h3 { font-size: 16px; margin-bottom: 10px; }
.facts ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.facts li { font-size: 14px; color: var(--muted); padding-left: 16px; position: relative; }
.facts li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.facts .empty { color: var(--dim); font-style: italic; padding-left: 0; }
.facts .empty::before { display: none; }

/* ---------- Mike Bot ---------- */

.bot-launch {
  position: fixed; right: 20px; bottom: 20px; z-index: 120;
  height: 58px; padding: 0 20px 0 16px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--accent); color: var(--accent-ink);
  display: flex; align-items: center; gap: 10px; font: 600 15px/1 var(--body);
  box-shadow: 0 10px 30px rgba(0,0,0,0.45), 0 0 26px rgba(62,230,196,0.35);
  transition: transform .15s;
}
.bot-launch:hover { transform: translateY(-2px); }
.bot-launch svg { width: 24px; height: 24px; }
.bot-launch .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-ink); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
body.bot-open .bot-launch { display: none; }

.bot {
  position: fixed; right: 20px; bottom: 20px; z-index: 130;
  width: 380px; height: min(620px, calc(100vh - 40px));
  background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  display: none; flex-direction: column; overflow: hidden;
}
body.bot-open .bot { display: flex; animation: rise .2s; }
.bot-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 18px; border-bottom: 1px solid var(--line); background: var(--surface); }
.bot-avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent); font: 700 14px var(--display); flex: 0 0 auto; }
.bot-title { flex: 1; min-width: 0; }
.bot-title b { display: block; font: 700 16px/1.2 var(--display); }
.bot-title span { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.bot-title span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 6px var(--accent); }
.bot-close { width: 44px; height: 44px; border-radius: 10px; border: 0; background: none; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.bot-close:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.bot-close svg { width: 20px; height: 20px; }

.bot-log { flex: 1; overflow-y: auto; padding: 18px 16px; display: flex; flex-direction: column; gap: 12px; overscroll-behavior: contain; }
.msg { max-width: 86%; padding: 11px 14px; border-radius: 16px; font-size: 15px; line-height: 1.5; word-wrap: break-word; }
.msg.bot-msg { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.msg.user-msg { align-self: flex-end; background: var(--accent); color: var(--accent-ink); border-bottom-right-radius: 6px; font-weight: 500; }
.msg a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.msg p { margin: 0 0 8px; } .msg p:last-child { margin: 0; }
.typing { display: inline-flex; gap: 4px; padding: 14px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--dim); animation: bounce 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(-5px); } }

.bot-chips { display: flex; flex-wrap: wrap; gap: 8px; align-self: flex-start; max-width: 100%; }
.bot-chip {
  min-height: 36px; padding: 6px 12px; border-radius: 999px; cursor: pointer;
  background: transparent; border: 1px solid var(--accent-line); color: var(--accent);
  font: 500 13px/1.3 var(--body); text-align: left;
}
.bot-chip:hover { background: var(--accent-soft); }

.bot-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--surface); }
.bot-form input {
  flex: 1; min-width: 0; min-height: 46px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--bg); color: var(--text); font: 16px var(--body);
}
.bot-form input::placeholder { color: var(--dim); }
.bot-send { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--accent); color: var(--accent-ink); cursor: pointer; display: grid; place-items: center; flex: 0 0 auto; }
.bot-send svg { width: 20px; height: 20px; }

@media (max-width: 560px) {
  .bot-launch { right: 14px; bottom: 14px; height: 54px; padding: 0 16px 0 14px; }
  .bot { right: 0; left: 0; bottom: 0; width: 100%; height: 88vh; height: 88dvh; border-radius: 20px 20px 0 0; border-bottom: 0; }
}

/* ---------- About page: Option B ---------- */
.about-title { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.15; text-wrap: balance; max-width: 22ch; }
.about-hero-solo { grid-template-columns: 1fr; }
.about-hero-solo .about-title { max-width: 28ch; }
.headshot { position: relative; display: grid; place-items: center; border-radius: 50%; max-width: 300px; background: radial-gradient(circle at 50% 35%, #1f2a33, var(--surface)); border: 1px solid var(--accent-line); box-shadow: 0 0 0 8px rgba(62,230,196,0.05); }
.headshot img { position: absolute; inset: 0; }
.headshot span { color: var(--dim); font-size: 14px; text-align: center; letter-spacing: .5px; }
.proof { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 40px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof-item { padding: 20px 20px 20px 0; display: flex; flex-direction: column; gap: 4px; }
.proof-item + .proof-item { padding-left: 20px; border-left: 1px solid var(--line); }
.proof-item b { font: 700 17px/1.3 var(--display); color: var(--text); }
.proof-item span { font-size: 14px; color: var(--muted); }
@media (max-width: 900px) {
  .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-item:nth-child(3) { padding-left: 0; border-left: 0; }
  .proof-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .proof { grid-template-columns: 1fr; }
  .proof-item, .proof-item + .proof-item { padding: 16px 0; border-left: 0; }
  .proof-item + .proof-item { border-top: 1px solid var(--line); }
}
.story { max-width: 760px; }
.story h2 { margin-bottom: 28px; }
.story-body p { font-size: 18px; line-height: 1.75; color: #c9ced7; margin: 0 0 22px; }
.story-body a { text-decoration: underline; text-underline-offset: 3px; }
.pull-quote { margin: 34px 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--accent); font: 500 clamp(21px, 2.6vw, 27px)/1.4 var(--display); color: var(--text); }
.beyond { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px 28px; }
.beyond .eyebrow { margin-bottom: 8px; }
.beyond p:last-child { margin: 0; font-size: 17px; line-height: 1.7; color: #c9ced7; }
.facts-line { margin: 0; display: grid; gap: 16px; }
.facts-line div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.facts-line dt { font: 700 12px/1.8 var(--body); letter-spacing: 1.6px; text-transform: uppercase; color: var(--warm); }
.facts-line dd { margin: 0; color: var(--muted); line-height: 1.7; }
@media (max-width: 560px) { .facts-line div { grid-template-columns: 1fr; gap: 4px; } .story-body p { font-size: 17px; } }
