/* Zara Thomas — basketball highlight site
   Design tokens and layout transcribed from "Zara Thomas v2.dc.html". */

:root {
  --bg:          #0b0e14;
  --surface:     #10141d;
  --surface-2:   #151a24;
  --border:      #1c2230;
  --border-2:    #2b3345;
  --text:        #f2f4f8;
  --text-body:   #c3cad6;
  --text-muted:  #8791a3;
  --text-nav:    #aab2c2;
  --accent:      #ff7a1a;
  --accent-hi:   #ffa25c;

  --shell:       1160px;
  --gutter:      clamp(16px, 4vw, 40px);
  --gap-lg:      clamp(24px, 4vw, 56px);

  --cond: 'Barlow Condensed', 'Barlow', system-ui, sans-serif;
  --sans: 'Barlow', system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }
a:hover { color: var(--accent-hi); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

img { max-width: 100%; }

.shell {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 14, 20, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  min-height: 60px;
  display: flex;
  align-items: center;
  align-content: center;
  /* Stays one row wherever it fits; wraps instead of overflowing on very
     narrow screens rather than forcing the page to scroll sideways. */
  flex-wrap: wrap;
  gap: 6px 28px;
  padding-block: 8px;
}

.wordmark {
  margin-right: auto;
  font-family: var(--cond);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark span { color: var(--accent); }
.wordmark:hover { color: #fff; }

.nav {
  display: flex;
  gap: 24px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav a {
  color: var(--text-nav);
  text-decoration: none;
}
.nav a:hover { color: var(--accent); }

/* ---------- Hero ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 32px var(--gap-lg);
  align-items: end;
  padding: 48px 0 40px;
}

.portrait {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--surface-2);
  overflow: hidden;
  border-radius: 4px;
}
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.portrait-badge {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--cond);
  font-weight: 800;
  font-size: 26px;
  line-height: 1;
  padding: 6px 14px;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-name {
  margin: 0;
  font-family: var(--cond);
  font-weight: 800;
  font-size: clamp(56px, 9vw, 120px);
  line-height: 0.9;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.hero-blurb {
  margin: 20px 0 0;
  font-size: 18px;
  line-height: 1.5;
  color: var(--text-body);
  max-width: 56ch;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 12px 22px;
  border-radius: 3px;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg);
  border: 1px solid var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hi);
  border-color: var(--accent-hi);
  color: var(--bg);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid var(--border-2);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- Stat strip ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.stat { background: var(--surface); padding: 20px 22px; }

.stat-label {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.stat-value {
  margin: 6px 0 0;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 36px;
  line-height: 1;
}
.stat-value-accent { color: var(--accent); }
.stat-sub {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-muted);
}

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

.section { padding: 64px 0 0; }

.section-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.section-title {
  margin: 0;
  font-family: var(--cond);
  font-weight: 800;
  font-size: 40px;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.section-title-solo { margin-bottom: 20px; }

.section-meta {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.section-footnote {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--text-muted);
}

/* ---------- Highlight reel ---------- */

.reel-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.reel-embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.reel-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 20px;
}
.reel-play {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  padding-left: 5px;
}
.reel-heading {
  font-family: var(--cond);
  font-weight: 700;
  font-size: 28px;
  text-transform: uppercase;
}
.reel-note { font-size: 14px; color: var(--text-muted); }

/* ---------- Career ---------- */

.career {
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.career-head,
.career-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}

.career-head {
  padding: 12px 20px;
  background: var(--surface-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.career-row {
  padding: 16px 20px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  font-size: 16px;
  align-items: center;
}
.career-row:hover { background: var(--surface-2); }

.career-year {
  font-family: var(--cond);
  font-weight: 700;
  font-size: 22px;
  color: var(--accent);
}
.career-team { font-weight: 600; color: #fff; }
.career-level { color: var(--text-body); }

/* ---------- Notes / quote ---------- */

.notes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--gap-lg);
}

.prose {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
}

.quote {
  margin: 0;
  font-family: var(--cond);
  font-style: italic;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.25;
  color: #fff;
  border-left: 3px solid var(--accent);
  padding-left: 18px;
}
.quote-attr {
  margin: 12px 0 0 21px;
  font-size: 14px;
  color: var(--text-muted);
}

/* ---------- Contact ---------- */

.contact {
  margin: 72px 0 0;
  padding: 40px clamp(20px, 4vw, 48px);
  background: var(--accent);
  color: var(--bg);
  border-radius: 4px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: center;
}

.contact-title {
  margin: 0;
  font-family: var(--cond);
  font-weight: 800;
  font-size: 44px;
  line-height: 0.95;
  text-transform: uppercase;
}
.contact-copy {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.5;
  max-width: 46ch;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.2;
}
.contact-links a {
  color: var(--bg);
  text-decoration: none;
}
.contact-links a:hover {
  color: var(--bg);
  text-decoration: underline;
}
.contact-links a:focus-visible {
  outline: 2px solid var(--bg);
  outline-offset: 2px;
}

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

.site-footer {
  padding: 40px 0;
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.site-footer span { white-space: nowrap; }

/* ---------- Narrow screens ----------
   The canvas design is a single wide artboard; these rules keep the fixed
   300px portrait column and the 3-column career grid from overflowing. */

@media (max-width: 720px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    padding-top: 36px;
  }
  .portrait { max-width: 260px; }
}

@media (max-width: 560px) {
  /* Wordmark + nav exceed the gutter box below ~420px; tighten both. */
  .header-inner { gap: 16px; }
  .nav { gap: 16px; font-size: 13px; }

  .career-head,
  .career-row {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 8px 12px;
    padding-inline: 16px;
  }
  .career-head span:last-child { display: none; }
  .career-level { grid-column: 2; font-size: 14px; }
  .career-year { font-size: 18px; }
  .section-title { font-size: 32px; white-space: normal; }
}

@media (max-width: 420px) {
  .wordmark { font-size: 20px; }
  .nav { gap: 12px; font-size: 12px; letter-spacing: 0.04em; }
}
