    :root {
      --bg: #0a0a0a;
      --bg-elev: #131316;
      --line: #1f1f23;
      --ink: #ededec;
      --ink-dim: #8a8a8e;
      --ink-faint: #555559;
      --red: #e11a1c;
      --cyan: #22d3ee;
      --green: #3ecf8e;

      --display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
      --body: "Inter", system-ui, sans-serif;
      --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
    }

    * { box-sizing: border-box; }
    html, body { margin: 0; padding: 0; }
    body {
      background: var(--bg);
      color: var(--ink);
      font-family: var(--body);
      font-size: 15px;
      line-height: 1.5;
      -webkit-font-smoothing: antialiased;
    }
    a { color: inherit; text-decoration: none; }
    img { display: block; max-width: 100%; }

    /* ───────── Live strip (top) ───────── */
    .live-strip {
      position: sticky;
      top: 0;
      z-index: 50;
      background: #000;
      border-bottom: 1px solid var(--line);
      font-family: var(--mono);
      font-size: 11px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--ink);
    }
    .live-strip-row {
      max-width: 1440px;
      margin: 0 auto;
      padding: 9px 32px;
      display: grid;
      grid-template-columns: auto 1fr auto;
      gap: 32px;
      align-items: center;
    }
    .live-tag {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--ink-dim);
    }
    .live-tag::before {
      content: "";
      display: inline-block;
      width: 6px; height: 6px;
      border-radius: 50%;
      background: var(--red);
      box-shadow: 0 0 0 0 rgba(225, 26, 28, 0.7);
      animation: pulse 2.4s ease-out infinite;
    }
    @keyframes pulse {
      0% { box-shadow: 0 0 0 0 rgba(225, 26, 28, 0.7); }
      80% { box-shadow: 0 0 0 8px rgba(225, 26, 28, 0); }
      100% { box-shadow: 0 0 0 0 rgba(225, 26, 28, 0); }
    }
    .live-meta {
      display: flex;
      gap: 32px;
      align-items: center;
      color: var(--ink-dim);
    }
    .live-meta .v { color: var(--ink); }
    .live-meta .label { color: var(--ink-faint); margin-right: 6px; }
    .countdown { color: var(--ink); letter-spacing: 0.18em; }
    .countdown .sep { color: var(--ink-faint); padding: 0 4px; }

    /* ───────── Nav ───────── */
    nav.primary {
      max-width: 1440px;
      margin: 0 auto;
      padding: 28px 32px 28px;
      display: grid;
      grid-template-columns: auto 1fr auto;
      align-items: center;
      gap: 48px;
    }
    .brand {
      display: inline-flex;
      align-items: center;
      line-height: 1;
    }
    .brand img {
      height: 56px;
      width: auto;
      display: block;
    }
    .nav-list {
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      gap: 28px;
      font-size: 12px;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--ink-dim);
    }
    .nav-list a:hover { color: var(--ink); }
    .nav-list a.active { color: var(--ink); }
    .nav-aux {
      display: flex;
      gap: 18px;
      align-items: center;
      font-size: 12px;
      letter-spacing: 0.16em;
      text-transform: uppercase;
    }
    .nav-aux .pill {
      padding: 8px 14px;
      border: 1px solid var(--line);
      color: var(--ink);
      transition: border-color 0.2s, background 0.2s;
    }
    .nav-aux .pill:hover { border-color: var(--ink); }
    .nav-aux .pill.cta {
      background: var(--red);
      border-color: var(--red);
    }
    .nav-aux .pill.cta:hover { background: #c1171a; border-color: #c1171a; }

    /* ───────── Hero ───────── */
    .hero {
      position: relative;
      max-width: 1440px;
      margin: 0 auto;
      padding: 24px 32px 80px;
    }
    .hero-frame {
      position: relative;
      border: 1px solid var(--line);
      background: #0a0a0a;
      min-height: 640px;
      overflow: hidden;
    }
    .hero-photo {
      position: absolute;
      inset: 0;
      background-image: url("https://cdn.haasf1team.com/s3fs-public/2026-05/2274317413.jpg?VersionId=hwsnefJ8NP2niGxVsVhWYynJekfz5NBH");
      background-size: cover;
      background-position: center 30%;
      opacity: 0.55;
      filter: saturate(0.9) contrast(1.05);
    }
    .hero-photo::after {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(90deg, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.75) 35%, rgba(10,10,10,0.25) 70%, rgba(10,10,10,0.55) 100%),
        linear-gradient(180deg, rgba(10,10,10,0.4) 0%, transparent 30%, transparent 70%, rgba(10,10,10,0.7) 100%),
        radial-gradient(1200px 600px at 90% -10%, rgba(225, 26, 28, 0.18), transparent 60%);
    }
    .hero-grid {
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(to right, rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px);
      background-size: 80px 80px;
      mask-image: radial-gradient(ellipse at 60% 40%, #000 40%, transparent 80%);
    }
    .car-silhouette {
      position: absolute;
      right: -60px;
      bottom: 32px;
      width: 720px;
      max-width: 65%;
      opacity: 0.85;
      pointer-events: none;
    }
    .hero-watermark {
      position: absolute;
      top: 32px;
      right: 32px;
      width: 88px;
      opacity: 0.92;
      pointer-events: none;
      z-index: 2;
    }
    .hero-content {
      position: relative;
      padding: 56px 56px 56px;
      max-width: 720px;
    }
    .hero-meta {
      font-family: var(--mono);
      font-size: 11px;
      color: var(--ink-dim);
      letter-spacing: 0.18em;
      text-transform: uppercase;
      display: flex;
      gap: 20px;
      align-items: center;
      margin-bottom: 28px;
    }
    .hero-meta .chev {
      color: var(--red);
      font-weight: 700;
      font-family: var(--display);
      font-size: 16px;
    }
    .hero-meta .sep {
      width: 4px; height: 4px;
      background: var(--ink-faint);
      border-radius: 50%;
    }

    h1.headline {
      font-family: var(--display);
      font-weight: 900;
      font-size: clamp(72px, 11vw, 168px);
      line-height: 0.86;
      letter-spacing: -0.005em;
      text-transform: uppercase;
      margin: 0 0 28px;
    }
    h1.headline .accent {
      color: var(--red);
    }
    h1.headline .stroke {
      -webkit-text-stroke: 1.5px var(--ink);
      color: transparent;
    }

    .hero-sub {
      font-size: 16px;
      line-height: 1.5;
      color: var(--ink-dim);
      max-width: 480px;
      margin: 0 0 36px;
    }
    .cta-row {
      display: flex;
      gap: 14px;
      align-items: center;
      flex-wrap: wrap;
    }
    .btn {
      font-family: var(--display);
      font-weight: 700;
      font-size: 14px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      padding: 14px 22px;
      border: 1px solid var(--line);
      background: transparent;
      color: var(--ink);
      display: inline-flex;
      align-items: center;
      gap: 12px;
      cursor: pointer;
      transition: background 0.2s, border-color 0.2s, color 0.2s;
    }
    .btn .arrow {
      width: 14px; height: 1.5px;
      background: currentColor;
      position: relative;
    }
    .btn .arrow::after {
      content: "";
      position: absolute;
      right: 0; top: -3.5px;
      width: 7px; height: 7px;
      border-top: 1.5px solid currentColor;
      border-right: 1.5px solid currentColor;
      transform: rotate(45deg);
    }
    .btn.primary {
      background: var(--red);
      border-color: var(--red);
    }
    .btn.primary:hover { background: #c1171a; border-color: #c1171a; }
    .btn.ghost:hover { border-color: var(--ink); }

    /* Hero stat block (touch of C) */
    .hero-stats {
      position: absolute;
      right: 56px;
      bottom: 56px;
      display: grid;
      grid-template-columns: repeat(3, auto);
      gap: 0;
      border: 1px solid var(--line);
      background: rgba(0,0,0,0.55);
      backdrop-filter: blur(6px);
      font-family: var(--mono);
      z-index: 2;
    }
    .hero-stats .cell {
      padding: 14px 22px;
      border-right: 1px solid var(--line);
      min-width: 130px;
    }
    .hero-stats .cell:last-child { border-right: none; }
    .hero-stats .label {
      font-size: 10px;
      color: var(--ink-faint);
      letter-spacing: 0.2em;
      text-transform: uppercase;
      margin-bottom: 6px;
    }
    .hero-stats .v {
      font-size: 22px;
      font-weight: 700;
      color: var(--ink);
      letter-spacing: 0.04em;
    }
    .hero-stats .delta { color: var(--ink-faint); font-size: 11px; margin-left: 4px; }
    .hero-stats .delta.up { color: var(--green); }
    .hero-stats .delta.down { color: var(--red); }

    /* ───────── Section ───────── */
    section.zone {
      max-width: 1440px;
      margin: 0 auto;
      padding: 64px 32px;
      border-top: 1px solid var(--line);
    }
    .section-head {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      margin-bottom: 32px;
    }
    .eyebrow {
      font-family: var(--mono);
      font-size: 11px;
      color: var(--ink-dim);
      letter-spacing: 0.22em;
      text-transform: uppercase;
      display: inline-flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 12px;
    }
    .eyebrow::before {
      content: "";
      width: 12px;
      height: 2px;
      background: var(--red);
    }
    .section-title {
      font-family: var(--display);
      font-weight: 900;
      font-size: 56px;
      line-height: 0.95;
      letter-spacing: -0.005em;
      text-transform: uppercase;
      margin: 0;
    }
    .section-link {
      font-family: var(--mono);
      font-size: 11px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--ink-dim);
      display: inline-flex;
      gap: 10px;
      align-items: center;
    }
    .section-link:hover { color: var(--ink); }

    /* ───────── News grid ───────── */
    .news-grid {
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr;
      gap: 1px;
      background: var(--line);
      border: 1px solid var(--line);
    }
    .news-card {
      background: var(--bg);
      padding: 0;
      display: flex;
      flex-direction: column;
      transition: background 0.2s;
    }
    .news-card:hover { background: #101013; }
    .news-card .img-area {
      aspect-ratio: 16/9;
      background: linear-gradient(135deg, #1a1a1d, #0e0e10) center/cover no-repeat;
      position: relative;
      overflow: hidden;
      transition: transform 0.4s ease;
    }
    .news-card.featured .img-area { aspect-ratio: 16/10; }
    .news-card:hover .img-area { transform: scale(1.02); }
    .news-card .img-area::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.45) 100%);
      pointer-events: none;
    }
    .news-card .body {
      padding: 22px 24px 28px;
    }
    .news-card.featured .body { padding: 28px 32px 36px; }
    .news-card .meta {
      font-family: var(--mono);
      font-size: 10px;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--ink-dim);
      display: flex;
      gap: 14px;
      margin-bottom: 12px;
    }
    .news-card .meta .tag {
      color: var(--red);
    }
    .news-card h3 {
      font-family: var(--display);
      font-weight: 700;
      font-size: 26px;
      line-height: 1.05;
      letter-spacing: 0.005em;
      text-transform: uppercase;
      margin: 0;
      color: var(--ink);
    }
    .news-card.featured h3 {
      font-size: 42px;
      font-weight: 900;
    }
    .news-card .excerpt {
      color: var(--ink-dim);
      font-size: 14px;
      margin-top: 12px;
    }

    /* ───────── Standings widget (touch of C) ───────── */
    .data-row {
      display: grid;
      grid-template-columns: 1fr 1.2fr;
      gap: 1px;
      background: var(--line);
      border: 1px solid var(--line);
    }
    .data-panel {
      background: var(--bg);
      padding: 28px 32px 32px;
    }
    .panel-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 20px;
      padding-bottom: 12px;
      border-bottom: 1px solid var(--line);
    }
    .panel-title {
      font-family: var(--display);
      font-weight: 700;
      font-size: 22px;
      letter-spacing: 0.02em;
      text-transform: uppercase;
      margin: 0;
    }
    .panel-sub {
      font-family: var(--mono);
      font-size: 10px;
      color: var(--ink-faint);
      letter-spacing: 0.18em;
      text-transform: uppercase;
    }
    table.std {
      width: 100%;
      border-collapse: collapse;
      font-family: var(--mono);
      font-size: 13px;
    }
    table.std th, table.std td {
      padding: 11px 8px;
      text-align: left;
    }
    table.std th {
      font-size: 10px;
      color: var(--ink-faint);
      font-weight: 500;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      border-bottom: 1px solid var(--line);
    }
    table.std td {
      border-bottom: 1px solid var(--line);
    }
    table.std tr:last-child td { border-bottom: none; }
    table.std .pos { color: var(--ink-faint); width: 36px; }
    table.std .name { font-family: var(--body); font-weight: 600; font-size: 14px; }
    table.std .pts {
      color: var(--ink);
      width: 140px;
      white-space: nowrap;
    }
    table.std .pts .pts-row {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 10px;
    }
    table.std .pts .num { min-width: 36px; text-align: right; }
    table.std tr.haas { background: rgba(225, 26, 28, 0.06); }
    table.std tr.haas .name { color: var(--ink); }
    table.std tr.haas .pos { color: var(--red); }
    .num-bar {
      display: inline-block;
      height: 4px;
      background: var(--ink-faint);
      max-width: 80px;
      flex-shrink: 0;
    }
    table.std tr.haas .num-bar { background: var(--red); }

    /* Up Next panel */
    .up-next {
      background: var(--bg);
      padding: 28px 32px 32px;
      position: relative;
      overflow: hidden;
    }
    .up-next .track-bg {
      position: absolute;
      right: -40px;
      top: 50%;
      transform: translateY(-50%);
      width: 360px;
      height: 360px;
      opacity: 0.22;
      pointer-events: none;
    }
    .up-next .track-bg svg { width: 100%; height: 100%; }
    .up-next .track-bg svg path { fill: var(--ink); }
    .up-next .country-mark {
      font-family: var(--mono);
      font-size: 10px;
      letter-spacing: 0.22em;
      color: var(--ink-faint);
      text-transform: uppercase;
      margin-bottom: 6px;
    }
    .up-next h3.race-name {
      font-family: var(--display);
      font-weight: 900;
      font-size: 44px;
      line-height: 0.95;
      letter-spacing: 0.005em;
      text-transform: uppercase;
      margin: 0 0 8px;
      color: var(--ink);
    }
    .up-next .circuit {
      font-size: 14px;
      color: var(--ink-dim);
      margin: 0 0 24px;
      max-width: 60%;
    }
    .up-next .facts {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 0;
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
      font-family: var(--mono);
      max-width: 60%;
    }
    .up-next .fact {
      padding: 14px 0;
      border-right: 1px solid var(--line);
      padding-right: 18px;
    }
    .up-next .fact:last-child { border-right: none; }
    .up-next .fact .l {
      font-size: 9px;
      color: var(--ink-faint);
      letter-spacing: 0.22em;
      text-transform: uppercase;
      margin-bottom: 4px;
    }
    .up-next .fact .v {
      font-size: 18px;
      color: var(--ink);
      font-weight: 700;
    }
    .up-next .fact .v small {
      font-size: 11px;
      color: var(--ink-dim);
      font-weight: 400;
      margin-left: 4px;
    }
    .up-next .schedule {
      margin-top: 24px;
      max-width: 60%;
    }
    .up-next .schedule .row {
      display: grid;
      grid-template-columns: 90px 1fr auto;
      padding: 10px 0;
      border-bottom: 1px solid var(--line);
      font-family: var(--mono);
      font-size: 12px;
      align-items: center;
    }
    .up-next .schedule .row:last-child { border-bottom: none; }
    .up-next .schedule .session {
      color: var(--ink-faint);
      font-size: 10px;
      letter-spacing: 0.2em;
      text-transform: uppercase;
    }
    .up-next .schedule .day { color: var(--ink-dim); }
    .up-next .schedule .time { color: var(--ink); text-align: right; }
    .up-next .schedule .row.race .session { color: var(--red); }
    .up-next .schedule .row.race .time { color: var(--ink); font-weight: 700; }
    .up-next .cta-line {
      margin-top: 22px;
    }

    /* ───────── Footer ───────── */
    footer {
      max-width: 1440px;
      margin: 64px auto 0;
      padding: 48px 32px;
      border-top: 1px solid var(--line);
      display: grid;
      grid-template-columns: 1.5fr repeat(3, 1fr);
      gap: 48px;
    }
    footer .brand-block img {
      width: 120px;
      height: auto;
      display: block;
    }
    footer .tagline {
      font-family: var(--mono);
      font-size: 11px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--ink-faint);
      margin-top: 14px;
    }
    footer h4 {
      font-family: var(--mono);
      font-size: 10px;
      color: var(--ink-faint);
      letter-spacing: 0.22em;
      text-transform: uppercase;
      margin: 0 0 16px;
    }
    footer ul {
      list-style: none; margin: 0; padding: 0;
      display: grid; gap: 8px;
      font-size: 13px;
      color: var(--ink-dim);
    }
    footer ul a:hover { color: var(--ink); }

    .copyright {
      max-width: 1440px;
      margin: 0 auto;
      padding: 24px 32px 48px;
      font-family: var(--mono);
      font-size: 10px;
      color: var(--ink-faint);
      letter-spacing: 0.18em;
      text-transform: uppercase;
      display: flex;
      justify-content: space-between;
      border-top: 1px solid var(--line);
    }

    @media (max-width: 1100px) {
      .hero-stats { display: none; }
      .news-grid { grid-template-columns: 1fr 1fr; }
      .data-row { grid-template-columns: 1fr; }
      .hero-content { padding: 48px 32px; }
      h1.headline { font-size: clamp(56px, 14vw, 96px); }
      .car-silhouette { display: none; }
    }
    @media (max-width: 700px) {
      nav.primary { grid-template-columns: 1fr auto; padding: 20px; }
      .nav-list { display: none; }
      .live-strip-row { grid-template-columns: 1fr; gap: 8px; padding: 8px 16px; }
      .live-meta { gap: 18px; flex-wrap: wrap; }
      .news-grid { grid-template-columns: 1fr; }
      .section-title { font-size: 36px; }
      footer { grid-template-columns: 1fr 1fr; }
    }

/* ───────── Team page ───────── */
.team-page main { max-width: 1440px; margin: 0 auto; padding: 56px 32px 96px; }
.team-page .page-head {
  margin-bottom: 56px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}
.team-page h1.page-title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(56px, 9vw, 120px);
  line-height: 0.86;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin: 0;
}
.team-page h1.page-title .accent { color: var(--red); }
.team-page .page-sub {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-dim);
  max-width: 360px;
  text-align: right;
}

.role-section { margin-bottom: 72px; }
.role-section .role-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 28px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.role-section .role-head h2 {
  font-family: var(--display);
  font-weight: 900;
  font-size: 32px;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  margin: 0;
}
.role-section .role-head .count {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-faint);
  text-transform: uppercase;
}

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

.driver-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s ease, border-color 0.3s ease;
}
.driver-card:hover {
  transform: translateY(-4px);
  border-color: var(--ink-faint);
}
.driver-card .photo-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a1d, #0e0e10);
}
.driver-card .photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  transition: transform 0.6s ease;
}
.driver-card:hover .photo { transform: scale(1.04); }
.driver-card .photo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}
.driver-card .num-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  font-family: var(--display);
  font-weight: 900;
  font-size: 56px;
  line-height: 0.9;
  color: rgba(255,255,255,0.95);
  letter-spacing: -0.02em;
}
.driver-card .nat-badge {
  position: absolute;
  top: 24px;
  right: 18px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  background: rgba(0,0,0,0.5);
  padding: 6px 10px;
  backdrop-filter: blur(4px);
}

.driver-card .body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid var(--line);
}
.driver-card .name {
  font-family: var(--display);
  font-weight: 900;
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0;
}
.driver-card .role {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-dim);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}
.driver-card .role .arrow {
  width: 10px; height: 1px;
  background: currentColor;
  position: relative;
}
.driver-card .role .arrow::after {
  content: "";
  position: absolute;
  right: 0; top: -2px;
  width: 5px; height: 5px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.driver-card:hover .role { color: var(--ink); }

/* Featured (race driver) variant: bigger numbers, taller photo */
.driver-card.featured .photo-wrap { aspect-ratio: 4/5; }
.driver-card.featured .num-badge { font-size: 88px; }
.driver-card.featured .name { font-size: 40px; }

/* Smaller variant for academy / single-card row */
.team-grid.cols-4 .driver-card .num-badge { font-size: 44px; }
.team-grid.cols-4 .driver-card .name { font-size: 22px; }

@media (max-width: 1100px) {
  .team-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .team-grid.cols-2,
  .team-grid.cols-4 { grid-template-columns: 1fr; }
  .team-page .page-head { flex-direction: column; align-items: flex-start; }
  .team-page .page-sub { text-align: left; }
}

/* ───────── Person page ───────── */
.person-page main { /* unused — body sections are direct children of body */ }

.person-hero { max-width: 1440px; margin: 0 auto; padding: 24px 32px 0; }
.person-hero .ph-frame {
  position: relative;
  border: 1px solid var(--line);
  background: #0a0a0a;
  min-height: 620px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.person-hero .ph-photo {
  position: relative;
  background-size: cover;
  background-position: center 18%;
  min-height: 620px;
  filter: saturate(0.9) contrast(1.05);
}
.person-hero .ph-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 70%, rgba(10,10,10,0.85) 100%);
}
.person-hero .ph-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.7) 30%, transparent 50%);
  pointer-events: none;
}
.person-hero .ph-content {
  position: relative;
  padding: 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
  grid-column: 1 / 2;
}
.person-hero .back-link {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 32px;
}
.person-hero .back-link:hover { color: var(--ink); }
.person-hero .ph-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-dim);
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
}
.person-hero .ph-meta .role { color: var(--red); }
.person-hero .ph-meta .num { color: var(--ink); font-weight: 700; }
.person-hero .ph-meta .sep {
  width: 4px; height: 4px;
  background: var(--ink-faint);
  border-radius: 50%;
}
.person-hero .ph-name {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(64px, 10vw, 140px);
  line-height: 0.86;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin: 0 0 28px;
}
.person-hero .ph-name .last {
  -webkit-text-stroke: 1.5px var(--ink);
  color: transparent;
}
.person-hero .ph-intro {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-dim);
  max-width: 480px;
  margin: 0 0 32px;
}
.person-hero .ph-socials {
  display: flex;
  gap: 22px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.person-hero .ph-socials a {
  color: var(--ink-dim);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.person-hero .ph-socials a:hover { color: var(--ink); border-bottom-color: var(--red); }

/* Body */
.person-body {
  max-width: 1440px;
  margin: 0 auto;
  padding: 64px 32px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 64px;
}
.block-title {
  font-family: var(--display);
  font-weight: 900;
  font-size: 28px;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.bio .rich {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
}
.bio .rich p { margin: 0 0 18px; }
.bio .rich a { color: var(--ink); border-bottom: 1px solid var(--ink-faint); }
.bio .rich a:hover { border-bottom-color: var(--red); }
.bio .rich-secondary { color: var(--ink-dim); margin-top: 24px; }

.facts .fact-list {
  margin: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.facts dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding-top: 16px;
}
.facts dd {
  margin: 4px 0 16px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

/* Accolades */
.accolades {
  max-width: 1440px;
  margin: 0 auto;
  padding: 32px 32px 64px;
}
.accolade-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.accolade-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 32px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.acc-year {
  font-family: var(--display);
  font-weight: 900;
  font-size: 22px;
  color: var(--red);
  letter-spacing: 0.02em;
}
.acc-detail {
  font-family: var(--body);
  font-size: 15px;
  color: var(--ink);
  line-height: 1.5;
}
.acc-detail p { margin: 0; }

/* Gallery */
.gallery {
  max-width: 1440px;
  margin: 0 auto;
  padding: 32px 32px 96px;
}
.gal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gal-item .gal-photo {
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line);
  transition: transform 0.4s ease;
}
.gal-item:hover .gal-photo { transform: scale(1.02); }

@media (max-width: 1100px) {
  .person-hero .ph-frame { grid-template-columns: 1fr; }
  .person-hero .ph-photo { min-height: 480px; }
  .person-hero .ph-photo::after {
    background: linear-gradient(180deg, transparent 50%, rgba(10,10,10,0.95) 100%);
  }
  .person-hero .ph-overlay {
    background: linear-gradient(180deg, transparent 30%, rgba(10,10,10,0.92) 100%);
  }
  .person-hero .ph-content {
    grid-column: 1;
    padding: 32px;
    min-height: 320px;
    justify-content: flex-end;
  }
  .person-body { grid-template-columns: 1fr; gap: 48px; }
  .gal-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .accolade-row { grid-template-columns: 70px 1fr; gap: 16px; }
  .gal-grid { grid-template-columns: 1fr 1fr; }
}

/* ───────────────────────────────────────────────────────────── */
/* MOBILE OVERRIDES — race day happens on phones                */
/* ───────────────────────────────────────────────────────────── */

/* Hamburger button — hidden by default, shown on mobile */
.nav-hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.nav-hamburger::before,
.nav-hamburger::after,
.nav-hamburger span {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-hamburger::before { top: 14px; }
.nav-hamburger span    { top: 21px; }
.nav-hamburger::after  { top: 28px; }
.nav-hamburger.open::before { top: 21px; transform: rotate(45deg); }
.nav-hamburger.open::after  { top: 21px; transform: rotate(-45deg); }
.nav-hamburger.open span    { opacity: 0; }

/* Mobile drawer */
.nav-drawer {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 80px 32px 32px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}
.nav-drawer.open { transform: translateX(0); }
.nav-drawer .drawer-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  color: var(--ink);
  font-size: 18px;
}
.nav-drawer ul {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  gap: 0;
}
.nav-drawer ul li {
  border-bottom: 1px solid var(--line);
}
.nav-drawer ul a {
  display: block;
  padding: 22px 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
}
.nav-drawer ul a.active { color: var(--red); }
.nav-drawer .drawer-aux {
  display: flex;
  gap: 12px;
  margin-top: auto;
}
.nav-drawer .drawer-aux .pill {
  flex: 1;
  text-align: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}
.nav-drawer .drawer-aux .pill.cta {
  background: var(--red);
  border-color: var(--red);
}

/* Lock body scroll while drawer open */
body.nav-locked { overflow: hidden; }

/* ──────── Mobile breakpoint (≤700px) ──────── */
@media (max-width: 700px) {
  /* Live strip: two stacked lines */
  .live-strip-row {
    grid-template-columns: 1fr;
    padding: 8px 16px;
    gap: 4px;
  }
  .live-strip { font-size: 10px; }
  .live-meta {
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
  }
  .live-meta > span { flex-shrink: 0; }
  .live-meta .label { display: none; }   /* drop "MIAMI"/"OCON"/"BEARMAN" headers */
  .live-strip .section-link { display: none; }
  .live-tag { display: none; }

  /* Nav: hamburger replaces full list */
  nav.primary {
    grid-template-columns: 1fr auto;
    padding: 14px 16px;
    gap: 12px;
  }
  .nav-list { display: none; }
  .nav-aux { display: none; }
  .nav-hamburger { display: inline-flex; align-items: center; justify-content: center; }
  .brand img { height: 44px; }

  /* Hero */
  .hero {
    padding: 12px 12px 32px;
  }
  .hero-frame { min-height: 520px; }
  .hero-photo {
    background-position: center center;
    opacity: 0.45;
  }
  .hero-photo::after {
    background:
      linear-gradient(180deg, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.5) 30%, rgba(10,10,10,0.7) 75%, rgba(10,10,10,0.95) 100%);
  }
  .hero-content {
    padding: 28px 24px 32px !important;
    max-width: 100%;
  }
  .hero-meta {
    font-size: 10px;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
  }
  h1.headline {
    font-size: clamp(48px, 14vw, 72px) !important;
    line-height: 0.88;
    margin-bottom: 18px;
  }
  .hero-sub {
    font-size: 14px;
    margin-bottom: 24px;
  }
  .hero-watermark {
    width: 56px;
    top: 16px;
    right: 16px;
  }
  .cta-row { gap: 8px; }
  .btn {
    flex: 1;
    text-align: center;
    padding: 12px 14px;
    font-size: 12px;
    justify-content: center;
  }
  .btn .arrow { display: none; }

  /* Section spacing */
  section.zone {
    padding: 36px 16px;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 20px;
  }
  .section-title { font-size: 36px; }

  /* News grid: single column, less vertical gap */
  .news-grid {
    grid-template-columns: 1fr;
    border-left: none;
    border-right: none;
  }
  .news-card .body { padding: 18px 20px 22px; }
  .news-card.featured .body { padding: 20px 20px 24px; }
  .news-card h3 { font-size: 22px; }
  .news-card.featured h3 { font-size: 26px; }
  .news-card .excerpt { font-size: 13px; }

  /* Standings + Up Next: stack */
  .data-row { grid-template-columns: 1fr; }
  .data-panel,
  .up-next { padding: 20px 20px 24px; }
  .panel-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .up-next .circuit { max-width: 100%; }
  .up-next .facts { max-width: 100%; }
  .up-next .schedule { max-width: 100%; }
  .up-next .schedule .row {
    grid-template-columns: 80px 1fr auto;
    font-size: 11px;
  }
  .up-next .track-bg { width: 280px; height: 280px; right: -80px; opacity: 0.12; }
  .up-next h3.race-name { font-size: 36px; }

  table.std .pts { width: 110px; }
  table.std .pts .num-bar { max-width: 50px; }

  /* Footer */
  footer {
    grid-template-columns: 1fr;
    padding: 36px 16px;
    gap: 28px;
  }
  footer .brand-block img { width: 88px; }
  .copyright {
    flex-direction: column;
    gap: 8px;
    padding: 16px 16px 32px;
    text-align: left;
  }

  /* Team page */
  .team-page main { padding: 32px 16px 56px; }
  .team-page .page-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 32px;
  }
  .team-page h1.page-title { font-size: 64px; }
  .team-page .page-sub { text-align: left; font-size: 11px; }
  .team-grid.cols-4 { grid-template-columns: 1fr; gap: 16px; }
  .driver-card .num-badge { font-size: 44px; top: 14px; left: 14px; }
  .driver-card .nat-badge { top: 16px; right: 14px; padding: 4px 8px; }
  .driver-card .body { padding: 18px 20px 22px; }
  .driver-card .name { font-size: 24px; }

  /* Person page */
  .person-hero {
    padding: 12px 12px 0;
  }
  .person-hero .ph-frame { min-height: 0; }
  .person-hero .ph-photo {
    min-height: 360px;
    background-position: center 12%;
  }
  .person-hero .ph-content {
    padding: 28px 20px;
    min-height: 280px;
  }
  .person-hero .back-link { margin-bottom: 18px; }
  .person-hero .ph-meta { margin-bottom: 16px; flex-wrap: wrap; gap: 10px; }
  .person-hero .ph-name {
    font-size: clamp(48px, 14vw, 80px);
    margin-bottom: 18px;
  }
  .person-hero .ph-intro {
    font-size: 14px;
    margin-bottom: 18px;
    max-width: 100%;
  }
  .person-hero .ph-socials {
    gap: 14px;
    flex-wrap: wrap;
    font-size: 10px;
  }

  .person-body {
    padding: 32px 16px;
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .block-title { font-size: 22px; margin-bottom: 18px; }
  .bio .rich { font-size: 14px; line-height: 1.65; }

  .accolades { padding: 16px 16px 32px; }
  .accolade-row {
    grid-template-columns: 60px 1fr;
    gap: 14px;
    padding: 14px 0;
  }
  .acc-year { font-size: 16px; }
  .acc-detail { font-size: 13px; }

  .gallery { padding: 16px 16px 56px; }
  .gal-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
}

/* ──────── Tablet / small desktop fine-tuning (701–1099px) ──────── */
@media (min-width: 701px) and (max-width: 1099px) {
  .nav-list { display: none; }
  .nav-aux { display: none; }
  .nav-hamburger { display: inline-flex; align-items: center; justify-content: center; }
  nav.primary { grid-template-columns: 1fr auto; }
  .live-meta { gap: 18px; flex-wrap: wrap; }
  .live-meta .label { font-size: 9px; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .data-row { grid-template-columns: 1fr; }
  .team-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .gal-grid { grid-template-columns: repeat(2, 1fr); }
  .person-body { grid-template-columns: 1fr; gap: 40px; }
}
