:root {
  --ink: #0f1f2e;
  --ink-2: #1a3045;
  --text: #24323f;
  --muted: #55636f;
  --line: #dfe3e7;
  --bg: #ffffff;
  --bg-alt: #f5f3ee;
  --brass: #8a6a2f;
  --brass-light: #d4b072;
  --focus: #d4b072;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 31, 46, 0.08);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

a { color: var(--brass); }

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.7rem 1rem;
  background: var(--brass-light);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
}

.skip-link:focus { top: 1rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 31, 46, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  color: #fff;
  text-decoration: none;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand-form {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--brass-light);
}

.site-nav ul {
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  color: #e8edf1;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.site-nav a:hover {
  color: #fff;
  border-bottom-color: var(--brass-light);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  cursor: pointer;
  position: relative;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  position: absolute;
  left: 11px;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle-bar { top: 50%; margin-top: -1px; }
.nav-toggle-bar::before,
.nav-toggle-bar::after { content: ""; left: 0; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: #e8edf1;
  background:
    radial-gradient(circle at 85% 20%, rgba(212, 176, 114, 0.18), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(80, 120, 160, 0.25), transparent 45%),
    linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.hero::before {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  border: 1px solid rgba(212, 176, 114, 0.25);
  box-shadow: 0 0 0 50px rgba(212, 176, 114, 0.04), 0 0 0 100px rgba(212, 176, 114, 0.03);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.hero h1 { color: #fff; }

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-light);
}

.eyebrow-dark { color: var(--brass); }

.lead {
  font-size: 1.15rem;
  max-width: 36em;
  color: #cfd8e0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 999px;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary {
  background: var(--brass-light);
  color: var(--ink);
  border: 2px solid var(--brass-light);
}

.btn-primary:hover { background: #e2c48d; border-color: #e2c48d; }

.btn-ghost {
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); }

.hero-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 3px solid var(--brass-light);
  border-radius: var(--radius);
  padding: 1.75rem 1.75rem 0.75rem;
}

.hero-card dl { margin: 0; }

.hero-card dl > div {
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-card dl > div:last-child { border-bottom: 0; }

.hero-card dt {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a9b6c2;
}

.hero-card dd {
  margin: 0.2rem 0 0;
  font-family: var(--serif);
  font-size: 1.25rem;
  color: #fff;
}

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: var(--bg-alt); }

.section-head {
  max-width: 44rem;
  margin-bottom: 2.5rem;
}

.section-head p:last-child { color: var(--muted); }

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.card p { color: var(--muted); }

.card-mark {
  display: block;
  width: 44px;
  height: 44px;
  margin-bottom: 1.25rem;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
  position: relative;
}

.card-mark::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 2px solid var(--brass-light);
  border-radius: 50%;
}

.card-mark-alt::after { border-radius: 3px; transform: rotate(45deg); }

.card-code {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--brass) !important;
}

.registered {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.registered h3 { font-size: 1.1rem; }

.code-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.code-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1rem;
  background: var(--bg-alt);
  border-radius: 999px;
  font-size: 0.95rem;
}

.code {
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--brass);
}

/* About */
.about {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text p { max-width: 36em; }

.facts {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.facts li {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border-left: 3px solid var(--brass);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.fact-value {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--ink);
}

.fact-label { color: var(--muted); font-size: 0.95rem; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 1.5rem;
}

.contact-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
}

address {
  font-style: normal;
  font-size: 1.1rem;
  line-height: 1.8;
}

.details { margin: 0 0 1.5rem; }

.details > div {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
}

.details dt { color: var(--muted); }
.details dd { margin: 0; font-weight: 500; color: var(--ink); }

.text-link {
  font-weight: 600;
  text-underline-offset: 3px;
}

.text-link:hover { color: var(--ink); }

/* Footer */
.site-footer {
  background: var(--ink);
  color: #b9c5cf;
  padding: 3rem 0 2rem;
  font-size: 0.95rem;
}

.footer-inner {
  display: grid;
  gap: 1.25rem;
}

.footer-brand {
  margin: 0 0 0.25rem;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
}

.footer-brand span {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--brass-light);
}

.site-footer p { margin: 0; }

.legal {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  max-width: 60rem;
}

.copyright { color: #8fa0ae; font-size: 0.88rem; }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner,
  .about,
  .contact-grid { grid-template-columns: 1fr; }
  .hero-inner { gap: 2.5rem; }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    background: var(--ink);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .site-nav.is-open { display: block; }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1.25rem 1rem;
  }

  .site-nav a {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-nav li:last-child a { border-bottom: 0; }

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

  .card,
  .contact-block { padding: 1.5rem; }

  .details > div {
    grid-template-columns: 1fr;
    gap: 0.1rem;
  }
}

@media (max-width: 420px) {
  .hero-actions .btn { width: 100%; }
}
