@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@500&family=Inter:wght@400;600&family=Spectral:wght@600;700&display=swap');

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:Inter,system-ui,sans-serif;font-size:17px;line-height:1.65;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:currentColor;text-decoration:underline;text-underline-offset:3px}
a:hover{opacity:.85}

.surface-mist{background:#EEF2F6;color:#0E1B2A}
.surface-navy{background:#0E1B2A;color:#EEF2F6}
.surface-steel{background:#1D2E42;color:#EEF2F6}
.surface-guardian{background:#2F6BFF;color:#EEF2F6}

.container{width:min(1140px,92vw);margin:0 auto}
.container-narrow{width:min(760px,92vw);margin:0 auto}

h1,h2,h3{font-family:Spectral,Georgia,serif;font-weight:700;line-height:1.15;letter-spacing:-.02em}
h1{font-size:clamp(2.25rem,5vw,3.35rem)}
h2{font-size:clamp(1.75rem,3.5vw,2.35rem);margin-bottom:1rem}
h3{font-size:clamp(1.15rem,2vw,1.35rem);font-weight:600;margin-bottom:.65rem}
p{margin-bottom:1rem}
p:last-child{margin-bottom:0}

.eyebrow{font-family:'IBM Plex Mono',monospace;font-size:.72rem;font-weight:500;letter-spacing:.16em;text-transform:uppercase;color:#2F6BFF;margin-bottom:1rem}
.eyebrow-muted{color:#7C879A}
.surface-mist .eyebrow-muted{color:#7C879A}

.btn{display:inline-flex;align-items:center;justify-content:center;padding:.85rem 1.6rem;font-family:Inter,sans-serif;font-weight:600;font-size:.95rem;text-decoration:none;border-radius:3px;border:none;cursor:pointer;transition:filter .2s,box-shadow .2s}
.btn-primary{background:#2F6BFF;color:#EEF2F6;text-decoration:none}
.btn-primary:hover{filter:brightness(1.08);box-shadow:0 8px 28px rgba(47,107,255,.35);opacity:1}
.btn-secondary{background:transparent;color:inherit;border:1px solid currentColor;text-decoration:none}
.btn-secondary:hover{filter:brightness(1.12);opacity:1}
.btn-group{display:flex;flex-wrap:wrap;gap:1rem;margin-top:1.75rem}

.site-header{position:fixed;top:0;left:0;right:0;z-index:100;padding:1rem 0;transition:background .3s,box-shadow .3s,color .3s}
.site-header.is-scrolled{background:#0E1B2A;color:#EEF2F6;box-shadow:0 1px 0 rgba(238,242,246,.08)}
.site-header.is-scrolled .nav-link{color:#EEF2F6}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:1.5rem}
.logo{font-family:Spectral,Georgia,serif;font-weight:700;font-size:1.15rem;text-decoration:none;letter-spacing:-.02em;display:flex;align-items:center;gap:.5rem;color:inherit}
.logo-mark{width:28px;height:28px}
.nav-toggle{display:none;background:none;border:1px solid currentColor;padding:.4rem .65rem;font-family:'IBM Plex Mono',monospace;font-size:.7rem;cursor:pointer;color:inherit;border-radius:3px}
.nav-list{display:flex;gap:1.75rem;list-style:none}
.nav-link{font-size:.9rem;text-decoration:none;font-weight:600;color:inherit}
.nav-link.is-active{text-decoration:underline}

.hero-perimeter-masthead{padding:7.5rem 0 5rem;position:relative}
.hero-perimeter-masthead .hero-inner{max-width:720px}
.hero-perimeter-masthead h1{margin-bottom:1.25rem}
.hero-highlight{color:#2F6BFF}
.hero-sub{font-size:1.05rem;color:#7C879A;max-width:580px;margin-bottom:0}
.hero-plate{margin-top:3rem;border:1px solid rgba(14,27,42,.12);border-radius:4px;overflow:hidden;box-shadow:0 24px 64px rgba(14,27,42,.12);background:#fff}
.hero-plate img{width:100%;min-height:280px;object-fit:cover}
.hero-trust-bar{padding:1rem 0;border-top:1px solid rgba(124,135,154,.35);font-family:'IBM Plex Mono',monospace;font-size:.72rem;color:#7C879A;letter-spacing:.06em;margin-top:3rem}

section{padding:5.5rem 0}
@media(min-width:900px){section{padding:7rem 0}}
.section-header{margin-bottom:3rem;max-width:680px}
.section-header p{color:#7C879A;font-size:1.05rem}
.surface-navy .section-header p,.surface-steel .section-header p{color:rgba(238,242,246,.72)}

.grid-2{display:grid;gap:2.5rem}
@media(min-width:768px){.grid-2{grid-template-columns:1fr 1fr}}
.grid-3{display:grid;gap:1.75rem}
@media(min-width:768px){.grid-3{grid-template-columns:repeat(3,1fr)}}

.card{padding:2rem;border:1px solid rgba(238,242,246,.1);border-radius:3px;position:relative;overflow:hidden}
.surface-mist .card{border-color:rgba(14,27,42,.08);box-shadow:0 12px 40px rgba(14,27,42,.06);background:#fff}
.surface-steel .card,.surface-navy .card{background:rgba(238,242,246,.04);box-shadow:0 16px 48px rgba(0,0,0,.25)}
.card-num{position:absolute;top:.5rem;right:1rem;font-family:'IBM Plex Mono',monospace;font-size:4rem;font-weight:500;opacity:.05;line-height:1;pointer-events:none}
.card-tag{font-family:'IBM Plex Mono',monospace;font-size:.68rem;letter-spacing:.14em;text-transform:uppercase;color:#2F6BFF;margin-bottom:.75rem}

.metrics{display:grid;gap:1.5rem}
@media(min-width:768px){.metrics{grid-template-columns:repeat(3,1fr)}}
.metric{text-align:center;padding:2rem 1rem}
.metric-num{font-family:'IBM Plex Mono',monospace;font-size:2.5rem;font-weight:500;color:#2F6BFF;line-height:1;margin-bottom:.5rem}
.metric-label{font-size:.9rem;opacity:.75}

.stage{display:flex;gap:1.25rem;align-items:flex-start;margin-bottom:1.75rem}
.stage-num{font-family:'IBM Plex Mono',monospace;font-size:.75rem;color:#2F6BFF;min-width:2rem;padding-top:.2rem}

.photo-block{border-radius:3px;overflow:hidden;position:relative}
.photo-block img{width:100%;height:100%;object-fit:cover;min-height:240px}
.photo-caption{font-size:.85rem;margin-top:.75rem;opacity:.7}

.services-grid{display:grid;gap:1.5rem}
@media(min-width:768px){.services-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1024px){.services-grid{grid-template-columns:repeat(3,1fr)}}
.service-card{padding:2rem 1.75rem;border:1px solid rgba(238,242,246,.1);position:relative;background:rgba(238,242,246,.03);border-radius:3px}
.surface-mist .service-card{border-color:rgba(14,27,42,.08);background:#fff}

.work-item{padding:2.5rem 0;border-bottom:1px solid rgba(238,242,246,.1)}
.work-item:last-child{border-bottom:none}
.surface-mist .work-item{border-color:rgba(14,27,42,.1)}
.work-tag{font-family:'IBM Plex Mono',monospace;font-size:.68rem;letter-spacing:.12em;text-transform:uppercase;color:#2F6BFF;margin-bottom:.5rem}

.faq-item{padding:1.75rem 0;border-bottom:1px solid rgba(238,242,246,.1)}
.faq-item:last-child{border-bottom:none}
.surface-mist .faq-item{border-color:rgba(14,27,42,.1)}
.faq-q{font-family:Spectral,Georgia,serif;font-weight:600;font-size:1.1rem;margin-bottom:.75rem}

.form-group{margin-bottom:1.25rem}
.form-label{display:block;font-size:.9rem;font-weight:600;margin-bottom:.4rem}
.form-input,.form-textarea,.form-select{width:100%;padding:.75rem 1rem;font-family:Inter,sans-serif;font-size:1rem;border:1px solid rgba(14,27,42,.15);border-radius:3px;background:#fff;color:#0E1B2A}
.form-textarea{min-height:140px;resize:vertical}
.form-check{display:flex;gap:.65rem;align-items:flex-start;font-size:.9rem}
.form-check input{margin-top:.25rem}
.hp-field{position:absolute;left:-9999px;opacity:0;height:0;width:0;overflow:hidden}
.form-alert{padding:1rem 1.25rem;border-radius:3px;margin-bottom:1.5rem;font-size:.9rem}
.form-alert-success{background:rgba(47,107,255,.12);border:1px solid rgba(47,107,255,.3)}
.form-alert-error{background:rgba(14,27,42,.06);border:1px solid rgba(14,27,42,.15)}

.site-footer{padding:4rem 0 2rem;font-size:.9rem}
.footer-grid{display:grid;gap:2rem;margin-bottom:2.5rem}
@media(min-width:768px){.footer-grid{grid-template-columns:2fr 1fr 1fr}}
.footer-brand{font-family:Spectral,Georgia,serif;font-weight:700;font-size:1.1rem;margin-bottom:.75rem}
.footer-nav{list-style:none}
.footer-nav li{margin-bottom:.45rem}
.footer-nav a{text-decoration:none;font-size:.88rem}
.footer-disclaimer{font-size:.8rem;opacity:.7;line-height:1.55;padding-top:2rem;border-top:1px solid rgba(238,242,246,.1);margin-top:1rem}
.surface-mist .footer-disclaimer{border-color:rgba(14,27,42,.08)}
.footer-copy{font-size:.8rem;opacity:.55;margin-top:1.5rem}

.cta-band{text-align:center;padding:5rem 0}
.cta-band h2{margin-bottom:1rem}
.cta-band p{max-width:520px;margin:0 auto 1.75rem;opacity:.85}

.legal-content h2{margin-top:2.5rem}
.legal-content h3{margin-top:1.75rem;font-weight:600}
.legal-content ul,.legal-content ol{margin:1rem 0 1rem 1.5rem}
.legal-content li{margin-bottom:.5rem}

.error-page{min-height:70vh;display:flex;align-items:center;text-align:center;padding:8rem 0 4rem}
.error-page h1{margin-bottom:1rem}

.page-hero{padding:8rem 0 4rem}
.page-hero h1{margin-bottom:1rem}
.page-hero-lead{font-size:1.15rem;opacity:.85;max-width:620px}

.contact-grid{display:grid;gap:3rem}
@media(min-width:900px){.contact-grid{grid-template-columns:1fr 1.2fr}}

.legal-links{display:grid;gap:1.5rem}
@media(min-width:768px){.legal-links{grid-template-columns:repeat(3,1fr)}}
.legal-link-card{padding:2rem;border:1px solid rgba(14,27,42,.08);border-radius:3px;background:#fff;text-decoration:none;color:inherit;display:block}
.legal-link-card:hover{box-shadow:0 12px 32px rgba(14,27,42,.08);opacity:1}
.legal-link-card h3{margin-bottom:.5rem}

.cookie-banner{position:fixed;bottom:0;left:0;right:0;z-index:200;padding:1.25rem;background:#1D2E42;color:#EEF2F6;border-top:1px solid rgba(238,242,246,.1);box-shadow:0 -8px 32px rgba(0,0,0,.35)}
.cookie-banner[hidden]{display:none}
.cookie-inner{max-width:1140px;margin:0 auto;display:flex;flex-wrap:wrap;gap:1rem;align-items:center;justify-content:space-between}
.cookie-text{flex:1;min-width:240px;font-size:.88rem;line-height:1.5}
.cookie-actions{display:flex;flex-wrap:wrap;gap:.65rem}
.cookie-btn{padding:.55rem 1.1rem;font-size:.82rem;font-family:Inter,sans-serif;border-radius:3px;cursor:pointer;border:1px solid rgba(238,242,246,.25);background:transparent;color:inherit}
.cookie-btn-accept{background:#2F6BFF;color:#EEF2F6;border-color:#2F6BFF}

.js .reveal{opacity:1;transform:none}
@media(prefers-reduced-motion:no-preference){
  .js .reveal:not(.is-visible){opacity:0;transform:translateY(16px);transition:opacity .6s ease,transform .6s ease}
  .js .reveal.is-visible{opacity:1;transform:translateY(0)}
}
@media(prefers-reduced-motion:reduce){
  .js .reveal{opacity:1!important;transform:none!important;transition:none!important}
}

@media(max-width:768px){
  .nav-toggle{display:block}
  .nav-list{display:none;position:absolute;top:100%;left:0;right:0;flex-direction:column;padding:1rem 4vw;background:#EEF2F6;color:#0E1B2A;box-shadow:0 8px 24px rgba(0,0,0,.12)}
  .site-header.is-scrolled .nav-list{background:#0E1B2A;color:#EEF2F6}
  .nav-list.is-open{display:flex}
}
