/* 25 Year Journey — black, white, and one light blue highlight */

@font-face { font-family: "League Spartan"; font-weight: 500; font-display: swap; src: url("../fonts/league-spartan-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "League Spartan"; font-weight: 700; font-display: swap; src: url("../fonts/league-spartan-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "League Spartan"; font-weight: 800; font-display: swap; src: url("../fonts/league-spartan-latin-800-normal.woff2") format("woff2"); }

:root {
  --black: #000;
  --panel: #0c0c0d;
  --line: #242427;
  --white: #fff;
  --grey: #b4b4ba;
  --blue: #38b6ff;          /* the highlight colour from the channel header */
  --display: "League Spartan", "Futura", "Century Gothic", "Trebuchet MS", sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--black); color: var(--white); font: 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--white); color: var(--black); padding: 8px 12px; }

h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.05; text-wrap: balance; }
h2 { font-size: clamp(2rem, 5.2vw, 3.4rem); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; margin-bottom: 36px; }
h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.2; }
.hl { color: var(--blue); }
.eyebrow { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .22em; font-size: .8rem; color: var(--blue); margin: 0 0 14px; }
.lead { font-size: clamp(1.1rem, 2.4vw, 1.4rem); color: var(--grey); margin: 0; }
.narrow { max-width: 34em; margin: 0 auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--blue); color: var(--black); font-family: var(--display); font-weight: 700; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .06em; text-decoration: none; padding: 15px 26px 13px; border: 2px solid var(--blue); border-radius: 999px; transition: background .15s, color .15s, border-color .15s; }
.btn svg { width: 22px; height: 22px; fill: currentColor; margin-top: -2px; }
.btn:hover { background: var(--white); border-color: var(--white); }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--black); }
.btn-small { font-size: .85rem; padding: 9px 18px 7px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(0,0,0,.88); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 60px; }
.brand { font-family: var(--display); font-weight: 800; text-transform: uppercase; text-decoration: none; font-size: 1.15rem; letter-spacing: .04em; white-space: nowrap; padding-top: 3px; }
.brand-25 { color: var(--blue); margin-right: 6px; }
nav { display: flex; gap: 26px; margin-left: auto; }
nav a { font-family: var(--display); font-weight: 500; text-transform: uppercase; letter-spacing: .12em; font-size: .82rem; text-decoration: none; color: var(--grey); padding-top: 3px; }
nav a:hover { color: var(--blue); }

/* Hero */
.hero { padding: clamp(56px, 11vw, 130px) 0 clamp(56px, 9vw, 110px); text-align: center; background: radial-gradient(ellipse 70% 60% at 50% 38%, rgba(56,182,255,.13), transparent 70%); }
.hero h1 img { width: min(100%, 900px); margin: 0 auto 26px; mix-blend-mode: screen; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 34px; }
.status { margin: 34px 0 0; font-family: var(--display); font-weight: 500; text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; color: var(--grey); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); margin-right: 10px; box-shadow: 0 0 0 0 rgba(56,182,255,.7); animation: pulse 2s infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 10px rgba(56,182,255,0); } }

/* Sections */
.section { padding: clamp(64px, 10vw, 112px) 0; border-top: 1px solid var(--line); }
.section-alt { background: var(--panel); }
.prose p { margin: 0 0 1.1em; color: var(--grey); max-width: 38em; }
.prose .pull { font-family: var(--display); font-weight: 700; font-size: 1.5rem; line-height: 1.2; color: var(--white); border-left: 3px solid var(--blue); padding-left: 18px; margin-top: 1.4em; }

.two-col { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: start; }
.facts { list-style: none; margin: 0; padding: 0; }
.facts li { display: flex; align-items: baseline; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts li:first-child { border-top: 1px solid var(--line); }
.facts strong { font-family: var(--display); font-weight: 800; font-size: 3.4rem; line-height: 1; color: var(--blue); min-width: 1.4em; }
.facts span { font-family: var(--display); font-weight: 500; text-transform: uppercase; letter-spacing: .12em; font-size: .9rem; }

.route { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--line); }
.route li { position: relative; padding: 28px 24px 0 0; }
.route li::before { content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--black); border: 2px solid var(--grey); }
.route .here::before { background: var(--blue); border-color: var(--blue); }
.route .here::after { content: ""; position: absolute; top: -2px; left: 0; width: 60%; height: 2px; background: var(--blue); }
.when { font-family: var(--display); font-weight: 500; text-transform: uppercase; letter-spacing: .16em; font-size: .75rem; color: var(--blue); }
.route h3 { font-size: 1.7rem; font-weight: 800; text-transform: uppercase; margin: 8px 0 6px; }
.route p { margin: 0; color: var(--grey); font-size: .95rem; }

/* Videos */
.intro { max-width: 900px; margin: clamp(48px, 7vw, 80px) auto 0; }
.intro .player { box-shadow: 0 0 0 1px var(--line), 0 24px 90px rgba(56,182,255,.22); }
.intro-title { font-size: clamp(1.4rem, 3.4vw, 2.1rem); margin: 26px 0 0; }
.player { position: relative; aspect-ratio: 16 / 9; background: #111; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.player a, .player img, .player iframe { display: block; width: 100%; height: 100%; object-fit: cover; border: 0; }
.play { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; background: var(--blue); transition: transform .15s; }
.play::after { content: ""; position: absolute; left: 34px; top: 26px; border-left: 24px solid var(--black); border-top: 16px solid transparent; border-bottom: 16px solid transparent; }
.player a:hover .play { transform: scale(1.08); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
.card { text-decoration: none; }
.card img { aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); transition: border-color .15s; }
.card h3 { font-size: 1.1rem; margin-top: 14px; transition: color .15s; }
.card:hover img { border-color: var(--blue); }
.card:hover h3 { color: var(--blue); }

.sub { text-transform: uppercase; letter-spacing: .16em; font-size: .85rem; font-weight: 700; color: var(--grey); margin: 56px 0 16px; }
.playlists { list-style: none; margin: 0 0 48px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.playlists a { display: block; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: .95rem; transition: border-color .15s, color .15s; }
.playlists a:hover { border-color: var(--blue); color: var(--blue); }

/* David */
.about { display: grid; grid-template-columns: minmax(0, 360px) 1fr; gap: 56px; align-items: center; }
.portrait { border-radius: 50%; filter: grayscale(1) contrast(1.05); }
.about h2 { margin-bottom: 24px; }
.text-link { color: var(--blue); font-weight: 600; text-decoration: none; border-bottom: 1px solid transparent; }
.text-link:hover { border-bottom-color: var(--blue); }

/* Connect */
#connect h2 { margin-bottom: 18px; }
.links { list-style: none; margin: 44px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.links li { flex: 0 0 calc(25% - 12px); }
.links a { height: 100%; display: flex; align-items: center; gap: 14px; text-align: left; padding: 18px 20px; background: var(--black); border: 1px solid var(--line); border-radius: 10px; text-decoration: none; transition: border-color .15s, transform .15s; }
.links a:hover { border-color: var(--blue); transform: translateY(-3px); }
.links svg { width: 28px; height: 28px; flex: none; fill: var(--blue); }
.links strong { display: block; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 1rem; line-height: 1.2; }
.links small { display: block; color: var(--grey); font-size: .85rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0; text-align: center; }
.site-footer img { width: 240px; margin: 0 auto 14px; }
.site-footer p { margin: 0; color: var(--grey); font-size: .85rem; }

/* Smaller screens */
@media (max-width: 860px) {
  nav { display: none; }
  .btn-small { margin-left: auto; }
  .two-col, .about { grid-template-columns: 1fr; gap: 32px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .links li { flex-basis: calc(33.333% - 11px); }
  .portrait { max-width: 240px; }
  .route { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--line); margin-top: 48px; }
  .route li { padding: 0 0 30px 26px; }
  .route li:last-child { padding-bottom: 0; }
  .route li::before { top: 2px; left: -8px; }
  .route .here::after { display: none; }
}
@media (max-width: 540px) {
  body { font-size: 16px; }
  .grid { grid-template-columns: 1fr; }
  .actions .btn { width: 100%; justify-content: center; }
  .links { gap: 10px; }
  .links li { flex-basis: calc(50% - 5px); }
  .links a { padding: 14px 12px; gap: 10px; }
  .links svg { width: 22px; height: 22px; }
  .links small { font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dot { animation: none; }
  * { transition: none !important; }
}
@media (max-width: 540px) { .play { transform: scale(.7); } .player a:hover .play { transform: scale(.76); } }
