:root {
  color-scheme: dark;
  --bg: #050505;
  --bg-soft: #0a0907;
  --gold: #c79545;
  --gold-bright: #e3bb70;
  --gold-pale: #f4d999;
  --cream: #f4ecdd;
  --muted: #b9ac98;
  --line: rgba(199, 149, 69, 0.34);
  --glass: rgba(11, 10, 8, 0.74);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body {
  margin: 0;
  min-height: 100svh;
  color: var(--cream);
  background:
    radial-gradient(circle at 50% 40%, rgba(199,149,69,.11), transparent 35%),
    radial-gradient(circle at 15% 15%, rgba(199,149,69,.06), transparent 28%),
    linear-gradient(180deg, #090806 0%, #040404 58%, #020202 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .24;
  background-image:
    linear-gradient(rgba(255,255,255,.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.012) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
}

.shell {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: max(18px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
}

.topbar {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 4;
}

.microbrand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-pale);
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  letter-spacing: .26em;
  text-transform: uppercase;
}

.microbrand::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--gold-bright);
  transform: rotate(45deg);
  box-shadow: 0 0 18px rgba(227,187,112,.7);
}

.language-wrap { position: relative; }
.language-button {
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8,8,7,.68);
  color: var(--cream);
  min-height: 42px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.language-button:hover,
.language-button:focus-visible { border-color: rgba(227,187,112,.72); outline: none; }
.language-button svg { width: 15px; height: 15px; }

.language-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 210px;
  margin: 0;
  padding: 8px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(7,7,6,.96);
  box-shadow: 0 20px 70px rgba(0,0,0,.52);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: .18s ease;
  z-index: 20;
}
.language-wrap.open .language-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.language-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 11px;
  color: #d6cbbb;
  text-decoration: none;
  font-size: 13px;
}
.language-menu a:hover,
.language-menu a[aria-current="page"] { background: rgba(199,149,69,.12); color: var(--gold-pale); }
.language-code { color: #8f8069; font-size: 11px; letter-spacing: .12em; }

.hero {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(310px, .92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: clamp(36px, 7vw, 110px);
  padding: 42px 0 34px;
}

.emblem-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(67vh, 690px);
  isolation: isolate;
}
.emblem-stage::before {
  content: "";
  position: absolute;
  width: 68%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227,187,112,.18), rgba(199,149,69,.04) 45%, transparent 72%);
  filter: blur(22px);
  animation: breathe 5.5s ease-in-out infinite;
  z-index: -2;
}
.emblem-stage::after {
  content: "";
  position: absolute;
  width: 76%;
  aspect-ratio: 1;
  border: 1px solid rgba(199,149,69,.13);
  border-radius: 50%;
  box-shadow: 0 0 90px rgba(199,149,69,.05) inset;
  z-index: -1;
}
.emblem {
  display: block;
  width: min(100%, 560px);
  height: auto;
  border-radius: 50%;
  filter: drop-shadow(0 34px 50px rgba(0,0,0,.52));
  animation: reveal 1s cubic-bezier(.2,.8,.2,1) both;
}

.copy { max-width: 620px; animation: copyIn .9s .12s cubic-bezier(.2,.8,.2,1) both; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--gold-bright);
  font-size: 12px;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.brand {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 7vw, 104px);
  font-weight: 400;
  line-height: .92;
  letter-spacing: .055em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #f2d79d 0%, #d2a355 42%, #9e6829 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 12px 40px rgba(164,105,35,.13);
}
.rule {
  width: min(430px, 85%);
  height: 1px;
  margin: 28px 0 25px;
  background: linear-gradient(90deg, var(--gold), rgba(199,149,69,.08));
  position: relative;
}
.rule::after {
  content: "";
  position: absolute;
  left: 35%; top: -4px;
  width: 9px; height: 9px;
  background: var(--gold-bright);
  transform: rotate(45deg);
}
.tagline {
  margin: 0;
  max-width: 640px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 3.2vw, 45px);
  line-height: 1.13;
  font-weight: 400;
  color: var(--cream);
}
.subline {
  margin: 21px 0 0;
  color: var(--muted);
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.7;
  letter-spacing: .015em;
  max-width: 560px;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 31px;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(199,149,69,.065);
  color: var(--gold-pale);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.status::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 16px rgba(227,187,112,.85);
}

.footer {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding-top: 16px;
  border-top: 1px solid rgba(199,149,69,.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #786d5d;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.footer a { color: #9b8a70; text-decoration: none; }

@keyframes breathe { 0%,100% { transform: scale(.94); opacity: .65; } 50% { transform: scale(1.04); opacity: 1; } }
@keyframes reveal { from { opacity: 0; transform: scale(.94) translateY(12px); } to { opacity: 1; transform: scale(1) translateY(0); } }
@keyframes copyIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 820px) {
  .shell { min-height: 100svh; }
  .microbrand { font-size: 11px; letter-spacing: .2em; }
  .language-button { min-height: 39px; padding: 0 13px; }
  .hero {
    grid-template-columns: 1fr;
    gap: 5px;
    text-align: center;
    padding: 28px 0 32px;
  }
  .emblem-stage { min-height: 0; }
  .emblem-stage::before { width: 74%; }
  .emblem-stage::after { width: 78%; }
  .emblem { width: min(74vw, 360px); }
  .copy { margin: 0 auto; }
  .eyebrow { margin-top: 8px; margin-bottom: 13px; }
  .brand { font-size: clamp(44px, 13vw, 68px); }
  .rule { margin: 20px auto 19px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
  .rule::after { left: calc(50% - 4px); }
  .tagline { font-size: clamp(25px, 7vw, 36px); }
  .subline { margin: 16px auto 0; line-height: 1.55; }
  .status { margin-top: 24px; }
  .footer { justify-content: center; text-align: center; }
  .footer span:last-child { display: none; }
}

@media (max-width: 430px) {
  .shell { padding-left: 16px; padding-right: 16px; }
  .topbar { align-items: flex-start; }
  .microbrand { max-width: 160px; line-height: 1.4; }
  .language-button span:last-child { display: none; }
  .language-button { width: 42px; padding: 0; justify-content: center; }
  .language-menu { width: min(260px, calc(100vw - 32px)); }
  .hero { padding-top: 15px; }
  .emblem { width: min(68vw, 285px); }
  .brand { font-size: clamp(42px, 12.5vw, 60px); }
  .tagline { font-size: 27px; }
  .subline { font-size: 14px; }
}

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