:root { --ink:#10201d; --muted:#61706a; --paper:#f5f7f2; --surface:rgba(255,255,255,.7); --line:rgba(43,74,65,.18); --violet:#ef6c43; --violet-soft:#ffe4d9; --shadow:0 20px 60px rgba(15,40,34,.12); --scroll-track:#e4ebe6; --scroll-thumb:#627d6b; --scroll-thumb-hover:#12a89b; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; scrollbar-width:thin; scrollbar-color:var(--scroll-thumb) var(--scroll-track); }
html.dark-theme { --scroll-track:#101815; --scroll-thumb:#ef7952; --scroll-thumb-hover:#f3a082; color-scheme:dark; }
html::-webkit-scrollbar { width:12px; height:12px; }
html::-webkit-scrollbar-track { background:var(--scroll-track); }
html::-webkit-scrollbar-thumb { min-height:44px; border:3px solid var(--scroll-track); border-radius:999px; background:var(--scroll-thumb); }
html::-webkit-scrollbar-thumb:hover { background:var(--scroll-thumb-hover); }
body { margin:0; background:var(--paper); color:var(--ink); font-family:"Figtree",ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"; font-feature-settings:normal; font-variation-settings:normal; -webkit-font-smoothing:antialiased; font-weight:500; line-height:1.5; }
body::before { content:""; position:fixed; inset:0; z-index:-2; background:linear-gradient(135deg,#fbfcf8 0%,#edf3ed 52%,#f8f4ef 100%); }
body.dark { --ink:#f0f3ee; --muted:#b3c0ba; --paper:#0d1917; --surface:rgba(26,45,39,.72); --line:rgba(189,210,200,.13); --violet:#f26f43; --violet-soft:#263c35; --shadow:0 22px 70px rgba(0,0,0,.42); }
body.dark::before { background:radial-gradient(circle at 86% 12%,#15362f 0%,transparent 26%),radial-gradient(circle at 10% 70%,#122b26 0%,transparent 30%),linear-gradient(135deg,#0d1917 0%,#0d1816 55%,#101e1b 100%); }
body.dark { color-scheme:dark; }
.ambient { position:fixed; z-index:-1; border-radius:50%; filter:blur(45px); pointer-events:none; opacity:.62; }
.ambient-one { width:28rem; height:28rem; top:-10rem; right:-8rem; background:#c4dfd4; }.ambient-two { width:22rem; height:22rem; left:-9rem; top:40rem; background:#ffd5c6; }
body.dark .ambient-one { background:#175345; opacity:.35; } body.dark .ambient-two { background:#364f2f; opacity:.22; }
.shell { width:min(1160px,calc(100% - 40px)); margin:auto; }.site-header { position:sticky; top:16px; z-index:10; width:min(1160px,calc(100% - 40px)); margin:16px auto 0; min-height:64px; padding:10px 12px 10px 18px; display:flex; align-items:center; justify-content:space-between; border-radius:20px; }
.glass { background:var(--surface); border:1px solid var(--line); box-shadow:var(--shadow); backdrop-filter:blur(22px) saturate(145%); -webkit-backdrop-filter:blur(22px) saturate(145%); }
.brand { display:flex; align-items:center; text-decoration:none; }.logo { display:block; width:142px; height:auto; }.logo-dark { display:none; } body.dark .logo-light { display:none; } body.dark .logo-dark { display:block; }
nav { display:flex; gap:26px; } nav a, footer a { color:var(--muted); text-decoration:none; font-size:.92rem; font-weight:500; } nav a:hover, footer a:hover { color:var(--violet); }.header-actions { display:flex; align-items:center; gap:9px; }.icon-button { width:38px; height:38px; border:1px solid var(--line); border-radius:12px; background:transparent; color:var(--ink); cursor:pointer; font-size:1rem; }.header-cta,.button { border-radius:13px; padding:11px 17px; text-decoration:none; font:650 .9rem inherit; cursor:pointer; border:1px solid transparent; display:inline-flex; align-items:center; gap:8px; }.header-cta,.primary { color:white; background:linear-gradient(135deg,#12a89b,#087d76); box-shadow:0 9px 24px rgba(8,125,118,.3); }.menu-button,.mobile-nav { display:none; }
.hero { padding:108px 0 70px; }.eyebrow { margin:0 0 20px; color:var(--violet); font-size:.74rem; font-weight:700; letter-spacing:.18em; text-transform:uppercase; }.hero-grid { display:grid; grid-template-columns:1.45fr .65fr; gap:64px; align-items:end; }.hero h1 { max-width:780px; margin:0; font-size:clamp(3.7rem,8vw,7.1rem); font-weight:800; line-height:.91; letter-spacing:-.075em; }.hero h1 em { color:var(--violet); font-family:"DM Serif Display",Georgia,serif; font-weight:400; }.hero-copy { padding-bottom:8px; }.hero-copy p,.section-heading>p { color:var(--muted); font-size:1.12rem; line-height:1.75; }.button-row { display:flex; flex-wrap:wrap; gap:10px; margin-top:28px; }.secondary { color:var(--ink); border-color:var(--line); background:rgba(255,255,255,.08); }.metrics { display:grid; grid-template-columns:repeat(3,1fr); margin-top:72px; border-radius:22px; overflow:hidden; }.metrics div { padding:25px; border-right:1px solid var(--line); }.metrics div:last-child { border:0; }.metrics strong { display:block; color:var(--ink); font-size:2rem; font-weight:700; letter-spacing:-.06em; }.metrics span { display:block; color:var(--muted); font-size:.9rem; margin-top:4px; }
.section { padding:100px 0; }.dark-band { color:#f0f3ee; background:#17262a; }.dark-band .two-column { display:grid; grid-template-columns:.7fr 1.3fr; gap:70px; }.dark-band .eyebrow { color:#f59a78; }.dark-band h2 { max-width:690px; }.dark-band .lead,.dark-band .value-grid p { color:#b8c4be; }.soft-band { background:rgba(223,234,226,.55); border-block:1px solid var(--line); } body.dark .soft-band { background:#17262a; }
h2 { margin:0; max-width:760px; font-size:clamp(2.4rem,4.8vw,4.7rem); font-weight:700; line-height:1.02; letter-spacing:-.06em; }.lead { color:var(--muted); max-width:690px; margin:28px 0 0; font-size:1.1rem; line-height:1.75; }.value-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:52px; }.value-grid article { border-top:1px solid rgba(255,255,255,.2); padding-top:16px; }.value-grid h3 { margin:0; font-size:1rem; font-weight:700; }.value-grid p { margin:8px 0 0; font-size:.9rem; line-height:1.55; }
.section-heading { display:flex; align-items:end; justify-content:space-between; gap:40px; }.section-heading>p { max-width:350px; margin:0; }.expertise-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:48px; }.card,.steps article,.case { border-radius:22px; padding:25px; }.card { min-height:255px; transition:transform .25s ease,box-shadow .25s ease; }.card:hover { transform:translateY(-5px); box-shadow:0 26px 65px rgba(25,64,53,.18); }.card span,.steps span { color:var(--violet); font-size:.78rem; font-weight:700; }.card h3,.steps h3,.case h3 { margin:60px 0 10px; font-size:1.42rem; font-weight:700; letter-spacing:-.04em; }.card p,.steps p,.case p { color:var(--muted); margin:0; line-height:1.65; }.steps { display:grid; grid-template-columns:repeat(4,1fr); gap:15px; margin-top:48px; }.steps article { min-height:230px; }.steps h3 { margin-top:52px; }.case-layout,.contact-layout { display:grid; grid-template-columns:.78fr 1.22fr; gap:80px; }.filters { display:flex; flex-wrap:wrap; gap:8px; }.filters button { padding:9px 14px; border:0; border-radius:999px; background:var(--violet-soft); color:var(--ink); cursor:pointer; font:700 .84rem inherit; }.filters button.active { background:var(--violet); color:white; }.case-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:15px; margin-top:16px; }.case { min-height:230px; }.case small { color:var(--violet); font-weight:700; letter-spacing:.12em; }.case h3 { margin-top:54px; }.team-panel { margin-bottom:100px; padding:52px; border-radius:30px; color:#f5f8fc; background:linear-gradient(135deg,#3b5970,#243b51); box-shadow:0 25px 60px rgba(28,52,74,.28); }.team-panel .eyebrow { color:#cbdceb; }.team-panel h2 { max-width:650px; }.discipline-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:45px; }.discipline-grid span { border-top:1px solid rgba(245,248,252,.32); padding-top:13px; font-weight:600; }
.contact-section { background:#0d1917; color:#f0f3ee; }.contact-section .eyebrow,.email-link { color:#f59a78; }.contact-section .lead { color:#b8c4be; }.email-link { display:inline-block; margin-top:30px; font-weight:700; text-decoration:none; }.contact-form { padding:25px; border-radius:24px; display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }.contact-form label { color:#d9e3de; font-size:.8rem; font-weight:700; }.contact-form input,.contact-form textarea { width:100%; margin-top:7px; border:1px solid rgba(196,216,206,.28); border-radius:12px; padding:12px; color:#f0f3ee; background:rgba(255,255,255,.07); font:inherit; outline:none; }.contact-form input::placeholder,.contact-form textarea::placeholder { color:#9faea7; }.contact-form textarea { min-height:120px; resize:vertical; }.contact-form input:focus,.contact-form textarea:focus { border-color:#f5906d; box-shadow:0 0 0 3px rgba(242,111,67,.22); }.full-width { grid-column:1/-1; }.form-message { color:#d4f7d9; margin:12px 0 0; font-size:.9rem; }
body:not(.dark) .contact-form { background:linear-gradient(145deg,#fffaf7 0%,#fff0e9 100%); border:1px solid rgba(242,111,67,.55); box-shadow:0 24px 60px rgba(8,30,24,.3),inset 0 1px 0 rgba(255,255,255,.9); }
body:not(.dark) .contact-form label { color:#243b34; font-weight:800; }
body:not(.dark) .contact-form input,body:not(.dark) .contact-form textarea { color:#1c332d; background:#ffffff; border-color:#efb09a; box-shadow:inset 0 1px 2px rgba(62,74,52,.05); }
body:not(.dark) .contact-form input::placeholder,body:not(.dark) .contact-form textarea::placeholder { color:#7d8a83; opacity:1; }
body:not(.dark) .contact-form input:focus,body:not(.dark) .contact-form textarea:focus { border-color:#ef6c43; box-shadow:0 0 0 4px rgba(239,108,67,.18); }
body:not(.dark) .contact-form .primary { background:linear-gradient(135deg,#12a89b,#087d76); box-shadow:0 12px 26px rgba(8,125,118,.35); }
body.dark .contact-form { background:linear-gradient(145deg,rgba(29,52,45,.92),rgba(16,31,27,.9)); border-color:rgba(185,210,197,.2); }
footer { padding:28px 0; background:#0d1917; color:#aebbb5; font-size:.88rem; } footer .shell { display:flex; justify-content:space-between; gap:20px; } footer div div { display:flex; gap:20px; } footer a { color:#aebbb5; }.skip-link { position:fixed; top:-60px; left:18px; z-index:20; background:var(--violet); color:white; border-radius:10px; padding:10px; }.skip-link:focus { top:18px; }
@media (max-width:800px) { .desktop-nav,.header-cta { display:none; }.menu-button { display:grid; place-items:center; }.mobile-nav { position:absolute; top:74px; left:0; right:0; padding:18px; border-radius:18px; flex-direction:column; background:var(--surface); border:1px solid var(--line); box-shadow:var(--shadow); backdrop-filter:blur(22px); }.mobile-nav.open { display:flex; }.hero { padding-top:74px; }.hero-grid,.dark-band .two-column,.case-layout,.contact-layout { grid-template-columns:1fr; gap:34px; }.hero h1 { font-size:clamp(3.4rem,15vw,5.5rem); }.metrics,.expertise-grid,.steps,.value-grid,.discipline-grid { grid-template-columns:1fr 1fr; }.metrics div:nth-child(2) { border-right:0; }.metrics div:nth-child(3) { grid-column:1/-1; border-top:1px solid var(--line); }.section-heading { align-items:start; flex-direction:column; gap:20px; }.case-grid { grid-template-columns:1fr; }.team-panel { padding:34px 25px; }.contact-form { grid-template-columns:1fr; }.full-width { grid-column:auto; } }
@media (max-width:520px) { .shell,.site-header { width:min(100% - 28px,1160px); }.site-header { top:8px; margin-top:8px; }.hero { padding-top:60px; }.metrics,.expertise-grid,.steps,.value-grid,.discipline-grid { grid-template-columns:1fr; }.metrics div,.metrics div:nth-child(2) { border-right:0; border-bottom:1px solid var(--line); }.metrics div:last-child { border-bottom:0; }.metrics div:nth-child(3) { grid-column:auto; }.section { padding:72px 0; }.team-panel { margin-bottom:72px; } footer .shell { flex-direction:column; } }
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } *,*::before,*::after { transition-duration:.01ms!important; } }

/* Soft Moss option for the team-strength panel. */
.team-panel { color:#f7faf5; background:linear-gradient(135deg,#627d6b,#465f50); box-shadow:0 25px 60px rgba(48,79,59,.25); }
.team-panel .eyebrow { color:#dcebd8; }
.discipline-grid span { border-color:rgba(247,250,245,.35); }

/* Cool Mint palette for the light-mode contact form. */
body:not(.dark) .contact-form { background:linear-gradient(145deg,#fbfdfb 0%,#edf6f1 100%); border-color:rgba(112,164,145,.56); box-shadow:0 24px 60px rgba(8,30,24,.28),inset 0 1px 0 rgba(255,255,255,.92); }
body:not(.dark) .contact-form label { color:#20443a; }
body:not(.dark) .contact-form input,body:not(.dark) .contact-form textarea { color:#193b32; background:#ffffff; border-color:#afd3c5; }
body:not(.dark) .contact-form input::placeholder,body:not(.dark) .contact-form textarea::placeholder { color:#758c82; }
body:not(.dark) .contact-form input:focus,body:not(.dark) .contact-form textarea:focus { border-color:#12a89b; box-shadow:0 0 0 4px rgba(18,168,155,.18); }

/* Extra-translucent glass treatment for the menu bar. */
.site-header { background:rgba(249,253,250,.42); border-color:rgba(74,112,96,.24); box-shadow:0 16px 42px rgba(18,57,45,.1); backdrop-filter:blur(28px) saturate(165%); -webkit-backdrop-filter:blur(28px) saturate(165%); }
body.dark .site-header { background:rgba(18,48,40,.42); border-color:rgba(177,219,201,.2); box-shadow:0 16px 42px rgba(0,0,0,.2); }
body:not(.dark) .site-header.over-dark { background:rgba(12,35,29,.58); border-color:rgba(205,236,222,.2); box-shadow:0 16px 42px rgba(0,0,0,.2); }
body:not(.dark) .site-header.over-dark nav a,.site-header.over-dark .icon-button { color:#edf7f1; }
body:not(.dark) .site-header.over-dark .icon-button { border-color:rgba(216,239,227,.24); }
body:not(.dark) .site-header.over-dark .logo-light,body:not(.dark) .site-header[data-surface="dark"] .logo-light { display:none!important; }
body:not(.dark) .site-header.over-dark .logo-dark,body:not(.dark) .site-header[data-surface="dark"] .logo-dark { display:block!important; }

@media (max-width:1100px) {
  .mobile-nav {
    position:fixed;
    top:0;
    right:0;
    bottom:0;
    left:0;
    z-index:1000;
    width:100vw;
    width:100dvw;
    height:100vh;
    height:100dvh;
    min-height:100vh;
    min-height:100dvh;
    display:flex;
    visibility:hidden;
    padding:max(24px,env(safe-area-inset-top)) max(24px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left));
    border:0;
    border-radius:0;
    transform:translateX(100%);
    transition:transform .35s ease,visibility .35s ease;
    pointer-events:none;
    box-shadow:none;
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
  }

  .mobile-nav.open { visibility:visible; transform:translateX(0); pointer-events:auto; }
  .slideover-header { display:flex; align-items:center; justify-content:space-between; padding-bottom:26px; border-bottom:1px solid currentColor; }
  .slideover-links { display:flex; flex:1; flex-direction:column; justify-content:center; gap:28px; }
  .mobile-nav a { font-size:clamp(2.1rem,9vw,3.3rem); font-weight:700; letter-spacing:-.06em; }
  .slideover-links a {
    width:max-content;
    max-width:100%;
    color:#173d35;
    background:linear-gradient(105deg,rgba(13,151,140,.92) 0%,rgba(32,79,65,.96) 100%);
    -webkit-background-clip:text;
    background-clip:text;
    -webkit-text-fill-color:transparent;
    text-shadow:0 8px 24px rgba(18,168,155,.1);
  }
  .mobile-nav .brand .logo { width:150px; }
  .mobile-nav .icon-button { width:52px; height:52px; font-size:2rem; }
  body.menu-open { overflow:hidden; }
  body:not(.dark) .mobile-nav {
    background:
      radial-gradient(circle at 88% 8%,rgba(18,168,155,.14) 0%,rgba(18,168,155,0) 34%),
      radial-gradient(circle at 8% 92%,rgba(98,125,107,.12) 0%,rgba(98,125,107,0) 32%),
      linear-gradient(145deg,#fbfaf6 0%,#eef4ef 55%,#e5efeb 100%);
    color:#173d35;
  }
  body:not(.dark) .mobile-nav a { color:#173d35; }
  body.dark .mobile-nav {
    background:
      radial-gradient(circle at 88% 8%,rgba(18,168,155,.16) 0%,rgba(18,168,155,0) 34%),
      radial-gradient(circle at 8% 92%,rgba(98,125,107,.12) 0%,rgba(98,125,107,0) 32%),
      linear-gradient(145deg,#1b1e20 0%,#131918 55%,#0e1513 100%);
    color:#edf7f1;
  }
  body.dark .mobile-nav a { color:#edf7f1; }
  body.dark .slideover-links a {
    background-image:linear-gradient(105deg,rgba(73,221,207,.94) 0%,rgba(109,151,128,.96) 100%);
    text-shadow:0 8px 28px rgba(46,233,218,.13);
  }
}

/* Deliberate tablet composition: iPad, Galaxy Tab, and similar devices. */
@media (min-width:701px) and (max-width:1100px) {
  .shell,.site-header { width:min(100% - 56px,980px); }
  .site-header { top:14px; margin-top:14px; min-height:68px; padding:12px 14px 12px 20px; }
  .desktop-nav,.header-cta { display:none; }
  .menu-button { display:grid; place-items:center; }

  .hero { padding:92px 0 78px; }
  .hero-grid { grid-template-columns:minmax(0,1.18fr) minmax(240px,.82fr); gap:38px; align-items:end; }
  .hero h1 { font-size:clamp(4.1rem,8.4vw,5.8rem); line-height:.93; }
  .hero-copy p,.section-heading>p { font-size:1.02rem; line-height:1.7; }
  .metrics { grid-template-columns:repeat(3,1fr); margin-top:58px; }
  .metrics div,.metrics div:nth-child(2) { border-right:1px solid var(--line); border-bottom:0; }
  .metrics div:last-child { border-right:0; }
  .metrics div:nth-child(3) { grid-column:auto; border-top:0; }

  .section { padding:88px 0; }
  h2 { font-size:clamp(3.15rem,6vw,4.2rem); }
  .dark-band .two-column { grid-template-columns:minmax(150px,.42fr) minmax(0,1.58fr); gap:38px; }
  .section-heading { flex-direction:row; align-items:end; gap:32px; }
  .section-heading>p { max-width:290px; }

  .expertise-grid { grid-template-columns:repeat(2,1fr); gap:18px; }
  .steps { grid-template-columns:repeat(2,1fr); gap:18px; }
  .value-grid { grid-template-columns:repeat(3,1fr); gap:16px; }
  .discipline-grid { grid-template-columns:repeat(3,1fr); }
  .card,.steps article,.case { padding:28px; }

  .case-layout { grid-template-columns:1fr; gap:38px; }
  .case-layout>div:first-child { display:grid; grid-template-columns:1fr 1fr; gap:28px; align-items:end; }
  .case-layout>div:first-child .eyebrow { grid-column:1/-1; margin-bottom:0; }
  .case-layout .lead { margin-top:0; }
  .case-grid { grid-template-columns:repeat(2,1fr); }

  .team-panel { padding:44px 38px; }
  .contact-layout { grid-template-columns:1fr; gap:42px; }
  .contact-layout>div:first-child { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); column-gap:42px; align-items:start; }
  .contact-layout>div:first-child .eyebrow { grid-column:1/-1; }
  .contact-layout>div:first-child h2 { grid-column:1; }
  .contact-layout>div:first-child .lead { grid-column:2; margin:6px 0 0; }
  .contact-layout>div:first-child .email-link { grid-column:2; margin-top:26px; }
  .contact-form { grid-template-columns:repeat(2,1fr); padding:30px; }
  .contact-form .full-width { grid-column:1/-1; }
}
