/* Coastal refinement — shared type rhythm; original motion stays in motion.js. */
body:not([data-page=team]) {
  --type-hero: clamp(62px, 7.55vw, 116px);
  --type-section: clamp(48px, 5.55vw, 84px);
  --type-service: clamp(40px, 4vw, 60px);
  --type-subheading: clamp(28px, 2.5vw, 38px);
}
body:not([data-page=team]) .hero-title {font-size:var(--type-hero);line-height:1.02;max-width:9em}
body:not([data-page=team]) :is(.journeys-heading,.services-intro,.approach-heading,.discovery-copy,.coverage-intro,.contact-heading,.chapter-heading) h2 {font-size:var(--type-section);line-height:1.06;text-wrap:balance}
body:not([data-page=team]) .service-story h3 {font-size:var(--type-service);line-height:1.08;margin-block-end:22px;text-wrap:balance}
body:not([data-page=team]) .route-name {font-size:var(--type-service)}
body:not([data-page=team]) :is(.process-step,.principle,.approach-statement) h3 {font-size:var(--type-subheading)}
body:not([data-page=team]) .hero-image picture {display:block;width:100%;height:100%}
body:not([data-page=team]) .hero-image img {object-position:50% 54%;filter:saturate(.72) brightness(.9)}
body:not([data-page=team]) .hero-shade {background:linear-gradient(180deg,rgba(10,17,15,.62),rgba(14,19,16,.12) 29%,rgba(12,17,14,.26) 47%,rgba(12,17,14,.9)),linear-gradient(90deg,rgba(14,18,15,.23),transparent 75%)}
body:not([data-page=team]) .hero-title>span:nth-child(2) {margin-inline-start:9%}
body:not([data-page=team]) .hero-title>em {font-size:.51em;margin-block-start:20px}
body:not([data-page=team]) .site-header .brand-mark {font-size:31.5px}
body:not([data-page=team]) .site-header .brand-mark>span {font-size:32.5px}
body:not([data-page=team]) .site-header .brand-name {font-size:15.5px}
body:not([data-page=team]) .site-header .brand-name>span {font-size:7.8px}
body:not([data-page=team]) .site-header .cms-brand-logo {max-width:70px;max-height:58px}
body:not([data-page=team]) .site-header .brand-art {width:213px;height:65px}
body:not([data-page=team]) .site-header .brand-art[data-layout=stacked] {width:148px;height:88px}
body:not([data-page=team]) .site-header .brand-art[data-layout=symbol] {width:70px;height:74px}
body:not([data-page=team]) .primary-nav>a {font-size:14px}
body:not([data-page=team]) .primary-nav {gap:clamp(16px,1.8vw,26px)}
body:not([data-page=team]) .discover-link {font-size:9.5px;letter-spacing:.15em;min-height:48px;padding-inline:8px;margin-inline-start:-8px;color:var(--cream);text-shadow:0 1px 6px #101511}
body:not([data-page=team]) .discover-link .scroll-line {background:var(--cream)}
body:not([data-page=team]) :is(#your-goals,#services,#approach,#coverage,#discovery,#contact,.service-story) {scroll-margin-block-start:110px}
body:not([data-page=team]) .services-intro {margin-block-end:60px}
body:not([data-page=team]) .service-story {min-height:max(560px,68vh);padding-block-end:48px}
body:not([data-page=team]) .service-story .eyebrow {letter-spacing:.12em}
body:not([data-page=team]) .architectural-reveal {margin-block-end:80px}
body:not([data-page=team]) .reveal-window img {object-position:50% 42%;filter:saturate(.65) sepia(.06)}
body:not([data-page=team]) .architectural-reveal figcaption {font-size:10px;letter-spacing:.12em;line-height:1.6}
body:not([data-page=team]) .back-top {display:flex;min-height:48px;padding:8px;color:var(--cream)}
body:not([data-page=team]) .back-top>span {color:inherit;border-color:currentColor}
@media(min-width:900px) and (max-width:1199px) {
  body:not([data-page=team]) .primary-nav>a {font-size:13px}
  body:not([data-page=team]) .header-inner {gap:20px}
  body:not([data-page=team]) .nav-cta {gap:14px;padding-inline:14px;margin-inline-start:0}
}
@media(max-width:899px) {
  body:not([data-page=team]) .primary-nav>a {font-size:16px}
  body:not([data-page=team]) .menu-toggle {min-width:64px;min-height:48px}
  body:not([data-page=team]) .site-header .brand-art {width:180px;height:58px}
  body:not([data-page=team]) .site-header .brand-art[data-layout=stacked] {width:116px;height:68px}
  body:not([data-page=team]) .site-header .brand-art[data-layout=symbol] {width:64px;height:68px}
}
@media(max-width:799px) {
  body:not([data-page=team]) {--type-hero:clamp(50px,9.6vw,78px);--type-section:clamp(44px,7.3vw,58px);--type-service:clamp(38px,6.4vw,49px);--type-subheading:30px}
  body:not([data-page=team]) .service-story {min-height:0;padding-block-end:48px}
  body:not([data-page=team]) .services-intro {margin-block-end:40px}
  body:not([data-page=team]) .architectural-reveal {margin-block-end:60px}
  body:not([data-page=team]) .hero-image img {object-position:50% 45%}
  body:not([data-page=team]) .reveal-window img {object-position:48% 50%}
}
@media(max-width:550px) {
  body:not([data-page=team]) {--type-hero:clamp(44px,12.3vw,62px);--type-section:clamp(41px,11.8vw,51px);--type-service:clamp(36px,10.7vw,44px);--type-subheading:28px}
  body:not([data-page=team]) .site-header .brand-mark {font-size:28px}
  body:not([data-page=team]) .site-header .brand-mark>span {font-size:29px}
  body:not([data-page=team]) .site-header .brand-name {font-size:12.3px}
  body:not([data-page=team]) .site-header .brand-name>span {font-size:6.7px}
  body:not([data-page=team]) .hero-title>em {font-size:.56em;margin-block-start:14px}
  body:not([data-page=team]) .hero-title>span:nth-child(2) {margin-inline-start:9%}
  body:not([data-page=team]) .discover-link {font-size:8.3px;letter-spacing:.13em}
  body:not([data-page=team]) :is(#your-goals,#services,#approach,#coverage,#discovery,#contact,.service-story) {scroll-margin-block-start:92px}
  body:not([data-page=team]) .architectural-reveal figcaption {font-size:8px;gap:16px;letter-spacing:.06em}
  body:not([data-page=team]) .footer-top .back-top {display:flex;grid-column:1/-1;justify-self:start;margin-block-start:8px;font-size:12px}
}
@media(max-width:550px) and (max-height:700px) {
  body:not([data-page=team]) {--type-hero:42px}
  body:not([data-page=team]) .hero-title>em {font-size:.53em;margin-block-start:10px}
}
@media(prefers-reduced-motion:reduce) {
  body:not([data-page=team]) .hero-image {transform:none!important;will-change:auto}
  body:not([data-page=team]) .reveal-window {clip-path:none!important;will-change:auto}
  body:not([data-page=team]) .reveal-window img {transform:none!important}
  body:not([data-page=team]) .scroll-line:after {animation:none!important}
}
/* The larger masthead switches to its menu before desktop links can collide. */
@media(max-width:1099px) {
 body:not([data-page=team]) .header-inner {height:78px}
 body:not([data-page=team]) .primary-nav {position:absolute;inset-inline:0;inset-block-start:78px;display:flex;align-items:stretch;flex-direction:column;background:var(--ink);padding:22px var(--gutter) 28px;gap:8px;border-bottom:1px solid var(--dark-line);max-height:calc(100dvh - 78px);overflow-y:auto}
 body:not([data-page=team]) .primary-nav>a {font-size:16px;padding-block:13px}
 body:not([data-page=team]) .primary-nav>a:not(.nav-cta):after {display:none}
 body:not([data-page=team]) .nav-cta {margin:10px 0 0;justify-content:space-between}
 body:not([data-page=team]) .menu-toggle {display:flex;align-items:center;gap:14px;min-width:64px;min-height:48px;border:0;color:var(--cream);background:transparent;font-size:12px;padding-inline:14px 0}
 body:not([data-page=team]) .menu-lines {display:block;width:22px;height:9px;border-block:1px solid currentColor;position:relative}
 body:not([data-page=team]) .menu-toggle[aria-expanded=true] .menu-lines {border:0}
 body:not([data-page=team]) .menu-toggle[aria-expanded=true] .menu-lines:before,body:not([data-page=team]) .menu-toggle[aria-expanded=true] .menu-lines:after {content:'';position:absolute;inset-block-start:4px;height:1px;width:22px;background:var(--cream);transform:rotate(45deg)}
 body:not([data-page=team]) .menu-toggle[aria-expanded=true] .menu-lines:after {transform:rotate(-45deg)}
}

/* One accessible navigation menu, including owner access, on every screen. */
body .site-header .header-inner{position:relative;justify-content:space-between}
body .site-header .menu-toggle{display:flex;align-items:center;gap:12px;min-width:88px;min-height:48px;color:inherit}
body .site-header .primary-nav{position:absolute;inset-block-start:calc(100% + 12px);inset-inline-start:auto;inset-inline-end:0;display:flex;flex-direction:column;align-items:stretch;gap:0;width:min(360px,calc(100vw - 32px));max-height:calc(100svh - 110px);overflow:auto;padding:22px;background:var(--cream,#f6f1e8);color:var(--ink,#171a17);border:1px solid var(--line,#d9d4ca);box-shadow:0 18px 45px #0003}
body .site-header .primary-nav[hidden]{display:none!important}
body .site-header .primary-nav a{display:flex;align-items:center;min-height:48px;padding:12px;font-size:15px;color:var(--ink,#171a17)}
body .site-header .primary-nav .nav-cta{margin-block-start:12px;border:1px solid currentColor;justify-content:space-between}
body .site-header .primary-nav a:focus-visible{outline:2px solid currentColor;outline-offset:-2px}
