/* The Seeking Servant — styles
   Tokens adapted from the PGL Major Singapore 2026 site, simplified. */
:root {
  --ink: #040504;
  --panel: #0B0C0B;
  --panel-2: #111311;
  --bone: #DAD9D6;
  --white: #FFFFFF;
  --grey: #8A8987;
  --gold: #C9B294;
  --red: #E6101D;
  --red-hot: #FF3B45;
  --line: rgba(218, 217, 214, .14);
  --line-strong: rgba(218, 217, 214, .4);
  --gutter: clamp(16px, 4vw, 120px);
  --section: clamp(64px, 8vw, 112px);
  --display: 'Bebas Neue', Impact, sans-serif;
  --body: 'Oxanium', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ink); color: var(--bone);
  font-family: var(--body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--red); }
a:hover { color: var(--red-hot); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.g { padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: var(--section); padding-bottom: var(--section); }
.d { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; }
.lb { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.muted { color: var(--grey); }
.gold { color: var(--gold); }
.red { color: var(--red); }
.white { color: var(--white); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { margin: 0; color: var(--white); }
h2.d { font-size: clamp(44px, 4.4vw, 76px); line-height: .9; }
p { margin: 0; }

/* Buttons & tags */
.btn {
  display: inline-block; font-family: var(--body); font-size: 14px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  padding: 12px 24px; border: 1px solid var(--red); background: var(--red); color: var(--white);
  cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--red-hot); border-color: var(--red-hot); color: var(--white); }
.btn.ghost { background: transparent; color: var(--bone); border-color: rgba(218,217,214,.55); }
.btn.ghost:hover { border-color: var(--white); color: var(--white); }
.btn.light { background: var(--bone); border-color: var(--bone); color: var(--ink); }
.btn.sm { font-size: 11px; padding: 7px 14px; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; background: var(--bone); color: var(--ink); }
.tag.red { background: var(--red); color: var(--white); }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; height: 72px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  background: rgba(4,5,4,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.logo { color: var(--white); text-decoration: none; font-size: 28px; line-height: 1; }
.logo span { color: var(--red); }
.logo:hover { color: var(--white); }
.nav { display: flex; gap: 36px; align-items: center; }
.nav a { color: var(--bone); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--red); padding-bottom: 4px; }
.nav .btn { color: var(--white); box-shadow: none; padding-bottom: 7px; }
.menu-btn { display: none; background: transparent; border: 1px solid var(--line-strong); color: var(--bone); width: 44px; height: 44px; cursor: pointer; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--ink); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; opacity: .5; }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, #040504 0%, rgba(4,5,4,.92) 30%, rgba(4,5,4,.45) 62%, rgba(4,5,4,.6) 100%),
  linear-gradient(0deg, #040504 0%, rgba(4,5,4,0) 28%); }
.hero-glow { position: absolute; inset: 0; background: radial-gradient(circle at 72% 52%, rgba(230,16,29,.28) 0%, rgba(230,16,29,0) 45%); }
.hero-inner { position: relative; padding-top: 28px; padding-bottom: 56px; }
.hud { position: absolute; width: 22px; height: 22px; border-color: var(--grey); border-style: solid; border-width: 0; }
.hud.tl { left: clamp(8px,2vw,60px); top: 16px; border-left-width: 1px; border-top-width: 1px; }
.hud.tr { right: clamp(8px,2vw,60px); top: 16px; border-right-width: 1px; border-top-width: 1px; }
.hud.bl { left: clamp(8px,2vw,60px); bottom: 16px; border-left-width: 1px; border-bottom-width: 1px; }
.hud.br { right: clamp(8px,2vw,60px); bottom: 16px; border-right-width: 1px; border-bottom-width: 1px; }
.hero-meta { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 10px; color: var(--grey); padding-top: 6px; }
.hero-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 40px; align-items: center; min-height: 680px; }
.hero h1 { font-size: clamp(64px, 7.2vw, 150px); line-height: .86; }
.hero h1 em, .h-em { font-style: normal; color: var(--red); }
.hero-lede { margin-top: 24px; max-width: 440px; font-size: 17px; }

/* Page hero (inner pages) */
.page-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero .hero-inner { padding-top: 72px; padding-bottom: 72px; }
.page-hero h1 { font-size: clamp(56px, 6vw, 120px); line-height: .88; }
.page-hero p.lede { margin-top: 18px; max-width: 560px; font-size: 17px; }

/* Verse carousel */
.verse-wrap { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.stage { position: relative; width: 100%; height: 600px; perspective: 1400px; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.stage.dragging { cursor: grabbing; }
.tilt, .ring { position: absolute; inset: 0; transform-style: preserve-3d; }
.tilt { transition: transform .3s ease-out; }
.ring { transition: transform .9s cubic-bezier(.22,1,.36,1); }
.stage.dragging .ring { transition: none; }
.vcard {
  position: absolute; left: 50%; top: 50%; width: 310px; height: 520px; margin: -260px 0 0 -155px;
  padding: 22px 22px 20px; background: var(--panel); border: 1px solid rgba(218,217,214,.22);
  display: flex; flex-direction: column; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  opacity: .42; transition: opacity .5s;
}
.vcard.active { opacity: 1; }
.vcard::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--red); }
.vcard .glare { position: absolute; inset: 0; pointer-events: none; }
.vcard .top, .vcard .foot { display: flex; justify-content: space-between; font-size: 10px; color: var(--grey); }
.vcard .today { color: var(--red); }
.vcard .emb { position: relative; align-self: center; width: 76px; height: 76px; margin-top: 8px; flex-shrink: 0; }
.vcard .emb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.vcard .emb .shine { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; -webkit-mask-image: var(--m); mask-image: var(--m); -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; }
.vcard .emb .sweep { background: linear-gradient(105deg, rgba(255,255,255,0) 40%, rgba(255,236,190,.6) 50%, rgba(255,255,255,0) 60%); background-size: 250% 100%; background-repeat: no-repeat; animation: sweep 4.5s ease-in-out infinite; }
.vcard:not(.active) .emb .sweep { animation: none; opacity: 0; }
@keyframes sweep { 0% { background-position: -120% 0; } 55%, 100% { background-position: 220% 0; } }
.vcard .ref { margin-top: 10px; font-size: 36px; line-height: .92; color: var(--white); }
.vcard .text { margin-top: 12px; font-size: 17px; line-height: 1.5; flex-grow: 1; overflow: hidden; }
.vcard .text.md { font-size: 15.5px; }
.vcard .text.sm { font-size: 14px; line-height: 1.45; }
.vcard .text.xs { font-size: 12.5px; line-height: 1.4; }
.vcard .devo { display: inline-block; margin: 10px 0 12px; color: var(--red); text-decoration: none; font-size: 11px; }
.vcard .devo:hover { color: var(--white); }
.vcard .foot a { color: var(--grey); text-decoration: none; }
.vcard .foot a:hover { color: var(--white); }
.vcard .foot { border-top: 1px solid rgba(218,217,214,.18); padding-top: 12px; }
.controls { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; }
.arrow { width: 44px; height: 44px; background: transparent; border: 1px solid var(--line-strong); color: var(--bone); cursor: pointer; font-family: inherit; font-size: 18px; }
.arrow:hover { border-color: var(--white); color: var(--white); }
.day span { display: block; font-size: 16px; letter-spacing: 0; color: inherit; }
.day { background: transparent; border: 0; border-bottom: 2px solid transparent; color: var(--grey); cursor: pointer; font-family: inherit; font-size: 11px; padding: 12px 2px; }
.day[aria-pressed="true"] { color: var(--white); border-bottom-color: var(--red); }
.hint { margin-top: -8px; font-size: 10px; color: var(--grey); }

/* Strip */
.strip { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 22px; color: var(--grey); padding-top: 14px; padding-bottom: 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip .sep { color: var(--red); }

/* Grids & cards */
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.step { border-top: 1px solid var(--line-strong); padding-top: 18px; }
.step.hot { border-top: 3px solid var(--red); padding-top: 16px; }
.step h3 { margin: 10px 0 8px; font-size: 36px; line-height: .95; }
.step p { font-size: 15px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats > div { padding: 28px 0; }
.stats .num { font-size: 64px; line-height: 1; color: var(--white); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.section-head a { text-decoration: none; }
.video { text-decoration: none; color: var(--bone); display: block; }
.video:hover { color: var(--bone); }
.thumb { aspect-ratio: 16/9; background: var(--panel-2); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--grey); font-size: 13px; overflow: hidden; }
.thumb iframe, .thumb img { width: 100%; height: 100%; border: 0; object-fit: cover; }
.video .lb { margin: 14px 0 2px; color: var(--red); font-size: 11px; }
.video .title { font-size: 30px; line-height: 1; color: var(--white); }
.placeholder { background: var(--panel-2); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--grey); text-align: center; padding: 16px; }
.panel { background: var(--panel); border: 1px solid var(--line); padding: 28px; }

/* Fellowship band */
.band { background: #000; border-top: 1px solid var(--line); }
.band-grid { display: grid; grid-template-columns: 4fr 7fr; gap: 72px; align-items: center; }
.band h2.big { font-size: clamp(64px, 6.4vw, 130px); line-height: .86; }
.figcap { margin-top: 12px; font-size: 10px; color: var(--grey); display: flex; justify-content: space-between; }
.signup { display: flex; flex-direction: column; gap: 10px; margin-top: 44px; max-width: 520px; }
.signup .row { display: flex; flex-wrap: wrap; }
.signup input { flex: 1 1 220px; font: inherit; padding: 12px 16px; background: var(--panel); border: 1px solid rgba(218,217,214,.35); color: var(--white); }
.signup .msg { font-size: 13px; color: var(--gold); min-height: 1.4em; }

/* Media page */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 28px 0 8px; }
.chip { font-family: var(--body); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 8px 14px; background: transparent; color: var(--bone); border: 1px solid var(--line-strong); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: var(--white); }
.search { font: inherit; padding: 10px 14px; background: var(--panel); border: 1px solid rgba(218,217,214,.35); color: var(--white); min-width: 260px; }
.feature { display: grid; grid-template-columns: 7fr 5fr; gap: 40px; align-items: center; }
.cta-strip { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; border: 1px solid var(--line); border-left: 3px solid var(--red); padding: 28px 32px; background: var(--panel); }

/* About */
.timeline { border-left: 1px solid var(--line-strong); margin-left: 6px; }
.timeline .item { position: relative; padding: 0 0 36px 28px; }
.timeline .item::before { content: ""; position: absolute; left: -6px; top: 6px; width: 11px; height: 11px; background: var(--red); }
.timeline h3 { font-size: 30px; line-height: 1; margin: 4px 0 6px; }
details { border-top: 1px solid var(--line); padding: 18px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-family: var(--display); font-size: 28px; color: var(--white); text-transform: uppercase; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--red); }
details[open] summary::after { content: "–"; }
details p { margin-top: 10px; max-width: 760px; }

/* Fellowship page */
.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tier { border: 1px solid var(--line-strong); padding: 36px; display: flex; flex-direction: column; gap: 18px; background: var(--panel); }
.tier.hot { border: 1px solid var(--red); box-shadow: inset 0 3px 0 var(--red); }
.tier .price { font-size: 72px; line-height: 1; color: var(--white); }
.tier ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.tier li { padding-left: 22px; position: relative; }
.tier li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 2px; background: var(--red); }
.week { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-top: 48px; padding-bottom: 32px; }
.foot-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; }
.foot-links a { color: var(--grey); text-decoration: none; }
.foot-links a:hover { color: var(--white); }
.copyright { margin-top: 36px; font-size: 11px; color: var(--grey); }

/* Responsive */
@media (max-width: 1100px) {
  .grid-4, .stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-grid, .grid-2, .band-grid, .feature, .tiers, .week { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .hero-grid { min-height: 0; padding-top: 32px; }
  .stage { height: 580px; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 18px; padding: 24px var(--gutter); background: var(--ink); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
}
@media (max-width: 520px) {
  .grid-4, .stats { grid-template-columns: 1fr; }
  .stage { height: 570px; }
  .controls .days { order: 3; width: 100%; justify-content: center; }
  .vcard { transform-origin: center; }
}
@media (prefers-reduced-motion: reduce) {
  .ring, .tilt, .vcard { transition: none !important; }
  html { scroll-behavior: auto; }
}
