:root {
  --bg: #070809;
  --bg-soft: #0b0b0d;
  --surface: #101012;
  --surface-2: #141214;
  --surface-3: #191416;
  --blood: #8d1018;
  --blood-bright: #c4242f;
  --blood-deep: #4b070c;
  --blood-rgb: 141, 16, 24;
  --text: #f1ece9;
  --text-soft: #c6bdbc;
  --text-muted: #8f8586;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.17);
  --container: 1240px;
  --header-h: 82px;
  --radius: 14px;
  --radius-lg: 22px;
  --serif: "Cinzel", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 75% 12%, rgba(104, 6, 12, .14), transparent 32%),
    radial-gradient(circle at 14% 48%, rgba(85, 8, 12, .08), transparent 28%),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
::selection { background: rgba(var(--blood-rgb), .48); color: #fff; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
img, svg { display: block; }

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
}
.blood-canvas { position: fixed; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.falling-drop {
  position: absolute;
  top: -80px;
  width: 4px;
  height: 25px;
  border-radius: 50% 50% 58% 58%;
  background: linear-gradient(to bottom, rgba(185, 20, 30, .1), rgba(141, 16, 24, .8));
  box-shadow: 0 9px 18px rgba(109, 0, 9, .22);
  opacity: 0;
  animation: fall-drop var(--duration) linear var(--delay) infinite;
}
.falling-drop::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -5px;
  width: 8px; height: 8px;
  background: #94101a;
  border-radius: 70% 45% 65% 45%;
  transform: translateX(-50%) rotate(45deg);
}
@keyframes fall-drop {
  0% { transform: translate3d(0, -70px, 0); opacity: 0; }
  8% { opacity: var(--alpha); }
  90% { opacity: calc(var(--alpha) * .8); }
  100% { transform: translate3d(var(--drift), 115vh, 0); opacity: 0; }
}

.container { width: min(calc(100% - 48px), var(--container)); margin: 0 auto; position: relative; z-index: 2; }
.section { padding: 118px 0; position: relative; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--blood-bright);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .31em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); }
h2 { margin-bottom: 22px; font-size: clamp(2rem, 4.1vw, 4.1rem); line-height: 1.03; letter-spacing: -.045em; }
p { color: var(--text-soft); }

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  padding: 0 22px;
  border-radius: 7px;
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .02em;
  transition: background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  color: #fff;
  background: linear-gradient(180deg, #a31520, #781018);
  border-color: rgba(224, 57, 68, .8);
  box-shadow: inset 0 1px rgba(255,255,255,.14), 0 10px 28px rgba(111, 0, 9, .22);
}
.button-primary:hover { background: linear-gradient(180deg, #b71d29, #89131d); box-shadow: inset 0 1px rgba(255,255,255,.15), 0 14px 34px rgba(128, 3, 13, .31); }
.button-outline { border-color: var(--line-strong); background: rgba(9,9,11,.44); }
.button-outline:hover { border-color: rgba(198, 37, 47, .6); background: rgba(var(--blood-rgb), .08); }
.button-small { min-height: 42px; padding: 0 17px; }
.button-discord svg { width: 18px; height: 18px; }

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  z-index: 80;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: linear-gradient(to bottom, rgba(5,6,7,.8), rgba(5,6,7,.3));
  transition: background .25s ease, border-color .25s ease, height .25s ease;
}
.site-header.scrolled {
  height: 70px;
  background: rgba(7,8,9,.94);
  border-color: rgba(255,255,255,.1);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--serif); font-size: 1.03rem; letter-spacing: .16em; font-weight: 600; white-space: nowrap; }
.brand-mark { width: 31px; height: 31px; color: var(--blood-bright); }
.brand-mark svg { width: 100%; height: 100%; }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 2vw, 31px); font-size: .77rem; }
.main-nav > a:not(.button) { color: #c4bbba; position: relative; padding: 11px 0; transition: color .2s ease; }
.main-nav > a:not(.button)::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 2px;
  height: 1px;
  background: var(--blood-bright);
  transition: right .2s ease;
}
.main-nav > a:not(.button):hover, .main-nav > a.active { color: #fff; }
.main-nav > a:not(.button):hover::after, .main-nav > a.active::after { right: 0; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: transparent; border-radius: 8px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-toggle span { width: 18px; height: 1px; background: #fff; transition: transform .2s ease, opacity .2s ease; }

.hero {
  min-height: 860px;
  height: 100vh;
  max-height: 1040px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(4,5,6,.98) 0%, rgba(7,7,9,.82) 35%, rgba(5,5,7,.32) 66%, rgba(4,4,5,.76) 100%),
    radial-gradient(circle at 73% 42%, rgba(80,0,7,.16), transparent 34%),
    linear-gradient(180deg, #0f1114 0%, #08090b 58%, #040506 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(to bottom, rgba(4,4,5,0) 68%, #070809 100%),
    radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,.42) 100%);
}
.hero-content { padding-top: 56px; }
.hero h1 {
  margin: 0 0 18px;
  max-width: 950px;
  font-size: clamp(5.6rem, 11vw, 10rem);
  line-height: .84;
  letter-spacing: -.07em;
  color: #f5efea;
  text-shadow: 0 2px 0 rgba(255,255,255,.05), 0 11px 40px rgba(0,0,0,.7), 0 0 60px rgba(133,5,14,.12);
}
.hero h1::after {
  content: "";
  display: block;
  width: 280px;
  height: 2px;
  margin-top: 30px;
  background: linear-gradient(to right, var(--blood-bright), transparent);
}
.hero-lead { max-width: 650px; margin-bottom: 33px; font-family: var(--serif); font-size: clamp(1.25rem, 2.1vw, 2rem); color: #ddd5d1; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.scroll-cue { position: absolute; bottom: 30px; left: 50%; z-index: 4; width: 25px; height: 42px; border: 1px solid rgba(255,255,255,.25); border-radius: 18px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 3px; height: 7px; border-radius: 99px; background: var(--blood-bright); animation: mouse-scroll 1.7s ease-in-out infinite; }
@keyframes mouse-scroll { 0% { transform: translate(-50%,0); opacity: 0; } 25% { opacity: 1; } 70% { opacity: 1; } 100% { transform: translate(-50%,13px); opacity: 0; } }

.hero-skyline { position: absolute; inset: 0; overflow: hidden; z-index: -1; }
.moon {
  position: absolute;
  right: 12%; top: 15%;
  width: clamp(130px, 14vw, 225px); aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 33% 36%, rgba(105,105,110,.45) 0 4%, transparent 5%),
    radial-gradient(circle at 65% 61%, rgba(84,84,88,.3) 0 8%, transparent 9%),
    radial-gradient(circle at 59% 27%, rgba(92,92,98,.25) 0 6%, transparent 7%),
    radial-gradient(circle, #d4d0cb 0 57%, #92908f 70%, rgba(153,150,146,.05) 72%);
  opacity: .78;
  box-shadow: 0 0 60px rgba(226,218,209,.08);
}
.city { position: absolute; left: 44%; right: 0; bottom: 0; background-repeat: repeat-x; }
.city-back {
  height: 43%; opacity: .29;
  background-image:
    linear-gradient(90deg, transparent 0 2%, #0e1114 2% 6%, transparent 6% 8%, #111417 8% 14%, transparent 14% 17%, #111417 17% 22%, transparent 22% 25%, #101316 25% 29%, transparent 29% 32%, #0e1114 32% 41%, transparent 41% 44%, #111417 44% 49%, transparent 49% 52%, #111417 52% 59%, transparent 59% 62%, #0e1114 62% 69%, transparent 69% 72%, #111417 72% 80%, transparent 80% 83%, #101316 83% 89%, transparent 89% 92%, #111417 92% 98%, transparent 98%);
  clip-path: polygon(0 55%, 4% 55%, 4% 41%, 8% 41%, 8% 62%, 14% 62%, 14% 30%, 17% 30%, 17% 54%, 22% 54%, 22% 44%, 26% 44%, 26% 64%, 31% 64%, 31% 39%, 36% 39%, 36% 52%, 41% 52%, 41% 23%, 45% 23%, 45% 58%, 52% 58%, 52% 35%, 57% 35%, 57% 62%, 63% 62%, 63% 43%, 68% 43%, 68% 53%, 74% 53%, 74% 17%, 79% 17%, 79% 54%, 85% 54%, 85% 36%, 91% 36%, 91% 61%, 100% 61%, 100% 100%, 0 100%);
}
.city-front {
  height: 56%; opacity: .6;
  background:
    repeating-linear-gradient(90deg, transparent 0 10px, rgba(211,157,93,.13) 10px 12px, transparent 12px 23px),
    linear-gradient(#0a0c0f,#050608);
  clip-path: polygon(0 72%, 5% 72%, 5% 61%, 9% 61%, 9% 79%, 15% 79%, 15% 54%, 20% 54%, 20% 71%, 26% 71%, 26% 33%, 31% 33%, 31% 76%, 37% 76%, 37% 58%, 43% 58%, 43% 65%, 49% 65%, 49% 18%, 55% 18%, 55% 69%, 60% 69%, 60% 49%, 66% 49%, 66% 72%, 73% 72%, 73% 40%, 80% 40%, 80% 63%, 86% 63%, 86% 55%, 93% 55%, 93% 73%, 100% 73%, 100% 100%, 0 100%);
}
.hero-figure {
  position: absolute;
  right: 25%; bottom: -3%;
  width: clamp(260px, 31vw, 510px); height: 72%;
  background:
    radial-gradient(circle at 52% 14%, #141116 0 8%, transparent 8.3%),
    radial-gradient(ellipse at 52% 22%, #0b0a0c 0 13%, transparent 13.4%),
    linear-gradient(100deg, transparent 0 26%, #0a090b 27% 74%, transparent 75%);
  clip-path: polygon(36% 2%, 58% 1%, 70% 10%, 68% 19%, 76% 31%, 81% 49%, 94% 100%, 6% 100%, 20% 51%, 28% 27%, 28% 13%);
  opacity: .82;
  filter: drop-shadow(-25px 5px 28px rgba(0,0,0,.55));
}
.blood-drips { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.blood-drips i { position: absolute; top: 0; width: 4px; height: 72px; background: linear-gradient(to bottom, #5d070c, #a5121d 70%, #770a12); border-radius: 0 0 99px 99px; box-shadow: 0 4px 7px rgba(0,0,0,.34); }
.blood-drips i::after { content: ""; position: absolute; bottom: -8px; left: 50%; width: 12px; height: 12px; background: #8e1018; border-radius: 80% 46% 70% 50%; transform: translateX(-50%) rotate(45deg); }
.blood-drips-left i:nth-child(1) { left: 2.2%; height: 142px; width: 6px; }
.blood-drips-left i:nth-child(2) { left: 4%; height: 68px; opacity: .58; }
.blood-drips-left i:nth-child(3) { left: 9.5%; height: 30px; opacity: .55; }
.blood-drips-left i:nth-child(4) { left: 12.2%; height: 92px; opacity: .4; }
.blood-drips-right i:nth-child(1) { right: 3.5%; height: 98px; opacity: .62; }
.blood-drips-right i:nth-child(2) { right: 7%; height: 48px; opacity: .45; }
.blood-drips-right i:nth-child(3) { right: 11%; height: 24px; opacity: .3; }

.about { background: linear-gradient(180deg, #08090a, #0a0a0c 65%, #08090a); }
.about::after { content: ""; position: absolute; right: 6%; bottom: 5%; width: 420px; height: 420px; background: radial-gradient(circle, rgba(106,8,15,.1), transparent 68%); }
.about-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(55px, 7vw, 105px); align-items: stretch; }
.about-art { min-height: 590px; position: relative; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(180deg, #141216, #070708); box-shadow: inset 0 0 90px rgba(0,0,0,.75); }
.cathedral-window { position: absolute; left: 50%; top: 7%; width: 42%; height: 56%; transform: translateX(-50%); border: 2px solid rgba(192,70,77,.25); border-radius: 50% 50% 7px 7px; background: repeating-linear-gradient(90deg, transparent 0 30px, rgba(119,23,29,.2) 31px 33px), linear-gradient(to bottom, rgba(109,8,16,.33), rgba(16,11,13,.06)); box-shadow: 0 0 70px rgba(119, 5, 13, .16); }
.cathedral-window::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(230,143,148,.15); border-radius: inherit; }
.silhouette { position: absolute; bottom: 0; background: #060607; filter: drop-shadow(0 0 24px rgba(0,0,0,.9)); }
.silhouette-a { left: 21%; width: 34%; height: 71%; clip-path: polygon(37% 0, 59% 0, 68% 9%, 65% 22%, 74% 33%, 90% 100%, 8% 100%, 20% 31%, 31% 20%, 30% 7%); }
.silhouette-b { right: 13%; width: 18%; height: 40%; clip-path: polygon(40% 0, 62% 0, 74% 12%, 72% 26%, 88% 100%, 8% 100%, 23% 24%, 28% 9%); opacity: .82; }
.about-glow { position: absolute; inset: 0; background: radial-gradient(circle at 52% 48%, rgba(136,10,18,.25), transparent 34%), linear-gradient(to top, rgba(75, 4, 10, .26), transparent 48%); }
.about-copy { align-self: center; }
.about-copy .lead-copy { font-size: 1.05rem; color: #ddd5d1; }
.about-pillars { margin-top: 42px; padding-top: 31px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3,1fr); gap: 25px; }
.about-pillars article { display: flex; gap: 12px; align-items: flex-start; }
.about-pillars h3 { font-size: .92rem; margin: 0 0 5px; letter-spacing: -.02em; }
.about-pillars p { font-size: .76rem; color: var(--text-muted); margin: 0; line-height: 1.55; }
.mini-icon { color: var(--blood-bright); font-size: 1.45rem; line-height: 1; }

.features { border-top: 1px solid rgba(255,255,255,.06); }
.section-heading { display: grid; grid-template-columns: 1.35fr .65fr; gap: 48px; align-items: end; margin-bottom: 48px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { margin: 0; max-width: 440px; padding-left: 28px; border-left: 1px solid rgba(198,35,47,.55); font-size: .88rem; }
.section-heading.compact { margin-bottom: 54px; }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; }
.feature-card {
  min-height: 280px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 32px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(23,18,20,.55), rgba(6,7,8,.96));
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.feature-card::before { content: ""; position: absolute; inset: 0; z-index: -2; opacity: .6; transition: opacity .25s ease; }
.feature-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(5,6,7,.98) 0 38%, rgba(6,7,8,.72) 64%, rgba(6,7,8,.34) 100%); }
.feature-card:hover { border-color: rgba(183, 32, 43, .45); box-shadow: 0 22px 55px rgba(0,0,0,.23), inset 0 0 65px rgba(118,8,15,.06); }
.feature-card:hover::before { opacity: .85; }
.feature-card h3 { position: absolute; left: 32px; right: 32px; bottom: 54px; font-size: 1.2rem; margin: 0; }
.feature-card p { position: absolute; left: 32px; right: 32px; bottom: 19px; font-size: .77rem; color: #b9b0af; margin: 0; line-height: 1.45; }
.card-icon { width: 38px; height: 38px; border: 1px solid rgba(204,42,53,.55); display: grid; place-items: center; border-radius: 50%; color: var(--blood-bright); background: rgba(10,6,7,.45); }
.feature-vampire::before { background: radial-gradient(circle at 78% 23%, rgba(195,19,30,.35), transparent 23%), radial-gradient(ellipse at 65% 35%, rgba(238,218,215,.18), transparent 18%), linear-gradient(135deg, #171114, #09090b 58%); }
.feature-growth::before { background: repeating-linear-gradient(46deg, rgba(165,79,42,.08) 0 2px, transparent 2px 22px), radial-gradient(circle at 68% 28%, rgba(131,80,37,.25), transparent 27%), #111012; }
.feature-org::before { background: radial-gradient(circle at 70% 22%, rgba(142,10,18,.24), transparent 22%), linear-gradient(160deg, #171315, #09090b 66%); }
.feature-jobs::before { background: linear-gradient(165deg, transparent 0 48%, rgba(112,12,19,.15) 49% 50%, transparent 51%), linear-gradient(145deg, #131518, #090a0b); }
.feature-world::before { background: radial-gradient(circle at 75% 25%, rgba(199,91,69,.13), transparent 12%), repeating-linear-gradient(90deg, transparent 0 19px, rgba(191,148,92,.05) 20px 21px), linear-gradient(#13181c,#070809); }
.feature-events::before { background: radial-gradient(circle at 64% 27%, rgba(183,22,34,.22), transparent 21%), linear-gradient(135deg,#1a1215,#09090a 68%); }

.quote-banner {
  min-height: 290px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(4,5,6,.95), rgba(75,4,10,.4), rgba(4,5,6,.95)),
    radial-gradient(ellipse at 50% 110%, rgba(177,12,24,.35), transparent 46%),
    #0b080a;
}
.quote-banner::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 46%; background: repeating-linear-gradient(90deg, #050607 0 2%, transparent 2% 3%, #060708 3% 6%, transparent 6% 7%); opacity: .38; clip-path: polygon(0 47%,4% 45%,4% 29%,8% 29%,8% 53%,12% 53%,12% 22%,16% 22%,16% 57%,23% 57%,23% 39%,29% 39%,29% 51%,34% 51%,34% 18%,38% 18%,38% 59%,44% 59%,44% 31%,51% 31%,51% 54%,56% 54%,56% 8%,60% 8%,60% 51%,67% 51%,67% 27%,72% 27%,72% 58%,77% 58%,77% 36%,82% 36%,82% 19%,86% 19%,86% 55%,93% 55%,93% 32%,100% 32%,100% 100%,0 100%); }
.quote-banner p { position: relative; z-index: 2; margin: 0; padding: 0 25px; font-family: var(--serif); font-size: clamp(1.7rem, 3.4vw, 3.1rem); letter-spacing: .08em; color: #eee6e2; text-shadow: 0 5px 28px rgba(0,0,0,.8); }
.quote-ornament { position: absolute; top: 0; left: 18%; right: 18%; height: 3px; background: linear-gradient(90deg, transparent, #7f0b13, transparent); }

.journey { background: linear-gradient(180deg,#090a0b,#070809); }
.timeline { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.timeline-step { position: relative; padding: 64px 36px 0 0; border-top: 1px solid var(--line-strong); }
.timeline-step:not(:last-child)::after { content: "→"; position: absolute; top: -14px; right: 14px; width: 28px; text-align: center; background: #08090a; color: #8c8585; }
.step-number { position: absolute; top: -25px; left: 0; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; background: #0b0a0b; border: 1px solid #a31a24; color: #d42b36; font-family: var(--serif); box-shadow: 0 0 0 5px #08090a; }
.timeline-step h3 { font-size: 1.14rem; margin-bottom: 9px; }
.timeline-step p { margin: 0; max-width: 220px; font-size: .83rem; color: var(--text-muted); }

.rules-teaser { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #09090a; }
.rules-grid { min-height: 520px; display: grid; grid-template-columns: .83fr 1.17fr; align-items: stretch; }
.rules-copy { align-self: center; padding: 90px 8vw 90px 0; }
.rules-copy h2 { margin-bottom: 18px; }
.rules-copy p:not(.eyebrow) { max-width: 620px; margin-bottom: 30px; }
.rules-art { min-height: 460px; position: relative; overflow: hidden; border-left: 1px solid var(--line); background: radial-gradient(circle at 63% 55%, rgba(139,35,18,.22), transparent 31%), linear-gradient(135deg,#0b0a0b,#17100e); }
.rules-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #09090a 0, transparent 24%, transparent 72%, rgba(4,4,5,.5) 100%); }
.books { position: absolute; left: 18%; bottom: 25%; width: 46%; height: 15%; background: linear-gradient(180deg,#4a2e20 0 24%,#1e1613 24% 32%,#3d271b 32% 56%,#151111 56% 66%,#302117 66% 100%); transform: skewX(-7deg); box-shadow: 0 17px 22px rgba(0,0,0,.48); }
.skull { position: absolute; left: 56%; bottom: 19%; width: 120px; height: 105px; border-radius: 52% 48% 45% 50%; background: radial-gradient(circle at 32% 42%, #080808 0 9%, transparent 10%), radial-gradient(circle at 67% 42%, #080808 0 9%, transparent 10%), radial-gradient(circle at 50% 67%, #0a0908 0 7%, transparent 8%), linear-gradient(145deg,#b7aa96,#645a50 75%); box-shadow: inset 0 -11px 20px rgba(0,0,0,.3); transform: rotate(6deg); }
.skull span { position: absolute; left: 31%; right: 28%; bottom: -13px; height: 30px; background: repeating-linear-gradient(90deg,#8f8272 0 8px,#302c27 8px 10px); border-radius: 0 0 20px 20px; }
.candle { position: absolute; bottom: 26%; width: 18px; background: linear-gradient(90deg,#805e42,#d3b288 50%,#70533c); }
.candle::before { content: ""; position: absolute; left: 50%; top: -29px; width: 11px; height: 27px; transform: translateX(-50%); border-radius: 50% 50% 45% 45%; background: radial-gradient(circle at 50% 70%, #fff9c8 0 15%, #ffb143 34%, #a61518 63%, transparent 66%); filter: drop-shadow(0 0 13px #e95e2b); }
.candle-a { right: 18%; height: 150px; }
.candle-b { right: 11%; height: 95px; }
.goblet { position: absolute; right: 31%; bottom: 19%; width: 64px; height: 86px; border: 2px solid rgba(190,163,135,.42); border-radius: 8px 8px 40% 40%; background: linear-gradient(to top, rgba(105,4,11,.78) 0 42%, transparent 43%); }
.goblet::after { content: ""; position: absolute; left: 50%; bottom: -40px; width: 2px; height: 40px; background: rgba(191,170,145,.45); box-shadow: -19px 38px 0 18px transparent; }

.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.faq-item { border: 1px solid var(--line); background: #0c0c0e; }
.faq-item button { width: 100%; min-height: 62px; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; border: 0; background: transparent; cursor: pointer; text-align: left; font-weight: 600; font-size: .88rem; }
.faq-item button span { color: var(--blood-bright); font-size: 1.3rem; font-weight: 400; transition: transform .2s ease; }
.faq-item.open button span { transform: rotate(45deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .24s ease; }
.faq-answer > p { overflow: hidden; margin: 0; padding: 0 20px; color: var(--text-muted); font-size: .82rem; transition: padding .24s ease; }
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-item.open .faq-answer > p { padding: 0 20px 19px; }

.final-cta { min-height: 440px; position: relative; overflow: hidden; display: grid; place-items: center; text-align: center; border-top: 1px solid var(--line); background: linear-gradient(90deg,rgba(7,7,8,.9),rgba(82,4,11,.47),rgba(7,7,8,.9)), radial-gradient(circle at 50% 100%, rgba(202,16,29,.31), transparent 42%), #0d090b; }
.final-cta::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 42%; background: linear-gradient(to top,#050607,transparent); }
.final-cta-inner { padding: 100px 0; }
.final-cta h2 { margin: 0 0 9px; font-size: clamp(2.5rem,5.2vw,5rem); }
.final-cta p:not(.eyebrow) { margin-bottom: 28px; }
.blood-drips-bottom i { top: auto; bottom: 0; transform: rotate(180deg); }
.blood-drips-bottom i:nth-child(1) { left: 12%; height: 58px; opacity: .38; }
.blood-drips-bottom i:nth-child(2) { left: 34%; height: 26px; opacity: .28; }
.blood-drips-bottom i:nth-child(3) { right: 20%; height: 92px; opacity: .48; }
.blood-drips-bottom i:nth-child(4) { right: 10%; height: 40px; opacity: .32; }
.blood-drips-bottom i:nth-child(5) { right: 43%; height: 19px; opacity: .26; }

.site-footer { position: relative; z-index: 3; background: #060708; border-top: 1px solid var(--line); }
.footer-main { min-height: 125px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 35px; }
.footer-nav { display: flex; gap: 26px; font-size: .72rem; color: #9f9697; }
.footer-nav a:hover { color: #fff; }
.socials { justify-self: end; display: flex; align-items: center; gap: 10px; }
.socials a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.03); color: #aaa1a2; transition: color .2s ease, border-color .2s ease, background-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.socials a:hover { color: #fff; border-color: rgba(196,36,47,.6); background: rgba(255,255,255,.06); transform: translateY(-1px); box-shadow: 0 10px 18px rgba(0,0,0,.18); }
.social-icon { width: 18px; height: 18px; display: block; }
.footer-bottom { min-height: 77px; border-top: 1px solid rgba(255,255,255,.06); display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.footer-bottom p { margin: 0; font-size: .65rem; color: #6f6869; }
.footer-bottom p:last-child { max-width: 560px; text-align: right; }

/* Rules page */
.rules-page { min-height: 100vh; }
.rules-hero { min-height: 520px; display: flex; align-items: end; padding: 150px 0 84px; position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 69% 35%, rgba(110,7,15,.23), transparent 28%), linear-gradient(115deg,#08090a 15%,#161014 66%,#08090a); }
.rules-hero::before { content: ""; position: absolute; right: 11%; top: 19%; width: 260px; height: 260px; border: 1px solid rgba(176,27,38,.17); border-radius: 50%; box-shadow: 0 0 0 40px rgba(176,27,38,.025), 0 0 0 80px rgba(176,27,38,.018); }
.rules-hero h1 { font-size: clamp(4rem,9vw,8rem); line-height: .9; letter-spacing: -.06em; margin: 0 0 20px; }
.rules-hero p:not(.eyebrow) { max-width: 680px; font-size: 1rem; }
.rules-layout { display: grid; grid-template-columns: 270px 1fr; gap: 80px; align-items: start; }
.rules-index { position: sticky; top: 110px; display: grid; gap: 1px; border: 1px solid var(--line); background: #0a0a0b; }
.rules-index .eyebrow { padding: 18px 20px 10px; margin: 0; }
.rules-index a { padding: 15px 20px; font-size: .79rem; color: #9d9495; border-top: 1px solid rgba(255,255,255,.06); transition: color .2s ease, background .2s ease; }
.rules-index a:hover { color: #fff; background: rgba(var(--blood-rgb),.08); }
.rules-content { display: grid; gap: 18px; }
.rule-block { display: grid; grid-template-columns: 72px 1fr; gap: 28px; padding: 38px; border: 1px solid var(--line); background: linear-gradient(135deg,#0d0d0f,#0a0a0b); }
.rule-block > span { width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid rgba(190,33,44,.55); border-radius: 50%; color: var(--blood-bright); font-family: var(--serif); }
.rule-block h2 { font-size: 2rem; margin-bottom: 17px; letter-spacing: -.03em; }
.rule-block ol { margin: 0; padding-left: 18px; color: var(--text-soft); }
.rule-block li { padding: 6px 0 6px 6px; font-size: .9rem; }
.rule-block li::marker { color: var(--blood-bright); font-weight: 700; }

.error-page { min-height: 82vh; display: grid; place-items: center; text-align: center; padding-top: var(--header-h); }
.error-inner { max-width: 720px; }
.error-inner h1 { font-size: clamp(2.5rem,6vw,5.5rem); line-height: 1; margin-bottom: 20px; }
.error-inner p:not(.eyebrow) { margin-bottom: 28px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1040px) {
  :root { --header-h: 72px; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 70px; left: 0; right: 0;
    height: calc(100dvh - 70px);
    padding: 28px 28px 40px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(7,8,9,.985);
    transform: translateX(100%);
    transition: transform .26s ease;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav > a:not(.button) { display: block; padding: 18px 4px; font-family: var(--serif); font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .main-nav .button { margin-top: 24px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .feature-grid { grid-template-columns: repeat(2,1fr); }
  .about-grid { grid-template-columns: .9fr 1.1fr; gap: 42px; }
  .about-pillars { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr auto; }
  .footer-nav { display: none; }
}

@media (max-width: 780px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .section { padding: 82px 0; }
  .site-header, .site-header.scrolled { height: 68px; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 68px; left: 0; right: 0;
    height: calc(100dvh - 68px);
    padding: 28px 20px 40px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(7,8,9,.985);
    transform: translateX(100%);
    transition: transform .26s ease;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav > a:not(.button) { display: block; padding: 18px 4px; font-family: var(--serif); font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .main-nav .button { margin-top: 24px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .hero { min-height: 760px; height: 100svh; }
  .hero-content { padding-top: 30px; }
  .hero h1 { font-size: clamp(4.5rem,21vw,7rem); }
  .hero-lead { max-width: 500px; }
  .city { left: 25%; }
  .hero-figure { right: -4%; width: 360px; height: 62%; opacity: .55; }
  .moon { right: 8%; top: 16%; opacity: .5; }
  .about-grid, .rules-grid, .section-heading, .rules-layout { grid-template-columns: 1fr; }
  .about-art { min-height: 440px; }
  .about-pillars { grid-template-columns: 1fr; }
  .section-heading { gap: 18px; }
  .section-heading > p { padding: 0; border: 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 245px; }
  .timeline { grid-template-columns: 1fr; gap: 54px; }
  .timeline-step { padding: 0 0 0 72px; border-top: 0; border-left: 1px solid var(--line-strong); min-height: 112px; }
  .timeline-step:not(:last-child)::after { content: "↓"; top: auto; bottom: -36px; left: -14px; right: auto; background: #08090a; }
  .step-number { left: -25px; top: -2px; }
  .rules-copy { padding: 75px 0 35px; }
  .rules-art { min-height: 360px; border-left: 0; border-top: 1px solid var(--line); }
  .faq-grid { grid-template-columns: 1fr; }
  .footer-main { min-height: 150px; grid-template-columns: 1fr; justify-items: center; gap: 25px; padding: 32px 0; }
  .socials { justify-self: center; }
  .footer-bottom { min-height: 110px; flex-direction: column; justify-content: center; text-align: center; padding: 25px 0; }
  .footer-bottom p:last-child { text-align: center; }
  .rules-index { position: static; }
  .rule-block { grid-template-columns: 1fr; padding: 27px; }
}

@media (max-width: 520px) {
  .brand { font-size: .9rem; letter-spacing: .13em; }
  .brand-mark { width: 27px; height: 27px; }
  .hero-actions { flex-direction: column; align-items: stretch; max-width: 350px; }
  .hero .eyebrow { font-size: .65rem; letter-spacing: .23em; }
  .hero h1 { font-size: clamp(4.2rem, 22vw, 6.4rem); }
  h2 { font-size: clamp(2rem,11vw,3.2rem); }
  .about-art { min-height: 380px; }
  .feature-card { padding: 24px; }
  .feature-card h3, .feature-card p { left: 24px; right: 24px; }
  .quote-banner { min-height: 230px; }
  .rules-art { min-height: 320px; }
  .books { left: 7%; width: 54%; }
  .skull { left: 50%; width: 104px; height: 92px; }
  .candle-a { right: 12%; }
  .candle-b { display: none; }
  .goblet { right: 21%; }
  .rules-hero { min-height: 430px; padding-bottom: 65px; }
  .rules-hero h1 { font-size: 4rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .blood-canvas { display: none; }
}

/* =========================================================
   BLOODLINE v1.1.0 — CINEMATIC VISUAL PASS
   Keeps the v1 structure while replacing placeholder CSS art
   with authored cinematic image assets and tighter spacing.
   ========================================================= */

html { scroll-padding-top: 78px; }
section[id] { scroll-margin-top: 78px; }

:root {
  --container: 1320px;
  --header-h: 76px;
  --blood: #94121b;
  --blood-bright: #e02b36;
  --blood-deep: #3a0408;
  --line: rgba(255,255,255,.095);
}

body {
  background:
    radial-gradient(circle at 70% 8%, rgba(100, 0, 8, .105), transparent 31%),
    radial-gradient(circle at 12% 46%, rgba(104, 0, 10, .055), transparent 28%),
    #050607;
}

.section { padding: 94px 0; }

.site-header {
  background: linear-gradient(to bottom, rgba(4,5,6,.91), rgba(4,5,6,.59));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.site-header.scrolled { background: rgba(5,6,7,.965); }
.brand { font-size: 1.08rem; letter-spacing: .18em; }
.brand-mark { width: 34px; height: 34px; }
.button-discord {
  color: #fff;
  background: linear-gradient(180deg, rgba(177,21,32,.94), rgba(117,9,17,.96));
  border-color: rgba(225,49,61,.72);
  box-shadow: inset 0 1px rgba(255,255,255,.13), 0 8px 28px rgba(102,0,8,.2);
}
.button-discord:hover {
  background: linear-gradient(180deg, #c41f2c, #86111a);
  border-color: rgba(239,73,82,.82);
}

.hero {
  min-height: 760px;
  height: min(92vh, 900px);
  max-height: 900px;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(3,4,5,.98) 0%, rgba(4,5,6,.91) 27%, rgba(4,5,6,.62) 49%, rgba(3,4,5,.17) 76%, rgba(3,4,5,.43) 100%),
    linear-gradient(180deg, rgba(4,5,6,.05) 45%, #050607 100%),
    url('/images/hero-cinematic.webp') center / cover no-repeat;
}
.hero::before {
  background:
    radial-gradient(ellipse at 69% 44%, rgba(145,7,18,.13), transparent 30%),
    linear-gradient(to bottom, rgba(2,3,4,.04) 55%, #050607 100%),
    radial-gradient(ellipse at center, transparent 38%, rgba(0,0,0,.38) 100%);
}
.hero-skyline { display: none; }
.hero-content { padding-top: 44px; }
.hero-content::before {
  content: "";
  position: absolute;
  left: -70px;
  top: 44%;
  width: 320px;
  height: 320px;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(144,6,17,.12), transparent 68%);
  filter: blur(10px);
  z-index: -1;
}
.hero h1 {
  max-width: 850px;
  font-size: clamp(5.1rem, 9.2vw, 8.3rem);
  letter-spacing: -.065em;
  text-shadow: 0 12px 46px rgba(0,0,0,.72), 0 0 54px rgba(128,0,11,.11);
}
.hero h1::after { width: 240px; margin-top: 25px; }
.hero-lead { max-width: 620px; font-size: clamp(1.25rem, 1.85vw, 1.82rem); }
.hero-actions .button { min-width: 205px; }
.blood-drips-left i:nth-child(1) { height: 126px; }
.blood-drips-right i:nth-child(1) { height: 88px; }

.about { overflow: hidden; background: linear-gradient(180deg,#070809,#060708); }
.about-grid { gap: clamp(48px, 7vw, 96px); align-items: center; }
.about-art {
  min-height: 600px;
  border-color: rgba(255,255,255,.12);
  background:
    linear-gradient(90deg, rgba(5,6,7,.1), rgba(5,6,7,.03)),
    linear-gradient(to top, rgba(5,6,7,.76), transparent 45%),
    url('/images/about-cinematic.webp') center / cover no-repeat;
  box-shadow: inset 0 0 90px rgba(0,0,0,.2), 0 30px 90px rgba(0,0,0,.18);
}
.about-art > * { display: none !important; }
.about-art::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(211,36,48,.16);
  pointer-events: none;
}
.about-copy h2 { font-size: clamp(2.7rem,4.6vw,4.6rem); }
.about-copy .lead-copy { font-size: 1.02rem; }
.about-pillars { margin-top: 34px; padding-top: 27px; gap: 18px; }
.about-pillars article { padding-right: 8px; }

.features {
  padding-top: 84px;
  background:
    radial-gradient(circle at 15% 15%, rgba(112,0,9,.07), transparent 28%),
    #060708;
}
.section-heading { margin-bottom: 38px; }
.feature-grid { gap: 14px; }
.feature-card {
  min-height: 268px;
  padding: 26px;
  background: #0a0a0c;
  border-color: rgba(255,255,255,.12);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.28);
}
.feature-card::before {
  opacity: .92;
  background-size: cover !important;
  background-position: center !important;
  filter: saturate(.94) contrast(1.03);
  transform: scale(1.015);
  transition: opacity .3s ease, transform .45s ease;
}
.feature-card::after {
  background:
    linear-gradient(to top, rgba(5,6,7,.99) 0 34%, rgba(5,6,7,.82) 55%, rgba(4,5,6,.20) 100%),
    linear-gradient(90deg, rgba(53,1,6,.12), transparent 52%);
}
.feature-card:hover::before { opacity: 1; transform: scale(1.055); }
.feature-card:hover { border-color: rgba(224,43,54,.46); }
.feature-vampire::before { background-image: url('/images/feature-vampire.webp'); }
.feature-growth::before { background-image: url('/images/feature-growth.webp'); }
.feature-org::before { background-image: url('/images/feature-org.webp'); }
.feature-jobs::before { background-image: url('/images/feature-jobs.webp'); }
.feature-world::before { background-image: url('/images/feature-world.webp'); }
.feature-events::before { background-image: url('/images/feature-events.webp'); }
.card-icon {
  position: relative;
  z-index: 2;
  width: 42px;
  height: 42px;
  background: rgba(5,6,7,.72);
  border-color: rgba(229,43,54,.72);
  box-shadow: 0 0 28px rgba(153,5,17,.10);
}
.feature-card h3 { left: 26px; right: 26px; bottom: 53px; }
.feature-card p { left: 26px; right: 26px; bottom: 18px; }

.quote-banner {
  min-height: 300px;
  background:
    linear-gradient(90deg, rgba(4,5,6,.34), rgba(61,0,7,.13), rgba(4,5,6,.34)),
    linear-gradient(to bottom, rgba(3,4,5,.13), rgba(3,4,5,.35)),
    url('/images/quote-cinematic.webp') center / cover no-repeat;
}
.quote-banner::before { display: none; }
.quote-banner p {
  font-size: clamp(1.65rem, 3vw, 2.85rem);
  letter-spacing: .075em;
  text-shadow: 0 8px 38px rgba(0,0,0,.95), 0 0 34px rgba(95,0,8,.24);
}

.journey { padding-top: 90px; padding-bottom: 92px; }
.timeline-step { padding-top: 56px; }

.rules-teaser {
  background:
    radial-gradient(circle at 80% 45%, rgba(100,0,7,.10), transparent 32%),
    #070809;
}
.rules-grid { min-height: 470px; grid-template-columns: .78fr 1.22fr; }
.rules-copy { padding: 76px 7vw 76px 0; }
.rules-art {
  min-height: 470px;
  background:
    linear-gradient(90deg, #070809 0%, rgba(7,8,9,.46) 18%, rgba(7,8,9,.04) 55%, rgba(7,8,9,.26) 100%),
    linear-gradient(to top, rgba(4,5,6,.38), transparent 48%),
    url('/images/rules-cinematic.webp') center / cover no-repeat;
}
.rules-art > * { display: none !important; }
.rules-art::after {
  background: linear-gradient(90deg, #070809 0%, transparent 25%, transparent 75%, rgba(4,5,6,.38) 100%);
}

.faq { padding-top: 88px; padding-bottom: 94px; }
.faq-item { background: rgba(10,10,12,.72); transition: border-color .2s ease, background .2s ease; }
.faq-item:hover, .faq-item.open { border-color: rgba(210,35,47,.34); background: rgba(15,10,12,.88); }

.final-cta {
  min-height: 430px;
  background:
    linear-gradient(90deg, rgba(5,6,7,.78), rgba(70,0,8,.31), rgba(5,6,7,.78)),
    linear-gradient(to top, rgba(4,5,6,.72), transparent 65%),
    url('/images/cta-cinematic.webp') center / cover no-repeat;
}
.final-cta::before { background: linear-gradient(to top,#050607 0%, rgba(5,6,7,.16) 58%, transparent 100%); }
.final-cta-inner { padding: 88px 0; }
.final-cta h2 { text-shadow: 0 7px 36px rgba(0,0,0,.82); }

/* De-emphasize the free-falling blood so it reads as atmosphere, not UI noise. */
.falling-drop { filter: saturate(.92); }

/* Rules page inherits the same cinematic language. */
.rules-hero {
  background:
    linear-gradient(90deg, rgba(4,5,6,.96), rgba(4,5,6,.68) 55%, rgba(4,5,6,.35)),
    url('/images/hero-cinematic.webp') center / cover no-repeat !important;
}

@media (max-width: 1100px) {
  .hero { height: 820px; min-height: 760px; background-position: 62% center; }
  .hero h1 { font-size: clamp(4.7rem, 13vw, 7rem); max-width: 690px; }
  .about-art { min-height: 500px; }
  .feature-grid { grid-template-columns: repeat(2,1fr); }
  .feature-card { min-height: 255px; }
}

@media (max-width: 760px) {
  .section { padding: 76px 0; }
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .hero {
    min-height: 760px;
    height: 100svh;
    background-position: 68% center;
  }
  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(3,4,5,.97) 0%, rgba(3,4,5,.84) 45%, rgba(3,4,5,.46) 100%);
    z-index: 0;
    pointer-events: none;
  }
  .hero-content, .hero .blood-drips, .hero .scroll-cue { z-index: 2; }
  .hero h1 { font-size: clamp(4.4rem, 20vw, 6.4rem); }
  .about-art { min-height: 430px; }
  .feature-grid { grid-template-columns: 1fr; }
  .rules-grid { grid-template-columns: 1fr; }
  .rules-art { min-height: 390px; background-position: 58% center; }
  .quote-banner { min-height: 245px; background-position: center; }
  .final-cta { min-height: 390px; }
}

@media (max-width: 520px) {
  .hero { background-position: 72% center; }
  .hero h1 { font-size: clamp(4.05rem, 20vw, 5.4rem); }
  .hero h1::after { width: 180px; }
  .about-art { min-height: 360px; }
  .feature-card { min-height: 235px; }
  .rules-art { min-height: 315px; }
}
.button-icon { width: 18px; height: 18px; flex: 0 0 auto; }

/* v1.2.0 — standalone cinematic assets + user supplied logo */
.brand-mark-image {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  overflow: visible;
  flex: 0 0 auto;
  background: transparent;
  filter: drop-shadow(0 0 18px rgba(173, 12, 24, .18));
}
.brand-mark-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}
.footer-brand .brand-mark-image { width: 48px; height: 48px; }

/* Hero uses the dedicated standalone red-moon Los Santos artwork. */
.hero {
  background:
    linear-gradient(90deg, rgba(3,4,5,.98) 0%, rgba(4,5,6,.90) 26%, rgba(4,5,6,.55) 48%, rgba(3,4,5,.16) 75%, rgba(3,4,5,.36) 100%),
    linear-gradient(180deg, rgba(4,5,6,.04) 48%, #050607 100%),
    url('/images/hero-cinematic.webp') center 48% / cover no-repeat;
}
.hero-content { max-width: 760px; }
.hero h1 { max-width: 800px; }
.hero-lead { max-width: 650px; }

/* Dedicated panoramic gargoyle/city image, with no embedded site text. */
.quote-banner {
  min-height: 330px;
  background:
    linear-gradient(90deg, rgba(4,5,6,.70), rgba(73,0,8,.23) 35%, rgba(73,0,8,.18) 65%, rgba(4,5,6,.70)),
    linear-gradient(to bottom, rgba(3,4,5,.10), rgba(3,4,5,.36)),
    url('/images/quote-cinematic.webp') center 55% / cover no-repeat;
}
.quote-banner p {
  max-width: 1500px;
  font-size: clamp(1.7rem, 3vw, 3.05rem);
  letter-spacing: .07em;
}

/* Dedicated vanitas image, not a crop from a website mockup. */
.rules-art {
  background:
    linear-gradient(90deg, #070809 0%, rgba(7,8,9,.44) 17%, rgba(7,8,9,.02) 52%, rgba(7,8,9,.18) 100%),
    linear-gradient(to top, rgba(4,5,6,.30), transparent 52%),
    url('/images/rules-cinematic.webp') center 54% / cover no-repeat;
}
.rules-art::after {
  background: linear-gradient(90deg, #070809 0%, transparent 21%, transparent 82%, rgba(4,5,6,.28) 100%);
}

/* Final CTA has its own purpose-built panoramic crop. */
.final-cta {
  min-height: 430px;
  background:
    linear-gradient(90deg, rgba(5,6,7,.88), rgba(75,0,8,.36), rgba(5,6,7,.78)),
    linear-gradient(to top, rgba(4,5,6,.75), transparent 66%),
    url('/images/cta-cinematic.webp') center 48% / cover no-repeat;
}
.final-cta-inner { position: relative; z-index: 2; }

@media (max-width: 1100px) {
  .brand-mark-image { width: 45px; height: 45px; }
  .hero { background-position: 56% center; }
  .quote-banner { background-position: 55% center; }
  .rules-art { background-position: 56% center; }
  .final-cta { background-position: 57% center; }
}

@media (max-width: 760px) {
  .brand-mark-image { width: 38px; height: 38px; }
  .footer-brand .brand-mark-image { width: 42px; height: 42px; }
  .hero { background-position: 62% center; }
  .quote-banner { min-height: 270px; background-position: 52% center; }
  .quote-banner p { font-size: clamp(1.45rem, 7vw, 2.15rem); line-height: 1.35; }
  .rules-art { min-height: 360px; background-position: 61% center; }
  .final-cta { min-height: 390px; background-position: 61% center; }
}

@media (max-width: 520px) {
  .hero { background-position: 66% center; }
  .quote-banner { min-height: 250px; background-position: 50% center; }
  .rules-art { min-height: 320px; background-position: 64% center; }
  .final-cta { background-position: 64% center; }
}

/* v1.3.0 — whitelist application & tracking system */
.timeline-link {
  color: inherit;
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.timeline-link:hover {
  border-color: rgba(196,36,47,.34);
  background: rgba(141,16,24,.055);
  transform: translateY(-2px);
}
.step-link {
  display: inline-block;
  margin-top: 10px;
  color: #d95a62;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.subpage-hero {
  min-height: 470px;
  padding-top: var(--header-h);
  display: flex;
  align-items: center;
  position: relative;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(4,5,6,.97), rgba(4,5,6,.80) 46%, rgba(4,5,6,.48)),
    linear-gradient(to top, #070809 0%, transparent 60%),
    url('/images/hero-cinematic.webp') center 46% / cover no-repeat;
}
.subpage-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 72% 44%, rgba(141,16,24,.12), transparent 30%);
}
.subpage-hero-inner { max-width: 880px; padding-top: 62px; padding-bottom: 62px; }
.subpage-hero h1 {
  margin: 10px 0 18px;
  max-width: 850px;
  font-family: var(--serif);
  font-size: clamp(3.2rem, 7vw, 6rem);
  line-height: .98;
  letter-spacing: .035em;
}
.subpage-hero-inner > p:not(.eyebrow) { max-width: 700px; color: var(--text-soft); font-size: 1.03rem; }
.subpage-actions { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 24px; }
.text-link { color: #d8cfd0; text-decoration: none; font-weight: 700; font-size: .88rem; }
.text-link:hover { color: #f0a0a5; }

.team-hero .subpage-hero-inner {
  margin: 0 auto;
  text-align: center;
}
.team-hero .subpage-hero-inner > p:not(.eyebrow) {
  margin-left: auto;
  margin-right: auto;
}


.application-section { padding-top: 88px; }
.application-layout {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  gap: clamp(42px, 7vw, 92px);
  align-items: start;
}
.application-info { position: sticky; top: 112px; }
.application-info h2,
.form-panel h2 { margin: 8px 0 18px; font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.08; }
.application-process { display: grid; gap: 8px; margin-top: 30px; }
.application-process > div {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.application-process > div:last-child { border-bottom: 1px solid var(--line); }
.application-process > div > span {
  font-family: var(--serif);
  color: #c23842;
  font-size: 1rem;
  letter-spacing: .08em;
}
.application-process h3 { margin: 0 0 4px; font-size: .96rem; }
.application-process p { margin: 0; color: var(--text-muted); font-size: .86rem; }
.privacy-note {
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid rgba(141,16,24,.24);
  background: rgba(141,16,24,.055);
  border-radius: var(--radius);
}
.privacy-note strong { color: #f1d7d8; }
.privacy-note p { margin: 6px 0 0; color: var(--text-muted); font-size: .86rem; }

.form-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(20,17,19,.96), rgba(10,10,12,.96));
  box-shadow: 0 30px 90px rgba(0,0,0,.28);
  padding: clamp(28px, 4vw, 52px);
}
.form-panel::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -210px;
  top: -230px;
  border-radius: 50%;
  background: rgba(141,16,24,.10);
  filter: blur(40px);
  pointer-events: none;
}
.form-panel-head { position: relative; padding-bottom: 26px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.form-panel-head > p:last-child { margin: 0; color: var(--text-muted); }
.application-form { display: grid; gap: 24px; position: relative; }
.form-grid { display: grid; gap: 20px; }
.form-grid-2 { grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: 9px; }
.field > span { color: #f0e9e7; font-weight: 700; font-size: .88rem; }
.field small { color: var(--text-muted); font-size: .76rem; }
.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 10px;
  background: rgba(4,5,6,.74);
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.field input { min-height: 50px; padding: 0 15px; }
.field textarea { min-height: 132px; resize: vertical; padding: 14px 15px; line-height: 1.55; }
.field textarea.textarea-large { min-height: 210px; }
.field input::placeholder,
.field textarea::placeholder { color: #655d5e; }
.field input:focus,
.field textarea:focus {
  border-color: rgba(196,36,47,.65);
  background: rgba(7,6,8,.92);
  box-shadow: 0 0 0 3px rgba(141,16,24,.09);
}
.check-field {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--text-soft);
  font-size: .85rem;
  padding: 16px 0;
}
.check-field input { width: 18px; height: 18px; accent-color: var(--blood); margin-top: 2px; }
.check-field a { color: #e68086; }
.form-submit { width: 100%; justify-content: center; min-height: 54px; border: 0; cursor: pointer; font: inherit; font-weight: 800; }
.form-footnote { margin: -10px 0 0; text-align: center; color: var(--text-muted); font-size: .76rem; }
.form-alert {
  padding: 16px 18px;
  margin: 0 0 24px;
  border-radius: 10px;
  font-size: .86rem;
}
.form-alert ul { margin: 8px 0 0 18px; padding: 0; }
.form-alert p { margin: 6px 0 0; }
.form-alert-error { border: 1px solid rgba(211,51,61,.36); background: rgba(141,16,24,.10); color: #efc7ca; }
.form-alert-warning { border: 1px solid rgba(212,151,63,.34); background: rgba(151,100,21,.09); color: #e8d1ad; }

.result-page { min-height: 100vh; padding-top: var(--header-h); background: radial-gradient(circle at 50% 18%, rgba(141,16,24,.12), transparent 28%); }
.result-shell { min-height: calc(100vh - var(--header-h)); display: flex; align-items: center; }
.result-card {
  max-width: 820px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(18,15,17,.95), rgba(7,8,9,.97));
  padding: clamp(34px, 6vw, 68px);
  box-shadow: 0 34px 100px rgba(0,0,0,.34);
}
.result-symbol {
  width: 70px; height: 70px; margin: 0 auto 24px; display: grid; place-items: center;
  border: 1px solid rgba(69,168,114,.40); border-radius: 50%; color: #83d6a8; font-size: 1.8rem;
  background: rgba(34,122,75,.08); box-shadow: 0 0 45px rgba(46,154,91,.08);
}
.result-card h1 { margin: 8px 0 14px; font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.08; }
.result-lead { max-width: 620px; margin: 0 auto 28px; color: var(--text-soft); }
.tracking-code-block {
  margin: 30px auto;
  padding: 22px;
  max-width: 520px;
  border: 1px solid rgba(196,36,47,.28);
  border-radius: 14px;
  background: rgba(141,16,24,.07);
  display: grid; gap: 8px;
}
.tracking-code-block > span { color: var(--text-muted); font-size: .72rem; font-weight: 800; letter-spacing: .16em; }
.tracking-code-block strong { font-family: var(--serif); font-size: clamp(1.55rem, 4vw, 2.3rem); letter-spacing: .08em; }
.copy-code { appearance: none; border: 0; background: none; color: #e67b82; cursor: pointer; font: inherit; font-size: .78rem; font-weight: 800; }
.result-details { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 28px 0; }
.result-details > div { padding: 18px 10px; display: grid; gap: 5px; }
.result-details > div + div { border-left: 1px solid var(--line); }
.result-details span { color: var(--text-muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.result-details strong { font-size: .9rem; }
.result-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.result-security { max-width: 620px; margin: 22px auto 0; color: var(--text-muted); font-size: .77rem; }

.status-section { padding-top: 70px; }
.status-container { max-width: 900px; }
.status-search {
  max-width: 650px;
  margin: 0 auto 54px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15,13,15,.86);
}
.status-input-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.status-input-row .button { border: 0; cursor: pointer; }
.status-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(20,17,19,.96), rgba(8,9,10,.98));
  padding: clamp(26px, 5vw, 48px);
  box-shadow: 0 30px 90px rgba(0,0,0,.28);
}
.status-card-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.status-card-head h2 { margin: 6px 0 0; font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.2rem); }
.status-badge {
  border: 1px solid rgba(196,36,47,.28); background: rgba(141,16,24,.08); color: #e8bec1;
  padding: 7px 11px; border-radius: 999px; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.status-accepted .status-badge { border-color: rgba(71,165,114,.34); background: rgba(40,127,81,.08); color: #a9dfbf; }
.status-summary { display: grid; grid-template-columns: repeat(3,1fr); padding: 24px 0; }
.status-summary > div { display: grid; gap: 4px; }
.status-summary span { color: var(--text-muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.status-summary strong { font-size: .9rem; }
.status-progress { display: grid; grid-template-columns: auto 1fr auto 1fr auto 1fr auto; align-items: start; margin: 26px 0 34px; }
.progress-step { display: grid; justify-items: center; gap: 8px; color: #686162; min-width: 78px; text-align: center; font-size: .68rem; font-weight: 700; }
.progress-step i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #514a4b; background: #0b0b0d; }
.progress-line { height: 1px; background: #373234; margin-top: 8px; }
.progress-step.done { color: #d8cfd0; }
.progress-step.done i { border-color: #c3313b; background: #7f0e15; box-shadow: 0 0 16px rgba(141,16,24,.22); }
.progress-line.done { background: #8d1018; }
.status-message { padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.018); }
.status-message h3 { margin: 0 0 7px; font-family: var(--serif); }
.status-message p { margin: 0; color: var(--text-muted); }
.status-message-success { border-color: rgba(57,151,100,.28); background: rgba(38,116,75,.055); }
.status-message-rejected { border-color: rgba(196,36,47,.28); background: rgba(141,16,24,.055); }
.decision-note { margin-top: 12px !important; color: var(--text-soft) !important; }
.status-help { text-align: center; margin-top: 36px; padding: 28px; color: var(--text-muted); }
.status-help h3 { color: var(--text); font-family: var(--serif); margin: 0 0 5px; }
.status-help p { margin: 0 0 10px; }

@media (max-width: 960px) {
  .application-layout { grid-template-columns: 1fr; }
  .application-info { position: static; }
}

@media (max-width: 760px) {
  .subpage-hero { min-height: 420px; background-position: 62% center; }
  .subpage-hero h1 { font-size: clamp(2.8rem, 13vw, 4.3rem); }
  .form-grid-2 { grid-template-columns: 1fr; }
  .status-card-head { display: grid; }
  .status-summary { grid-template-columns: 1fr; gap: 14px; }
  .status-progress { grid-template-columns: 1fr; gap: 0; justify-items: stretch; }
  .progress-step { grid-template-columns: 22px 1fr; justify-items: start; align-items: center; min-width: 0; padding: 7px 0; text-align: left; }
  .progress-line { width: 1px; height: 20px; margin: 0 0 0 8px; }
  .result-details { grid-template-columns: 1fr; }
  .result-details > div + div { border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 520px) {
  .subpage-actions { display: grid; gap: 9px; }
  .form-panel { border-radius: 16px; padding: 24px 18px; }
  .status-search { padding: 18px; }
  .status-input-row { grid-template-columns: 1fr; }
  .status-input-row .button { width: 100%; justify-content: center; }
  .result-card { padding: 32px 18px; border-radius: 16px; }
}

/* v1.4.0 — team page + single-review whitelist polish */
.team-section { padding-top: 82px; }
.team-heading {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: end;
  justify-items: center;
  text-align: center;
  margin-bottom: 48px;
}
.team-heading h2 { margin: 8px 0 0; }
.team-heading > p { margin: 0; color: var(--text-muted); max-width: 760px; justify-self: center; }
.team-role-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.team-role-card {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0%, rgba(141,16,24,.13), transparent 38%),
    linear-gradient(180deg, rgba(20,17,19,.95), rgba(8,9,10,.98));
  transition: transform .24s ease, border-color .24s ease, background .24s ease, box-shadow .24s ease;
}
.team-role-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity .28s ease, transform .28s ease;
  background:
    radial-gradient(circle at 12% -3%, rgba(150,10,22,.95) 0 16px, transparent 17px),
    radial-gradient(circle at 20% 0%, rgba(150,10,22,.82) 0 10px, transparent 11px),
    radial-gradient(circle at 79% -2%, rgba(150,10,22,.88) 0 14px, transparent 15px),
    radial-gradient(circle at 90% 0%, rgba(150,10,22,.85) 0 8px, transparent 9px),
    linear-gradient(180deg, rgba(160,12,24,.22) 0, rgba(160,12,24,.10) 22%, transparent 34%),
    linear-gradient(180deg, transparent 0 74%, rgba(160,12,24,.03) 100%);
  background-repeat: no-repeat;
  background-size:
    18px 72px,
    12px 56px,
    16px 74px,
    10px 44px,
    100% 100%,
    100% 100%;
  background-position:
    12% 0,
    20% 0,
    79% 0,
    90% 0,
    center top,
    center bottom;
}
.team-role-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(196,36,47,.62), transparent);
  opacity: .35;
}
.team-role-card:hover {
  transform: translateY(-4px);
  border-color: rgba(196,36,47,.34);
  box-shadow: 0 22px 48px rgba(0,0,0,.28), 0 0 0 1px rgba(120, 8, 18, .12) inset;
  background:
    radial-gradient(circle at 100% 0%, rgba(141,16,24,.22), transparent 40%),
    linear-gradient(180deg, rgba(23,18,21,.98), rgba(9,9,11,.99));
}
.team-role-card:hover::before {
  opacity: 1;
  transform: translateY(0);
}
.team-role-featured {
  grid-column: span 2;
  min-height: 340px;
  background:
    radial-gradient(circle at 78% 28%, rgba(164,14,25,.18), transparent 30%),
    linear-gradient(135deg, rgba(28,17,20,.98), rgba(8,9,10,.98));
}
.team-role-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.team-role-code {
  font-family: var(--serif);
  color: #c9bfc0;
  font-size: .82rem;
  letter-spacing: .16em;
}
.team-role-mark { width: 58px; height: 58px; opacity: .22; filter: saturate(.65); }
.team-role-mark img,
.team-cta-logo img { width: 100%; height: 100%; object-fit: contain; }
.team-role-copy { position: relative; z-index: 1; max-width: 520px; }
.team-role-label {
  margin: 0 0 7px;
  color: #b8424b;
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .2em;
}
.team-role-copy h3 {
  margin: 0 0 12px;
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
  letter-spacing: -.02em;
}
.team-role-copy p { margin: 0; color: var(--text-muted); font-size: .9rem; }
.team-member-list { display: grid; gap: 8px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.team-member { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.team-member strong { font-size: .88rem; }
.team-member span { color: var(--text-muted); font-size: .76rem; text-align: right; }
.team-cta {
  margin-top: 58px;
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 30px 32px;
  border: 1px solid rgba(196,36,47,.22);
  border-radius: 16px;
  background: linear-gradient(90deg, rgba(141,16,24,.075), rgba(12,11,13,.92) 45%, rgba(12,11,13,.96));
}
.team-cta-logo { width: 72px; height: 72px; opacity: .72; }
.team-cta h3 { margin: 2px 0 7px; font-size: 1.45rem; }
.team-cta p:not(.eyebrow) { margin: 0; color: var(--text-muted); }

@media (max-width: 980px) {
  .team-role-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-role-featured { grid-column: span 2; }
  .team-heading { grid-template-columns: 1fr; gap: 14px; }
  .team-heading > p { justify-self: start; }
}

@media (max-width: 680px) {
  .team-role-grid { grid-template-columns: 1fr; }
  .team-role-featured { grid-column: auto; min-height: 310px; }
  .team-cta { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 28px 22px; }
  .team-cta .button { width: 100%; }
}

/* v1.4.1 — Discord-synced team roster */
.team-heading-copy { max-width: 760px; justify-self: center; }
.team-heading-copy > p { margin: 0; color: var(--text-muted); }
.team-role-mark { width: 62px; height: 62px; opacity: .32; filter: saturate(.8) drop-shadow(0 0 14px rgba(143, 18, 30, .14)); }
.team-sync-state {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  color: #91898b;
  font-size: .72rem;
  letter-spacing: .035em;
}
.team-sync-state small { color: #6f686a; font-size: inherit; }
.team-sync-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #867a7c;
  box-shadow: 0 0 0 4px rgba(134,122,124,.08);
}
.team-sync-state.is-live .team-sync-dot {
  background: #4da879;
  box-shadow: 0 0 0 4px rgba(77,168,121,.09), 0 0 15px rgba(77,168,121,.28);
}
.team-role-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.team-role-count {
  flex: 0 0 auto;
  color: #a89ea0;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.team-member-list {
  grid-template-columns: 1fr;
  gap: 10px;
}
.team-role-featured .team-member-list:not(.is-empty) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.team-member {
  min-width: 0;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  justify-content: initial;
  gap: 12px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.055);
  border-radius: 12px;
  background: rgba(255,255,255,.018);
  transition: border-color .2s ease, background .2s ease;
}
.team-member:hover {
  border-color: rgba(181,30,42,.26);
  background: linear-gradient(180deg, rgba(141,16,24,.10), rgba(141,16,24,.045));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03), 0 0 28px rgba(141,16,24,.06);
}
.team-member-avatar {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  background: #111013;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 6px 20px rgba(0,0,0,.24);
}
.team-member-copy { min-width: 0; display: grid; gap: 3px; }
.team-member-copy strong {
  overflow: hidden;
  color: #ece7e8;
  font-size: .86rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.team-member-copy span {
  color: #9f7478;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .085em;
  text-transform: uppercase;
  text-align: left;
}
.team-member-list.is-empty { display: block; }
.team-empty {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 58px;
  padding: 11px 12px;
  color: #756e70;
  font-size: .77rem;
  border: 1px dashed rgba(255,255,255,.06);
  border-radius: 12px;
  background: rgba(255,255,255,.012);
}
.team-empty-mark {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(181,30,42,.16);
  border-radius: 9px;
  color: rgba(184,66,75,.55);
  font-family: var(--serif);
  font-size: .78rem;
}

@media (max-width: 980px) {
  .team-heading-copy { justify-self: start; }
}

@media (max-width: 680px) {
  .team-role-featured .team-member-list:not(.is-empty) { grid-template-columns: 1fr; }
  .team-role-title-row { align-items: flex-start; }
  .team-sync-state small { width: 100%; padding-left: 14px; }
}

/* v1.5.0 — comprehensive rules + Bloodline universe */
.rules-hero-standard {
  min-height: 500px;
  background:
    linear-gradient(90deg, rgba(4,5,6,.96), rgba(4,5,6,.76) 48%, rgba(4,5,6,.42)),
    linear-gradient(to top, #070809 0%, transparent 62%),
    url('/images/rules-cinematic.webp') center 42% / cover no-repeat;
}
.rules-hero-standard::before { display: none; }
.rules-tools-section {
  position: relative;
  z-index: 4;
  margin-top: -34px;
}
.rules-tools {
  min-height: 96px;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 26px;
  padding: 18px 22px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 16px;
  background: rgba(9,9,11,.96);
  box-shadow: 0 20px 65px rgba(0,0,0,.35);
}
.rules-search { display: grid; gap: 8px; }
.rules-search > span {
  color: #ba3d47;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .2em;
}
.rules-search > div { position: relative; display: flex; align-items: center; }
.rules-search svg {
  position: absolute;
  left: 16px;
  width: 18px;
  height: 18px;
  color: #857d7f;
  pointer-events: none;
}
.rules-search input {
  width: 100%;
  height: 48px;
  padding: 0 48px 0 46px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 11px;
  outline: none;
  color: #f3eeee;
  background: #0d0d0f;
  font: inherit;
  font-size: .84rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.rules-search input:focus {
  border-color: rgba(196,36,47,.45);
  box-shadow: 0 0 0 3px rgba(141,16,24,.08);
}
.rules-search-clear {
  position: absolute;
  right: 8px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #756e70;
  font-size: 1.1rem;
  cursor: pointer;
}
.rules-search-clear:hover { color: #fff; background: rgba(255,255,255,.04); }
.rules-tool-meta { display: flex; align-items: baseline; gap: 8px; min-width: 160px; justify-content: flex-end; }
.rules-tool-meta strong { font-family: var(--serif); font-size: 1.65rem; color: #e0d8d9; }
.rules-tool-meta span { color: var(--text-muted); font-size: .72rem; }
.rules-main-section { padding-top: 74px; }
.rules-content { display: grid; gap: 16px; }
.rule-block { scroll-margin-top: 110px; }
.rule-block[hidden], [data-rule-item][hidden] { display: none !important; }
.rule-intro { margin: -2px 0 20px; color: var(--text-muted); font-size: .88rem; }
.rule-glossary { background: radial-gradient(circle at 100% 0%, rgba(141,16,24,.10), transparent 35%), linear-gradient(135deg,#0d0d0f,#0a0a0b); }
.rule-term-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.rule-term-grid article {
  padding: 16px;
  border: 1px solid rgba(255,255,255,.065);
  border-radius: 12px;
  background: rgba(255,255,255,.018);
}
.rule-term-grid strong { display: block; margin-bottom: 6px; color: #ece6e7; font-size: .84rem; }
.rule-term-grid p { margin: 0; color: var(--text-muted); font-size: .78rem; line-height: 1.6; }
.rule-block li {
  border-bottom: 1px solid rgba(255,255,255,.035);
  line-height: 1.65;
}
.rule-block li:last-child { border-bottom: 0; }
.rule-block li.rule-match {
  color: #f0e6e7;
  background: linear-gradient(90deg, rgba(141,16,24,.07), transparent);
}
.rule-term-grid article.rule-match { border-color: rgba(196,36,47,.25); background: rgba(141,16,24,.06); }
.rules-empty {
  min-height: 260px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  padding: 40px;
  border: 1px dashed rgba(255,255,255,.08);
  border-radius: 16px;
  background: rgba(255,255,255,.012);
}
.rules-empty span { font-family: var(--serif); font-size: 2rem; color: #8d1018; }
.rules-empty h3 { margin: 8px 0 5px; font-size: 1.1rem; }
.rules-empty p { margin: 0; color: var(--text-muted); font-size: .82rem; }
.rules-note {
  margin-top: 14px;
  padding: 30px 32px;
  border: 1px solid rgba(196,36,47,.20);
  border-radius: 14px;
  background: linear-gradient(110deg, rgba(141,16,24,.08), rgba(11,10,12,.92));
}
.rules-note h3 { margin: 7px 0 8px; font-size: 1.15rem; }
.rules-note > p:last-child { margin: 0; color: var(--text-muted); font-size: .85rem; }

.lore-page { min-height: 100vh; }
.lore-hero {
  min-height: 760px;
  padding-top: var(--header-h);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(3,4,5,.97) 0%, rgba(3,4,5,.84) 34%, rgba(3,4,5,.42) 60%, rgba(3,4,5,.20) 100%),
    linear-gradient(to top, #060708 0%, transparent 54%),
    url('/images/lore-cinematic.webp') center 48% / cover no-repeat;
}
.lore-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 77% 22%, rgba(153,7,18,.12), transparent 26%);
}
.lore-hero-inner { position: relative; z-index: 1; max-width: 850px; }
.lore-hero h1 {
  margin: 10px 0 24px;
  font-family: var(--serif);
  font-size: clamp(3.4rem, 6.8vw, 6.6rem);
  line-height: .95;
  letter-spacing: -.035em;
}
.lore-hero-inner > p:not(.eyebrow) { max-width: 690px; color: #c5bbbd; font-size: 1rem; line-height: 1.8; }
.lore-intro-section { border-bottom: 1px solid var(--line); }
.lore-intro-grid {
  display: grid;
  grid-template-columns: minmax(300px,.8fr) minmax(0,1.2fr);
  gap: clamp(50px,8vw,120px);
  align-items: start;
}
.lore-intro-grid h2, .lore-layers-copy h2, .lore-role-grid h2 { font-size: clamp(2.4rem,4.7vw,4.9rem); line-height: .98; }
.lore-lead { max-width: 760px; }
.lore-lead p { color: var(--text-soft); font-size: .97rem; line-height: 1.85; }
.lore-lead p:first-child::first-letter { float: left; margin: 7px 10px 0 0; font-family: var(--serif); font-size: 3.7rem; line-height: .7; color: #bc313b; }
.lore-heading { align-items: end; }
.lore-heading > p { max-width: 510px; justify-self: end; }
.lore-pillars { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin-top: 46px; }
.lore-pillar {
  min-height: 280px;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(19,16,18,.96), rgba(8,9,10,.98));
}
.lore-pillar::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 0%, rgba(141,16,24,.14), transparent 35%); opacity: .8; }
.lore-pillar > * { position: relative; z-index: 1; }
.lore-pillar span { font-family: var(--serif); color: #a92a34; font-size: .82rem; letter-spacing: .14em; }
.lore-pillar h3 { margin: 76px 0 11px; font-family: var(--serif); font-size: 1.25rem; }
.lore-pillar p { margin: 0; color: var(--text-muted); font-size: .82rem; line-height: 1.65; }
.lore-cinematic-break {
  min-height: 400px;
  display: flex;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(3,4,5,.88), rgba(70,3,10,.28), rgba(3,4,5,.75)),
    url('/images/lore-cinematic.webp') center 49% / cover no-repeat;
}
.lore-cinematic-copy { text-align: center; }
.lore-cinematic-copy blockquote {
  max-width: 1200px;
  margin: 12px auto 0;
  font-family: var(--serif);
  font-size: clamp(2rem,4.1vw,4rem);
  letter-spacing: .045em;
  color: #eee7e8;
  text-shadow: 0 7px 35px #000;
}
.lore-layers-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(50px,8vw,110px); align-items: start; }
.lore-layers-copy { position: sticky; top: 115px; }
.lore-layers-copy > p:last-child { max-width: 520px; color: var(--text-muted); }
.lore-layers { display: grid; gap: 14px; }
.lore-layers article {
  display: grid;
  grid-template-columns: 62px 1fr;
  column-gap: 22px;
  padding: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(110deg, rgba(141,16,24,.035), rgba(10,10,12,.96));
}
.lore-layers small { grid-row: span 2; display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid rgba(196,36,47,.35); border-radius: 50%; color: #d54650; font-family: var(--serif); }
.lore-layers h3 { margin: 2px 0 7px; font-size: 1.2rem; }
.lore-layers p { margin: 0; color: var(--text-muted); font-size: .84rem; }
.lore-timeline-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #08090a; }
.lore-timeline { display: grid; margin-top: 48px; }
.lore-timeline article { display: grid; grid-template-columns: 74px 1fr; gap: 26px; padding: 28px 0; border-top: 1px solid var(--line); }
.lore-timeline article:last-child { border-bottom: 1px solid var(--line); }
.lore-timeline span { font-family: var(--serif); font-size: 1.45rem; color: #b92c37; }
.lore-timeline h3 { margin: 0 0 7px; font-size: 1.18rem; }
.lore-timeline p { margin: 0; max-width: 900px; color: var(--text-muted); font-size: .86rem; }
.lore-role-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(50px,8vw,110px); align-items: start; }
.lore-role-grid > div:first-child > p:last-child { color: var(--text-muted); max-width: 560px; }
.lore-role-cards { display: grid; gap: 10px; }
.lore-role-cards article { padding: 23px 25px; border: 1px solid var(--line); background: rgba(255,255,255,.014); }
.lore-role-cards strong { display: block; margin-bottom: 7px; color: #ece6e7; font-family: var(--serif); font-size: 1rem; }
.lore-role-cards p { margin: 0; color: var(--text-muted); font-size: .82rem; }
.lore-cta {
  min-height: 450px;
  display: grid;
  place-items: center;
  text-align: center;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(5,6,7,.92), rgba(92,4,12,.38), rgba(5,6,7,.92)),
    url('/images/lore-cinematic.webp') center 80% / cover no-repeat;
}
.lore-cta .container { padding-top: 90px; padding-bottom: 90px; }
.lore-cta h2 { margin: 8px auto 12px; max-width: 1000px; font-size: clamp(2.3rem,4.7vw,4.6rem); }
.lore-cta p:not(.eyebrow) { color: #bbb1b3; }
.lore-cta-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 27px; }

@media (max-width: 1350px) and (min-width: 1041px) {
  .main-nav { gap: 14px; font-size: .71rem; }
  .nav-wrap { gap: 20px; }
}
@media (max-width: 980px) {
  .rules-tools { grid-template-columns: 1fr; }
  .rules-tool-meta { justify-content: flex-start; min-width: 0; }
  .rule-term-grid { grid-template-columns: 1fr; }
  .lore-intro-grid, .lore-layers-grid, .lore-role-grid { grid-template-columns: 1fr; gap: 34px; }
  .lore-layers-copy { position: static; }
  .lore-pillars { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .lore-heading > p { justify-self: start; }
}
@media (max-width: 680px) {
  .rules-tools-section { margin-top: -20px; }
  .rules-tools { padding: 15px; border-radius: 13px; }
  .rules-main-section { padding-top: 48px; }
  .rule-term-grid { grid-template-columns: 1fr; }
  .rule-block { gap: 18px; }
  .lore-hero { min-height: 650px; background-position: 62% center; }
  .lore-hero h1 { font-size: clamp(3rem,13vw,4.6rem); }
  .lore-pillars { grid-template-columns: 1fr; }
  .lore-pillar { min-height: 220px; }
  .lore-pillar h3 { margin-top: 45px; }
  .lore-layers article { grid-template-columns: 50px 1fr; padding: 22px 18px; gap: 14px; }
  .lore-layers small { width: 44px; height: 44px; }
  .lore-timeline article { grid-template-columns: 45px 1fr; gap: 14px; }
  .lore-cinematic-break { min-height: 320px; }
}

/* v1.6.0 — extra pages, denser blood atmosphere, lore polish */
.falling-drop {
  width: 5px;
  background: linear-gradient(to bottom, rgba(212, 30, 43, .14), rgba(141, 16, 24, .98));
  box-shadow: 0 10px 26px rgba(109, 0, 9, .34), 0 0 14px rgba(141,16,24,.14);
}
.falling-drop::after {
  width: 10px;
  height: 10px;
  background: #a8141f;
  box-shadow: 0 0 12px rgba(168,20,31,.16);
}
.blood-drips i {
  width: 5px;
  box-shadow: 0 6px 11px rgba(0,0,0,.38), 0 0 14px rgba(141,16,24,.11);
}
.blood-drips-left i:nth-child(1) { height: 158px; }
.blood-drips-left i:nth-child(4) { height: 110px; opacity: .52; }
.blood-drips-right i:nth-child(1) { height: 116px; opacity: .72; }
.blood-drips-bottom i:nth-child(3) { height: 112px; opacity: .56; }

.team-heading-copy {
  max-width: 760px;
  justify-self: center;
  text-align: center;
}
.team-role-card {
  isolation: isolate;
}
.team-role-card::before {
  opacity: .14;
}
.team-role-card::after {
  height: 3px;
}
.team-role-card .team-role-top,
.team-role-card .team-role-copy,
.team-role-card .team-member-list {
  position: relative;
  z-index: 2;
}
.team-role-card:hover::before {
  opacity: 1;
}
.team-role-card:hover {
  box-shadow: 0 25px 58px rgba(0,0,0,.30), 0 0 0 1px rgba(120, 8, 18, .16) inset, 0 0 60px rgba(130, 4, 16, .10);
}
.team-role-card::selection { background: rgba(var(--blood-rgb), .48); }
.team-role-card .team-member-list {
  position: relative;
}
.team-role-card .team-member-list::before {
  content: "";
  position: absolute;
  left: 9%;
  top: -18px;
  width: 9px;
  height: 0;
  background: linear-gradient(to bottom, rgba(164,10,22,.95), rgba(141,16,24,.22));
  border-radius: 0 0 999px 999px;
  opacity: 0;
  transition: height .28s ease, opacity .28s ease;
}
.team-role-card .team-member-list::after {
  content: "";
  position: absolute;
  right: 14%;
  top: -18px;
  width: 6px;
  height: 0;
  background: linear-gradient(to bottom, rgba(164,10,22,.92), rgba(141,16,24,.16));
  border-radius: 0 0 999px 999px;
  opacity: 0;
  transition: height .32s ease, opacity .32s ease;
}
.team-role-card:hover .team-member-list::before {
  height: 34px;
  opacity: .82;
}
.team-role-card:hover .team-member-list::after {
  height: 25px;
  opacity: .72;
}

.lore-pillars-art .lore-pillar {
  padding: 0 0 24px;
  overflow: hidden;
}
.lore-pillar-visual {
  height: 180px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background-size: cover;
  background-position: center;
  position: relative;
}
.lore-pillar-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,9,10,.96) 0%, rgba(8,9,10,.42) 46%, rgba(8,9,10,.16) 100%);
}
.lore-pillar-art > span,
.lore-pillar-art > h3,
.lore-pillar-art > p {
  position: relative;
  z-index: 1;
  display: block;
  padding-left: 22px;
  padding-right: 22px;
}
.lore-pillar-art > span { margin-top: 20px; }
.lore-pillar-art h3 { margin-top: 18px; }
.lore-pillar.law-01 .lore-pillar-visual { background-image: url('/images/lore-law-blood.webp'); }
.lore-pillar.law-02 .lore-pillar-visual { background-image: url('/images/lore-law-secrets.webp'); }
.lore-pillar.law-03 .lore-pillar-visual { background-image: url('/images/lore-law-price.webp'); }
.lore-pillar.law-04 .lore-pillar-visual { background-image: url('/images/lore-law-story.webp'); }
.lore-timeline p { font-size: .89rem; line-height: 1.72; }
.rule-footnote { margin-top: 18px; color: #9f9395; font-size: .8rem; }

.news-hero {
  background:
    linear-gradient(90deg, rgba(4,5,6,.97), rgba(4,5,6,.78) 46%, rgba(4,5,6,.42)),
    linear-gradient(to top, #070809 0%, transparent 60%),
    url('/images/feature-events.webp') center 38% / cover no-repeat;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}
.news-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(20,17,19,.95), rgba(8,9,10,.98));
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
}
.news-card-featured {
  grid-column: span 2;
  min-height: 270px;
  background:
    linear-gradient(180deg, rgba(20,17,19,.86), rgba(8,9,10,.98)),
    url('/images/feature-world.webp') center / cover no-repeat;
}
.news-badge {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 6px 10px;
  border: 1px solid rgba(196,36,47,.28);
  border-radius: 999px;
  color: #ebb9bd;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
}
.news-card h3 { margin: 0 0 10px; font-size: 1.45rem; }
.news-card p { margin: 0; color: var(--text-muted); }
.news-meta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; color: #aa9d9f; font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; }

.guide-hero {
  background:
    linear-gradient(90deg, rgba(4,5,6,.97), rgba(4,5,6,.80) 46%, rgba(4,5,6,.46)),
    linear-gradient(to top, #070809 0%, transparent 60%),
    url('/images/feature-growth.webp') center 40% / cover no-repeat;
}
.guide-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 44px;
}
.guide-index {
  position: sticky;
  top: 112px;
  align-self: start;
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(13,13,15,.76);
}
.guide-index a { color: #d1c7c8; font-size: .9rem; }
.guide-index a:hover { color: #fff; }
.guide-content { display: grid; gap: 18px; }
.guide-block {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(20,17,19,.95), rgba(8,9,10,.98));
}
.guide-block h2 { margin: 0 0 16px; font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.guide-block ul,
.guide-block ol { margin: 0; padding-left: 19px; color: var(--text-soft); }
.guide-block li + li { margin-top: 9px; }
.guide-card-grid,
.support-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}
.guide-card-grid article,
.support-category {
  padding: 20px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: rgba(255,255,255,.02);
}
.guide-card-grid strong,
.guide-tip-list strong,
.support-category h3 { display: block; margin-bottom: 8px; font-size: 1rem; }
.guide-tip-list {
  display: grid;
  gap: 12px;
}
.guide-tip-list article {
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: rgba(255,255,255,.02);
}
.guide-tip-list p,
.support-category p,
.guide-card-grid p { margin: 0; color: var(--text-muted); }

.support-hero {
  background:
    linear-gradient(90deg, rgba(4,5,6,.97), rgba(4,5,6,.80) 46%, rgba(4,5,6,.46)),
    linear-gradient(to top, #070809 0%, transparent 60%),
    url('/images/rules-cinematic.webp') center 44% / cover no-repeat;
}
.support-intro,
.support-faq {
  display: grid;
  gap: 16px;
}
.support-intro { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: end; margin-bottom: 34px; }
.support-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}
.support-steps article {
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(20,17,19,.95), rgba(8,9,10,.98));
}
.support-steps span {
  display: inline-flex;
  margin-bottom: 18px;
  color: #c43742;
  font-family: var(--serif);
  font-size: 1.1rem;
}
.support-steps h3 { margin: 0 0 8px; font-size: 1.02rem; }
.support-steps p { margin: 0; color: var(--text-muted); }
.support-category-grid { margin: 28px 0 36px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.support-faq { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, rgba(20,17,19,.95), rgba(8,9,10,.98)); }
.support-cta { margin-top: 32px; }

@media (max-width: 1100px) {
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-layout,
  .support-intro { grid-template-columns: 1fr; }
  .guide-index { position: static; }
  .support-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .news-grid,
  .guide-card-grid,
  .support-category-grid,
  .support-steps { grid-template-columns: 1fr; }
  .news-card-featured { grid-column: auto; }
  .guide-block,
  .support-faq,
  .news-card { padding: 22px; }
  .lore-pillar-visual { height: 150px; }
}

/* v1.7.0 — navigation, application form and content management polish */
@media (min-width: 1041px) {
  .main-nav { gap: clamp(16px, 1.7vw, 25px); font-size: .76rem; }
}
.nav-more {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
}
.nav-more summary {
  list-style: none;
  cursor: pointer;
  color: #c4bbba;
  padding: 11px 0;
  white-space: nowrap;
  transition: color .2s ease;
}
.nav-more summary::-webkit-details-marker { display: none; }
.nav-more summary span { margin-left: 5px; color: #8d8385; font-size: .72rem; }
.nav-more:hover summary,
.nav-more.active summary,
.nav-more[open] summary { color: #fff; }
.nav-more-menu {
  position: absolute;
  top: calc(100% - 2px);
  right: -10px;
  min-width: 190px;
  display: grid;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 12px;
  background: rgba(9,9,11,.98);
  box-shadow: 0 20px 50px rgba(0,0,0,.45);
}
.nav-more-menu a {
  padding: 10px 11px;
  border-radius: 7px;
  color: #bdb4b5;
  font-size: .76rem;
}
.nav-more-menu a:hover,
.nav-more-menu a.active { color: #fff; background: rgba(141,16,24,.12); }

.form-grid-2 { align-items: start; }
.field { align-content: start; align-self: start; min-width: 0; }
.field input,
.field textarea { display: block; box-sizing: border-box; }
.field input { min-width: 0; }

.team-role-title-row { display: block; }
.team-role-copy h3 { margin-bottom: 9px; }
.team-role-count {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.025);
  color: #a89ea0;
  font-size: .63rem;
  letter-spacing: .09em;
}

.news-card { position: relative; overflow: hidden; text-decoration: none; color: inherit; transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.news-card:hover { transform: translateY(-4px); border-color: rgba(196,36,47,.32); box-shadow: 0 24px 55px rgba(0,0,0,.28); }
.news-card-image { position: absolute; inset: 0; background-position: center; background-size: cover; opacity: .22; }
.news-card-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,6,7,.15), rgba(8,9,10,.98) 82%); }
.news-card-content { position: relative; z-index: 1; display: block; }
.news-detail-hero { background-image: linear-gradient(90deg, rgba(4,5,6,.96), rgba(4,5,6,.80) 46%, rgba(4,5,6,.42)), linear-gradient(to top, #070809 0%, transparent 60%), var(--news-detail-image), url('/images/feature-events.webp'); }
.news-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 70px; max-width: 1040px; }
.news-detail-content { max-width: 820px; }
.news-detail-content p { margin: 0 0 22px; color: var(--text-soft); font-size: 1rem; line-height: 1.9; }
.news-detail-aside { position: sticky; top: 112px; align-self: start; display: grid; gap: 25px; }
.news-detail-meta { padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: rgba(15,13,15,.72); display: grid; gap: 5px; }
.news-detail-meta span { color: var(--text-muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; }
.news-detail-meta strong { color: #eee6e7; }
.empty-content { padding: 34px; border: 1px solid var(--line); border-radius: 16px; color: var(--text-muted); background: rgba(255,255,255,.018); }

.admin-section { padding-top: 76px; }
.admin-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); gap: 28px; align-items: start; }
.admin-panel,
.admin-list { border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, rgba(20,17,19,.96), rgba(8,9,10,.98)); box-shadow: 0 24px 70px rgba(0,0,0,.2); }
.admin-panel { padding: clamp(24px, 4vw, 42px); }
.admin-list { padding: 24px; position: sticky; top: 100px; }
.admin-list-head { display: flex; justify-content: space-between; gap: 20px; align-items: end; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.admin-list-head h2 { margin: 5px 0 0; font-family: var(--serif); }
.admin-list-head > span { color: var(--text-muted); font-size: .72rem; }
.admin-news-item { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 15px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.admin-news-item:last-child { border-bottom: 0; }
.admin-news-item h3 { margin: 7px 0 5px; font-size: .98rem; }
.admin-news-item p { margin: 0; color: var(--text-muted); font-size: .72rem; }
.admin-news-item.is-draft { opacity: .58; }
.admin-item-actions { display: flex; gap: 8px; align-items: start; }
.admin-item-actions a,
.admin-item-actions button { border: 0; background: transparent; color: #d8757c; font: inherit; font-size: .72rem; cursor: pointer; text-decoration: none; padding: 5px; }
.admin-item-actions a:hover,
.admin-item-actions button:hover { color: #fff; }
.admin-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.admin-checks .check-field { padding: 9px 0; }
.admin-cancel { display: block; margin-top: -10px; text-align: center; }

@media (max-width: 1040px) {
  .nav-more { display: block; }
  .nav-more summary { padding: 18px 4px; font-family: var(--serif); font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav-more-menu { position: static; min-width: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 3px 0 8px 12px; background: transparent; box-shadow: none; }
  .nav-more-menu a { display: block; padding: 12px 4px; font-family: var(--sans); font-size: .84rem; border-bottom: 0; }
  .nav-more[open] summary span { transform: rotate(180deg); display: inline-block; }
}

@media (max-width: 900px) {
  .admin-layout, .news-detail-layout { grid-template-columns: 1fr; }
  .admin-list, .news-detail-aside { position: static; }
}

@media (max-width: 680px) {
  .admin-checks { grid-template-columns: 1fr; gap: 0; }
}


/* --- Home door selector refresh --- */
.page-home .blood-canvas { display: none; }
.page-home {
  --theme-primary: #6c90ff;
  --theme-secondary: #1b2a4d;
  --theme-soft-glow: rgba(108, 144, 255, 0.16);
}
body[data-theme="day"] {
  --theme-primary: #80a9ff;
  --theme-secondary: #172f4f;
  --theme-soft-glow: rgba(128, 169, 255, 0.2);
}
body[data-theme="night"] {
  --theme-primary: #9cb6ff;
  --theme-secondary: #111c35;
  --theme-soft-glow: rgba(120, 155, 255, 0.18);
}

.entry-selector {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 48px) 0 70px;
  background:
    radial-gradient(circle at 20% 28%, rgba(112, 145, 255, 0.12), transparent 26%),
    radial-gradient(circle at 78% 30%, rgba(156, 182, 255, 0.12), transparent 24%),
    linear-gradient(180deg, #060b16 0%, #07101f 52%, #080b12 100%);
  overflow: hidden;
}
.entry-selector__glow {
  position: absolute;
  inset: auto;
  width: 36vw;
  height: 36vw;
  border-radius: 999px;
  filter: blur(80px);
  pointer-events: none;
  opacity: .65;
}
.entry-selector__glow--left { left: -10vw; top: 16vh; background: rgba(233, 197, 127, 0.16); }
.entry-selector__glow--right { right: -10vw; top: 18vh; background: rgba(112, 148, 255, 0.18); }
.entry-selector__inner { position: relative; z-index: 2; }
.entry-brand {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 34px;
}
.entry-brand h1 {
  margin: 12px 0 12px;
  font-size: clamp(48px, 6vw, 88px);
  line-height: .95;
  letter-spacing: .08em;
}
.entry-brand__lead {
  margin: 0 auto;
  max-width: 640px;
  color: rgba(241,236,233,.82);
  font-size: clamp(16px, 1.7vw, 19px);
}
.door-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.door-card {
  position: relative;
  padding: 20px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(16, 22, 38, 0.78), rgba(10, 13, 22, 0.78));
  border: 1px solid rgba(255,255,255,.07);
  box-shadow: 0 22px 70px rgba(0,0,0,.34);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.door-card:hover {
  transform: translateY(-6px);
  border-color: rgba(140, 170, 255, .26);
  box-shadow: 0 28px 90px rgba(0,0,0,.42);
}
.door-stage {
  position: relative;
  height: min(66vh, 660px);
  min-height: 480px;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(7, 14, 28, 0.88), rgba(9, 14, 24, 0.96));
  border: 1px solid rgba(255,255,255,.06);
  perspective: 1400px;
}
.door-preview {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  transition: transform .8s ease, filter .6s ease, opacity .45s ease;
  opacity: .22;
  filter: saturate(.92) brightness(.72) blur(0px);
}
.door-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 8, 16, .18), rgba(4, 8, 16, .55));
}
.door-frame {
  position: absolute;
  inset: 16px;
  border-radius: 18px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(18,24,39,.62), rgba(8,11,18,.72));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
}
.door-frame::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  pointer-events: none;
}
.door-leaf {
  position: relative;
  width: 72%;
  height: 100%;
  border-radius: 12px;
  transform-style: preserve-3d;
  transition: transform .85s cubic-bezier(.2,.7,.15,1), box-shadow .45s ease;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .33);
}
.door-leaf::before,
.door-leaf::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
}
.door-card--day .door-leaf {
  margin-left: 0;
  transform-origin: left center;
}
.door-card--night .door-leaf {
  margin-left: auto;
  transform-origin: right center;
}
.door-card--day .door-leaf::before {
  background: linear-gradient(145deg, #173053 0%, #0f2340 54%, #081525 100%);
  border: 1px solid rgba(212, 183, 133, 0.34);
}
.door-card--night .door-leaf::before {
  background: linear-gradient(145deg, #111c2f 0%, #0c1627 54%, #070d18 100%);
  border: 1px solid rgba(149, 174, 255, 0.24);
}
.door-leaf::after {
  inset: 18px;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow:
    inset 0 0 0 16px rgba(6, 10, 18, .14),
    inset 0 0 0 54px rgba(255,255,255,.035);
}
.door-leaf__panels {
  position: absolute;
  inset: 52px 34px;
  border-radius: 9px;
  border: 1px solid rgba(255,255,255,.12);
}
.door-leaf__panels::before,
.door-leaf__panels::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.12);
}
.door-leaf__panels::before { top: 0; height: 55%; }
.door-leaf__panels::after { bottom: 0; height: 28%; }
.door-handle {
  position: absolute;
  top: 50%;
  width: 11px;
  height: 130px;
  border-radius: 999px;
  transform: translateY(-50%);
  background: linear-gradient(180deg, rgba(245,245,245,.82), rgba(171,190,230,.5));
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 12px 22px rgba(0,0,0,.2);
}
.door-card--day .door-handle { right: 28px; }
.door-card--night .door-handle { left: 28px; }
.door-card:hover .door-preview {
  transform: scale(1.01);
  opacity: .98;
  filter: saturate(1.06) brightness(.95);
}
.door-card--day:hover .door-leaf {
  transform: rotateY(-68deg);
  box-shadow: 30px 14px 34px rgba(0,0,0,.26);
}
.door-card--night:hover .door-leaf {
  transform: rotateY(68deg);
  box-shadow: -30px 14px 34px rgba(0,0,0,.26);
}
.door-copy {
  padding: 28px 10px 8px;
  text-align: center;
}
.door-copy h2 {
  margin: 0;
  font-size: clamp(40px, 4.2vw, 66px);
  line-height: .95;
  letter-spacing: .05em;
}
.door-subtitle {
  margin: 8px 0 16px;
  color: rgba(241,236,233,.9);
  font-family: var(--serif);
  font-size: 25px;
}
.door-copy p:last-of-type {
  max-width: 420px;
  margin: 0 auto;
  color: var(--text-soft);
}
.button-theme {
  margin-top: 22px;
  min-width: 220px;
  justify-content: center;
  border-width: 1px;
}
.button-theme-day {
  background: rgba(115, 157, 255, .08);
  border-color: rgba(231, 198, 139, .42);
  box-shadow: 0 0 0 1px rgba(231,198,139,.08), 0 10px 26px rgba(231,198,139,.12);
}
.button-theme-night {
  background: rgba(115, 157, 255, .08);
  border-color: rgba(124, 159, 255, .36);
  box-shadow: 0 0 0 1px rgba(124,159,255,.08), 0 10px 26px rgba(124,159,255,.12);
}
.entry-help {
  margin: 24px auto 0;
  max-width: 700px;
  text-align: center;
  color: var(--text-muted);
}
.entry-skip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
  text-decoration: none;
  margin: 18px auto 0;
  width: fit-content;
  font-weight: 600;
}
.entry-skip span { font-size: 18px; }

body[data-theme="day"] .site-header.scrolled,
body[data-theme="day"] .site-header {
  background: linear-gradient(180deg, rgba(5,10,18,.84), rgba(5,10,18,.42));
}
body[data-theme="night"] .site-header.scrolled,
body[data-theme="night"] .site-header {
  background: linear-gradient(180deg, rgba(4,8,16,.88), rgba(4,8,16,.46));
}
body[data-theme="day"] .button-primary,
body[data-theme="night"] .button-primary {
  background: linear-gradient(135deg, var(--theme-primary), color-mix(in srgb, var(--theme-primary) 72%, black));
  border-color: transparent;
  color: white;
}
body[data-theme="day"] .eyebrow,
body[data-theme="night"] .eyebrow,
body[data-theme="day"] .brand:hover,
body[data-theme="night"] .brand:hover,
body[data-theme="day"] .main-nav a.active,
body[data-theme="night"] .main-nav a.active {
  color: var(--theme-primary);
}
body[data-theme="day"] .feature-card:hover,
body[data-theme="night"] .feature-card:hover,
body[data-theme="day"] .timeline-step:hover,
body[data-theme="night"] .timeline-step:hover,
body[data-theme="day"] .faq-item.open,
body[data-theme="night"] .faq-item.open {
  border-color: color-mix(in srgb, var(--theme-primary) 42%, white 8%);
  box-shadow: 0 18px 40px color-mix(in srgb, var(--theme-soft-glow) 80%, transparent);
}

@media (max-width: 1040px) {
  .door-choice-grid { grid-template-columns: 1fr; max-width: 780px; margin: 0 auto; }
  .entry-selector { padding-bottom: 54px; }
}
@media (max-width: 760px) {
  .entry-brand { margin-bottom: 24px; }
  .door-card { padding: 14px; }
  .door-stage { min-height: 380px; height: 50vh; }
  .door-frame { inset: 12px; padding: 16px; }
  .door-leaf { width: 76%; }
  .door-leaf__panels { inset: 42px 24px; }
  .door-handle { height: 100px; }
  .door-copy h2 { font-size: clamp(34px, 8vw, 52px); }
  .door-subtitle { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  .door-card, .door-preview, .door-leaf { transition: none !important; }
}


/* --- Portal page --- */
.page-portal .site-header,
.page-portal .site-footer,
.page-portal .blood-canvas { display: none !important; }
.page-portal {
  min-height: 100svh;
  background:
    radial-gradient(circle at 20% 18%, rgba(78, 98, 146, 0.18), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(38, 49, 78, 0.25), transparent 28%),
    linear-gradient(180deg, #060912 0%, #080d16 58%, #070a11 100%);
}
.portal-page { min-height: 100svh; }
.portal-entry {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}
.portal-entry__inner {
  width: min(1400px, 100%);
  margin: 0 auto;
}
.portal-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  color: var(--text-main);
  text-decoration: none;
  font-family: var(--serif);
  letter-spacing: .08em;
}
.portal-brand__mark {
  width: 56px; height: 56px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  display: grid; place-items: center;
  overflow: hidden;
}
.portal-brand__mark img { width: 100%; height: 100%; object-fit: cover; }
.portal-copy {
  max-width: 760px;
  margin-bottom: 34px;
}
.portal-copy h1 {
  margin: 10px 0 14px;
  font-size: clamp(48px, 6vw, 88px);
  line-height: .95;
}
.portal-copy p:last-child {
  max-width: 680px;
  color: rgba(241,236,233,.78);
  font-size: clamp(16px, 1.55vw, 19px);
}
.portal-doors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 40px);
}
.portal-door {
  display: block;
  text-decoration: none;
  color: inherit;
}
.portal-door__scene {
  position: relative;
  height: min(72vh, 760px);
  min-height: 520px;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(8,12,20,.96), rgba(10,12,18,.98));
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 28px 90px rgba(0,0,0,.42);
  perspective: 1600px;
}
.portal-door__preview {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .15;
  transform: scale(1.06);
  transition: opacity .55s ease, transform .9s ease, filter .55s ease;
  filter: brightness(.62) saturate(.95);
}
.portal-door__preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,10,16,.32), rgba(7,10,16,.62));
}
.portal-door__leaf {
  position: absolute;
  top: 16px; bottom: 16px;
  width: 74%;
  border-radius: 18px;
  transform-style: preserve-3d;
  transition: transform .95s cubic-bezier(.2,.75,.08,1), box-shadow .45s ease;
  box-shadow: 0 14px 36px rgba(0,0,0,.34);
}
.portal-door--day .portal-door__leaf { left: 16px; transform-origin: left center; }
.portal-door--night .portal-door__leaf { right: 16px; transform-origin: right center; }
.portal-door__leaf::before,
.portal-door__leaf::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
}
.portal-door__leaf::before {
  background:
    linear-gradient(145deg, rgba(36,49,69,.98), rgba(18,28,42,.98)),
    linear-gradient(90deg, rgba(255,255,255,.06), transparent 30%, rgba(0,0,0,.16));
  border: 1px solid rgba(198, 205, 223, .18);
}
.portal-door__leaf::after {
  inset: 16px;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow:
    inset 0 0 0 18px rgba(255,255,255,.02),
    inset 0 0 0 72px rgba(0,0,0,.08),
    inset 0 0 0 150px rgba(255,255,255,.012);
}
.portal-door__leaf {
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.05) 0, rgba(255,255,255,.01) 14%, rgba(0,0,0,.06) 14%, rgba(0,0,0,.06) 16%, transparent 16%, transparent 49%, rgba(0,0,0,.07) 49%, rgba(0,0,0,.07) 51%, transparent 51%, transparent 84%, rgba(0,0,0,.07) 84%, rgba(0,0,0,.07) 86%, rgba(255,255,255,.03) 86%),
    linear-gradient(180deg, rgba(255,255,255,.02), transparent 18%, rgba(0,0,0,.08));
}
.portal-door__handle {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 138px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: linear-gradient(180deg, #f6f7fb, #bfcce5 55%, #8ea2c6);
  box-shadow: 0 0 0 1px rgba(255,255,255,.15), 0 8px 18px rgba(0,0,0,.24);
}
.portal-door--day .portal-door__handle { right: 28px; }
.portal-door--night .portal-door__handle { left: 28px; }
.portal-door:hover .portal-door__preview {
  opacity: 1;
  transform: scale(1.01);
  filter: brightness(.92) saturate(1.02);
}
.portal-door--day:hover .portal-door__leaf {
  transform: rotateY(-72deg);
  box-shadow: 36px 18px 42px rgba(0,0,0,.24);
}
.portal-door--night:hover .portal-door__leaf {
  transform: rotateY(72deg);
  box-shadow: -36px 18px 42px rgba(0,0,0,.24);
}
.portal-door__meta {
  padding: 18px 8px 0;
}
.portal-door__meta h2 {
  margin: 0 0 8px;
  font-size: clamp(36px, 4vw, 56px);
  line-height: .95;
}
.portal-door__meta p {
  margin: 0;
  color: rgba(241,236,233,.72);
}
.portal-links {
  display: flex;
  gap: 22px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.portal-links a {
  color: var(--text-main);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.16);
  padding-bottom: 4px;
}

/* day theme image swaps */
body[data-theme="day"] .hero {
  background-image: linear-gradient(90deg, rgba(9, 20, 42, 0.86), rgba(9, 20, 42, 0.56) 38%, rgba(14, 38, 78, 0.24) 68%, rgba(8, 16, 28, 0.16)), linear-gradient(to top, rgba(5,9,14,.72), transparent 52%), url('/images/hero-day.webp') !important;
}
body[data-theme="day"] .about-art {
  background-image: linear-gradient(180deg, rgba(8,12,20,.18), rgba(8,12,20,.48)), url('/images/about-day.webp') !important;
}
body[data-theme="day"] .feature-vampire::before { background-image: url('/images/feature-vampire-day.webp'); }
body[data-theme="day"] .feature-growth::before { background-image: url('/images/feature-growth-day.webp'); }
body[data-theme="day"] .feature-org::before { background-image: url('/images/feature-org-day.webp'); }
body[data-theme="day"] .feature-jobs::before { background-image: url('/images/feature-jobs-day.webp'); }
body[data-theme="day"] .feature-world::before { background-image: url('/images/feature-world-day.webp'); }
body[data-theme="day"] .feature-events::before { background-image: url('/images/feature-events-day.webp'); }
body[data-theme="day"] .quote-banner {
  background-image: linear-gradient(90deg, rgba(10, 18, 34, 0.82), rgba(10, 18, 34, 0.42) 50%, rgba(10,18,34,.18)), url('/images/quote-day.webp') !important;
}
body[data-theme="day"] .rules-art {
  background-image: linear-gradient(180deg, rgba(8, 14, 24, 0.18), rgba(8,14,24,.50)), url('/images/rules-day.webp') !important;
}
body[data-theme="day"] .final-cta {
  background-image: linear-gradient(90deg, rgba(7, 14, 28, 0.88), rgba(7,14,28,.48) 48%, rgba(7,14,28,.20)), url('/images/cta-day.webp') !important;
}
body[data-theme="day"] {
  --theme-primary: #7eaaff;
  --theme-secondary: #1b3157;
  --theme-soft-glow: rgba(126, 170, 255, 0.18);
}
body[data-theme="day"] .site-header,
body[data-theme="day"] .site-header.scrolled {
  background: linear-gradient(180deg, rgba(4,8,15,.82), rgba(4,8,15,.40));
}
body[data-theme="day"] .eyebrow,
body[data-theme="day"] .main-nav a.active,
body[data-theme="day"] .brand:hover,
body[data-theme="day"] .footer-brand:hover { color: var(--theme-primary); }
body[data-theme="day"] .button-primary {
  background: linear-gradient(135deg, #8ab8ff, #5d82cf);
  border-color: transparent;
}
body[data-theme="day"] .feature-card:hover,
body[data-theme="day"] .timeline-step:hover,
body[data-theme="day"] .faq-item.open {
  border-color: rgba(126,170,255,.34);
  box-shadow: 0 18px 42px rgba(93,130,207,.15);
}

@media (max-width: 980px) {
  .portal-doors { grid-template-columns: 1fr; }
  .portal-door__scene { min-height: 440px; height: 54vh; }
}
@media (max-width: 640px) {
  .portal-entry { padding: 26px 16px 34px; }
  .portal-brand__mark { width: 48px; height: 48px; }
  .portal-copy { margin-bottom: 24px; }
  .portal-door__scene { min-height: 360px; height: 45vh; border-radius: 20px; }
  .portal-door__leaf { top: 12px; bottom: 12px; }
  .portal-door--day .portal-door__leaf { left: 12px; }
  .portal-door--night .portal-door__leaf { right: 12px; }
  .portal-door__meta h2 { font-size: clamp(30px, 9vw, 44px); }
}
@media (prefers-reduced-motion: reduce) {
  .portal-door__preview, .portal-door__leaf { transition: none !important; }
}


/* --- v4 redesign overrides: cleaner day theme + softened night theme --- */
:root {
  --surface-1: rgba(15, 20, 31, 0.88);
  --surface-2: rgba(10, 14, 22, 0.92);
  --surface-3: rgba(255, 255, 255, 0.04);
  --line-soft: rgba(255,255,255,.08);
  --text-bright: #f3f6fb;
}
body {
  background: #08101a;
  color: var(--text-bright);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at top, rgba(124, 157, 217, 0.06), transparent 30%);
  z-index: -1;
}
body[data-theme="night"] {
  --theme-primary: #8fa8ff;
  --theme-secondary: #203250;
  --theme-soft-glow: rgba(143, 168, 255, 0.14);
}
body[data-theme="day"] {
  --theme-primary: #6ea6ff;
  --theme-secondary: #264e7f;
  --theme-soft-glow: rgba(110, 166, 255, 0.12);
}
.noise,
.blood-canvas,
.page-home .hero-skyline,
.page-home .blood-drips,
.page-home .quote-ornament,
.page-home .cathedral-window,
.page-home .silhouette,
.page-home .about-glow,
.page-home .books,
.page-home .candle,
.page-home .skull,
.page-home .goblet {
  display: none !important;
}
.site-header {
  background: rgba(7, 13, 23, 0.72) !important;
  backdrop-filter: blur(16px);
  border-color: rgba(255,255,255,.06);
}
.site-header.scrolled {
  background: rgba(7, 13, 23, 0.92) !important;
}
.main-nav > a:not(.button),
.main-nav summary {
  color: rgba(229, 236, 247, 0.84);
}
.main-nav > a:not(.button)::after { background: var(--theme-primary); }
.button-outline {
  background: rgba(255,255,255,.025);
  border-color: rgba(255,255,255,.12);
}
.button-primary {
  background: linear-gradient(135deg, var(--theme-primary), #3b67b7) !important;
  border-color: transparent !important;
  box-shadow: 0 14px 32px rgba(35, 73, 144, .24) !important;
}
.portal-copy p:last-child,
.portal-door__meta p,
.hero-lead,
.lore-hero-inner > p:not(.eyebrow),
.subpage-hero-inner > p:not(.eyebrow),
.text-link,
.about-copy p,
.feature-card p,
.timeline-step p,
.rule-card p,
.faq-answer p,
.final-cta p,
.rules-copy p,
.lore-lead p,
.lore-pillar p,
.lore-layers p,
.lore-timeline p,
.guide-block li,
.guide-card-grid p,
.guide-tip-list p,
.support-category p,
.support-steps p,
.news-card p,
.team-role-copy p,
.status-message p,
.form-panel p,
.application-process p,
.privacy-note p { color: rgba(226, 232, 242, 0.78); }

/* Portal remains direct-door based but cleaner */
.page-portal {
  background:
    radial-gradient(circle at 20% 18%, rgba(94, 131, 206, 0.14), transparent 28%),
    radial-gradient(circle at 80% 18%, rgba(59, 92, 161, 0.13), transparent 28%),
    linear-gradient(180deg, #07111d 0%, #0a1422 58%, #09111a 100%) !important;
}
.portal-door__scene {
  background: linear-gradient(180deg, rgba(10, 17, 28, .96), rgba(9, 14, 24, .98));
}
.portal-door__leaf::before {
  background: linear-gradient(145deg, rgba(48,61,84,.98), rgba(22,33,50,.98));
}
.portal-door__meta h2,
.portal-copy h1 { letter-spacing: .02em; }
.portal-door:hover .portal-door__preview { filter: brightness(.97) saturate(1.03); }

/* Home redesign */
.hero {
  min-height: 100svh;
  max-height: none;
  padding-top: var(--header-h);
  background-position: center !important;
  background-size: cover !important;
  display: flex;
  align-items: center;
}
.hero::before { background: linear-gradient(to bottom, rgba(9,15,25,.12), rgba(6,10,18,.62) 78%, rgba(6,10,18,.92)); }
body[data-theme="day"] .hero {
  background: linear-gradient(90deg, rgba(6,16,31,.78), rgba(11,25,47,.46) 38%, rgba(10,22,42,.15) 72%), linear-gradient(to top, rgba(8,14,24,.72), rgba(8,14,24,.08) 45%), url('/images/hero-day.webp') center center / cover no-repeat !important;
}
body[data-theme="night"] .hero {
  background: linear-gradient(90deg, rgba(6,12,20,.88), rgba(8,16,29,.60) 38%, rgba(10,18,34,.28) 70%), linear-gradient(to top, rgba(7,12,20,.82), rgba(7,12,20,.18) 45%), url('/images/hero-cinematic.webp') center center / cover no-repeat !important;
}
.hero-content { padding-top: 40px; padding-bottom: 80px; }
.hero h1 {
  max-width: 900px;
  font-size: clamp(4.7rem, 10vw, 9rem);
  letter-spacing: -.04em;
  line-height: .9;
  text-shadow: 0 12px 38px rgba(0,0,0,.45);
}
.hero h1::after {
  width: 220px;
  background: linear-gradient(to right, rgba(255,255,255,.88), transparent);
}
.hero-lead {
  max-width: 720px;
  font-family: var(--sans);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.7;
}
.scroll-cue { border-color: rgba(255,255,255,.28); }
.scroll-cue span { background: #fff; }

.about,
.features,
.journey,
.faq,
.rules-teaser,
.final-cta,
.lore-intro-section,
.lore-pillars-section,
.lore-layers-section,
.lore-timeline-section,
.team-section,
.support-section,
.guide-section,
.application-section,
.status-section,
.news-section,
.result-shell,
.rules-main-section,
.rules-tools-section {
  background: linear-gradient(180deg, rgba(8,12,19,1), rgba(10,15,24,1));
}
.about::after { display: none; }
.about-grid,
.rules-grid { align-items: center; }
.about-art,
.rules-art {
  min-height: 560px;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 30px 60px rgba(0,0,0,.22);
  background-size: cover !important;
  background-position: center !important;
}
body[data-theme="day"] .about-art {
  background: linear-gradient(180deg, rgba(9,16,28,.16), rgba(7,14,25,.42)), url('/images/about-day.webp') center / cover no-repeat !important;
}
body[data-theme="night"] .about-art {
  background: linear-gradient(180deg, rgba(9,14,24,.20), rgba(7,13,22,.56)), url('/images/about-cinematic.webp') center / cover no-repeat !important;
}
.about-copy .lead-copy { font-size: 1.08rem; line-height: 1.82; color: rgba(240,245,252,.88); }
.about-pillars article,
.timeline-step,
.faq-item,
.rule-term,
.rules-note,
.team-role-card,
.support-steps article,
.support-category,
.guide-card-grid article,
.guide-tip-list article,
.guide-block,
.news-card,
.news-detail-content,
.news-detail-aside .news-side-card,
.form-panel,
.status-card,
.status-help,
.result-card,
.rule-block,
.rules-tools,
.application-process > div,
.privacy-note,
.team-cta,
.support-cta {
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.08) !important;
  background: linear-gradient(180deg, rgba(17,24,37,.88), rgba(11,16,26,.92)) !important;
  box-shadow: 0 16px 38px rgba(0,0,0,.16);
}
.about-pillars { gap: 14px; margin-top: 28px; }
.about-pillars article { padding: 18px 20px; }
.about-pillars .mini-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; flex: 0 0 44px;
  color: var(--theme-primary);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}
.section-heading p, .section-heading > p { max-width: 640px; }
.feature-card {
  min-height: 300px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(0,0,0,.18);
}
.feature-card::after {
  background: linear-gradient(to top, rgba(6,10,16,.94) 0 32%, rgba(6,10,16,.66) 60%, rgba(6,10,16,.18) 100%);
}
.feature-card h3 { font-size: 1.26rem; }
.feature-card p { font-size: .83rem; }
.quote-banner {
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  background-size: cover !important;
  background-position: center !important;
}
body[data-theme="day"] .quote-banner {
  background: linear-gradient(90deg, rgba(7,15,28,.78), rgba(9,20,35,.35), rgba(7,15,28,.78)), url('/images/quote-day.webp') center / cover no-repeat !important;
}
body[data-theme="night"] .quote-banner {
  background: linear-gradient(90deg, rgba(7,13,22,.88), rgba(12,23,40,.40), rgba(7,13,22,.88)), url('/images/quote-cinematic.webp') center / cover no-repeat !important;
}
.quote-banner p {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  letter-spacing: .05em;
  color: #fff;
  text-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.timeline { gap: 14px; }
.timeline-step { min-height: 220px; }
.rules-teaser { padding: 110px 0; }
.rules-art {
  position: relative;
  overflow: hidden;
}
body[data-theme="day"] .rules-art {
  background: linear-gradient(180deg, rgba(9,16,28,.12), rgba(7,14,25,.52)), url('/images/rules-day.webp') center / cover no-repeat !important;
}
body[data-theme="night"] .rules-art {
  background: linear-gradient(180deg, rgba(9,16,28,.18), rgba(7,14,25,.62)), url('/images/rules-cinematic.webp') center / cover no-repeat !important;
}
.final-cta {
  background-size: cover !important;
  background-position: center !important;
}
body[data-theme="day"] .final-cta {
  background: linear-gradient(90deg, rgba(7,15,28,.84), rgba(9,20,35,.38), rgba(7,15,28,.82)), url('/images/cta-day.webp') center / cover no-repeat !important;
}
body[data-theme="night"] .final-cta {
  background: linear-gradient(90deg, rgba(7,13,22,.92), rgba(12,23,40,.40), rgba(7,13,22,.92)), url('/images/cta-cinematic.webp') center / cover no-repeat !important;
}
.final-cta h2,
.rules-copy h2,
.section-heading h2,
.about-copy h2,
.lore-heading h2,
.lore-layers-copy h2,
.lore-intro-grid h2 { letter-spacing: -.03em; }

/* Subpages use cleaner photographic headers */
.subpage-hero,
.rules-hero,
.lore-hero,
.news-hero,
.guide-hero,
.support-hero {
  background-size: cover !important;
  background-position: center !important;
}
.subpage-hero::after,
.rules-hero::before,
.lore-hero::after { display: none; }
body[data-theme="day"] .subpage-hero,
body[data-theme="day"] .rules-hero {
  background: linear-gradient(90deg, rgba(7,16,29,.84), rgba(10,21,38,.44) 48%, rgba(10,21,38,.16)), linear-gradient(to top, rgba(7,12,20,.78), transparent 60%), url('/images/hero-day.webp') center 42% / cover no-repeat !important;
}
body[data-theme="night"] .subpage-hero,
body[data-theme="night"] .rules-hero {
  background: linear-gradient(90deg, rgba(7,12,21,.90), rgba(8,15,28,.55) 48%, rgba(10,18,34,.18)), linear-gradient(to top, rgba(7,12,20,.84), transparent 60%), url('/images/hero-cinematic.webp') center 42% / cover no-repeat !important;
}
body[data-theme="day"] .news-hero {
  background: linear-gradient(90deg, rgba(7,16,29,.86), rgba(10,21,38,.44) 48%, rgba(10,21,38,.18)), linear-gradient(to top, rgba(7,12,20,.78), transparent 60%), url('/images/feature-events-day.webp') center / cover no-repeat !important;
}
body[data-theme="night"] .news-hero {
  background: linear-gradient(90deg, rgba(7,12,21,.90), rgba(8,15,28,.55) 48%, rgba(10,18,34,.18)), linear-gradient(to top, rgba(7,12,20,.84), transparent 60%), url('/images/feature-events.webp') center / cover no-repeat !important;
}
body[data-theme="day"] .guide-hero {
  background: linear-gradient(90deg, rgba(7,16,29,.86), rgba(10,21,38,.44) 48%, rgba(10,21,38,.18)), linear-gradient(to top, rgba(7,12,20,.78), transparent 60%), url('/images/feature-growth-day.webp') center / cover no-repeat !important;
}
body[data-theme="night"] .guide-hero {
  background: linear-gradient(90deg, rgba(7,12,21,.90), rgba(8,15,28,.55) 48%, rgba(10,18,34,.18)), linear-gradient(to top, rgba(7,12,20,.84), transparent 60%), url('/images/feature-growth.webp') center / cover no-repeat !important;
}
body[data-theme="day"] .support-hero {
  background: linear-gradient(90deg, rgba(7,16,29,.86), rgba(10,21,38,.44) 48%, rgba(10,21,38,.18)), linear-gradient(to top, rgba(7,12,20,.78), transparent 60%), url('/images/rules-day.webp') center / cover no-repeat !important;
}
body[data-theme="night"] .support-hero {
  background: linear-gradient(90deg, rgba(7,12,21,.90), rgba(8,15,28,.55) 48%, rgba(10,18,34,.18)), linear-gradient(to top, rgba(7,12,20,.84), transparent 60%), url('/images/rules-cinematic.webp') center / cover no-repeat !important;
}
body[data-theme="day"] .lore-hero {
  background: linear-gradient(90deg, rgba(7,16,29,.86), rgba(10,21,38,.44) 48%, rgba(10,21,38,.18)), linear-gradient(to top, rgba(7,12,20,.78), transparent 60%), url('/images/feature-world-day.webp') center / cover no-repeat !important;
}
body[data-theme="night"] .lore-hero {
  background: linear-gradient(90deg, rgba(7,12,21,.90), rgba(8,15,28,.55) 48%, rgba(10,18,34,.18)), linear-gradient(to top, rgba(7,12,20,.84), transparent 60%), url('/images/lore-cinematic.webp') center / cover no-repeat !important;
}
.lore-cinematic-break,
.lore-cta {
  background-size: cover !important;
  background-position: center !important;
}
body[data-theme="day"] .lore-cinematic-break,
body[data-theme="day"] .lore-cta {
  background: linear-gradient(90deg, rgba(7,16,29,.84), rgba(10,21,38,.40), rgba(7,16,29,.84)), url('/images/feature-world-day.webp') center / cover no-repeat !important;
}
body[data-theme="night"] .lore-cinematic-break,
body[data-theme="night"] .lore-cta {
  background: linear-gradient(90deg, rgba(7,12,21,.90), rgba(10,18,34,.36), rgba(7,12,21,.90)), url('/images/lore-cinematic.webp') center / cover no-repeat !important;
}
.lore-pillar,
.lore-layers article,
.lore-role-cards article,
.lore-timeline article {
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(17,24,37,.88), rgba(11,16,26,.92));
}
.lore-pillar::before { background: radial-gradient(circle at 72% 0%, rgba(110,166,255,.14), transparent 34%); }
.lore-layers small,
.lore-timeline span,
.application-process > div > span,
.step-link,
.news-badge { color: var(--theme-primary); border-color: rgba(110,166,255,.30); }
.text-link:hover { color: #fff; }
.news-card-featured {
  background: linear-gradient(180deg, rgba(17,24,37,.76), rgba(11,16,26,.92)), url('/images/feature-world.webp') center / cover no-repeat;
}
body[data-theme="day"] .news-card-featured {
  background: linear-gradient(180deg, rgba(17,24,37,.62), rgba(11,16,26,.90)), url('/images/feature-world-day.webp') center / cover no-repeat;
}
.footer-main,
.footer-bottom { border-color: rgba(255,255,255,.06); }
.site-footer {
  background: #08111d;
}
.socials a {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
}
@media (max-width: 980px) {
  .about-art, .rules-art { min-height: 400px; }
}
@media (max-width: 760px) {
  .hero h1 { font-size: clamp(3.3rem, 16vw, 5rem); }
  .hero-actions { gap: 10px; }
  .about-art, .rules-art { min-height: 320px; }
  .feature-card { min-height: 250px; }
  .timeline-step { min-height: 0; }
}


/* --- v5 portal realistic doors overhaul --- */
.page-portal.portal-page--realistic,
.page-portal {
  background:
    radial-gradient(circle at 20% 14%, rgba(97, 134, 205, 0.14), transparent 25%),
    radial-gradient(circle at 80% 12%, rgba(56, 88, 150, 0.13), transparent 25%),
    linear-gradient(180deg, #08111b 0%, #091420 58%, #08111a 100%) !important;
}
.portal-entry--realistic {
  padding: 38px 24px 34px;
}
.portal-entry--realistic .portal-entry__inner {
  width: min(1500px, 100%);
}
.portal-doors--realistic {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 42px);
  align-items: start;
}
.portal-doors--realistic .portal-door {
  display: block;
  text-decoration: none;
  color: inherit;
}
.portal-doors--realistic .portal-door__visual {
  position: relative;
  height: min(72vh, 760px);
  min-height: 520px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 28px 90px rgba(0,0,0,.34);
  background-size: cover;
  background-position: center;
  isolation: isolate;
  transform: translateY(0);
  transition: transform .42s ease, box-shadow .42s ease, border-color .42s ease;
}
.portal-doors--realistic .portal-door__visual::before,
.portal-doors--realistic .portal-door__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: opacity .5s ease, transform .8s ease, filter .5s ease;
}
.portal-doors--realistic .portal-door__visual::before {
  opacity: 1;
  transform: scale(1.01);
}
.portal-doors--realistic .portal-door__visual::after {
  opacity: 0;
  transform: scale(1.03);
}
.portal-doors--realistic .portal-door:hover .portal-door__visual {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 36px 110px rgba(0,0,0,.42);
}
.portal-doors--realistic .portal-door:hover .portal-door__visual::before {
  opacity: 0;
  transform: scale(1.04);
  filter: blur(1px);
}
.portal-doors--realistic .portal-door:hover .portal-door__visual::after {
  opacity: 1;
  transform: scale(1.01);
}
.portal-doors--realistic .portal-door__meta {
  padding: 20px 8px 0;
}
.portal-doors--realistic .portal-door__meta h2 {
  margin: 0 0 8px;
  font-size: clamp(40px, 4.8vw, 64px);
  letter-spacing: .01em;
  line-height: .95;
}
.portal-doors--realistic .portal-door__meta p {
  margin: 0;
  font-size: 1rem;
  color: rgba(232, 238, 247, .78);
}
.portal-links {
  margin-top: 28px;
}
@media (max-width: 980px) {
  .portal-doors--realistic { grid-template-columns: 1fr; }
  .portal-doors--realistic .portal-door__visual { min-height: 420px; height: 56vh; }
}
@media (max-width: 640px) {
  .portal-entry--realistic { padding: 22px 16px 28px; }
  .portal-doors--realistic .portal-door__visual { min-height: 340px; height: 44vh; border-radius: 22px; }
  .portal-doors--realistic .portal-door__meta h2 { font-size: clamp(32px, 11vw, 44px); }
  .portal-doors--realistic .portal-door__meta p { font-size: .96rem; }
}


/* v11.1 — application briefing gate */
.application-page.is-gated .application-section { display: none; }
.application-briefing-section { padding-top: 80px; }
.application-briefing-shell { max-width: 1040px; }
.application-briefing-intro { max-width: 760px; }
.application-briefing-intro h2 {
  margin: 8px 0 12px;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 1.04;
}
.application-briefing-intro > p:last-child { margin: 0; color: var(--text-muted); }
.application-briefing-box {
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(15,14,17,.97), rgba(8,9,12,.98));
  box-shadow: 0 32px 90px rgba(0,0,0,.24);
}
.application-briefing-scroll {
  max-height: min(72vh, 1100px);
  overflow: auto;
  padding: clamp(20px, 3vw, 34px);
  scrollbar-width: thin;
}
.application-briefing-scroll::-webkit-scrollbar { width: 10px; }
.application-briefing-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,.14); border-radius: 999px; }
.briefing-document { display: grid; gap: 24px; }
.briefing-document-head {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.briefing-document-head h3 {
  margin: 10px 0 0;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1.06;
}
.briefing-document p,
.briefing-document li {
  color: rgba(235,238,244,.82);
  font-size: .98rem;
  line-height: 1.85;
}
.briefing-document ul {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 9px;
}
.briefing-group {
  display: grid;
  gap: 16px;
  padding: 22px 22px 20px;
  border: 1px solid rgba(255,255,255,.08);
  border-left: 4px solid rgba(181,30,42,.32);
  border-radius: 22px;
  background: rgba(255,255,255,.018);
}
.briefing-group h4 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.22rem;
  letter-spacing: .02em;
}
.briefing-group p:last-child { margin-bottom: 0; }
.application-briefing-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 24px;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.015);
}
.application-briefing-hint {
  margin: 0;
  color: var(--text-muted);
  font-size: .9rem;
}
#application-briefing-continue[disabled] {
  opacity: .45;
  cursor: not-allowed;
  filter: saturate(.7);
}

.application-process { gap: 14px; }
.application-process > div {
  align-items: start;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 18px 18px 18px 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.012));
}
.application-process > div:last-child { border-bottom: 1px solid var(--line); }
.application-process > div > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(181,30,42,.18);
  background: rgba(255,255,255,.02);
}
.application-process h3 { margin: 2px 0 6px; font-size: 1.05rem; }
.application-process p { line-height: 1.72; }

@media (max-width: 960px) {
  .application-briefing-actions { flex-direction: column; align-items: stretch; }
}

@media (max-width: 760px) {
  .application-briefing-section { padding-top: 56px; }
  .application-briefing-scroll { max-height: 68vh; padding: 18px; }
  .briefing-group { padding: 18px 16px; border-radius: 18px; }
  .application-process > div { grid-template-columns: 46px 1fr; gap: 14px; padding: 16px 14px; }
  .application-process > div > span { width: 38px; height: 38px; font-size: .92rem; }
}


/* v13 | Clean, single-title reading experience */
.application-briefing-shell { max-width: 1150px; }
.application-briefing-section { padding-top: clamp(40px,5vw,76px); }
.application-briefing-box { margin-top: 0; position: relative; border-radius: 22px; }
.application-briefing-box::before { content:""; position: absolute; z-index: 2; inset: 0 0 auto; height: 3px; background: var(--brief-accent); pointer-events: none; }
.application-briefing-scroll { max-height: min(74vh,930px); padding: clamp(26px,4.5vw,58px) clamp(22px,5vw,66px); scroll-padding-top: 28px; }
.briefing-document { max-width: 850px; margin: 0 auto; display: flex; flex-direction: column; gap: 15px; }
.briefing-document-head { margin-bottom: 10px; padding-bottom: 30px; border-bottom: 1px solid var(--brief-stroke); }
.briefing-document-meta { display:flex; gap: 14px; align-items: center; justify-content:space-between; flex-wrap: wrap; margin-bottom: 15px; letter-spacing: .17em; font-size: .71rem; font-weight: 800; text-transform: uppercase; }
.briefing-document-meta span:last-child { font-weight: 600; opacity: .7; }
.briefing-document-head h2 { margin: 0 0 12px; font: 600 clamp(1.8rem,3.3vw,3.2rem)/1.18 var(--serif); letter-spacing: -.025em; text-wrap: balance; }
.briefing-document-head > p { margin: 0; line-height: 1.65; }
.briefing-document > p { margin: 0; }
.briefing-document > p:first-of-type { padding: 20px 26px; border-left: 3px solid var(--brief-accent); background: color-mix(in srgb, var(--brief-accent) 5%, transparent); border-radius: 0 13px 13px 0; }
.briefing-document p, .briefing-document li { font-size: clamp(.9rem,1.15vw,1rem); line-height: 1.84; }
.briefing-group { display: block; margin-top: 25px; padding: 32px 0 4px; border: 0; border-top: 1px solid var(--brief-stroke); border-radius: 0; }
.briefing-group h4 { margin: 0 0 16px; font-size: clamp(1.15rem,1.6vw,1.55rem); line-height: 1.4; letter-spacing: -.005em; }
.briefing-group p { margin: 0 0 14px; }
.briefing-group ul { display: grid; gap: 11px; padding-left: 23px; margin-bottom: 22px; }
.briefing-group li { padding-left: 5px; }
.briefing-group li::marker { color: var(--brief-accent); }
.briefing-group.negative li::marker { color: #c85c67; }
.briefing-group.positive li::marker { color: #318866; }
.application-briefing-progress { height: 3px; overflow: hidden; }
.application-briefing-progress__fill { display: block; width:0; height: 100%; transition: width .12s ease; }
.application-briefing-actions { padding: 20px clamp(22px,4vw,50px); }
.application-briefing-status { display:flex; flex-direction:column; gap: 5px; }
.application-briefing-hint { font-size: .87rem; line-height: 1.5; }
.application-briefing-percent { font-size: .74rem; font-weight: 700; font-variant-numeric: tabular-nums; opacity: .85; }
.application-briefing-box button:disabled { opacity: .42; }
.application-briefing-box button:not(:disabled) { opacity: 1; }
@media (max-width: 680px) {
  .application-briefing-scroll { max-height: min(68vh,690px); padding: 24px 21px 36px; }
  .briefing-document-meta { font-size: .63rem; }
  .briefing-document-head { padding-bottom: 22px; }
  .briefing-document > p:first-of-type { padding: 16px; }
  .briefing-group { margin-top: 18px; padding-top: 24px; }
  .application-briefing-actions { padding: 18px 20px; }
  #application-briefing-continue { width: 100%; justify-content: center; }
}


/* v14 | about intro divider cleanup + briefing tail titles + mobile polish */
.about-pillars {
  margin-top: 30px;
  padding: 22px 0 18px;
  border-top: 1px solid rgba(152, 173, 205, .24);
  border-bottom: 1px solid rgba(152, 173, 205, .24);
  gap: 28px;
}
.about-pillars article {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.about-pillars .mini-icon {
  background: rgba(255,255,255,.64);
  border-color: rgba(113, 143, 188, .24);
  box-shadow: 0 10px 22px rgba(23, 49, 88, .08);
}
.about-pillars h3 {
  margin: 0 0 7px;
  font-size: 1.04rem;
}
.about-pillars p {
  margin: 0;
  font-size: .94rem;
  line-height: 1.72;
}
body[data-theme="day"] .about-pillars {
  border-top-color: rgba(132, 156, 191, .36);
  border-bottom-color: rgba(132, 156, 191, .36);
}
body[data-theme="day"] .about-pillars h3 { color: var(--ui-ink); }
body[data-theme="day"] .about-pillars p { color: var(--ui-muted); }
body[data-theme="night"] .about-pillars {
  border-top-color: rgba(122, 39, 55, .38);
  border-bottom-color: rgba(122, 39, 55, .38);
}
body[data-theme="night"] .about-pillars .mini-icon {
  background: rgba(29, 18, 26, .76);
  border-color: rgba(134, 35, 51, .34);
  box-shadow: 0 12px 26px rgba(0,0,0,.28);
}
.briefing-group-endtitle {
  margin: 16px 0 0;
  padding-top: 16px;
  border-top: 1px dashed var(--brief-stroke);
  font: 700 .82rem/1.5 var(--sans);
  letter-spacing: .18em;
  text-transform: uppercase;
}
.briefing-group-endtitle-negative { color: #c85c67 !important; }
.briefing-group-endtitle-positive { color: #318866 !important; }
body[data-theme="day"] .briefing-group-endtitle-negative { color: #b44153 !important; }
body[data-theme="day"] .briefing-group-endtitle-positive { color: #2f7d5e !important; }

@media (max-width: 820px) {
  .about-pillars {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px 0 16px;
  }
  .about-pillars article {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    align-items: start;
  }
}

@media (max-width: 760px) {
  .about-copy h2 { font-size: clamp(2.35rem, 15vw, 4rem); }
  .about-copy .lead-copy { font-size: 1rem; line-height: 1.72; }
  .about-pillars p { font-size: .92rem; line-height: 1.66; }
  .feature-grid { gap: 14px; }
  .feature-card { min-height: 240px; }
  .application-briefing-box {
    border-radius: 18px;
    box-shadow: 0 18px 42px rgba(0,0,0,.14);
  }
  .application-briefing-scroll {
    padding: 20px 17px 28px;
    scrollbar-width: auto;
  }
  .briefing-document-meta {
    gap: 10px;
    align-items: flex-start;
  }
  .briefing-document-head h2 {
    font-size: clamp(1.7rem, 11vw, 2.45rem);
    line-height: 1.1;
  }
  .briefing-group-endtitle {
    font-size: .76rem;
    letter-spacing: .14em;
  }
  .application-process > div {
    padding: 16px 14px;
    border-radius: 18px;
  }
  .form-panel,
  .application-info,
  .status-card,
  .status-help,
  .result-card,
  .team-role-card,
  .support-category,
  .support-steps article,
  .guide-card-grid article,
  .guide-block,
  .rules-tools,
  .rule-block {
    border-radius: 18px;
  }
  body[data-theme="day"] .mobile-nav-panel,
  body[data-theme="day"] .site-nav-menu {
    background: rgba(246, 249, 252, .98) !important;
  }
  body[data-theme="night"] .mobile-nav-panel,
  body[data-theme="night"] .site-nav-menu {
    background: rgba(8, 11, 19, .98) !important;
  }
}

body[data-theme="day"] .socials a { background: rgba(39, 87, 150, .06); border-color: rgba(39, 87, 150, .14); color: var(--ui-ink) !important; }
body[data-theme="day"] .socials a:hover { color: var(--ui-accent) !important; border-color: rgba(39, 87, 150, .32); background: rgba(39, 87, 150, .12); box-shadow: 0 10px 18px rgba(39, 87, 150, .14); }
body[data-theme="night"] .socials a { background: rgba(196, 36, 47, .06); border-color: rgba(196, 36, 47, .18); color: #f3edef; }
body[data-theme="night"] .socials a:hover { color: #fff; border-color: rgba(196, 36, 47, .55); background: rgba(196, 36, 47, .12); box-shadow: 0 10px 18px rgba(0, 0, 0, .28); }
