/* Eld'Rilla coming-soon — only the rules this page uses.
   Tokens and card/ typography from eld.css, v4.css and v5.css;
   guest/auth surface from guest.css; layout and campfire motion from the v5 mockup. */

@font-face {
  font-family: "Cinzel";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("fonts/cinzel-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cinzel";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("fonts/cinzel-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cinzel Decorative";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/cinzel-decorative-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cinzel Decorative";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/cinzel-decorative-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --gild: #c9a25a;
  --gild2: #f0d48f;
  --gilddk: #6e5630;
  --parch: #e9dfc7;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--parch);
  font: 15px/1.5 Inter, system-ui, sans-serif;
  background: #0c0d10 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5  0 0 0 0 .45  0 0 0 0 .38  0 0 0 .04 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

h1, h2, h3 {
  font-family: "Cinzel", Georgia, serif;
  letter-spacing: .02em;
  margin: 0;
}
h1 { font-size: 26px; font-variant: small-caps; letter-spacing: .04em; }
h2 { font-size: 17px; }
h3 { font-family: Inter; letter-spacing: .2em; color: var(--gild); font-size: 11px; text-transform: uppercase; }

a { color: inherit; text-decoration: none; }

.logo {
  font-family: "Cinzel Decorative", Cinzel, serif;
  color: var(--gild2);
  font-size: 20px;
  white-space: nowrap;
  text-shadow: 0 0 12px #c9a25a44;
}

/* Gold-corner cards (v4/v5) */
.card {
  position: relative;
  border-radius: 0;
  padding: 18px;
  background:
    linear-gradient(var(--gild), var(--gild)) top left / 16px 2px no-repeat,
    linear-gradient(var(--gild), var(--gild)) top left / 2px 16px no-repeat,
    linear-gradient(var(--gild), var(--gild)) top right / 16px 2px no-repeat,
    linear-gradient(var(--gild), var(--gild)) top right / 2px 16px no-repeat,
    linear-gradient(var(--gild), var(--gild)) bottom left / 16px 2px no-repeat,
    linear-gradient(var(--gild), var(--gild)) bottom left / 2px 16px no-repeat,
    linear-gradient(var(--gild), var(--gild)) bottom right / 16px 2px no-repeat,
    linear-gradient(var(--gild), var(--gild)) bottom right / 2px 16px no-repeat,
    linear-gradient(#16181de6, #121418f0);
  border: 1px solid #2c2a26;
  box-shadow: none;
}
.card + .card { margin-top: 16px; }

/* Guest surface */
body.guest { min-height: 100vh; display: flex; flex-direction: column; }
.guest main { flex: 1; padding-bottom: 0; }
.guest .wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.gtop {
  position: sticky;
  top: 0;
  z-index: 10;
  background: linear-gradient(#0a0b0e, #0f1014f2);
  border-bottom: 1px solid #3a3226;
}
.gtop .wrap { display: flex; align-items: center; gap: 22px; height: 60px; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 30px; width: auto; filter: drop-shadow(0 0 8px #c9a25a33); }
.brand .logo { font-size: 21px; }

.kick {
  font: 700 11px Inter;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gild);
}
.disp {
  font: 700 54px/1.05 Cinzel, serif;
  font-variant: small-caps;
  letter-spacing: .03em;
  color: var(--parch);
  margin: 10px 0 14px;
}
.disp em { font-style: normal; color: var(--gild2); }
.lead { font-size: 17px; line-height: 1.6; color: #c2b9a5; max-width: 560px; }
.diam {
  display: inline-block;
  width: 6px;
  height: 6px;
  transform: rotate(45deg);
  background: var(--gild);
  flex: none;
}

.scene {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #2c2a26;
  background: #0b0c10;
}
.scene svg.land { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0c0d10f2 0, #0c0d10cc 38%, #0c0d1022 75%), linear-gradient(0deg, #0c0d10 0, transparent 30%);
  pointer-events: none;
}
.scene .wrap { position: relative; z-index: 2; }
.ghero .wrap { padding-top: 96px; padding-bottom: 110px; }
.ghero .lead { max-width: 680px; }

.soon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding: 8px 16px;
  border: 1px solid #3a3226;
  background: #0f1014cc;
  font-size: 13px;
  color: #c2b9a5;
  max-width: 100%;
  flex-wrap: wrap;
}
.soon b { color: var(--gild2); font-weight: 600; }
.soon svg { width: 12px; height: 12px; color: #f0a64a; flex: none; }

.sect { padding: 72px 0; }

/* 2x2 equal-height gold-corner pillars */
.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
  grid-auto-rows: 1fr;
}
.pillars > .card,
.pillars > .card + .card { margin-top: 0; }
.pillars > .card.pill {
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: 24px 26px 22px;
}
.pill .ico {
  width: 40px;
  height: 40px;
  transform: rotate(45deg);
  display: grid;
  place-items: center;
  border: 1px solid #4a3f2c;
  background: #121318;
  margin: 4px 0 18px 6px;
  flex: none;
}
.pill .ico svg {
  transform: rotate(-45deg);
  color: var(--gild2);
  width: 15px;
  height: 15px;
  display: block;
}
.pill b {
  display: block;
  font: 700 16px Cinzel, serif;
  letter-spacing: .04em;
  color: var(--parch);
  margin-bottom: 4px;
}
.pill-sub {
  font: 700 12px/1.35 Cinzel, serif;
  font-variant: small-caps;
  letter-spacing: .14em;
  color: var(--gild);
  margin: 0 0 14px;
}
.pillars .pill p { margin: 0; min-height: 0; font-size: 14px; line-height: 1.55; }
.pill-body { color: #a69e8c; flex: 1; }
.pill-close { margin-top: auto; padding-top: 16px; color: #c2b9a5; }
.pill-close em { font-style: italic; }

.legacy-band { padding: 52px 48px 48px; text-align: center; width: 100%; margin: 0; }
.legacy-band .legacy-mark { display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.legacy-band .legacy-title {
  font: 700 32px/1.15 Cinzel, serif;
  font-variant: small-caps;
  letter-spacing: .06em;
  color: var(--parch);
  margin: 0 0 22px;
  display: block;
}
.legacy-band .legacy-title::before,
.legacy-band .legacy-title::after {
  content: none;
  display: none;
  background: none;
  width: 0;
  height: 0;
  flex: none;
}
.legacy-band p { margin: 0 auto 14px; max-width: 640px; font-size: 16px; line-height: 1.7; color: #c2b9a5; }
.legacy-band .legacy-close { margin: 18px auto 0; color: var(--parch); }
.legacy-band .legacy-close em { font-style: italic; font-size: 17px; }

.close-band { padding: 8px 24px 64px; text-align: center; }
.close-band p {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
  font: 600 15px/1.5 Inter, sans-serif;
  color: var(--parch);
  flex-wrap: wrap;
}

.gfoot {
  border-top: 1px solid #2c2a26;
  background: #0a0b0e;
  padding: 36px 0 26px;
  font-size: 13px;
  color: #8f877a;
  margin-top: 0;
}
.guest main + .gfoot { border-top: 1px solid #2c2a26; }
.gfoot .base {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid #1d1b17;
}

/* Campfire motion: transform + opacity only. */
.land .flame,
.land .glow-pool,
.land .flag-fly,
.land .tent-glint,
.land .fire-wash,
.land .ember { transform-box: fill-box; }
.land .flame { transform-origin: 50% 100%; }
.land .flame-a { animation: flame-a 2.35s ease-in-out infinite; }
.land .flame-b { animation: flame-b 1.85s ease-in-out infinite; }
.land .flame-c { animation: flame-c 1.55s ease-in-out infinite .12s; }
.land .glow-pool { transform-origin: 50% 50%; }
.land .glow-pool-outer { animation: glow-outer 3.4s ease-in-out infinite; }
.land .glow-pool-inner { animation: glow-inner 2.6s ease-in-out infinite .28s; }
.land .fire-wash { animation: wash-pulse 4.8s ease-in-out infinite; }
.land .flag-fly { transform-origin: 0% 18%; animation: flag-sway 5.6s ease-in-out infinite; }
.land .tent-glint-1 { animation: tent-glint 3.8s ease-in-out infinite; }
.land .tent-glint-2 { animation: tent-glint 4.4s ease-in-out infinite .9s; }
.land .tent-glint-3 { animation: tent-glint 3.5s ease-in-out infinite 1.5s; }
.land .tent-glint-4 { animation: tent-glint 4.1s ease-in-out infinite .4s; }
.land .embers-static { display: none; }
.land .ember { transform-origin: 50% 50%; animation: ember-rise var(--dur, 5s) var(--delay, 0s) ease-out infinite; }

@keyframes flame-a {
  0%, 100% { transform: scale(1, 1) skewX(0deg); opacity: .62; }
  14% { transform: scale(1.05, 1.1) skewX(1.3deg); opacity: .82; }
  29% { transform: scale(.96, .92) skewX(-.9deg); opacity: .5; }
  47% { transform: scale(1.07, 1.14) skewX(-1.2deg); opacity: .78; }
  63% { transform: scale(1.01, .97) skewX(.7deg); opacity: .58; }
  81% { transform: scale(1.04, 1.08) skewX(1deg); opacity: .85; }
}
@keyframes flame-b {
  0%, 100% { transform: scale(1, 1) skewX(0deg); opacity: .95; }
  11% { transform: scale(1.03, 1.06) skewX(-1.1deg); opacity: 1; }
  26% { transform: scale(.98, .93) skewX(.8deg); opacity: .78; }
  44% { transform: scale(1.06, 1.12) skewX(1.4deg); opacity: 1; }
  61% { transform: scale(.97, 1.02) skewX(-.6deg); opacity: .86; }
  78% { transform: scale(1.05, 1.09) skewX(-1deg); opacity: .98; }
}
@keyframes flame-c {
  0%, 100% { transform: scale(1, 1) skewX(0deg); opacity: .9; }
  16% { transform: scale(1.08, 1.16) skewX(.9deg); opacity: 1; }
  33% { transform: scale(.9, .88) skewX(-1.2deg); opacity: .7; }
  52% { transform: scale(1.1, 1.2) skewX(-.7deg); opacity: 1; }
  71% { transform: scale(.95, 1.04) skewX(1.1deg); opacity: .8; }
  87% { transform: scale(1.06, 1.1) skewX(.4deg); opacity: .96; }
}
@keyframes glow-outer {
  0%, 100% { opacity: .22; transform: scale(1, 1); }
  32% { opacity: .34; transform: scale(1.07, 1.14); }
  58% { opacity: .18; transform: scale(.96, .92); }
  80% { opacity: .3; transform: scale(1.04, 1.08); }
}
@keyframes glow-inner {
  0%, 100% { opacity: .82; transform: scale(1, 1); }
  40% { opacity: 1; transform: scale(1.12, 1.18); }
  68% { opacity: .7; transform: scale(.94, .9); }
}
@keyframes wash-pulse {
  0%, 100% { opacity: .9; }
  45% { opacity: 1; }
}
@keyframes flag-sway {
  0%, 100% { transform: rotate(0deg) skewY(0deg); }
  38% { transform: rotate(1.15deg) skewY(1.5deg); }
  68% { transform: rotate(-.45deg) skewY(-.6deg); }
}
@keyframes tent-glint {
  0%, 100% { opacity: .5; }
  38% { opacity: .74; }
  64% { opacity: .4; }
}
@keyframes ember-rise {
  0% { transform: translate(0, 0) scale(.65); opacity: 0; }
  7% { opacity: var(--peak, .7); }
  16% { opacity: calc(var(--peak, .7) * .4); }
  28% { opacity: var(--peak, .7); }
  46% { opacity: calc(var(--peak, .7) * .38); }
  60% { opacity: calc(var(--peak, .7) * .85); }
  78% { opacity: calc(var(--peak, .7) * .3); }
  100% { transform: translate(var(--dx, 0px), var(--dy, -120px)) scale(.35); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .land .flame,
  .land .glow-pool,
  .land .flag-fly,
  .land .tent-glint,
  .land .fire-wash,
  .land .ember { animation: none !important; }
  .land .flame-a { opacity: 0; }
  .land .embers-rise { display: none; }
  .land .embers-static { display: block; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .guest .wrap { padding: 0 16px; }
  .gtop .wrap { height: 54px; gap: 10px; }
  .brand .logo { font-size: 18px; }
  .brand img { height: 24px; }
  .ghero .wrap { padding-top: 44px; padding-bottom: 54px; }
  .disp { font-size: 36px; }
  .lead { font-size: 15px; }
  .ghero .lead { max-width: none; }
  .scene::after { background: linear-gradient(0deg, #0c0d10 0, #0c0d10dd 45%, #0c0d1066 100%); }
  .sect { padding: 48px 0; }
  .pillars { grid-template-columns: 1fr; gap: 14px; grid-auto-rows: 1fr; }
  .pillars .pill {
    display: flex;
    flex-direction: column;
    padding: 22px 20px;
    height: 100%;
    align-items: stretch;
  }
  .pillars .pill .ico { grid-row: auto; margin: 4px 0 18px 6px; }
  .pillars .pill b { margin-bottom: 4px; }
  .pillars .pill p {
    -webkit-line-clamp: unset;
    display: block;
    overflow: visible;
    min-height: 0;
  }
  .legacy-band { padding: 36px 22px 32px; }
  .legacy-band .legacy-title { font-size: 26px; }
  .legacy-band p,
  .legacy-band .legacy-close em { font-size: 15px; }
}

@media (max-width: 760px) {
  /* guest.css later override of .disp at this breakpoint */
  .disp { font-size: 32px; }
}
