/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #B8965A;
  --gold-light: #9A7B3C;
  --gold-pale: #F5EDD8;
  --dark: #F8F7F4;
  --dark-2: #FFFFFF;
  --dark-3: #F1EEE8;
  --mid: #C9C2B8;
  --text: #2A2520;
  --text-muted: #6B6258;
  --text-dim: #9A9085;
  --border: rgba(184,150,90,0.30);
  --border-soft: rgba(184,150,90,0.16);
  --on-gold: #1B1610;
}

html { scroll-behavior: smooth; }

html, body {
  background: var(--dark);
  color: var(--text);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  letter-spacing: 0.02em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---------- Background texture ---------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(184,150,90,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 90% 90%, rgba(184,150,90,0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px;
  pointer-events: none;
  z-index: 0;
}

/* ---------- Layout ---------- */
.wrapper {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

main {
  position: relative;
  z-index: 1;
  flex: 1;
}

a { color: inherit; text-decoration: none; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248,247,244,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--gold-light);
  text-transform: uppercase;
  white-space: nowrap;
}

.logo span {
  color: var(--text-muted);
  font-style: italic;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.25s;
  position: relative;
  padding-bottom: 2px;
}

.nav-links a:hover { color: var(--gold-light); }

.nav-links a.active {
  color: var(--gold-light);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
}

.nav-cta {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light) !important;
  border: 1px solid var(--gold);
  padding: 0.5rem 1rem;
  border-radius: 2px;
  transition: background 0.3s, color 0.3s;
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--on-gold) !important;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--gold-light);
  width: 38px;
  height: 38px;
  border-radius: 2px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle svg { width: 18px; height: 18px; }

@media (max-width: 820px) {
  .nav-links {
    position: fixed;
    inset: 64px 0 auto 0;
    background: rgba(248,247,244,0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 1rem 2rem 2rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-110%);
    transition: transform 0.35s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 1rem 0;
    width: 100%;
    border-bottom: 1px solid var(--border-soft);
    font-size: 0.8rem;
  }
  .nav-links .nav-cta { border: 1px solid var(--gold); margin-top: 1rem; text-align: center; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  color: var(--text);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h1 em, h2 em, h3 em {
  font-style: italic;
  color: var(--gold-light);
}

.h-display {
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  line-height: 1.05;
}

.h-section {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.h-sub {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
}

p { line-height: 1.75; color: var(--text-muted); font-weight: 300; }

.lede {
  font-size: 1.1rem;
  color: var(--text);
  max-width: 56ch;
  line-height: 1.7;
}

.eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.75rem;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.eyebrow::after {
  content: '';
  height: 1px;
  width: 3rem;
  background: var(--gold);
  opacity: 0.4;
}

.eyebrow.no-rule::after { display: none; }

.section-label {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.rule {
  width: 4rem;
  height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
  margin: 2.5rem 0;
}

/* ---------- Sections ---------- */
section { position: relative; }

.hero {
  padding: 7rem 0 6rem;
  display: flex;
  flex-direction: column;
  animation: fadeUp 1s ease both;
}

.hero-compact { padding: 5rem 0 4rem; }

.hero p.subtitle,
.section p.subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 56ch;
  line-height: 1.8;
  margin-top: 1.5rem;
}

.section {
  padding: 5rem 0;
  border-top: 1px solid var(--border-soft);
}

.section:first-of-type { border-top: none; }

.section-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 820px) {
  .hero { padding: 4rem 0 3rem; }
  .section { padding: 4rem 0; }
  .section-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.btn:hover {
  background: var(--gold);
  color: var(--on-gold);
}

.btn svg { width: 14px; height: 14px; transition: transform 0.3s; }
.btn:hover svg { transform: translateX(3px); }

.btn.btn-solid {
  background: var(--gold);
  color: var(--on-gold);
}
.btn.btn-solid:hover { background: var(--gold-light); }

.btn.loading { opacity: 0.6; pointer-events: none; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: linear-gradient(180deg, rgba(184,150,90,0.04) 0%, transparent 100%);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s, background 0.3s;
  position: relative;
  overflow: hidden;
}

.card:hover {
  border-color: rgba(184,150,90,0.45);
  transform: translateY(-2px);
}

.card-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

.card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  color: var(--text);
  margin-bottom: 1rem;
}

.card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  transition: gap 0.3s;
}

.card .card-link:hover { gap: 0.8rem; }

/* ---------- Feature list ---------- */
.feature-list {
  list-style: none;
  display: grid;
  gap: 1rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.7;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 0.6rem;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

/* ---------- Stats / value props ---------- */
.value-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.value-item .value-key {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 2.25rem;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 0.6rem;
}

.value-item .value-label {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---------- Pull quote ---------- */
.pull {
  border-left: 1px solid var(--gold);
  padding: 1rem 0 1rem 2rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.5;
  max-width: 60ch;
}

.pull-cite {
  display: block;
  margin-top: 1.25rem;
  font-family: 'Jost', sans-serif;
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---------- Form ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field.full { grid-column: 1 / -1; }

label {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

input, textarea, select {
  background: rgba(0,0,0,0.02);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  padding: 0.8rem 1rem;
  border-radius: 2px;
  transition: border-color 0.3s, background 0.3s;
  outline: none;
  width: 100%;
}

input::placeholder, textarea::placeholder { color: rgba(138,128,120,0.5); }
input:focus, textarea:focus, select:focus {
  border-color: rgba(184,150,90,0.5);
  background: rgba(184,150,90,0.04);
}

textarea { resize: vertical; min-height: 140px; font-family: 'Jost', sans-serif; }

.hp { display: none !important; }

.status {
  margin-top: 1rem;
  font-size: 0.85rem;
  min-height: 1.2rem;
  letter-spacing: 0.05em;
}

.status.success { color: #3E8E5A; }
.status.error { color: #B5524F; }

/* ---------- CTA strip ---------- */
.cta-strip {
  margin: 5rem 0 0;
  padding: 4rem 2rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  text-align: center;
  background: linear-gradient(135deg, rgba(184,150,90,0.06), rgba(184,150,90,0.01));
}

.cta-strip h2 { margin-bottom: 1rem; }
.cta-strip p { max-width: 50ch; margin: 0 auto 2rem; }

/* ---------- Footer ---------- */
footer.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 4rem;
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

.footer-inner h4 {
  font-family: 'Jost', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-weight: 400;
}

.footer-inner ul { list-style: none; display: grid; gap: 0.75rem; }

.footer-inner a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.3s;
}

.footer-inner a:hover { color: var(--gold-light); }

.footer-meta {
  max-width: 1100px;
  margin: 2.5rem auto 0;
  padding: 1.5rem 2rem 0;
  border-top: 1px solid var(--border-soft);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ---------- Animations ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Skills / capability grid ---------- */
.skill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.skill {
  background: rgba(184,150,90,0.025);
  border: 1px solid var(--border-soft);
  padding: 1.5rem;
  border-radius: 2px;
  transition: border-color 0.3s, background 0.3s;
}

.skill:hover {
  border-color: var(--border);
  background: rgba(184,150,90,0.05);
}

.skill-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 1rem;
  color: var(--gold-light);
}

.skill .skill-day {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.skill h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.skill p {
  font-size: 0.88rem;
  line-height: 1.6;
}

.skill .skill-tag {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border);
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
}

/* ---------- Security block ---------- */
.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.security-item {
  padding: 1.5rem;
  border: 1px solid var(--border-soft);
  border-radius: 2px;
  background: rgba(0,0,0,0.015);
}

.security-item .sec-key {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.3rem;
  color: var(--gold-light);
  margin-bottom: 0.4rem;
}

.security-item p { font-size: 0.88rem; line-height: 1.65; }

/* ---------- Steps (how it works) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 1.75rem 1.5rem 1.5rem;
  border: 1px solid var(--border-soft);
  border-radius: 2px;
  background: rgba(184,150,90,0.02);
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--gold);
  display: block;
  margin-bottom: 0.75rem;
}

.step h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.step p { font-size: 0.88rem; line-height: 1.6; }

/* ---------- FAQ ---------- */
.faq-list {
  margin-top: 2.5rem;
  border-top: 1px solid var(--border-soft);
}

.faq-item {
  border-bottom: 1px solid var(--border-soft);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.5rem 2.5rem 1.5rem 0;
  position: relative;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  color: var(--text);
  transition: color 0.25s;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold-light); }

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--gold);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  transition: transform 0.3s;
}

.faq-item[open] summary::after { content: '\2212'; }

.faq-item .faq-body {
  padding: 0 2.5rem 1.75rem 0;
}

.faq-item .faq-body p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 70ch;
}

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 72ch; }
.prose h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 3rem 0 1rem;
  color: var(--text);
}
.prose h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  color: var(--gold-light);
  font-style: italic;
  margin: 2rem 0 0.75rem;
}
.prose p { margin-bottom: 1.1rem; font-size: 0.95rem; line-height: 1.8; color: var(--text-muted); }
.prose ul { margin: 0 0 1.1rem 1.25rem; display: grid; gap: 0.6rem; }
.prose li { font-size: 0.95rem; line-height: 1.7; color: var(--text-muted); }
.prose a { color: var(--gold-light); }
.prose strong { color: var(--text); font-weight: 400; }
.prose .updated {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 2rem;
}
