:root {
  --navy: #1f3b4d;
  --navy-deep: #152a38;
  --ink: #1d2b36;
  --muted: #55636e;
  --teal: #2f6f73;
  --gold: #b8864b;
  --gold-soft: #d9a866;
  --cream: #fbf8f3;
  --sand: #f3ece2;
  --line: #e4dacb;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(21, 42, 56, 0.08);
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
a:hover { color: var(--navy); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; color: var(--navy); margin: 0 0 0.6em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold-soft); outline-offset: 2px; }

/* Buttons */
.btn {
  display: inline-block; padding: 14px 26px; border-radius: 999px;
  background: var(--gold); color: var(--white); font-weight: 600; text-decoration: none;
  border: 2px solid var(--gold); transition: background .15s, color .15s, transform .15s;
}
.btn:hover { background: #a37438; border-color: #a37438; color: var(--white); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-small { padding: 8px 18px; font-size: 0.95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { background: var(--navy-deep); position: sticky; top: 0; z-index: 50; }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { white-space: nowrap; display: flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }
.brand em { font-style: normal; color: var(--gold-soft); }
.brand:hover { color: var(--white); }
.site-nav { display: flex; align-items: center; gap: 20px; }
.site-nav a { color: #dfe7ec; text-decoration: none; font-weight: 500; font-size: 0.97rem; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--gold-soft); }
.site-nav a.btn { color: var(--white); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle .bar { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; }
@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: var(--navy-deep);
    flex-direction: column; align-items: flex-start; padding: 8px 20px 20px; gap: 14px; }
  .site-nav.open { display: flex; }
}

/* Hero with curved divider (house standard: premium-hero-dividers, curved variant) */
.hero {
  position: relative;
  background: radial-gradient(120% 120% at 85% 20%, #26475c 0%, var(--navy) 45%, var(--navy-deep) 100%);
  color: #e8eef2;
  padding: 72px 0 calc(clamp(48px, 8vw, 110px) + 40px);
  overflow: hidden;
}
.hero h1 { color: var(--white); }
.hero .eyebrow { color: var(--gold-soft); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero-lead { font-size: 1.15rem; color: #d3dde4; max-width: 34em; }
.hero-photo { border-radius: 22px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.12); }
.hero-photo img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; object-position: center 22%; }
.hero-points { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 8px; }
.hero-points li { padding-left: 28px; position: relative; }
.hero-points li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 14px; height: 14px; border-radius: 50%; background: var(--gold-soft); opacity: .9; }
.hero__divider {
  position: absolute; left: 0; bottom: -1px;
  width: 100%; height: clamp(48px, 8vw, 110px); display: block;
}
.hero__divider path { fill: var(--cream); }
.page-hero { padding: 56px 0 calc(clamp(48px, 8vw, 110px) + 24px); }
.page-hero .hero-lead { margin-bottom: 0; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-photo { max-width: 380px; }
}
@media (max-width: 640px) {
  .hero { padding-top: 48px; padding-bottom: 84px; }
  .page-hero { padding-bottom: 72px; }
  .hero__divider { height: 40px; }
}

.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 600; color: var(--gold); margin-bottom: .8em; }

/* Sections */
.section { padding: 72px 0; }
.section-sand { background: var(--sand); }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } .section { padding: 52px 0; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--sand); display: grid; place-items: center; margin-bottom: 14px; color: var(--teal); }
.card .icon svg { width: 24px; height: 24px; }

/* Two-column feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } }
.portrait { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); max-width: 460px; }
.portrait img { width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; object-position: center 22%; }
.credentials { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 10px; }
.credentials li { background: var(--white); border-left: 4px solid var(--gold); padding: 10px 16px; border-radius: 8px; }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.steps li { counter-increment: step; position: relative; padding: 22px 24px 22px 78px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { content: counter(step); position: absolute; left: 22px; top: 22px; width: 38px; height: 38px; border-radius: 50%;
  background: var(--navy); color: var(--white); font-family: var(--serif); font-weight: 600; display: grid; place-items: center; }
.steps h3 { margin-bottom: .3em; }
.steps p { margin: 0; }

/* Fees */
.price { font-family: var(--serif); font-size: 3rem; color: var(--navy); line-height: 1; margin: .2em 0 .3em; }
.price small { font-family: var(--sans); font-size: 1rem; color: var(--muted); }
.callout { background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--teal); border-radius: 10px; padding: 18px 22px; }

/* FAQ */
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 600; color: var(--navy); list-style: none; position: relative; padding-right: 52px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--gold); }
.faq details[open] summary::after { content: '\2212'; }
.faq .answer { padding: 0 22px 18px; }
.faq .answer p:last-child { margin-bottom: 0; }

/* Prose */
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

/* CTA band with a gentler echo of the hero curve */
.cta-band { position: relative; background: var(--navy); color: #dfe7ec; padding: calc(clamp(30px, 5vw, 64px) + 48px) 0 64px; text-align: center; }
.cta-band h2 { color: var(--white); }
.cta-band p { max-width: 620px; margin: 0 auto 1.4em; }
.cta-band .btn-row { justify-content: center; }
.cta__divider { position: absolute; left: 0; top: -1px; width: 100%; height: clamp(30px, 5vw, 64px); display: block; }
.cta__divider path { fill: var(--cream); }
.section-sand + .cta-band .cta__divider path { fill: var(--sand); }
@media (max-width: 640px) { .cta__divider { height: 28px; } .cta-band { padding-top: 72px; } }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; color: var(--navy); }
input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%; padding: 12px 14px; font: inherit; color: var(--ink);
  background: var(--white); border: 1px solid #cdbfa9; border-radius: 10px;
}
input:focus, select:focus, textarea:focus { border-color: var(--teal); outline: 2px solid rgba(47,111,115,.25); }
.errorlist { list-style: none; padding: 0; margin: 6px 0 0; color: #a3341f; font-size: .9rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-cards { display: grid; gap: 16px; }
.contact-cards .card a { font-weight: 600; font-size: 1.1rem; word-break: break-word; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #b9c7d0; padding: 56px 0 28px; font-size: .95rem; }
.site-footer a { color: #e3ebef; }
.site-footer a:hover { color: var(--gold-soft); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { font-family: var(--serif); color: var(--white); font-size: 1.2rem; font-weight: 600; }
.footer-head { color: var(--white); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 32px; padding-top: 20px; font-size: .85rem; }
.footer-legal p { margin-bottom: .4em; }

/* Agreement shown on the public signing page */
.agreement-card h2 { font-size: 1.6rem; }
.agreement-card h3 { font-size: 1.1rem; margin-top: 1.4em; }
.agreement-card .doc-meta { color: var(--muted); font-size: .9rem; }
.agreement-card .doc-quote { background: var(--sand); border-left: 3px solid var(--gold); padding: 8px 12px; }
.agreement-card ul { padding-left: 1.2em; }
