:root {
  --purple: #241437;
  --purple-2: #3d1d54;
  --red: #a62d3b;
  --red-bright: #c04450;
  --gold: #caa45d;
  --gold-soft: #ead5a7;
  --paper: #f7f3ec;
  --white: #fffdf9;
  --ink: #211d25;
  --muted: #706a72;
  --line: #ddd4c7;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { color: var(--purple); background: var(--gold-soft); }

.top-header { max-width: 1160px; margin: 0 auto; min-height: 124px; padding: 28px 20px; display: flex; align-items: center; }
.wordmark { display: inline-flex; align-items: center; gap: 16px; }
.wordmark-seal { width: 68px; height: 68px; overflow: hidden; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; background: var(--purple); box-shadow: inset 0 0 0 5px var(--paper); }
.wordmark-seal img { width: 72px; height: 72px; object-fit: contain; transform: translateY(5px) scale(1.18); }
.wordmark > span:last-child { display: grid; gap: 5px; }
.wordmark strong { color: var(--purple); font: 700 35px/.9 Georgia, "Times New Roman", serif; letter-spacing: -.04em; }
.wordmark small { color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }

.main-nav { background: var(--purple); border-bottom: 4px solid var(--red); color: var(--white); }
.main-nav > div { max-width: 1160px; min-height: 54px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 6px; }
.main-nav a { min-height: 54px; padding: 0 18px; display: flex; align-items: center; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; transition: background .2s ease, color .2s ease; }
.main-nav a:hover { color: var(--gold-soft); background: rgba(255,255,255,.06); }

.hero-shell { max-width: 1160px; margin: 0 auto; padding: 52px 20px 70px; }
.hero-label, .sidebar-title { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; color: var(--red); font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.hero-label i, .sidebar-title i { height: 1px; flex: 1; background: var(--line); }
.sites-card { position: relative; min-height: 420px; overflow: hidden; display: grid; place-items: center; border: 1px solid rgba(202,164,93,.55); color: inherit; text-decoration: none; background: radial-gradient(circle at 76% 25%, rgba(166,45,59,.26), transparent 34%), linear-gradient(135deg, #1b1029 0%, var(--purple) 48%, #4b1c37 100%); box-shadow: 0 24px 60px rgba(36,20,55,.18); isolation: isolate; animation: cardLift 7s ease-in-out infinite; }
.sites-card:not(.placeholder-link) { cursor: pointer; }
.sites-card:focus-visible { outline: 3px solid var(--gold-soft); outline-offset: 4px; }
.sites-card::before { content: ""; position: absolute; inset: 0; z-index: -2; opacity: .45; background: repeating-linear-gradient(90deg, transparent 0, transparent calc(14.28% - 1px), rgba(255,255,255,.055) 14.28%); animation: gridMove 10s ease-in-out infinite alternate; }
.sites-card::after { content: ""; position: absolute; width: 430px; height: 430px; z-index: -1; border: 1px solid rgba(202,164,93,.24); border-radius: 50%; box-shadow: 0 0 0 70px rgba(202,164,93,.035), 0 0 0 140px rgba(202,164,93,.018); animation: haloPulse 5s ease-in-out infinite; }
.card-frame { position: absolute; inset: 16px; border: 1px solid rgba(234,213,167,.22); pointer-events: none; }
.card-orbit { position: absolute; width: 10px; height: 10px; z-index: 2; border-radius: 50%; background: var(--gold-soft); box-shadow: 0 0 24px 6px rgba(234,213,167,.3); }
.orbit-one { left: calc(50% - 5px); top: calc(50% - 220px); transform-origin: 5px 220px; animation: orbit 14s linear infinite; }
.orbit-two { width: 6px; height: 6px; left: calc(50% - 3px); top: calc(50% - 155px); transform-origin: 3px 155px; background: var(--red-bright); box-shadow: 0 0 20px 5px rgba(192,68,80,.35); animation: orbitReverse 10s linear infinite; }
.card-spark { position: absolute; width: 28%; height: 1px; left: -30%; top: 34%; background: linear-gradient(90deg, transparent, rgba(234,213,167,.7), transparent); transform: rotate(-18deg); animation: sparkPass 6s ease-in-out infinite; }
.card-content { width: min(700px, calc(100% - 64px)); padding: 48px; display: grid; justify-items: center; position: relative; z-index: 2; text-align: center; }
.official-badge { margin-bottom: 14px; padding: 8px 14px; border: 1px solid rgba(234,213,167,.4); border-radius: 999px; color: var(--gold-soft); background: rgba(166,45,59,.28); font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.card-brand-logo { width: min(430px, 90%); max-height: 118px; margin: 0 0 6px; object-fit: contain; filter: drop-shadow(0 12px 28px rgba(0,0,0,.22)); }
.sites-card h1 { margin: 0; display: grid; text-align: center; text-transform: uppercase; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; }
.sites-card h1 strong { color: var(--gold); font: italic 400 clamp(52px, 7.4vw, 96px)/.95 Georgia, serif; letter-spacing: -.045em; background: linear-gradient(105deg, #b88a3a, #f3ddb0 48%, #b88a3a 78%); background-size: 220% auto; background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; animation: goldFlow 5.5s ease-in-out infinite; }
.card-content > p { margin: 20px 0 18px; color: rgba(255,255,255,.66); font-size: 13px; letter-spacing: .03em; }
.card-cta { min-width: 188px; min-height: 50px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid rgba(234,213,167,.55); border-radius: 4px; color: var(--white); background: linear-gradient(100deg, #9f2035, #bd3440 55%, #a9712f); box-shadow: 0 12px 28px rgba(166,45,59,.28), 0 0 0 5px rgba(166,45,59,.08); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; cursor: inherit; opacity: 1; }
.placeholder-link { cursor: default; }

.intro-strip { max-width: 1120px; margin: 0 auto 92px; padding: 42px 0; display: grid; grid-template-columns: 60px 1fr 1fr; gap: 34px; align-items: start; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.intro-number { color: var(--red); font-size: 10px; font-weight: 700; letter-spacing: .15em; }
.section-kicker { margin: 0 0 14px; color: var(--red); font-size: 10px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.intro-strip h2, .main-article h2, .contact-band h2 { margin: 0; color: var(--purple); font: 500 38px/1.12 Georgia, serif; letter-spacing: -.035em; }
.intro-strip > p { margin: 27px 0 0; color: var(--muted); font-size: 14px; line-height: 1.75; }

.content-layout { max-width: 1120px; margin: 0 auto 110px; display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, .75fr); gap: 72px; }
.main-article section { scroll-margin-top: 30px; }
.main-article h2 { max-width: 680px; margin-bottom: 26px; font-size: clamp(38px, 4.5vw, 60px); }
.main-article p { max-width: 760px; color: #5e5861; font-size: 15px; line-height: 1.85; }
.main-article .lead { margin-bottom: 18px; color: var(--ink); font: 400 24px/1.55 Georgia, serif; }
.article-divider { height: 110px; display: flex; align-items: center; gap: 16px; color: var(--gold); }
.article-divider::before, .article-divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.article-divider span { font: italic 400 13px/1 Georgia, serif; }
.feature-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 3px solid var(--purple); }
.feature-grid div { min-height: 190px; padding: 24px 20px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.feature-grid div:first-child { border-left: 1px solid var(--line); }
.feature-grid span { color: var(--red); font-size: 9px; font-weight: 700; }
.feature-grid h3 { margin: 38px 0 10px; color: var(--purple); font: 500 21px/1.2 Georgia, serif; }
.feature-grid p { margin: 0; font-size: 12px; line-height: 1.65; }

.sidebar-title { color: var(--purple); }
.note-card { padding: 26px 0; border-bottom: 1px solid var(--line); }
.note-card small { color: var(--red); font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.note-card h3 { margin: 10px 0; color: var(--purple); font: 500 23px/1.2 Georgia, serif; }
.note-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.featured-note { padding: 28px; border: 0; background: var(--white); border-top: 4px solid var(--gold); box-shadow: 0 14px 38px rgba(36,20,55,.08); }
.note-link { margin-top: 25px; display: inline-flex; align-items: center; gap: 6px; color: var(--red); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.quote-card { margin-top: 34px; padding: 30px; color: var(--white); background: var(--purple); }
.quote-card span { color: var(--gold); font: 400 58px/.5 Georgia, serif; }
.quote-card p { margin: 14px 0 0; color: var(--gold-soft); font: italic 400 20px/1.5 Georgia, serif; }

.contact-band { padding: 72px max(20px, calc((100vw - 1120px)/2)); display: flex; align-items: center; justify-content: space-between; gap: 60px; background: var(--red); color: var(--white); }
.section-kicker.light { color: var(--gold-soft); }
.contact-band h2 { max-width: 680px; color: var(--white); }
.contact-band button { min-height: 52px; flex: none; padding: 0 22px; border: 1px solid rgba(255,255,255,.55); background: transparent; color: var(--white); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .75; cursor: not-allowed; }

footer { min-height: 132px; padding: 30px max(20px, calc((100vw - 1120px)/2)); display: grid; grid-template-columns: 1fr 1fr auto; gap: 30px; align-items: center; color: rgba(255,255,255,.58); background: #160c22; font-size: 11px; }
.footer-brand { color: var(--gold-soft); font: 500 24px/1 Georgia, serif; }
footer p { margin: 0; text-align: center; }
.mobile-menu { display: none; }

@keyframes cardLift { 0%,100% { transform: translateY(0); box-shadow: 0 24px 60px rgba(36,20,55,.18); } 50% { transform: translateY(-8px); box-shadow: 0 36px 78px rgba(36,20,55,.25); } }
@keyframes gridMove { from { background-position: 0 0; } to { background-position: 60px 0; } }
@keyframes haloPulse { 0%,100% { transform: scale(.96); opacity: .7; } 50% { transform: scale(1.04); opacity: 1; } }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes orbitReverse { to { transform: rotate(-360deg); } }
@keyframes sparkPass { 0%,15% { left: -35%; opacity: 0; } 35% { opacity: 1; } 65%,100% { left: 110%; opacity: 0; } }
@keyframes goldFlow { 0%,20% { background-position: 110% center; } 70%,100% { background-position: -110% center; } }

@media (max-width: 900px) {
  .main-nav > div { overflow-x: auto; }
  .main-nav a { flex: none; }
  .intro-strip, .content-layout { margin-left: 20px; margin-right: 20px; }
  .intro-strip { grid-template-columns: 44px 1fr; }
  .intro-strip > p { grid-column: 2; margin-top: 0; }
  .content-layout { grid-template-columns: 1fr; gap: 70px; }
  .sidebar { max-width: 680px; }
}

@media (max-width: 620px) {
  body { padding-bottom: 72px; }
  .top-header { min-height: 104px; }
  .wordmark strong { font-size: 30px; }
  .wordmark small { font-size: 8px; }
  .main-nav a { padding: 0 14px; }
  .hero-shell { padding-top: 34px; padding-bottom: 56px; }
  .sites-card { min-height: 350px; }
  .card-content { width: calc(100% - 36px); padding: 28px 12px; }
  .sites-card h1 span { font-size: 38px; }
  .sites-card h1 strong { font-size: 51px; }
  .sites-card::after { width: 290px; height: 290px; }
  .orbit-one { top: calc(50% - 150px); transform-origin: 5px 150px; }
  .orbit-two { top: calc(50% - 110px); transform-origin: 3px 110px; }
  .intro-strip { padding: 34px 0; grid-template-columns: 1fr; gap: 12px; }
  .intro-strip > p { grid-column: 1; }
  .intro-strip h2 { font-size: 33px; }
  .main-article h2 { font-size: 40px; }
  .main-article .lead { font-size: 21px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid div { border-left: 1px solid var(--line); }
  .contact-band { align-items: flex-start; flex-direction: column; }
  .contact-band h2 { font-size: 36px; }
  footer { grid-template-columns: 1fr; gap: 18px; text-align: left; }
  footer p { text-align: left; }
  .mobile-menu { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; height: 70px; padding: 7px 10px 6px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(202,164,93,.4); background: rgba(22,12,34,.97); box-shadow: 0 -12px 30px rgba(22,12,34,.18); backdrop-filter: blur(12px); }
  .mobile-menu a { min-width: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 5px; color: rgba(255,255,255,.62); }
  .mobile-menu a:first-child { color: var(--gold-soft); }
  .mobile-menu .mobile-login { color: var(--gold-soft); }
  .mobile-menu svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  .mobile-menu span { overflow: hidden; max-width: 100%; font-size: 8px; font-weight: 700; letter-spacing: .04em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
}

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