:root {
  color-scheme: dark;
  --bg: #050403;
  --panel: #0d0b09;
  --panel-2: #14100c;
  --border: #6c4728;
  --border-soft: #332419;
  --gold: #d4ae72;
  --gold-light: #f0d6a5;
  --text: #e9dfd1;
  --muted: #b7aa9a;
  --ember: #9f2f1c;
  --ember-light: #e9682e;
  --page: 1680px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 12%, rgba(90, 37, 18, 0.08), transparent 32%),
    var(--bg);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
.page-width { width: min(var(--page), calc(100% - 48px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(4, 4, 3, 0.97);
  border-bottom: 1px solid var(--border-soft);
  backdrop-filter: blur(12px);
}
.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand { width: 300px; line-height: 1; }
.brand strong {
  display: block;
  color: var(--gold-light);
  font-size: 28px;
  letter-spacing: 2px;
}
.brand span {
  display: block;
  margin-top: 6px;
  color: #b55c34;
  font-size: 10px;
  letter-spacing: 2.8px;
}
.main-navigation {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 42px;
}
.main-navigation a {
  position: relative;
  padding: 28px 0 24px;
  color: #d0c2b1;
  font-size: 14px;
  text-transform: uppercase;
}
.main-navigation a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  transform: translateX(-50%);
  background: var(--ember-light);
  box-shadow: 0 0 14px rgba(233, 104, 46, 0.8);
  transition: width 0.18s ease;
}
.main-navigation a:hover,
.main-navigation a.active { color: #ffc471; }
.main-navigation a:hover::after,
.main-navigation a.active::after { width: 100%; }
.header-button {
  padding: 14px 24px;
  border: 1px solid #934220;
  color: #f1deca;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}
.header-button:hover { background: rgba(130, 47, 24, 0.2); }
.menu-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  color: var(--gold);
  font-size: 28px;
}

.classes-hero {
  position: relative;
  min-height: min(860px, calc(100vh - 74px));
  overflow: hidden;
  border-bottom: 1px solid var(--border-soft);
  background: #080605;
}
.classes-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}
.classes-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 3, 4, 0.28) 0%, rgba(3, 3, 4, 0.18) 50%, rgba(5, 4, 3, 0.94) 100%),
    linear-gradient(90deg, rgba(3, 3, 4, 0.32), transparent 42%, rgba(3, 3, 4, 0.38));
}
.classes-hero-vignette {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 170px rgba(0, 0, 0, 0.9);
}
.classes-hero-inner {
  position: relative;
  z-index: 2;
  min-height: inherit;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: clamp(60px, 8vh, 110px);
}
.classes-hero-copy {
  max-width: 980px;
  padding: 0 24px;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
}
.classes-hero h1,
.paths-copy h2,
.unrevealed h2 {
  margin: 0;
  color: var(--gold-light);
  font-weight: 400;
  text-transform: uppercase;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.78);
}
.classes-hero h1 {
  font-size: clamp(68px, 9vw, 132px);
  letter-spacing: 0.09em;
}
.classes-hero-copy p {
  max-width: 760px;
  margin: 0 auto;
  color: #e3d7c7;
  font-size: clamp(18px, 2vw, 27px);
  line-height: 1.6;
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.95);
}
.ornament-line {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(560px, 80%);
  margin: 25px auto 32px;
}
.ornament-line::before,
.ornament-line::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(178, 113, 57, 0.82));
}
.ornament-line::after { transform: scaleX(-1); }
.ornament-line span {
  width: 9px;
  height: 9px;
  margin: 0 14px;
  border: 1px solid #b76b31;
  transform: rotate(45deg);
  box-shadow: 0 0 12px rgba(215, 91, 34, 0.35);
}

.paths-intro,
.unrevealed {
  padding: clamp(90px, 10vw, 160px) 0;
  text-align: center;
  background:
    radial-gradient(circle at center, rgba(99, 49, 26, 0.1), transparent 45%),
    linear-gradient(180deg, #050403, #0a0705, #050403);
}
.paths-copy,
.unrevealed-inner { max-width: 980px; }
.paths-copy h2,
.unrevealed h2 {
  font-size: clamp(40px, 6vw, 82px);
  letter-spacing: 0.04em;
}
.paths-copy p,
.unrevealed p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.7;
}

.class-list { background: #050403; }
.class-section {
  --class-accent: #8f693e;
  --class-glow: rgba(143, 105, 62, 0.2);
  position: relative;
  padding: clamp(36px, 4vw, 68px) 0;
  border-top: 1px solid rgba(108, 71, 40, 0.38);
  background:
    radial-gradient(circle at 24% 50%, var(--class-glow), transparent 34%),
    linear-gradient(180deg, rgba(9, 7, 5, 0.96), rgba(5, 4, 3, 0.98));
}
.class-plague { --class-accent: #71834b; --class-glow: rgba(83, 114, 55, 0.22); }
.class-mirror { --class-accent: #7868b4; --class-glow: rgba(91, 77, 157, 0.2); }
.class-starforger { --class-accent: #b57b38; --class-glow: rgba(172, 92, 30, 0.19); }
.class-dreamwalker { --class-accent: #4c8792; --class-glow: rgba(61, 119, 131, 0.2); }
.class-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(520px, 0.95fr);
  align-items: stretch;
  gap: 0;
  min-height: 530px;
  border: 1px solid color-mix(in srgb, var(--class-accent) 60%, #22170f);
  background: #080706;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
}
.class-image-frame {
  position: relative;
  min-height: 530px;
  margin: 0;
  overflow: hidden;
}
.class-image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 65%, #080706 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.3));
  pointer-events: none;
}
.class-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.class-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 5vw, 82px);
  background:
    linear-gradient(145deg, rgba(29, 22, 17, 0.96), rgba(10, 9, 8, 0.98)),
    #0b0907;
  border-left: 1px solid color-mix(in srgb, var(--class-accent) 48%, #24170f);
}
.class-panel::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(214, 163, 91, 0.12);
  pointer-events: none;
}
.class-mark {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border: 1px solid var(--class-accent);
  color: var(--class-accent);
  font-size: 22px;
  transform: rotate(45deg);
}
.class-mark::first-letter { transform: rotate(-45deg); }
.class-panel h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  color: color-mix(in srgb, var(--class-accent) 68%, var(--gold-light));
  font-size: clamp(38px, 4vw, 66px);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.035em;
}
.class-panel > p {
  position: relative;
  z-index: 1;
  max-width: 710px;
  margin: 0 0 34px;
  color: #c9bcab;
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.65;
}
.race-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.race-card {
  min-height: 148px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 18px 12px;
  border: 1px solid color-mix(in srgb, var(--class-accent) 52%, #2a2119);
  background:
    linear-gradient(180deg, rgba(21, 18, 15, 0.96), rgba(8, 7, 6, 0.98));
  color: #dfd2c1;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.race-card:hover,
.race-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--class-accent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--class-accent) 10%, #17120e), #090806);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35), 0 0 22px var(--class-glow);
  outline: none;
}
.race-symbol {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid var(--class-accent);
  border-radius: 50%;
  color: var(--class-accent);
  font-size: 22px;
  box-shadow: inset 0 0 18px var(--class-glow), 0 0 12px var(--class-glow);
}
.race-card strong {
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.35;
}

.updates-section {
  padding: 70px 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: #080604;
}
.updates-panel {
  display: grid;
  grid-template-columns: 1fr minmax(360px, 0.9fr) 0.55fr;
  align-items: center;
  gap: 42px;
}
.updates-copy { display: flex; align-items: center; gap: 20px; }
.mail-icon { color: var(--gold); font-size: 32px; }
.updates-copy h2,
.follow h2 { margin: 0 0 8px; color: var(--gold-light); font-weight: 400; text-transform: uppercase; }
.updates-copy p { margin: 0; color: var(--muted); }
.newsletter { display: flex; }
.newsletter input {
  min-width: 0;
  flex: 1;
  padding: 15px 17px;
  border: 1px solid #443327;
  border-right: 0;
  background: #080706;
  color: var(--text);
  outline: none;
}
.newsletter input:focus { border-color: var(--gold); }
.newsletter button {
  padding: 15px 26px;
  border: 1px solid #9a552c;
  background: #7c4728;
  color: #fff2de;
  text-transform: uppercase;
  cursor: pointer;
}
.follow { text-align: right; }
.social-links { display: flex; justify-content: flex-end; gap: 14px; color: var(--muted); }
.social-links a:hover { color: var(--gold-light); }

.site-footer { padding: 50px 0 35px; background: #030302; }
.footer-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  align-items: start;
  gap: 25px 48px;
}
.footer-brand { line-height: 1; }
.footer-brand strong { display: block; color: var(--gold-light); font-size: 26px; letter-spacing: 2px; }
.footer-brand span { display: block; margin-top: 7px; color: #a55131; font-size: 9px; letter-spacing: 2.4px; }
.footer-links { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 18px 30px; color: #9f9385; font-size: 13px; text-transform: uppercase; }
.footer-links a:hover { color: var(--gold-light); }
.footer-inner p { grid-column: 1 / -1; margin: 20px 0 0; color: #6f675f; font-size: 12px; text-align: center; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 100;
  max-width: min(520px, calc(100% - 32px));
  padding: 13px 18px;
  border: 1px solid #6b4328;
  background: rgba(10, 8, 6, 0.97);
  color: #ead8c3;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 15px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.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;
}
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.75s ease, transform 0.75s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1220px) {
  .header-inner { gap: 20px; }
  .brand { width: 240px; }
  .main-navigation { gap: 24px; }
  .header-button { padding-inline: 16px; }
  .class-grid { grid-template-columns: minmax(0, 1fr) minmax(440px, 0.9fr); }
  .race-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .updates-panel { grid-template-columns: 1fr 1fr; }
  .follow { grid-column: 1 / -1; text-align: left; }
  .social-links { justify-content: flex-start; }
}

@media (max-width: 980px) {
  .page-width { width: min(100% - 32px, var(--page)); }
  .site-header { position: sticky; }
  .header-inner { min-height: 68px; }
  .brand { width: auto; flex: 1; }
  .brand strong { font-size: 23px; }
  .brand span { font-size: 8px; }
  .menu-toggle { display: block; }
  .header-button { display: none; }
  .main-navigation {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 9px 16px 18px;
    border-bottom: 1px solid var(--border);
    background: rgba(4, 4, 3, 0.99);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.45);
  }
  .main-navigation.open { display: flex; }
  .main-navigation a { padding: 15px 10px; border-bottom: 1px solid #1e1712; }
  .main-navigation a::after { display: none; }
  .classes-hero { min-height: 690px; }
  .classes-hero-image { object-position: center; }
  .class-grid { grid-template-columns: 1fr; }
  .class-image-frame { min-height: min(66vw, 560px); }
  .class-image-frame::after { background: linear-gradient(180deg, transparent 70%, #080706 100%); }
  .class-panel { border-left: 0; border-top: 1px solid color-mix(in srgb, var(--class-accent) 48%, #24170f); }
}

@media (max-width: 680px) {
  .page-width { width: min(100% - 24px, var(--page)); }
  .classes-hero { min-height: 610px; }
  .classes-hero-image { object-position: center top; }
  .classes-hero-shade {
    background:
      linear-gradient(180deg, rgba(3, 3, 4, 0.2), rgba(3, 3, 4, 0.2) 42%, rgba(5, 4, 3, 0.96) 100%);
  }
  .classes-hero-inner { padding-bottom: 42px; }
  .classes-hero h1 { font-size: clamp(54px, 18vw, 80px); }
  .classes-hero-copy p { font-size: 17px; line-height: 1.55; }
  .paths-intro,
  .unrevealed { padding: 76px 0; }
  .class-section { padding: 24px 0; }
  .class-grid { width: calc(100% - 20px); }
  .class-image-frame { min-height: 410px; }
  .class-image-frame img { object-position: 35% center; }
  .class-panel { padding: 42px 26px 34px; }
  .class-panel::before { inset: 11px; }
  .class-panel h2 { font-size: 38px; }
  .class-panel > p { font-size: 16px; }
  .race-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .race-card { min-height: 126px; padding: 14px 8px; }
  .race-symbol { width: 42px; height: 42px; }
  .race-card strong { font-size: 12px; }
  .updates-section { padding: 55px 0; }
  .updates-panel { grid-template-columns: 1fr; gap: 28px; }
  .newsletter { flex-direction: column; gap: 10px; }
  .newsletter input { border-right: 1px solid #443327; }
  .follow { grid-column: auto; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-links { justify-content: center; }
}

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

/* =========================================================
   UNIFIED WEBSITE HEADER
   Logo left – navigation exactly centered – action right
   ========================================================= */

.site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  width: 100% !important;
  min-height: 74px !important;
  padding: 0 !important;
  border-bottom: 1px solid #332419 !important;
  background: rgba(4, 4, 3, 0.97) !important;
  backdrop-filter: blur(12px);
}

.site-header .page-width {
  width: min(1680px, calc(100% - 48px)) !important;
  margin-inline: auto !important;
}

.site-header .header-inner {
  display: grid !important;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr) !important;
  align-items: center !important;
  gap: 28px !important;
  min-height: 74px !important;
}

.site-header .brand {
  display: block !important;
  justify-self: start !important;
  width: auto !important;
  padding: 0 !important;
  color: #f0d6a5 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 2px !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
}

.site-header .main-navigation {
  position: static !important;
  display: flex !important;
  grid-column: 2 !important;
  align-items: center !important;
  justify-content: center !important;
  justify-self: center !important;
  gap: 42px !important;
  width: max-content !important;
  padding: 0 !important;
  background: transparent !important;
  transform: none !important;
}

.site-header .main-navigation a {
  position: relative !important;
  padding: 29px 0 25px !important;
  color: #d0c2b1 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 14px !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

.site-header .main-navigation a:hover,
.site-header .main-navigation a.active {
  color: #ffc471 !important;
}

.site-header .header-button {
  display: inline-block !important;
  grid-column: 3 !important;
  justify-self: end !important;
  padding: 14px 24px !important;
  border: 1px solid #934220 !important;
  color: #f1deca !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 16px !important;
  line-height: 1 !important;
  letter-spacing: 0.7px !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
}

.site-header .menu-toggle {
  display: none !important;
}

@media (max-width: 1180px) {
  .site-header .header-inner {
    grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr) !important;
    gap: 20px !important;
  }

  .site-header .main-navigation {
    gap: 24px !important;
  }

  .site-header .main-navigation a {
    font-size: 12px !important;
  }

  .site-header .header-button {
    padding: 12px 16px !important;
    font-size: 13px !important;
  }
}

@media (max-width: 1050px) {
  .site-header .header-inner {
    position: relative !important;
    display: flex !important;
  }

  .site-header .brand {
    margin-right: auto !important;
    font-size: 23px !important;
  }

  .site-header .menu-toggle {
    display: block !important;
    order: 3 !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #d4ae72 !important;
    font-size: 28px !important;
  }

  .site-header .header-button {
    display: none !important;
  }

  .site-header .main-navigation {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: 0 !important;
    display: none !important;
    width: 100% !important;
    padding: 10px 24px 18px !important;
    border-top: 1px solid #2c2018 !important;
    border-bottom: 1px solid #3a281b !important;
    background: rgba(4, 4, 3, 0.99) !important;
  }

  .site-header .main-navigation.open,
  .site-header .main-navigation.is-open {
    display: grid !important;
  }

  .site-header .main-navigation a {
    padding: 14px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    font-size: 13px !important;
  }
}

/* =========================================================
   END UNIFIED WEBSITE HEADER
   ========================================================= */


/* =========================================================
   YASHARIEL FINAL HEADER + FOOTER ALIGNMENT FIX
   ========================================================= */

/* ---------- HEADER ---------- */

.site-header {
    min-height: 74px !important;
}

.site-header .header-inner {
    display: grid !important;
    grid-template-columns: minmax(200px, 1fr) auto minmax(260px, 1fr) !important;
    align-items: center !important;
    gap: 24px !important;
    min-height: 74px !important;
}

.site-header .brand {
    grid-column: 1 !important;
    justify-self: start !important;
}

.site-header .main-navigation {
    grid-column: 2 !important;
    justify-self: center !important;
    align-self: center !important;
    margin: 0 !important;
}

.site-header .header-actions {
    grid-column: 3 !important;
    justify-self: end !important;
    align-self: center !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;

    gap: 22px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.site-header .header-login {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 10px 0 !important;

    color: #e5d5c1 !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 16px !important;
    line-height: 1 !important;

    text-decoration: none !important;
    white-space: nowrap !important;
}

.site-header .header-login:hover,
.site-header .header-login:focus-visible {
    color: #ffc471 !important;
}

.site-header .header-button {
    position: static !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-height: 48px !important;
    margin: 0 !important;
    padding: 0 24px !important;

    border: 1px solid #934220 !important;
    background: rgba(10, 7, 5, 0.55) !important;

    color: #f1deca !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 15px !important;
    line-height: 1 !important;
    letter-spacing: .7px !important;

    text-decoration: none !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;

    transform: none !important;
    inset: auto !important;
}

.site-header .header-button:hover,
.site-header .header-button:focus-visible {
    border-color: #c46330 !important;
    background: rgba(130, 47, 24, .20) !important;
}


/* ---------- DESKTOP FOOTER ---------- */

.integrated-site-footer {
    width: 100% !important;
    margin-top: auto !important;

    border-top: 1px solid rgba(177, 128, 72, .28) !important;
    background: #050403 !important;

    color: #c8c0b6 !important;
    font-size: 14px !important;
}

.integrated-site-footer .isf-top {
    width: 100% !important;

    display: grid !important;
    grid-template-columns:
        minmax(420px, 1.25fr)
        minmax(300px, auto)
        minmax(420px, 1.25fr) !important;

    align-items: center !important;
    gap: 40px !important;

    padding: 28px clamp(32px, 5vw, 96px) !important;
}

.integrated-site-footer .isf-title {
    margin: 0 0 9px !important;

    color: #dfc5a3 !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 14px !important;
    line-height: 1.2 !important;

    letter-spacing: .08em !important;
    text-transform: uppercase !important;
}

.integrated-site-footer .isf-newsletter {
    display: flex !important;
    align-items: stretch !important;

    width: min(100%, 430px) !important;
    height: 42px !important;

    margin: 0 !important;
}

.integrated-site-footer .isf-newsletter input {
    flex: 1 1 auto !important;
    min-width: 0 !important;

    height: 42px !important;
    margin: 0 !important;
    padding: 0 14px !important;

    border: 1px solid #493224 !important;
    border-right: 0 !important;

    background: #0c0907 !important;
    color: #eee0ce !important;

    font-size: 14px !important;
}

.integrated-site-footer .isf-newsletter button {
    flex: 0 0 auto !important;

    height: 42px !important;
    margin: 0 !important;
    padding: 0 18px !important;

    border: 1px solid #7d4b2c !important;
    background: #16100c !important;
    color: #d8b188 !important;

    font-size: 12px !important;
    line-height: 1 !important;

    text-transform: uppercase !important;
    letter-spacing: .06em !important;
}

.integrated-site-footer .isf-links {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    gap: 24px !important;

    margin: 0 !important;
    padding: 0 !important;

    white-space: nowrap !important;
}

.integrated-site-footer .isf-right {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;

    gap: 28px !important;

    margin: 0 !important;
    padding: 0 !important;

    text-align: right !important;
}

.integrated-site-footer .isf-social {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;

    gap: 20px !important;

    margin: 0 !important;
    padding: 0 !important;

    white-space: nowrap !important;
}

.integrated-site-footer .isf-language {
    display: inline-block !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #d2b27e !important;

    white-space: nowrap !important;
}

.integrated-site-footer .isf-links a,
.integrated-site-footer .isf-social span,
.integrated-site-footer .isf-social a,
.integrated-site-footer .isf-language {
    font-size: 12px !important;
    line-height: 1.3 !important;
}


/* ---------- LEGAL FOOTER: EINE LINIE ---------- */

.integrated-site-footer .isf-bottom {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    gap: 18px !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 15px clamp(32px, 5vw, 96px) 17px !important;

    border-top: 1px solid rgba(177, 128, 72, .18) !important;

    font-size: 11px !important;
    line-height: 1.4 !important;

    text-align: center !important;
}

.integrated-site-footer .isf-legal {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    gap: 10px !important;

    margin: 0 !important;
    padding: 0 !important;

    white-space: nowrap !important;
}

.integrated-site-footer .isf-copyright {
    margin: 0 !important;
    padding: 0 !important;

    white-space: nowrap !important;
}


/* ---------- KLEINERE DESKTOPS ---------- */

@media (max-width: 1450px) {

    .site-header .header-inner {
        grid-template-columns: minmax(170px, .8fr) auto minmax(230px, .8fr) !important;
        gap: 18px !important;
    }

    .site-header .main-navigation {
        gap: 24px !important;
    }

    .site-header .main-navigation a {
        font-size: 12px !important;
    }

    .site-header .header-actions {
        gap: 14px !important;
    }

    .site-header .header-login {
        font-size: 14px !important;
    }

    .site-header .header-button {
        min-height: 42px !important;
        padding: 0 16px !important;
        font-size: 12px !important;
    }

    .integrated-site-footer .isf-top {
        grid-template-columns: minmax(350px, 1fr) auto minmax(350px, 1fr) !important;
        gap: 26px !important;
    }
}


/* ---------- TABLET / MOBILE ---------- */

@media (max-width: 1050px) {

    .site-header .header-inner {
        display: flex !important;
        align-items: center !important;
    }

    .site-header .brand {
        margin-right: auto !important;
    }

    .site-header .header-actions {
        display: none !important;
    }

    .site-header .menu-toggle {
        display: block !important;
        margin-left: auto !important;
    }

    .site-header .main-navigation {
        position: absolute !important;

        top: 100% !important;
        left: 0 !important;
        right: 0 !important;

        display: none !important;
        width: 100% !important;

        padding: 10px 24px 18px !important;

        background: rgba(4, 4, 3, .99) !important;
    }

    .site-header .main-navigation.open,
    .site-header .main-navigation.is-open {
        display: grid !important;
    }

    .integrated-site-footer .isf-top {
        display: none !important;
    }

    .integrated-site-footer .isf-bottom {
        display: flex !important;
        flex-direction: column !important;

        gap: 12px !important;

        padding: 20px 18px !important;
    }

    .integrated-site-footer .isf-legal {
        flex-wrap: wrap !important;
    }
}


/* ---------- REDUCED MOTION ---------- */

@media (prefers-reduced-motion: reduce) {
    .site-header *,
    .integrated-site-footer * {
        transition: none !important;
    }
}

/* =========================================================
   END YASHARIEL FINAL HEADER + FOOTER ALIGNMENT FIX
   ========================================================= */


/* ============================================================
   YASHARIEL HEADER + FOOTER FINAL FIX
   ============================================================ */

/* ---------- HEADER ---------- */

.site-header {
    width: 100%;
    min-height: 94px !important;
    background: rgba(2, 2, 2, .97) !important;
    border-bottom: 1px solid rgba(164, 101, 49, .28);
}

.site-header .header-inner {
    width: 100% !important;
    max-width: none !important;

    display: grid !important;
    grid-template-columns:
        minmax(260px, 1fr)
        auto
        minmax(360px, 1fr) !important;

    align-items: center !important;

    min-height: 94px !important;

    padding-left: clamp(22px, 2.5vw, 58px) !important;
    padding-right: clamp(22px, 2.5vw, 42px) !important;

    gap: 30px !important;
}

.site-header .brand {
    justify-self: start !important;
    margin: 0 !important;
}

.site-header .main-navigation {
    justify-self: center !important;

    display: flex !important;
    align-items: center !important;

    gap: clamp(25px, 2.3vw, 52px) !important;

    margin: 0 !important;
    padding: 0 !important;
}

.site-header .main-navigation a {
    white-space: nowrap !important;
}


/* ---------- RIGHT HEADER AREA ---------- */

.site-header .header-actions {
    justify-self: end !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;

    gap: 26px !important;

    margin: 0 !important;
    padding: 0 !important;
}

.site-header .header-login {
    position: static !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-height: 52px !important;

    margin: 0 !important;
    padding: 0 19px !important;

    border: 1px solid rgba(145, 102, 55, .45) !important;
    background:
        linear-gradient(
            180deg,
            rgba(36, 27, 18, .48),
            rgba(10, 8, 6, .68)
        ) !important;

    color: #dfc7a4 !important;

    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 15px !important;
    letter-spacing: .11em !important;
    line-height: 1 !important;

    text-decoration: none !important;
    text-transform: uppercase !important;

    white-space: nowrap !important;

    transition:
        border-color .25s ease,
        color .25s ease,
        background .25s ease,
        box-shadow .25s ease !important;
}

.site-header .header-login:hover,
.site-header .header-login:focus-visible {
    color: #f5d8aa !important;
    border-color: rgba(206, 130, 66, .8) !important;

    background:
        linear-gradient(
            180deg,
            rgba(64, 38, 20, .58),
            rgba(15, 9, 6, .82)
        ) !important;

    box-shadow:
        0 0 18px rgba(177, 72, 25, .12),
        inset 0 0 14px rgba(198, 117, 55, .04) !important;
}

.site-header .header-button {
    position: static !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-height: 60px !important;

    margin: 0 !important;
    padding: 0 30px !important;

    border: 1px solid #8d3519 !important;

    background:
        linear-gradient(
            180deg,
            rgba(35, 16, 10, .35),
            rgba(5, 4, 3, .78)
        ) !important;

    color: #f1dec7 !important;

    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 15px !important;
    letter-spacing: .09em !important;
    line-height: 1 !important;

    text-transform: uppercase !important;
    text-decoration: none !important;

    white-space: nowrap !important;

    inset: auto !important;
    transform: none !important;

    transition:
        border-color .25s ease,
        background .25s ease,
        box-shadow .25s ease !important;
}

.site-header .header-button:hover,
.site-header .header-button:focus-visible {
    border-color: #c35b29 !important;

    background:
        linear-gradient(
            180deg,
            rgba(95, 35, 16, .35),
            rgba(12, 6, 4, .88)
        ) !important;

    box-shadow:
        0 0 24px rgba(185, 67, 25, .12) !important;
}


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

.integrated-site-footer {
    width: 100% !important;
    max-width: none !important;

    margin-top: auto !important;

    background:
        linear-gradient(
            180deg,
            rgba(8, 7, 6, .98),
            #030303
        ) !important;

    border-top:
        1px solid rgba(162, 110, 59, .28) !important;

    color: #bdb4aa !important;
}


/* ---------- MAIN FOOTER ROW ---------- */

.integrated-site-footer .isf-top {
    width: 100% !important;

    display: grid !important;
    grid-template-columns:
        minmax(390px, 1.2fr)
        auto
        minmax(390px, 1.2fr) !important;

    align-items: center !important;

    gap: 48px !important;

    padding:
        28px
        clamp(34px, 5vw, 110px) !important;
}


/* NEWSLETTER LEFT */

.integrated-site-footer .isf-newsletter-wrap {
    justify-self: start !important;
}

.integrated-site-footer .isf-title {
    margin: 0 0 8px !important;

    color: #d6bb96 !important;

    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 13px !important;
    letter-spacing: .08em !important;
    line-height: 1.2 !important;

    text-transform: uppercase !important;
}

.integrated-site-footer .isf-newsletter {
    display: flex !important;
    align-items: stretch !important;

    width: 400px !important;
    max-width: 100% !important;

    height: 40px !important;

    margin: 0 !important;
}

.integrated-site-footer .isf-newsletter input {
    flex: 1 !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 14px !important;

    border: 1px solid #413126 !important;
    border-right: 0 !important;

    background: #0b0908 !important;
    color: #e3d9cb !important;

    font-size: 13px !important;
}

.integrated-site-footer .isf-newsletter button {
    flex: 0 0 auto !important;

    margin: 0 !important;
    padding: 0 18px !important;

    border: 1px solid #764529 !important;

    background: #17100c !important;

    color: #d4aa7d !important;

    font-size: 11px !important;
    letter-spacing: .06em !important;

    text-transform: uppercase !important;
}


/* CENTER */

.integrated-site-footer .isf-links {
    justify-self: center !important;

    display: flex !important;
    align-items: center !important;

    gap: 26px !important;

    margin: 0 !important;
    padding: 0 !important;

    white-space: nowrap !important;
}


/* RIGHT */

.integrated-site-footer .isf-right {
    justify-self: end !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;

    gap: 27px !important;

    margin: 0 !important;
    padding: 0 !important;
}

.integrated-site-footer .isf-social {
    display: flex !important;
    align-items: center !important;

    gap: 20px !important;

    margin: 0 !important;
    padding: 0 !important;

    white-space: nowrap !important;
}

.integrated-site-footer .isf-language {
    margin: 0 !important;

    color: #c9a978 !important;

    white-space: nowrap !important;
}


/* SMALL FOOTER TYPOGRAPHY */

.integrated-site-footer a,
.integrated-site-footer span {
    font-size: 12px !important;
}


/* ============================================================
   LEGAL ROW — ONE SINGLE LINE
   ============================================================ */

.integrated-site-footer .isf-bottom {
    width: 100% !important;

    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;

    gap: 20px !important;

    margin: 0 !important;

    padding:
        14px
        clamp(30px, 5vw, 110px)
        16px !important;

    border-top:
        1px solid rgba(162, 110, 59, .14) !important;

    font-size: 11px !important;
    line-height: 1.3 !important;
}

.integrated-site-footer .isf-legal {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;

    gap: 11px !important;

    margin: 0 !important;
    padding: 0 !important;

    white-space: nowrap !important;
}

.integrated-site-footer .isf-copyright {
    display: inline-block !important;

    margin: 0 !important;
    padding: 0 !important;

    white-space: nowrap !important;
}


/* ============================================================
   1440PX
   ============================================================ */

@media (max-width: 1500px) {

    .site-header .header-inner {
        grid-template-columns:
            minmax(210px, .75fr)
            auto
            minmax(300px, .75fr) !important;

        gap: 20px !important;
    }

    .site-header .main-navigation {
        gap: 28px !important;
    }

    .site-header .main-navigation a {
        font-size: 12px !important;
    }

    .site-header .header-actions {
        gap: 14px !important;
    }

    .site-header .header-login {
        min-height: 46px !important;
        padding: 0 14px !important;
        font-size: 12px !important;
    }

    .site-header .header-button {
        min-height: 52px !important;
        padding: 0 20px !important;
        font-size: 12px !important;
    }

    .integrated-site-footer .isf-top {
        grid-template-columns:
            minmax(330px, 1fr)
            auto
            minmax(330px, 1fr) !important;

        gap: 28px !important;
    }
}


/* ============================================================
   MOBILE / TABLET
   ============================================================ */

@media (max-width: 1050px) {

    .site-header .header-inner {
        display: flex !important;
        align-items: center !important;

        min-height: 72px !important;
    }

    .site-header .brand {
        margin-right: auto !important;
    }

    .site-header .header-actions {
        display: none !important;
    }

    .site-header .main-navigation {
        position: absolute !important;

        top: 100% !important;
        left: 0 !important;
        right: 0 !important;

        display: none !important;

        width: 100% !important;

        padding: 15px 24px 22px !important;

        background: rgba(3, 3, 3, .99) !important;
    }

    .site-header .main-navigation.open,
    .site-header .main-navigation.is-open {
        display: grid !important;
    }

    /* bestätigt:
       Mobile Footer nur Legal + Copyright */

    .integrated-site-footer .isf-top {
        display: none !important;
    }

    .integrated-site-footer .isf-bottom {
        flex-direction: column !important;

        gap: 11px !important;

        padding: 19px 16px !important;
    }

    .integrated-site-footer .isf-legal {
        flex-wrap: wrap !important;
        justify-content: center !important;
    }
}


/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    .site-header *,
    .integrated-site-footer * {
        transition: none !important;
        animation: none !important;
    }
}

/* ============================================================
   END HEADER + FOOTER FIX
   ============================================================ */

