:root {
  color-scheme: dark;
  --ink: #f8f4eb;
  --muted: #b8b1a8;
  --gold: #e2b861;
  --gold-soft: rgba(226, 184, 97, 0.18);
  --blue: #18254a;
  --wine: #31151c;
  --glass: rgba(255, 255, 255, 0.075);
  --line: rgba(255, 255, 255, 0.14);
  --shadow: rgba(0, 0, 0, 0.38);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 8%, rgba(226, 184, 97, 0.19), transparent 30rem),
    radial-gradient(circle at 85% 16%, rgba(45, 76, 145, 0.31), transparent 34rem),
    radial-gradient(circle at 80% 85%, rgba(115, 35, 50, 0.25), transparent 36rem),
    #090a0c;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

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

a { color: inherit; }

.shell {
  width: min(100% - 32px, 880px);
  margin: 0 auto;
  padding: 24px 0 64px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 54px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: ui-serif, Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mark {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(226,184,97,.72);
  box-shadow: 0 0 24px rgba(226,184,97,.24), inset 0 0 18px rgba(226,184,97,.12);
}

.mark::before,
.mark::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.mark::before { inset: 7px; border: 1px solid rgba(226,184,97,.5); }
.mark::after { width: 7px; height: 7px; left: 11px; top: 12px; background: var(--gold); box-shadow: 0 0 12px var(--gold); }

nav { display: flex; gap: 8px; }

nav a, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  color: var(--muted);
  text-decoration: none;
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
}

nav a[aria-current="page"], nav a:hover, .button:hover {
  color: #16110a;
  border-color: rgba(255, 221, 148, 0.84);
  background: linear-gradient(135deg, #f1cf82, #c99746);
}

.hero { margin: 0 0 40px; }

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .2em;
  text-transform: uppercase;
}

h1, h2, h3 {
  font-family: ui-serif, Georgia, serif;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 740px;
  margin: 0;
  font-size: clamp(2.5rem, 8vw, 5.2rem);
  line-height: .98;
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.glass {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,.105), rgba(255,255,255,.035));
  box-shadow: 0 24px 80px var(--shadow), inset 0 1px 0 rgba(255,255,255,.12);
  backdrop-filter: blur(24px) saturate(130%);
  -webkit-backdrop-filter: blur(24px) saturate(130%);
}

.contact {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 28px;
  margin: 30px 0 22px;
}

.contact h2 { margin: 0 0 6px; font-size: 1.55rem; }
.contact p { margin: 0; color: var(--muted); }
.contact .button { color: #16110a; background: linear-gradient(135deg, #f1cf82, #c99746); border-color: rgba(255,221,148,.84); font-weight: 700; }

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.card { padding: 24px; }
.grid .card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.card h2 { margin: 0 0 8px; font-size: 1.35rem; }
.card p { margin: 0; color: var(--muted); }

.document { padding: clamp(22px, 5vw, 48px); }
.document section + section { margin-top: 40px; }
.document h2 { margin: 0 0 12px; font-size: 1.65rem; }
.document p, .document li { color: #d0cbc3; }
.document strong { color: var(--ink); }
.document ul { padding-left: 1.2rem; }

.meta {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: .88rem;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.09);
  color: var(--muted);
  font-size: .88rem;
}

footer p { margin: 0; }

@media (max-width: 640px) {
  .shell { width: min(100% - 24px, 880px); padding-top: 14px; }
  header { align-items: flex-start; margin-bottom: 42px; }
  nav { flex-direction: column; }
  nav a { min-height: 38px; padding: 6px 12px; font-size: .85rem; }
  .contact, .grid { grid-template-columns: 1fr; }
  .contact .button { width: 100%; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: no-preference) {
  .mark::after { animation: glow 3.5s ease-in-out infinite; }
  @keyframes glow { 50% { transform: scale(1.28); opacity: .7; box-shadow: 0 0 22px var(--gold); } }
}
