:root {
  --navy-950: #031b38;
  --navy-900: #072f5f;
  --navy-800: #0b3d73;
  --blue-600: #2f73bd;
  --blue-500: #4b8fd3;
  --blue-100: #eaf4fc;
  --blue-050: #f4f9fd;
  --ink: #10263c;
  --muted: #52677b;
  --line: #d7e4ef;
  --white: #fff;
  --success: #18734a;
  --error: #b52d3a;
  --container: 1180px;
  --radius: 24px;
  --shadow: 0 22px 60px rgba(3, 27, 56, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(calc(100% - 3rem), var(--container)); margin-inline: auto; }
.section { padding: clamp(5rem, 9vw, 8rem) 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: .75rem; left: .75rem; padding: .75rem 1rem; color: var(--white); background: var(--navy-950); border-radius: .5rem; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--navy-950); line-height: 1.02; letter-spacing: -.035em; }
h1 { max-width: 820px; margin-bottom: 1.5rem; font-size: clamp(3.5rem, 7.5vw, 6.9rem); text-wrap: balance; }
h2 { margin-bottom: 1.25rem; font-size: clamp(2.4rem, 5vw, 4.4rem); text-wrap: balance; }
h3 { font-size: 1.35rem; }
.eyebrow { margin-bottom: 1.15rem; color: var(--blue-600); font-size: .76rem; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow-light { color: #9dd0ff; }

.button { display: inline-flex; min-height: 3.5rem; align-items: center; justify-content: center; padding: .9rem 1.35rem; border: 2px solid var(--blue-600); border-radius: 999px; color: var(--white); background: var(--blue-600); font-weight: 800; line-height: 1.2; text-align: center; text-decoration: none; transition: transform .2s ease, background-color .2s ease, border-color .2s ease; }
.button:hover { background: var(--navy-800); border-color: var(--navy-800); transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid #f6bd4b; outline-offset: 3px; }
.button-small { min-height: 2.85rem; padding: .7rem 1.1rem; font-size: .9rem; }
.button-light { color: var(--navy-950); background: var(--white); border-color: var(--white); }
.button-light:hover { color: var(--white); background: transparent; border-color: var(--white); }

.site-header { position: sticky; z-index: 100; top: 0; height: 4.5rem; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(7,47,95,.1); backdrop-filter: blur(16px); }
.nav-shell { position: relative; display: flex; height: 100%; min-height: 0; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--navy-950); text-decoration: none; }
.brand img { width: 2.7rem; aspect-ratio: 1; object-fit: contain; }
.brand span { display: grid; line-height: 1; text-transform: uppercase; }
.brand strong { font-size: .98rem; letter-spacing: .065em; }
.brand small { margin-top: .33rem; color: var(--blue-600); font-size: .57rem; font-weight: 800; letter-spacing: .19em; }
.primary-nav { display: flex; align-items: center; gap: 1.6rem; }
.primary-nav > a:not(.button) { color: var(--navy-800); font-size: .9rem; font-weight: 720; text-decoration: none; }
.primary-nav > a:not(.button):hover { color: var(--blue-600); }
.menu-button { display: none; width: 3rem; height: 3rem; place-content: center; gap: .3rem; border: 0; border-radius: 50%; background: var(--blue-100); cursor: pointer; }
.menu-button i { display: block; width: 1.15rem; height: 2px; background: var(--navy-900); }

.hero { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--blue-050), #fff 62%); }
.hero::before { content: ""; position: absolute; width: 44rem; height: 44rem; top: -26rem; left: -18rem; border: 7rem solid rgba(75,143,211,.08); border-radius: 50%; }
.hero-grid { position: relative; display: grid; min-height: 760px; grid-template-columns: 1.08fr .82fr; align-items: center; gap: clamp(3rem, 7vw, 7rem); padding-top: 5.5rem; padding-bottom: 5.5rem; }
.hero-lede { max-width: 660px; margin-bottom: 2rem; color: var(--muted); font-size: clamp(1.15rem, 2vw, 1.38rem); }
.hero-actions { display: flex; align-items: center; gap: 1.4rem; }
.text-link { color: var(--navy-900); font-weight: 800; text-underline-offset: .25rem; }
.text-link span { color: var(--blue-600); }
.hero-proof { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; padding: 0; margin: 2rem 0 0; color: var(--muted); font-size: .88rem; font-weight: 700; list-style: none; }
.hero-proof span { color: var(--blue-600); }
.hero-photo { position: relative; margin: 0; }
.hero-photo::before { content: ""; position: absolute; z-index: -1; inset: -1.2rem 1.5rem 1.2rem -1.2rem; border-radius: 16rem 16rem 1.5rem 1.5rem; background: var(--blue-100); }
.hero-photo img { width: 100%; max-height: 620px; aspect-ratio: .78; object-fit: cover; object-position: 52% center; border-radius: 15rem 15rem 1.5rem 1.5rem; box-shadow: var(--shadow); }
.hero-photo figcaption { position: absolute; right: -1.5rem; bottom: 1.4rem; display: grid; min-width: 13rem; padding: 1.1rem 1.3rem; color: var(--white); background: var(--navy-900); border-radius: 1rem; box-shadow: var(--shadow); }
.hero-photo figcaption strong { font-size: 1.05rem; }
.hero-photo figcaption span { color: #c7e4ff; font-size: .76rem; }

.brand-divider { height: .4rem; background: var(--blue-600); }

.section-heading { display: grid; grid-template-columns: 1.45fr .55fr; align-items: end; gap: 4rem; margin-bottom: 3rem; }
.section-heading h2 { max-width: 780px; margin-bottom: 0; }
.section-heading > p { max-width: 430px; margin-bottom: .45rem; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 1rem; }
.service-card { position: relative; min-height: 310px; padding: 2rem; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--blue-050); }
.service-card-featured { color: var(--white); background: var(--navy-900); border-color: var(--navy-900); }
.service-card-featured::after { content: ""; position: absolute; width: 15rem; height: 15rem; right: -8rem; bottom: -8rem; border: 2.5rem solid rgba(255,255,255,.08); border-radius: 50%; }
.service-number { display: block; margin-bottom: 5rem; color: var(--blue-600); font-size: .74rem; font-weight: 900; }
.service-card-featured .service-number { color: #91c9ff; }
.service-card h3 { max-width: 260px; font-size: 1.8rem; }
.service-card-featured h3 { color: var(--white); }
.service-card p { position: relative; z-index: 1; max-width: 320px; margin: 0; color: var(--muted); }
.service-card-featured p { color: #c8ddef; }
.scope-note { max-width: 730px; margin: 1.5rem auto 0; color: var(--muted); font-size: .82rem; text-align: center; }

.pricing-band { padding: clamp(4.5rem, 8vw, 6.5rem) 0; color: var(--white); background: linear-gradient(110deg, var(--navy-950), var(--navy-800)); }
.pricing-grid { display: grid; grid-template-columns: .7fr 1.25fr 1.6fr auto; align-items: center; gap: 2.5rem; }
.pricing-grid .eyebrow { margin: 0; }
.pricing-grid h2 { margin: 0; color: var(--white); font-size: clamp(2.4rem, 4vw, 3.6rem); }
.pricing-grid > p:not(.eyebrow) { margin: 0; color: #c5daed; }

.process { background: var(--blue-050); }
.process-layout { display: grid; grid-template-columns: .68fr 1.32fr; gap: clamp(3rem, 8vw, 7rem); }
.process-intro { align-self: start; position: sticky; top: 8rem; }
.process-intro p:last-child { max-width: 430px; color: var(--muted); }
.steps { padding: 0; margin: 0; list-style: none; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 4rem 1fr; gap: 1.4rem; padding: 2rem 0; border-top: 1px solid var(--line); }
.steps li:first-child { padding-top: 0; border-top: 0; }
.steps > li > span { display: grid; width: 3.5rem; height: 3.5rem; place-items: center; border: 1px solid #bcd7ed; border-radius: 50%; color: var(--blue-600); background: var(--white); font-weight: 900; }
.steps h3 { margin-bottom: .55rem; font-size: 1.55rem; }
.steps p { max-width: 620px; margin: 0; color: var(--muted); }

.about-grid { display: grid; grid-template-columns: .78fr 1.12fr; align-items: center; gap: clamp(3rem, 9vw, 8rem); }
.portrait-card { position: relative; margin: 0; }
.portrait-card::before { content: ""; position: absolute; inset: 1.25rem -1.25rem -1.25rem 1.25rem; z-index: -1; border-radius: var(--radius); background: var(--blue-100); }
.portrait-card img { width: 100%; max-height: 650px; aspect-ratio: .74; object-fit: cover; object-position: center 20%; border-radius: var(--radius); box-shadow: var(--shadow); }
.portrait-card figcaption { position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1.2rem; display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; color: var(--white); background: rgba(3,27,56,.9); border-radius: .85rem; backdrop-filter: blur(8px); }
.portrait-card figcaption span { color: #cae4f8; font-size: .8rem; }
.about-copy { max-width: 650px; }
.about-lede { color: var(--navy-800); font-size: 1.3rem; font-weight: 750; }
.about-copy > p:not(.eyebrow):not(.about-lede) { color: var(--muted); font-size: 1.06rem; }
.signature { display: grid; margin-top: 2rem; }
.signature span { color: var(--blue-600); font-family: Georgia, serif; font-size: 2rem; font-style: italic; }
.signature small { color: var(--muted); font-weight: 700; }

.expect-section { padding: clamp(5rem, 9vw, 7rem) 0; color: var(--white); background: var(--navy-900); }
.expect-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 6rem; }
.expect-grid h2 { margin: 0; color: var(--white); }
.expect-grid ul { padding: 0; margin: 0; list-style: none; }
.expect-grid li { display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; padding: 1.25rem 0; border-top: 1px solid rgba(255,255,255,.15); }
.expect-grid li:first-child { border-top: 0; }
.expect-grid li > span { display: grid; width: 2rem; height: 2rem; place-items: center; color: var(--navy-900); background: #a8d8ff; border-radius: 50%; font-weight: 900; }
.expect-grid strong { font-size: 1.05rem; }
.expect-grid li p { margin: .25rem 0 0; color: #c6daeb; }

.faq-grid { display: grid; grid-template-columns: .62fr 1.18fr; gap: clamp(3rem, 9vw, 8rem); }
.faq-intro { align-self: start; position: sticky; top: 8rem; }
.faq-intro > p:last-child { color: var(--muted); }
.faq-intro a { color: var(--blue-600); font-weight: 800; }
.accordion details { border-top: 1px solid var(--line); }
.accordion details:last-child { border-bottom: 1px solid var(--line); }
.accordion summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.5rem 0; color: var(--navy-950); font-size: 1.08rem; font-weight: 800; cursor: pointer; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary span { color: var(--blue-600); font-size: 1.5rem; transition: transform .2s ease; }
.accordion details[open] summary span { transform: rotate(45deg); }
.accordion details p { max-width: 700px; padding: 0 3rem 1.5rem 0; margin: 0; color: var(--muted); }

.quote-section { padding: clamp(5rem, 9vw, 8rem) 0; color: var(--white); background: linear-gradient(125deg, var(--navy-950), var(--navy-800)); }
.quote-grid { display: grid; grid-template-columns: .77fr 1.03fr; align-items: start; gap: clamp(3rem, 8vw, 7rem); }
.quote-copy { position: sticky; top: 8rem; }
.quote-copy h2 { color: var(--white); }
.quote-copy > p:not(.eyebrow) { max-width: 530px; color: #c7daeb; font-size: 1.08rem; }
.direct-contact { display: grid; margin-top: 2.5rem; }
.direct-contact span { margin-bottom: .5rem; color: #96c8f5; font-size: .75rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.direct-contact a { width: fit-content; color: var(--white); font-size: 1.05rem; font-weight: 800; text-underline-offset: .25rem; }
.direct-contact a:first-of-type { font-size: 1.8rem; text-decoration: none; }
.form-card { min-height: 560px; padding: clamp(1.35rem, 4vw, 2.5rem); color: var(--ink); background: var(--white); border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0,0,0,.18); }
.form-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1.2rem; margin-bottom: 1.3rem; border-bottom: 1px solid var(--line); }
.form-heading p { margin: 0; color: var(--navy-900); font-size: 1.25rem; font-weight: 850; }
.form-heading span { color: var(--muted); font-size: .78rem; }
.field-group { margin-bottom: 1rem; }
.field-group label { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: .4rem; color: var(--navy-900); font-size: .82rem; font-weight: 800; }
.field-group label > span:not(.optional) { color: var(--error); }
.optional { color: var(--muted); font-size: .7rem; font-weight: 650; }
input, select { width: 100%; min-height: 3.3rem; padding: .75rem .9rem; border: 1px solid #b9cddd; border-radius: .75rem; color: var(--ink); background: var(--white); }
input::placeholder { color: #8293a3; }
input:hover, select:hover { border-color: var(--blue-600); }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--error); background: #fff8f8; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field-error { min-height: 1rem; margin: .25rem 0 0; color: var(--error); font-size: .73rem; }
.honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(1px,1px,1px,1px) !important; white-space: nowrap !important; }
.turnstile-container:not(:empty) { min-height: 65px; margin: .25rem 0 1rem; }
.turnstile-container { max-width: 100%; overflow: hidden; }
.form-message { padding: .8rem 1rem; margin: .5rem 0 1rem; border-radius: .7rem; font-size: .85rem; }
.form-message-error { color: #84212c; background: #fff0f1; border: 1px solid #efb7bd; }
.form-submit { width: 100%; justify-content: space-between; padding-inline: 1.3rem; border-radius: .8rem; }
.form-submit[disabled] { opacity: .65; cursor: wait; transform: none; }
.privacy-note { margin: .8rem 0 0; color: var(--muted); font-size: .72rem; text-align: center; }
.success-state { display: grid; min-height: 500px; align-content: center; justify-items: center; padding: 2rem; text-align: center; }
.success-state[hidden] { display: none; }
.success-icon { display: grid; width: 4rem; height: 4rem; place-items: center; margin-bottom: 1.5rem; color: var(--white); background: var(--success); border-radius: 50%; font-size: 1.8rem; font-weight: 900; }
.success-state h3 { margin-bottom: .8rem; font-size: 2.2rem; }
.success-state > p:not(.eyebrow) { max-width: 460px; color: var(--muted); }
.text-button { padding: .4rem 0; border: 0; border-bottom: 2px solid var(--blue-600); color: var(--blue-600); background: transparent; font-weight: 800; cursor: pointer; }

.site-footer { padding-top: 4rem; color: #bfd2e3; background: var(--navy-950); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .6fr 1fr; gap: 4rem; padding-bottom: 3rem; }
.brand-footer { color: var(--white); }
.footer-brand p { max-width: 360px; margin: 1.2rem 0 0; color: #a8bfd3; }
.footer-grid h2 { margin-bottom: 1rem; color: #80bdf3; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; }
.footer-grid > div:not(.footer-brand) a, .footer-grid > div:not(.footer-brand) span { display: block; width: fit-content; margin: .45rem 0; color: #c3d6e6; font-size: .88rem; text-decoration: none; }
.footer-grid a { overflow-wrap: anywhere; }
.footer-grid a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding: 1.25rem 0; border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom p { margin: 0; color: #88a4bb; font-size: .75rem; }

[hidden] { display: none !important; }

@media (max-width: 1000px) {
  .primary-nav { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: none; padding: 1rem 1.5rem 1.5rem; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 18px 35px rgba(3,27,56,.12); }
  .primary-nav.open { display: grid; }
  .primary-nav > a:not(.button) { padding: .7rem 0; }
  .menu-button { display: grid; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr 1fr; gap: 3rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .pricing-grid { grid-template-columns: 1fr 1.2fr; }
  .pricing-grid .button { justify-self: start; }
}

@media (max-width: 780px) {
  .container { width: min(calc(100% - 2rem), var(--container)); }
  .site-header { height: 4.15rem; }
  .nav-shell { min-height: 0; }
  .brand img { width: 2.45rem; }
  .brand strong { font-size: .9rem; }
  .brand small { font-size: .54rem; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 4rem; padding-bottom: 4rem; }
  .hero-photo { width: min(88%, 470px); margin-inline: auto; }
  .hero-photo img { max-height: 530px; }
  .section-heading { grid-template-columns: 1fr; gap: 1rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 250px; }
  .service-number { margin-bottom: 3rem; }
  .pricing-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .process-layout, .about-grid, .expect-grid, .faq-grid, .quote-grid { grid-template-columns: 1fr; }
  .process-intro, .faq-intro, .quote-copy { position: static; }
  .about-grid { gap: 4rem; }
  .portrait-card { width: min(88%, 470px); }
  .expect-grid { gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .section { padding: 4.5rem 0; }
  h1 { font-size: clamp(3.1rem, 15vw, 4.35rem); }
  h2 { font-size: clamp(2.25rem, 11vw, 3.25rem); }
  .hero-actions .button { width: 100%; }
  .hero-photo { width: 93%; }
  .hero-photo figcaption { right: -.4rem; bottom: .8rem; min-width: 11.5rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: 1.1rem; border-radius: 1.2rem; }
  .form-heading { display: grid; }
  .portrait-card { width: 94%; }
  .portrait-card figcaption { display: grid; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
