:root {
  --bg: #0b1220;
  --bg-alt: #0f1828;
  --surface: #131e31;
  --line: rgba(201, 169, 97, 0.18);
  --gold: #c9a961;
  --gold-soft: #e2cd98;
  --text: #e9e6df;
  --muted: #a3a9b5;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1160px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0; color: #f4f1ea; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }
a { color: inherit; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--gold); color: var(--bg); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.lede { font-size: 1.15rem; color: var(--muted); max-width: 40rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.95em 1.7em;
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent;
  transition: background-color .25s, color .25s, border-color .25s;
}
.btn-sm { padding: 0.65em 1.2em; font-size: 0.75rem; }
.btn-gold { background: var(--gold); color: var(--bg); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-outline { border-color: var(--gold); color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--bg); }
.btn-ghost { color: var(--text); padding-left: 0; padding-right: 0; }
.btn-ghost:hover { color: var(--gold); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(11, 18, 32, 0.92); backdrop-filter: blur(10px); border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; color: var(--gold); }
.brand-text { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; letter-spacing: 0.2em; color: #f4f1ea; }
.brand-text span { color: var(--gold); font-weight: 400; }
.brand-text.small { font-size: 1.05rem; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav a:not(.btn) { font-size: 0.85rem; letter-spacing: 0.08em; text-decoration: none; color: var(--muted); transition: color .2s; }
.nav a:not(.btn):hover { color: var(--gold); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 120px 0 200px;
  background: radial-gradient(ellipse at 70% 20%, rgba(201, 169, 97, 0.10), transparent 55%), var(--bg);
}
.skyline { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 46%; pointer-events: none; }
.hero-inner { position: relative; }
.hero h1 { margin-bottom: 1.6rem; max-width: 11em; text-wrap: balance; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.hero .lede { margin-bottom: 2.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1.5rem 2rem; align-items: center; }

/* Sections */
.section { padding: 120px 0; border-top: 1px solid var(--line); }
.section-alt { background: var(--bg-alt); }
.section-title { margin-bottom: 3.5rem; max-width: 36rem; }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.about-body { color: var(--muted); font-size: 1.08rem; padding-top: 2.6rem; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card {
  background: var(--surface); border: 1px solid var(--line);
  padding: 2.5rem 2rem 2.2rem;
  transition: border-color .3s, transform .3s;
}
.card:hover { border-color: rgba(201, 169, 97, 0.5); transform: translateY(-3px); }
.card-num { display: block; font-family: var(--serif); font-size: 1rem; color: var(--gold); margin-bottom: 2.5rem; letter-spacing: 0.1em; }
.card h3 { margin-bottom: 0.9rem; }
.card p { color: var(--muted); margin: 0; font-size: 0.98rem; }

.principles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 4rem; counter-reset: p; }
.principles li { padding: 2rem 0; border-top: 1px solid var(--line); counter-increment: p; position: relative; padding-left: 3.5rem; }
.principles li::before { content: "0" counter(p); position: absolute; left: 0; top: 2.25rem; font-family: var(--serif); color: var(--gold); }
.principles h3 { font-size: 1.45rem; margin-bottom: 0.5rem; }
.principles p { color: var(--muted); margin: 0; }

.contact { text-align: center; background: radial-gradient(ellipse at 50% 100%, rgba(201, 169, 97, 0.10), transparent 60%), var(--bg); }
.contact-inner { display: flex; flex-direction: column; align-items: center; }
.contact h2 { font-size: clamp(2.6rem, 5vw, 3.8rem); margin-bottom: 1rem; }
.contact .lede { margin-bottom: 2.5rem; }
.contact-email {
  font-family: var(--serif); font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--gold); text-decoration: none;
  border-bottom: 1px solid var(--line); padding-bottom: 0.2em;
  transition: color .2s, border-color .2s;
  overflow-wrap: anywhere;
}
.contact-email:hover { color: var(--gold-soft); border-color: var(--gold); }
.contact-loc { margin-top: 1.8rem; color: var(--muted); font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 2.2rem 0; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }
.site-footer p { margin: 0; color: var(--muted); font-size: 0.82rem; }

/* Responsive */
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; gap: 1rem; }
  .about-body { padding-top: 0; }
  .cards { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .nav a:not(.btn) { display: none; }
  .brand-text { font-size: 1.1rem; letter-spacing: 0.16em; }
  .brand-mark { width: 28px; height: 28px; }
  .section { padding: 84px 0; }
  .hero { padding: 110px 0 160px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

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