:root {
  --cream: #fdfbf7;
  --oat: #f4eee3;
  --sage: #5f7b5b;          /* buttons: white text passes AA */
  --sage-deep: #3f5740;
  --sage-soft: #e1e8da;
  --espresso: #3a2e28;
  --muted: #766a60;
  --line: #e6dccb;
  --sand: #c9b79c;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --ease: cubic-bezier(.22,.7,.2,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; font-family: var(--sans); color: var(--espresso); background: var(--cream); line-height: 1.75; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0 0 .55em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.7rem, 5.6vw, 4.7rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
h3 { font-size: 1.45rem; }
em { font-style: italic; color: var(--sage); }
p { margin: 0 0 1.1em; }
a { color: var(--sage-deep); text-underline-offset: 4px; }
a:hover { color: var(--sage); }
.wrap { width: min(1160px, 100% - 3rem); margin-inline: auto; }
.small { font-size: .85rem; color: var(--muted); }
.center { text-align: center; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem 1rem; z-index: 100; }
.eyebrow { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--sage); margin-bottom: 1.1rem; }
.head { max-width: 640px; margin: 0 auto 3.5rem; text-align: center; }
.sub { color: var(--muted); font-size: 1.1rem; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--cream); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 108px; }
.logo { display: block; line-height: 0; }
.logo img { height: 96px; width: auto; mix-blend-mode: multiply; }
.nav { display: flex; align-items: center; gap: 2.2rem; }
.nav a:not(.btn) { color: var(--espresso); text-decoration: none; font-size: .92rem; font-weight: 500; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--sage); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--espresso); }

/* Buttons */
.btn { display: inline-block; background: var(--sage); color: #fff; border: 0; border-radius: 999px; padding: 1rem 2.1rem; font: 600 .95rem var(--sans); text-decoration: none; cursor: pointer; transition: background .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease); }
.btn:hover { background: var(--sage-deep); color: #fff; transform: translateY(-3px); box-shadow: 0 12px 24px -10px rgba(63,87,64,.55); }
.btn-small { padding: .65rem 1.4rem; }
.link-arrow { color: var(--espresso); font-weight: 600; text-decoration: none; }
.link-arrow span { display: inline-block; transition: transform .35s var(--ease); }
.link-arrow:hover span { transform: translateX(6px); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--sage-deep); outline-offset: 3px; }

/* Waves */
.wave { display: block; width: 100%; height: 70px; fill: var(--oat); }
.wave-top { position: absolute; top: -69px; left: 0; }
.section { position: relative; padding: 6rem 0; }

/* Hero */
.hero { position: relative; padding-top: 4.5rem; background: radial-gradient(800px 500px at 90% 10%, var(--sage-soft), transparent 70%), var(--cream); }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; padding-bottom: 4.5rem; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 31em; }
.hero-actions { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; margin-top: 2rem; }
.rating { margin: 2rem 0 0; font-size: .95rem; }
.rating span { color: #b99352; letter-spacing: 3px; margin-right: .4rem; }
.hero-art { position: relative; max-width: 440px; width: 100%; margin-inline: auto; }
.arch { aspect-ratio: 4/5; border-radius: 999px 999px 28px 28px; background: linear-gradient(165deg, var(--sage-soft), var(--oat)); display: grid; place-items: center; overflow: hidden; }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch span, .blob span { font-family: var(--serif); font-style: italic; color: var(--sage-deep); opacity: .65; }
.seal { position: absolute; left: -48px; bottom: 40px; width: 128px; height: 128px; border-radius: 50%; background: var(--cream); color: var(--sage-deep); display: grid; place-items: center; box-shadow: 0 14px 34px -14px rgba(58,46,40,.35); }
.seal svg { position: absolute; inset: 4px; width: calc(100% - 8px); animation: spin 40s linear infinite; }
.seal b { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Trust bar */
.trust { background: var(--oat); padding: 1rem 0 3.5rem; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-grid > div { padding: .5rem 2rem; text-align: center; border-left: 1px solid var(--sand); display: grid; gap: .2rem; }
.trust-grid > div:first-child { border-left: 0; }
.t-label { font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--sage); }
.trust strong, .t-link { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; color: var(--espresso); text-decoration: none; line-height: 1.3; }
.t-link { border-bottom: 1px solid var(--sage); justify-self: center; }
.t-sub { font-size: .85rem; color: var(--muted); }

/* About */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.blob { aspect-ratio: 1; background: linear-gradient(150deg, var(--sage-soft), var(--oat)); border-radius: 58% 42% 55% 45% / 48% 57% 43% 52%; display: grid; place-items: center; overflow: hidden; }
.blob img { width: 100%; height: 100%; object-fit: cover; }
.portrait { max-width: 440px; width: 100%; }
.creds { list-style: none; padding: 0; margin: 1.6rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.creds li { background: var(--oat); border-radius: 999px; padding: .4rem 1rem; font-size: .88rem; }

/* Setting tabs */
.setting { background: var(--oat); }
.tablist { display: flex; justify-content: center; gap: .6rem; flex-wrap: wrap; margin-bottom: 3rem; }
.tablist button { font: 500 .98rem var(--sans); color: var(--espresso); background: transparent; border: 1px solid var(--sand); border-radius: 999px; padding: .75rem 1.5rem; cursor: pointer; transition: all .35s var(--ease); }
.tablist button:hover { border-color: var(--sage); }
.tablist button[aria-selected="true"] { background: var(--sage); border-color: var(--sage); color: #fff; }
.panel { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; animation: fade .7s var(--ease); }
.panel[hidden] { display: none; }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.panel-text ul { list-style: none; padding: 0; margin: 1.4rem 0 0; }
.panel-text li { padding: .65rem 0 .65rem 1.7rem; border-top: 1px solid var(--sand); position: relative; }
.panel-text li::before { content: ""; position: absolute; left: 0; top: 1.15rem; width: 8px; height: 8px; border-radius: 50%; background: var(--sage); }
.panel-art .blob { max-width: 420px; margin-inline: auto; background: linear-gradient(150deg, var(--sage-soft), var(--cream)); }
.b2 { border-radius: 45% 55% 40% 60% / 55% 45% 55% 45%; }
.b3 { border-radius: 60% 40% 50% 50% / 42% 58% 42% 58%; }

/* Fees: asymmetric tiers */
.tiers { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: auto auto; gap: 1.6rem 2rem; }
.tier { padding: 2.4rem; border-radius: 34px; }
.tier-a { grid-row: span 2; background: var(--sage-soft); border-radius: 34px 34px 140px 34px; padding: 3rem 3rem 4rem; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.tier-b { background: var(--oat); border-radius: 34px 120px 34px 34px; }
.tier-c { background: var(--cream); border: 1px solid var(--line); border-radius: 120px 34px 34px 34px; padding-left: 3.4rem; }
.tier-age { font-size: .75rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--sage); display: block; margin-bottom: .6rem; }
.tier h3 { font-size: 2rem; }
.tier p { color: var(--muted); max-width: 30em; }
.pill { display: inline-block; background: var(--sage); color: #fff; border-radius: 999px; padding: .3rem .95rem; font-size: .78rem; font-weight: 600; letter-spacing: .04em; }

.funding { margin-top: 4rem; padding: 3rem; border-radius: 48px 48px 48px 140px; background: var(--espresso); color: #efe7db; }
.funding h3 { color: #fff; margin-bottom: 1.6rem; }
.funding-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4rem; }
.funding-grid > div { border-top: 1px solid rgba(255,255,255,.22); padding-top: 1.1rem; }
.funding-grid b { font-family: var(--serif); font-weight: 500; font-size: 1.7rem; color: #cfe0c8; display: block; margin-bottom: .3rem; }
.funding-grid p { color: #d9cfc1; font-size: .95rem; margin: 0; }
.funding .small { color: #b9ad9d; margin: 1.8rem 0 0; }
.funding a { color: #cfe0c8; }
.avail { text-align: center; max-width: 720px; margin: 3rem auto 0; color: var(--muted); }

/* Reviews */
.reviews-sec { background: var(--sage-soft); }
.reviews-sec .wave { fill: var(--sage-soft); }
.contact .wave { fill: var(--oat); }
.quotes { columns: 2; column-gap: 2.5rem; margin-bottom: 1.5rem; }
.quote { break-inside: avoid; margin: 0 0 2.2rem; padding: 2.2rem 2.4rem 2rem; background: var(--cream); border-radius: 28px 28px 28px 6px; position: relative; }
.quote:nth-child(even) { border-radius: 28px 28px 6px 28px; margin-top: 2.2rem; }
.quote::before { content: "\201C"; position: absolute; top: .5rem; left: 1.6rem; font-family: var(--serif); font-size: 4rem; line-height: 1; color: var(--sage); opacity: .45; }
.quote p { font-family: var(--serif); font-size: 1.28rem; line-height: 1.5; margin: 1.3rem 0 1.1rem; }
.quote.feature p { font-size: 1.6rem; }
.quote cite { font-style: normal; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* Contact */
.contact { background: var(--oat); }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; }
.contact-list li { padding: .8rem 0; border-top: 1px solid var(--sand); }
.form { background: var(--cream); padding: 2.6rem; border-radius: 36px; display: grid; gap: 1.3rem; box-shadow: 0 24px 50px -30px rgba(58,46,40,.35); }
.form label { display: grid; gap: .1rem; font-size: .8rem; font-weight: 600; color: var(--muted); }
.form input, .form textarea { font: 400 1rem var(--sans); color: var(--espresso); padding: .7rem 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; border-radius: 0; transition: border-color .3s; }
.form input:focus, .form textarea:focus { border-bottom-color: var(--sage); outline: none; }
.hp { position: absolute; left: -9999px; }
.form-msg { font-weight: 600; margin: 0; color: var(--sage-deep); }

/* Footer */
.site-footer { background: var(--espresso); color: #e0d6c8; text-align: center; padding: 3.5rem 0; }
.site-footer p { margin: .3rem 0; font-size: .88rem; }
.site-footer .small { color: #a99d8d; }
.footer-logo { width: 240px; max-width: 70%; height: auto; margin: 0 auto 1.2rem; display: block; background: #fff; padding: .6rem 1rem; border-radius: 14px; }

@media (max-width: 900px) {
  .header-inner { min-height: 84px; }
  .logo img { height: 72px; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 84px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 1.2rem; background: var(--cream); padding: 1.5rem; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .hero-inner, .two-col, .panel { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-art { max-width: 340px; }
  .seal { left: -10px; width: 104px; height: 104px; }
  .portrait { order: -1; max-width: 320px; }
  .trust-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .trust-grid > div { border-left: 0; border-top: 1px solid var(--sand); padding-top: 1.2rem; }
  .trust-grid > div:first-child { border-top: 0; padding-top: .5rem; }
  .section { padding: 4.5rem 0; }
  .tiers { grid-template-columns: 1fr; }
  .tier-a { grid-row: auto; padding: 2.4rem 2.4rem 3.2rem; }
  .funding { padding: 2rem; border-radius: 36px 36px 36px 90px; }
  .funding-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .quotes { columns: 1; }
  .quote:nth-child(even) { margin-top: 0; }
  .form { padding: 1.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .seal svg, .panel { animation: none; }
  .btn, .link-arrow span, .nav a::after { transition: none; }
}
