@charset "UTF-8";

/* ============================================================================
   Frontier — site styles

   Palette comes from the two login-art loops the site already ships:
   Maraudon's verdigris cave and Blackrock's brass forge, on a cool ink ground.
   Warm accents on a cool base make the footage read louder than the old
   warm-on-warm scheme did.

   Type: Fraunces (display), IBM Plex Sans (UI/body), IBM Plex Mono (code).
   ========================================================================= */

:root{
  /* --- ground ------------------------------------------------------------ */
  --bg:        #090b0c;
  --bg-2:      #0d1012;
  --bg-3:      #111517;
  --surface:   #151a1d;
  --surface-2: #1a2023;

  /* --- brass: emphasis, CTAs, links -------------------------------------- */
  --brass:      #d9a94e;
  --brass-hi:   #f3d99e;
  --brass-dim:  #a8823a;
  --brass-wash: rgba(217,169,78,.10);
  --brass-line: rgba(217,169,78,.20);

  /* --- verdigris: structure, status, secondary -------------------------- */
  --verd:      #5fb9ad;
  --verd-dim:  #3f8079;
  --verd-wash: rgba(95,185,173,.10);

  /* --- ember: heroic / warning accents ----------------------------------- */
  --ember:     #e0764a;

  /* --- text -------------------------------------------------------------- */
  --cream: #eceae4;
  --text:  #b9bfbe;
  --muted: #8b9391;   /* 6.2:1 on --bg — passes AA for body copy */

  /* --- lines ------------------------------------------------------------- */
  --line:      rgba(217,169,78,.18);
  --line-soft: rgba(255,255,255,.075);
  --line-hard: rgba(255,255,255,.13);

  /* --- type -------------------------------------------------------------- */
  --display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  /* --- metrics ----------------------------------------------------------- */
  --wrap: 1180px;
  --nav-h: 60px;
  --gap: 34px;
  --r: 8px;      /* corner radius */
  --r-sm: 5px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

*{ box-sizing:border-box; }

html{
  scroll-behavior:smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
  -webkit-text-size-adjust:100%;
}

body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--sans);
  font-size:16px;
  line-height:1.68;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

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

a{ color:var(--brass); text-decoration:none; transition:color .15s var(--ease); }
a:hover{ color:var(--brass-hi); }

/* One visible, consistent focus ring everywhere. */
:focus-visible{
  outline:2px solid var(--verd);
  outline-offset:3px;
  border-radius:3px;
}

h1,h2,h3{
  font-family:var(--display);
  font-variation-settings:"SOFT" 0, "WONK" 0;
  color:var(--cream);
  font-weight:700;
  line-height:1.1;
  letter-spacing:-.015em;
  margin:0;
  text-wrap:balance;
}
h4{ font-family:var(--sans); margin:0; color:var(--cream); }

p{ margin:0 0 1.15em; }
p:last-child{ margin-bottom:0; }

strong,b{ color:var(--cream); font-weight:600; }
em{ color:var(--text); }

/* Keeps a label available to screen readers while removing it from the layout. */
.vh{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0;
}

/* Accessibility: first tab stop on every page. */
.skip-link{
  position:absolute; left:-9999px; top:0; z-index:200;
  background:var(--brass); color:#1d1404;
  padding:12px 20px; border-radius:0 0 var(--r-sm) 0;
  font-size:14px; font-weight:600;
}
.skip-link:focus{ left:0; color:#1d1404; }

/* ---------- layout primitives ---------- */
.wrap{ max-width:var(--wrap); margin:0 auto; padding:0 32px; width:100%; }
.narrow{ max-width:760px; margin-left:auto; margin-right:auto; }
.center{ text-align:center; }

.eyebrow{
  display:flex; align-items:center; gap:11px;
  font-size:11.5px;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:var(--verd);
  font-weight:600;
  font-family:var(--sans);
  margin:0 0 20px;
}
/* the short rule that precedes an eyebrow label */
.eyebrow::before{
  content:""; width:22px; height:1px; background:var(--verd-dim); flex:none;
}
.center .eyebrow{ justify-content:center; }

.lede{ font-size:18px; line-height:1.62; color:var(--text); }

.gold{ color:var(--brass-hi); }

/* ---------- nav ---------- */
.nav{
  position:sticky; top:0; z-index:60;
  height:var(--nav-h);
  display:flex; align-items:center;
  background:rgba(9,11,12,.86);
  backdrop-filter:blur(14px) saturate(140%);
  -webkit-backdrop-filter:blur(14px) saturate(140%);
  border-bottom:1px solid var(--line-soft);
}
.nav .wrap{ display:flex; align-items:center; gap:28px; }

.wordmark{
  font-family:var(--display);
  font-variation-settings:"SOFT" 0, "WONK" 0;
  font-size:17px;
  font-weight:900;
  letter-spacing:.17em;
  text-transform:uppercase;
  color:var(--cream);
  white-space:nowrap;
  flex:none;
}
.wordmark:hover{ color:var(--brass-hi); }

.nav-links{ display:flex; align-items:center; gap:2px; }
.nav-links a{
  position:relative;
  font-size:14px;
  font-weight:500;
  color:var(--text);
  padding:8px 14px;
  border-radius:var(--r-sm);
  white-space:nowrap;
  transition:color .15s var(--ease), background .15s var(--ease);
}
.nav-links a:hover{ color:var(--cream); background:rgba(255,255,255,.05); }
.nav-links a.active{ color:var(--brass-hi); }
/* underline marker rather than a filled pill — quieter, reads as "you are here" */
.nav-links a.active::after{
  content:""; position:absolute; left:14px; right:14px; bottom:2px;
  height:1.5px; background:var(--brass); border-radius:2px;
}

/* --- Features dropdown: opens on hover, and on keyboard focus via :focus-within --- */
.nav-drop{ position:relative; }
.nav-drop-trigger{ display:inline-flex; align-items:center; gap:7px; }
.nav-drop-trigger .caret{
  width:9px; height:6px; fill:none; stroke:currentColor; stroke-width:1.6;
  stroke-linecap:round; stroke-linejoin:round; opacity:.7;
  transition:transform .2s var(--ease);
}
.nav-links .nav-drop-trigger.active::after{ right:30px; }
.nav-drop:hover .caret,
.nav-drop:focus-within .caret{ transform:rotate(180deg); }
.nav-drop-menu{
  position:absolute; left:-8px; top:calc(100% + 10px);
  width:max-content;
  background:var(--bg-2);
  border:1px solid var(--line-hard);
  border-radius:var(--r);
  box-shadow:0 30px 60px -20px rgba(0,0,0,.85);
  padding:8px;
  display:grid; grid-template-columns:300px;
  opacity:0; visibility:hidden; transform:translateY(-4px);
  transition:opacity .16s var(--ease), transform .16s var(--ease), visibility 0s linear .16s;
}
/* invisible bridge over the gap so the menu survives the pointer crossing it */
.nav-drop-menu::before{ content:""; position:absolute; left:0; right:0; top:-11px; height:11px; }
.nav-drop:hover .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu{
  opacity:1; visibility:visible; transform:none;
  transition:opacity .16s var(--ease), transform .16s var(--ease), visibility 0s;
}
.nav-links .nav-drop-menu a{
  display:flex; flex-direction:column; gap:2px;
  padding:10px 12px; white-space:normal;
}
.nav-drop-menu a b{ font-weight:600; color:var(--cream); }
.nav-drop-menu a span{ font-size:12.5px; color:var(--muted); font-weight:400; }
.nav-links .nav-drop-menu a.active{ background:var(--brass-wash); }
.nav-links .nav-drop-menu a.active b{ color:var(--brass-hi); }
.nav-links .nav-drop-menu a.active::after{ display:none; }
.nav-drop-col{ display:flex; flex-direction:column; gap:2px; }
.nav-drop-col + .nav-drop-col{ border-left:1px solid var(--line-soft); padding-left:6px; }
.nav-drop-label{
  margin:6px 12px 4px;
  font-size:11px; font-weight:600; letter-spacing:.12em; text-transform:uppercase;
  color:var(--verd);
}

.nav-right{ margin-left:auto; display:flex; align-items:center; gap:14px; }

.status-pill{
  display:inline-flex; align-items:center; gap:8px;
  font-size:12.5px; font-weight:500;
  color:var(--verd);
  background:var(--verd-wash);
  border:1px solid rgba(95,185,173,.24);
  padding:5px 13px; border-radius:999px;
  white-space:nowrap;
}
/* the beta date in the nav: brass, not the quiet status green */
.beta-pill{
  font-size:13px; color:var(--cream); background:linear-gradient(180deg, rgba(217,169,78,.22), rgba(217,169,78,.1));
  border-color:var(--brass); box-shadow:0 0 0 3px rgba(217,169,78,.12), 0 0 22px -6px rgba(217,169,78,.55);
  transition:box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.beta-pill b{ color:var(--brass-hi); font-weight:600; margin-left:-4px; }
.beta-pill .dot{ background:var(--brass-hi); box-shadow:0 0 0 3px rgba(217,169,78,.25); animation:beta-pulse 2.4s ease-in-out infinite; }
.beta-pill:hover{ color:var(--cream); border-color:var(--brass-hi); box-shadow:0 0 0 3px rgba(217,169,78,.2), 0 0 28px -4px rgba(217,169,78,.7); }
@keyframes beta-pulse{ 50%{ box-shadow:0 0 0 6px rgba(217,169,78,0); } }
@media (prefers-reduced-motion:reduce){ .beta-pill .dot{ animation:none; } }
.dot{
  width:6px; height:6px; border-radius:50%; background:var(--verd);
  box-shadow:0 0 0 3px rgba(95,185,173,.18);
  flex:none;
}

/* --- mobile disclosure menu: <details>, so it needs no JavaScript --- */
.nav-toggle{ display:none; margin-left:auto; position:relative; }
.nav-toggle > summary{
  list-style:none;
  display:flex; align-items:center; justify-content:center;
  width:40px; height:40px;
  border:1px solid var(--line-hard); border-radius:var(--r-sm);
  color:var(--cream); cursor:pointer;
  transition:border-color .15s var(--ease);
}
.nav-toggle > summary::-webkit-details-marker{ display:none; }
.nav-toggle > summary:hover{ border-color:var(--brass-line); }
.nav-toggle .bars{ width:17px; height:11px; position:relative; display:block; }
.nav-toggle .bars::before,
.nav-toggle .bars::after,
.nav-toggle .bars span{
  content:""; position:absolute; left:0; right:0; height:1.5px;
  background:currentColor; border-radius:2px; transition:.2s var(--ease);
}
.nav-toggle .bars::before{ top:0; }
.nav-toggle .bars span{ top:5px; }
.nav-toggle .bars::after{ bottom:0; }
.nav-toggle[open] .bars::before{ top:5px; transform:rotate(45deg); }
.nav-toggle[open] .bars span{ opacity:0; }
.nav-toggle[open] .bars::after{ bottom:4.5px; transform:rotate(-45deg); }

.nav-panel{
  position:absolute; right:0; top:calc(100% + 12px);
  min-width:250px;
  background:var(--bg-2);
  border:1px solid var(--line-hard);
  border-radius:var(--r);
  box-shadow:0 30px 60px -20px rgba(0,0,0,.85);
  padding:10px;
  display:flex; flex-direction:column; gap:2px;
}
.nav-panel a{
  padding:11px 14px; border-radius:var(--r-sm);
  color:var(--text); font-size:15px; font-weight:500;
}
.nav-panel a:hover{ background:rgba(255,255,255,.05); color:var(--cream); }
.nav-panel a.active{ color:var(--brass-hi); background:var(--brass-wash); }
.nav-panel .sep{ height:1px; background:var(--line-soft); margin:8px 4px; }
.nav-panel .status-pill{ margin:4px 10px 8px; align-self:flex-start; }
.nav-panel-label{
  margin:10px 14px 2px;
  font-size:11px; font-weight:600; letter-spacing:.12em; text-transform:uppercase;
  color:var(--verd);
}
.nav-panel a.sub{ padding-left:26px; font-size:14.5px; }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  font-family:var(--sans);
  font-size:13px; font-weight:600;
  letter-spacing:.07em; text-transform:uppercase;
  padding:14px 28px;
  border-radius:var(--r-sm);
  border:1px solid transparent;
  cursor:pointer;
  transition:transform .15s var(--ease), background .15s var(--ease),
             border-color .15s var(--ease), box-shadow .15s var(--ease);
  white-space:nowrap;
}
.btn:active{ transform:translateY(1px); }

.btn-primary{
  background:linear-gradient(180deg,#eec87d,#cf9c3f);
  color:#1d1404;
  box-shadow:0 1px 0 rgba(255,255,255,.3) inset, 0 12px 30px -14px rgba(217,169,78,.8);
}
.btn-primary:hover{
  background:linear-gradient(180deg,#f6d795,#dcab4c);
  color:#1d1404;
  box-shadow:0 1px 0 rgba(255,255,255,.35) inset, 0 16px 36px -14px rgba(217,169,78,.9);
}
.btn-ghost{
  border-color:rgba(217,169,78,.38);
  color:var(--brass-hi);
  background:transparent;
}
.btn-ghost:hover{ background:var(--brass-wash); border-color:var(--brass); color:var(--brass-hi); }
.btn-sm{ padding:8px 17px; font-size:12px; }

.arrow-link{
  display:inline-flex; align-items:center; gap:9px;
  font-size:14px; font-weight:600; color:var(--brass);
}
.arrow-link span{ transition:transform .18s var(--ease); display:inline-block; }
.arrow-link:hover span{ transform:translateX(5px); }

/* ---------- background video loops ---------- */
.bg-video{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  z-index:0;
  pointer-events:none;
}
/* Veil over the footage: keeps type legible and pulls the clip into the palette. */
.bg-veil{ position:absolute; inset:0; z-index:1; pointer-events:none; }

/* ---------- hero ---------- */
.hero{
  position:relative;
  min-height:calc(100svh - var(--nav-h));
  display:flex; align-items:center;
  padding:80px 0 120px;
  text-align:center;
  overflow:hidden;
  border-bottom:1px solid var(--line-soft);
  background:linear-gradient(180deg,#11171a 0%, #0b0f11 60%, var(--bg) 100%);
}
/* faint dust motes over the footage */
.hero::after,
.stars::after{
  content:""; position:absolute; inset:0; pointer-events:none; z-index:2;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, rgba(243,217,158,.5), transparent),
    radial-gradient(1.3px 1.3px at 78% 14%, rgba(243,217,158,.36), transparent),
    radial-gradient(1.2px 1.2px at 32% 68%, rgba(243,217,158,.3), transparent),
    radial-gradient(1.5px 1.5px at 62% 82%, rgba(243,217,158,.4), transparent),
    radial-gradient(1.2px 1.2px at 88% 56%, rgba(243,217,158,.26), transparent),
    radial-gradient(1.3px 1.3px at 46% 34%, rgba(243,217,158,.26), transparent),
    radial-gradient(1.2px 1.2px at 6%  62%, rgba(243,217,158,.24), transparent),
    radial-gradient(1.3px 1.3px at 70% 44%, rgba(243,217,158,.22), transparent);
}
.hero > .wrap{ position:relative; z-index:3; }

/* Maraudon loop sits behind the hero; the veil restores a warm/verdigris wash
   and darkens the lower third so the CTA row and scroll cue stay readable. */
.hero .bg-veil{
  background:
    radial-gradient(1100px 560px at 50% 4%,  rgba(217,169,78,.15), transparent 62%),
    radial-gradient(820px  460px at 84% 74%, rgba(63,128,121,.22), transparent 68%),
    linear-gradient(180deg, rgba(9,11,12,.80) 0%, rgba(9,11,12,.46) 32%,
                            rgba(9,11,12,.70) 74%, var(--bg) 100%);
}

.hero-mark{
  font-family:var(--display);
  font-variation-settings:"SOFT" 0, "WONK" 0;
  font-size:clamp(46px, 8.4vw, 104px);
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
  line-height:.94;
  background:linear-gradient(175deg,#fdf0cf 6%,#e5bd63 46%,#a37327 100%);
  -webkit-background-clip:text; background-clip:text;
  color:transparent;
  margin:0;
  filter:drop-shadow(0 8px 26px rgba(0,0,0,.6));
}
.hero-sub{
  display:inline-block;
  margin-top:20px;
  font-size:11.5px; letter-spacing:.42em; text-transform:uppercase;
  font-weight:500;
  color:var(--cream);
  border:1px solid var(--line);
  border-radius:999px;
  padding:7px 18px 7px 22px;
  background:rgba(0,0,0,.34);
  backdrop-filter:blur(4px);
}
/* the pill is set in capitals; a version number like 3.3.5a keeps its lower-case letter */
.hero-sub .keep-case{ text-transform:none; }
/* homepage tagline: plain white text under the wordmark, no pill */
.hero .hero-sub{
  font-size:15px; font-weight:500; color:#fff;
  border:0; background:none; padding:0 0 0 .42em; backdrop-filter:none;
  text-shadow:0 2px 12px rgba(0,0,0,.85);
}
.hero h1{
  font-size:clamp(30px, 4.4vw, 50px);
  font-weight:600;
  margin:34px auto 24px;
  max-width:16ch;
}
.hero h1 .gold{ display:block; }
.hero p{
  max-width:56ch; margin:0 auto;
  color:var(--text); font-size:17px;
}
.hero-cta{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; margin:36px 0 24px; }
.hero-note{ font-size:14px; color:var(--muted); }

/* scroll cue pinned to the bottom of the viewport-height hero */
.scroll-cue{
  position:absolute; left:50%; bottom:30px; transform:translateX(-50%);
  z-index:3;
  display:flex; flex-direction:column; align-items:center; gap:9px;
  font-size:10.5px; letter-spacing:.2em; text-transform:uppercase;
  color:var(--muted);
}
.scroll-cue i{
  display:block; width:1px; height:34px;
  background:linear-gradient(180deg, var(--brass-dim), transparent);
  animation:cue 2.4s var(--ease) infinite;
}
@keyframes cue{
  0%,100%{ opacity:.25; transform:scaleY(.55); transform-origin:top; }
  50%    { opacity:1;   transform:scaleY(1);   transform-origin:top; }
}

/* ---------- stat strip ---------- */
/* ---------- meta strip ----------
   A slim readout under the hero. Deliberately not a four-column card panel:
   label/value pairs on a single line, mono labels, no oversized serif numerals. */
.meta-strip{
  border-bottom:1px solid var(--line-soft);
  background:var(--bg-2);
}
.meta-strip dl{
  margin:0; padding:20px 0;
  display:flex; flex-wrap:wrap; align-items:center; justify-content:center;
  gap:14px 44px;
}
.meta-strip dl > div{ position:relative; display:flex; align-items:baseline; gap:11px; }
.meta-strip dl > div + div::before{
  content:""; position:absolute; left:-22px; top:50%; transform:translateY(-50%);
  width:1px; height:15px; background:var(--line-soft);
}
.meta-strip dt{
  font-family:var(--mono);
  font-size:10.5px; letter-spacing:.14em; text-transform:uppercase;
  color:var(--muted); white-space:nowrap;
}
.meta-strip dd{
  margin:0; font-size:15px; font-weight:600; color:var(--cream);
  display:inline-flex; align-items:center; gap:9px; white-space:nowrap;
}

/* ---------- sections ---------- */
.section{ padding:104px 0; position:relative; }
.section-alt{ background:var(--bg-2); }
.section-deep{
  background:
    radial-gradient(900px 500px at 78% 30%, rgba(160,72,30,.13), transparent 65%),
    var(--bg-3);
}
.stars{ position:relative; overflow:hidden; }
.stars > *{ position:relative; z-index:3; }

.section + .section{ border-top:1px solid var(--line-soft); }

/* section carrying a full-bleed video loop */
.section-video{ position:relative; overflow:hidden; background:var(--bg); }
.section-video > .wrap{ position:relative; z-index:3; }
.section-video .bg-veil{
  background:
    radial-gradient(900px 620px at 76% 40%, rgba(160,72,30,.2), transparent 66%),
    linear-gradient(180deg, var(--bg) 0%, rgba(9,11,12,.5) 16%, rgba(9,11,12,.46) 78%, var(--bg) 100%),
    linear-gradient(90deg, rgba(9,11,12,.86) 0%, rgba(9,11,12,.54) 48%, rgba(9,11,12,.14) 100%);
}

.section-head{ margin-bottom:60px; }
.section-head h2{ font-size:clamp(30px,4vw,46px); }
.section-head h2 .gold{ display:block; }

.head-split{
  display:grid; grid-template-columns:1.1fr .9fr; gap:60px; align-items:end;
  margin-bottom:58px;
}
.head-split h2{ font-size:clamp(28px,3.5vw,42px); font-weight:600; }
.head-split h2 .gold{ display:block; }
.head-split p{ color:var(--text); font-size:16px; }

.head-row{
  display:flex; align-items:baseline; justify-content:space-between;
  gap:24px; flex-wrap:wrap; margin-bottom:48px;
}
.head-row h2{ font-size:clamp(28px,3.4vw,40px); font-weight:600; }

/* ---------- card grids ---------- */
/* align-items:start so a short card hugs its content instead of stretching
   into a tall empty box next to a long one */
.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:var(--gap); align-items:start; }
.grid-2{ display:grid; grid-template-columns:repeat(2,1fr); gap:var(--gap); align-items:start; }

.rule-card{
  border-top:1px solid var(--line);
  padding-top:24px;
  transition:border-color .2s var(--ease);
}
.rule-card:hover{ border-top-color:var(--brass); }
.rule-card .glyph{ color:var(--brass); font-size:15px; margin-bottom:14px; }
.rule-card h3{ font-size:20px; font-weight:600; margin-bottom:12px; }
.rule-card p{ font-size:15px; color:var(--text); }

/* news */
.news-card{
  border-top:1px solid var(--line);
  padding-top:24px;
  transition:border-color .2s var(--ease);
}
.news-card:hover{ border-top-color:var(--brass); }
.news-card .date{
  font-size:11px; letter-spacing:.16em; text-transform:uppercase;
  color:var(--muted); margin-bottom:12px; font-family:var(--mono);
}
.news-card h3{ font-size:21px; font-weight:600; margin-bottom:12px; }
.news-card h3 a{ color:var(--cream); }
.news-card h3 a:hover{ color:var(--brass-hi); }
.news-card p{ font-size:15px; color:var(--muted); }

/* asymmetric news block: one lead item, the rest stacked beside it */
.news-grid{ display:grid; grid-template-columns:1.25fr 1fr; gap:var(--gap) 56px; }
.news-grid .news-lead{ grid-row:span 2; border-top-width:2px; }
.news-grid .news-lead h3{ font-size:clamp(24px,2.5vw,31px); }
.news-grid .news-lead p{ font-size:16px; color:var(--text); }





.hub{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.hub-card{
  display:block;
  border:1px solid var(--line-soft);
  border-radius:var(--r);
  background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.006));
  padding:22px 22px 20px;
  transition:transform .18s var(--ease), border-color .18s var(--ease), background .18s var(--ease);
}
.hub-card:hover{ border-color:var(--brass-line); background:var(--brass-wash); transform:translateY(-3px); }
.hub-icon{
  width:40px; height:40px; border-radius:7px; margin-bottom:14px;
  border:1px solid rgba(0,0,0,.65); box-shadow:0 0 0 1px rgba(255,255,255,.08);
}
.hub-card h3{ font-size:18px; font-weight:600; margin-bottom:9px; }
.hub-card p{ font-size:14px; color:var(--muted); margin:0 0 15px; }
.hub-card .go{ display:inline-flex; align-items:center; gap:8px; font-size:13px; font-weight:600; color:var(--brass); }
.hub-card .go span{ transition:transform .18s var(--ease); }
.hub-card:hover .go{ color:var(--brass-hi); }
.hub-card:hover .go span{ transform:translateX(4px); }

/* icon beside a panel's tag + title */
.panel-head{ display:flex; align-items:flex-start; gap:14px; margin-bottom:18px; }
.panel-icon{
  width:36px; height:36px; border-radius:6px; flex:none;
  border:1px solid rgba(0,0,0,.65); box-shadow:0 0 0 1px rgba(255,255,255,.08);
}
.panel-head .tag{ margin-bottom:4px; }
.panel-head h3{ margin:0; }

/* rule cards use a real icon rather than a glyph */
.glyph-img{
  width:34px; height:34px; border-radius:6px; margin-bottom:14px;
  border:1px solid rgba(0,0,0,.65); box-shadow:0 0 0 1px rgba(255,255,255,.08);
}

/* ---------- split feature (text + art panel) ---------- */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
.split.reverse .split-media{ order:-1; }
.split h2{ font-size:clamp(28px,3.5vw,42px); font-weight:600; margin-bottom:24px; }
.split h2 .gold{ display:block; }

.split-media{
  aspect-ratio:4/3;
  border:1px solid var(--line);
  border-radius:var(--r);
  position:relative;
  overflow:hidden;
  box-shadow:0 30px 70px -40px #000;
}
.art-forest{ background:
  radial-gradient(60% 45% at 50% 96%, rgba(20,48,38,.95), transparent 70%),
  radial-gradient(40% 30% at 22% 72%, rgba(210,130,50,.26), transparent 70%),
  linear-gradient(180deg,#16262c 0%,#1d3026 46%,#0d1713 100%); }
.art-frost{ background:
  radial-gradient(55% 40% at 50% 22%, rgba(120,190,215,.32), transparent 70%),
  radial-gradient(60% 45% at 30% 88%, rgba(25,60,80,.85), transparent 72%),
  linear-gradient(180deg,#12242f 0%,#0e1a23 60%,#070c10 100%); }
.split-media::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, transparent 40%, rgba(9,11,12,.55) 100%);
}

/* text column laid over a full-bleed loop — leaves the right half to the footage */
.video-col{ max-width:600px; }

.sub-features{
  display:grid; grid-template-columns:1fr 1fr; gap:30px 34px;
  margin-top:32px; padding-top:28px; border-top:1px solid var(--line);
}
.sub-features h4{ font-size:15px; color:var(--brass-hi); margin-bottom:8px; font-weight:600; }
.sub-features p{ font-size:14.5px; color:var(--muted); margin:0; }

/* ---------- primary link row ----------
   These four are the only way into the content from the home page, so they are
   built as cards rather than text links: equal columns, brass-tinted by default,
   and filled on hover. */
.pill-nav{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.pill-nav a{
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  font-family:var(--display);
  font-variation-settings:"SOFT" 0, "WONK" 0;
  font-size:clamp(16px, 1.5vw, 20px);
  font-weight:600;
  line-height:1.25;
  color:var(--brass-hi);
  background:var(--brass-wash);
  border:1px solid rgba(217,169,78,.4);
  border-radius:var(--r);
  padding:24px 26px;
  transition:transform .18s var(--ease), background .18s var(--ease),
             border-color .18s var(--ease), color .18s var(--ease),
             box-shadow .18s var(--ease);
}
.pill-nav a::after{
  content:"→";
  font-family:var(--sans);
  font-size:20px; line-height:1; flex:none;
  transition:transform .18s var(--ease);
}
.pill-nav a:hover{
  background:linear-gradient(180deg,#eec87d,#cf9c3f);
  border-color:#eec87d;
  color:#1d1404;
  transform:translateY(-3px);
  box-shadow:0 18px 40px -18px rgba(217,169,78,.75);
}
.pill-nav a:hover::after{ transform:translateX(5px); }

/* band that carries nothing but the link row — no heading to pad around */
.section-links{ padding:64px 0; }

/* ---------- tables ---------- */
.tbl{ width:100%; border-collapse:collapse; font-size:15px; margin:8px 0 4px; }
.tbl th, .tbl td{ text-align:left; padding:14px 18px; border-bottom:1px solid var(--line-soft); vertical-align:top; }
.tbl th{
  font-size:10.5px; letter-spacing:.16em; text-transform:uppercase;
  color:var(--verd); font-weight:600; border-bottom:1px solid var(--line);
  white-space:nowrap;
}
.tbl td:first-child{ color:var(--cream); font-weight:500; }
.tbl tbody tr{ transition:background .14s var(--ease); }
.tbl tbody tr:hover td{ background:rgba(255,255,255,.022); }
.tbl tbody tr:last-child td{ border-bottom:0; }
.scroll-x{ overflow-x:auto; -webkit-overflow-scrolling:touch; }

/* ---------- panels / change lists ---------- */
.panel{
  border:1px solid var(--line-soft);
  border-radius:var(--r);
  background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.008));
  padding:28px 30px;
  transition:border-color .2s var(--ease);
}
.panel:hover{ border-color:var(--line-hard); }
.panel h3{ font-size:21px; font-weight:600; margin-bottom:6px; }
.panel .tag{
  font-size:10.5px; letter-spacing:.16em; text-transform:uppercase;
  color:var(--muted); font-weight:600; margin-bottom:18px;
}

.changes{ list-style:none; margin:0; padding:0; }
.changes li{
  position:relative; padding:11px 0 11px 24px;
  font-size:15px; color:var(--text);
  border-top:1px solid var(--line-soft);
}
.changes li:first-child{ border-top:0; padding-top:2px; }
.changes li::before{
  content:""; position:absolute; left:2px; top:20px;
  width:5px; height:5px; border-radius:50%;
  background:var(--brass-dim);
}
.changes li:first-child::before{ top:11px; }
.changes b{ color:var(--cream); font-weight:600; }

/* ---------- class blocks (classes.html) ----------
   Full width, stacked one per row. Icons are hotlinked from Wowhead's CDN so no
   Blizzard art enters this repo — the guardrails reject client data. */
.cls-list{ display:flex; flex-direction:column; gap:20px; }

.cls-block{
  border:1px solid var(--line-soft);
  border-top:2px solid var(--accent);
  border-radius:var(--r);
  background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.008));
  padding:26px 30px 26px;
  transition:border-color .2s var(--ease);
}
.cls-block:hover{ border-color:var(--line-hard); border-top-color:var(--accent); }

.cls-head{ display:flex; align-items:center; gap:16px; margin-bottom:22px; }
.cls-head h3{ font-size:24px; color:var(--accent); margin:0; }
.cls-head .tag{
  margin:5px 0 0; font-size:10.5px; letter-spacing:.16em; text-transform:uppercase;
  color:var(--muted); font-weight:600;
}

/* WoW icons are flat squares; a dark rim plus a light hairline seats them on the panel */
.cls-icon, .ab-icon{
  display:block; flex:none;
  border:1px solid rgba(0,0,0,.65);
  box-shadow:0 0 0 1px rgba(255,255,255,.08);
  background:#111;
}
.cls-icon{ width:46px; height:46px; border-radius:7px; }
.ab-icon{ width:34px; height:34px; border-radius:5px; margin-top:2px; }

.abilities{ list-style:none; margin:0; padding:0; }
.abilities li{
  display:flex; align-items:flex-start; gap:15px;
  padding:13px 0;
  border-top:1px solid var(--line-soft);
}
.abilities li:first-child{ border-top:0; padding-top:0; }
.abilities .txt{ font-size:15px; color:var(--text); max-width:96ch; }
.abilities b{ color:var(--cream); font-weight:600; }
/* which race a priest racial belongs to */
.fr-note{
  display:block; margin-top:6px;
  font-size:13.5px; color:var(--brass-hi);
  padding-left:11px; border-left:2px solid var(--brass-line);
}
.fr-note b{ color:var(--brass); font-weight:600; }
/* a racial the realm changes gets a brass dot, matching the talent grid */
.abilities li.is-changed{ position:relative; }
.abilities li.is-changed .ab-icon{ box-shadow:0 0 0 1px var(--brass-line); }

.race-tag{
  display:inline-block; margin:0 4px 0 2px;
  font-family:var(--mono); font-size:10.5px; letter-spacing:.08em; text-transform:uppercase;
  color:var(--verd); background:var(--verd-wash);
  border:1px solid rgba(95,185,173,.24); border-radius:3px; padding:1px 6px;
  vertical-align:1px;
}

/* class accent bar */
.panel.cls{ border-top:2px solid var(--accent); }
.panel.cls h3{ color:var(--accent); }








/* placeholder for recipe / item captures added later */


/* ---------- steps ---------- */
.steps{ counter-reset:s; }
.step{
  counter-increment:s;
  display:grid; grid-template-columns:62px 1fr; gap:28px;
  padding:32px 0; border-top:1px solid var(--line-soft);
}
.step:first-child{ border-top:1px solid var(--line); }
.step::before{
  content:counter(s,decimal-leading-zero);
  font-family:var(--mono); font-size:24px; font-weight:500;
  color:var(--brass-dim); line-height:1.2;
}
.step h3{ font-size:20px; font-weight:600; margin-bottom:10px; }
.step p{ font-size:15px; }

/* ---------- code ---------- */
code, .mono{
  font-family:var(--mono);
  font-size:.86em;
  background:var(--brass-wash);
  border:1px solid var(--brass-line);
  color:var(--brass-hi);
  padding:2px 7px; border-radius:4px;
  white-space:nowrap;
}
pre{
  background:#06080a; border:1px solid var(--line-soft); border-radius:var(--r);
  padding:20px 22px; overflow-x:auto; margin:0 0 1.15em;
}
pre code{ background:none; border:0; padding:0; color:var(--brass-hi); font-size:14px; white-space:pre; }

/* ---------- notice ---------- */
.notice{
  border-left:2px solid var(--brass-dim);
  background:var(--brass-wash);
  padding:20px 24px; border-radius:0 var(--r-sm) var(--r-sm) 0;
  font-size:15px;
  color:var(--text);
}
.notice b{ color:var(--brass-hi); }
/* a notice that flags something unsettled rather than something decided */
.notice.open{ border-left-color:var(--verd-dim); background:var(--verd-wash); }
.notice.open b{ color:var(--verd); }

/* ---------- CTA band ---------- */
.cta{
  padding:104px 0;
  text-align:center;
  border-top:1px solid var(--line-soft);
  background:
    radial-gradient(760px 340px at 50% 100%, rgba(217,169,78,.13), transparent 68%),
    var(--bg-2);
}
.cta h2{ font-size:clamp(30px,4vw,44px); font-weight:600; margin-bottom:20px; }
.cta p{ max-width:54ch; margin:0 auto 34px; }

/* ---------- page header (interior pages) ---------- */
.page-head{
  padding:96px 0 72px;
  border-bottom:1px solid var(--line-soft);
  background:
    radial-gradient(820px 380px at 24% 0%, rgba(217,169,78,.1), transparent 66%),
    radial-gradient(700px 340px at 88% 10%, rgba(63,128,121,.1), transparent 68%),
    linear-gradient(180deg,#0f1417,var(--bg));
}
.page-head h1{
  font-size:clamp(34px,5.2vw,58px); font-weight:600;
  max-width:18ch; margin-bottom:24px;
}
.page-head .lede{ max-width:62ch; }

/* a page header carrying a full-bleed loop */
.page-head.has-video{
  position:relative;
  overflow:hidden;
  background:var(--bg);
  padding:120px 0 96px;
}
.page-head.has-video > .wrap{ position:relative; z-index:3; }
.page-head.has-video .bg-veil{
  background:
    radial-gradient(900px 460px at 22% 10%, rgba(217,169,78,.12), transparent 64%),
    radial-gradient(800px 420px at 84% 30%, rgba(63,128,121,.18), transparent 68%),
    linear-gradient(180deg, rgba(9,11,12,.62) 0%, rgba(9,11,12,.52) 42%, rgba(9,11,12,.86) 82%, var(--bg) 100%);
}

/* ---------- footer ---------- */
.footer{
  border-top:1px solid var(--line-soft);
  background:#06080a;
  padding:72px 0 36px;
  font-size:15px;
}
.footer-grid{ display:grid; grid-template-columns:1.7fr 1fr 1fr 1fr; gap:48px; }
.footer h4{
  font-size:11px; letter-spacing:.18em; text-transform:uppercase;
  color:var(--verd); margin-bottom:18px; font-weight:600;
}
.footer ul{ list-style:none; margin:0; padding:0; }
.footer li{ margin-bottom:11px; }
.footer li a{ color:var(--text); font-size:15px; }
.footer li a:hover{ color:var(--brass-hi); }
.footer-base{
  margin-top:56px; padding-top:26px; border-top:1px solid var(--line-soft);
  display:flex; justify-content:space-between; gap:22px; flex-wrap:wrap;
  color:var(--muted); font-size:13px;
}

/* ---------- motion preferences ---------- */
/* Readers who ask for less motion get the poster frame, not a paused player. */
@media (prefers-reduced-motion:reduce){
  *, *::before, *::after{
    animation-duration:.001ms !important; animation-iteration-count:1 !important;
    transition-duration:.001ms !important;
  }
  html{ scroll-behavior:auto; }
  .bg-video{ display:none; }
  .hero{
    background-image:linear-gradient(180deg,rgba(9,11,12,.55),rgba(9,11,12,.55)), url("video/maraudon_nogiants_v3_poster.jpg");
    background-size:cover; background-position:center;
  }
  .section-video{
    background-image:url("video/blackrock_poster.jpg");
    background-size:cover; background-position:center;
  }
  .page-head.has-video{
    background-image:linear-gradient(180deg,rgba(9,11,12,.6),rgba(9,11,12,.6)), url("video/nightelf_poster.jpg");
    background-size:cover; background-position:center;
  }
}

/* ---------- data tables (itemization.html, rates.html) ---------- */
.table-scroll{ overflow-x:auto; border:1px solid var(--line-soft); border-radius:var(--r); }
.ba-table, .rate-table{ width:100%; border-collapse:collapse; font-size:15px; }
.ba-table th, .ba-table td,
.rate-table th, .rate-table td{
  text-align:left; padding:14px 20px; border-top:1px solid var(--line-soft); vertical-align:top;
}
.ba-table thead th, .rate-table thead th{
  border-top:0; background:rgba(255,255,255,.025);
  font-size:11px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:var(--muted);
}
.ba-table tbody th, .rate-table tbody th{ color:var(--cream); font-weight:600; white-space:nowrap; }
.ba-table td, .rate-table td{ color:var(--text); }
.ba-table td:nth-child(2){ color:var(--muted); }
.rate-table td:nth-child(2){ color:var(--cream); font-weight:600; white-space:nowrap; }
.up{ color:var(--brass-hi); }
.was{ color:var(--muted); font-size:13.5px; }
.table-note{ margin-top:18px; font-size:14.5px; color:var(--muted); max-width:70ch; }
.table-note b{ color:var(--text); font-weight:600; }

/* ---------- roadmap (roadmap.html) ---------- */
.roadmap{ list-style:none; margin:0; padding:0; max-width:820px; }
.phase{ display:grid; grid-template-columns:52px 1fr; gap:28px; position:relative; padding-bottom:56px; }
.phase:last-child{ padding-bottom:0; }
/* the rail joining one phase marker to the next */
.phase::before{
  content:""; position:absolute; left:25px; top:52px; bottom:0;
  width:1px; background:var(--line);
}
.phase:last-child::before{ display:none; }
.phase-mark span{
  display:flex; align-items:center; justify-content:center;
  width:52px; height:52px; border-radius:50%;
  border:1px solid var(--line); background:var(--bg-2);
  font-family:var(--display); font-size:20px; font-weight:700; color:var(--muted);
}
.phase.is-now .phase-mark span{ border-color:var(--brass); color:var(--brass-hi); background:var(--brass-wash); }
.phase-body h2{ font-size:clamp(24px,2.8vw,32px); font-weight:600; margin-bottom:18px; }
.phase-body .eyebrow{ margin-bottom:10px; }
.phase-body .changes a{ color:var(--brass-hi); text-decoration:underline; text-underline-offset:3px; }

/* ---------- responsive ---------- */
@media (max-width:1040px){
  .nav-links{ display:none; }
  .nav-right{ display:none; }
  .nav-toggle{ display:block; }
  .news-grid{ grid-template-columns:1fr; }
  .news-grid .news-lead{ grid-row:auto; }
}

@media (max-width:980px){
  .grid-3{ grid-template-columns:1fr 1fr; }
  .pill-nav{ grid-template-columns:repeat(2,1fr); }
  .split{ grid-template-columns:1fr; gap:40px; }
  .split.reverse .split-media{ order:0; }
  .head-split{ grid-template-columns:1fr; gap:24px; align-items:start; }
  .footer-grid{ grid-template-columns:1fr 1fr; gap:38px; }
  .section{ padding:80px 0; }
  /* no room for a side-by-side with the footage — veil evenly and stack */
  .video-col{ max-width:none; }
  .section-video .bg-veil{
    background:
      radial-gradient(900px 620px at 76% 40%, rgba(160,72,30,.2), transparent 66%),
      linear-gradient(180deg, var(--bg) 0%, rgba(9,11,12,.8) 14%, rgba(9,11,12,.8) 82%, var(--bg) 100%);
  }
}

@media (max-width:660px){
  body{ font-size:15.5px; }
  .grid-2, .grid-3, .hub{ grid-template-columns:1fr; }
  .wrap{ padding:0 20px; }
  .section{ padding:64px 0; }
  .meta-strip dl{ flex-direction:column; align-items:center; gap:12px; padding:18px 0; }
  .meta-strip dl > div + div::before{ display:none; }
  .footer-grid{ grid-template-columns:1fr; gap:34px; }
  .step{ grid-template-columns:1fr; gap:8px; padding:26px 0; }
  .step::before{ font-size:20px; }
  .panel{ padding:22px 20px; }
  .cls-block{ padding:20px 18px; }
  .cls-head{ gap:13px; margin-bottom:18px; }
  .cls-icon{ width:40px; height:40px; }
  .ab-icon{ width:30px; height:30px; }
  .abilities li{ gap:12px; }
  .hero{ padding:60px 0 100px; }
  .hero-cta .btn{ width:100%; }
  .section-links{ padding:42px 0; }
  .pill-nav{ grid-template-columns:1fr; gap:12px; }
  .pill-nav a{ padding:18px 22px; }
  .cta{ padding:72px 0; }
  .page-head{ padding:64px 0 52px; }
  .footer-base{ flex-direction:column; gap:10px; }
  .nav-panel{ min-width:min(84vw,300px); }
}

/* ============================================================================
   PvP page (pvp.html)
   ========================================================================= */
.stage-row{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.stage-card{
  background:var(--surface); border:1px solid var(--line-soft);
  border-top:2px solid var(--brass-dim); border-radius:var(--r);
  padding:24px 22px 22px; transition:border-color .18s var(--ease);
}
.stage-card:hover{ border-color:var(--line-hard); border-top-color:var(--brass); }
.stage-card:last-child{ border-top-color:var(--brass); }
.stage-icon{
  display:block; width:40px; height:40px; border-radius:6px;
  border:1px solid #000; box-shadow:0 0 0 1px var(--line-soft); margin-bottom:15px;
}
.stage-n{
  font-family:var(--mono); font-size:11px; letter-spacing:.15em;
  text-transform:uppercase; color:var(--muted);
}
.stage-card h3{ font-size:19px; font-weight:600; margin:5px 0 10px; }
.stage-card p{ font-size:14.5px; color:var(--text); margin:0 0 18px; }
.payout{
  display:inline-flex; align-items:center; font-family:var(--mono);
  font-size:11.5px; letter-spacing:.09em; text-transform:uppercase; color:var(--brass);
  border:1px solid var(--brass-line); background:var(--brass-wash);
  border-radius:999px; padding:5px 13px;
}

.res-row{ display:flex; flex-wrap:wrap; gap:12px; margin-top:16px; }
.res-chip{
  display:inline-flex; align-items:center; gap:10px; font-size:14.5px; color:var(--cream);
  background:var(--bg-3); border:1px solid var(--line-soft);
  border-radius:999px; padding:7px 17px 7px 7px;
}
.res-chip img{ width:27px; height:27px; border-radius:5px; border:1px solid #000; }

@media (max-width:980px){
  .stage-row{ grid-template-columns:1fr; }
}

/* ============================================================================
   Talent calculator (talents.html)
   ========================================================================= */
:root{ --tc-accent:#d9a94e; }

/* class picker */
.tc-classes{ display:flex; flex-wrap:wrap; gap:10px; margin-bottom:26px; }
.tc-class{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--sans); font-size:14px; font-weight:500;
  color:var(--text);
  background:transparent;
  border:1px solid var(--line-soft);
  border-radius:999px;
  padding:7px 16px 7px 8px;
  cursor:pointer;
  transition:.15s var(--ease);
}
.tc-class:hover{ border-color:var(--line-hard); color:var(--cream); }
.tc-class.is-active{
  color:var(--c); border-color:var(--c);
  background:color-mix(in srgb, var(--c) 12%, transparent);
}
.tc-class-icon{
  width:26px; height:26px; border-radius:50%;
  border:1px solid rgba(0,0,0,.6);
}

/* summary bar */
/* pinned under the nav so points used / required level stay readable while you
   are deep in a tree clicking talents */
.tc-bar{
  position:sticky; top:var(--nav-h); z-index:40;
  display:flex; flex-wrap:wrap; align-items:center; gap:14px 34px;
  padding:16px 20px;
  border:1px solid var(--line-soft);
  border-left:2px solid var(--tc-accent);
  border-radius:var(--r);
  background:rgba(13,16,18,.94);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  box-shadow:0 14px 30px -20px #000;
}
/* the level a build actually needs is the number people scan for */
.tc-stat.is-level .v{ color:var(--verd); }
.tc-stat{ display:flex; flex-direction:column; gap:3px; }
.tc-stat .k{
  font-family:var(--mono); font-size:10px; letter-spacing:.14em;
  text-transform:uppercase; color:var(--muted);
}
.tc-stat .v{ font-size:16px; font-weight:600; color:var(--cream); }
.tc-stat .v b{ color:var(--tc-accent); font-weight:600; }
.tc-actions{ margin-left:auto; display:flex; gap:10px; }

.tc-help{ font-size:13.5px; color:var(--muted); margin:14px 0 30px; }

/* trees — dressed to read like the in-game talent frame: the classic background
   art behind the grid, green borders on anything learnable, gold on anything
   maxed, and bronze arrows once a prerequisite is satisfied. */
.tc-trees{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; align-items:start; max-width:900px; margin:0 auto; }
.tc-tree{
  border:1px solid #6d5a31;
  border-radius:7px;
  background:#07080a;
  overflow:hidden;
  box-shadow:0 0 0 1px rgba(0,0,0,.6) inset, 0 20px 50px -30px #000;
}
.tc-tree-head{
  display:flex; align-items:center; gap:10px;
  padding:11px 13px;
  background:linear-gradient(180deg, rgba(109,90,49,.34), rgba(109,90,49,.10));
  border-bottom:1px solid #6d5a31;
}
.tc-tree-icon{ width:30px; height:30px; border-radius:5px; border:1px solid #000; }
.tc-tree-head h3{ font-size:15.5px; margin:0; color:#f4e4bd; }
.tc-tree-count{ margin:2px 0 0; font-size:12px; color:#9a8b6d; }
.tc-tree-count b{ color:#e8c14a; font-weight:600; }
.tc-reset-tree{
  margin-left:auto;
  font-family:var(--sans); font-size:10.5px; letter-spacing:.06em; text-transform:uppercase;
  color:#9a8b6d; background:rgba(0,0,0,.35); border:1px solid #4a3f24;
  border-radius:4px; padding:5px 10px; cursor:pointer;
  transition:.15s var(--ease);
}
.tc-reset-tree:hover{ color:#f4e4bd; border-color:#6d5a31; }

.tc-grid{
  position:relative;
  display:grid;
  grid-template-columns:repeat(4, 52px);
  justify-content:center;
  gap:18px 12px;
  padding:18px 14px 20px;
  background-size:cover;
  background-position:center top;
}
/* veil over the art so icons and arrows stay readable */
.tc-grid::before{
  content:""; position:absolute; inset:0; z-index:0;
  background:linear-gradient(180deg, rgba(6,7,9,.46), rgba(6,7,9,.72));
}

/* prerequisite arrows, painted over the art but under the icons */
.tc-arrows{
  position:absolute; inset:0;
  width:100%; height:100%;
  pointer-events:none;
  overflow:visible;
  z-index:1;
}
.tc-arrow{
  fill:none;
  stroke:#3c3529;
  stroke-width:2.5;
  stroke-linejoin:round;
  transition:stroke .15s var(--ease);
}
.tc-arrow.is-met{ stroke:#e8c14a; }
.tc-cell{ position:relative; z-index:2; aspect-ratio:1; }

.tc-talent{
  position:relative;
  width:100%; height:100%;
  padding:0; border:0; background:none; cursor:pointer;
  border-radius:4px;
  display:block;
}
.tc-icon{
  width:100%; height:100%;
  border-radius:4px;
  border:2px solid #171717;
  box-shadow:0 2px 6px rgba(0,0,0,.7);
  transition:filter .15s var(--ease), border-color .15s var(--ease);
}
/* learnable right now -> green rim, exactly as the client marks it */
.tc-talent:not(.is-locked) .tc-icon{ border-color:#27b53f; }
/* fully ranked -> gold rim */
.tc-talent.is-max .tc-icon{ border-color:#e8c14a; }
/* cannot be taken yet -> darkened */
.tc-talent.is-locked .tc-icon{ filter:grayscale(1) brightness(.38); border-color:#111; }
.tc-talent:not(.is-locked):hover .tc-icon{ filter:brightness(1.18); }
.tc-talent.is-locked{ cursor:not-allowed; }

/* the brass dot marks a Frontier change */
.tc-talent.is-frontier::before{
  content:""; position:absolute; top:-4px; left:-4px;
  width:9px; height:9px; border-radius:50%;
  background:var(--brass); box-shadow:0 0 0 2px #0b0d0f, 0 0 6px rgba(217,169,78,.9);
  z-index:3;
}
/* rank counter, bottom-right like the client */
.tc-rank{
  position:absolute; right:-5px; bottom:-6px;
  font-family:var(--sans); font-size:10px; font-weight:600;
  color:#27b53f;
  background:#05070a; border:1px solid #27b53f;
  border-radius:3px; padding:0 4px;
  line-height:1.5;
  z-index:3;
}
.tc-talent.is-max .tc-rank{ color:#e8c14a; border-color:#e8c14a; }
.tc-talent.is-locked .tc-rank{ color:#6a6a6a; border-color:#242424; }


/* tooltip */
.tc-tip{
  position:absolute; z-index:120;
  width:310px; max-width:calc(100vw - 24px);
  background:#0b0e10;
  border:1px solid var(--line-hard);
  border-radius:var(--r);
  box-shadow:0 26px 60px -22px rgba(0,0,0,.9);
  padding:16px 18px;
  pointer-events:none;
}
.tc-tip h4{ font-family:var(--display); font-size:16px; color:var(--cream); margin:0 0 6px; }
.tc-tip p{ margin:0 0 8px; font-size:13.5px; line-height:1.55; }
.tc-tip p:last-child{ margin-bottom:0; }
.tc-tip-rank{ color:var(--muted); font-family:var(--mono); font-size:11.5px; }
.tc-tip-req{ color:var(--ember); font-size:12.5px; }
.tc-tip-desc{ color:var(--text); }
.tc-tip-next{ color:var(--muted); border-top:1px solid var(--line-soft); padding-top:8px; }
.tc-tip-next span{ color:var(--verd); }
.tc-tip-frontier{
  color:var(--brass-hi); font-size:12px; font-weight:600;
  border-top:1px solid var(--brass-line); padding-top:8px;
}

@media (max-width:1040px){
  .tc-trees{ grid-template-columns:1fr; gap:16px; max-width:420px; }
}
@media (max-width:660px){
  .tc-bar{ gap:14px 22px; padding:14px 16px; }
  .tc-actions{ margin-left:0; width:100%; }
  .tc-actions .btn{ flex:1; }
  .tc-grid{ max-width:none; gap:16px 10px; }
  .tc-class span{ font-size:13px; }
}

/* ---------- PvP page: screenshot slots + reward cards ----------
   A .shot shows a labelled placeholder until assets/shots/<name>.jpg exists;
   the img then covers it (its onerror removes it while the file is missing). */
.shot{
  position:relative; margin:0; aspect-ratio:16/9; overflow:hidden;
  display:grid; place-items:center;
  border:1px dashed var(--brass-line); border-radius:var(--r);
  background:radial-gradient(120% 90% at 50% 0%, var(--brass-wash), transparent 70%), var(--surface);
}
.shot.tall{ aspect-ratio:4/5; }
.shot.has-img{ border-style:solid; border-color:var(--line-hard); }
.shot img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
/* .fit: the box takes the image's own shape (item tooltips) instead of a fixed ratio */
.shot.fit{ aspect-ratio:auto; border:0; background:none; display:block; }
.shot.fit img{ position:static; height:auto; object-fit:contain; display:block; }
.shot.fit.has-img figcaption{ display:none; }
.shot figcaption{
  padding:14px; text-align:center;
  font-family:var(--mono); font-size:11.5px; letter-spacing:.08em; text-transform:uppercase; color:var(--muted);
}
.shot figcaption b{ display:block; margin-bottom:4px; color:var(--brass-dim); font-weight:500; }

.pvp-cards{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; margin-top:40px; }
.pvp-card h3{ font-size:19px; font-weight:600; margin:16px 0 8px; }
.pvp-card p{ font-size:14.5px; color:var(--muted); margin:8px 0 0; }
.cost{ display:flex; flex-wrap:wrap; gap:6px; }
.cost span{
  font-family:var(--mono); font-size:11.5px; letter-spacing:.04em;
  padding:3px 9px; border-radius:99px; border:1px solid var(--line-hard); color:var(--cream);
}
.cost .c-honor{ border-color:var(--verd-dim); color:var(--verd); background:var(--verd-wash); }
.cost .c-rating{ border-color:var(--brass-dim); color:var(--brass-hi); background:var(--brass-wash); }
.cost .c-marks{ border-color:#a8573a; color:var(--ember); background:rgba(224,118,74,.10); }
.cost .c-quests{ border-color:#5a6fa8; color:#9fb4ec; background:rgba(143,168,232,.10); }
.pvp-fine{ margin-top:22px; font-size:13.5px; color:var(--muted); }
.pvp-note{ margin-top:24px; font-size:19px; line-height:1.55; color:var(--cream); }

.rule-chips{ display:flex; flex-wrap:wrap; gap:10px; margin-top:26px; padding:0; list-style:none; }
.rule-chips li{
  padding:9px 14px; border:1px solid var(--line-hard); border-radius:var(--r-sm);
  background:var(--surface); font-size:14.5px; color:var(--cream);
}
.shot-wide{ margin-top:40px; }
/* 2x2 grid of smaller shots in one slot (zone of the week) */
.shot-grid{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.shot-label{
  position:absolute; left:10px; bottom:8px; z-index:1;
  font-family:var(--mono); font-size:11px; letter-spacing:.08em; text-transform:uppercase;
  color:#fff; text-shadow:0 1px 3px rgba(0,0,0,.9);
}

@media (max-width:980px){ .pvp-cards{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .pvp-cards{ grid-template-columns:1fr; } }
main.pvp .section h2{ font-size:clamp(28px,3.5vw,42px); font-weight:600; }
main.pvp .section h2 .gold{ display:block; }

/* Registration / downloads */
[hidden]{ display:none !important; }
#registration input[type=email]{ padding:10px 12px; font:inherit; color:inherit; background:var(--panel, transparent); border:1px solid var(--line-hard); border-radius:4px; }

/* ---------- PvP ranks ladder ---------- */
.rank-rules{ margin:22px 0 36px; }
.rank-grid{ display:grid; grid-template-columns:repeat(7,1fr); gap:12px; }
.rank-tile{
  background:var(--surface); border:1px solid var(--line-hard); border-radius:var(--r);
  padding:14px 10px 12px; text-align:center;
}
.rank-icons{ display:flex; justify-content:center; gap:6px; margin-bottom:10px; }
.rank-icons img{ width:38px; height:38px; border-radius:6px; box-shadow:0 0 0 1px #000; }
.rank-n{ font-family:var(--mono); font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); }
.rank-rating{ font-family:var(--display); font-size:17px; color:var(--brass-hi); margin:4px 0 8px; }
.rank-names{ display:flex; flex-direction:column; gap:2px; font-size:12px; line-height:1.35; }
.rank-names .ra{ color:#8fb2ff; }
.rank-names .rh{ color:#ff8a7a; }
@media (max-width:1040px){ .rank-grid{ grid-template-columns:repeat(4,1fr); } }
@media (max-width:560px){ .rank-grid{ grid-template-columns:repeat(2,1fr); } }

/* ranks as a table */
.rank-table-wrap{ overflow-x:auto; }
.rank-table{ width:100%; border-collapse:collapse; font-size:14px; }
.rank-table th{
  text-align:left; padding:10px 14px; border-bottom:1px solid var(--line-hard);
  font-family:var(--mono); font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); font-weight:500;
}
.rank-table td{ padding:8px 14px; border-bottom:1px solid var(--line-soft); vertical-align:middle; }
.rank-table tbody tr:hover{ background:var(--brass-wash); }
.rank-table img{ display:inline-block; width:28px; height:28px; border-radius:5px; box-shadow:0 0 0 1px #000; vertical-align:middle; margin-right:10px; }
.rank-table .rk-n{ font-family:var(--mono); color:var(--muted); width:56px; }
.rank-table .rk-a{ color:#8fb2ff; }
.rank-table .rk-h{ color:#ff8a7a; }
.rank-table .rk-r{ font-family:var(--display); font-size:16px; color:var(--brass-hi); text-align:right; white-space:nowrap; }
.rank-table th:last-child{ text-align:right; }
@media (max-width:560px){ .rank-table td, .rank-table th{ padding:7px 8px; } .rank-table img{ width:22px; height:22px; margin-right:6px; } }
.rank-table .rk-soon .rk-r{ font-family:var(--mono); font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); }

/* ---------- rate tiles + fact chips (rates.html) ---------- */
.rate-group-label{
  font-family:var(--mono); font-size:11px; letter-spacing:.15em; text-transform:uppercase;
  color:var(--muted); margin:0 0 14px;
}
.rate-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.rate-grid + .rate-group-label{ margin-top:40px; }
.rate-tile{
  background:var(--surface); border:1px solid var(--line-soft);
  border-top:2px solid var(--line-hard); border-radius:var(--r);
  padding:20px 20px 18px; display:flex; flex-direction:column; gap:4px;
}
.rate-tile.boost{ border-top-color:var(--brass); background:linear-gradient(180deg, var(--brass-wash), transparent 70%), var(--surface); }
.rate-tile img{
  width:36px; height:36px; border-radius:6px; margin-bottom:10px;
  border:1px solid rgba(0,0,0,.65); box-shadow:0 0 0 1px rgba(255,255,255,.08);
}
.rate-val{ font-family:var(--display); font-size:44px; font-weight:700; line-height:1; color:var(--cream); }
.rate-tile.boost .rate-val{ color:var(--brass-hi); }
.rate-val small{ font-size:18px; font-weight:600; color:var(--muted); margin-left:4px; }
.rate-name{ font-size:15px; font-weight:600; color:var(--cream); margin-top:6px; }
.rate-note{ font-size:13.5px; color:var(--muted); line-height:1.45; }
.rate-note code{ font-size:12.5px; }

.fact-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.fact{
  display:flex; align-items:center; gap:14px;
  background:var(--surface); border:1px solid var(--line-soft); border-radius:var(--r);
  padding:12px 16px 12px 12px;
}
.fact img{
  width:34px; height:34px; border-radius:6px; flex:none;
  border:1px solid rgba(0,0,0,.65); box-shadow:0 0 0 1px rgba(255,255,255,.08);
}
.fact b{ display:block; color:var(--cream); font-weight:600; font-size:15px; }
.fact span{ display:block; color:var(--muted); font-size:13px; line-height:1.4; }
.fact a{ color:inherit; text-decoration:underline; text-decoration-color:var(--line-hard); text-underline-offset:3px; }
.fact a:hover{ color:var(--brass-hi); }

@media (max-width:980px){ .rate-grid{ grid-template-columns:repeat(2,1fr); } .fact-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .rate-val{ font-size:36px; } .fact-grid{ grid-template-columns:1fr; } }

/* ---------- Discord invite banner (index.html) ---------- */
.discord-banner{
  display:flex; align-items:center; gap:26px; padding:26px 30px; margin-bottom:64px;
  border:1px solid rgba(88,101,242,.45); border-radius:var(--r);
  background:radial-gradient(120% 140% at 0% 0%, rgba(88,101,242,.32), rgba(88,101,242,.08) 55%, transparent 80%), var(--surface);
  color:var(--text); transition:transform .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.discord-banner:hover{ color:var(--text); border-color:#5865f2; transform:translateY(-2px); box-shadow:0 18px 40px -22px rgba(88,101,242,.8); }
.dc-logo{ width:64px; height:auto; flex:none; color:#fff; filter:drop-shadow(0 6px 18px rgba(88,101,242,.6)); }
.dc-text{ flex:1; display:flex; flex-direction:column; gap:4px; }
.dc-kicker{ font-family:var(--mono); font-size:10.5px; letter-spacing:.16em; text-transform:uppercase; color:#aab2ff; }
.dc-text b{ font-family:var(--display); font-size:clamp(22px,2.6vw,28px); font-weight:600; color:var(--cream); line-height:1.2; }
.dc-text > span:last-child{ font-size:15px; color:var(--muted); }
.dc-btn{
  flex:none; display:inline-flex; align-items:center; gap:8px; padding:12px 22px; border-radius:999px;
  background:#5865f2; color:#fff; font-weight:600; font-size:15px; white-space:nowrap;
  transition:background .18s var(--ease);
}
.discord-banner:hover .dc-btn{ background:#4752c4; }
@media (max-width:660px){
  .discord-banner{ flex-direction:column; align-items:flex-start; gap:16px; padding:22px; }
  .dc-logo{ width:48px; }
}

/* Discord link in the nav, beside the beta pill */
.nav-discord{
  display:inline-flex; align-items:center; gap:8px; padding:6px 13px; border-radius:999px;
  font-size:13px; font-weight:600; color:#c9cdfb; background:rgba(88,101,242,.14); border:1px solid rgba(88,101,242,.45);
  transition:background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.nav-discord svg{ width:18px; height:auto; }
.nav-discord:hover{ color:#fff; background:#5865f2; border-color:#5865f2; }
@media (max-width:1280px){
  .nav-discord{ padding:6px 10px; }
  .nav-discord span{ display:none; }
}
@media (max-width:1120px){
  .nav .wrap{ gap:16px; }
  .beta-pill{ padding:5px 11px; font-size:12.5px; }
}

/* page headers over a screenshot (features, beta, connect); one class per page so the image path stays in this file */
.art-head{ padding:72px 0 64px; min-height:420px; border-bottom:1px solid var(--line-soft); background-color:var(--bg); }
.art-head h1, .art-head .lede, .art-head .changes{ text-shadow:0 2px 14px rgba(0,0,0,.85); }
.art-head .changes li{ color:var(--cream); border-color:rgba(255,255,255,.12); }
.art-features{ background:linear-gradient(90deg, rgba(9,11,12,.72) 0%, rgba(9,11,12,.35) 45%, rgba(9,11,12,0) 72%), linear-gradient(180deg, rgba(9,11,12,.3) 0%, rgba(9,11,12,0) 30%, rgba(9,11,12,0) 70%, var(--bg) 100%), url("art/features-ashenvale-2560.jpg") center 62% / cover no-repeat, var(--bg); }
.art-beta{ background:linear-gradient(180deg, rgba(9,11,12,0) 72%, var(--bg) 100%), url("art/beta-diremaul-1920.jpg") center 58% / cover no-repeat, var(--bg); }
.art-connect{ background:linear-gradient(180deg, rgba(9,11,12,0) 72%, var(--bg) 100%), url("art/connect-azshara-1920.jpg") center 40% / cover no-repeat, var(--bg); }
@media (max-width:760px){
  .art-head{ padding:48px 0 40px; min-height:56vw; }
  .art-features{ background:linear-gradient(180deg, rgba(9,11,12,.55) 0%, rgba(9,11,12,.35) 60%, var(--bg) 100%), url("art/features-ashenvale-1280.jpg") center 62% / cover no-repeat, var(--bg); }
  .art-beta{ background:linear-gradient(180deg, rgba(9,11,12,0) 72%, var(--bg) 100%), url("art/beta-diremaul-1280.jpg") center 58% / cover no-repeat, var(--bg); }
  .art-connect{ background:linear-gradient(180deg, rgba(9,11,12,0) 72%, var(--bg) 100%), url("art/connect-azshara-1280.jpg") center 40% / cover no-repeat, var(--bg); }
}

/* text that used to sit on a picture header, now in its own band right below it */
.page-intro{ padding:48px 0 52px; }
.page-intro h1{ font-size:clamp(34px,5.2vw,58px); font-weight:600; margin-bottom:18px; }
.page-intro .lede{ margin:0; }
/* picture headers fade into the page; the 1px divider under them read as a stray line */
.page-head.art-head, .page-head.raids-head, .page-head.has-video{ border-bottom:0; }
