

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;800&family=Cinzel+Decorative:wght@700;900&family=EB+Garamond:ital,wght@0,400;0,500;1,400&display=swap');

:root {
  --ink:        #090b09;
  --ink-2:      #0f130e;
  --ink-3:      #161b14;
  --emerald:    #3ddc84;
  --emerald-2:  #2aa765;
  --emerald-dk: #0f4d31;
  --crimson:    #9c2530;
  --crimson-dk: #4d0f17;
  --gold:       #d9b65c;
  --gold-br:    #f4e0a1;
  --gold-dk:    #8a6d2a;
  --parch:      #e9dec3;
  --mist:       #a9bcae;
  --mist-dim:   #6f8174;

  --maxw: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --shadow-deep: 0 30px 80px -30px rgba(0,0,0,.85);
}

/* ---------- reset ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'EB Garamond', Georgia, serif;
  color: var(--parch);
  background: var(--ink);
  line-height: 1.7;
  font-size: 1.12rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-br); text-decoration: none; }

/* ---------- ambient background ---------- */
.backdrop {
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(1100px 700px at 78% -8%, rgba(157,37,48,.20), transparent 60%),
    radial-gradient(900px 700px at 12% 12%, rgba(61,220,132,.12), transparent 55%),
    radial-gradient(1200px 900px at 50% 120%, rgba(217,182,92,.08), transparent 60%),
    linear-gradient(180deg, var(--ink), var(--ink-2) 60%, var(--ink));
}
/* faint heraldic scale texture */
.backdrop::after {
  content: ""; position: absolute; inset: 0; opacity: .05;
  background-image:
    radial-gradient(circle at 50% 0, transparent 9px, rgba(217,182,92,.6) 10px, transparent 11px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}

/* ---------- typography ---------- */
h1,h2,h3,.wordmark { font-family: 'Cinzel', serif; letter-spacing: .04em; line-height: 1.15; }
.display { font-family: 'Cinzel Decorative', serif; }

.gold-text {
  background: linear-gradient(180deg, var(--gold-br) 0%, var(--gold) 45%, var(--gold-dk) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 1px 0 rgba(0,0,0,.4);
}
.eyebrow {
  font-family: 'Cinzel', serif; font-weight: 600;
  letter-spacing: .42em; text-transform: uppercase;
  font-size: .72rem; color: var(--emerald);
  display: inline-block; margin-bottom: 1rem; padding-left: .42em;
}

.wrap { width: min(var(--maxw), 92vw); margin-inline: auto; }
.section { padding: clamp(4rem, 9vw, 8rem) 0; position: relative; }


.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .9rem 0;
  background: linear-gradient(180deg, rgba(9,11,9,.92), rgba(9,11,9,.55) 70%, transparent);
  backdrop-filter: blur(8px);
  transition: background .35s var(--ease), box-shadow .35s var(--ease);
}
.nav.scrolled {
  background: rgba(9,11,9,.94);
  box-shadow: 0 1px 0 rgba(217,182,92,.25), 0 18px 40px -28px #000;
}
.nav .inner { width: min(var(--maxw), 92vw); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand img { width: 42px; height: 42px; filter: drop-shadow(0 0 10px rgba(61,220,132,.45)); }
.brand .wordmark { font-size: 1.02rem; font-weight: 800; }
.brand .wordmark small { display: block; font-family: 'EB Garamond', serif; letter-spacing: .25em; font-size: .56rem; color: var(--mist-dim); text-transform: uppercase; }

.menu { display: flex; align-items: center; gap: 1.9rem; list-style: none; }
.menu a {
  font-family: 'Cinzel', serif; font-size: .82rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--parch);
  position: relative; padding: .35rem 0; transition: color .25s;
}
.menu a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--emerald), var(--gold));
  transition: width .3s var(--ease);
}
.menu a:hover, .menu a[aria-current="page"] { color: var(--gold-br); }
.menu a:hover::after, .menu a[aria-current="page"]::after { width: 100%; }

.menu a.discord {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .5rem .95rem; border-radius: 999px;
  background: linear-gradient(180deg, var(--emerald-2), var(--emerald-dk));
  color: #06120c; box-shadow: 0 6px 18px -8px rgba(61,220,132,.8), inset 0 1px 0 rgba(255,255,255,.4);
}
.menu a.discord::after { display: none; }
.menu a.discord:hover { filter: brightness(1.08); transform: translateY(-1px); }

.burger { display: none; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; position: relative; }
.burger span { position: absolute; left: 8px; right: 8px; height: 2px; background: var(--gold-br); transition: .3s var(--ease); }
.burger span:nth-child(1){ top: 13px; } .burger span:nth-child(2){ top: 19px; } .burger span:nth-child(3){ top: 25px; }
.burger.open span:nth-child(1){ top:19px; transform: rotate(45deg);}
.burger.open span:nth-child(2){ opacity:0;}
.burger.open span:nth-child(3){ top:19px; transform: rotate(-45deg);}


.hero { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; overflow: hidden; }
.embers { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.ember {
  position: absolute; bottom: -10px; width: 6px; height: 6px; border-radius: 50%;
  background: radial-gradient(circle, var(--gold-br), rgba(217,182,92,0));
  opacity: 0; animation: rise linear infinite;
}
@keyframes rise {
  0%   { transform: translateY(0) scale(.6); opacity: 0; }
  12%  { opacity: .9; }
  100% { transform: translateY(-105vh) scale(1.1); opacity: 0; }
}

.hero-crest {
  width: clamp(150px, 22vw, 240px); margin: 0 auto 1.6rem; position: relative;
  animation: float 6s ease-in-out infinite;
}
.hero-crest img { filter: drop-shadow(0 18px 40px rgba(61,220,132,.35)); position: relative; z-index: 2; }
.hero-crest::before {
  content: ""; position: absolute; inset: -18%; border-radius: 50%; z-index: 1;
  background: conic-gradient(from 0deg, transparent, rgba(61,220,132,.5), transparent 40%, rgba(217,182,92,.5), transparent 75%);
  filter: blur(14px); animation: spin 14s linear infinite; opacity: .7;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-12px); } }

.hero h1 {
  font-size: clamp(2.4rem, 7vw, 5.2rem); font-weight: 800;
  text-transform: uppercase; margin-bottom: .4rem;
}
.hero .tagline {
  font-family: 'Cinzel', serif; font-size: clamp(1rem, 2.4vw, 1.5rem);
  color: var(--emerald); letter-spacing: .08em; margin-bottom: 2rem;
}
.hero .tagline b { color: var(--gold-br); font-weight: 800; }
.hero .lede { max-width: 60ch; margin: 0 auto 2.4rem; color: var(--mist); font-size: 1.18rem; }

.cta-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn {
  font-family: 'Cinzel', serif; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  font-size: .86rem; padding: .95rem 1.9rem; border-radius: 4px; cursor: pointer; border: 0;
  display: inline-flex; align-items: center; gap: .6rem; transition: transform .25s var(--ease), box-shadow .25s, filter .25s;
}
.btn-primary {
  color: #07120b; background: linear-gradient(180deg, var(--gold-br), var(--gold) 55%, var(--gold-dk));
  box-shadow: 0 10px 26px -10px rgba(217,182,92,.85), inset 0 1px 0 rgba(255,255,255,.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(217,182,92,.95); }
.btn-ghost {
  color: var(--parch); background: transparent; border: 1px solid rgba(217,182,92,.4);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-br); transform: translateY(-2px); background: rgba(217,182,92,.06); }

.scroll-hint { position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); color: var(--mist-dim); font-family:'Cinzel',serif; font-size:.66rem; letter-spacing:.3em; text-transform: uppercase; animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translate(-50%, 8px); } }


.divider { display: flex; align-items: center; justify-content: center; gap: 1rem; margin: 0 auto; width: min(620px, 80vw); color: var(--gold); opacity: .8; }
.divider .line { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-dk), var(--gold)); }
.divider .line.r { background: linear-gradient(90deg, var(--gold), var(--gold-dk), transparent); }
.divider .gem { width: 12px; height: 12px; transform: rotate(45deg); background: linear-gradient(135deg, var(--gold-br), var(--gold-dk)); box-shadow: 0 0 12px rgba(217,182,92,.6); }

.head { text-align: center; margin-bottom: 3.2rem; }
.head h2 { font-size: clamp(1.8rem, 4.5vw, 3rem); text-transform: uppercase; }
.head p { color: var(--mist); max-width: 56ch; margin: 1rem auto 0; }


.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; margin-bottom: clamp(3.5rem, 7vw, 6rem); }
.feature:last-child { margin-bottom: 0; }
.feature.reverse .f-media { order: 2; }
.feature h3 { font-size: clamp(1.4rem, 3vw, 2.1rem); color: var(--gold-br); margin-bottom: 1rem; }
.feature p { color: var(--parch); opacity: .92; }

.f-media { position: relative; }
.frame {
  position: relative; border-radius: 8px; overflow: hidden;
  border: 1px solid rgba(217,182,92,.3);
  box-shadow: var(--shadow-deep), 0 0 0 6px rgba(9,11,9,.6), 0 0 0 7px rgba(217,182,92,.18);
}
.frame img { width: 100%; transition: transform .8s var(--ease); }
.frame:hover img { transform: scale(1.06); }
.frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(9,11,9,.55)); }
.frame.crest-frame { background: radial-gradient(circle at 50% 40%, rgba(61,220,132,.12), transparent 70%); border: 0; box-shadow: none; }
.frame.crest-frame::after { display: none; }
.frame.crest-frame img { filter: drop-shadow(0 24px 50px rgba(61,220,132,.4)); }

/* ============================================================
   VALUES — heraldic shield cards
   ============================================================ */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 1.4rem; }
.card {
  position: relative; padding: 2.2rem 1.8rem; background: linear-gradient(180deg, rgba(22,27,20,.9), rgba(11,15,11,.9));
  border: 1px solid rgba(217,182,92,.18);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .35s;
  background: radial-gradient(400px 200px at 50% -20%, rgba(61,220,132,.18), transparent 70%);
}
.card:hover { transform: translateY(-6px); border-color: rgba(217,182,92,.55); box-shadow: var(--shadow-deep); }
.card:hover::before { opacity: 1; }
.card .icon { width: 54px; height: 54px; margin-bottom: 1.2rem; color: var(--emerald); }
.card .icon svg { width: 100%; height: 100%; filter: drop-shadow(0 0 8px rgba(61,220,132,.4)); }
.card h3 { font-size: 1.16rem; color: var(--gold-br); margin-bottom: .6rem; text-transform: uppercase; letter-spacing: .06em; }
.card p { color: var(--mist); font-size: 1rem; }

/* ============================================================
   BANNER / CTA STRIP
   ============================================================ */
.banner {
  position: relative; border-radius: 12px; overflow: hidden; text-align: center;
  padding: clamp(3rem, 7vw, 5.5rem) 1.5rem; isolation: isolate;
  border: 1px solid rgba(217,182,92,.25);
}
.banner-bg { position: absolute; inset: 0; z-index: -1; }
.banner-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.banner-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,11,9,.7), rgba(77,15,23,.55)); }
.banner h2 { font-size: clamp(1.8rem, 5vw, 3.2rem); text-transform: uppercase; margin-bottom: 1rem; }
.banner p { color: var(--parch); max-width: 54ch; margin: 0 auto 2rem; }

/* ============================================================
   PAGE HERO (interior pages)
   ============================================================ */
.page-hero { padding: clamp(5rem,12vw,8rem) 0 clamp(2.5rem,6vw,4rem); text-align: center; position: relative; }
.page-hero h1 { font-size: clamp(2.2rem,6vw,4rem); text-transform: uppercase; }
.page-hero p { color: var(--mist); max-width: 60ch; margin: 1.2rem auto 0; }

/* ---------- prose ---------- */
.prose { max-width: 72ch; margin-inline: auto; }
.prose p { margin-bottom: 1.3rem; }
.prose h3 { color: var(--gold-br); margin: 2.4rem 0 1rem; font-size: 1.4rem; }

/* ============================================================
   FAQ (accordion)
   ============================================================ */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: .9rem; }
.qa { border: 1px solid rgba(217,182,92,.2); border-radius: 8px; background: rgba(22,27,20,.55); overflow: hidden; transition: border-color .3s; }
.qa[open] { border-color: rgba(61,220,132,.45); }
.qa summary {
  list-style: none; cursor: pointer; padding: 1.2rem 1.4rem;
  font-family: 'Cinzel', serif; font-size: 1.02rem; color: var(--gold-br);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary .plus { flex: none; width: 22px; height: 22px; position: relative; transition: transform .3s var(--ease); }
.qa summary .plus::before, .qa summary .plus::after { content:""; position:absolute; background: var(--emerald); border-radius: 2px; }
.qa summary .plus::before { left: 0; right: 0; top: 10px; height: 2px; }
.qa summary .plus::after  { top: 0; bottom: 0; left: 10px; width: 2px; transition: opacity .3s; }
.qa[open] summary .plus { transform: rotate(90deg); }
.qa[open] summary .plus::after { opacity: 0; }
.qa .answer { padding: 0 1.4rem 1.3rem; color: var(--mist); }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 1.4rem; }
.tile { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid rgba(217,182,92,.2); box-shadow: var(--shadow-deep); }
.tile img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; transition: transform .7s var(--ease); }
.tile:hover img { transform: scale(1.08); }
.tile figcaption {
  position: absolute; inset: auto 0 0 0; padding: 1.4rem 1.1rem .9rem;
  background: linear-gradient(180deg, transparent, rgba(9,11,9,.92));
  font-family: 'Cinzel', serif; font-size: .92rem; color: var(--gold-br); letter-spacing: .04em;
}
.tile.wide { grid-column: span 2; }
.gallery-note { text-align: center; color: var(--mist-dim); margin-top: 2.4rem; font-style: italic; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid rgba(217,182,92,.18); padding: 3.5rem 0 2.5rem; margin-top: 2rem; background: linear-gradient(180deg, transparent, rgba(0,0,0,.4)); }
.footer .inner { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: flex-start; }
.footer .brand img { width: 38px; height: 38px; }
.footer .fcol h4 { font-family:'Cinzel',serif; font-size:.78rem; letter-spacing:.2em; text-transform: uppercase; color: var(--emerald); margin-bottom: 1rem; }
.footer .fcol a { display: block; color: var(--mist); margin-bottom: .5rem; font-size: .98rem; transition: color .2s; }
.footer .fcol a:hover { color: var(--gold-br); }
.footer .disclaimer { width: 100%; border-top: 1px solid rgba(217,182,92,.1); margin-top: 2.4rem; padding-top: 1.6rem; color: var(--mist-dim); font-size: .82rem; text-align: center; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .menu {
    position: fixed; inset: 0 0 auto auto; top: 0; height: 100svh; width: min(78vw, 320px);
    flex-direction: column; align-items: flex-start; gap: 1.4rem;
    padding: 6rem 2rem; background: rgba(9,11,9,.98); backdrop-filter: blur(12px);
    transform: translateX(105%); transition: transform .4s var(--ease);
    border-left: 1px solid rgba(217,182,92,.2);
  }
  .menu.open { transform: none; }
  .burger { display: block; z-index: 60; }
  .feature, .feature.reverse .f-media { grid-template-columns: 1fr; order: 0; }
  .feature .f-media { order: -1; }
  .tile.wide { grid-column: span 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}
