:root {
  --bg: #0b0b10;
  --bg-2: #101018;
  --surface: #151520;
  --line: rgba(255, 255, 255, .09);
  --text: #ececf1;
  --muted: #9a9aad;
  --accent: #c9a45c;
  --accent-ink: #14110a;
  --violet: #8b6cff;
  --radius: 18px;
  --maxw: 1160px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}
[data-theme="light"] {
  --bg: #fcf9f6;
  --bg-2: #eef3ef;
  --surface: #ffffff;
  --line: rgba(22, 57, 52, .12);
  --text: #163934;
  --muted: #55706a;
  --accent: #2b6a56;
  --accent-ink: #ffffff;
  --violet: #719481;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background .3s, color .3s;
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
.container { width: min(var(--maxw), 100% - 48px); margin-inline: auto; }
.muted { color: var(--muted); }
.center { text-align: center; }
.gold { color: var(--accent); font-style: italic; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 640px; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .75rem; color: var(--accent); font-weight: 600; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.15rem; letter-spacing: .08em; font-weight: 600; }
.brand em, .brand-footer em { font-style: normal; font-weight: 400; color: var(--accent); letter-spacing: .04em; }
.nav-links { display: flex; align-items: center; gap: 28px; margin-left: auto; font-size: .95rem; }
.nav-links a:not(.btn) { color: var(--muted); transition: color .2s; }
.nav-links a:not(.btn):hover, .nav-links a.active { color: var(--text); }
.nav-actions { display: flex; gap: 8px; }
.icon-btn { background: none; border: 1px solid var(--line); color: var(--text); width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 1rem; }
.icon-btn:hover { border-color: var(--accent); }
.nav-burger { display: none; }

/* Buttons */
.btn {
  display: inline-block; cursor: pointer; border: 1px solid var(--accent);
  background: var(--accent); color: var(--accent-ink);
  padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  font-family: var(--sans); transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -10px var(--accent); }
.btn-small { padding: 9px 20px; font-size: .88rem; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); box-shadow: none; }
.link-arrow { color: var(--accent); font-weight: 500; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 130px 0 110px; }
.hero-glow {
  position: absolute; inset: -20% -10% auto auto; width: 700px; height: 700px; z-index: 0;
  background: radial-gradient(circle, color-mix(in srgb, var(--violet) 35%, transparent), transparent 65%);
  filter: blur(40px); opacity: .55;
}
.hero-inner { position: relative; z-index: 1; }
.hero h1 { margin-bottom: .4em; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }

/* Stats */
.stats { border-block: 1px solid var(--line); background: var(--bg-2); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 36px 0; text-align: center; }
.stats-grid strong { display: block; font-family: var(--serif); font-size: 2rem; color: var(--accent); font-weight: 500; }
.stats-grid span { color: var(--muted); font-size: .85rem; }

/* Sections */
.section { padding: 100px 0; }
.section.alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 50px; }
.page-hero { padding: 110px 0 50px; }
.center-page { text-align: center; padding: 160px 0; }
.center-page .lead { margin-inline: auto; margin-bottom: 30px; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; margin-bottom: 30px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; transition: transform .3s, border-color .3s;
}
.card:hover { transform: translateY(-6px); border-color: var(--accent); }
.card p { color: var(--muted); margin: 0; }
.card-icon { font-size: 1.4rem; color: var(--accent); margin-bottom: 16px; }
.avatar { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-family: var(--serif); font-size: 1.6rem; margin-bottom: 16px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.principles { list-style: none; padding: 0; margin: 0; }
.principles li { padding: 20px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.principles strong { color: var(--text); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.steps span { font-family: var(--serif); color: var(--accent); font-size: 1.1rem; }
.steps p { color: var(--muted); }

.cta-box { text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 70px 24px; }
.cta-box p { margin-bottom: 28px; }

/* Forms */
.contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 60px; }
.form { display: grid; gap: 20px; }
.form label { display: grid; gap: 8px; font-size: .9rem; font-weight: 500; }
.form input, .form textarea {
  font: inherit; color: var(--text); background: var(--surface);
  border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.form .btn { justify-self: start; }
.hp { position: absolute !important; left: -9999px; opacity: 0; height: 0; }
.contact-side h3 { font-size: 1rem; font-family: var(--sans); text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin-bottom: .3em; }

.flashes { padding-top: 20px; }
.flash { padding: 14px 18px; border-radius: 12px; margin-bottom: 10px; border: 1px solid var(--line); }
.flash-success { background: rgba(80, 200, 140, .12); border-color: rgba(80, 200, 140, .4); }
.flash-error { background: rgba(240, 90, 90, .12); border-color: rgba(240, 90, 90, .4); }

.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose p { color: var(--muted); }
.prose a { color: var(--accent); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 70px 0 30px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-grid h4 { margin: 0 0 14px; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); }
.footer-grid a { display: block; color: var(--muted); margin-bottom: 8px; font-size: .92rem; }
.footer-grid a:hover { color: var(--text); }
.brand-footer { font-family: var(--serif); font-size: 1.2rem; letter-spacing: .08em; font-weight: 600; margin-bottom: 8px; }
.footer-bottom { margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 860px) {
  .nav-burger { display: inline-grid; place-items: center; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: flex-start;
    background: var(--bg); padding: 24px; gap: 18px; border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-links.open { display: flex; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 80px 0; }
  .section { padding: 70px 0; }
}

/* ---- additions ---- */
.role { color: var(--accent); font-weight: 500; margin: 0 0 8px !important; }
.small { font-size: .85rem; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin: 0; }
.facts div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; }
.facts dt { text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; color: var(--accent); margin-bottom: 6px; font-weight: 600; }
.facts dd { margin: 0; color: var(--text); }
.facts a { color: var(--accent); }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { border: 1px solid var(--line); background: var(--surface); padding: 8px 16px; border-radius: 999px; font-size: .9rem; color: var(--muted); }
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 500; }
.faq p { color: var(--muted); margin: 10px 0 0; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; }
.footer-reg strong { color: var(--text); font-weight: 500; letter-spacing: .03em; }

/* ---- stacked wordmark ---- */
.brand-text, .brand-footer { display: flex; flex-direction: column; line-height: 1; }
.brand-text b, .brand-footer b { font-family: var(--serif); font-weight: 600; font-size: 1.55rem; letter-spacing: .14em; color: var(--text); }
.brand-text small, .brand-footer small { font-family: var(--sans); font-size: .62rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--accent); margin-top: 5px; }
.brand-footer b { font-size: 1.7rem; }

/* ---- logo & brand (final) ---- */
.logo-mark { height: 40px; width: auto; display: block; }
.brand { gap: 12px; letter-spacing: normal; }
.brand-text b { font-family: "Jost", var(--sans); font-weight: 400; font-size: 1.5rem; letter-spacing: .22em; }
.brand-text small { font-family: "Jost", var(--sans); font-weight: 400; letter-spacing: .38em; font-size: .58rem; display: flex; align-items: center; gap: 8px; }
.brand-text small::before, .brand-text small::after { content: ""; height: 1px; width: 12px; background: var(--accent); opacity: .6; }
.footer-logo img { height: auto; max-width: 100%; }
.logo-for-dark { display: none; }
[data-theme="dark"] .logo-for-light { display: none; }
[data-theme="dark"] .logo-for-dark { display: block; }
[data-theme="light"] .hero-glow { opacity: .55; }
[data-theme="light"] .btn:hover { box-shadow: 0 10px 30px -12px rgba(43, 106, 86, .6); }
[data-theme="light"] .avatar { background: linear-gradient(135deg, #163934, #2b6a56); }
@media (max-width: 480px) { .brand-text b { font-size: 1.25rem; } .brand-text small::before { display: none; } }
.footer-logo { margin-bottom: 16px; }
[data-theme="light"] .hero-glow { background: radial-gradient(circle, rgba(113, 148, 129, .28), transparent 65%); }
