/* Layout concept: coastal calm — sand ground, ocean type, one horizon illustration, shell peach used sparingly. Single light theme by design (matches brand board). */
:root {
  --ocean: #2F5D7C;
  --coast: #7FA9C9;
  --mist: #D6E4EF;
  --sand: #EDE6DD;
  --sand-light: #F7F3EE;
  --terracotta: #E3CDB6;
  --terracotta-text: #2F6A8F;
  --coral-deep: #A9725A;
  --charcoal: #2E2E2E;
  --muted: #5B6670;
  --line: #DCD3C7;
  --white: #FFFFFF;
  --font-display: "Fraunces", "Playfair Display", Georgia, serif;
  --font-body: "Sora", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-script: "Fraunces", Georgia, serif;
  --wrap: 72rem;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--sand-light); color: var(--charcoal); font-family: var(--font-body); font-size: 1rem; line-height: 1.7; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.15; text-wrap: balance; margin: 0; color: var(--ocean); }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0; }
.script { font-family: var(--font-script); font-weight: 400; font-size: 1.25em; line-height: 1; color: var(--ocean); }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 1.25rem; }
.eyebrow { font-size: .72rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--terracotta-text); }
.rule { width: 3rem; height: 1px; background: var(--terracotta); border: 0; margin: 0; }

/* Logo */
.brand { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--ocean); line-height: 1; }
.brand-word { position: relative; z-index: 0; font-family: var(--font-display); font-size: 2rem; font-weight: 600; letter-spacing: -.01em; }
.brand-word svg { z-index: -1; position: absolute; left: 50%; top: -0.55em; width: .9em; height: 1.4em; transform: translateX(-38%); pointer-events: none; }
.brand-sub { font-family: "Cormorant Garamond", Georgia, serif; font-size: .72rem; font-weight: 600; letter-spacing: .38em; margin-top: .35rem; padding-left: .38em; }

/* Header */
.site-header { background: var(--sand-light); border-bottom: 1px solid var(--line); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .9rem 2rem; padding-block: .9rem; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.6rem; font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.nav a { text-decoration: none; color: var(--charcoal); padding-block: .2rem; border-bottom: 1px solid transparent; }
.nav a:hover { border-bottom-color: var(--terracotta); }
.nav a.btn { color: var(--white); border-bottom: 0; }

.btn { display: inline-block; font-family: var(--font-body); font-weight: 600; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; padding: .95rem 1.7rem; border-radius: 4px; border: 1px solid var(--ocean); background: var(--ocean); color: var(--white); text-decoration: none; cursor: pointer; }
.btn:hover { background: #244a63; }
.btn.small { padding: .65rem 1.1rem; font-size: .66rem; }
.btn.ghost { background: transparent; color: var(--ocean); }
.btn.ghost:hover { background: var(--mist); }

/* Hero: drawn coastal horizon */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #E4EEF5 0%, var(--mist) 45%, #F1E4D6 78%, #F3DCCB 100%); border-bottom: 1px solid var(--line); }
.hero .wrap { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; gap: 1.3rem; padding-block: 5rem 12rem; }
.hero .lede-tags { font-size: .72rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--charcoal); max-width: 38rem; }
.hero .lede { max-width: 36rem; color: var(--muted); font-size: 1.05rem; }
.hero .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: .6rem; }
.horizon { position: absolute; inset: auto 0 0 0; height: 11rem; width: 100%; }

/* Sections */
section { padding-block: 5rem; }
.section-head { display: grid; gap: .8rem; margin-bottom: 2.8rem; max-width: 40rem; }
.section-head p { color: var(--muted); }
.intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 3rem; align-items: center; }
.intro .quote { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--ocean); line-height: 1.25; }
.intro .quote .script { display: block; font-size: 1.5em; margin-top: .3rem; color: var(--ocean); }
.intro p.body { color: var(--muted); }
.intro .body + .body { margin-top: 1rem; }

.services-band { background: var(--white); border-block: 1px solid var(--line); }
.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.4rem 2rem; }
.service { display: grid; gap: .7rem; align-content: start; }
.icon-ring { width: 3.6rem; height: 3.6rem; border-radius: 50%; border: 1px solid var(--ocean); display: grid; place-items: center; color: var(--ocean); }
.icon-ring svg { width: 1.6rem; height: 1.6rem; }
.service h3 { font-size: 1.12rem; }
.service p { color: var(--muted); font-size: .92rem; }

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.pillar { background: var(--sand); padding: 2rem; border-radius: 4px; display: grid; gap: .6rem; align-content: start; }
.pillar .eyebrow { color: var(--ocean); }
.pillar p { color: var(--muted); font-size: .95rem; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.8rem; counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: .45rem; align-content: start; border-top: 1px solid var(--ocean); padding-top: 1rem; }
.steps li::before { content: "0" counter(step); font-family: var(--font-display); font-size: 1.6rem; color: var(--terracotta-text); }
.steps p { color: var(--muted); font-size: .93rem; }

/* Contact / opt-in */
.contact-band { background: var(--sand); border-top: 1px solid var(--line); }
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 3rem; align-items: start; }
.contact-info { display: grid; gap: 1.2rem; }
.contact-info > p { color: var(--muted); }
.contact-info dl { margin: 0; display: grid; gap: 1rem; }
.contact-info dt { font-size: .68rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--terracotta-text); }
.contact-info dd { margin: .15rem 0 0; font-weight: 500; }
form.optin { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 2rem; display: grid; gap: 1.1rem; }
.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.field { display: grid; gap: .35rem; min-width: 0; }
.field label { font-weight: 600; font-size: .82rem; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-size: .95rem; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: 4px; background: var(--sand-light); color: var(--charcoal); width: 100%; }
.field [aria-invalid="true"] { border-color: var(--terracotta); }
.field textarea { min-height: 6rem; resize: vertical; }
.consent { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .75rem; align-items: start; padding: 1rem; border: 1px solid var(--line); border-radius: 4px; background: var(--sand-light); font-size: .8rem; line-height: 1.6; color: var(--muted); cursor: pointer; }
.consent input { width: 1.1rem; height: 1.1rem; margin-top: .2rem; accent-color: var(--ocean); }
.consent strong { color: var(--charcoal); }
.legal-note { font-size: .8rem; color: var(--muted); }
.consent a, .legal-note a { color: var(--ocean); font-weight: 600; }
.thanks { border: 1px solid var(--ocean); background: var(--mist); color: var(--ocean); border-radius: 4px; padding: 1rem; font-weight: 600; font-size: .9rem; }

/* Legal pages */
.legal-hero { background: linear-gradient(180deg, #E4EEF5, var(--mist)); border-bottom: 1px solid var(--line); }
.legal-hero .wrap { max-width: 50rem; padding-block: 3.5rem 3rem; display: grid; gap: .6rem; }
.legal { padding-block: 2.5rem 5rem; }
.legal .wrap { max-width: 50rem; }
.legal h2 { font-size: 1.5rem; margin-top: 2.6rem; margin-bottom: .8rem; }
.legal h3 { font-size: 1.12rem; margin-top: 1.5rem; margin-bottom: .5rem; }
.legal p, .legal li { color: #44505A; }
.legal p + p { margin-top: .9rem; }
.legal ul { padding-left: 1.3rem; display: grid; gap: .4rem; }
.legal .callout { margin-top: 1rem; padding: 1.2rem 1.4rem; background: var(--sand); border-left: 3px solid var(--terracotta); border-radius: 0 4px 4px 0; }
.legal .callout p { color: var(--charcoal); }
.updated { color: var(--muted); font-size: .85rem; }

/* Footer */
.site-footer { background: var(--ocean); color: #E9F0F6; padding-block: 3.5rem 2rem; font-size: .88rem; }
.site-footer .brand { color: var(--white); align-items: flex-start; }
.site-footer .brand-word svg { color: var(--mist); }
.brand-word svg path { fill: var(--white); }
.brand-word svg path:first-child { fill: none; }
.site-footer .brand-word svg path { fill: var(--ocean); }
.site-footer .brand-word svg path:first-child { fill: none; }
.site-footer .cols { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2rem; }
.site-footer h3 { font-family: var(--font-body); font-size: .68rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--white); margin-bottom: .9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .tagline { font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; margin-top: 1rem; opacity: .85; }
.site-footer .fine { border-top: 1px solid rgba(255, 255, 255, .2); margin-top: 2.5rem; padding-top: 1.2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; opacity: .85; font-size: .8rem; }

@media (max-width: 900px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intro, .contact, .pillars { grid-template-columns: minmax(0, 1fr); }
  .site-footer .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .services, .steps, .row, .site-footer .cols { grid-template-columns: minmax(0, 1fr); }
  .hero .wrap { padding-block: 3.5rem 9rem; }
  .horizon { height: 8rem; }
  form.optin, .pillar { padding: 1.4rem; }
  .nav { gap: .4rem 1rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---- Insurance site additions ---- */
.hero-split .wrap { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); text-align: left; justify-items: stretch; align-items: center; gap: 3rem; padding-block: 4.5rem 11rem; }
.hero-split .actions { justify-content: flex-start; }
.hero-split .lede { max-width: 34rem; }
.trust { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font-size: .78rem; font-weight: 600; color: var(--ocean); margin-top: .4rem; }
.trust span::before { content: "✓ "; color: var(--terracotta-text); }
.advisor { background: rgba(255,255,255,.82); border: 1px solid var(--line); border-radius: 6px; padding: 1.8rem; display: grid; gap: 1rem; justify-items: center; text-align: center; box-shadow: 0 24px 50px -30px rgba(47,93,124,.45); }
.portrait { width: 8.5rem; height: 8.5rem; border-radius: 50%; border: 1px solid var(--terracotta); padding: .4rem; }
.portrait span { width: 100%; height: 100%; border-radius: 50%; background: var(--ocean); color: var(--sand); display: grid; place-items: center; font-family: var(--font-display); font-size: 2.4rem; }
.advisor h2 { font-size: 1.5rem; }
.advisor .role { font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.advisor dl { margin: 0; display: grid; gap: .4rem; font-size: .85rem; width: 100%; }
.advisor dl div { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); padding-top: .4rem; }
.advisor dt { color: var(--muted); }
.advisor dd { margin: 0; font-weight: 600; text-align: right; }

.page-hero { background: linear-gradient(180deg, #E4EEF5, var(--mist)); border-bottom: 1px solid var(--line); }
.page-hero .wrap { padding-block: 3.8rem 3.2rem; display: grid; gap: .9rem; max-width: 60rem; margin-inline: auto; }
.page-hero p.lede { color: var(--muted); max-width: 42rem; font-size: 1.05rem; }
.breadcrumb { font-size: .75rem; color: var(--muted); }
.breadcrumb a { color: var(--ocean); }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 1.8rem; display: grid; gap: .7rem; align-content: start; }
.card p { color: var(--muted); font-size: .95rem; }
.card ul { margin: 0; padding-left: 1.1rem; color: var(--muted); font-size: .92rem; display: grid; gap: .3rem; }
.card .more { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ocean); text-decoration: none; margin-top: .3rem; }
.card .more:hover { text-decoration: underline; }

.prose-block { max-width: 46rem; display: grid; gap: 1rem; }
.prose-block p, .prose-block li { color: #44505A; }
.prose-block h2 { margin-top: 1rem; }
.prose-block ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .4rem; }

.faq { display: grid; gap: .8rem; max-width: 50rem; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 1.1rem 1.3rem; }
.faq summary { cursor: pointer; font-family: var(--font-display); font-size: 1.12rem; color: var(--ocean); list-style-position: outside; }
.faq details p { margin-top: .7rem; color: #44505A; }

.areas { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 0; }
.areas li { border: 1px solid var(--ocean); color: var(--ocean); border-radius: 999px; padding: .35rem .95rem; font-size: .82rem; font-weight: 500; }

.cta-band { background: var(--ocean); color: var(--white); }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: #D6E4EF; margin-top: .4rem; }
.cta-band .btn { background: var(--sand); color: var(--ocean); border-color: var(--sand); }
.cta-band .btn:hover { background: var(--white); }

@media (max-width: 900px) {
  .hero-split .wrap, .cards, .cards.two { grid-template-columns: minmax(0, 1fr); }
}

/* ---- Motion & interaction layer ---- */
.site-header { transition: box-shadow .3s ease, background .3s ease; }
.site-header.scrolled { box-shadow: 0 10px 30px -18px rgba(47,93,124,.45); background: rgba(247,243,238,.94); backdrop-filter: blur(8px); }
.nav a:not(.btn) { position: relative; border-bottom: 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--terracotta); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.btn { transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(47,93,124,.6); }

/* Hero with animated sea */
.hero-v2 .wrap { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); text-align: left; justify-items: stretch; align-items: center; gap: 3rem; padding-block: 4.5rem 12rem; }
.hero-v2 .actions { justify-content: flex-start; }
.hero-v2 h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); }
.rotator { display: inline-grid; vertical-align: bottom; }
.rotator span { grid-area: 1 / 1; font-family: var(--font-script); font-size: 1.35em; line-height: 1; color: var(--terracotta-text); opacity: 0; transform: translateY(.4em); transition: opacity .6s ease, transform .6s ease; }
.rotator span.on { opacity: 1; transform: none; }
.hero-v2 .sun { animation: glow 6s ease-in-out infinite; transform-origin: 1040px 86px; }
.wave-a { animation: drift 14s ease-in-out infinite alternate; }
.wave-b { animation: drift 10s ease-in-out infinite alternate-reverse; }
.palm { animation: sway 6s ease-in-out infinite; transform-origin: 150px 214px; }
.sparkle { animation: shimmer 4s ease-in-out infinite; }
@keyframes drift { from { transform: translateX(-30px); } to { transform: translateX(30px); } }
@keyframes sway { 0%, 100% { transform: rotate(-1.5deg); } 50% { transform: rotate(2deg); } }
@keyframes glow { 0%, 100% { opacity: .85; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }
@keyframes shimmer { 0%, 100% { opacity: .25; } 50% { opacity: .8; } }
.horizon { overflow: visible; }

/* Coverage chooser */
.chooser { background: rgba(255,255,255,.86); backdrop-filter: blur(6px); border: 1px solid var(--line); border-radius: 10px; padding: 1.6rem; box-shadow: 0 30px 60px -36px rgba(47,93,124,.55); display: grid; gap: 1.1rem; }
.chooser h2 { font-size: 1.45rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { font: inherit; font-size: .8rem; font-weight: 600; padding: .55rem 1rem; border-radius: 999px; border: 1px solid var(--ocean); background: transparent; color: var(--ocean); cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.chip:hover { transform: translateY(-1px); background: var(--mist); }
.chip[aria-pressed="true"] { background: var(--ocean); color: var(--white); }
.chooser-panel { display: grid; gap: .6rem; min-height: 9.5rem; }
.chooser-panel ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .45rem; font-size: .92rem; color: var(--charcoal); }
.chooser-panel li { display: flex; gap: .55rem; align-items: baseline; animation: pop .45s ease both; }
.chooser-panel li:nth-child(2) { animation-delay: .06s; } .chooser-panel li:nth-child(3) { animation-delay: .12s; } .chooser-panel li:nth-child(4) { animation-delay: .18s; }
.chooser-panel li::before { content: ""; flex: none; width: .45rem; height: .45rem; border-radius: 50%; background: var(--terracotta); transform: translateY(-.1rem); }
@keyframes pop { from { opacity: .3; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Cards & services interactions */
.card { transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; position: relative; overflow: hidden; }
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--ocean), var(--coast), var(--terracotta)); transform: scaleX(0); transform-origin: left; transition: transform .45s ease; }
.card:hover { transform: translateY(-6px); box-shadow: 0 26px 46px -30px rgba(47,93,124,.6); border-color: var(--coast); }
.card:hover::before { transform: scaleX(1); }
.card .more { display: inline-flex; gap: .4rem; }
.card .more span { transition: transform .25s ease; }
.card:hover .more span { transform: translateX(5px); }
.card-icon { width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid var(--ocean); display: grid; place-items: center; color: var(--ocean); transition: background .3s, color .3s, transform .4s; }
.card-icon svg { width: 1.4rem; height: 1.4rem; }
.card:hover .card-icon { background: var(--ocean); color: var(--white); transform: rotate(-8deg) scale(1.05); }

.steps li { transition: transform .3s ease; }
.steps li:hover { transform: translateY(-4px); }
.steps li::after { content: ""; display: block; height: 1px; background: var(--terracotta); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.steps li:hover::after { transform: scaleX(1); }

.areas li { transition: background .2s, color .2s, transform .2s; cursor: default; }
.areas li:hover { background: var(--ocean); color: var(--white); transform: translateY(-2px); }

.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-body); font-size: 1.4rem; color: var(--terracotta-text); transition: transform .3s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details { transition: box-shadow .3s, border-color .3s; }
.faq details:hover, .faq details[open] { border-color: var(--coast); box-shadow: 0 16px 30px -24px rgba(47,93,124,.5); }

/* Scroll reveal: content stays readable at rest; JS adds a gentle rise */
.reveal { transition: transform .8s cubic-bezier(.2,.7,.2,1), opacity .8s ease; }
.js .reveal.below { transform: translateY(34px); opacity: .25; }

/* Meet Devyn */
.meet { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 3.5rem; align-items: center; }
.arch { position: relative; max-width: 24rem; width: 100%; justify-self: center; }
.arch::before { content: ""; position: absolute; inset: -14px -14px 14px 14px; border: 1px solid var(--terracotta); border-radius: 999px 999px 10px 10px; transition: transform .5s ease; }
.arch:hover::before { transform: translate(-8px, 8px); }
.arch img { position: relative; display: block; width: 100%; aspect-ratio: 510 / 690; object-fit: cover; object-position: center top; border-radius: 999px 999px 10px 10px; box-shadow: 0 30px 60px -30px rgba(47,93,124,.6); max-width: 100%; }
.arch .badge { position: absolute; right: -10px; bottom: 2rem; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .55rem 1rem; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ocean); box-shadow: 0 14px 30px -18px rgba(47,93,124,.6); animation: float 5s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.meet-copy { display: grid; gap: 1rem; }
.meet-copy .sig { font-family: var(--font-script); font-size: 3.2rem; line-height: 1; color: var(--ocean); }
.meet-copy p { color: var(--muted); }
.creds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin: .4rem 0 .2rem; }
.cred { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: .8rem 1rem; transition: border-color .2s, transform .2s; }
.cred:hover { border-color: var(--coast); transform: translateY(-2px); }
.cred dt { font-size: .66rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--terracotta-text); }
.cred dd { margin: .2rem 0 0; font-weight: 600; color: var(--charcoal); font-size: .95rem; }
.copy-btn { font: inherit; font-size: .7rem; font-weight: 600; margin-left: .4rem; padding: .1rem .5rem; border-radius: 999px; border: 1px solid var(--line); background: var(--sand-light); color: var(--ocean); cursor: pointer; }
.copy-btn:hover { border-color: var(--ocean); }
.meet-copy .actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.cta-band { position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; width: 28rem; height: 28rem; right: -8rem; top: -12rem; border-radius: 50%; background: radial-gradient(circle, rgba(239,220,203,.35), transparent 65%); animation: glow 7s ease-in-out infinite; pointer-events: none; }
.cta-band .wrap { position: relative; z-index: 1; }

.mobile-cta { display: none; }
@media (max-width: 900px) {
  .hero-v2 .wrap, .meet { grid-template-columns: minmax(0, 1fr); }
  .meet .arch { max-width: 18rem; }
}
@media (max-width: 520px) {
  .hero-v2 .wrap { padding-block: 3rem 9rem; }
  .creds { grid-template-columns: minmax(0, 1fr); }
  .arch .badge { right: 0; }
  .mobile-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom, 0px)); background: rgba(247,243,238,.95); border-top: 1px solid var(--line); backdrop-filter: blur(6px); }
  .mobile-cta .btn { display: block; text-align: center; }
  body { padding-bottom: 4.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal.below { transform: none; opacity: 1; }
  .rotator span { transition: none; }
}

/* ---- Typography with personality ---- */
h1, h2 { font-weight: 600; letter-spacing: -.015em; }
h1 { line-height: 1.08; }
h3 { font-weight: 600; }
body { font-size: 1.02rem; }
.accent { font-style: italic; font-weight: 500; color: var(--terracotta-text); }
.section-head h2 .script, .contact-info h2 .script, .est-copy h2 .script { font-size: 1.35em; color: var(--terracotta-text); padding-left: .1em; }
.mark { background-image: linear-gradient(transparent 62%, rgba(239,220,203,.32) 62%); background-repeat: no-repeat; background-size: 100% 100%; transition: background-size 1.1s cubic-bezier(.2,.7,.2,1) .2s; }
.js .reveal.below .mark { background-size: 0% 100%; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; }
.eyebrow::before { content: ""; width: 1.6rem; height: 1px; background: currentColor; }
.hero-v2 .eyebrow::before, .page-hero .eyebrow::before { width: 2.2rem; }

/* Rotating words: slide + blur */
.rotator { display: inline-grid; vertical-align: baseline; }
.rotator span { grid-area: 1 / 1; font-family: var(--font-script); font-weight: 400; font-size: 1.35em; line-height: .9; color: var(--terracotta-text); opacity: 0; transform: translateY(.45em) rotate(2deg); filter: blur(4px); transition: opacity .6s ease, transform .7s cubic-bezier(.2,.7,.2,1), filter .6s ease; white-space: nowrap; }
.rotator span.on { opacity: 1; transform: none; filter: none; }
.rotator span.out { opacity: 0; transform: translateY(-.45em) rotate(-2deg); filter: blur(4px); }
.cta-band .rotator span { color: #EFDCCB; }
.rot-line { font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: var(--ocean); }
.rot-line .rotator span { font-size: 1.5em; }

/* Hero title rises in word by word */
.rise .w { display: inline-block; animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
@keyframes rise { from { opacity: .15; transform: translateY(.35em); } to { opacity: 1; transform: none; } }

/* Ticker */
.ticker { background: var(--ocean); color: var(--sand); overflow: hidden; border-block: 1px solid #244a63; }
.ticker-track { display: flex; width: max-content; gap: 1.6rem; padding-block: .95rem; animation: ticker 38s linear infinite; font-family: var(--font-display); font-style: italic; font-size: 1.15rem; white-space: nowrap; }
.ticker-track i { font-style: normal; color: var(--terracotta); font-size: .8rem; align-self: center; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Tilt */
.tilt { transform-style: preserve-3d; will-change: transform; }

/* Estimator */
.estimator { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
.est-copy { display: grid; gap: 1rem; justify-items: start; }
.est-copy > p { color: var(--muted); }
.est-result { display: grid; gap: .2rem; padding: 1.2rem 1.4rem; border-radius: 10px; background: linear-gradient(135deg, var(--ocean), #3d7299); color: var(--white); width: 100%; box-shadow: 0 24px 40px -26px rgba(47,93,124,.8); }
.est-label { font-size: .68rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; opacity: .85; }
#est-total { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 600; font-variant-numeric: tabular-nums; }
.est-note { font-size: .8rem; opacity: .85; }
.est-form { background: var(--sand-light); border: 1px solid var(--line); border-radius: 10px; padding: 1.8rem; display: grid; gap: 1.3rem; }
.slider { display: grid; gap: .5rem; }
.slider label { display: flex; justify-content: space-between; gap: 1rem; font-weight: 600; font-size: .88rem; }
.slider output { font-variant-numeric: tabular-nums; color: var(--ocean); }
.slider input[type=range] { width: 100%; accent-color: var(--ocean); height: 1.4rem; cursor: pointer; }
@media (max-width: 900px) { .estimator { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } .rise .w { animation: none; } .rotator span { filter: none; } }
.chooser-panel .btn { justify-self: start; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.menu-btn { display: none; }
@media (max-width: 760px) {
  .menu-btn { display: grid; gap: 5px; width: 2.6rem; height: 2.6rem; place-content: center; border: 1px solid var(--line); border-radius: 6px; background: transparent; cursor: pointer; }
  .menu-btn span:not(.sr) { display: block; width: 1.2rem; height: 2px; background: var(--ocean); transition: transform .3s, opacity .3s; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-header .nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 1rem; padding-block: .6rem 1rem; }
  .site-header .nav.open { display: flex; animation: pop .35s ease both; }
}

/* ---- Conversion layer ---- */
.announce { background: var(--charcoal); color: #F3EDE6; font-size: .8rem; }
.announce .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .3rem .9rem; padding-block: .55rem; text-align: center; }
.announce a { color: #F3D2C3; font-weight: 600; text-decoration: none; white-space: nowrap; }
.announce a:hover { text-decoration: underline; }
.announce-dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--terracotta); box-shadow: 0 0 0 0 rgba(239,220,203,.7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 .55rem rgba(239,220,203,0); } 100% { box-shadow: 0 0 0 0 rgba(239,220,203,0); } }
.announce b { font-variant-numeric: tabular-nums; color: #fff; }
.nav .nav-phone { display: inline-flex; align-items: center; gap: .4rem; color: var(--ocean); letter-spacing: .08em; }
.nav-phone svg { width: .95rem; height: .95rem; }
.hp { position: absolute; left: -9999px; }

.qq-band { background: linear-gradient(160deg, var(--ocean) 0%, #3b6e92 100%); color: var(--white); position: relative; overflow: hidden; }
.qq-band::before { content: ""; position: absolute; width: 34rem; height: 34rem; left: -12rem; bottom: -18rem; border-radius: 50%; background: radial-gradient(circle, rgba(127,169,201,.45), transparent 65%); pointer-events: none; }
.qq { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 3rem; align-items: center; }
.qq-copy { display: grid; gap: 1rem; }
.qq-copy h2 { color: var(--white); }
.qq-copy h2 .script { color: #F3D2C3; font-size: 1.35em; }
.qq-copy .eyebrow { color: #F3D2C3; }
.qq-copy > p { color: #DCE8F1; }
.qq-points { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; font-weight: 500; }
.qq-points li::before { content: "✓"; display: inline-grid; place-items: center; width: 1.4rem; height: 1.4rem; margin-right: .6rem; border-radius: 50%; background: rgba(255,255,255,.15); color: #F3D2C3; font-size: .75rem; }
.qq-form { color: var(--charcoal); box-shadow: 0 40px 70px -40px rgba(0,0,0,.6); }
.qq-progress { height: 6px; border-radius: 999px; background: var(--mist); overflow: hidden; }
.qq-progress span { display: block; height: 100%; width: 33.3%; background: linear-gradient(90deg, var(--ocean), var(--terracotta)); border-radius: inherit; transition: width .5s cubic-bezier(.2,.7,.2,1); }
.qq-count { font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.qq-step { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 1rem; animation: pop .45s ease both; }
.qq-step legend { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; color: var(--ocean); margin-bottom: 1rem; padding: 0; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: .7rem; }
.tile { position: relative; cursor: pointer; }
.tile input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.tile span { display: grid; gap: .2rem; height: 100%; padding: 1rem; border: 1.5px solid var(--line); border-radius: 8px; background: var(--sand-light); transition: border-color .2s, background .2s, transform .2s, box-shadow .2s; }
.tile b { color: var(--ocean); font-size: .95rem; }
.tile small { color: var(--muted); font-size: .78rem; }
.tile:hover span { border-color: var(--coast); transform: translateY(-2px); }
.tile input:checked + span { border-color: var(--ocean); background: var(--mist); box-shadow: inset 0 0 0 1px var(--ocean); }
.tile input:focus-visible + span { outline: 3px solid var(--terracotta); outline-offset: 2px; }
.tiles.shake { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.qq-nav { display: flex; justify-content: space-between; gap: .8rem; }
.qq-nav #qq-next, .qq-nav #qq-submit { margin-left: auto; }
.form-error { border: 1px solid var(--terracotta); color: var(--terracotta-text); border-radius: 4px; padding: 1rem; font-size: .9rem; }
.thanks a { color: var(--ocean); }

.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.compare { width: 100%; border-collapse: collapse; min-width: 34rem; font-size: .95rem; }
.compare th, .compare td { padding: 1rem 1.2rem; text-align: left; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.compare tbody th { font-weight: 600; color: var(--charcoal); }
.compare td { color: var(--muted); }
.compare .us { background: rgba(214,228,239,.45); color: var(--ocean); font-weight: 600; }
.compare thead .us { color: var(--ocean); }
.compare td.us::before { content: "✓ "; color: var(--terracotta-text); }
.compare tbody tr { transition: background .2s; }
.compare tbody tr:hover { background: var(--sand-light); }

.bubble { position: fixed; right: max(1.2rem, env(safe-area-inset-right, 0px)); bottom: calc(5rem + env(safe-area-inset-bottom, 0px)); z-index: 30; display: flex; gap: .8rem; align-items: center; max-width: 20rem; padding: .9rem 1rem; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 50px -24px rgba(47,93,124,.6); animation: bubbleIn .6s cubic-bezier(.2,.7,.2,1) both; }
.bubble img { width: 3.5rem; height: 3.5rem; border-radius: 50%; object-fit: cover; object-position: center 12%; border: 2px solid var(--terracotta); flex: none; }
.bubble div { display: grid; gap: .1rem; font-size: .82rem; line-height: 1.4; }
.bubble strong { font-family: var(--font-display); font-size: 1rem; color: var(--ocean); }
.bubble span { color: var(--muted); }
.bubble a { color: var(--terracotta-text); font-weight: 600; text-decoration: none; }
.bubble-x { position: absolute; top: .2rem; right: .45rem; border: 0; background: none; font-size: 1.1rem; color: var(--muted); cursor: pointer; }
@keyframes bubbleIn { from { transform: translateY(20px) scale(.95); opacity: 0; } to { transform: none; opacity: 1; } }

.mobile-cta { gap: .6rem; }
@media (max-width: 520px) {
  .mobile-cta:not([hidden]) { display: flex; }
  .mobile-cta .btn { flex: 1; }
  .mobile-cta .btn.ghost { flex: 0 0 34%; background: var(--white); }
  .bubble { display: none; }
}
@media (max-width: 900px) { .qq { grid-template-columns: minmax(0, 1fr); } .nav .nav-phone { order: -1; } }
.chooser-panel { align-content: start; }


/* ---- 2026-10-15 refresh: sand accents, Fraunces + Sora, 3D interactivity ---- */
h1, h2, h3 { font-variation-settings: "SOFT" 50, "opsz" 144; letter-spacing: -.015em; }
.script, .rotator span, .section-head h2 .script, .contact-info h2 .script, .est-copy h2 .script { font-family: var(--font-script); font-style: italic; font-weight: 600; font-size: 1em; line-height: 1.05; }
.meet-copy .sig { font-style: italic; font-weight: 700; font-size: 2.4rem; }
.accent { font-weight: 600; }

/* photo: show the whole portrait instead of a tight crop */
.arch { max-width: 20rem; }
.arch img { aspect-ratio: 510 / 790; object-position: center 20%; }
@media (max-width: 900px) { .meet .arch { max-width: 15rem; } }

/* pressable 3D buttons */
.btn { box-shadow: 0 5px 0 #1F4157, 0 14px 24px -12px rgba(31,65,87,.55); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 #1F4157, 0 18px 28px -12px rgba(31,65,87,.55); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 #1F4157, 0 6px 10px -6px rgba(31,65,87,.5); }
.btn.ghost { box-shadow: 0 5px 0 #C9D6E0, 0 14px 24px -14px rgba(31,65,87,.4); }
.btn.ghost:hover { box-shadow: 0 7px 0 #C9D6E0, 0 18px 28px -14px rgba(31,65,87,.4); }
.btn.ghost:active { box-shadow: 0 1px 0 #C9D6E0; }
.cta-band .btn { box-shadow: 0 5px 0 #B39B78, 0 14px 24px -12px rgba(0,0,0,.35); }

/* 3D tilt cards with light glare */
.tilt { transform-style: preserve-3d; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0)); transition: transform .25s ease-out, box-shadow .3s ease, border-color .3s ease; will-change: transform; }
.tilt:hover { --lift: -6px; }
.tilt::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255,255,255,.55), transparent 55%); opacity: 0; transition: opacity .3s ease; mix-blend-mode: soft-light; }
.tilt:hover::after { opacity: 1; }
.card.tilt:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px); box-shadow: 0 5px 0 #D6E4EF, 0 30px 50px -28px rgba(47,93,124,.65); }
.card { box-shadow: 0 4px 0 #E6DED3, 0 18px 34px -26px rgba(47,93,124,.45); border-radius: 12px; }
.chooser { box-shadow: 0 6px 0 #D6E4EF, 0 30px 50px -30px rgba(47,93,124,.6); border-radius: 16px; }

/* join-team band */
.join-band { background: radial-gradient(circle at 85% 10%, #4F8BB4 0%, #2F5D7C 45%, #183549 100%); color: #FFFFFF; }
.join-band h2, .join-band .eyebrow { color: #FFFFFF; }
.join-band .eyebrow { color: #E8D9C4; }
.join-band p { color: #D6E4EF !important; }
.join-band .btn { background: #E8D9C4; color: #3B3125; box-shadow: 0 5px 0 #C9B293, 0 16px 26px -12px rgba(0,0,0,.5); }
.join-band .btn:active { box-shadow: 0 1px 0 #C9B293; }
@media (prefers-reduced-motion: reduce) { .tilt, .tilt:hover, .card.tilt:hover { transform: none; } }

.bubble a { display: block; margin-top: .25rem; }

/* shell peach for large accent text; small labels stay blue for readability */
.accent, .rotator span, .section-head h2 .script, .contact-info h2 .script, .est-copy h2 .script, .steps li::before, .faq summary::after, .meet-copy .sig { color: var(--coral-deep); }
.cta-band .btn { box-shadow: 0 5px 0 #EFDCCB, 0 14px 24px -12px rgba(0,0,0,.35); }
.join-band .btn { background: #EFDCCB; color: #2F5D7C; box-shadow: 0 5px 0 #CDB096, 0 16px 26px -12px rgba(0,0,0,.5); }
.join-band .btn:active { box-shadow: 0 1px 0 #CDB096; }
.join-band .eyebrow { color: #EFDCCB; }
.card.tilt:hover { box-shadow: 0 5px 0 #F3E7DA, 0 30px 50px -28px rgba(47,93,124,.65); }

/* fine print: as small as stays readable */
.fine-id { margin-top: .9rem; font-size: .7rem; opacity: .75; letter-spacing: .02em; }
.disclaimer { margin-top: 1.2rem; font-size: .7rem; line-height: 1.5; opacity: .7; max-width: 60rem; }
.site-footer .addr { font-size: .75rem; opacity: .8; }
/* cookie notice */
.cookie-bar { position: fixed; left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60; max-width: 34rem; margin: 0 auto; display: flex; align-items: center; gap: 1rem; background: #FFFFFF; color: #2E2E2E; border: 1px solid #DCD3C7; border-radius: 14px; padding: .85rem 1rem .85rem 1.2rem; box-shadow: 0 5px 0 #D6E4EF, 0 24px 40px -18px rgba(47,93,124,.55); font-size: .82rem; line-height: 1.45; }
.cookie-bar p { margin: 0; flex: 1; }
.cookie-bar a { color: #2F5D7C; font-weight: 600; }
.cookie-bar button { flex: none; min-height: 44px; border: 0; border-radius: 999px; padding: .5rem 1.2rem; background: #2F5D7C; color: #FFFFFF; font: 600 .8rem var(--font-body, sans-serif); cursor: pointer; box-shadow: 0 4px 0 #1F4157; }
.cookie-bar button:active { transform: translateY(3px); box-shadow: 0 1px 0 #1F4157; }
@media (max-width: 760px) { .cookie-bar { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } }

/* pop-up: icon instead of photo */
.bubble-ico { flex: none; width: 3.5rem; height: 3.5rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #D6E4EF; color: #2F5D7C; box-shadow: 0 3px 0 #B0CAE0; }
/* founder photo: zoomed out inside a sand arch */
.arch { background: linear-gradient(180deg, #F3E7DA 0%, #E3CDB6 100%); border-radius: 999px 999px 12px 12px; padding: 2.2rem 2.2rem 0; overflow: hidden; }
.arch img { width: 100%; height: auto; aspect-ratio: 510 / 790; object-fit: contain; object-position: center bottom; border-radius: 999px 999px 0 0; box-shadow: none; }
.arch::before { inset: -14px -14px 14px 14px; }

/* founder photo: extra breathing room */
.arch { padding: 3rem 3rem 0; max-width: 21rem; }

/* new zoomed-out headshot fills the arch */
.arch { padding: 0; background: none; max-width: 22rem; overflow: visible; }
.arch img { width: 100%; height: auto; aspect-ratio: 760 / 921; object-fit: cover; object-position: center top; border-radius: 999px 999px 12px 12px; box-shadow: 0 30px 60px -30px rgba(47,93,124,.6); }

.est-disclaimer { margin-top: 1rem; font-size: .74rem; line-height: 1.55; color: var(--muted); max-width: 34rem; }

/* Animated logo: the leaf draws in and fills on page load, then sways gently on hover */
header .brand-word svg { transform-origin: 50% 97%; }
header .brand-word svg path { stroke-dasharray: 60; stroke-dashoffset: 60; fill-opacity: 0; animation: leaf-draw 1.3s ease-out .25s forwards, leaf-fill .6s ease-out 1.2s forwards; }
header .brand:hover .brand-word svg, header .brand:focus-visible .brand-word svg { animation: leaf-sway 2.4s ease-in-out infinite; }
@keyframes leaf-draw { to { stroke-dashoffset: 0; } }
@keyframes leaf-fill { to { fill-opacity: 1; } }
@keyframes leaf-sway { 0%, 100% { rotate: 0deg; } 30% { rotate: 6deg; } 70% { rotate: -4deg; } }
@media (prefers-reduced-motion: reduce) {
  header .brand-word svg path { animation: none; stroke-dashoffset: 0; fill-opacity: 1; }
  header .brand:hover .brand-word svg, header .brand:focus-visible .brand-word svg { animation: none; }
}

/* Clear outline around "DAB" so the leaf behind it reads cleanly */
.brand-word { paint-order: stroke fill; -webkit-text-stroke: .09em var(--sand-light); }
.site-footer .brand-word { -webkit-text-stroke-color: var(--ocean); }
