/* ============================================================
   Michael Zogot — personal link hub
   Design tokens imported from Claude Design ("Michael Zogot.dc.html")
   ============================================================ */

:root {
  --bg: #0D0D0D;
  --surface: #141414;      /* cards */
  --surface-alt: #131313;  /* pills, icon buttons */
  --well: #0a0a0a;         /* video well */

  --border: #222;
  --border-subtle: #1d1d1d;
  --border-strong: #262626;
  --border-avatar: #2a2a2a;

  --text: #e8e8e3;
  --text-bright: #f5f5f0;
  --text-heading: #f7f7f2;
  --muted: #8f8f8a;
  --dim: #9a9a9a;
  --mono-muted: #b9b9b2;
  --faint: #5c5c57;

  --accent: #D4FF3F;

  --font-sans: 'Space Grotesk', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --radius-btn: 11px;
  --radius-card: 14px;
  --radius-tile: 13px;
  --radius-video: 16px;

  --container: 1060px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

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

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

::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.accent { color: var(--accent); }
.amp, .enddot { color: var(--faint); }
.muted { color: var(--muted); }
.bright, .soft { color: var(--text-bright); }
#lparmy .soft { color: var(--text); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent); color: var(--bg);
  padding: 10px 16px; border-radius: 0 0 var(--radius-btn) 0;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 0; color: var(--bg); }

/* ---- reveal-on-scroll (only when JS is available) ---- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
html.js [data-reveal].rv { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---- nav ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(13, 13, 13, .84);
  border-bottom: 1px solid var(--border-subtle);
}
.nav-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 14px;
  display: flex; align-items: center; justify-content: space-between;
  height: 56px;
}
.nav-brand {
  font-family: var(--font-mono);
  font-size: 15px; font-weight: 500; letter-spacing: .06em;
  color: var(--text-bright); text-decoration: none;
  padding: 12px 6px;
}
.nav-brand:hover { color: var(--text-bright); }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  font-size: 13px; color: var(--dim);
  text-decoration: none; padding: 15px 9px;
}
.nav-links a:hover { color: var(--text-bright); }
.nav-links a.nav-contact { color: var(--accent); }
.nav-links a.nav-contact:hover { color: var(--text-bright); }

/* ---- hero ---- */
.hero { position: relative; overflow: hidden; }
.hero-glow {
  position: absolute; top: -140px; left: -100px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 15%, transparent), transparent 65%);
  filter: blur(42px);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: var(--container); margin: 0 auto;
  padding: 72px 20px 84px;
  display: flex; flex-direction: column; gap: 24px;
  align-items: flex-start;
}
.hero-avatar {
  width: 112px; height: 112px; border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-avatar);
  box-shadow: 0 0 0 4px var(--bg), 0 0 44px color-mix(in srgb, var(--accent) 30%, transparent);
}
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border-strong); border-radius: 999px;
  padding: 7px 13px; background: var(--surface-alt);
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}
.badge-text {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .09em; text-transform: uppercase;
  color: var(--mono-muted);
}
h1 {
  margin: 0;
  font-size: clamp(52px, 13vw, 120px);
  line-height: .98; letter-spacing: -.04em; font-weight: 700;
  color: var(--text-heading);
  text-wrap: balance;
}
.hero-sub {
  margin: 0;
  font-size: clamp(22px, 5.5vw, 36px);
  line-height: 1.2; letter-spacing: -.02em; font-weight: 600;
  color: var(--text-bright);
}
.hero-desc {
  margin: 0; max-width: 620px;
  font-size: clamp(16px, 4.4vw, 19px); line-height: 1.6;
  color: var(--muted);
}
.hero-cta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  margin-top: 6px;
}

/* ---- buttons ---- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: var(--bg);
  text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 14px 22px; border-radius: var(--radius-btn);
  box-shadow: 0 0 28px color-mix(in srgb, var(--accent) 24%, transparent);
}
.btn-primary:hover { filter: brightness(1.08); color: var(--bg); }
.btn-primary:active { filter: brightness(.94); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--border-strong));
  color: var(--accent); background: transparent;
  text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 13px 20px; border-radius: var(--radius-btn);
}
.btn-outline:hover { background: color-mix(in srgb, var(--accent) 10%, transparent); color: var(--accent); }
.btn-outline:active { background: color-mix(in srgb, var(--accent) 16%, transparent); }
.social-row { display: flex; gap: 8px; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px;
  border: 1px solid var(--border-strong); border-radius: var(--radius-btn);
  color: var(--mono-muted); background: var(--surface-alt);
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.icon-btn.sm { width: 44px; height: 44px; }

/* ---- sections ---- */
main section {
  max-width: var(--container); margin: 0 auto;
  padding: 0 20px 76px;
  scroll-margin-top: 72px;
}
main section.contact { padding-bottom: 84px; }
.kicker {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
}
h2 {
  margin: 0 0 26px;
  font-size: clamp(28px, 6vw, 42px);
  font-weight: 600; letter-spacing: -.02em;
  color: var(--text-bright);
}
h2.tight { margin-bottom: 14px; }
.section-lead {
  margin: 0 0 26px; max-width: 640px;
  font-size: 15.5px; line-height: 1.6;
  color: var(--muted);
}

/* ---- shared links ---- */
.link-accent {
  font-size: 14px; font-weight: 500; color: var(--accent);
  text-decoration: none; padding: 10px 0;
}
.link-accent:hover { color: var(--text-bright); }
.link-accent.sm { font-size: 13.5px; padding: 8px 0; }
.link-muted {
  font-size: 13px; color: var(--muted);
  text-decoration: none; padding: 10px 0;
}
.link-muted:hover { color: var(--text-bright); }

/* ---- apps ---- */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: all .2s ease;
}
.card:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
  transform: translateY(-2px);
}
.card-media { display: block; border-bottom: 1px solid var(--border); }
.card-media img {
  width: 100%; aspect-ratio: 16/10;
  object-fit: cover; object-position: top;
}
.card-body {
  padding: 18px 22px 22px;
  display: flex; flex-direction: column; gap: 10px;
  flex: 1;
}
.card-body h3 { margin: 0; font-size: 17px; font-weight: 600; color: var(--text-bright); }
.card-body p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); flex: 1; }
.card-links { display: flex; align-items: center; gap: 16px; }

/* ---- featured video ---- */
.video-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-video);
  overflow: hidden;
  display: flex; flex-wrap: wrap;
}
.video-copy {
  flex: 1 1 280px; min-width: 0;
  padding: 26px;
  display: flex; flex-direction: column; gap: 12px;
  justify-content: center;
}
.video-label {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .09em; text-transform: uppercase;
  color: var(--muted);
}
.video-copy h3 {
  margin: 0; font-size: 20px; font-weight: 600;
  color: var(--text-bright); line-height: 1.3;
}
.video-copy p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.video-copy .link-accent { align-self: flex-start; }
.video-well { flex: 1.5 1 320px; min-width: 0; background: var(--well); }
.video-embed { position: relative; width: 100%; aspect-ratio: 16/9; }
.video-embed iframe {
  display: block; width: 100%; aspect-ratio: 16/9; height: 100%; border: 0;
}
.video-facade {
  display: block; position: relative;
  width: 100%; height: 100%;
  padding: 0; border: 0; cursor: pointer;
  background: var(--well);
}
.video-facade img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .85;
  transition: opacity .2s ease;
}
.video-facade:hover img { opacity: 1; }
.video-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: flex; align-items: center; justify-content: center;
  width: 68px; height: 68px; border-radius: 50%;
  background: rgba(13, 13, 13, .82);
  border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--border-strong));
  color: var(--accent);
  box-shadow: 0 0 28px color-mix(in srgb, var(--accent) 24%, transparent);
  transition: transform .2s ease;
}
.video-play svg { margin-left: 3px; }
.video-facade:hover .video-play { transform: translate(-50%, -50%) scale(1.06); }

/* ---- lp army ---- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}
.stat-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 20px;
  display: flex; flex-direction: column; gap: 8px;
}
.stat-num {
  font-family: var(--font-mono);
  font-size: clamp(30px, 6vw, 42px); line-height: 1;
  color: var(--accent);
}
.stat-label { font-size: 12.5px; line-height: 1.45; color: var(--muted); }

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  align-items: stretch;
}
.profile-card {
  grid-column: 1 / -1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex; flex-wrap: wrap;
  text-decoration: none;
  transition: all .2s ease;
}
.profile-card:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
  transform: translateY(-2px);
}
.profile-card img {
  flex: 1.6 1 320px; min-width: 0;
  aspect-ratio: 16/8;
  object-fit: cover; object-position: top;
}
.profile-card-body {
  flex: 1 1 240px;
  padding: 20px;
  display: flex; flex-direction: column; gap: 8px;
  justify-content: center;
  border-top: 1px solid var(--border);
}
.tile-title-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
}
.tile-title { font-size: 16px; font-weight: 600; color: var(--text-bright); }
.profile-card .tile-title { font-size: 17px; }
.tile-title-note { font-weight: 400; color: var(--muted); }
.tile-desc { font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.tile-link {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 20px;
  display: flex; flex-direction: column; gap: 6px;
  text-decoration: none;
  min-height: 64px;
  transition: all .2s ease;
}
.tile-link:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
  transform: translateY(-2px);
}
.tile-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 2px; }

/* ---- contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}
.channel-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex; flex-direction: column;
  text-decoration: none;
  transition: all .2s ease;
}
.channel-card:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
  transform: translateY(-2px);
}
.channel-card img {
  width: 100%; aspect-ratio: 16/9;
  object-fit: cover; object-position: top;
  border-bottom: 1px solid var(--border);
}
.channel-card-bar {
  padding: 14px 18px 16px;
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
}
.channel-card-bar > span:first-child { font-size: 14.5px; color: var(--muted); }
.channel-card-bar strong { font-weight: 600; color: var(--text-bright); }

.handles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}
.handle-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-tile);
  padding: 16px;
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
  min-height: 48px;
}
.handle-tile:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); }
.handle-icon { color: var(--mono-muted); display: inline-flex; }
.handle-text { display: flex; flex-direction: column; min-width: 0; }
.handle-name { font-size: 14px; font-weight: 600; color: var(--text-bright); }
.handle-at {
  font-family: var(--font-mono);
  font-size: 11.5px; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ---- footer ---- */
.footer {
  border-top: 1px solid var(--border-subtle);
  position: relative; overflow: hidden;
}
.footer-glow {
  position: absolute; bottom: -200px; right: -140px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 11%, transparent), transparent 65%);
  filter: blur(46px);
  pointer-events: none;
}
.footer-inner {
  position: relative;
  max-width: var(--container); margin: 0 auto;
  padding: 60px 20px 52px;
  display: flex; flex-direction: column; gap: 44px;
}
.footer-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
}
.footer-stat { display: flex; flex-direction: column; gap: 8px; }
.footer-num {
  font-size: clamp(42px, 9vw, 64px); line-height: 1;
  font-weight: 700; letter-spacing: -.03em;
  color: var(--text-bright);
}
.footer-label { font-size: 13px; line-height: 1.5; color: var(--muted); max-width: 230px; }
.footer-cta { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.footer-cta-link {
  font-size: clamp(30px, 7.5vw, 52px);
  font-weight: 600; letter-spacing: -.03em; line-height: 1.1;
  color: var(--text-bright); text-decoration: none;
}
.footer-cta-link:hover { color: var(--accent); }
.footer-note { font-size: 14px; color: var(--muted); }
.footer-note .link-accent { padding: 0; font-size: inherit; text-decoration: none; }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 22px;
}
.footer-copy { font-family: var(--font-mono); font-size: 12px; color: var(--faint); }
.footer-links { display: flex; gap: 2px; }
.footer-links a {
  font-size: 12.5px; color: var(--muted);
  text-decoration: none; padding: 12px 8px;
}
.footer-links a:hover { color: var(--text-bright); }
