:root{
  --ink:#17272b;
  --deep:#203438;
  --paper:#f0efe9;
  --line:rgba(23,39,43,.18);
  --muted:#758183;
  --amber:#b58d60;
  --cyan:#779da1;
  --surface-alt:#e1dfd6;
  --font-main:"Onest",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --font-tech:var(--font-main);
  color-scheme:light;
}
html[data-theme="dark"]{
  --ink:#ecebe4;
  --deep:#101a1d;
  --paper:#19282c;
  --line:rgba(236,235,228,.18);
  --muted:#a3afad;
  --amber:#c49b6b;
  --cyan:#86aeb0;
  --surface-alt:#223236;
  color-scheme:dark;
}
html body,html body *{font-family:var(--font-main)!important;font-style:normal!important}

html[data-theme="light"] body,html[data-theme="light"] body.inner-page{background:var(--paper)!important;color:var(--ink)}
html[data-theme="light"] .intro,
html[data-theme="light"] .projects,
html[data-theme="light"] .field-gallery,
html[data-theme="light"] .project-roadmap,
html[data-theme="light"] .team,
html[data-theme="light"] .policy-content{background:var(--paper)!important;color:var(--ink)}
html[data-theme="light"] .numbers,
html[data-theme="light"] .experience{background:var(--surface-alt)!important;color:var(--ink)}
html[data-theme="light"] .process,
html[data-theme="light"] .contact,
html[data-theme="light"] .contact-page,
html[data-theme="light"] .credentials,
html[data-theme="light"] .company-details,
html[data-theme="light"] .site-footer{background:#e4e2da!important;color:var(--ink)}
html[data-theme="light"] .topbar{color:#f0efe9;border-color:rgba(240,239,233,.22)}
html[data-theme="light"] .inner-topbar{background:rgba(23,39,43,.86);backdrop-filter:blur(12px)}
html[data-theme="light"] .process h2,
html[data-theme="light"] .contact h2,
html[data-theme="light"] .step h3,
html[data-theme="light"] .contact-details>a,
html[data-theme="light"] .contact-details>div{color:var(--ink)}
html[data-theme="light"] .step p,
html[data-theme="light"] .intro-heading p,
html[data-theme="light"] .story p,
html[data-theme="light"] .team-head p,
html[data-theme="light"] .experience-layout p,
html[data-theme="light"] .company-details dd{color:#5f6b6d}
html[data-theme="light"] .steps,
html[data-theme="light"] .step{border-color:rgba(23,39,43,.2)}
html[data-theme="light"] .section-label{color:#647174}
html[data-theme="light"] .contact-details>a,
html[data-theme="light"] .contact-details>div{border-color:rgba(23,39,43,.2)}
html[data-theme="light"] .contact-details small{color:#657376}
html[data-theme="light"] .contact-footer{border-color:rgba(23,39,43,.22);color:#647174}
html[data-theme="light"] .contact-footer .brand{color:var(--ink)}
html[data-theme="light"] .contact-footer a:hover{color:#8f704a}
html[data-theme="light"] .numbers .section-label,
html[data-theme="light"] .numbers .section-label span{color:#657174}
html[data-theme="light"] .numbers .metric{border-color:rgba(23,39,43,.2)}
html[data-theme="light"] .expert-card{background:var(--paper)}
html[data-theme="light"] .expert-card:nth-child(odd){background:var(--surface-alt)}
html[data-theme="light"] .expert-card.expert-lead{background:#203438;color:#f0efe9}
html[data-theme="light"] .year-marker:before{background:var(--paper)}
html[data-theme="light"] .project-entry{background:rgba(23,39,43,.025);border-color:rgba(23,39,43,.18)}
html[data-theme="light"] .project-entry[open]{background:var(--surface-alt)}
html[data-theme="light"] .entry-detail p{color:#4e5c5f}
html[data-theme="light"] .brief-form{background:#e4e2da;color:var(--ink)}
html[data-theme="light"] .form-head{border-color:rgba(23,39,43,.2)}
html[data-theme="light"] .live-lab,
html[data-theme="light"] .process,
html[data-theme="light"] .contact,
html[data-theme="light"] .page-hero,
html[data-theme="light"] .contact-page{background:#e4e2da!important;color:#17272b}
html[data-theme="light"] .page-hero-about{background:radial-gradient(circle at 78% 30%,rgba(119,157,161,.2),transparent 30%),linear-gradient(135deg,#f0efe9,#d9ded9)!important}
html[data-theme="light"] .policy-hero{background:radial-gradient(circle at 78% 28%,rgba(119,157,161,.2),transparent 30%),linear-gradient(130deg,#f0efe9,#d9ded9)!important}
html[data-theme="light"] .page-hero:after{opacity:.35}
html[data-theme="light"] .page-grid{background-image:linear-gradient(rgba(23,39,43,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(23,39,43,.06) 1px,transparent 1px)}
html[data-theme="light"] .page-kicker,
html[data-theme="light"] .page-coords,
html[data-theme="light"] .page-title p,
html[data-theme="light"] .lab-intro p,
html[data-theme="light"] .motion-caption p{color:#526165}
html[data-theme="light"] .lab-intro h2 em,
html[data-theme="light"] .page-title h1 em,
html[data-theme="light"] .contact-main h1 em{color:#8e633a}
html[data-theme="light"] .live-lab:before{color:#758183}
html[data-theme="light"] .motion-card,
html[data-theme="light"] .data-visual{background:#e6e8df;color:#17272b;border-color:rgba(23,39,43,.22)}
html[data-theme="light"] .motion-head,
html[data-theme="light"] .motion-caption,
html[data-theme="light"] .visual-head{border-color:rgba(23,39,43,.2)}
html[data-theme="light"] .motion-head,
html[data-theme="light"] .card-meta{color:#536569}
html[data-theme="light"] .motion-head b{color:#8e633a}
html[data-theme="light"] .drill-scene{background:linear-gradient(#c7d9d9 0 56%,#b3bbaf 56%)}
html[data-theme="light"] .drill-sky{background:linear-gradient(165deg,#dbe8e6,#b9d0cf)}
html[data-theme="light"] .drill-sky:after{background:linear-gradient(8deg,#a7c0bd 49%,transparent 50%)}
html[data-theme="light"] .drill-sky span{color:#40575a}
html[data-theme="light"] .ground-cut>i:nth-child(1){background:#8ea08d}
html[data-theme="light"] .ground-cut>i:nth-child(2){background:#ac9677}
html[data-theme="light"] .ground-cut>i:nth-child(3){background:#b89469}
html[data-theme="light"] .ground-cut>i:nth-child(4){background:#89999b}
html[data-theme="light"] .survey-scene{background:linear-gradient(#c8dddd 0 66%,#bac8b7 66%)}
html[data-theme="light"] .survey-land:before{background:#97b5b1}
html[data-theme="light"] .measurement-readout{background:rgba(240,239,233,.88);color:#46585c;border-color:rgba(23,39,43,.2)}
html[data-theme="light"] .hydro-scene{background:#d7e9e8}
html[data-theme="light"] .hydro-scene-sky{fill:#d7e9e8}
html[data-theme="light"] .hydro-scene-cloud{fill:#a8c5c4}
html[data-theme="light"] .hydro-scene-rain{stroke:#6caaaF}
html[data-theme="light"] .hydro-scene-hill{fill:#9bb9af}
html[data-theme="light"] .hydro-scene-bank{fill:#a8ad90}
html[data-theme="light"] .hydro-scene-water{fill:#83b8ba}
html[data-theme="light"] .hydro-scene-flow{stroke:#d5edeb}
html[data-theme="light"] .hydro-scene-post circle{fill:#d7e9e8}
html[data-theme="light"] .hydro-scene-label{color:#284e54}
html[data-theme="light"] .eco-field{background:radial-gradient(circle,rgba(119,163,134,.18),transparent 60%)}
html[data-theme="light"] .eco-orbit{border-color:rgba(55,111,78,.42)}
html[data-theme="light"] .data-visual .visual-scale{color:#526165}
html[data-theme="light"] .soil-1{background:#8da58e}
html[data-theme="light"] .soil-2{background:#ac9a80}
html[data-theme="light"] .soil-3{background:#bd9f77}
html[data-theme="light"] .soil-4{background:#91a6aa}
html[data-theme="light"] .soil span{color:#513d25}
html[data-theme="light"] .soil b{color:#17272b}
html[data-theme="light"] .topo-plan,
html[data-theme="light"] .eco-illustration,
html[data-theme="light"] .hydro-illustration{background:#dbe6e0;color:#17272b}
html[data-theme="light"] .eco-illustration svg>rect{fill:#c9dfda}
html[data-theme="light"] .hydro-illustration svg>rect{fill:#c9dfda}
html[data-theme="light"] .topo-plan svg>rect:first-of-type{fill:#e1e9e2}
html[data-theme="light"] .utility-line circle{fill:#e1e9e2}
html[data-theme="light"] .eco-hill{fill:#8da995}
html[data-theme="light"] .eco-soil{fill:#b4a185}
html[data-theme="light"] .eco-label{fill:#284542}
html[data-theme="light"] .hydro-hill{fill:#a6b9a1}
html[data-theme="light"] .hydro-bank{fill:#b7a388}
html[data-theme="light"] .hydro-labels,
html[data-theme="light"] .hydro-level-label{fill:#334b4e}
html[data-theme="light"] .hydro-meta,
html[data-theme="light"] .hydro-legend{color:#46585c}
html[data-theme="light"] .eco-illustration-caption span,
html[data-theme="light"] .eco-specialist span{color:#46585c}
html[data-theme="light"] .topo-legend{background:rgba(240,239,233,.9);color:#405457;border-color:rgba(23,39,43,.2)}
html[data-theme="light"] .spot-heights text,
html[data-theme="light"] .map-labels text,
html[data-theme="light"] .north-arrow text,
html[data-theme="light"] .map-scale text{fill:#334b4e}
html[data-theme="light"] .north-arrow path,
html[data-theme="light"] .map-scale path{stroke:#334b4e}
html[data-theme="light"] .process-map .map-lines path,
html[data-theme="light"] .contact-map path{stroke:#819e9d}
html[data-theme="light"] .contact:before{border-color:rgba(23,39,43,.15)}
html[data-theme="light"] .credential-cards,
html[data-theme="light"] .credential-cards article{border-color:rgba(23,39,43,.2)}
html[data-theme="light"] .credential-cards span,
html[data-theme="light"] .credential-cards small,
html[data-theme="light"] .company-details dt{color:#526165}
html[data-theme="light"] .credential-cards b{color:#8e633a}
html[data-theme="light"] .expert-card.expert-lead{background:#d1d5cc;color:#17272b}
html[data-theme="light"] .expert-lead p,
html[data-theme="light"] .expert-lead small{color:#526165}
html[data-theme="light"] .contact-details small{color:#526165}
html[data-theme="light"] .contact-main h1{color:#17272b}
html[data-theme="light"] .site-footer p{color:#526165}
html[data-theme="light"] .ticker{background:#d5bd9b;color:#17272b}
html[data-theme="light"] .hero{background:#d9d8d0;color:#17272b}
html[data-theme="light"] .hero-image{background:linear-gradient(90deg,rgba(240,239,233,.97) 0%,rgba(240,239,233,.9) 37%,rgba(240,239,233,.58) 68%,rgba(240,239,233,.42) 100%),url('../img/geology-hero.jpg') center/cover no-repeat!important}
html[data-theme="light"] .geo-strata{opacity:.06}
html[data-theme="light"] .coordinate-grid{background-image:linear-gradient(rgba(23,39,43,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(23,39,43,.07) 1px,transparent 1px)}
html[data-theme="light"] #topo-canvas{opacity:.2}
html[data-theme="light"] .hero h1{color:#17272b}
html[data-theme="light"] .hero h1 em{color:#8e633a}
html[data-theme="light"] .hero .eyebrow,
html[data-theme="light"] .hero-bottom p,
html[data-theme="light"] .depth-scale,
html[data-theme="light"] .hero-index{color:#46585c}
html[data-theme="light"] .depth-scale i{background:rgba(23,39,43,.3)}
html[data-theme="light"] .round-link{border-color:rgba(23,39,43,.5);color:#17272b}
html[data-theme="light"] body:not(.inner-page) .topbar{background:rgba(240,239,233,.94);color:#17272b;border-color:rgba(23,39,43,.18)}
html[data-theme="light"] body:not(.inner-page) .topbar .theme-toggle{background:rgba(23,39,43,.04);border-color:rgba(23,39,43,.38);color:#17272b}
html[data-theme="light"] body:not(.inner-page) .topbar .menu-button span{background:#17272b}
html[data-theme="light"] .inner-topbar{background:rgba(240,239,233,.94);color:#17272b;border-color:rgba(23,39,43,.18)}
html[data-theme="light"] .topbar .theme-toggle{background:rgba(23,39,43,.04);border-color:rgba(23,39,43,.38);color:#17272b}
html[data-theme="light"] .menu-open .topbar .nav{background:#f0efe9;border-color:rgba(23,39,43,.18)}

html[data-theme="dark"] body,html[data-theme="dark"] body.inner-page{background:#111d20!important;color:#ecebe4}
html[data-theme="dark"] .intro,
html[data-theme="dark"] .projects,
html[data-theme="dark"] .field-gallery,
html[data-theme="dark"] .project-roadmap,
html[data-theme="dark"] .team,
html[data-theme="dark"] .experience,
html[data-theme="dark"] .numbers,
html[data-theme="dark"] .policy-content,
html[data-theme="dark"] .brief-form,
html[data-theme="dark"] .case-copy,
html[data-theme="dark"] .values article{background:#1a292d!important;color:#ecebe4}
html[data-theme="dark"] .process,
html[data-theme="dark"] .contact,
html[data-theme="dark"] .contact-page,
html[data-theme="dark"] .credentials,
html[data-theme="dark"] .company-details,
html[data-theme="dark"] .site-footer{background:#111d20!important;color:#ecebe4}
html[data-theme="dark"] .inner-topbar{background:rgba(14,24,27,.9);color:#ecebe4}
html[data-theme="dark"] .topbar{border-color:rgba(236,235,228,.15)}
html[data-theme="dark"] .intro h2,
html[data-theme="dark"] .projects h2,
html[data-theme="dark"] .process h2,
html[data-theme="dark"] .contact h2,
html[data-theme="dark"] .story h2,
html[data-theme="dark"] .team h2,
html[data-theme="dark"] .credential-intro h2,
html[data-theme="dark"] .experience-layout h2,
html[data-theme="dark"] .company-details h2,
html[data-theme="dark"] .card-copy h3,
html[data-theme="dark"] .year-marker h3,
html[data-theme="dark"] .entry-title,
html[data-theme="dark"] .policy-body h2{color:#ecebe4}
html[data-theme="dark"] .intro-heading p,
html[data-theme="dark"] .story p,
html[data-theme="dark"] .values p,
html[data-theme="dark"] .team-head p,
html[data-theme="dark"] .experience-layout p,
html[data-theme="dark"] .card-copy p,
html[data-theme="dark"] .entry-detail p,
html[data-theme="dark"] .policy-body p,
html[data-theme="dark"] .policy-lead{color:#b5c0bd}
html[data-theme="dark"] .field-gallery-intro p,
html[data-theme="dark"] .roadmap-intro p,
html[data-theme="dark"] .story .lead,
html[data-theme="dark"] .case-copy p,
html[data-theme="dark"] .values p,
html[data-theme="dark"] .policy-aside p,
html[data-theme="dark"] .site-footer p{color:#b5c0bd}
html[data-theme="dark"] .field-gallery-intro h1 em,
html[data-theme="dark"] .roadmap-intro h2 em{color:#c49b6b}
html[data-theme="dark"] .policy-body b{color:#ecebe4}
html[data-theme="dark"] .section-label,
html[data-theme="dark"] .page-section-label,
html[data-theme="dark"] .roadmap-note,
html[data-theme="dark"] .entry-date,
html[data-theme="dark"] .entry-detail small{color:#9ba9a7}
html[data-theme="dark"] .discipline-shell,
html[data-theme="dark"] .discipline-tab,
html[data-theme="dark"] .discipline-card,
html[data-theme="dark"] .card-copy li,
html[data-theme="dark"] .project-entry,
html[data-theme="dark"] .project-entry summary,
html[data-theme="dark"] .year-projects,
html[data-theme="dark"] .roadmap-note,
html[data-theme="dark"] .policy-body section,
html[data-theme="dark"] .company-details dl>div{border-color:rgba(236,235,228,.17)}
html[data-theme="dark"] .discipline-tab{color:#aeb9b7}
html[data-theme="dark"] .discipline-tab.active{background:#26383b;color:#f0efe9;border-bottom-color:var(--amber)}
html[data-theme="dark"] .project-entry{background:rgba(255,255,255,.025)}
html[data-theme="dark"] .project-entry[open]{background:#243538}
html[data-theme="dark"] .year-marker:before{background:#1a292d}
html[data-theme="dark"] .entry-toggle{border-color:rgba(236,235,228,.35);color:#ecebe4}
html[data-theme="dark"] .roadmap-note{color:#a1adab}
html[data-theme="dark"] .brief-form{background:#223236;color:#ecebe4}
html[data-theme="dark"] .brief-form label span,
html[data-theme="dark"] .form-head b,
html[data-theme="dark"] .form-privacy{color:#aebbb8}
html[data-theme="dark"] .brief-form input,
html[data-theme="dark"] .brief-form textarea{color:#ecebe4;border-color:rgba(236,235,228,.3)}
html[data-theme="dark"] .brief-form input::placeholder,
html[data-theme="dark"] .brief-form textarea::placeholder{color:#899896}
html[data-theme="dark"] .form-head{border-color:rgba(236,235,228,.2)}
html[data-theme="dark"] .contact-details>a,
html[data-theme="dark"] .contact-details>div{color:#ecebe4;border-color:rgba(236,235,228,.18)}
html[data-theme="dark"] .contact-details small,
html[data-theme="dark"] .contact-footer{color:#a4b1ae}
html[data-theme="dark"] .contact-footer{border-color:rgba(236,235,228,.18)}
html[data-theme="dark"] .contact-footer .brand{color:#ecebe4}
html[data-theme="dark"] .policy-aside a{color:#c2ccca}
html[data-theme="dark"] .policy-note{background:#253639}
html[data-theme="dark"] .policy-note p{color:#b5c0bd}
html[data-theme="dark"] .policy-law{border-color:rgba(236,235,228,.18);color:#a5b1af!important}
html[data-theme="dark"] .contact-page .brief-form{background:#1a292d}
html[data-theme="dark"] .ticker{background:#4d3f31;color:#ecebe4}

.theme-toggle{width:38px;height:38px;flex:0 0 38px;padding:0;display:grid;place-items:center;border:1px solid rgba(255,255,255,.38);border-radius:50%;background:rgba(10,20,23,.2);color:#f0efe9;cursor:pointer;transition:background .2s,border-color .2s,transform .2s}
.topbar{justify-content:flex-start;gap:24px}
.topbar .nav,.topbar .header-phone{margin-left:auto}
.theme-toggle:hover{background:rgba(255,255,255,.12);border-color:var(--amber);transform:rotate(-8deg)}
.theme-toggle svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.theme-moon{display:none}
html[data-theme="dark"] .theme-sun{display:none}
html[data-theme="dark"] .theme-moon{display:block}
@media(max-width:900px){.topbar{gap:12px}.topbar .theme-toggle{margin-left:auto}.theme-toggle{width:36px;height:36px;flex-basis:36px}}
@media(prefers-reduced-motion:reduce){.theme-toggle{transition:none}}
