@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap");

:root {
  --ink: #17343c;
  --ink-soft: #294b52;
  --paper: #f4f8f7;
  --white: #ffffff;
  --muted: #64777b;
  --line: rgba(23, 52, 60, .15);
  --accent: #2f7d7a;
  --accent-light: #69aaa5;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "DM Sans", system-ui, sans-serif; font-size: 16px; line-height: 1.6; }
button, input, select, textarea { font: inherit; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, input, select, textarea { border-radius: 0; }
.container { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.section { padding-block: clamp(88px, 10vw, 150px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: #fff; padding: 12px 18px; transition: top .2s; }
.skip-link:focus { top: 16px; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 20; height: 86px; padding-inline: max(24px, calc((100vw - var(--max)) / 2)); display: flex; align-items: center; justify-content: space-between; color: var(--ink); border-bottom: 1px solid rgba(23,52,60,.16); transition: background .35s, height .35s, box-shadow .35s; }
.site-header.is-scrolled { height: 70px; background: rgba(250,253,252,.92); box-shadow: 0 10px 30px rgba(23,52,60,.09); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 7px; }
.brand-symbol { display: block; width: 31px; height: 42px; }
.brand-word { font: 600 1.4rem "DM Sans", sans-serif; letter-spacing: -.045em; }
.main-nav { display: flex; align-items: center; gap: 27px; font-weight: 600; font-size: .9rem; }
.main-nav a { position: relative; }
.main-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px; background: var(--accent); transition: right .25s; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { right: 0; }
.nav-cta { border: 1px solid rgba(23,52,60,.45); padding: 10px 17px; transition: border-color .25s, background .25s, color .25s; }
.nav-cta:hover { border-color: var(--accent); background: var(--accent); color: #fff; }
.menu-toggle { display: none; border: 0; background: transparent; padding: 10px; }
.menu-toggle > span:not(.sr-only) { display: block; width: 25px; height: 1px; margin: 5px 0; background: var(--ink); }

.hero { min-height: 790px; height: 100svh; position: relative; overflow: hidden; background: #eaf1f0; color: var(--ink); }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center; filter: brightness(1.08) saturate(.8); transform: scale(1.015); animation: hero-in 1.4s ease-out both; }
.hero-shade { background: linear-gradient(90deg, rgba(247,250,249,.98) 0%, rgba(247,250,249,.91) 32%, rgba(247,250,249,.32) 68%, rgba(247,250,249,.08) 100%), linear-gradient(0deg, rgba(247,250,249,.55), transparent 42%); }
.hero-grid { position: relative; z-index: 1; height: 100%; display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 80px; padding-top: 86px; }
.hero-copy { max-width: 760px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 25px; color: var(--muted); text-transform: uppercase; letter-spacing: .15em; font-size: .75rem; font-weight: 600; }
.eyebrow span { width: 30px; height: 2px; background: var(--accent); }
.eyebrow-dark { color: var(--muted); }
.hero h1, h2 { font-family: "Manrope", sans-serif; letter-spacing: -.045em; line-height: .98; }
.hero h1 { margin: 0; font-size: clamp(4rem, 8.1vw, 7.5rem); font-weight: 700; letter-spacing: -.06em; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-lead { max-width: 590px; margin: 30px 0 38px; color: rgba(23,52,60,.82); font-size: clamp(1.05rem, 1.7vw, 1.28rem); font-weight: 500; }
.hero-actions { display: flex; align-items: center; gap: 30px; }
.button { min-height: 54px; padding: 14px 22px; display: inline-flex; align-items: center; justify-content: center; gap: 25px; border: 0; font-weight: 700; cursor: pointer; transition: transform .25s, background .25s, color .25s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: #fff; }
.button-primary:hover { background: #276b68; }
.button:disabled { opacity: .58; cursor: wait; transform: none; }
.text-link { padding: 10px 0; border-bottom: 1px solid rgba(23,52,60,.35); }
.text-link span { margin-left: 12px; color: var(--accent); }
.hero-note { align-self: end; margin-bottom: 115px; max-width: 300px; justify-self: end; border-top: 1px solid rgba(23,52,60,.28); padding-top: 18px; }
.hero-note .note-index { display: block; margin-bottom: 22px; color: var(--accent); font: 600 .78rem "Manrope", sans-serif; }
.hero-note p { margin: 0; color: rgba(23,52,60,.7); font-size: .92rem; }
.hero-rail { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(3, 1fr); height: 52px; border-top: 1px solid rgba(23,52,60,.14); color: rgba(23,52,60,.5); font-size: .67rem; letter-spacing: .2em; align-items: center; }
.hero-rail span { padding-left: 26px; }
.hero-rail span + span { border-left: 1px solid rgba(23,52,60,.14); }

.trust-strip { border-bottom: 1px solid var(--line); background: var(--white); }
.trust-grid { min-height: 105px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; }
.trust-grid p { margin: 0; padding: 10px 40px; font: 600 .82rem "Manrope", sans-serif; letter-spacing: .03em; text-transform: uppercase; }
.trust-grid p:first-child { padding-left: 0; }
.trust-grid p + p { border-left: 1px solid var(--line); }
.trust-grid strong { color: var(--accent); margin-right: 18px; font-size: .72rem; }

.section-heading { display: grid; grid-template-columns: .9fr 1.2fr 1fr; gap: 50px; align-items: end; margin-bottom: 65px; }
.section-heading .eyebrow { align-self: start; margin-top: 8px; }
.section-heading h2, .process-heading h2, .doc-copy h2, .contact-copy h2 { margin: 0; font-size: clamp(2.7rem, 5vw, 5rem); font-weight: 700; letter-spacing: -.055em; }
.section-heading > p:last-child { margin: 0; color: #555e60; max-width: 440px; font-weight: 500; }
.service-list { border-top: 1px solid var(--line); }
.service-card { min-height: 340px; display: grid; grid-template-columns: 70px 170px 1fr; gap: 40px; padding: 48px 30px 48px 0; border-bottom: 1px solid var(--line); transition: padding-left .35s, background .35s, color .35s; }
.service-card:hover { padding-left: 28px; background: #dfeceb; color: var(--ink); }
.service-card:hover p, .service-card:hover li { color: #425b60; }
.service-featured { background: #e8f1f0; }
.service-number { color: var(--accent); font: 600 .76rem "Manrope", sans-serif; }
.service-icon { width: 120px; height: 120px; border: 1px solid currentColor; display: grid; place-items: center; opacity: .85; }
.service-icon svg { width: 52px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.service-copy { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: start; }
.service-copy h3 { margin: 0; font: 700 clamp(1.8rem, 3vw, 3.1rem)/1.05 "Manrope", sans-serif; letter-spacing: -.045em; }
.service-copy p { margin: 8px 0 20px; color: #596163; font-weight: 500; transition: color .35s; }
.service-copy ul { grid-column: 2; margin: -12px 0 0; padding: 0; list-style: none; color: var(--muted); }
.service-copy li { padding: 8px 0; border-bottom: 1px solid currentColor; transition: color .35s; }
.service-copy li::before { content: "—"; margin-right: 12px; color: var(--accent); }
.card-label { grid-column: 1 / -1; margin: 0 0 -8px !important; color: var(--accent) !important; text-transform: uppercase; letter-spacing: .14em; font-size: .7rem; font-weight: 600; }

.process { background: #dfeceb; color: var(--ink); }
.process-heading { display: grid; grid-template-columns: .7fr 1.6fr; gap: 60px; align-items: start; margin-bottom: 80px; }
.process-heading h2 { max-width: 800px; }
.process-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(23,52,60,.17); }
.process-steps li { min-width: 0; padding: 0 18px 26px 0; display: grid; grid-template-rows: auto auto 1fr; }
.process-steps li + li { padding-left: 18px; border-left: 1px solid rgba(23,52,60,.17); }
.process-steps img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 22px; filter: saturate(.82); }
.process-steps > li > span { color: var(--accent); font: 600 .76rem "Manrope", sans-serif; }
.process-steps li > div { align-self: end; margin-top: 54px; }
.process-steps h3 { margin: 0 0 12px; font: 700 1.45rem "Manrope", sans-serif; letter-spacing: -.025em; }
.process-steps p { margin: 0; color: var(--muted); font-size: .93rem; font-weight: 500; }

.doc-panel { min-height: 650px; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; background: #edf4f3; }
.doc-copy { padding: clamp(45px, 6vw, 84px); display: flex; flex-direction: column; justify-content: center; }
.doc-copy h2 { max-width: 650px; }
.doc-copy > p:not(.eyebrow) { max-width: 560px; color: #555e60; font-size: 1.06rem; font-weight: 500; }
.portal-note { margin-top: 45px; max-width: 510px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 145px 1fr; gap: 25px; }
.portal-note span { color: var(--accent); text-transform: uppercase; letter-spacing: .12em; font-size: .69rem; font-weight: 600; }
.portal-note p { margin: 0; font-size: .89rem; color: #555e60; font-weight: 500; }
.report-stack { position: relative; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg, #d4e6e4, #f1f7f6); }
.report-stack::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 69px, rgba(23,52,60,.035) 70px), repeating-linear-gradient(0deg, transparent 0 69px, rgba(23,52,60,.035) 70px); }
.report-page { position: relative; z-index: 2; width: min(70%, 370px); aspect-ratio: .72; padding: 28px; background: #fff; color: var(--ink); box-shadow: 0 35px 70px rgba(23,52,60,.2); transform: rotate(2.5deg); transition: transform .5s; }
.doc-panel:hover .report-page:not(.report-back) { transform: rotate(0) translateY(-5px); }
.report-page.report-back { position: absolute; transform: translate(-25px, 15px) rotate(-5deg); background: #d8d6cf; }
.report-top, .report-meta { display: flex; justify-content: space-between; }
.report-top span { font: 700 .64rem "Manrope", sans-serif; letter-spacing: .13em; }
.report-top small { font-size: .45rem; color: var(--muted); }
.report-title { margin: 42px 0 22px; font: 600 1.4rem "Manrope", sans-serif; }
.report-meta { padding: 10px 0; border-block: 1px solid #d3d2cc; color: var(--muted); font-size: .44rem; text-transform: uppercase; }
.report-photo { height: 155px; margin: 18px 0; background: linear-gradient(135deg, #bbb8ae 0 40%, #7b7770 40% 44%, #d9d5cc 44%); }
.report-lines i { display: block; height: 5px; margin: 7px 0; background: #d7d5ce; }
.report-lines i:nth-child(2) { width: 78%; }
.report-lines i:nth-child(3) { width: 88%; }
.report-status { margin-top: 25px; padding: 10px; border: 1px solid #dad7cf; font-size: .5rem; }
.report-status b { display: inline-block; width: 6px; height: 6px; margin-right: 6px; background: var(--accent); border-radius: 50%; }

.cta-section { background: #d8e8e6; color: var(--ink); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(50px, 9vw, 140px); }
.contact-copy { position: sticky; top: 110px; align-self: start; }
.contact-copy p:last-child { color: var(--muted); max-width: 460px; }
.contact-form { display: grid; gap: 24px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-form label { display: grid; gap: 9px; color: #536a6e; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 14px 0; border: 0; border-bottom: 1px solid rgba(23,52,60,.3); outline: 0; background: transparent; color: var(--ink); text-transform: none; letter-spacing: 0; transition: border-color .2s; }
.contact-form select { color-scheme: light; }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--accent); }
.contact-form ::placeholder { color: rgba(23,52,60,.38); }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.form-footer p { max-width: 330px; margin: 0; color: rgba(23,52,60,.55); font-size: .75rem; }
.form-status { min-height: 24px; margin: 0; font-size: .9rem; }
.form-status.success { color: #98d6ad; }
.form-status.error { color: #ff9a79; }
.honeypot { position: absolute; left: -9999px; }

.site-footer { padding-top: 70px; background: #eef4f3; color: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; padding-bottom: 65px; }
.brand-footer { margin-bottom: 18px; }
.brand-footer .brand-symbol { width: 34px; height: 46px; }
.brand-footer .brand-word { font-size: 1.55rem; }
.footer-email { color: rgba(255,255,255,.66); font-size: .86rem; }
.contact-email { color: var(--accent); font-weight: 600; }
.footer-grid p, .footer-grid span { color: rgba(23,52,60,.58); }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 9px; font-size: .9rem; }
.footer-grid strong { margin-bottom: 10px; color: rgba(23,52,60,.58); font-size: .7rem; letter-spacing: .13em; text-transform: uppercase; }
.footer-grid a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; padding-block: 22px; border-top: 1px solid rgba(23,52,60,.14); color: rgba(23,52,60,.48); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.service-card:nth-child(2), .process-steps li:nth-child(2) { transition-delay: .08s; }
.service-card:nth-child(3), .process-steps li:nth-child(3) { transition-delay: .16s; }
.process-steps li:nth-child(4) { transition-delay: .24s; }
@keyframes hero-in { from { opacity: .45; transform: scale(1.06); } to { opacity: 1; transform: scale(1.015); } }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-note { display: none; }
  .section-heading { grid-template-columns: 1fr 1fr; }
  .section-heading .eyebrow { grid-column: 1 / -1; }
  .service-card { grid-template-columns: 55px 120px 1fr; gap: 24px; }
  .service-icon { width: 100px; height: 100px; }
  .service-copy { grid-template-columns: 1fr; }
  .service-copy ul, .card-label { grid-column: 1; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-steps li:nth-child(3) { border-left: 0; border-top: 1px solid rgba(23,52,60,.17); }
  .process-steps li:nth-child(4) { border-top: 1px solid rgba(23,52,60,.17); }
  .doc-panel { grid-template-columns: 1fr; }
  .report-stack { min-height: 570px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-copy { position: static; }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 34px), var(--max)); }
  .section { padding-block: 78px; }
  .site-header { height: 72px; padding-inline: 17px; }
  .menu-toggle { display: block; }
  .main-nav { position: absolute; inset: 72px 0 auto; padding: 25px 20px 30px; display: none; flex-direction: column; align-items: stretch; gap: 0; background: rgba(250,253,252,.98); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 14px 4px; border-bottom: 1px solid rgba(23,52,60,.12); }
  .nav-cta { margin-top: 14px; text-align: center; }
  .hero { min-height: 720px; }
  .hero-image { object-position: 64% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(247,250,249,.97), rgba(247,250,249,.52)), linear-gradient(0deg, rgba(247,250,249,.68), transparent 48%); }
  .hero-grid { padding-top: 60px; align-items: center; }
  .hero h1 { font-size: clamp(3.35rem, 15vw, 5.4rem); }
  .hero-lead { font-size: 1rem; max-width: 90%; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 12px; }
  .button { width: 100%; }
  .hero-rail { grid-template-columns: 1fr; height: 44px; }
  .hero-rail span { display: none; }
  .hero-rail span:first-child { display: block; }
  .trust-grid { min-height: 0; grid-template-columns: 1fr; padding-block: 12px; }
  .trust-grid p, .trust-grid p:first-child { padding: 14px 0; }
  .trust-grid p + p { border-left: 0; border-top: 1px solid var(--line); }
  .section-heading { grid-template-columns: 1fr; gap: 24px; margin-bottom: 42px; }
  .section-heading .eyebrow { grid-column: auto; }
  .section-heading h2, .process-heading h2, .doc-copy h2, .contact-copy h2 { font-size: clamp(2.55rem, 12vw, 4rem); }
  .service-card { grid-template-columns: 42px 1fr; min-height: auto; gap: 18px; padding: 35px 0; }
  .service-card:hover { padding-left: 15px; }
  .service-icon { display: none; }
  .service-copy { grid-column: 2; }
  .service-copy h3 { font-size: 2rem; }
  .process-heading { grid-template-columns: 1fr; gap: 22px; margin-bottom: 50px; }
  .process-steps { grid-template-columns: 1fr; }
  .process-steps li { padding: 26px 0; }
  .process-steps li + li { padding-left: 0; border-left: 0; border-top: 1px solid rgba(23,52,60,.17); }
  .process-steps li > div { margin-top: 32px; }
  .doc-panel { margin-inline: -17px; }
  .doc-copy { padding: 55px 25px; }
  .portal-note { grid-template-columns: 1fr; gap: 8px; }
  .report-stack { min-height: 500px; }
  .report-page { width: 72%; padding: 22px; }
  .field-row { grid-template-columns: 1fr; }
  .form-footer { align-items: stretch; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 5px; }
}

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