/* <ReRolled> guild homepage — design "Landing page, plate: Rim light"
   Plain CSS, no build step. Colours and the lit-glass look match raids.re-rolled.com. */

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin-wght-italic.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --bg: #09090b;
  --text: #ededf2;
  --text-2: #c9c9d3;
  --body: #b9b9c4;
  --muted: #8e8e99;
  --faint: #5d5d68;
  --violet: #b4a6ff;
  --violet-ink: #cdc3ff;
  --blue: #7d95ff;
  --blue-ink: #c4cfff;
  --amber: #ff9a4d;
  --amber-ink: #ffc49a;
  --mono: ui-monospace, "Cascadia Code", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  color: var(--text);
  font: 15px/1.6 Inter, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(900px 620px at 12% -8%, rgba(255, 120, 45, .16), transparent 65%),
    radial-gradient(1000px 700px at 96% -4%, rgba(105, 115, 255, .2), transparent 65%),
    radial-gradient(1100px 800px at 50% 3%, rgba(124, 92, 255, .12), transparent 60%),
    var(--bg);
  background-repeat: no-repeat;
  overflow-x: hidden;
}
h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
img, svg { display: block; }
a { color: var(--violet); text-decoration: none; }
a:hover { color: #d9d1ff; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 50; padding: 8px 14px; border-radius: 8px;
  background: #151518; color: var(--text);
}
.skip:focus { top: 12px; }

/* ---------- Building blocks ---------- */

/* Lit surfaces: corner light, dot speckle, a rim that catches the light */
.lit {
  --light: rgba(255, 255, 255, .035); --rim: rgba(255, 255, 255, .2); --hot: transparent; --light-x: 30%; --dots: 0;
  position: relative; isolation: isolate; border-radius: 20px;
  background:
    radial-gradient(30% 45% at var(--light-x) 0%, var(--hot), transparent 75%),
    radial-gradient(75% 95% at var(--light-x) 0%, var(--light), transparent 70%),
    linear-gradient(180deg, #151518, #0d0d10);
  box-shadow: 0 24px 48px -28px rgba(0, 0, 0, .9);
}
.lit::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(rgba(255, 255, 255, .5) .7px, transparent 1.1px) 0 0 / 6px 6px;
  opacity: var(--dots);
  -webkit-mask-image: radial-gradient(48% 70% at var(--light-x) 0%, #000, transparent 75%);
  mask-image: radial-gradient(48% 70% at var(--light-x) 0%, #000, transparent 75%);
}
.lit::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background:
    radial-gradient(50% 80% at var(--light-x) 0%, var(--rim), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .06) 40%, rgba(255, 255, 255, .045));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.violet { --hot: rgba(160, 135, 255, .3); --light: rgba(124, 92, 255, .30); --rim: rgba(170, 150, 255, .85); --light-x: 100%; --dots: .5; }
.amber { --hot: rgba(255, 150, 80, .26); --light: rgba(255, 130, 50, .26); --rim: rgba(255, 170, 105, .85); --light-x: 0%; --dots: .45; }
.blue { --hot: rgba(130, 150, 255, .26); --light: rgba(100, 125, 255, .26); --rim: rgba(150, 170, 255, .8); --light-x: 85%; --dots: .45; }
.center { --light-x: 50%; }

/* Glossy icon plate */
.plate {
  display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .02) 60%), #111114;
  border: 1px solid rgba(255, 255, 255, .13);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 8px 18px -8px rgba(0, 0, 0, .9), 0 0 22px -4px var(--glow, transparent);
  color: var(--ink, var(--text-2));
}
.violet .plate { --glow: rgba(124, 92, 255, .8); --ink: var(--violet-ink); }
.amber .plate { --glow: rgba(255, 130, 50, .75); --ink: var(--amber-ink); }
.blue .plate { --glow: rgba(100, 125, 255, .75); --ink: var(--blue-ink); }

/* The brand plate, variant "Rim light": dark glass, violet-to-amber rim and mark */
.brand-plate {
  position: relative; display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .02) 60%), #111114;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 8px 18px -8px rgba(0, 0, 0, .9), 0 0 22px -6px rgba(124, 92, 255, .6);
}
/* Mark at 30 of 36 px; the corner where the right R's lower bar meets the stem sits in the centre */
.brand-plate svg { position: absolute; left: 8.1%; top: 29.9%; width: 83.33%; height: auto; }
.brand-plate::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(180, 166, 255, .9), rgba(255, 255, 255, .12) 50%, rgba(255, 178, 122, .85));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.brand-plate--lg { width: 44px; height: 44px; border-radius: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px;
  border-radius: 10px; font: 600 15px/1.2 Inter, system-ui, sans-serif; cursor: pointer; white-space: nowrap;
}
.btn-primary {
  color: #fff; border: 1px solid rgba(195, 182, 255, .55);
  background: linear-gradient(180deg, #8f76ff, #6a45ff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .38), inset 0 -1px 0 rgba(0, 0, 0, .25), 0 8px 26px -8px rgba(124, 92, 255, .95);
}
.btn-primary:hover { color: #fff; filter: brightness(1.08); }
.btn-secondary {
  color: var(--text); border: 1px solid rgba(255, 255, 255, .13);
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}
.btn-secondary:hover { color: var(--text); border-color: rgba(255, 255, 255, .24); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.btn-lg { min-height: 52px; padding: 14px 26px; font-size: 16px; }

/* Chips with a glowing dot */
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2);
  border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .035);
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.c-amber { color: var(--amber); }
.c-blue { color: var(--blue); }
.c-violet { color: var(--violet); }
.c-plain { color: var(--text); }

/* Section kicker with a glowing divider line, and gradient titles */
.kicker { display: flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.kicker::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(170, 150, 255, .45), rgba(255, 255, 255, .04) 70%, transparent); }
.title {
  font-weight: 650; letter-spacing: -.025em; line-height: 1.1;
  background: linear-gradient(180deg, #fff 30%, #a9a9b6); -webkit-background-clip: text; background-clip: text; color: transparent;
}
h2.title { font-size: 36px; }
h3.title { font-size: 27px; }
.mono-note { font: 13px/1.4 var(--mono); color: var(--muted); }
.note { color: var(--muted); font-size: 14px; }
.prose { display: grid; gap: 18px; color: var(--body); font-size: 16px; line-height: 1.7; }
.prose strong, .info strong { color: #fff; font-weight: 600; }

/* ---------- Layout ---------- */

.page { max-width: 1280px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }
.section { padding-bottom: 104px; }
.head-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 28px; }

/* Top navigation */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(9, 9, 11, .72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
.brand:hover { color: var(--text); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.navtext { color: var(--muted); font-weight: 500; white-space: nowrap; }
.navtext:hover { color: var(--text); }
.btn-login { min-height: 40px; padding: 8px 14px; font-size: 14px; color: var(--text-2); }
.btn-login svg { color: var(--violet); }

/* Hero: the logo as the lit object */
.hero { position: relative; padding-top: 96px; padding-bottom: 72px; text-align: center; }
.hero-halo, .hero-dots { position: absolute; left: 50%; max-width: 100%; transform: translateX(-50%); pointer-events: none; }
.hero-halo {
  top: -40px; width: 760px; height: 520px; filter: blur(6px);
  background: radial-gradient(38% 70% at 50% 0%, rgba(150, 140, 255, .32), transparent 75%);
}
.hero-dots {
  top: 0; width: 900px; height: 420px; opacity: .3;
  background: radial-gradient(rgba(255, 255, 255, .55) .7px, transparent 1.1px) 0 0 / 6px 6px;
  -webkit-mask-image: radial-gradient(45% 60% at 50% 20%, #000, transparent 75%);
  mask-image: radial-gradient(45% 60% at 50% 20%, #000, transparent 75%);
}
.hero-chips { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 44px; }
.hero-logo { position: relative; margin: 0 auto; max-width: 1120px; }
.hero-logo svg {
  width: 100%; height: auto; overflow: visible;
  filter: drop-shadow(0 0 34px rgba(124, 92, 255, .38)) drop-shadow(0 2px 0 rgba(0, 0, 0, .7));
}
.hero-again {
  position: absolute; left: 51.2%; top: 72%; transform: translateX(-50%);
  padding: 1px 10px 3px; border-radius: 999px; background: rgba(9, 9, 11, .88); box-shadow: 0 0 0 1px rgba(255, 154, 77, .22);
  font-size: 15px; font-style: italic; line-height: 1.4; white-space: nowrap;
  color: var(--amber); text-shadow: 0 0 18px rgba(255, 140, 60, .55);
}
.hero-lede { position: relative; max-width: 620px; margin: 28px auto 0; font-size: 22px; line-height: 1.45; color: var(--text-2); }
.hero-lede span { color: var(--text); }
.hero-actions { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }

/* Roster recovery numbers */
.stats-kicker { margin-bottom: 18px; }
.stats-updated { font-weight: 500; letter-spacing: .04em; text-transform: none; color: var(--faint); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.stat { display: flex; flex-direction: column; gap: 6px; min-height: 140px; padding: 20px 22px; }
.stat .plate { position: absolute; top: 16px; right: 16px; }
.stat-num { font-size: 32px; font-weight: 650; letter-spacing: -.03em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.stat-num--amber { color: var(--amber); text-shadow: 0 0 22px rgba(255, 140, 60, .5); }
.stat-label { margin-top: auto; padding-right: 8px; font-size: 13px; color: var(--muted); }

/* Manifesto */
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px 56px; }
.split .kicker { margin-bottom: 20px; }
.split h2 { margin-bottom: 16px; }
.split .note { max-width: 320px; }
.card-pad { padding: clamp(24px, 4vw, 48px); }
.lead { font-size: 30px; line-height: 1.3; letter-spacing: -.02em; color: #fff; font-weight: 500; }
.lead i { color: var(--violet-ink); }
.manifesto .prose { margin-top: 32px; max-width: 680px; }
.signoff { display: flex; align-items: center; gap: 16px; margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .07); }
.signoff p { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* The ones we remember */
.roster { display: grid; gap: 24px; }
.roster .head-row { margin-bottom: 0; }
.roster .prose { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 18px 40px; }
.roster .prose span { color: var(--text); }

/* Launch plan */
.plan-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 40px; margin-bottom: 28px; }
.plan-head > div { flex: 1 1 360px; }
.plan-head .kicker { margin-bottom: 20px; }
.plan-head .note { flex: 0 1 380px; }
.plan { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.step { display: flex; flex-direction: column; gap: 12px; min-height: 250px; padding: 22px; }
.step .plate { width: 40px; height: 40px; font-weight: 700; font-size: 14px; }
.step h3 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.step p { color: var(--muted); font-size: 14px; }
.step .chip { margin-top: auto; align-self: start; }

/* Evidence */
.gallery { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: 1fr 1fr; gap: 14px; }
.shot { display: flex; flex-direction: column; padding: 10px; }
.shot.big { grid-row: span 2; }
.shot-frame {
  flex: 1; min-height: 170px; overflow: hidden; border-radius: 13px;
  background: #0b0b0e; border: 1px solid rgba(255, 255, 255, .06);
}
.shot.big .shot-frame { min-height: 300px; }
.shot-frame img { width: 100%; height: 100%; object-fit: cover; }
.shot figcaption { padding: 14px 8px 6px; font-size: 14px; color: var(--body); }

/* Realm & who fits */
.info { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 14px; }
.info-card { display: flex; flex-direction: column; gap: 16px; padding: clamp(24px, 3vw, 36px); }
.info-card > p:not(.kicker) { color: var(--body); font-size: 15px; }
.amber .kicker { color: var(--amber-ink); }
.blue .kicker { color: var(--blue-ink); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.checks { list-style: none; padding: 0; display: grid; gap: 14px; color: var(--body); font-size: 15px; }
.checks li { display: flex; gap: 12px; }
.checks svg { flex: none; margin-top: 3px; color: var(--blue); }

/* Call to action */
.cta-section { padding-bottom: 72px; }
.cta-card { padding: clamp(28px, 5vw, 64px); overflow: hidden; }
.cta-card .kicker { color: var(--violet-ink); }
.cta-mark { position: absolute; right: -60px; bottom: -120px; width: 520px; opacity: .06; pointer-events: none; }
.cta-mark svg { width: 100%; height: auto; }
.cta { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 32px 48px; }
.cta-text { flex: 1 1 420px; display: grid; gap: 14px; }
.cta-text h2.title { font-size: clamp(30px, 4vw, 44px); }
.cta-text p:last-child { color: var(--body); font-size: 16px; max-width: 560px; }
.cta-action { flex: 0 1 auto; display: grid; gap: 12px; justify-items: start; }

/* Footer */
.footer {
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, rgba(255, 130, 50, .3), rgba(255, 255, 255, .06) 40%, rgba(255, 255, 255, .06) 60%, rgba(120, 130, 255, .35)) 1;
}
.footer .page {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
  padding-top: 28px; padding-bottom: 36px; font-size: 13px; color: var(--muted);
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand svg { flex: none; }

/* ---------- Responsive ---------- */

/* The section links need ~1060 px next to both buttons; below that the nav keeps just brand + buttons */
@media (max-width: 1080px) {
  .navtext { display: none; }
  .nav-links { gap: 12px; }
}
@media (max-width: 1000px) {
  .stats, .plan { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .info { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .nav-links { gap: 10px; }
  .btn-login { width: 40px; padding: 0; }
  .btn-login span, .wide-only { display: none; }
  .hero { padding-top: 56px; padding-bottom: 56px; }
  .hero-chips { margin-bottom: 32px; }
  .hero-again { top: calc(100% + 8px); }
  .hero-lede { margin-top: 56px; font-size: 19px; }
  .section { padding-bottom: 72px; }
  .plan { grid-template-columns: minmax(0, 1fr); }
  .step { min-height: 0; }
  .gallery { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .shot.big { grid-row: auto; }
  .shot.big .shot-frame, .shot-frame { min-height: 0; aspect-ratio: 4 / 3; }
  .lead { font-size: 23px; }
  h2.title { font-size: 30px; }
  h3.title { font-size: 24px; }
}
@media (max-width: 420px) {
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stat { min-height: 112px; }
  .brand > span:last-child { font-size: 16px; }
}
