/* Joel Cruickshanks — single-page personal site
   White scheme, black headings, copper accent. No external fonts. */

:root {
  --bg: #ffffff;
  --bg-soft: #f4f6f8;
  --black: #000000;
  --black-deep: #1a1a1a;
  --text: #3a4a5c;
  --muted: #5c6b7a;
  --line: #e4e8ee;
  --accent: #9a3f1f;
  --accent-hover: #7c2f16;
  --accent-soft: #f8efe9;
  --shadow: 0 10px 30px rgba(31, 58, 95, 0.08);
  --shadow-tight: 0 4px 14px rgba(31, 58, 95, 0.06);
  --radius: 16px;
  --radius-sm: 12px;
  --max: 1120px;
  --header-h: 72px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font);
  color: var(--black);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 0.4em; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.nowrap { white-space: nowrap; }

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  background: var(--black);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
  color: #fff;
}

.wrap {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.wrap.narrow {
  width: min(100% - 40px, 760px);
}

/* Header
   ------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  color: var(--black);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
  font-size: 1.05rem;
  white-space: nowrap;
}

.wordmark:hover { color: var(--black-deep); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px 22px;
}

.site-nav a {
  color: var(--black);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:hover { color: var(--accent); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff !important;
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 600 !important;
}

.nav-cta:hover { background: var(--accent-hover); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  position: relative;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--black);
  border-radius: 1px;
  position: absolute;
  left: 12px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before,
.nav-toggle-bar::after { content: ""; left: 0; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { top: 0; transform: rotate(-45deg); }

/* Buttons
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  line-height: 1.2;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--black);
  box-shadow: inset 0 0 0 1.5px var(--line);
}

.btn-ghost:hover {
  color: var(--black-deep);
  box-shadow: inset 0 0 0 1.5px var(--black);
}

.btn-on-dark {
  background: #fff;
  color: var(--black);
}

.btn-on-dark:hover {
  background: var(--accent-soft);
  color: var(--black-deep);
}

/* Hero
   ------------------------------------------------------------ */
.hero {
  padding: 88px 0 64px;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, #f8efe9 0%, transparent 55%),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.85fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-lead {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--text);
  max-width: 38ch;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 32px 32px 28px;
}

.hero-card-kicker {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-card-name {
  font-size: 1.55rem;
  margin-bottom: 8px;
}

.hero-card-role {
  color: var(--muted);
  margin-bottom: 20px;
}

.hero-card-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.hero-card-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--black);
  font-weight: 500;
  padding-left: 18px;
  position: relative;
}

.hero-card-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 1.15em;
}

/* Stats / proof row
   ------------------------------------------------------------ */
.stats {
  background: var(--black);
  color: #fff;
  padding: 36px 0;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-figure {
  margin: 0 0 4px;
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.stat-label {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

/* Sections
   ------------------------------------------------------------ */
.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--bg-soft);
}

.lede {
  font-size: 1.2rem;
  max-width: 54ch;
  margin-bottom: 40px;
}

.cards {
  display: grid;
  gap: 20px;
}

.cards-3 {
  grid-template-columns: repeat(3, 1fr);
}

.cards-4 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-tight);
  padding: 28px 26px 26px;
  height: 100%;
}

.card-tag {
  display: inline-block;
  margin: 0 0 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.card-num {
  margin: 0 0 12px;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

/* Skills
   ------------------------------------------------------------ */
.skill-grid {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.skill {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-tight);
  padding: 24px 24px 22px;
  grid-column: span 2;
}

.skill:nth-child(n+4) {
  grid-column: span 3;
}

/* Timeline
   ------------------------------------------------------------ */
.timeline {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  border-left: 2px solid var(--line);
}

.timeline-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  padding: 0 0 36px 32px;
  position: relative;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--bg);
}

.section-alt .timeline-item::before {
  box-shadow: 0 0 0 4px var(--bg-soft);
}

.timeline-when {
  margin: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}

.timeline-where {
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 8px;
}

/* Education
   ------------------------------------------------------------ */
.edu-card {
  margin-top: 28px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-tight);
  padding: 28px 28px 26px;
}

.edu-meta {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

/* FAQ
   ------------------------------------------------------------ */
.faq-list {
  margin-top: 28px;
  display: grid;
  gap: 10px;
}

.faq-list details {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-tight);
  padding: 4px 4px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--black);
  padding: 14px 18px;
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1;
}

.faq-list details[open] summary::after { content: "–"; }

.faq-list details p {
  padding: 0 18px 16px;
  color: var(--text);
}

/* Closing CTA
   ------------------------------------------------------------ */
.cta-band {
  background: var(--black);
  color: #fff;
  padding: 88px 0;
  text-align: center;
}

.cta-band h2 { color: #fff; margin-bottom: 12px; }

.cta-band p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.15rem;
  max-width: 40ch;
  margin: 0 auto 28px;
}

/* Footer
   ------------------------------------------------------------ */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  background: var(--bg);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-inner p { margin: 0; }

.footer-inner a {
  color: var(--black);
  text-decoration: none;
  font-weight: 600;
}

.footer-inner a:hover { color: var(--accent); }

/* Responsive
   ------------------------------------------------------------ */
@media (max-width: 900px) {
  .hero-grid,
  .cards-3,
  .cards-4,
  .stats-row,
  .timeline-item {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 56px 0 48px;
  }

  .hero-grid { gap: 32px; }

  .hero-lead { max-width: none; }

  .stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 28px 16px;
  }

  .skill:last-child { max-width: none; }

  .timeline { border-left: 0; }

  .timeline-item {
    gap: 8px;
    padding: 0 0 32px 0;
    border-bottom: 1px solid var(--line);
  }

  .timeline-item:last-child { border-bottom: 0; padding-bottom: 0; }

  .timeline-item::before { display: none; }

  .section { padding: 64px 0; }

  .cta-band { padding: 64px 0; }
}

@media (max-width: 760px) {
  :root { --header-h: 64px; }

  .wrap,
  .wrap.narrow { width: min(100% - 28px, var(--max)); }

  .nav-toggle { display: block; }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open::after {
    content: "";
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: rgba(22, 41, 66, 0.4);
    z-index: 40;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 45;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 40px;
    gap: 4px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open { display: flex; }

  .site-nav a {
    padding: 12px 4px;
  }

  .nav-cta {
    margin-top: 8px;
    text-align: center;
  }

  .skill-grid { grid-template-columns: 1fr; }
  .skill,
  .skill:nth-child(n+4) { grid-column: auto; }

  .hero-actions { flex-direction: column; align-items: stretch; }

  .hero-actions .btn { width: 100%; }
}

@media (max-width: 420px) {
  .stats-row { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 2.15rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Animated hero background (digital grid, light streaks, data dots)
   Every animation below returns to its starting state at 100%,
   so the loop is seamless. */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #0a0a0a;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, #050505 0%, #111111 100%);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: 60vw;
  height: 60vw;
  max-width: 900px;
  max-height: 900px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  will-change: transform;
}

.hero-glow-a {
  top: -30%;
  left: -10%;
  background: radial-gradient(circle, rgba(70, 120, 220, 0.5) 0%, rgba(70, 120, 220, 0) 70%);
  animation: glow-drift-a 24s ease-in-out infinite alternate;
}

.hero-glow-b {
  bottom: -40%;
  right: -10%;
  background: radial-gradient(circle, rgba(120, 140, 160, 0.45) 0%, rgba(120, 140, 160, 0) 70%);
  animation: glow-drift-b 30s ease-in-out infinite alternate;
}

@keyframes glow-drift-a {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(18%, 14%, 0); }
}

@keyframes glow-drift-b {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-16%, -12%, 0); }
}

.hero-grid-lines {
  position: absolute;
  inset: -56px 0 0 -56px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 45%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 90% 80% at 50% 45%, #000 30%, transparent 100%);
  animation: grid-move 16s linear infinite;
  will-change: transform;
}

/* the grid moves by exactly one cell, so the last frame equals the first */
@keyframes grid-move {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(56px, 56px, 0); }
}

.streak {
  position: absolute;
  top: 0;
  width: 1px;
  height: 140px;
  background: linear-gradient(180deg, rgba(150, 190, 255, 0), rgba(150, 190, 255, 0.55), rgba(150, 190, 255, 0));
  transform: translate3d(0, -160px, 0);
  animation: streak-fall linear infinite;
  will-change: transform;
}

/* starts and ends off-screen, so there is no visible jump on repeat */
@keyframes streak-fall {
  from { transform: translate3d(0, -160px, 0); }
  to   { transform: translate3d(0, 760px, 0); }
}

.dot {
  position: absolute;
  border-radius: 50%;
  background: rgba(170, 205, 255, 0.95);
  box-shadow: 0 0 10px rgba(130, 180, 255, 0.7);
  opacity: 0.15;
  animation: dot-pulse 6s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { opacity: 0.12; }
  50%      { opacity: 0.7; }
}

.hero h1,
.hero .hero-lead { color: #fff; }

.hero .hero-lead { color: rgba(255, 255, 255, 0.82); }

.hero .eyebrow { color: #e08058; }

.hero .btn-ghost {
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.4);
}

.hero .btn-ghost:hover {
  color: #fff;
  box-shadow: inset 0 0 0 1.5px #fff;
}

.stats { border-top: 1px solid rgba(255, 255, 255, 0.12); }

@media (prefers-reduced-motion: reduce) {
  .hero-glow,
  .hero-grid-lines,
  .streak,
  .dot { animation: none; }
}

/* intro splash: plays once, hard cut (no fade, no loop) */
#splash{position:fixed;inset:0;z-index:1000;background:#000;display:flex;align-items:center;justify-content:center}
#splash video,#splash img{width:min(90vw,90vh,720px);height:auto;display:block}
#skipIntro{position:absolute;right:24px;bottom:24px;background:none;color:#fff;border:1px solid rgba(255,255,255,.6);font:600 .9rem Inter,sans-serif;padding:8px 16px;cursor:pointer;border-radius:3px}
#skipIntro:hover{background:#fff;color:#000}
.no-splash #splash{display:none}

/* Pop-down boxes: every box is a collapsed accordion with a small arrow toggle */
.acc { margin: 0; }
.acc > summary, .faq-list summary { list-style: none; cursor: pointer; position: relative; padding-right: 30px; }
.acc > summary::-webkit-details-marker, .faq-list summary::-webkit-details-marker { display: none; }
.acc > summary::after, .faq-list summary::after {
  content: ""; position: absolute; right: 6px; top: 0.35em; float: none;
  width: 8px; height: 8px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(45deg); transition: transform .18s ease; font-size: 0; line-height: 0;
}
.acc[open] > summary::after, .faq-list details[open] summary::after { content: ""; transform: translateY(4px) rotate(-135deg); }
.faq-list summary::after { top: 50%; margin-top: -6px; right: 18px; }
.faq-list details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.acc > summary:focus-visible, .faq-list summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 6px; }
.acc > summary > :last-child { margin-bottom: 0; }
.acc-body { padding-top: 14px; }
.acc-body > :last-child { margin-bottom: 0; }
.cards, .skill-grid, .stats-row { align-items: start; }
.card { height: auto; }
.stats .acc > summary::after { border-color: #fff; }
.stats .acc-body { padding-top: 6px; }
.stats .acc > summary .stat-label { margin: 0; }
.hero-card .acc-body { padding-top: 16px; }
/* fast typing reveal */
.tw-w { visibility: hidden; }
.tw-w.on { visibility: visible; }
@media (prefers-reduced-motion: reduce) { .tw-w { visibility: visible; } }

/* =====================================================================
   REPRESENT-STYLE THEME (modelled on representclo.com)
   Monochrome black / white / grey, sharp corners, uppercase grotesque
   headings, thin grey rules, outlined and solid rectangular buttons.
   ===================================================================== */
:root {
  --bg: #ffffff;
  --bg-soft: #f7f7f7;
  --black: #000000;
  --black-deep: #000000;
  --text: #333333;
  --muted: #757575;
  --line: #e5e5e5;
  --accent: #000000;
  --accent-hover: #4d4d4d;
  --accent-soft: #f7f7f7;
  --shadow: none;
  --shadow-tight: none;
  --radius: 0;
  --radius-sm: 0;
  --max: 1280px;
  --header-h: 64px;
  --font: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
body { font-size: 1rem; line-height: 1.6; color: var(--text); background: #fff; }
a { color: #000; text-decoration-thickness: 1px; }
a:hover { color: var(--muted); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid #000; outline-offset: 3px; }

h1, h2, h3 { text-transform: uppercase; letter-spacing: -0.01em; line-height: 1.05; font-weight: 800; }
h1 { font-size: clamp(2.6rem, 7vw, 5.6rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: 1rem; font-weight: 700; letter-spacing: 0.01em; line-height: 1.25; }
.eyebrow, .hero-card-kicker, .card-tag, .card-num, .timeline-when, .edu-meta, .timeline-where {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.7rem; font-weight: 600; color: var(--muted);
}
.lede { font-size: 1.05rem; color: var(--text); max-width: 60ch; }

/* header: black bar, small uppercase links */
.site-header { background: #000; border-bottom: 1px solid #333; backdrop-filter: none; -webkit-backdrop-filter: none; }
.wordmark { color: #fff; text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.85rem; font-weight: 800; }
.wordmark:hover { color: #fff; }
.site-nav a { color: #fff; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.72rem; font-weight: 500; }
.site-nav a:hover { color: #aaa; }
.nav-cta { background: #fff; color: #000 !important; border-radius: 0; padding: 10px 18px; font-weight: 600 !important; }
.nav-cta:hover { background: #e5e5e5; color: #000 !important; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { background: #fff; border-radius: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }

/* buttons: rectangular, uppercase, solid white or outlined */
.btn { border-radius: 0; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.75rem; font-weight: 600; padding: 17px 30px; }
.btn-primary { background: #fff; color: #000; }
.btn-primary:hover { background: #e5e5e5; color: #000; }
.btn-ghost { background: transparent; color: #000; box-shadow: inset 0 0 0 1px #000; }
.btn-ghost:hover { background: #000; color: #fff; box-shadow: inset 0 0 0 1px #000; }
.btn-on-dark { background: #fff; color: #000; }
.btn-on-dark:hover { background: #e5e5e5; color: #000; }
.hero .btn-ghost { color: #fff; box-shadow: inset 0 0 0 1px #fff; }
.hero .btn-ghost:hover { background: #fff; color: #000; box-shadow: inset 0 0 0 1px #fff; }

/* hero: flat black, big uppercase type, white information box */
.hero { background: #000; padding: 112px 0 96px; }
.hero-bg { background: #000; }
.hero-glow, .hero-grid-lines { display: none; }
.streak { background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,0.28), rgba(255,255,255,0)); }
.dot { background: rgba(255,255,255,0.9); box-shadow: none; }
.hero h1, .hero .hero-lead { color: #fff; }
.hero .hero-lead { color: #e5e5e5; font-size: 1.05rem; max-width: 46ch; }
.hero .eyebrow { color: #aaa; }
.hero-card { background: #fff; border: 0; border-radius: 0; box-shadow: none; padding: 32px; }
.hero-card-name { font-size: 1.6rem; color: #000; }
.hero-card-role { color: var(--muted); }
.hero-card-list { border-top: 1px solid var(--line); }
.hero-card-list li { color: #000; font-weight: 500; border-bottom: 1px solid var(--line); }
.hero-card-list li::before { border-radius: 0; background: #000; width: 5px; height: 5px; }

/* stats: white strip with hairlines */
.stats { background: #fff; color: #000; border-top: 0; border-bottom: 1px solid var(--line); padding: 0; }
.stats-row { gap: 0; }
.stat { padding: 28px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat-figure { color: #000; font-weight: 800; letter-spacing: -0.02em; }
.stat-label { color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.7rem; font-weight: 600; }
.stats .acc > summary::after { border-color: #000; }

/* sections */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-soft); }

/* boxes: square, hairline border, no shadow, black on hover */
.card, .skill, .edu-card, .faq-list details { border-radius: 0; box-shadow: none; background: #fff; border: 1px solid var(--line); transition: border-color .15s ease; }
.section-alt .card, .section-alt .skill, .section-alt .edu-card, .section-alt .faq-list details { background: #fff; }
.card:hover, .skill:hover, .edu-card:hover, .faq-list details:hover { border-color: #000; }
.card-tag { padding: 0; background: none; border-radius: 0; color: var(--muted); }
.card-num { color: var(--muted); }
.cards-4 { gap: 16px; }
.skill-grid { gap: 16px; }
.faq-list { gap: 8px; }
.faq-list summary { font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.85rem; }

/* timeline: thin black rule, square markers */
.timeline { border-left: 1px solid #000; }
.timeline-item::before { border-radius: 0; background: #000; width: 9px; height: 9px; left: -5px; box-shadow: 0 0 0 4px var(--bg-soft); }
.timeline-when { color: #000; }

/* arrow toggle: thin black chevron */
.acc > summary::after, .faq-list summary::after { border-right: 1.5px solid #000; border-bottom: 1.5px solid #000; }
.stats .acc > summary::after { border-color: #000; }
.acc > summary:focus-visible, .faq-list summary:focus-visible { outline: 2px solid #000; border-radius: 0; }

/* closing band + footer */
.cta-band { background: #000; padding: 112px 0; }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 5vw, 3.6rem); }
.cta-band p { color: #aaa; }
.site-footer { background: #000; border-top: 1px solid #333; padding: 32px 0; }
.footer-inner { color: #757575; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.7rem; }
.footer-inner a { color: #fff; font-weight: 600; }
.footer-inner a:hover { color: #aaa; }

/* splash skip button */
#skipIntro { border-radius: 0; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.72rem; font-family: "Archivo", Arial, sans-serif; }

@media (max-width: 900px) {
  .hero { padding: 64px 0 56px; }
  .stat { border-left: 0; border-top: 1px solid var(--line); }
  .stat:first-child { border-top: 0; }
  .section { padding: 64px 0; }
}
@media (max-width: 760px) {
  .site-nav { background: #000; border-bottom: 1px solid #333; box-shadow: none; }
  .site-nav a { padding: 14px 4px; border-bottom: 1px solid #222; }
  .nav-cta { border-bottom: 0 !important; }
  body.nav-open::after { background: rgba(0,0,0,0.6); }
}

/* Fonts: Represent uses the paid typeface STK Bureau Sans. Archivo is the closest free match.
   One family everywhere: body, headings, buttons, form controls, nav. */
html, body, h1, h2, h3, p, a, li, summary, button, input, textarea, select, .btn, .site-nav a, .wordmark { font-family: var(--font); }
body { font-weight: 400; }
h1, h2, h3 { font-weight: 700; }
.btn, .site-nav a, .eyebrow { font-weight: 500; }
.stats-row { grid-template-columns: 1fr; }
.stat { border-left: 0; padding: 32px 24px; }
.wordmark { display: inline-flex; align-items: center; line-height: 0; }
.wordmark img { display: block; height: 32px; width: auto; background: #000; }
@media (max-width: 480px) { .wordmark img { height: 28px; } }
/* hero image: looping dark-water clip behind the hero, with a dark overlay so the text stays readable */
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.65; z-index: 0; pointer-events: none; }
.hero-bg::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.65) 100%); pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .hero-img { display: none; } }
