/* ============================================================
   Ansemhood wif Hat — Cinematic Forest Realm
   Unique visual system derived from logo, banner & gallery art
   ============================================================ */

:root {
  --abyss: #040a06;
  --deep: #0a140d;
  --mid: #15261a;
  --canopy: #243d2a;
  --moss: #3a5a38;
  --leaf: #6b8f5a;
  --gold: #d4a843;
  --gold-bright: #f2d078;
  --gold-deep: #9a7028;
  --amber: #e8a84a;
  --hat: #c45a1a;
  --hat-bright: #e07030;
  --cream: #efe6d0;
  --muted: #9aaf92;
  --ink: #e9efe4;
  --glass: rgba(8, 18, 12, 0.78);
  --line: rgba(212, 168, 67, 0.22);
  --font-display: "Cinzel", "Times New Roman", serif;
  --font-ornate: "Cinzel Decorative", "Cinzel", serif;
  --font-body: "Libre Baskerville", Georgia, serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--abyss);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }

.container { width: min(1180px, 92vw); margin-inline: auto; }
.page { position: relative; z-index: 2; }

/* ========== LIVING REALM BACKGROUND ========== */

.realm {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.realm__sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 55% at 50% -10%, rgba(61, 90, 50, 0.45), transparent 65%),
    radial-gradient(ellipse 50% 40% at 85% 15%, rgba(196, 90, 26, 0.08), transparent 55%),
    linear-gradient(180deg, #0c1a10 0%, var(--abyss) 55%, #020604 100%);
}

.realm__forest {
  position: absolute;
  inset: -8% -4% -4%;
  background-size: cover;
  background-position: center 40%;
  opacity: 0.42;
  filter: saturate(0.85) brightness(0.55) contrast(1.1);
  will-change: transform;
}

.realm__godrays {
  position: absolute;
  inset: -10% 0 20%;
  background-size: cover;
  background-position: center top;
  opacity: 0.28;
  mix-blend-mode: screen;
  animation: raysDrift 18s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

@keyframes raysDrift {
  from { opacity: 0.18; transform: translateX(-2%) scale(1.02); }
  to { opacity: 0.34; transform: translateX(2%) scale(1.06); }
}

.realm__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.realm__mist {
  position: absolute;
  inset: auto 0 0;
  height: 45vh;
  background:
    linear-gradient(180deg, transparent, rgba(140, 170, 130, 0.06) 40%, rgba(4, 10, 6, 0.55)),
    radial-gradient(ellipse 80% 50% at 30% 80%, rgba(180, 210, 160, 0.05), transparent),
    radial-gradient(ellipse 70% 40% at 75% 90%, rgba(180, 210, 160, 0.04), transparent);
  animation: mistBreathe 12s ease-in-out infinite;
}

@keyframes mistBreathe {
  0%, 100% { opacity: 0.7; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-12px); }
}

.realm__grain {
  position: absolute;
  inset: 0;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
  animation: grain 0.4s steps(2) infinite;
}

@keyframes grain {
  0% { transform: translate(0, 0); }
  50% { transform: translate(-1.5px, 1px); }
  100% { transform: translate(1px, -1px); }
}

.realm__vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 35%, rgba(2, 6, 4, 0.75) 100%),
    linear-gradient(90deg, rgba(2, 6, 4, 0.45), transparent 18%, transparent 82%, rgba(2, 6, 4, 0.45));
}

/* ========== NAV ========== */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.45s var(--ease), border-color 0.45s, backdrop-filter 0.45s;
  border-bottom: 1px solid transparent;
}

.nav--scrolled {
  background: var(--glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.nav__inner {
  width: min(1180px, 92vw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--gold-deep);
  box-shadow: 0 0 18px rgba(212, 168, 67, 0.35);
}

.nav__name {
  display: block;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold-bright);
}

.nav__ticker {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  gap: 4px;
}

.nav__link {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 12px;
  position: relative;
  transition: color 0.3s;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transition: width 0.35s var(--ease), left 0.35s var(--ease);
}

.nav__link:hover,
.nav__link--active { color: var(--gold-bright); }
.nav__link:hover::after,
.nav__link--active::after { width: 70%; left: 15%; }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  transition: 0.3s var(--ease);
}

.nav__icon svg { width: 15px; height: 15px; }
.nav__icon:hover {
  color: var(--gold-bright);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(212, 168, 67, 0.2);
}

.nav__cta {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 6px;
  color: var(--abyss);
  background: linear-gradient(135deg, var(--gold-deep), var(--gold), var(--amber));
  box-shadow: 0 4px 20px rgba(212, 168, 67, 0.3);
  transition: 0.3s var(--ease);
}

.nav__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(212, 168, 67, 0.45);
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav__burger span {
  width: 22px;
  height: 2px;
  background: var(--gold);
  transition: 0.3s;
}

/* ========== BUTTONS ========== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  transition: 0.4s var(--ease);
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn--gold {
  color: var(--abyss);
  background: linear-gradient(135deg, var(--gold-deep) 0%, var(--gold) 45%, var(--gold-bright) 100%);
  box-shadow: 0 6px 28px rgba(212, 168, 67, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn--gold:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px rgba(212, 168, 67, 0.5);
}

.btn--leaf {
  color: var(--gold-bright);
  border: 1px solid var(--line);
  background: rgba(20, 40, 26, 0.45);
  backdrop-filter: blur(10px);
}

.btn--leaf:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(212, 168, 67, 0.15);
  background: rgba(36, 61, 42, 0.55);
}

/* ========== SECTION HEADS ========== */

.section { padding: 110px 0; position: relative; }

.head {
  text-align: center;
  margin-bottom: 56px;
}

.head__crest {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  filter: drop-shadow(0 0 20px rgba(212, 168, 67, 0.35));
  animation: crestFloat 5s ease-in-out infinite;
}

@keyframes crestFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.head__eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--hat-bright);
  margin-bottom: 12px;
}

.head__title {
  font-family: var(--font-ornate);
  font-size: clamp(2rem, 4.8vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--gold-bright);
  text-shadow: 0 0 50px rgba(212, 168, 67, 0.25);
  margin-bottom: 14px;
}

.head__sub {
  max-width: 540px;
  margin-inline: auto;
  color: var(--muted);
  font-style: italic;
  font-size: 1.05rem;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal--visible { opacity: 1; transform: none; }

/* ========== HERO ========== */

.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: calc(var(--nav-h) + 24px) 0 72px;
  position: relative;
  overflow: hidden;
}

.hero__stage {
  width: min(1100px, 92vw);
  display: grid;
  grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.hero__cinema {
  position: relative;
  width: min(100%, 400px);
  margin-inline: auto;
}

.hero__frame {
  position: relative;
  width: 100%;
  height: min(500px, 62vh);
  max-height: 500px;
  overflow: hidden;
  isolation: isolate;
  border-radius: 20px;
  background: #07110a;
  border: 1px solid rgba(212, 168, 67, 0.28);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(212, 168, 67, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  filter: saturate(1.06) contrast(1.05);
}

.hero__fx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.85;
  z-index: 2;
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4, 10, 6, 0.08) 0%, transparent 28%, transparent 62%, rgba(4, 10, 6, 0.55) 100%),
    radial-gradient(ellipse at 70% 30%, rgba(242, 208, 120, 0.12), transparent 45%);
}

.hero__rim {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 80px rgba(4, 10, 6, 0.45);
}

.hero__badge-logo {
  position: absolute;
  right: -10px;
  bottom: -10px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-deep);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 24px rgba(212, 168, 67, 0.35);
  z-index: 3;
  background: #0a140d;
}

.hero__copy { max-width: 520px; }

.hero__live {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 7px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(15, 30, 20, 0.5);
  backdrop-filter: blur(8px);
  margin-bottom: 22px;
}

.hero__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5dce7a;
  box-shadow: 0 0 10px #5dce7a;
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.75); }
}

.hero__brand-main {
  display: block;
  font-family: var(--font-ornate);
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 0.95;
  background: linear-gradient(115deg, var(--gold-bright) 0%, var(--gold) 28%, #fff4c8 42%, var(--amber) 58%, var(--hat-bright) 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: brandShine 7s ease-in-out infinite;
  filter: drop-shadow(0 4px 24px rgba(212, 168, 67, 0.35));
}

@keyframes brandShine {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.hero__brand-sub {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--cream);
  margin: 10px 0 22px;
}

.hero__brand-sub i {
  font-style: normal;
  color: var(--hat-bright);
  font-weight: 700;
}

.hero__line {
  color: var(--muted);
  font-size: 1.12rem;
  margin-bottom: 32px;
  max-width: 440px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__descend {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  animation: descend 2.6s ease-in-out infinite;
}

.hero__descend i {
  width: 1px;
  height: 42px;
  background: linear-gradient(180deg, var(--gold), transparent);
}

@keyframes descend {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ========== ABOUT / CHRONICLE ========== */

.about {
  background:
    linear-gradient(180deg, transparent, rgba(21, 38, 26, 0.35) 20%, rgba(21, 38, 26, 0.2) 80%, transparent);
}

.chronicle {
  display: grid;
  gap: 48px;
  margin-bottom: 56px;
}

.chronicle__panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.chronicle__panel--flip {
  direction: rtl;
}
.chronicle__panel--flip > * { direction: ltr; }

.chronicle__media {
  position: relative;
  overflow: hidden;
  border-radius: 4px 28px 4px 28px;
  isolation: isolate;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.45),
    0 0 0 1px var(--line);
}

.chronicle__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(4, 10, 6, 0.75));
  pointer-events: none;
}

.chronicle__media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.chronicle__panel:hover .chronicle__media img {
  transform: scale(1.06);
}

.chronicle__media figcaption {
  position: absolute;
  left: 20px;
  bottom: 16px;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.chronicle__body h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--gold-bright);
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}

.chronicle__body p {
  color: var(--muted);
  font-size: 1.05rem;
}

/* Mosaic strip */
.mosaic {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 56px;
}

.mosaic img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  filter: saturate(0.95) brightness(0.92);
  transition: 0.5s var(--ease);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.mosaic img:hover {
  transform: translateY(-8px) scale(1.03);
  filter: saturate(1.05) brightness(1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 30px rgba(212, 168, 67, 0.15);
  z-index: 2;
}

.mosaic img:nth-child(even) {
  margin-top: 28px;
}

.lore {
  position: relative;
  padding: 48px 40px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background-color: rgba(10, 20, 14, 0.85);
  background-size: cover;
  background-blend-mode: soft-light;
  text-align: center;
  overflow: hidden;
}

.lore::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8, 18, 12, 0.88), rgba(20, 35, 24, 0.82));
}

.lore p {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-inline: auto;
  font-size: 1.25rem;
  font-style: italic;
  color: var(--cream);
  line-height: 1.9;
}

/* ========== HOW TO BUY ========== */

.howtobuy { overflow: hidden; }

.howtobuy__moss {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.path {
  position: relative;
  max-width: 780px;
  margin: 0 auto 48px;
  padding-left: 28px;
}

.path::before {
  content: "";
  position: absolute;
  left: 47px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold-deep), var(--hat), var(--gold));
  opacity: 0.45;
}

.path__step {
  display: grid;
  grid-template-columns: 56px 24px 1fr;
  gap: 18px;
  align-items: start;
  margin-bottom: 28px;
  position: relative;
}

.path__num {
  font-family: var(--font-ornate);
  font-size: 1.6rem;
  color: var(--gold-deep);
  opacity: 0.55;
  line-height: 1;
  padding-top: 6px;
  text-align: right;
}

.path__node {
  width: 18px;
  height: 18px;
  margin-top: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--gold-bright), var(--hat));
  box-shadow: 0 0 18px rgba(224, 112, 48, 0.55);
  position: relative;
  z-index: 1;
}

.path__content {
  padding: 18px 22px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(8, 18, 12, 0.65);
  backdrop-filter: blur(10px);
  transition: 0.4s var(--ease);
}

.path__step:hover .path__content {
  border-color: rgba(212, 168, 67, 0.4);
  transform: translateX(6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.path__content h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
  margin-bottom: 8px;
}

.path__content p {
  color: var(--muted);
  font-size: 0.98rem;
}

.ca {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 24px 28px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(4, 10, 6, 0.8);
  margin-bottom: 28px;
}

.ca__label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.ca__addr {
  font-family: ui-monospace, "Courier New", monospace;
  font-size: 0.88rem;
  color: var(--gold);
  word-break: break-all;
}

.ca__copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--abyss);
  background: var(--gold);
  transition: 0.3s;
  white-space: nowrap;
}

.ca__copy:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(212, 168, 67, 0.4);
}

.ca__copy--ok { background: #4ade80; }

.markets {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.market {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(8, 18, 12, 0.7);
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-bright);
  transition: 0.35s var(--ease);
}

.market svg { width: 26px; height: 26px; color: var(--gold); }
.market:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
}

/* ========== CHART ========== */

.chart {
  background: linear-gradient(180deg, transparent, rgba(8, 18, 12, 0.5), transparent);
}

.chart__frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--deep);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5), 0 0 60px rgba(212, 168, 67, 0.06);
}

.chart__bark {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(212, 168, 67, 0.15);
  z-index: 2;
}

.chart__embed {
  width: 100%;
  height: 600px;
  border: 0;
  display: block;
}

.chart__out {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

/* ========== JOIN US ========== */

.joinus {
  overflow: hidden;
  padding-bottom: 120px;
}

.joinus__fire {
  position: absolute;
  inset: auto 0 0;
  height: 70%;
  background-size: cover;
  background-position: center bottom;
  opacity: 0.22;
  mix-blend-mode: screen;
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent, #000 40%);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%);
  animation: firePulse 7s ease-in-out infinite;
}

@keyframes firePulse {
  0%, 100% { opacity: 0.16; }
  50% { opacity: 0.28; }
}

.joinus__banner {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55);
  border: 1px solid var(--line);
}

.joinus__banner img {
  width: 100%;
  height: auto;
  display: block;
  transform: scale(1.02);
  transition: transform 10s var(--ease);
}

.joinus__banner:hover img { transform: scale(1.07); }

.joinus__fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(4, 10, 6, 0.55));
  pointer-events: none;
}

.joinus__invite {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 36px;
  color: var(--muted);
  font-size: 1.15rem;
}

.joinus__links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.join {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(8, 18, 12, 0.72);
  backdrop-filter: blur(12px);
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-bright);
  transition: 0.4s var(--ease);
}

.join svg { width: 22px; height: 22px; color: var(--gold); }
.join:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--gold);
  box-shadow: 0 16px 40px rgba(212, 168, 67, 0.18);
}

/* ========== FOOTER ========== */

.footer {
  padding: 48px 0 56px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer__crest {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  opacity: 0.85;
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 8px;
}

.footer__note {
  max-width: 560px;
  margin-inline: auto;
  font-size: 0.78rem;
  color: rgba(154, 175, 146, 0.55);
}

/* ========== RESPONSIVE ========== */

@media (max-width: 980px) {
  .nav__links, .nav__actions { display: none; }
  .nav__burger { display: flex; }

  .nav--open .nav__links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    padding: 20px;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
  }

  .nav--open .nav__actions {
    display: flex;
    position: fixed;
    top: calc(var(--nav-h) + 260px);
    left: 20px;
  }

  .hero__stage {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .hero__cinema {
    width: min(300px, 76vw);
  }

  .hero__frame {
    height: min(375px, 46vh);
  }

  .hero__badge-logo { width: 58px; height: 58px; right: -6px; bottom: -6px; }
  .hero__copy { margin-inline: auto; }
  .hero__line { margin-inline: auto; }
  .hero__ctas { justify-content: center; }

  .chronicle__panel,
  .chronicle__panel--flip {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .mosaic {
    grid-template-columns: repeat(3, 1fr);
  }

  .mosaic img:nth-child(n+4) { display: none; }
  .mosaic img:nth-child(even) { margin-top: 0; }

  .chart__embed { height: 460px; }
}

@media (max-width: 560px) {
  .mosaic { grid-template-columns: 1fr 1fr; }
  .path { padding-left: 0; }
  .path::before { left: 35px; }
  .path__step { grid-template-columns: 40px 18px 1fr; gap: 10px; }
  .ca { flex-direction: column; text-align: center; }
  .chronicle__media { border-radius: 12px; }
}
