:root {
  --ink: #17100c;
  --brown: #3c281d;
  --brown-soft: #6e4c35;
  --parchment: #d7c7a4;
  --paper: #eadfc7;
  --gold: #c79b50;
  --gold-light: #e8c779;
  --discord: #5865f2;
}

* { box-sizing: border-box; }
.feature-image.guild-screenshot { align-self: center; }
.feature-image.guild-screenshot img { aspect-ratio: auto; height: auto; object-fit: contain; filter: none; }
.feature-image.guild-screenshot figcaption { position: static; padding: 12px; line-height: 1.5; }
.construction-notice { max-width: 640px; margin: 0 0 1.75rem; padding: .85rem 1rem; border: 1px solid rgba(199,155,80,.65); border-left: 3px solid var(--gold); background: rgba(32,21,15,.88); color: #f3e5c3; font-size: 1rem; line-height: 1.5; }
.hero-content { padding-bottom: 2rem; }
@media (max-width: 760px) { .hero .hero-content { padding-top: 100px; } }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--ink); font-family: "IM Fell English", Georgia, serif; font-size: 1.08rem; }
img { display: block; width: 100%; }
a { color: inherit; }

.site-header { position: absolute; z-index: 20; inset: 0 0 auto; height: 92px; padding: 0 5vw; display: flex; align-items: center; justify-content: space-between; color: #f1dfb8; border-bottom: 1px solid rgba(232,199,121,.28); }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; font: 700 .9rem/1 "Cinzel", serif; letter-spacing: .19em; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--gold); transform: rotate(45deg); font-size: 1.2rem; }
.brand-mark { transform: none; font-size: .85rem; letter-spacing: -.08em; flex-shrink: 0; }
.hero-tagline { max-width: 780px; margin: 1.2rem 0; font-size: clamp(1.8rem, 3.5vw, 3.2rem); color: var(--gold-light); font-style: italic; line-height: 1.15; }
.events-title { margin: 0; color: #f0dfb8; font-size: clamp(2rem, 3.2vw, 3.7rem); line-height: 1.18; }
.discord-button { max-width: 100%; line-height: 1.4; }
.discord-button svg { flex-shrink: 0; }
.header-nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.2rem); }
.header-link { text-decoration: none; font: 600 .76rem/1 "Cinzel", serif; letter-spacing: .14em; border-bottom: 1px solid var(--gold); padding: 10px 0; }

.hero { min-height: 100svh; position: relative; isolation: isolate; display: grid; place-items: center; overflow: hidden; background: #21160f; }
.hero-image { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.68) sepia(.2) contrast(1.08); animation: drift 18s ease-out both; }
.hero-scrim { position: absolute; inset: 0; z-index: -2; background: radial-gradient(circle at 63% 44%, transparent 0 20%, rgba(18,11,7,.2) 48%, rgba(18,11,7,.82) 100%), linear-gradient(90deg, rgba(19,11,7,.86), rgba(19,11,7,.14) 65%, rgba(19,11,7,.45)); }
.hero::after { content:""; position:absolute; inset:0; z-index:-1; opacity:.22; pointer-events:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E"); mix-blend-mode: overlay; }
.hero-content { width: min(1190px, 90vw); padding-top: 66px; color: #f3e5c3; }
.eyebrow, .chapter { display: flex; align-items: center; gap: 14px; margin: 0 0 1.5rem; color: var(--gold-light); font: 600 .7rem/1.4 "Cinzel", serif; letter-spacing: .22em; }
.eyebrow span { width: 42px; height: 1px; background: currentColor; }
h1, h2, blockquote { font-family: "Cinzel", Georgia, serif; }
h1 { max-width: 900px; margin: 0; font-size: clamp(3.6rem, 8.4vw, 8.2rem); line-height: .88; letter-spacing: -.045em; text-shadow: 0 7px 28px rgba(0,0,0,.5); }
h1 em, h2 em { color: var(--gold-light); font-family: "IM Fell English", serif; font-weight: 400; }
.hero-copy { max-width: 570px; margin: 2rem 0 2.4rem; color: #eadfc8; font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.55; text-shadow: 0 2px 8px #000; }
.discord-button { width: fit-content; display: inline-flex; align-items: center; gap: 12px; padding: 15px 21px; color: #fff; background: var(--discord); border: 1px solid rgba(255,255,255,.22); box-shadow: 0 8px 24px rgba(0,0,0,.3); text-decoration: none; text-transform: uppercase; font: 700 .76rem/1 "Cinzel", serif; letter-spacing: .13em; transition: transform .2s, filter .2s; }
.discord-button:hover { transform: translateY(-2px); filter: brightness(1.12); }
.discord-button:focus-visible, .header-link:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 4px; }
.discord-button svg { width: 22px; fill: currentColor; }
.scroll-cue { position: absolute; right: 5vw; bottom: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; color: #dac48e; font: 600 .62rem/1 "Cinzel", serif; letter-spacing: .2em; writing-mode: vertical-rl; }
.scroll-cue i { display:block; width:1px; height:60px; background: linear-gradient(var(--gold), transparent); }

.story { position: relative; display: grid; grid-template-columns: .85fr 1.3fr; gap: clamp(3rem, 8vw, 8rem); padding: clamp(5rem, 10vw, 9rem) 7vw; background-color: var(--paper); background-image: linear-gradient(rgba(80,48,25,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(80,48,25,.04) 1px, transparent 1px); background-size: 27px 27px; }
.story-copy { align-self: center; max-width: 520px; }
.chapter { color: #80572f; margin-bottom: 1.2rem; }
.story h2, .final-cta h2 { margin: 0; color: #2b1a12; font-size: clamp(2.7rem, 5vw, 5.8rem); line-height: .97; letter-spacing: -.04em; }
.story-copy > p:not(.chapter) { line-height: 1.7; color: #4d382a; }
.ornament { color: #986a36; margin: 1.7rem 0; }
.feature-image { margin: 0; position: relative; padding: 13px; background: #b69967; border: 1px solid #80613d; box-shadow: 20px 26px 50px rgba(46,28,16,.22); transform: rotate(1deg); }
.feature-image img { aspect-ratio: 4/3; height: 100%; object-fit: cover; filter: sepia(.18) saturate(.82) contrast(1.04); }
.feature-image figcaption { position: absolute; right: 13px; bottom: 13px; padding: 9px 12px; color: #e9d4a2; background: rgba(30,18,12,.86); font: 600 .63rem/1 "Cinzel", serif; letter-spacing: .13em; }

.mosaic { display: grid; grid-template-columns: 1.45fr .75fr; min-height: 650px; background: #251710; }
.mosaic-main { margin: 0; overflow: hidden; }
.mosaic-main img { height: 100%; object-fit: cover; filter: sepia(.27) saturate(.7) contrast(1.1); }
.mosaic-note { display: flex; flex-direction: column; justify-content: center; padding: clamp(3rem, 6vw, 6rem); color: #e7d4ad; border-left: 1px solid rgba(213,176,98,.25); background: radial-gradient(circle at 100% 0, #4b301e, transparent 56%); }
.mosaic-note blockquote { margin: 0; color: #f0dfb8; font-size: clamp(2rem, 3.2vw, 3.7rem); line-height: 1.18; }
.small-copy { margin-top: 2rem; color: #bca886; font-style: italic; }

.roster { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 8rem); padding: clamp(5rem, 10vw, 9rem) 7vw; background: #dfd0b1; background-image: radial-gradient(circle at 15% 20%, rgba(109,71,39,.16), transparent 25%), linear-gradient(110deg, transparent 49.8%, rgba(94,60,33,.09) 50%, transparent 50.2%); }
.roster-heading { align-self: start; position: sticky; top: 2rem; }
.roster h2 { margin: 0; color: #2b1a12; font: 700 clamp(2.7rem, 5vw, 5.5rem)/.97 "Cinzel", serif; letter-spacing: -.04em; }
.roster h2 em { color: #8a5b2f; font-family: "IM Fell English", serif; font-weight: 400; }
.roster-heading > p:last-child { max-width: 440px; color: #59402c; line-height: 1.65; }
.roster-board { border: 1px solid #a78657; box-shadow: 16px 20px 50px rgba(48,28,15,.14); background: rgba(239,226,198,.58); }
.roster-master { padding: 2.2rem; color: #ead8b0; background: #2a1a12; border-bottom: 4px double #a98246; }
.roster-master h3 { margin: .5rem 0 0; font: 700 clamp(1.9rem, 3.5vw, 3.4rem)/1.1 "Cinzel", serif; color: var(--gold-light); }
.rank-label { margin: 0; color: #8a5b2f; font: 700 .68rem/1 "Cinzel", serif; letter-spacing: .2em; text-transform: uppercase; }
.roster-master .rank-label { color: #b89b68; }
.officer-group { padding: 2.2rem; }
.officer-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 1.1rem 0 0; padding: 0; list-style: none; counter-reset: officer; }
.officer-list li { counter-increment: officer; display: flex; align-items: center; gap: .75rem; min-height: 58px; padding: .75rem .5rem; border-bottom: 1px solid rgba(104,69,38,.22); color: #3f2b1e; font: 600 1rem/1.3 "Cinzel", serif; }
.officer-list li::before { content: counter(officer, decimal-leading-zero); color: #9b7545; font: 600 .62rem/1 "Cinzel", serif; letter-spacing: .08em; }

.final-cta { padding: clamp(5rem, 10vw, 9rem) 6vw; text-align: center; background: var(--parchment); }
.final-cta .chapter { justify-content: center; }
.final-cta p:not(.chapter) { margin: 1.5rem auto 2rem; color: #503925; font-size: 1.2rem; }
.final-cta .discord-button { margin: auto; }
footer { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.5rem 5vw; color: #bda77b; background: #140d09; font: 600 .62rem/1.5 "Cinzel", serif; letter-spacing: .16em; }

@keyframes drift { from { transform: scale(1.06); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }
@media (max-width: 760px) {
  .site-header { height: 74px; }
  .brand span:last-child { display: none; }
  .header-link { font-size: .65rem; }
  .header-nav .header-link:first-child { display: none; }
  .hero-content { padding-top: 50px; }
  h1 { font-size: clamp(3.15rem, 15vw, 5.5rem); }
  .hero-copy { max-width: 92%; }
  .scroll-cue { display: none; }
  .story { grid-template-columns: 1fr; padding-inline: 6vw; }
  .feature-image { transform: none; }
  .mosaic { grid-template-columns: 1fr; }
  .mosaic-main img { min-height: 420px; }
  .mosaic-note { border-left: 0; border-top: 1px solid rgba(213,176,98,.25); }
  .roster { grid-template-columns: 1fr; }
  .roster-heading { position: static; }
  .officer-list { grid-template-columns: 1fr; }
  footer { flex-direction: column; text-align: center; }
}
