
:root {
  --paper: #f6f2ea;
  --paper-deep: #eee0d0;
  --paper-pale: #fbf8f2;
  --forest: #0e2c26;
  --forest-soft: #173f36;
  --copper: #b8643c;
  --copper-dark: #944a2b;
  --teal: #0a666d;
  --sage-brand: #7fa49a;
  --mist: #bfd9d6;
  --sand: #f2e7d8;
  --sandstone: #dec3a6;
  --sage: #58665f;
  --line: rgba(14, 44, 38, .17);
  --white: #fffdf8;
  --max: 1200px;
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { height: 100%; overflow: hidden; background: var(--paper); }
body {
  margin: 0; min-width: 320px; height: 100%; overflow: hidden;
  color: var(--forest); background: var(--paper);
  font-family: var(--sans); font-size: 1rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
/* Only page content scrolls; the opaque header stays outside the scroll area. */
#app { display: flex; flex-direction: column; height: 100vh; height: 100dvh; overflow: hidden; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); background: var(--paper); }
.page-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior-y: contain; -webkit-overflow-scrolling: touch; scroll-behavior: smooth; scroll-padding-top: 1rem; }
body.menu-open .page-scroll { overflow-y: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
button, a { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 4px; }
::selection { color: var(--white); background: var(--copper-dark); }

.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 200; padding: .8rem 1rem; color: var(--white); background: var(--forest); }
.skip-link:focus { top: 1rem; }
.shell { width: min(100%, calc(var(--max) + var(--gutter) * 2)); margin-inline: auto; padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }

.site-header {
  position: relative; flex: 0 0 auto; z-index: 100; background: var(--paper);
  border-bottom: 1px solid transparent; transition: border-color .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav-wrap { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand-lockup { display: flex; align-items: center; gap: 1.25rem; min-width: 13.8rem; text-decoration: none; }
.brand-mark { width: 31px; height: 49px; object-fit: contain; }
.brand-divider { width: 1px; height: 49px; background: rgba(14,44,38,.35); }
.brand-wordmark { width: 143px; height: auto; }
.header-birds { width: clamp(15rem, 20vw, 24rem); height: 58px; margin: 0 auto 0 -.45rem; object-fit: cover; object-position: center 52%; opacity: .13; pointer-events: none; user-select: none; }
.main-nav { display: flex; align-items: center; gap: .35rem; }
.nav-item { position: relative; }
.nav-parent-row { min-height: 44px; display: flex; align-items: center; border-radius: 999px; color: var(--forest); transition: color .2s ease, background .2s ease; }
.nav-parent-row:hover, .nav-item.open .nav-parent-row, .nav-item.active .nav-parent-row { color: var(--copper-dark); background: rgba(184,100,60,.09); }
.nav-parent-link { min-height: 44px; display: inline-flex; align-items: center; padding: .6rem .28rem .6rem .8rem; color: inherit; font-size: .88rem; font-weight: 650; line-height: 1; text-decoration: none; }
.nav-dropdown-toggle { width: 2.15rem; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 .72rem 0 .35rem; border: 0; border-radius: 0 999px 999px 0; color: inherit; background: transparent; cursor: pointer; }
.nav-link { min-height: 44px; display: inline-flex; align-items: center; padding: .6rem .8rem; border-radius: 999px; color: var(--forest); font-size: .88rem; font-weight: 650; line-height: 1; text-decoration: none; transition: color .2s ease, background .2s ease; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--copper-dark); background: rgba(184,100,60,.09); }
.nav-chevron { width: .48rem; height: .48rem; margin-top: -.2rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .2s ease; }
.nav-dropdown-toggle[aria-expanded="true"] .nav-chevron { margin-top: .2rem; transform: rotate(225deg); }
.nav-dropdown { position: absolute; top: calc(100% + .55rem); left: 50%; z-index: 110; width: max-content; min-width: 18rem; max-width: 22rem; display: grid; gap: .18rem; padding: .55rem; border: 1px solid var(--line); border-radius: 1rem; background: rgba(251,248,242,.98); box-shadow: 0 18px 48px rgba(14,44,38,.14); opacity: 0; visibility: hidden; pointer-events: none; transform: translate(-50%, .45rem); transition: opacity .18s ease, visibility .18s ease, transform .18s ease; }
.nav-item.open .nav-dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.nav-dropdown a { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: .7rem .8rem; border-radius: .7rem; color: var(--forest); font-size: .86rem; font-weight: 600; text-decoration: none; }
.nav-dropdown a span { color: var(--copper-dark); transition: transform .2s ease; }
.nav-dropdown a:hover, .nav-dropdown a:focus-visible { background: var(--sand); }
.nav-dropdown a:hover span { transform: translateX(.18rem); }
.nav-cta { min-height: 44px; display: inline-flex; align-items: center; margin-left: .4rem; padding: .68rem 1.15rem; color: var(--white); background: var(--forest); border-radius: 999px; font-size: .88rem; font-weight: 700; text-decoration: none; transition: background .2s ease, transform .2s ease; }
.nav-cta:hover { background: var(--copper-dark); transform: translateY(-1px); }
.nav-menu-button { min-width: 72px; min-height: 44px; display: none; align-items: center; justify-content: center; gap: .65rem; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--forest); padding: .65rem .9rem; font: 700 .76rem var(--sans); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.menu-lines, .menu-lines::before, .menu-lines::after { width: .9rem; height: 1px; display: block; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.menu-lines { position: relative; }
.menu-lines::before, .menu-lines::after { content: ""; position: absolute; left: 0; }
.menu-lines::before { top: -.28rem; }
.menu-lines::after { top: .28rem; }
.nav-menu-button[aria-expanded="true"] .menu-lines { background: transparent; }
.nav-menu-button[aria-expanded="true"] .menu-lines::before { top: 0; transform: rotate(45deg); }
.nav-menu-button[aria-expanded="true"] .menu-lines::after { top: 0; transform: rotate(-45deg); }

@media (hover: hover) and (pointer: fine) and (min-width: 1051px) {
  .nav-item::after { content: ""; position: absolute; top: 100%; left: -.5rem; right: -.5rem; height: .7rem; }
  html:not(.js) .nav-item:hover .nav-dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
}

main { overflow: clip; }
h1, h2, h3 { margin: 0 0 1.25rem; font-family: var(--serif); font-weight: 500; letter-spacing: -.035em; }
h1 { font-size: clamp(3.35rem, 6.5vw, 6.35rem); line-height: .94; }
h2 { font-size: clamp(2.2rem, 4.15vw, 4.05rem); line-height: 1.04; }
h3 { font-size: clamp(1.45rem, 2.15vw, 2.15rem); line-height: 1.12; }
p { margin: 0 0 1.25rem; }
.eyebrow { margin: 0 0 1.6rem; color: var(--copper-dark); font-size: .75rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.lede { max-width: 46rem; font-size: clamp(1.12rem, 1.8vw, 1.45rem); line-height: 1.48; color: var(--sage); }
.accent { color: var(--copper-dark); }
.section-label { margin: 0; color: var(--copper-dark); font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.section-intro { max-width: 45rem; font-size: clamp(1.1rem, 1.65vw, 1.35rem); color: var(--sage); }

.button-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button { min-height: 3rem; display: inline-flex; align-items: center; justify-content: center; gap: .75rem; padding: .72rem 1.35rem; border: 1px solid var(--forest); border-radius: 999px; color: var(--white); background: var(--forest); font-size: .91rem; font-weight: 700; text-decoration: none; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.button::after { content: "→"; }
.button:hover { color: var(--white); background: var(--copper-dark); border-color: var(--copper-dark); transform: translateY(-2px); }
.button.secondary { color: var(--forest); background: transparent; border-color: var(--line); }
.button.secondary:hover { color: var(--white); border-color: var(--copper-dark); background: var(--copper-dark); }
.button.light { color: var(--forest); background: var(--white); border-color: var(--white); }

.home-hero { padding: clamp(3rem, 5.5vw, 5.5rem) 0 2.5rem; }
.home-hero-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(24rem, 1.05fr); gap: clamp(2.5rem, 5.5vw, 5.5rem); align-items: center; }
.home-hero h1 { max-width: 7.1em; }
.hero-image-frame { position: relative; height: clamp(31rem, 48vw, 42rem); overflow: hidden; border: 1px solid var(--line); border-radius: 1.55rem; background: var(--paper-deep); }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.88) contrast(1.02) brightness(.97); opacity: 0; transform: scale(1.025); transition: opacity .9s ease, transform 6.5s ease; pointer-events: none; }
.hero-slide[src*="wheal-coates-coast"] { object-position: 58% center; }
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-image-frame::after { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(14,44,38,.32)); pointer-events: none; }
.hero-caption { position: absolute; z-index: 2; left: 1.4rem; bottom: 1.2rem; max-width: calc(100% - 14rem); margin: 0; padding: .5rem .75rem; border-radius: 999px; color: var(--white); background: rgba(14,44,38,.8); font-size: .75rem; }
.hero-carousel-controls { position: absolute; z-index: 2; right: 1rem; bottom: .9rem; display: flex; align-items: center; padding: .15rem; border-radius: 999px; background: rgba(14,44,38,.8); }
.carousel-dot, .carousel-toggle { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 50%; color: var(--white); background: transparent; cursor: pointer; }
.carousel-dot span { width: 7px; height: 7px; border: 1px solid currentColor; border-radius: 50%; background: transparent; transition: background .2s ease, transform .2s ease; }
.carousel-dot:hover span, .carousel-dot.is-active span { background: currentColor; transform: scale(1.2); }
.carousel-toggle { font-size: .72rem; }

.belief-band { padding: clamp(2.75rem, 5vw, 4.5rem) 0; background: var(--paper-deep); border-block: 1px solid var(--line); }
.belief-band .section-label { margin-bottom: 2rem; }
.belief-line { max-width: 23em; margin: 0; padding-top: 2rem; border-top: 1px solid var(--line); font: 500 clamp(2rem, 4.3vw, 4.25rem)/1.12 var(--serif); letter-spacing: -.035em; }

.section { padding: clamp(4.5rem, 7vw, 7rem) 0; border-top: 1px solid var(--line); }
.section:first-child { border-top: 0; }

/* Quiet bird fragments create a recurring sense of movement without competing with content. */
.belief-band,
.service-intro,
.section,
.contact-band,
.career-open { position: relative; }
.belief-band > .shell,
.service-intro > .shell,
.section > .shell,
.contact-band > .shell,
.career-open > .shell { position: relative; z-index: 1; }
.belief-band::after,
.service-intro::after,
.bird-accent::after,
.contact-band::after,
.career-open::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: clamp(7.5rem, 10vw, 10.5rem);
  aspect-ratio: 3 / 1;
  background: url("/assets/firecrest-birds-organic.png") center / contain no-repeat;
  opacity: .055;
  pointer-events: none;
  user-select: none;
}
.belief-band::after,
.career-open::after { right: clamp(1rem, 4vw, 4.5rem); top: 1rem; transform: rotate(-2deg); }
.service-intro::after { left: clamp(1rem, 3vw, 3.5rem); bottom: 1rem; transform: scaleX(-1) rotate(2deg); }
.bird-accent::after { right: clamp(1rem, 3vw, 3.5rem); bottom: 1.25rem; transform: rotate(3deg); }
.contact-band::after { left: clamp(1rem, 4vw, 4.5rem); top: 1rem; transform: scaleX(-1) rotate(-3deg); }
.forest-section::after,
.career-open::after { filter: brightness(0) invert(1); opacity: .075; }
.section-head { display: grid; grid-template-columns: minmax(10rem, .38fr) minmax(0, 1.15fr); gap: clamp(2rem, 7vw, 7rem); margin-bottom: clamp(3rem, 6vw, 5.5rem); }
.section-head h2 { max-width: 13em; }

.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.capability-card { min-height: 22rem; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(1.65rem, 3vw, 2.5rem); border: 1px solid var(--line); border-radius: 1.45rem; background: var(--paper-pale); text-decoration: none; transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease; }
.capability-card:nth-child(odd) { color: var(--white); background: var(--forest); }
.capability-card:hover { transform: translateY(-5px); box-shadow: 0 18px 42px rgba(14,44,38,.12); }
.capability-card:nth-child(odd):hover { background: var(--forest-soft); }
.capability-card .number { margin-bottom: auto; color: var(--copper-dark); font-size: .75rem; font-weight: 700; letter-spacing: .15em; }
.capability-card h3 { margin-top: 4rem; }
.capability-card p { margin: 0; opacity: .76; }
.capability-card .card-arrow { margin-top: 2rem; font-size: 1.4rem; }

.sector-feature { display: grid; grid-template-columns: minmax(20rem, .78fr) minmax(0, 1.22fr); gap: clamp(3rem, 8vw, 8rem); align-items: stretch; }
.sector-image { position: relative; min-height: 35rem; margin: 0; overflow: hidden; border-radius: 1.5rem; background: var(--forest); }
.sector-image img { width: 100%; height: 100%; object-fit: cover; transition: opacity .22s ease, transform .45s ease; }
.sector-image img.changing { opacity: .35; transform: scale(1.02); }
.sector-image figcaption { position: absolute; left: 1.25rem; bottom: 1.25rem; padding: .5rem .75rem; border-radius: 999px; color: var(--white); background: rgba(14,44,38,.78); font-size: .74rem; }
.sector-copy { display: flex; flex-direction: column; justify-content: space-between; }
.sector-links { border-top: 1px solid var(--forest); }
.sector-link { display: grid; grid-template-columns: 2.4rem 1fr auto; gap: 1rem; align-items: center; padding: 1.3rem 0; border-bottom: 1px solid var(--line); color: var(--forest); text-decoration: none; }
.sector-link:hover, .sector-link:focus-visible { color: var(--copper-dark); }
.sector-link span:first-child { color: var(--copper-dark); font-size: .75rem; font-weight: 700; }
.sector-link strong { font-family: var(--serif); font-size: clamp(1.18rem, 1.8vw, 1.55rem); font-weight: 500; }

.forest-section { color: var(--white); background: var(--forest); border-color: rgba(255,255,255,.18); }
.forest-section .lede, .forest-section .section-intro { color: rgba(255,255,255,.7); }
.stance-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(3rem, 9vw, 9rem); align-items: end; }
.stance-grid h2 { max-width: 10em; }
.stance-note { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.24); font: 500 1.25rem/1.45 var(--serif); }

.principles { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--forest); }
.principle { min-height: 18rem; padding: 1.8rem clamp(1rem, 2.3vw, 2rem) 1.8rem 0; border-right: 1px solid var(--line); }
.principle + .principle { padding-left: clamp(1rem, 2.3vw, 2rem); }
.principle:last-child { border-right: 0; }
.principle-number { display: block; margin-bottom: 4rem; color: var(--copper-dark); font-size: .74rem; font-weight: 700; letter-spacing: .13em; }
.principle h3 { font-family: var(--sans); font-size: 1.15rem; font-weight: 700; letter-spacing: -.02em; }
.principle p { margin: 0; color: var(--sage); font-size: .94rem; }

.people-partner { display: grid; grid-template-columns: 1.1fr .9fr; }
.editorial-panel { min-height: 34rem; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: clamp(3rem, 5vw, 5rem) var(--gutter); }
.editorial-panel:first-child { color: var(--white); background: var(--forest); }
.editorial-panel:last-child { background: var(--copper-dark); color: var(--white); }
.editorial-panel h2 { max-width: 9.5em; font-size: clamp(2.3rem, 4.4vw, 4.5rem); }
.editorial-panel p { max-width: 35rem; }

.contact-band { padding: clamp(4.5rem, 7vw, 7rem) 0; background: var(--paper-deep); }
.contact-band-grid { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: end; }
.contact-band h2 { max-width: 12em; }

.inner-hero { padding: clamp(4.5rem, 7vw, 7rem) 0 clamp(3.75rem, 6vw, 5.75rem); }
.inner-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(19rem, .75fr); gap: clamp(2rem, 8vw, 8rem); align-items: end; }
.inner-hero h1 { max-width: 11em; }
.inner-hero .lede { padding-left: clamp(1.25rem, 3vw, 3rem); border-left: 1px solid var(--line); }

.service-intro { padding: clamp(3rem, 6vw, 5.5rem) 0; background: var(--paper-deep); }
.service-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; }
.service-card { min-height: 13.5rem; padding: clamp(1.5rem, 2.7vw, 2.25rem); border-radius: 1.4rem; background: var(--paper-pale); }
.service-card:nth-child(odd) { color: var(--white); background: var(--forest); }
.service-card h3 { font-size: clamp(1.4rem, 2vw, 1.9rem); }
.service-card p { margin: 0; opacity: .76; }

.service-detail { display: grid; grid-template-columns: 4rem minmax(0, 1.02fr) minmax(18rem, .72fr); gap: clamp(1rem, 5vw, 5rem); padding: clamp(4rem, 8vw, 7.5rem) 0; border-top: 1px solid var(--line); }
.service-detail:first-child { border-top-color: var(--forest); }
.service-number { color: var(--copper-dark); font-size: .75rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.service-copy p { max-width: 43rem; color: var(--sage); font-size: 1.05rem; }
.practice { align-self: start; padding-top: .7rem; }
.practice-label { margin-bottom: 1rem; color: var(--copper-dark); font-size: .74rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.practice ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.practice li { position: relative; padding: .72rem 0 .72rem 1.5rem; border-bottom: 1px solid var(--line); font-size: .9rem; }
.practice li::before { content: ""; position: absolute; left: 0; top: 1.15rem; width: .75rem; height: 1px; background: var(--copper-dark); }

.sector-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.sector-card { min-height: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 1.5rem; background: var(--paper-pale); transition: transform .22s ease, box-shadow .22s ease; }

.sector-card:first-child, .sector-card:last-child { color: var(--white); background: var(--forest); }
.sector-card-image { position: relative; aspect-ratio: 2 / 1; margin: 0; overflow: hidden; background: var(--sand); }
.sector-card-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,44,38,.04), rgba(14,44,38,.24)); pointer-events: none; }
.sector-card-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.58) contrast(1.04) brightness(.96); transition: filter .5s ease, transform .5s ease; }

#secure-government-defence .sector-card-image img { object-position: center 58%; }
#government-public-bodies .sector-card-image img { object-position: center 47%; }
#healthcare-nhs .sector-card-image img { object-position: center 52%; }
#infrastructure-transport .sector-card-image img { object-position: center 62%; }
.sector-card-copy { flex: 1; display: flex; flex-direction: column; padding: clamp(1.7rem, 3.2vw, 2.6rem); }
.sector-card .number { margin-bottom: 1.65rem; color: var(--copper-dark); font-size: .74rem; font-weight: 700; letter-spacing: .14em; }
.sector-card h2 { min-height: 2.08em; margin: 0 0 1rem; font-size: clamp(2rem, 3vw, 3.1rem); }
.sector-summary { min-height: 3.2em; margin-bottom: 2rem; color: var(--sage); font-size: 1rem; font-weight: 400; line-height: 1.6; }
.sector-card:first-child .sector-summary, .sector-card:last-child .sector-summary { color: #a8b8b1; }
.sector-fit { margin-top: auto; border-top: 1px solid var(--line); }
.sector-fit-head, .sector-fit-row { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 1rem; }
.sector-fit-head { padding: .8rem 0; color: var(--copper-dark); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.sector-fit-row { align-items: center; padding: .92rem 0; border-top: 1px solid var(--line); font-size: .875rem; line-height: 1.38; }
.sector-fit-row > span { opacity: .72; }
.sector-fit-row a { display: flex; align-items: center; justify-content: space-between; gap: .65rem; color: var(--forest); font-weight: 700; text-decoration: none; }
.sector-fit-row a span { transition: transform .2s ease; }
.sector-fit-row a:hover span { transform: translateX(.2rem); }
.sector-fit-row a:hover { color: var(--copper-dark); }
.sector-card:first-child .sector-fit, .sector-card:last-child .sector-fit,
.sector-card:first-child .sector-fit-row, .sector-card:last-child .sector-fit-row { border-color: rgba(255,255,255,.2); }
.sector-card:first-child .sector-fit-head, .sector-card:last-child .sector-fit-head,
.sector-card:first-child .sector-fit-row a, .sector-card:last-child .sector-fit-row a { color: #e0a47e; }

.values { border-top: 1px solid var(--forest); }
.value-row { display: grid; grid-template-columns: 4rem minmax(13rem, .75fr) minmax(18rem, 1.25fr); gap: clamp(1rem, 5vw, 5rem); padding: 2.5rem 0; border-bottom: 1px solid var(--line); }
.value-row h3 { margin: 0; font-size: clamp(1.4rem, 2.2vw, 2.1rem); }
.value-row p { max-width: 44rem; margin: 0; color: var(--sage); }
.llp-note { display: grid; grid-template-columns: minmax(9rem, .42fr) minmax(18rem, 1.58fr); gap: clamp(1.5rem, 5vw, 5rem); margin-top: clamp(2.5rem, 5vw, 5rem); padding: clamp(1.5rem, 3vw, 2.5rem); border-left: 3px solid var(--copper); background: var(--paper-deep); }
.llp-note p:last-child { max-width: 52rem; margin: 0; color: var(--forest); font-family: var(--serif); font-size: clamp(1.35rem, 2.3vw, 2rem); line-height: 1.25; }

.careers-hero { background: linear-gradient(145deg, var(--paper) 0%, var(--paper) 62%, var(--sand) 100%); }
.career-feature-section { padding-top: 0; }
.career-feature { padding: clamp(2.5rem, 5.5vw, 5.25rem); border-radius: 1.5rem; color: var(--white); background: var(--forest); }
.career-feature-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(2.5rem, 7vw, 7rem); }
.career-feature h2 { max-width: 10em; }
.career-feature-lede { max-width: 46rem; color: rgba(255,255,255,.75); font-size: clamp(1.05rem, 1.45vw, 1.22rem); }
.culture-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: clamp(2rem, 4vw, 3.5rem); }
.culture-card { min-height: 17rem; padding: clamp(1.5rem, 2.8vw, 2.2rem); border: 1px solid rgba(255,255,255,.19); border-radius: 1.25rem; background: rgba(255,255,255,.055); }
.culture-card:last-child { background: var(--copper-dark); border-color: var(--copper-dark); }
.culture-card .section-label { margin-bottom: 2.8rem; color: #e9a985; }
.culture-card:last-child .section-label { color: rgba(255,255,255,.9); }
.culture-card h3 { font-size: clamp(1.45rem, 2vw, 1.85rem); }
.culture-card p:last-child { margin: 0; color: rgba(255,255,255,.76); }
.culture-card:last-child p:last-child { color: rgba(255,255,255,.92); }
.career-values { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--forest); }
.career-value { min-height: 20rem; padding: 2rem clamp(1.25rem, 2.5vw, 2.25rem) 2rem 0; border-right: 1px solid var(--line); }
.career-value + .career-value { padding-left: clamp(1.25rem, 2.5vw, 2.25rem); }
.career-value:last-child { border-right: 0; }
.career-value .service-number { display: block; margin-bottom: 4rem; }
.career-value h3 { font-size: clamp(1.4rem, 2vw, 1.9rem); }
.career-value p { margin: 0; color: var(--sage); }
.contribution-section { background: var(--paper-deep); }
.contribution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.contribution-card { min-height: 23rem; padding: clamp(1.7rem, 3vw, 2.6rem); border: 1px solid var(--line); border-radius: 1.4rem; background: var(--paper-pale); }
.contribution-card:nth-child(2) { color: var(--white); background: var(--forest); }
.contribution-card .service-number { display: block; margin-bottom: 4.25rem; }
.contribution-card h3 { min-height: 2.4em; font-size: clamp(1.55rem, 2.2vw, 2rem); }
.contribution-card p { margin: 2rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--sage); }
.contribution-card:nth-child(2) p { color: rgba(255,255,255,.72); border-color: rgba(255,255,255,.24); }
.process-section { background: var(--paper); }
.process-grid { display: grid; grid-template-columns: minmax(0, .86fr) minmax(24rem, 1.14fr); gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.process-grid h2 { max-width: 10em; }
.process-kicker { margin: 0 0 1.25rem; color: var(--copper-dark); font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.process-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--forest); }
.process-step { display: grid; grid-template-columns: 3.5rem 1fr; gap: 1.25rem; padding: 1.8rem 0; border-bottom: 1px solid var(--line); }
.process-step > span { padding-top: .25rem; color: var(--copper-dark); font-size: .75rem; font-weight: 700; letter-spacing: .13em; }
.process-step h3 { margin-bottom: .6rem; font-family: var(--sans); font-size: 1.08rem; font-weight: 700; letter-spacing: -.02em; }
.process-step p { max-width: 38rem; margin: 0; color: var(--sage); }
.career-open { padding: clamp(4.5rem, 7vw, 7rem) 0; color: var(--white); background: var(--forest); }
.career-open-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(3rem, 7vw, 7rem); align-items: end; }
.career-open h2 { max-width: 10em; }
.career-open .lede { color: rgba(255,255,255,.72); }
.career-open-action { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.career-email { color: rgba(255,255,255,.72); font-size: .88rem; overflow-wrap: anywhere; }

.contact-options { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1rem; }
.contact-primary, .contact-secondary { min-height: 25rem; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; padding: clamp(2.5rem, 5vw, 4.5rem); border-radius: 1.5rem; }
.contact-primary { color: var(--white); background: var(--forest); }
.contact-secondary { background: var(--paper-deep); }
.contact-primary .lede { color: rgba(255,255,255,.7); }
.contact-list { width: 100%; border-top: 1px solid var(--line); }
.contact-list a { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 650; }

.site-footer { padding: clamp(4.5rem, 8vw, 7rem) 0 2rem; color: var(--white); background: var(--forest); }
.site-footer .brand-lockup { width: max-content; padding: 0; border: 0; border-radius: 0; background: transparent; }
.site-footer .brand-wordmark { filter: brightness(0) invert(1); }
.site-footer .brand-divider { display: none; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: clamp(3rem, 8vw, 8rem); padding-bottom: clamp(4rem, 7vw, 6rem); }
.footer-brandline { max-width: 9em; margin: 2rem 0 0; font: 500 clamp(2rem, 3.8vw, 3.8rem)/1.05 var(--serif); letter-spacing: -.035em; }
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(9rem, 1fr)); gap: .7rem 3rem; align-content: start; }
.footer-nav a { color: var(--white); text-decoration: none; }
.footer-nav a:hover { color: #e0a47e; }
.footer-bottom { display: flex; justify-content: space-between; gap: 2rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.62); font-size: .82rem; }
.footer-bottom a { color: inherit; }
.image-credits { max-width: 48rem; margin-top: 1.15rem; color: rgba(255,255,255,.5); font-size: .75rem; }
.image-credits summary { width: max-content; min-height: 32px; display: flex; align-items: center; cursor: pointer; }
.image-credits p { margin: .35rem 0 0; line-height: 1.55; }
.image-credits a { color: inherit; }

.reveal { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease; }
.js .reveal.reveal-pending { opacity: 0; transform: translateY(20px); }
.js .reveal.reveal-pending.in-view, .js .reveal.reveal-pending:focus-within, .reveal.in-view { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .nav-wrap { min-height: 80px; }
  .nav-menu-button { display: inline-flex; }
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - 80px); max-height: calc(100dvh - 80px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); display: none; padding: .65rem var(--gutter) calc(1.25rem + env(safe-area-inset-bottom)); flex-direction: column; align-items: stretch; gap: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; background: rgba(246,242,234,.99); border-bottom: 1px solid var(--line); box-shadow: 0 18px 45px rgba(14,44,38,.12); }
  .main-nav.open { display: flex; }
  .nav-item { width: 100%; border-bottom: 1px solid var(--line); }
  .nav-parent-row { width: 100%; min-height: 54px; border-radius: 0; background: transparent; }
  .nav-parent-row:hover, .nav-item.open .nav-parent-row, .nav-item.active .nav-parent-row { background: transparent; }
  .nav-parent-link { min-height: 54px; flex: 1; padding: .8rem 0; font-size: 1rem; }
  .nav-dropdown-toggle { width: 54px; min-height: 54px; padding: 0; border-radius: 0; }
  .nav-link { width: 100%; min-height: 54px; justify-content: flex-start; padding: .8rem 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; font-size: 1rem; }
  .nav-link:hover, .nav-link[aria-current="page"] { background: transparent; }
  .nav-dropdown { position: static; width: 100%; max-width: none; min-width: 0; display: none; gap: .08rem; padding: 0 0 .7rem .65rem; border: 0; border-radius: 0; background: transparent; box-shadow: none; opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition: none; }
  .nav-item.open .nav-dropdown { display: grid; transform: none; }
  .nav-dropdown a { min-height: 46px; padding: .65rem .8rem; border-left: 1px solid var(--line); border-radius: 0; font-size: .92rem; }
  .nav-cta { min-height: 50px; justify-content: center; margin: .85rem 0 0; font-size: .94rem; text-align: center; }
  body.menu-open { overflow: hidden; }
  .home-hero-grid, .inner-hero-grid, .section-head, .stance-grid, .sector-feature, .career-feature-grid, .process-grid, .career-open-grid, .contact-options, .llp-note { grid-template-columns: 1fr; }
  .home-hero h1 { max-width: 8.5em; }
  .hero-image-frame { height: min(72vw, 38rem); }
  .sector-image { min-height: min(66vw, 34rem); }
  .capability-grid, .service-card-grid { grid-template-columns: 1fr; }
  .capability-card { min-height: 17rem; }
  .principles { grid-template-columns: repeat(2, 1fr); }
  .principle:nth-child(2) { border-right: 0; }
  .service-detail { grid-template-columns: 3rem 1fr; }
  .practice { grid-column: 2; }
  .inner-hero .lede { padding-left: 1.5rem; }
}

@media (max-width: 1200px) {
  .header-birds { display: none; }
}

@media (max-width: 880px) {
  .sector-grid { grid-template-columns: 1fr; }
  .sector-card h2, .sector-summary { min-height: 0; }
}

@media (max-width: 680px) {
  :root { --gutter: 1.2rem; }
  .belief-band::after, .service-intro::after, .bird-accent::after, .contact-band::after, .career-open::after { display: none; }
  .brand-lockup { min-width: 0; gap: .75rem; }
  .brand-mark { width: 25px; height: 40px; }
  .brand-divider { height: 40px; }
  .brand-wordmark { width: 118px; }
  h1 { font-size: clamp(2.85rem, 13.5vw, 4.4rem); }
  h2 { font-size: clamp(2rem, 10vw, 3.25rem); }
  .home-hero, .inner-hero { padding-top: 3.5rem; }
  .section { padding-block: 4rem; }
  .button-row, .button { width: 100%; }
  .hero-image-frame { height: 110vw; max-height: 35rem; }
  .hero-caption { left: 1rem; right: 1rem; bottom: 4.45rem; max-width: max-content; }
  .hero-carousel-controls { right: 1rem; bottom: .8rem; }
  .sector-image { min-height: 25rem; }
  .principles, .people-partner, .sector-grid, .culture-cards, .career-values, .contribution-grid { grid-template-columns: 1fr; }
  .principle, .principle + .principle { min-height: auto; padding: 1.8rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .principle-number { margin-bottom: 2rem; }
  .editorial-panel { min-height: 28rem; }
  .contact-band-grid { grid-template-columns: 1fr; }
  .service-detail { grid-template-columns: 1fr; gap: 1rem; }
  .service-copy, .practice { grid-column: 1; }
  .value-row { grid-template-columns: 1fr; gap: .75rem; }
  .value-row p { grid-column: 1; }
  .sector-card { min-height: 0; }
  .sector-fit-head { display: none; }
  .sector-fit-row { grid-template-columns: 1fr; gap: .35rem; }
  .sector-fit-row a { justify-content: flex-start; }
  .career-value, .career-value + .career-value { min-height: auto; padding: 1.8rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .career-value .service-number, .contribution-card .service-number { margin-bottom: 2.5rem; }
  .contribution-card { min-height: 0; }
  .contribution-card h3 { min-height: 0; }
  .process-step { grid-template-columns: 2.5rem 1fr; gap: .75rem; }
  .career-open-action, .career-open-action .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: .6rem; }
}

@media (max-width: 390px) {
  .brand-wordmark { width: 104px; }
  .brand-mark { width: 23px; }
  .nav-menu-button { min-width: 66px; padding-inline: .72rem; }
  .sector-link { grid-template-columns: 1.9rem 1fr auto; gap: .7rem; }
}

@media (prefers-reduced-motion: reduce) {
  html, .page-scroll { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .js .reveal.reveal-pending { opacity: 1; transform: none; }
  .hero-slide { transform: none; transition: opacity .01ms linear; }
}

/* Content and navigation remain available without JavaScript. */
html:not(.js) .nav-menu-button, html:not(.js) .nav-dropdown-toggle, html:not(.js) .hero-carousel-controls { display: none; }
html:not(.js) .main-nav { display: flex; position: static; max-height: none; visibility: visible; opacity: 1; transform: none; }
html:not(.js) .nav-dropdown { display: grid; position: static; opacity: 1; visibility: visible; pointer-events: auto; transform: none; box-shadow: none; }
@media (max-width: 1050px) { html:not(.js) .nav-wrap { flex-wrap: wrap; } html:not(.js) .main-nav { width: 100%; } }

.service-card h3 a { color: inherit; text-decoration: none; }
.service-card h3 a:hover { text-decoration: underline; text-underline-offset: .2em; }

@media print { html, body, #app { height: auto; overflow: visible; } #app { display: block; padding: 0; } .page-scroll { overflow: visible; } }

/* Review: shared tracks align paired cards without fixing text heights. */
.sector-needs, .sector-fit-row dd { margin: 0; }
.sector-fit-row dt { color: var(--sage); }
.sector-card:first-child .sector-fit-row dt, .sector-card:last-child .sector-fit-row dt { color: #a8b8b1; }
.sector-card:first-child .number, .sector-card:last-child .number,
.forest-section .eyebrow, .career-open .eyebrow, .contact-primary .eyebrow,
.contribution-card:nth-child(2) .service-number { color: #e0a47e; }
.engagement-summary { margin: 1.5rem 0 2rem; padding: 1.25rem; background: var(--paper-deep); border-left: 2px solid var(--copper); }
.engagement-summary dt { font-weight: 700; font-size: .875rem; }
.engagement-summary dd { margin: .35rem 0 1rem; }
.engagement-summary dd:last-child { margin-bottom: 0; }
.contact-email { margin: 1rem 0; overflow-wrap: anywhere; }
.contact-primary > p { font-size: .9rem; color: #a8b8b1; }
.image-credits { color: #a8b8b1; }
.capability-card:nth-child(odd) .number, .forest-section .accent,
.editorial-panel:first-child .section-label { color: #e0a47e; }
.editorial-panel:last-child .section-label { color: var(--white); }
.section { padding-block: clamp(3.5rem, 6vw, 6rem); }
.service-detail { padding-block: clamp(3rem, 5vw, 5rem); }
@supports (grid-template-rows: subgrid) {
  @media (min-width: 881px) {
    .sector-grid { row-gap: 0; }
    .sector-card { display: grid; grid-row: span 8; grid-template-rows: subgrid; margin-bottom: 1rem; }
    .sector-card-copy { display: grid; grid-row: span 7; grid-template-rows: subgrid; padding-block: 1.8rem; }
    .sector-card .number { margin: 0 0 1.4rem; }
    .sector-card h2 { min-height: 0; margin-bottom: .9rem; }
    .sector-summary { min-height: 0; margin-bottom: 1.8rem; }
    .sector-fit { display: grid; grid-row: span 4; grid-template-rows: subgrid; margin: 0; }
    .sector-needs { display: grid; grid-row: span 3; grid-template-rows: subgrid; }
  }
}
html:not(.js), html:not(.js) body, html:not(.js) #app { height: auto; overflow: visible; }
html:not(.js) #app { display: block; }
html:not(.js) .page-scroll { overflow: visible; }
html:not(.js) .nav-wrap { flex-wrap: wrap; }
html:not(.js) .main-nav { flex-wrap: wrap; }
html:not(.js) .hero-slide:not(.is-active) { display: none; }
