/* =========================================================
   GVRPJ "Daylight" theme: light, warm off-white with the logo's coral.
   Coral is split in two so both pass WCAG AA on this background:
   --accent-fill (logo coral) for buttons, --accent (deeper coral) for text and icons.
   Radius rule: buttons/tabs/chips are pills, cards are 16px.
   ========================================================= */
:root {
  --bg: #f6f5f2;
  --bg-alt: #efede8;
  --surface: #ffffff;
  --border: #e3e0da;
  --border-strong: #cfcbc3;
  --text: #15191f;
  --muted: #58616d;
  --accent: #b8442a;          /* coral for text and icons */
  --accent-fill: #ec6d4d;     /* logo coral for buttons */
  --accent-soft: rgba(236, 109, 77, 0.1);
  --on-accent: #1a0d08;       /* dark text on coral passes WCAG AA; white does not */
  --shadow: 0 1px 2px rgba(60, 45, 30, 0.06), 0 12px 32px -16px rgba(60, 45, 30, 0.18);

  --font: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Montserrat', var(--font);
  --radius: 16px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 0.5em; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-family: var(--font); font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--accent-fill); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.center-text { text-align: center; margin-top: 2rem; }
.icon { font-size: 1.2em; line-height: 1; flex-shrink: 0; }
svg.icon { width: 1em; height: 1em; }
.icon-lg { font-size: 36px; }
.grad { color: var(--accent); }
/* Tracked coral caps, as in the banner's "GREENVILLE ROLEPLAY JUNCTION" line */
.eyebrow { font-family: var(--font-display); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 60ch; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--accent-fill); color: var(--on-accent); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  padding: 0.75em 1.35em; border-radius: 999px; font-weight: 500; font-size: 1rem; text-decoration: none;
  border: 1px solid transparent; white-space: nowrap;
  transition: transform 0.2s var(--ease), background-color 0.2s, border-color 0.2s;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent-fill); color: var(--on-accent); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent-fill) 88%, var(--text)); }
.btn-ghost { background: var(--surface); border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }
.btn-sm { padding: 0.5em 1em; font-size: 0.925rem; }
.btn-lg { padding: 0.85em 1.6em; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.btn-row.center { justify-content: center; }

.text-link { display: inline-flex; align-items: center; gap: 0.35em; color: var(--accent); font-weight: 500; text-decoration: none; }
.text-link .icon { transition: transform 0.25s var(--ease); }
.text-link:hover .icon { transform: translateX(3px); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 1.125rem; letter-spacing: -0.02em; }
.brand .logo { width: 32px; height: 32px; border-radius: 9px; }
.nav-menu { display: flex; align-items: center; gap: 20px; }
.nav-links { display: flex; list-style: none; gap: 2px; }
.nav-links a {
  display: block; padding: 7px 12px; white-space: nowrap; border-radius: 999px; text-decoration: none; color: var(--muted);
  font-weight: 500; font-size: 0.95rem; transition: color 0.2s, background-color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a[aria-current='page'] { color: var(--text); background: var(--bg-alt); }
.nav-toggle { display: none; background: var(--surface); border: 1px solid var(--border); color: var(--text); border-radius: 999px; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; font-size: 1.1rem; }
.nav-toggle .icon-close { display: none; }

@media (max-width: 1199px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; gap: 16px;
    padding: 12px var(--gutter) 24px; background: var(--bg); border-bottom: 1px solid var(--border);
    opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity 0.2s, transform 0.3s var(--ease);
    max-height: calc(100dvh - 68px); overflow-y: auto;
  }
  .nav-links { flex-direction: column; }
  .nav-links a { padding: 12px 14px; border-radius: 12px; font-size: 1.05rem; }
  .nav-open .nav-menu { opacity: 1; transform: none; pointer-events: auto; }
  .nav-open .nav-toggle .icon-open { display: none; }
  .nav-open .nav-toggle .icon-close { display: inline; }
  .nav-open { overflow: hidden; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-tight { padding-top: clamp(16px, 3vw, 32px); }
.section-alt { background: var(--bg-alt); }
.section-head { margin-bottom: clamp(32px, 5vw, 56px); max-width: 680px; }
.section-head .lead { margin-bottom: 0; }
.section-foot { margin: 2.5rem 0 0; }

/* ---------- Home hero ---------- */
.hero { padding: clamp(56px, 8vw, 96px) 0 clamp(56px, 8vw, 96px); border-bottom: 1px solid var(--border); }
.hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { max-width: 12ch; }
.hero-visual { justify-self: end; width: min(100%, 400px); }
.hero-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.hero-mark img { width: 100%; height: auto; border-radius: 28px; box-shadow: 0 30px 60px -28px rgba(60, 45, 30, 0.45), 0 0 0 1px var(--border); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { justify-self: start; width: min(45%, 180px); grid-row: 1; }
}

.page-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(24px, 4vw, 48px); }
.page-hero h1 { max-width: 16ch; }
.not-found { text-align: center; min-height: 60vh; display: grid; place-items: center; }
.not-found h1, .not-found .lead { margin-inline: auto; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-top: 1px solid var(--border); }
.stat { padding: 28px 0 0; display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.stat + .stat { padding-left: clamp(16px, 4vw, 40px); border-left: 1px solid var(--border); }
.stat dd { margin: 0; font-size: clamp(2.2rem, 4.4vw, 3.25rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.stat dt { color: var(--muted); font-size: 0.95rem; margin-top: 6px; }
@media (max-width: 600px) {
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--border); }
}

/* ---------- Home: highlights (2-col list, no cards) ---------- */
.highlights { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 56px; max-width: 980px; }
.highlights li { display: flex; gap: 16px; align-items: flex-start; }
.highlights li > .icon { font-size: 1.5rem; color: var(--accent); margin-top: 2px; }
.highlights h3 { margin-bottom: 0.2em; }
.highlights p { margin: 0; }
@media (max-width: 720px) { .highlights { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Home: department rows ---------- */
.dept-rows { list-style: none; border-top: 1px solid var(--border-strong); }
.dept-rows a {
  display: grid; grid-template-columns: auto 1fr 1.4fr auto; gap: 24px; align-items: center;
  padding: 28px 4px; text-decoration: none; border-bottom: 1px solid var(--border-strong);
}
.dept-row-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--accent); font-size: 1.4rem; }
.dept-row-name { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; letter-spacing: -0.02em; }
.dept-row-sum { font-size: 0.975rem; }
.dept-row-go { color: var(--muted); transition: transform 0.25s var(--ease), color 0.2s; }
.dept-rows a:hover .dept-row-go { transform: translateX(4px); color: var(--accent); }
.dept-rows a:hover .dept-row-name { color: var(--accent); }
@media (max-width: 760px) {
  .dept-rows a { grid-template-columns: auto 1fr auto; gap: 8px 16px; }
  .dept-row-sum { grid-column: 2 / 3; }
  .dept-row-go { grid-row: 1; grid-column: 3; }
}

/* ---------- Home: GVRPJ One banner ---------- */
.one-banner {
  padding: clamp(32px, 6vw, 72px); border-radius: var(--radius); background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
}
.one-banner .lead { color: var(--text); opacity: 0.8; }
.tier-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 1.75rem 0 2rem; }
.tier-chips li { padding: 6px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-weight: 500; font-size: 0.95rem; }

/* ---------- Home: social pills ---------- */
.social-pills { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; }
.social-pills a {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; text-decoration: none;
  background: var(--surface); border: 1px solid var(--border); font-weight: 500; transition: border-color 0.2s;
}
.social-pills a:hover { border-color: var(--text); }
.social-pills .icon { font-size: 1.25rem; }

/* ---------- CTA ---------- */
.cta-band { text-align: center; padding: clamp(40px, 7vw, 88px) var(--gutter); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.cta-band .lead { margin-inline: auto; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Generic layout ---------- */
.story { max-width: 820px; }
.story h2 { max-width: 20ch; }
.prose p { color: var(--muted); font-size: 1.125rem; max-width: 65ch; }
.prose p:first-child { color: var(--text); font-size: 1.3rem; letter-spacing: -0.01em; }
.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-features { grid-template-columns: repeat(6, 1fr); }
.grid-features > * { grid-column: span 2; }
.grid-features > :nth-child(4) { grid-column: 2 / span 2; }
.grid-socials { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 700px) { .grid-socials { grid-template-columns: 1fr; } }
.grid-staff { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-features { grid-template-columns: 1fr 1fr; }
  .grid-features > *, .grid-features > :nth-child(4) { grid-column: auto; }
  .grid-features > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) { .grid-features { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.card {
  display: block; position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.3s var(--ease);
}
a.card:hover, .social-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow); }
.card p:last-child { margin-bottom: 0; }
.feature-icon, .dept-icon {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 20px; font-size: 1.3rem; flex-shrink: 0;
}
.feature h3 { margin-bottom: 0.35em; }

/* Departments page */
.dept-list { display: grid; gap: 16px; }
.dept-card { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 56px; padding: clamp(24px, 4vw, 48px); }
.dept-head { display: flex; align-items: center; gap: 16px; grid-column: 1 / -1; }
.dept-head h2 { margin: 0; }
.dept-short { color: var(--muted); font-weight: 400; font-size: 0.6em; letter-spacing: 0; margin-left: 4px; }
.dept-icon-lg { width: 56px; height: 56px; margin: 0; font-size: 1.6rem; }
.dept-card .lead { margin-top: 1.25rem; grid-column: 1 / -1; }
.dept-body h3 { font-size: 0.95rem; color: var(--muted); font-weight: 500; margin-top: 1.4rem; }
.dept-card .btn-row { grid-column: 1 / -1; margin-top: 1rem; }
@media (max-width: 800px) { .dept-card { grid-template-columns: 1fr; } }
.docs-note { margin-top: 2.5rem; }
.docs-note a { color: var(--accent); }

.check-list { list-style: none; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { color: var(--accent); margin-top: 0.2em; font-size: 1.05em; }

/* GVRPJ One page */
.tiers { align-items: stretch; }
.tier { display: flex; flex-direction: column; }
.tier-featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.tier-badge {
  position: absolute; top: 24px; right: 24px; font-size: 0.8rem; font-weight: 500;
  padding: 4px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent);
}
.tier-name { font-size: 1.5rem; margin-bottom: 0.25em; }
.tier-price { font-size: 1.35rem; font-weight: 600; margin-bottom: 0.6em; }
.tier-price .muted { font-size: 0.95rem; font-weight: 400; }
.tier .check-list { margin: 1.25rem 0 2rem; flex: 1; }
.tier-featured .btn-primary { background: var(--accent-fill); }
.tier:not(.tier-featured) .btn-primary { background: var(--text); color: var(--bg); }
.tier:not(.tier-featured) .btn-primary:hover { background: color-mix(in srgb, var(--text) 85%, var(--bg)); }

.charity-note { display: flex; gap: 20px; align-items: flex-start; margin-top: 16px; padding: clamp(22px, 3vw, 32px); border-radius: var(--radius); background: var(--accent-soft); }
.charity-note .feature-icon { background: var(--surface); margin: 0; }
.charity-note h2 { font-size: 1.25rem; margin-bottom: 0.3em; }
.charity-note p { margin: 0; }

.faq { display: grid; border-top: 1px solid var(--border-strong); }
.faq details { border-bottom: 1px solid var(--border-strong); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 0; font-weight: 500; font-size: 1.075rem; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--muted); font-size: 1.4rem; line-height: 1; transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 22px; margin: 0; max-width: 65ch; }

/* Socials page */
.social-card {
  display: flex; align-items: center; gap: 18px; padding: 24px; border-radius: var(--radius); text-decoration: none;
  background: var(--surface); border: 1px solid var(--border); transition: border-color 0.2s, box-shadow 0.3s var(--ease);
}
.social-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 999px; background: var(--bg-alt); flex-shrink: 0; font-size: 1.5rem; }
.social-body { display: flex; flex-direction: column; min-width: 0; line-height: 1.45; }
.social-name { font-weight: 600; font-size: 1.1rem; }
.social-handle { color: var(--accent); font-size: 0.925rem; }
.social-body .muted { font-size: 0.925rem; }
.social-go { margin-left: auto; color: var(--muted); align-self: flex-start; }

/* ---------- Apply: tabs + embeds ---------- */
.tab-list { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--border); margin-bottom: 20px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tab {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap;
  padding: 10px 18px; border-radius: 999px; border: 0; background: none; color: var(--muted); font: inherit; font-weight: 500; cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.tab:hover { color: var(--text); }
.tab[aria-selected='true'] { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.tab-panel h2 { font-size: 1.5rem; }
.tab-panel[hidden] { display: none; }

.embed { border-radius: 12px; overflow: hidden; background: #fff; margin-top: 20px; border: 1px solid var(--border); }
.embed iframe { width: 100%; height: var(--h); border: 0; }
.embed-sheet iframe { height: min(var(--h), 75vh); }
@media (max-width: 600px) {
  .embed-form iframe { height: calc(var(--h) * 1.3); }
  .tab-panel.card { padding: 16px; }
}
.embed-note { font-size: 0.9rem; color: var(--muted); margin: 12px 0 0; }
.embed-empty {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px;
  padding: 56px 24px; margin-top: 20px; border-radius: 12px; border: 1px dashed var(--border-strong); background: var(--bg-alt);
}
.embed-empty > .icon { color: var(--accent); margin-bottom: 12px; }
.embed-empty p { margin: 0; }
.embed-empty .btn { margin-top: 20px; }
.sheet-list { display: grid; gap: 16px; }
.sheet-card h3 { display: flex; gap: 10px; align-items: center; }
.sheet-card h3 .icon { color: var(--accent); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 340px 1fr; gap: 16px; align-items: start; }
.contact-side { display: grid; gap: 12px; position: sticky; top: 92px; }
.contact-card { display: flex; align-items: center; gap: 16px; padding: 20px; }
.contact-card .feature-icon { margin: 0; }
.contact-card > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.contact-card strong { font-weight: 500; overflow-wrap: break-word; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .contact-side { position: static; } }

.partner-block { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .partner-block { grid-template-columns: 1fr; } }
.steps { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--border-strong); }
.steps li { padding: 22px 0; border-bottom: 1px solid var(--border-strong); color: var(--muted); }
.steps strong { display: block; color: var(--text); font-weight: 600; margin-bottom: 4px; }
.steps a { color: var(--accent); }

.staff-card { display: flex; flex-direction: column; align-items: flex-start; }
.avatar { width: 72px; height: 72px; border-radius: 999px; object-fit: cover; margin-bottom: 20px; }
.avatar-fallback { display: grid; place-items: center; font-weight: 600; font-size: 1.4rem; color: var(--accent); background: var(--accent-soft); }
.staff-card h3 { margin-bottom: 0.1em; }
.staff-role { color: var(--muted); margin-bottom: 0.8em; }
.staff-discord { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: var(--bg-alt); font-size: 0.875rem; }
.staff-for { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 18px; font-size: 0.9rem; font-weight: 500; color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { margin: 16px 0 20px; max-width: 34ch; font-size: 0.95rem; }
.site-footer h3 { font-size: 0.9rem; font-weight: 500; color: var(--muted); margin-bottom: 16px; letter-spacing: 0; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer ul a { text-decoration: none; font-size: 0.95rem; overflow-wrap: break-word; }
.site-footer ul a:hover { color: var(--accent); }
.social-row { display: flex !important; gap: 8px !important; flex-wrap: wrap; }
.social-row a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--border); transition: border-color 0.2s; }
.social-row a:hover { border-color: var(--text); color: var(--text) !important; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: 56px; padding-block: 24px; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.875rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Brand display face on numbers and names, like the logo lettering */
.stat dd, .dept-row-name, .tier-name, .brand, .social-name { font-family: var(--font-display); font-weight: 800; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- GVRPJ One: tiers, comparison, catalog ---------- */
/* Tier colors (gray / blue / purple) come from the official GVRPJ One pricing guide; used only as tier markers. */
.tier { border-top: 3px solid var(--tier); }
.tier .tier-name { color: var(--tier); }
.tier-price .muted { font-size: 0.95rem; font-weight: 400; margin-left: 2px; }

.compare-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 0.95rem; }
.compare th, .compare td { padding: 14px 18px; text-align: center; }
.compare thead th { position: sticky; top: 0; background: var(--surface); font-family: var(--font-display); font-weight: 800; font-size: 1rem; border-bottom: 2px solid var(--tier, var(--border-strong)); color: var(--tier, var(--text)); }
.compare thead th span { display: block; font-family: var(--font); font-weight: 400; font-size: 0.85rem; color: var(--muted); }
.compare thead th:first-child, .compare tbody th { text-align: left; }
.compare tbody th { font-weight: 500; color: var(--text); }
.compare tbody tr:nth-child(even) { background: var(--bg-alt); }
.compare td { font-variant-numeric: tabular-nums; font-weight: 500; }
.compare .yes { color: var(--accent); font-size: 1.1rem; }
.compare .no { color: #a09a90; font-size: 1rem; }
.compare tbody th:first-child, .compare thead th:first-child { position: sticky; left: 0; background: inherit; z-index: 1; }
.compare tbody tr:nth-child(odd) th { background: var(--surface); }

.catalog { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.catalog li { display: flex; justify-content: space-between; gap: 24px; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.catalog h3 { margin-bottom: 0.3em; }
.catalog p { margin: 0; font-size: 0.95rem; }
.catalog-price { display: flex; flex-direction: column; align-items: flex-end; flex-shrink: 0; text-align: right; }
.catalog-price strong { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; color: var(--accent); }
.catalog-price .muted { font-size: 0.85rem; }
@media (max-width: 760px) { .catalog { grid-template-columns: 1fr; } }

/* ---------- Apply extras ---------- */
.apply-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; margin: 1.75rem 0; }
.apply-lists h3 { font-size: 1rem; margin-bottom: 0.9em; }
.apply-lists .check-list { font-size: 0.975rem; }
@media (max-width: 640px) { .apply-lists { grid-template-columns: 1fr; } }
.apply-note { font-size: 0.925rem; color: var(--muted); padding: 16px 18px; border: 1px solid var(--border); background: var(--bg-alt); border-radius: 12px; }
.apply-discord { margin-top: 1.5rem; }
.apply-steps { list-style: none; display: grid; gap: 12px; border-top: 1px solid var(--border-strong); }
.apply-steps li { padding: 16px 0 4px; color: var(--muted); }
.apply-steps strong { color: var(--text); }
.contact-main h2 { font-size: 1.6rem; }
.catalog li:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* ---------- Leadership, grouped by rank ---------- */
.staff-group + .staff-group { margin-top: 40px; }
.staff-group-title { font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.staff-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.staff-item { display: flex; align-items: center; gap: 16px; padding: 16px 20px; }
.staff-item .avatar { width: 52px; height: 52px; margin: 0; font-size: 1.1rem; }
.staff-name { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; overflow-wrap: anywhere; }
.staff-item .muted { margin: 4px 0 0; font-size: 0.9rem; }

/* ---------- Department logos ---------- */
.dept-logo { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; border: 1px solid var(--border); flex-shrink: 0; }
.dept-logo-lg { width: 64px; height: 64px; border-radius: 16px; }

/* ---------- Civilian application extras ---------- */
.howto { margin-top: 1.5rem; border-top: 1px solid var(--border-strong); border-bottom: 1px solid var(--border-strong); }
.howto summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 500; display: flex; justify-content: space-between; }
.howto summary::-webkit-details-marker { display: none; }
.howto summary::after { content: '+'; color: var(--muted); font-size: 1.3rem; line-height: 1; }
.howto[open] summary::after { content: '−'; }
.howto-body { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 32px; padding-bottom: 18px; font-size: 0.95rem; color: var(--muted); }
.howto-body h4 { margin: 0 0 6px; color: var(--text); font-size: 0.95rem; }
.howto-body ol { padding-left: 1.2em; display: grid; gap: 4px; }
@media (max-width: 640px) { .howto-body { grid-template-columns: 1fr; } }
.fastpass { margin-top: 1.5rem; padding: clamp(18px, 3vw, 26px); border-radius: var(--radius); background: var(--accent-soft); }
.fastpass h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 0.5em; }
.fastpass h3 .icon { color: var(--accent); }
.fastpass p { margin-bottom: 0.75em; }
.fastpass-label { font-weight: 600; font-size: 0.9rem; margin: 1rem 0 0 !important; }
.fastpass .tier-chips { margin: 0.6rem 0 1rem; }

/* ---------- Affiliates ---------- */
.affil-how { margin-top: 1.25rem; }
.inline-link { color: var(--accent); }
.affil-req { padding: clamp(20px, 3vw, 28px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.affil-req h3 { margin-bottom: 1rem; }
.affil-req .check-list { margin-bottom: 1.25rem; }
.affil-req p { margin: 0.6rem 0 0; }
.staff-discord { margin: 4px 0 0; }
.staff-handles { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.staff-handles .staff-discord { margin: 0; }

/* ---------- Rules and resources ---------- */
.resource-list { list-style: none; border-top: 1px solid var(--border-strong); }
.resource-list a { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 20px 4px; text-decoration: none; border-bottom: 1px solid var(--border-strong); }
.resource-list a > span:nth-child(2) { display: flex; flex-direction: column; }
.resource-title { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; }
.resource-list .muted { font-size: 0.95rem; }
.resource-list a:hover .resource-title { color: var(--accent); }
.resource-list a:hover .dept-row-go { transform: translateX(4px); color: var(--accent); }
.compare-note { margin-top: 16px; }

/* ---------- Legal pages ---------- */
.legal > * { max-width: 760px; }
.legal h2 { font-size: 1.35rem; margin: 2.2rem 0 0.6rem; }
.legal p, .legal li { color: var(--muted); font-size: 1.02rem; }
.legal strong { color: var(--text); font-weight: 600; }
.legal ul { padding-left: 1.2em; display: grid; gap: 10px; }
.legal a { color: var(--accent); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-legal a { text-decoration: none; }
.footer-legal a:hover { color: var(--accent); }

/* ---------- About: story with banner ---------- */
/* The banner is 256x144, so it's capped at a modest width to stay reasonably sharp. */
.story-split { max-width: var(--container); display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.story-img { margin: 0; justify-self: end; width: 100%; max-width: 440px; }
.story-img img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); box-shadow: 0 24px 48px -28px rgba(60, 45, 30, 0.45), 0 0 0 1px var(--border); }
@media (max-width: 860px) { .story-split { grid-template-columns: 1fr; } .story-img { justify-self: start; } }

/* ---------- Live Discord stats ---------- */
.stat-online { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 0.85rem; color: var(--muted); }
/* Semantic live indicator (real online count), not decoration */
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #2f9e5b; box-shadow: 0 0 0 3px rgba(47, 158, 91, 0.18); }
