/* Brandon Lee resume site · Kinetic Editorial (1a) */

@font-face { font-family: "Archivo Black"; src: url("/fonts/ArchivoBlack-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Bebas Neue"; src: url("/fonts/BebasNeue-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/fonts/Manrope-Variable.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }

:root {
  --bg: #0B0F1A;
  --surface: #131A2A;
  --surface-2: #1A2238;
  --border: #2A3246;
  --border-strong: #3A4562;
  --fg: #F8FAFC;
  --fg-muted: #E4E8EF;
  --fg-dim: #9AA4B8;
  --blue: #2A4BFF;
  --blue-hover: #4663FF;
  --blue-press: #1A37D8;
  --violet: #6B4FD8;
  --font-display: "Archivo Black", "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-accent: "Bebas Neue", "Oswald", "Impact", Arial, sans-serif;
  --font-body: "Manrope", "Inter", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --pad: 48px;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
a { color: var(--blue); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--violet); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.skip {
  position: absolute; left: -9999px; top: 12px; z-index: 10;
  padding: 10px 14px; background: var(--blue); color: #fff; border-radius: 4px;
  font: 500 14px/1 var(--font-body);
}
.skip:focus { left: 12px; color: #fff; }

.ka { container-type: inline-size; container-name: page; position: relative; overflow: hidden; width: 100%; }

.accent { color: var(--blue); }
.dim { color: var(--fg-dim); }

.eyebrow {
  font-family: var(--font-accent); font-size: 13px; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--blue); line-height: 1;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; height: 50px; padding: 0 24px;
  border-radius: 4px; border: 1px solid transparent; color: var(--fg);
  font: 500 15px/1 var(--font-body); white-space: nowrap; cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
  will-change: transform;
}
.btn-primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); border-color: var(--blue-hover); color: #fff; }
.btn-primary:active { background: var(--blue-press); border-color: var(--blue-press); }
.btn-ghost { border-color: var(--border); }
.btn-ghost-strong { border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--blue); color: var(--fg); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-lg { height: 52px; padding: 0 26px; }

/* Nav */
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px var(--pad); border-bottom: 1px solid var(--border);
}
.nav-name { font: 700 15px/1 var(--font-body); letter-spacing: -0.01em; color: var(--fg); }
.nav-name:hover { color: var(--fg); }
.nav-links {
  display: flex; gap: 40px; font-family: var(--font-accent); font-size: 13px;
  letter-spacing: 0.22em; text-transform: uppercase; line-height: 1;
}
.nav-links a { color: var(--fg-muted); }
.nav-links a:hover { color: var(--blue); }
.nav-links .num { color: var(--blue); }

/* Hero */
.hero { position: relative; padding: 72px var(--pad) 56px; overflow: hidden; }
.hero-glow {
  position: absolute; right: 6%; top: 18%; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(42, 75, 255, 0.15), rgba(42, 75, 255, 0));
  pointer-events: none;
}
.hero-top { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.status { display: inline-flex; align-items: center; gap: 10px; font: 500 13px/1 var(--font-body); color: var(--fg-muted); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); display: inline-block; flex: none; }
.hero-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.hero-contact { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; font: 500 13px/1 var(--font-body); }
.hero-contact a { color: var(--fg); }
.hero-contact a:hover { color: var(--blue); }
.hero-contact .sep { color: var(--blue); }
.hero-name {
  position: relative; margin: 0; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(76px, 15.5cqw, 224px); line-height: 0.86; letter-spacing: -0.035em; text-wrap: balance;
}
.hero-name > span { display: block; }
.hero-name .line2 { padding-top: 0.04em; }
.hero-row { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; margin-top: 64px; }
.hero-copy { max-width: 620px; }
.hero-copy h2 {
  margin: 0 0 20px; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(24px, 2.4cqw, 34px); line-height: 1.1; letter-spacing: -0.025em; text-wrap: balance;
}
.hero-copy .lead { margin: 0 0 16px; font-size: 18px; line-height: 1.55; color: var(--fg-muted); text-wrap: pretty; }
.hero-copy .motto { margin: 0; font: 700 15px/1.5 var(--font-body); color: var(--fg); }
.hero-cta { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }
.hero-foot {
  position: relative; display: flex; gap: 16px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--border);
  font-family: var(--font-accent); font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-dim); line-height: 1;
}

/* Skill marquee */
.marquee { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; padding: 18px 0; background: var(--surface); }
.marquee-track {
  display: flex; width: max-content; animation: marquee 44s linear infinite;
  font-family: var(--font-accent); font-size: 22px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-muted); line-height: 1;
}
.marquee-set { display: flex; gap: 36px; padding-right: 36px; white-space: nowrap; }
.marquee-set .sep { color: var(--blue); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Evidence stats */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 64px var(--pad); }
.stat { padding: 0 40px; }
.stat:first-child { padding-left: 0; }
.stat:last-child { padding-right: 0; }
.stat + .stat { border-left: 1px solid var(--border); }
.stat-num { font-family: var(--font-display); font-size: clamp(56px, 6cqw, 88px); line-height: 0.9; letter-spacing: -0.035em; }
.stat-label { margin-top: 18px; font-family: var(--font-accent); font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg); line-height: 1; }
.stat-context { margin-top: 10px; font-size: 14px; color: var(--fg-dim); }

/* Sections */
.section { padding: 40px var(--pad) 96px; }
#experience { padding-top: 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 48px; }
#experience .section-head { margin-bottom: 40px; }
.section-head .eyebrow { margin-bottom: 20px; }
.section-head h2 {
  margin: 0; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(34px, 3.6cqw, 52px); line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance;
}
.section-head p { margin: 0; max-width: 420px; font-size: 16px; line-height: 1.55; color: var(--fg-muted); text-wrap: pretty; }

/* Selected work */
.work-row {
  display: grid; grid-template-columns: 96px minmax(0, 1fr) minmax(0, 1.2fr) 280px; gap: 32px; padding: 40px 0;
  border-top: 1px solid var(--border); transition: border-color 0.2s var(--ease);
}
.work-row:last-of-type { border-bottom: 1px solid var(--border); }
.work-shot { margin: 0; }
.work-frame { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: var(--surface); aspect-ratio: 16 / 10; }
.work-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.work-shot figcaption { margin-top: 10px; font-family: var(--font-accent); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-dim); line-height: 1.3; }
.work-row:hover { border-top-color: var(--blue); }
.work-index { font-family: var(--font-accent); font-size: 40px; line-height: 0.9; color: var(--blue); }
.work-row h3 { margin: 0 0 10px; font-family: var(--font-display); font-weight: 400; font-size: 30px; line-height: 1.05; letter-spacing: -0.025em; }
.work-cat { font-family: var(--font-accent); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-dim); line-height: 1; }
.work-desc { margin: 0 0 18px; font-size: 16px; line-height: 1.55; color: var(--fg-muted); text-wrap: pretty; }
.evidence { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.evidence-label { font-family: var(--font-accent); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--blue); line-height: 1; margin-right: 8px; }
.chip { font: 500 12px/1 var(--font-body); padding: 8px 10px; border: 1px solid var(--border); border-radius: 4px; color: var(--fg-muted); }

/* Experience */
.exp-row { display: grid; grid-template-columns: 200px minmax(0, 1fr) minmax(0, 1.3fr); gap: 32px; padding: 32px 0; border-top: 1px solid var(--border); }
.exp-row:last-of-type { border-bottom: 1px solid var(--border); }
.exp-when { font-family: var(--font-accent); font-size: 15px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--blue); line-height: 1.3; }
.exp-org { font: 700 18px/1.3 var(--font-body); }
.exp-role { font-size: 14px; color: var(--fg-dim); margin-top: 4px; }
.exp-row p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--fg-muted); }
.exp-tools { margin-top: 14px; font: 500 12.5px/1.6 var(--font-body); color: var(--fg-dim); }
.exp-tools .evidence-label { display: inline-block; margin-right: 10px; }

/* Contact */
.contact { position: relative; padding: 96px var(--pad) 40px; border-top: 1px solid var(--border); background: var(--surface); }
.contact .eyebrow { margin-bottom: 24px; }
.contact h2 {
  margin: 0; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(44px, 7.2cqw, 108px); line-height: 0.92; letter-spacing: -0.035em; text-wrap: balance;
}
.contact-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-top: 48px; }
.contact-row p { margin: 0; max-width: 440px; font-size: 17px; line-height: 1.55; color: var(--fg-muted); }
.contact-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--border); }
.link-label { font-family: var(--font-accent); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-dim); line-height: 1; margin-bottom: 10px; }
.links a { font: 500 15px/1.3 var(--font-body); color: var(--fg); overflow-wrap: anywhere; }
.links a:hover { color: var(--blue); }
.footer {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px;
  font-family: var(--font-accent); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-dim); line-height: 1;
}

/* Scroll reveal */
.rv { transition: opacity 0.32s var(--ease), transform 0.32s var(--ease); }
.rv.hide { opacity: 0; transform: translateY(16px); }

/* Mobile (container <= 720px, designed at 390) */
@container page (max-width: 720px) {
  .nav, .hero, .stats, .section, .contact { padding-left: 24px; padding-right: 24px; }
  .nav-links { display: none; }
  .hero { padding-top: 48px; padding-bottom: 40px; }
  .hero-top { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hero-meta { align-items: flex-start; }
  .hero-contact { justify-content: flex-start; }
  .hero-row { flex-direction: column; align-items: flex-start; gap: 28px; }
  .hero-glow { width: 360px; height: 360px; right: -20%; top: 8%; }
  .stats { grid-template-columns: 1fr; padding-top: 8px; padding-bottom: 8px; }
  .stat, .stat:first-child, .stat:last-child { padding: 28px 0; border-left: none; border-top: 1px solid var(--border); }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .work-row, .work-row.has-shot { grid-template-columns: 1fr; gap: 14px; }
  .work-shot { margin-top: 6px; }
  .exp-row { grid-template-columns: 1fr; gap: 10px; }
  .contact-row { flex-direction: column; align-items: flex-start; gap: 28px; }
  .links { grid-template-columns: 1fr; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .rv, .rv.hide { opacity: 1; transform: none; transition: none; }
  .btn { transition: background-color 0.2s, border-color 0.2s, color 0.2s; }
}
