:root {
  --ink: #06080d;
  --ink-2: #0b1018;
  --panel: rgba(13, 19, 29, 0.78);
  --panel-solid: #0e1520;
  --gold: #f0c487;
  --gold-soft: #dca85e;
  --text: #f7f2e8;
  --muted: #aaa79f;
  --blue: #2779ac;
  --orange: #c96022;
  --line: rgba(240, 196, 135, 0.22);
  --radius: 24px;
  --shadow: 0 24px 70px rgba(0,0,0,.42);
}

* { box-sizing: border-box; }

html {
  background: var(--ink);
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 16%, rgba(39,121,172,.22), transparent 28rem),
    radial-gradient(circle at 86% 28%, rgba(201,96,34,.20), transparent 30rem),
    linear-gradient(145deg, #05070b 0%, #0a0e15 52%, #07090e 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.014) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 92%);
}

a { color: inherit; }

.site-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0 12px;
}

.brand-mini {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  letter-spacing: .08em;
  font-weight: 750;
  font-size: .8rem;
}

.brand-mini img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 7px 12px rgba(0,0,0,.35));
}

.nav {
  display: flex;
  gap: 22px;
  align-items: center;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: .84rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  transition: color .2s ease;
}

.nav a:hover, .nav a:focus-visible { color: var(--gold); }

.hero {
  min-height: calc(100vh - 92px);
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(420px, 1.02fr);
  align-items: center;
  gap: 58px;
  padding: 56px 0 90px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: .76rem;
  font-weight: 750;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.6rem, 7.6vw, 7.2rem);
  line-height: .87;
  letter-spacing: -.05em;
  font-weight: 700;
}

.hero h1 span {
  display: block;
  color: var(--gold);
}

.hero-copy {
  max-width: 670px;
  margin: 28px 0 0;
  color: #d5d1c8;
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.72;
}

.tagline {
  margin-top: 26px;
  color: var(--text);
  font-weight: 650;
  letter-spacing: .02em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .76rem;
  font-weight: 800;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.button:hover, .button:focus-visible { transform: translateY(-2px); }

.button.primary {
  color: #15100b;
  background: linear-gradient(135deg, #f8d9a3, var(--gold-soft));
  border-color: transparent;
  box-shadow: 0 12px 38px rgba(220,168,94,.18);
}

.button.secondary {
  background: rgba(255,255,255,.025);
  color: var(--text);
}

.button.secondary:hover { border-color: rgba(240,196,135,.52); }

.emblem-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
}

.emblem-stage::before {
  content: "";
  position: absolute;
  width: min(82%, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(from 205deg,
    rgba(39,121,172,.32),
    rgba(39,121,172,.05) 36%,
    rgba(201,96,34,.08) 52%,
    rgba(201,96,34,.34) 78%,
    rgba(39,121,172,.32));
  filter: blur(34px);
  opacity: .8;
}

.emblem-stage img {
  position: relative;
  z-index: 2;
  width: min(100%, 610px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 30px 55px rgba(0,0,0,.48));
}

.identity-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.018);
}

.identity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.identity-cell {
  min-height: 138px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.identity-cell:last-child { border-right: 0; }

.identity-cell strong {
  display: block;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.36rem;
}

.identity-cell span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .13em;
}

.section {
  padding: 92px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
  align-items: end;
  margin-bottom: 42px;
}

.section-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  line-height: 1;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.card {
  position: relative;
  min-height: 250px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  box-shadow: var(--shadow);
}

.card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  right: -100px;
  top: -100px;
  background: var(--accent, rgba(240,196,135,.16));
  filter: blur(20px);
}

.card .number {
  color: var(--muted);
  font-size: .75rem;
  letter-spacing: .16em;
}

.card h3 {
  position: relative;
  z-index: 1;
  margin: 80px 0 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
}

.card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--gold);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.footer {
  padding: 44px 0 58px;
  color: #77756f;
  font-size: .78rem;
  border-top: 1px solid rgba(240,196,135,.11);
}

/* EE Access page */

.access-body {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 28px 18px;
}

.access-shell {
  width: min(100%, 560px);
  position: relative;
}

.access-top {
  text-align: center;
  margin-bottom: 26px;
}

.access-logo {
  width: min(72vw, 278px);
  max-height: 278px;
  object-fit: contain;
  filter: drop-shadow(0 24px 45px rgba(0,0,0,.5));
}

.access-top h1 {
  margin: 16px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.85rem, 7vw, 2.7rem);
  letter-spacing: -.025em;
}

.access-kicker {
  margin: 8px 0 0;
  color: var(--gold);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.access-tagline {
  margin: 12px auto 0;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.55;
}

.link-stack {
  display: grid;
  gap: 12px;
}

.access-link {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 76px;
  padding: 10px 17px 10px 10px;
  text-decoration: none;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(14,21,32,.82);
  box-shadow: 0 14px 40px rgba(0,0,0,.22);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.access-link:hover, .access-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(240,196,135,.52);
  background: rgba(18,27,41,.95);
}

.access-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
  color: var(--gold);
  background:
    linear-gradient(145deg, rgba(39,121,172,.18), rgba(201,96,34,.18)),
    #090e16;
  border: 1px solid rgba(240,196,135,.12);
}

.access-copy strong {
  display: block;
  font-size: .88rem;
  letter-spacing: .14em;
}

.access-copy span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: .78rem;
}

.access-arrow {
  color: var(--gold);
  font-size: 1.2rem;
}

.access-footer {
  display: flex;
  justify-content: center;
  padding-top: 24px;
}

.access-footer a {
  color: #817f79;
  text-decoration: none;
  font-size: .74rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.access-footer a:hover { color: var(--gold); }

.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 30px;
  text-align: center;
}

.error-page h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 16vw, 9rem);
  color: var(--gold);
}

.error-page p {
  color: var(--muted);
  margin: 8px 0 26px;
}

@media (max-width: 900px) {
  .nav { display: none; }

  .hero {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 28px;
  }

  .hero-copy-col { order: 2; }
  .emblem-stage {
    order: 1;
    min-height: auto;
    margin-bottom: 8px;
  }

  .emblem-stage img { width: min(92%, 490px); }

  .hero h1 { font-size: clamp(3.3rem, 14vw, 6.5rem); }

  .identity-grid,
  .cards { grid-template-columns: repeat(2, 1fr); }

  .identity-cell:nth-child(2) { border-right: 0; }
  .identity-cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }

  .section-heading { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 560px) {
  .site-shell { width: min(100% - 28px, 1180px); }

  .site-header { padding-top: 18px; }

  .brand-mini span { display: none; }

  .hero {
    min-height: auto;
    padding: 28px 0 62px;
  }

  .hero h1 {
    font-size: clamp(3rem, 17vw, 4.9rem);
    line-height: .9;
  }

  .hero-copy { font-size: 1rem; }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button { width: 100%; }

  .identity-grid { grid-template-columns: 1fr 1fr; }

  .identity-cell {
    min-height: 115px;
    padding: 20px 18px;
  }

  .identity-cell strong { font-size: 1.15rem; }

  .cards { grid-template-columns: 1fr; }

  .section { padding: 68px 0; }

  .card { min-height: 190px; }

  .card h3 { margin-top: 45px; }

  .access-body { padding-top: 20px; }
}
