
:root {
  --bg: #06080b;
  --bg-soft: #0b0e13;
  --panel: rgba(12, 15, 21, .86);
  --panel-solid: #0c0f15;
  --panel-hover: #121720;
  --line: rgba(255, 255, 255, .09);
  --line-red: rgba(191, 31, 37, .42);
  --red: #c3262d;
  --red-dark: #721318;
  --red-bright: #ef4148;
  --gold: #d7a55a;
  --gold-soft: #f2d39d;
  --silver: #d7dbe1;
  --text: #eef0f3;
  --muted: #a7adb7;
  --black: #020304;
  --font-display: "Cinzel", Georgia, serif;
  --font-body: "Inter", Arial, sans-serif;
  --shadow: 0 24px 80px rgba(0,0,0,.55);
  --container: min(1180px, calc(100% - 40px));
  --header-height: 88px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 20px); }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 20% -10%, rgba(151, 16, 22, .13), transparent 32rem),
    radial-gradient(circle at 85% 30%, rgba(65, 82, 105, .08), transparent 34rem),
    var(--bg);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
}
body.modal-open { overflow: hidden; }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .025;
  z-index: 100;
  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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

::selection { background: rgba(195, 38, 45, .85); color: white; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
svg { fill: currentColor; }

.container { width: var(--container); margin-inline: auto; }
.narrow { max-width: 860px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; transform: translateY(-160%); background: white; color: black; padding: 10px 14px; z-index: 1000; border-radius: 4px; }
.skip-link:focus { transform: translateY(0); }

#embers { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .55; }
.site-header, main, footer { position: relative; z-index: 2; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  height: var(--header-height);
  background: linear-gradient(to bottom, rgba(3,5,8,.96), rgba(3,5,8,.82));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  z-index: 50;
  transition: height .25s ease, box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled { height: 74px; box-shadow: 0 15px 50px rgba(0,0,0,.4); background: rgba(4,6,9,.95); }
.nav-wrap { height: 100%; display: flex; align-items: center; gap: 34px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 196px; }
.brand img { width: 58px; height: 58px; object-fit: contain; filter: drop-shadow(0 0 12px rgba(195,38,45,.22)); }
.brand-copy { display: grid; line-height: 1.08; }
.brand-copy strong, .footer-brand strong { font-family: var(--font-display); letter-spacing: .055em; font-size: 14px; }
.brand-copy small, .footer-brand small { color: var(--gold); letter-spacing: .2em; font-size: 8px; margin-top: 5px; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: 26px; flex: 1; }
.nav-link { position: relative; padding: 30px 0 26px; color: #d7d9dd; font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; transition: color .2s ease; }
.nav-link::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 0; height: 2px; background: var(--red-bright); box-shadow: 0 0 12px var(--red); transition: left .2s ease, right .2s ease; }
.nav-link:hover, .nav-link.active { color: white; }
.nav-link:hover::after, .nav-link.active::after { left: 0; right: 0; }
.nav-actions { display: flex; align-items: center; gap: 15px; }
.language-switch { display: flex; align-items: center; gap: 4px; color: #6f7680; font-size: 12px; }
.language-switch button { border: 0; background: none; color: #767d86; cursor: pointer; padding: 6px 3px; font-weight: 700; }
.language-switch button:hover, .language-switch button.active { color: var(--gold-soft); }
.nav-toggle { display: none; border: 0; background: transparent; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 25px; height: 2px; background: white; margin: 5px; transition: transform .25s ease, opacity .25s ease; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  color: white;
  font-size: 12px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button svg { width: 19px; height: 19px; }
.button-small { min-height: 44px; padding: 10px 15px; font-size: 10px; }
.button-primary { background: linear-gradient(135deg, #9e1b22, #5e0b10); border-color: rgba(239,65,72,.55); box-shadow: 0 10px 35px rgba(135, 20, 26, .24), inset 0 1px rgba(255,255,255,.12); }
.button-primary:hover { background: linear-gradient(135deg, #c52a31, #7b1016); box-shadow: 0 15px 44px rgba(172, 24, 31, .38); }
.button-ghost { background: rgba(9,12,17,.68); border-color: rgba(255,255,255,.18); }
.button-ghost:hover { border-color: rgba(215,165,90,.7); background: rgba(18,22,29,.9); }
.button-discord { background: rgba(117, 18, 23, .62); border-color: rgba(220, 49, 56, .5); }
.button-full { width: 100%; }

.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--header-height) + 50px) 0 80px;
  overflow: hidden;
  display: grid;
  align-content: center;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(ellipse at 50% 38%, rgba(87,107,135,.16), transparent 27%),
    radial-gradient(ellipse at 50% 65%, rgba(166,20,25,.15), transparent 25%),
    linear-gradient(to bottom, #080c12 0%, #0a0e14 42%, #040609 78%, #030405 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 55% 0 0;
  z-index: -1;
  background: linear-gradient(to bottom, transparent, var(--bg) 88%);
}
.hero-backdrop { position: absolute; inset: 0; overflow: hidden; z-index: -2; }
.hero-backdrop::before { content: ""; position: absolute; inset: 10% 0 0; background: repeating-linear-gradient(115deg, transparent 0 80px, rgba(255,255,255,.008) 81px 82px); opacity: .4; }
.mountains { position: absolute; left: -5%; right: -5%; bottom: 14%; height: 43%; clip-path: polygon(0 100%, 0 78%, 6% 58%, 10% 77%, 15% 42%, 20% 70%, 25% 35%, 31% 72%, 36% 30%, 42% 67%, 48% 23%, 53% 68%, 58% 34%, 63% 70%, 70% 28%, 76% 68%, 81% 38%, 86% 70%, 92% 45%, 100% 75%, 100% 100%); }
.mountains-back { background: linear-gradient(to bottom, #151d28, #070a0f); opacity: .66; transform: scaleY(.82); transform-origin: bottom; filter: blur(1px); }
.mountains-front { background: linear-gradient(to bottom, #0c1118, #020304); opacity: .98; }
.war-banner { position: absolute; top: 20%; width: 95px; height: 340px; opacity: .38; filter: drop-shadow(0 15px 20px rgba(0,0,0,.7)); }
.war-banner::before { content: ""; position: absolute; left: 44px; top: -42px; width: 7px; height: 400px; background: linear-gradient(90deg, #050607, #424852, #080a0c); border-radius: 5px; }
.war-banner::after { content: ""; position: absolute; left: 16px; top: -19px; width: 63px; height: 5px; background: #343a42; box-shadow: -15px 3px 0 -1px #171a1e, 15px 3px 0 -1px #171a1e; }
.war-banner span { position: absolute; inset: 0 6px 34px; background: linear-gradient(90deg, #3f070b, #8f151b 45%, #350609); clip-path: polygon(0 0, 100% 0, 94% 88%, 74% 100%, 52% 88%, 30% 100%, 7% 88%); border-top: 3px solid #1a0305; }
.war-banner span::after { content: ""; position: absolute; width: 38px; height: 54px; left: 23px; top: 105px; border: 5px solid rgba(4,5,7,.65); transform: rotate(45deg); }
.banner-left { left: 7%; transform: rotate(-4deg); }
.banner-right { right: 7%; transform: rotate(4deg) scaleX(-1); }
.hero-content { text-align: center; max-width: 850px; padding-top: 10px; }
.eyebrow, .section-kicker { margin: 0 0 10px; color: var(--red-bright); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .22em; }
.hero-logo { width: min(540px, 90vw); margin: -20px auto -38px; filter: drop-shadow(0 28px 45px rgba(0,0,0,.65)); }
.hero-motto { margin: 0; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .11em; line-height: 1.38; text-shadow: 0 3px 18px black; }
.hero-motto strong { color: var(--gold-soft); font-size: clamp(22px, 3vw, 35px); font-weight: 600; }
.hero-motto span { color: white; font-size: clamp(17px, 2vw, 23px); }
.hero-lead { max-width: 680px; margin: 22px auto 0; color: #b7bcc4; font-size: 15px; }
.hero-actions { display: flex; justify-content: center; gap: 12px; margin-top: 28px; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 58px; }
.value-card { position: relative; min-height: 175px; padding: 28px 20px 22px; text-align: center; background: linear-gradient(150deg, rgba(16,20,27,.92), rgba(7,9,13,.78)); border: 1px solid var(--line); border-radius: 7px; box-shadow: 0 15px 40px rgba(0,0,0,.28); overflow: hidden; transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.value-card::before { content: ""; position: absolute; left: 20%; right: 20%; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--red), transparent); opacity: .75; }
.value-card:hover { transform: translateY(-6px); border-color: rgba(195,38,45,.35); background: linear-gradient(150deg, rgba(21,26,35,.96), rgba(10,12,17,.86)); }
.icon-frame { width: 46px; height: 46px; margin: 0 auto 13px; color: var(--red); }
.icon-frame svg { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.value-card h2 { font-family: var(--font-display); font-size: 14px; text-transform: uppercase; letter-spacing: .05em; margin: 0 0 7px; }
.value-card p { color: var(--muted); font-size: 12px; margin: 0; }

.section { padding: 110px 0; position: relative; }
.section + .section { border-top: 1px solid rgba(255,255,255,.035); }
.section-heading { max-width: 720px; margin-bottom: 46px; }
.section-heading.centered { text-align: center; margin-inline: auto; }
.section-heading h2, .section-copy h2, .contact-inner h2 { font-family: var(--font-display); font-size: clamp(30px, 4vw, 50px); line-height: 1.18; margin: 0 0 18px; letter-spacing: -.025em; text-wrap: balance; }
.section-heading > p:last-child, .section-copy > p { color: var(--muted); }
.split-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); gap: clamp(50px, 8vw, 105px); align-items: center; }
.section-copy > p { font-size: 15px; }
.quote-block { margin-top: 30px; padding: 24px 28px 24px 56px; position: relative; background: linear-gradient(100deg, rgba(119,15,20,.18), rgba(10,13,18,.4)); border-left: 2px solid var(--red); }
.quote-block > span { position: absolute; left: 17px; top: -2px; font-family: Georgia, serif; font-size: 68px; color: rgba(215,165,90,.45); }
.quote-block p { font-family: var(--font-display); color: var(--gold-soft); margin: 0; font-size: 15px; }

.guild-section { background: radial-gradient(circle at 84% 44%, rgba(142,18,23,.12), transparent 31rem); }
.guild-emblem-panel { position: relative; min-height: 550px; padding: 50px 42px 38px; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(155deg, rgba(19,23,30,.88), rgba(6,8,11,.96)); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.guild-emblem-panel::before { content: ""; position: absolute; inset: 0; opacity: .17; background: repeating-radial-gradient(circle at 50% 34%, transparent 0 32px, rgba(255,255,255,.09) 33px 34px); }
.guild-emblem-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(3,4,6,.96) 5%, transparent 65%); }
.guild-emblem-panel img { position: absolute; width: min(330px, 78%); top: 22px; left: 50%; transform: translateX(-50%); z-index: 1; filter: drop-shadow(0 20px 30px black); }
.panel-glow { position: absolute; width: 380px; height: 380px; left: 50%; top: 30px; transform: translateX(-50%); background: radial-gradient(circle, rgba(190,26,32,.23), transparent 67%); }
.check-list { position: relative; z-index: 2; display: grid; gap: 13px; list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; gap: 13px; align-items: flex-start; color: #cfd3d9; font-size: 13px; }
.check-list li > span:first-child { display: grid; place-items: center; flex: 0 0 21px; width: 21px; height: 21px; color: var(--gold-soft); border: 1px solid rgba(215,165,90,.45); border-radius: 50%; font-size: 11px; }
.check-list.compact { gap: 10px; }

.raids-section { background: linear-gradient(to bottom, rgba(9,12,16,.6), rgba(4,6,8,.96)), radial-gradient(circle at 50% 35%, rgba(145,17,23,.1), transparent 36rem); }
.raid-grid { display: grid; grid-template-columns: 1.16fr 1fr 1fr; gap: 20px; }
.raid-card { position: relative; min-height: 390px; padding: 42px 32px 30px; background: linear-gradient(150deg, rgba(18,22,29,.92), rgba(7,9,12,.96)); border: 1px solid var(--line); overflow: hidden; transition: transform .25s ease, border-color .25s ease; }
.raid-card:hover { transform: translateY(-7px); border-color: rgba(215,165,90,.28); }
.raid-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 100% 0, rgba(194,35,42,.14), transparent 18rem); }
.raid-card.featured { background: linear-gradient(150deg, rgba(43,17,20,.8), rgba(8,10,14,.96)); border-color: rgba(195,38,45,.25); }
.card-number { position: absolute; top: 15px; right: 22px; font-family: var(--font-display); font-size: 68px; color: rgba(255,255,255,.035); }
.raid-card-icon { position: relative; width: 65px; height: 65px; color: var(--red); margin-bottom: 32px; }
.raid-card-icon svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.status { position: relative; display: flex; align-items: center; gap: 8px; color: var(--gold); font-size: 9px; text-transform: uppercase; letter-spacing: .15em; }
.status > span:first-child { width: 7px; height: 7px; border-radius: 50%; background: var(--red-bright); box-shadow: 0 0 12px var(--red-bright); }
.raid-card h3 { position: relative; font-family: var(--font-display); font-size: 24px; margin: 12px 0; }
.raid-card > p:not(.status) { position: relative; color: var(--muted); font-size: 13px; }
.text-link { position: relative; display: inline-flex; gap: 8px; align-items: center; margin-top: 10px; color: var(--gold-soft); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.text-link span:last-child { transition: transform .2s ease; }
.text-link:hover span:last-child { transform: translateX(5px); }
.schedule-band { margin-top: 24px; padding: 30px 34px; display: flex; justify-content: space-between; align-items: center; gap: 30px; border: 1px solid var(--line); background: linear-gradient(100deg, rgba(103,13,18,.25), rgba(12,15,20,.83) 45%, rgba(12,15,20,.83)); }
.schedule-band h3 { font-family: var(--font-display); margin: 0 0 6px; font-size: 21px; }
.schedule-band p:last-child { color: var(--muted); margin: 0; font-size: 13px; }

.recruitment-section { background: radial-gradient(circle at 12% 30%, rgba(124,16,21,.13), transparent 33rem); }
.recruitment-layout { align-items: start; }
.role-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 28px 0 34px; }
.role-grid > div { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 12px; padding: 16px; background: rgba(13,16,22,.72); border: 1px solid var(--line); }
.role-icon { grid-row: 1 / 3; align-self: center; display: grid; place-items: center; width: 38px; height: 38px; color: var(--red-bright); border: 1px solid rgba(195,38,45,.3); background: rgba(195,38,45,.08); }
.role-grid strong { font-family: var(--font-display); font-size: 13px; }
.role-grid small { color: var(--muted); font-size: 10px; }
.requirements h3 { font-family: var(--font-display); font-size: 19px; }
.application-form { padding: 38px; background: linear-gradient(150deg, rgba(20,24,32,.96), rgba(7,9,13,.98)); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-heading h3 { font-family: var(--font-display); font-size: 25px; margin: 0 0 8px; }
.form-heading > p:last-child { color: var(--muted); font-size: 11px; margin-bottom: 25px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid label { display: grid; gap: 7px; color: #d8dbe0; font-size: 11px; font-weight: 600; }
.form-grid label.full { grid-column: 1 / -1; }
input, textarea { width: 100%; border: 1px solid rgba(255,255,255,.12); border-radius: 3px; padding: 13px 14px; color: white; background: rgba(3,5,8,.72); outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
textarea { resize: vertical; min-height: 115px; }
input:focus, textarea:focus { border-color: rgba(215,165,90,.7); box-shadow: 0 0 0 3px rgba(215,165,90,.08); }
.application-form .button { margin-top: 20px; }

.news-section { background: linear-gradient(to bottom, rgba(7,9,12,.88), rgba(5,7,9,.98)); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-card { background: var(--panel); border: 1px solid var(--line); overflow: hidden; transition: transform .25s ease, border-color .25s ease; }
.news-card:hover { transform: translateY(-6px); border-color: rgba(195,38,45,.35); }
.news-visual { height: 185px; position: relative; overflow: hidden; background-color: #0b0d12; }
.news-visual::before, .news-visual::after { content: ""; position: absolute; }
.news-visual::before { inset: 0; background: radial-gradient(circle at 50% 70%, rgba(211,38,45,.38), transparent 17%), linear-gradient(140deg, transparent 35%, rgba(255,255,255,.04) 36% 37%, transparent 38%), linear-gradient(to top, #050608, #121722); }
.news-visual::after { left: 0; right: 0; bottom: 0; height: 72%; background: linear-gradient(135deg, transparent 0 39%, #030405 40% 49%, transparent 50%), linear-gradient(45deg, transparent 0 43%, #07090d 44% 56%, transparent 57%); opacity: .9; }
.news-visual span { position: absolute; z-index: 2; bottom: 15px; right: 18px; font-family: var(--font-display); font-size: 54px; color: rgba(255,255,255,.12); }
.news-visual-two::before { filter: hue-rotate(-20deg) saturate(.7); }
.news-visual-three::before { filter: hue-rotate(15deg) brightness(.8); }
.news-content { padding: 26px; }
.news-tag { color: var(--red-bright); text-transform: uppercase; letter-spacing: .14em; font-size: 9px; font-weight: 700; margin: 0 0 8px; }
.news-content h3 { font-family: var(--font-display); margin: 0 0 12px; font-size: 19px; }
.news-content > p:not(.news-tag) { color: var(--muted); font-size: 12px; }

.faq-section { background: radial-gradient(circle at 50% 10%, rgba(92,111,138,.07), transparent 30rem); }
.faq-list { display: grid; gap: 10px; }
details { border: 1px solid var(--line); background: rgba(12,15,21,.72); }
summary { position: relative; cursor: pointer; list-style: none; padding: 20px 58px 20px 24px; font-family: var(--font-display); font-size: 15px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); color: var(--gold); font-family: var(--font-body); font-size: 23px; }
details[open] summary::after { content: "−"; }
details p { padding: 0 24px 22px; margin: 0; color: var(--muted); font-size: 13px; }

.contact-section { padding: 70px 0; background: linear-gradient(120deg, rgba(65,7,11,.86), rgba(8,10,14,.98) 55%, rgba(19,23,31,.9)); border-top: 1px solid rgba(195,38,45,.25); border-bottom: 1px solid rgba(195,38,45,.18); }
.contact-inner { display: grid; grid-template-columns: 150px 1fr auto; align-items: center; gap: 40px; }
.contact-inner img { width: 150px; filter: drop-shadow(0 15px 22px black); }
.contact-inner h2 { font-size: clamp(27px, 3.7vw, 43px); margin-bottom: 8px; }
.contact-inner p:last-child { color: var(--muted); margin: 0; }

.site-footer { padding: 54px 0 24px; background: #030405; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.4fr 1fr; align-items: center; gap: 30px; }
.footer-brand { display: flex; gap: 10px; align-items: center; }
.footer-brand img { width: 58px; }
.footer-brand > div { display: grid; }
.footer-note { color: #737a84; font-size: 10px; text-align: center; }
.footer-links { display: flex; gap: 18px; justify-content: flex-end; font-size: 11px; color: #b8bdc4; }
.footer-links a:hover, .footer-bottom a:hover { color: var(--gold-soft); }
.footer-bottom { margin-top: 34px; padding-top: 18px; display: flex; justify-content: space-between; color: #656b74; font-size: 10px; border-top: 1px solid var(--line); }

.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.78); backdrop-filter: blur(8px); }
.modal-panel { position: relative; width: min(660px, 100%); max-height: calc(100vh - 40px); overflow: auto; padding: 38px; background: #0d1117; border: 1px solid rgba(215,165,90,.25); box-shadow: 0 30px 100px black; }
.modal-panel h2 { font-family: var(--font-display); font-size: 26px; margin: 0 0 8px; }
.modal-panel > p:not(.section-kicker):not(.copy-feedback) { color: var(--muted); font-size: 12px; }
.modal-close { position: absolute; top: 10px; right: 12px; border: 0; background: transparent; color: #a8afb8; font-size: 30px; cursor: pointer; }
.modal-close:hover { color: white; }
#application-output { margin-top: 13px; min-height: 230px; }
.modal-actions { display: flex; gap: 12px; margin-top: 17px; }
.copy-feedback { color: var(--gold-soft); font-size: 12px; min-height: 1.4em; }
.noscript { position: fixed; bottom: 0; left: 0; right: 0; background: #8d161c; color: white; padding: 12px; z-index: 200; text-align: center; }

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

@media (max-width: 1120px) {
  :root { --header-height: 76px; }
  .brand-copy { display: none; }
  .brand { min-width: 58px; }
  .main-nav { gap: 18px; }
  .nav-link { font-size: 11px; }
  .button-discord span { display: none; }
  .button-discord { width: 45px; padding-inline: 10px; }
}

@media (max-width: 900px) {
  .nav-wrap { gap: 10px; }
  .brand { z-index: 3; }
  .nav-toggle { display: block; margin-left: auto; z-index: 3; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav { position: fixed; inset: 0; padding: 110px 28px 40px; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0; background: rgba(3,5,8,.98); transform: translateX(100%); transition: transform .3s ease; }
  .main-nav.open { transform: translateX(0); }
  .nav-link { width: 100%; padding: 17px 0; font-family: var(--font-display); font-size: 20px; border-bottom: 1px solid var(--line); }
  .nav-link::after { display: none; }
  .nav-actions { z-index: 3; }
  .button-discord { display: none; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .split-layout { grid-template-columns: 1fr; gap: 45px; }
  .raid-grid { grid-template-columns: 1fr 1fr; }
  .raid-card.featured { grid-column: 1 / -1; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-card:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: .75fr 1.25fr; }
  .news-card:last-child .news-visual { height: 100%; min-height: 230px; }
  .contact-inner { grid-template-columns: 100px 1fr; }
  .contact-inner img { width: 100px; }
  .contact-inner .button { grid-column: 2; justify-self: start; }
}

@media (max-width: 640px) {
  :root { --container: min(100% - 28px, 1180px); }
  .site-header, .site-header.scrolled { height: 68px; }
  .brand img { width: 50px; height: 50px; }
  .hero { padding-top: 100px; min-height: auto; }
  .hero-logo { width: min(430px, 106vw); margin: -10px auto -20px; }
  .hero-lead { font-size: 13px; }
  .hero-actions { flex-direction: column; align-items: stretch; max-width: 330px; margin-inline: auto; }
  .war-banner { opacity: .18; transform: scale(.8); }
  .banner-left { left: -25px; }
  .banner-right { right: -25px; transform: rotate(4deg) scaleX(-1) scale(.8); }
  .values-grid { grid-template-columns: 1fr; margin-top: 45px; }
  .value-card { min-height: 150px; }
  .section { padding: 80px 0; }
  .section-heading h2, .section-copy h2, .contact-inner h2 { font-size: 30px; }
  .guild-emblem-panel { min-height: 500px; padding-inline: 24px; }
  .raid-grid, .news-grid { grid-template-columns: 1fr; }
  .raid-card.featured, .news-card:last-child { grid-column: auto; }
  .news-card:last-child { display: block; }
  .news-card:last-child .news-visual { min-height: 185px; }
  .schedule-band { align-items: flex-start; flex-direction: column; }
  .role-grid { grid-template-columns: 1fr; }
  .application-form { padding: 26px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid label.full { grid-column: auto; }
  .contact-inner { text-align: center; grid-template-columns: 1fr; }
  .contact-inner img { margin-inline: auto; }
  .contact-inner .button { grid-column: auto; justify-self: stretch; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { justify-content: center; }
  .footer-links { justify-content: center; flex-wrap: wrap; }
  .footer-bottom { gap: 15px; flex-direction: column; align-items: center; }
  .modal-panel { padding: 30px 20px 24px; }
  .modal-actions { flex-direction: column; }
}

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

  
/* Hero artwork approved by the guild owner — exact supplied composition */
.hero {
  min-height: auto !important;
  padding: var(--header-height) 0 80px !important;
  display: block !important;
  overflow: hidden;
  background: #020304;
}
.hero::before,
.hero::after,
.hero > .hero-backdrop {
  display: none !important;
}
.hero-fixed-art {
  position: relative;
  width: 100%;
  line-height: 0;
  background: #020304;
  overflow: hidden;
}
.hero-fixed-art::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 18%;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, #020304);
}
.hero-fixed-art img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
  user-select: none;
  -webkit-user-drag: none;
}
.hero-content {
  max-width: var(--container) !important;
  padding-top: 0 !important;
  margin-top: -2px;
}
.hero-content > .eyebrow,
.hero-content > .hero-logo,
.hero-content > .hero-motto,
.hero-content > .hero-lead {
  display: none !important;
}
.hero-actions {
  margin-top: 24px !important;
}
.values-grid {
  margin-top: 44px !important;
}
@media (max-width: 760px) {
  .hero { padding-bottom: 55px !important; }
  .hero-fixed-art img {
    width: 145%;
    max-width: none;
    margin-left: -22.5%;
  }
  .hero-fixed-art::after { height: 12%; }
  .hero-actions { margin-top: 18px !important; }
  .values-grid { margin-top: 32px !important; }
}


/* Recruitment system */
select {
  width: 100%;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 3px;
  padding: 13px 14px;
  color: white;
  background: rgba(3,5,8,.82);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
select:focus { border-color: rgba(215,165,90,.7); box-shadow: 0 0 0 3px rgba(215,165,90,.08); }
.checkbox-group { grid-column: 1 / -1; display: grid; gap: 10px; }
.checkbox-group > span { color: #d8dbe0; font-size: 11px; font-weight: 600; }
.checkbox-options { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; }
.checkbox-options label,
.consent-row { display: flex; align-items: flex-start; gap: 10px; padding: 11px 12px; border: 1px solid rgba(255,255,255,.08); background: rgba(3,5,8,.45); color: #cdd1d8; font-size: 12px; cursor: pointer; }
.checkbox-options input,
.consent-row input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--red); flex: 0 0 auto; }
.consent-row { grid-column: 1 / -1; }
.consent-row a { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 3px; }
.form-status { min-height: 24px; margin: 14px 0 0; color: var(--muted); font-size: 12px; }
.form-status.error { color: #ff858a; }
.form-status.success { color: #9cddb0; }
.application-form [aria-busy="true"] { opacity: .78; pointer-events: none; }
.application-reference { margin: 22px 0 0; padding: 18px; border: 1px solid rgba(215,165,90,.25); background: rgba(215,165,90,.06); text-align: center; }
.application-reference strong { display: block; color: var(--gold-soft); font-family: var(--font-display); font-size: 22px; letter-spacing: .08em; }
.application-reference small { color: var(--muted); }
.turnstile-wrap { grid-column: 1 / -1; min-height: 70px; display: flex; align-items: center; }
.form-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.officer-footer-link { color: #727985; font-size: 10px; }
.officer-footer-link:hover { color: var(--gold-soft); }
@media (max-width: 620px) {
  .checkbox-options { grid-template-columns: 1fr; }
}
