/* / — Team SCVL home page.
 *
 * Lives where the Sony Tailgate "under construction" placeholder used
 * to be. Single-screen team profile with the Seahawks display font for
 * the SCVL wordmark and four placeholder member cards in a grid.
 */

@font-face {
  font-family: 'NFLSeahawks';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('/assets/fonts/nfl/NFL_Seattle_Seahawks_Flat.ttf') format('truetype');
}

:root {
  --bg:        #000;
  --bg-2:      #07090f;
  --panel:     #11141c;
  --border:    rgba(255, 255, 255, 0.08);
  --text:      #f7f7f9;
  --text-dim:  rgba(247, 247, 249, 0.65);
  --text-dim2: rgba(247, 247, 249, 0.40);
  --sea-blue:  #002244;
  --sea-green: #69BE28;
  --sea-bright:#A5ACAF;
  --accent:    #4d9cff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(0, 34, 68, 0.55) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(105, 190, 40, 0.10) 0%, transparent 70%),
    #000;
  color: var(--text);
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

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

.page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 80px 28px 60px;
  padding-top: max(80px, env(safe-area-inset-top));
  padding-bottom: max(60px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ─── Hero ────────────────────────────────────────────────────── */

.hero {
  text-align: center;
  margin-bottom: clamp(48px, 8vh, 96px);
}
.kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 18px;
}
.wordmark {
  font-family: 'NFLSeahawks', 'DM Sans', system-ui, sans-serif;
  font-size: clamp(60px, 14vw, 180px);
  font-weight: 400;
  letter-spacing: clamp(2px, 0.8vw, 8px);
  line-height: 1;
  color: var(--text);
  /* Subtle Seahawks-tinted glow */
  text-shadow:
    0 0 60px rgba(105, 190, 40, 0.25),
    0 0 120px rgba(0, 60, 130, 0.40);
}
.pronounce {
  margin-top: 18px;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}
.pronounce .ipa {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.pronounce-text {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  font-style: italic;
}

/* ─── Project chip (bottom CTA) ─────────────────────────────── */

.project {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  background: linear-gradient(143deg, #0349B7 0%, #050914 65%);
  border: 1.5px solid rgba(77, 156, 255, 0.55);
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-decoration: none;
  box-shadow:
    0 0 30px rgba(3, 73, 183, 0.30),
    0 12px 30px rgba(0, 0, 0, 0.45);
  transition: border-color 240ms ease, transform 240ms ease, box-shadow 240ms ease;
}
.project:hover {
  border-color: rgba(142, 197, 255, 0.85);
  transform: translateY(-2px);
  box-shadow:
    0 0 40px rgba(77, 156, 255, 0.45),
    0 16px 40px rgba(0, 0, 0, 0.55);
}
.project svg { transition: transform 240ms ease; }
.project:hover svg { transform: translateX(4px); }

/* ─── Team grid ───────────────────────────────────────────────── */

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 60px;
}
@media (min-width: 600px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 22px; }
}
@media (min-width: 1000px) {
  .grid { grid-template-columns: repeat(4, 1fr); gap: 22px; }
}

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px 22px;
  text-align: center;
  transition: transform 240ms cubic-bezier(0.4, 0, 0.2, 1),
              border-color 240ms ease, background 240ms ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(105, 190, 40, 0.35);
  background: linear-gradient(180deg, rgba(105, 190, 40, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #002244 0%, #69BE28 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.08),
    0 10px 30px rgba(0, 0, 0, 0.5);
}
/* Letter placeholder, only visible until a real photo loads.
 * SVG with viewBox keeps placement crisp at any size; text-anchor +
 * dominant-baseline center the glyph box geometrically. The
 * NFLSeahawks face has heavier internal padding on the right and
 * bottom of each glyph, so we shift the text origin slightly down +
 * right to compensate and bring the visible letter to the optical
 * center of the circle. */
.avatar-letter {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.avatar-letter text {
  font-family: 'NFLSeahawks', 'DM Sans', system-ui, sans-serif;
  font-size: 56px;
  fill: rgba(255, 255, 255, 0.92);
  /* Counter the font's right/bottom internal padding. */
  transform: translate(5px, 5px);
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.4px;
  margin-bottom: 4px;
}
.role {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.bio {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-dim);
}

/* ─── Footer ──────────────────────────────────────────────────── */

.page-foot {
  margin-top: auto;
  padding-top: 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  font-size: 12px;
  color: var(--text-dim2);
  letter-spacing: 0.5px;
}
.page-foot .project { margin: 0; }
