/* Official Still Earth Construction brand application. Loaded after site.css. */
:root {
  --sec-olive: #67685d;
  --sec-gold: #dbb027;
  --sec-gold-light: #f1d875;
  --sec-charcoal: #30312d;
  --sec-ivory: #fcfbf7;
  --sec-stone: #e8e7df;
}

/* The supplied full-colour logo is most legible on a clean light brand surface. */
.site-header,
.site-header.is-scrolled {
  height: 100px;
  color: var(--sec-charcoal);
  background: var(--sec-ivory);
  box-shadow: 0 1px 0 rgba(48, 49, 45, .13);
  backdrop-filter: none;
}

.site-nav a { color: var(--sec-charcoal); }
.site-nav a:hover,
.site-nav .current-menu-item > a,
.header-cta span { color: #9b7915; }
.header-cta { border-color: rgba(48, 49, 45, .38); }
.site-mark--official { width: 78px; flex: 0 0 78px; }
.site-mark--official img { width: 100%; height: auto; }
.menu-toggle > span:not(.sr-only) { background: var(--sec-charcoal); }

/* Page heroes should introduce the page, not consume it. */
.page-hero,
.archive-hero {
  min-height: 420px;
  padding: 150px 0 54px;
}

.page-hero h1,
.archive-hero h1 { font-size: clamp(2.7rem, 4.4vw, 4.7rem); }
.page-hero__visual img { filter: saturate(.76) contrast(.92); }
.project-hero { height: 590px; min-height: 530px; }

/* The final call-out has a deliberately softened real construction image behind it. */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--sec-charcoal);
}

.cta-band__visual,
.cta-band__veil {
  position: absolute;
  inset: 0;
}

.cta-band__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(3px) saturate(.7) brightness(.55);
  transform: scale(1.04);
}

.cta-band__veil { background: linear-gradient(90deg, rgba(32, 33, 28, .84), rgba(32, 33, 28, .68)); }
.cta-band__inner { position: relative; z-index: 1; }
.cta-band .eyebrow { color: var(--sec-gold-light); }
.cta-band p { color: rgba(255, 255, 255, .88); }

/* The supplied white mark closes the site against a deep construction-charcoal footer. */
.site-footer {
  color: var(--sec-ivory);
  background: var(--sec-charcoal);
  border-top: 5px solid var(--sec-gold);
}

.site-footer .site-mark--official { width: 132px; }
.site-footer__brand p,
.site-footer address,
.site-footer__bottom { color: rgba(255, 255, 255, .65); }
.site-footer a { color: var(--sec-ivory); }
.site-footer a:hover { color: var(--sec-gold-light); }
.footer-label { color: var(--sec-gold-light); }
.site-footer__bottom { border-color: rgba(255, 255, 255, .17); }

@media (max-width: 760px) {
  .site-header,
  .site-header.is-scrolled { height: 82px; }
  .site-mark--official { width: 62px; flex-basis: 62px; }
  .site-nav { inset: 82px 0 0; }
  .menu-open .site-nav { color: var(--sec-ivory); }
  .menu-open .site-nav a { color: var(--sec-ivory); }
  .page-hero,
  .archive-hero { min-height: 330px; padding: 122px 0 42px; }
  .page-hero h1,
  .archive-hero h1 { font-size: clamp(2.55rem, 11vw, 3.8rem); }
  .project-hero { height: 480px; min-height: 460px; }
}

/* The homepage keeps the image-led first impression; the header settles only after it. */
.home .site-header {
  background: rgba(252, 251, 247, .80);
  backdrop-filter: blur(12px) saturate(.92);
}

.home .site-header.is-scrolled {
  background: var(--sec-ivory);
  backdrop-filter: none;
}

/* Lead project extends across the grid, not vertically down the page. */
.project-grid--featured { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.project-grid--featured .project-card:first-child {
  grid-column: span 2;
  grid-row: auto;
  min-height: 510px;
}

/* The project image is the evidence for the adjacent delivery statement. */
.ongoing-projects { background: var(--sec-ivory); }
.ongoing-projects__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr);
  align-items: center;
  gap: clamp(34px, 5vw, 72px);
  margin-bottom: 45px;
}

.ongoing-projects__intro .section-heading { display: block; margin: 0; }
.ongoing-projects__intro .section-heading > p { margin-top: 20px; }
.ongoing-projects__image { position: relative; margin: 0; height: clamp(270px, 22vw, 355px); overflow: hidden; box-shadow: 0 20px 42px rgba(48, 49, 45, .16); }
.ongoing-projects__image:after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(48, 49, 45, .22), transparent 68%); }
.ongoing-projects__image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.98) contrast(1.04); }
.ongoing-projects__image figcaption { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 14px; color: #fff; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }

@media (max-width: 1000px) {
  .project-grid--featured .project-card:first-child { min-height: 460px; }
}

@media (max-width: 760px) {
  .project-grid--featured { grid-template-columns: 1fr; }
  .project-grid--featured .project-card:first-child { grid-column: auto; min-height: 400px; }
  .ongoing-projects__intro { grid-template-columns: 1fr; gap: 25px; }
  .ongoing-projects__image { height: 250px; }
}

/* Sticky header: transparent over the hero, progressively frosted and compact on scroll. */
.site-header,
.site-header.is-scrolled,
.home .site-header,
.home .site-header.is-scrolled {
  position: fixed;
  top: 0;
  height: calc(100px - (24px * var(--sec-header-progress, 1)));
  color: var(--sec-charcoal);
  background: rgb(252 251 247 / calc(.12 + (.88 * var(--sec-header-progress, 1))));
  box-shadow: 0 1px 0 rgb(48 49 45 / calc(.02 + (.13 * var(--sec-header-progress, 1))));
  backdrop-filter: blur(calc(4px + (9px * var(--sec-header-progress, 1)))) saturate(.93);
}

.site-header.is-scrolled,
.home .site-header.is-scrolled { backdrop-filter: blur(13px) saturate(.93); }
.site-header .site-mark--official { width: calc(78px - (13px * var(--sec-header-progress, 1))); flex-basis: calc(78px - (13px * var(--sec-header-progress, 1))); }
.site-header .site-nav .menu { gap: calc(25px - (6px * var(--sec-header-progress, 1))); }
.site-header .header-cta { padding: calc(13px - (2px * var(--sec-header-progress, 1))) 16px; }

/* Exactly three recent projects, presented as a one-line editorial carousel. */
.project-grid--featured {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--sec-gold) rgba(255, 255, 255, .14);
  scrollbar-width: thin;
}

.project-grid--featured .project-card,
.project-grid--featured .project-card:first-child {
  flex: 0 0 clamp(300px, 29vw, 430px);
  grid-column: auto;
  grid-row: auto;
  min-height: 445px;
  scroll-snap-align: start;
}

.project-grid--featured .project-card:nth-child(1) { flex-basis: clamp(440px, 48vw, 660px); min-height: 410px; }
.project-grid--featured .project-card:nth-child(2) { flex-basis: clamp(295px, 25vw, 370px); min-height: 555px; }
.project-grid--featured .project-card:nth-child(3) { flex-basis: clamp(380px, 35vw, 520px); min-height: 445px; }

/* Full portfolio: varied, dense masonry-like composition rather than a uniform card wall. */
.project-grid--archive {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: dense;
  grid-auto-rows: 145px;
}

.project-grid--archive .project-card { min-height: 0; }
.project-grid--archive .project-card:nth-child(6n + 1) { grid-column: span 2; grid-row: span 3; }
.project-grid--archive .project-card:nth-child(6n + 2) { grid-row: span 4; }
.project-grid--archive .project-card:nth-child(6n + 3) { grid-row: span 3; }
.project-grid--archive .project-card:nth-child(6n + 4) { grid-column: span 2; grid-row: span 3; }
.project-grid--archive .project-card:nth-child(6n + 5) { grid-row: span 3; }
.project-grid--archive .project-card:nth-child(6n + 6) { grid-row: span 3; }

@media (min-width: 761px) and (max-width: 1000px) {
  .project-grid--archive { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .site-header,
  .site-header.is-scrolled,
  .home .site-header,
  .home .site-header.is-scrolled { height: calc(82px - (10px * var(--sec-header-progress, 1))); }
  .site-header .site-mark--official { width: calc(62px - (8px * var(--sec-header-progress, 1))); flex-basis: calc(62px - (8px * var(--sec-header-progress, 1))); }
  .project-grid--featured .project-card:nth-child(1),
  .project-grid--featured .project-card:nth-child(2),
  .project-grid--featured .project-card:nth-child(3) { flex-basis: min(84vw, 390px); min-height: 430px; }
  /* Narrow screens need readable cards, not fixed-height miniature masonry. */
  .project-grid--archive { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
  .project-grid--archive .project-card:nth-child(n) { grid-column: auto; grid-row: auto; min-height: 0; }
  .project-grid--archive .project-card a { position: relative; display: flex; align-items: flex-end; min-height: 420px; }
  .project-grid--archive .project-card__image { position: absolute; inset: 0; }
  .project-grid--archive .project-card__copy { position: relative; width: 100%; padding: 24px; }
  .project-grid--archive .project-card strong { font-size: clamp(1.5rem, 6vw, 1.9rem); overflow-wrap: anywhere; }
  /* Match the desktop selector's specificity so this split really collapses. */
  .why-section .split { grid-template-columns: minmax(0, 1fr); }
  .why-section .split > *, .accordion-list { min-width: 0; }
  .accordion-list summary { overflow-wrap: anywhere; }
}

.whistleblower-page article > ul { color: var(--muted); padding-left: 22px; }
.whistleblower-page article > ul li { margin: 9px 0; }
.whistleblower-page__report {
  margin: 58px 0;
  padding: clamp(26px, 5vw, 58px);
  background: var(--sec-stone);
}
.whistleblower-page__report > div:first-child { max-width: 620px; }
.whistleblower-page__report h2 { font-size: clamp(2rem, 3.3vw, 3.2rem); margin-bottom: 12px; }
.whistleblower-page__report form { margin-top: 35px; }
.anonymous-choice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 17px;
  margin: 0 0 22px;
  background: rgba(252, 251, 247, .78);
}
.anonymous-choice label { margin: 0; white-space: nowrap; }
.anonymous-choice span { font-size: 12px; color: var(--muted); line-height: 1.45; }
.whistleblower-form .form-consent { margin: 14px 0; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

@media (max-width: 760px) {
  .anonymous-choice { display: block; }
  .anonymous-choice span { display: block; margin-top: 8px; }
}
/* Typography — Manrope is the sole family so the design stays precise and mature. */
:root {
  --sans: "Manrope", Arial, Helvetica, sans-serif;
  --serif: "Manrope", Arial, Helvetica, sans-serif;
}

body {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -0.008em;
}

h1,
h2,
h3,
.lead-copy,
.project-card strong,
.insight-card h3,
.accordion-list summary,
.values-grid h3,
.assurance-grid h3,
.project-facts strong,
.project-content h3 {
  font-family: var(--sans);
  font-style: normal;
}

h1,
h2 {
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

h3,
.project-card strong,
.insight-card h3,
.accordion-list summary,
.values-grid h3,
.assurance-grid h3,
.project-facts strong,
.project-content h3 {
  font-weight: 700;
}

.lead-copy {
  font-weight: 600;
  letter-spacing: -0.032em;
}

/* Header mark and navigation respond with the same measured transition as the shell. */
.site-mark--dynamic {
  position: relative;
  display: block;
  aspect-ratio: 1;
}

.site-mark--dynamic img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity .28s ease;
}

.site-mark--dynamic .site-mark__light { opacity: 0; }
.site-mark--dynamic .site-mark__colour { opacity: 1; }
.home .site-header { --sec-header-progress: 0; }
.home .site-mark--dynamic .site-mark__light { opacity: calc(1 - var(--sec-header-progress, 0)); }
.home .site-mark--dynamic .site-mark__colour { opacity: var(--sec-header-progress, 0); }

.home .site-header .site-nav a,
.home .site-header .header-cta,
.home .site-header .menu-toggle > span:not(.sr-only) {
  color: color-mix(in srgb, var(--sec-ivory) calc((1 - var(--sec-header-progress, 0)) * 100%), var(--sec-charcoal));
}

.home .site-header .header-cta { border-color: color-mix(in srgb, rgba(255, 255, 255, .66) calc((1 - var(--sec-header-progress, 0)) * 100%), rgba(48, 49, 45, .38)); }
.home .site-header .header-cta span { color: currentColor; }
.home .site-header .menu-toggle > span:not(.sr-only) { background: currentColor; }

.site-nav a {
  position: relative;
  display: inline-block;
  padding: 9px 0 12px;
}

/* Corporate Culture sits beneath About: discoverable without making the main navigation busier. */
.site-nav .menu > li { position: relative; }
.site-nav .sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 7px);
  left: -18px;
  min-width: 190px;
  margin: 0;
  padding: 10px 18px;
  list-style: none;
  background: var(--sec-ivory);
  color: var(--sec-charcoal);
  box-shadow: 0 14px 30px rgba(48, 49, 45, .15);
}
.site-nav .menu > li:hover > .sub-menu,
.site-nav .menu > li:focus-within > .sub-menu { display: block; }
.site-nav .sub-menu a { padding: 8px 0; font-size: 10px; white-space: nowrap; }
.site-nav .sub-menu .current-menu-item > a { color: var(--sec-charcoal); }

/* Project facts adapt to the approved information available for each public case study. */
.project-facts .container { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }

@media (max-width: 760px) {
  .site-nav .sub-menu {
    display: block;
    position: static;
    min-width: 0;
    margin: 2px 0 0;
    padding: 4px 0 0 18px;
    background: transparent;
    color: var(--sec-ivory);
    box-shadow: none;
  }
  .site-nav .sub-menu a { color: var(--sec-ivory); font-size: 1.08rem; padding: 9px 0; white-space: normal; }
  .site-nav .sub-menu .current-menu-item > a { color: var(--sec-gold-light); }
}

.site-nav .current-menu-item > a,
.site-nav .current_page_item > a { color: inherit; }

.site-nav .current-menu-item > a::after,
.site-nav .current_page_item > a::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 2px;
  left: 0;
  bottom: 3px;
  background: var(--sec-gold);
  border-radius: 2px;
}

/* The full project archive receives the same compact, image-led page entry as the rest of the site. */
.archive-hero__visual,
.archive-hero__veil {
  position: absolute;
  inset: 0;
}

.archive-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.72) contrast(.9);
}

.archive-hero__veil { background: linear-gradient(90deg, rgba(30, 31, 27, .84), rgba(30, 31, 27, .28)), linear-gradient(0deg, rgba(30, 31, 27, .52), transparent); }
.archive-hero__inner { position: relative; z-index: 1; }

/* These diagrams are intentional layout stand-ins, not claims of certification. */
.standards-placeholders {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.standards-placeholders figure { margin: 0; }
.standards-placeholders img { display: block; width: 100%; height: auto; box-shadow: 0 12px 24px rgba(48, 49, 45, .08); }
.standards-placeholders figcaption { padding: 12px 2px 0; font-size: 12px; line-height: 1.35; color: var(--sec-charcoal); font-weight: 700; }
.standards-placeholders figcaption small { color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }

@media (max-width: 760px) {
  .menu-open .site-header .site-nav a { color: var(--sec-ivory); }
  .standards-placeholders { grid-template-columns: 1fr; gap: 26px; }
  .standards-placeholders figure { max-width: 390px; }
}

/* Mobile navigation must remain readable above any image-led page section. */
@media (max-width: 760px) {
  .site-nav,
  .menu-open .site-nav {
    /* The desktop nav uses margin-left:auto and --container as its layout width.
       Reset both here: using that width as mobile padding collapses the panel. */
    inset: calc(82px - (10px * var(--sec-header-progress, 0))) 0 0;
    width: auto;
    height: auto;
    margin: 0 !important;
    padding: 26px 16px calc(32px + env(safe-area-inset-bottom));
    background: #30312d !important;
    border-top: 1px solid rgba(255, 255, 255, .16);
    box-shadow: 0 18px 34px rgba(20, 21, 18, .34);
    backdrop-filter: none;
  }

  /* The nav is nested in the fixed header.  On mobile, use an explicit
     viewport-height absolute overlay so it cannot be clipped to header height. */
  .menu-open .site-nav {
    position: absolute;
    inset: calc(82px - (10px * var(--sec-header-progress, 0))) 0 auto;
    height: calc(100dvh - 82px + (10px * var(--sec-header-progress, 0)));
  }

  /* A backdrop-filter creates a containing block for fixed children. Disable it
     while the menu is open so the panel can fill the viewport below the header. */
  .menu-open .site-header,
  .menu-open .home .site-header {
    background: #30312d !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .site-nav .menu { background: transparent; }
  .site-nav li { border-color: rgba(255, 255, 255, .18); }
  .menu-open .site-nav a,
  .home .menu-open .site-header .site-nav a { color: var(--sec-ivory); }
  .site-nav .current-menu-item > a::after,
  .site-nav .current_page_item > a::after { background: var(--sec-gold-light); }

  .site-nav { overflow-y: auto; }
  .mobile-quick-contact {
    display: grid;
    gap: 6px;
    margin-top: 24px;
    padding: 22px 0 4px;
    border-top: 1px solid rgba(255, 255, 255, .18);
  }
  .mobile-quick-contact span {
    color: var(--sec-gold-light);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
  }
  .site-nav .mobile-quick-contact a,
  .home .menu-open .site-header .site-nav .mobile-quick-contact a {
    width: fit-content;
    padding: 0;
    color: var(--sec-ivory);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
  }
}

.mobile-quick-contact { display: none; }

@media (max-width: 760px) {
  .mobile-quick-contact { display: grid; }
}

/* The project film stays close to its natural height, with a discreet overlay instead of a tall title block. */
.project-film { padding: clamp(24px, 3.6vw, 54px) 0; background: var(--sec-charcoal); color: var(--sec-ivory); }
.project-film .container { width: min(calc(100% - 48px), 1800px); }
.project-film__player { position: relative; overflow: hidden; background: #11120f; box-shadow: 0 24px 52px rgba(0, 0, 0, .28); }
.project-film__player video { display: block; width: 100%; height: auto; max-height: none; background: #11120f; }
.project-film__overlay { position: absolute; left: clamp(18px, 3vw, 48px); right: 24px; bottom: clamp(66px, 6vw, 96px); z-index: 1; pointer-events: none; text-shadow: 0 2px 14px rgba(0, 0, 0, .8); }
.project-film__overlay p { margin: 0 0 5px; font-size: clamp(1.65rem, 3.4vw, 4.2rem); font-weight: 700; letter-spacing: -.055em; line-height: .98; }
.project-film__overlay span { color: var(--sec-gold-light); font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }

/* Careers is an archive-led page so new roles remain reusable WordPress content. */
.vacancy-list { border-top: 1px solid var(--line); }
.vacancy-card { display: grid; grid-template-columns: minmax(170px, .72fr) minmax(0, 1.35fr) auto; gap: 36px; align-items: start; padding: 34px 0; border-bottom: 1px solid var(--line); }
.vacancy-card__meta { display: flex; flex-direction: column; gap: 7px; font-size: 10px; line-height: 1.35; letter-spacing: .1em; text-transform: uppercase; color: var(--sec-olive); font-weight: 700; }
.vacancy-card h2 { margin: 0 0 11px; font-size: clamp(1.7rem, 2.55vw, 2.6rem); }
.vacancy-card h2 a:hover { color: var(--sec-gold); }
.vacancy-card__main > p { margin-bottom: 0; max-width: 590px; color: var(--muted); }
.vacancy-card__closing { margin-top: 16px !important; font-size: 12px; color: var(--sec-charcoal) !important; }
.vacancy-card__closing strong { margin-right: 7px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.vacancy-card__action { display: flex; min-width: 160px; flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 6px; }
.vacancy-card__pending { color: var(--muted); font-size: 11px; line-height: 1.35; }
.vacancy-empty { max-width: 660px; padding: clamp(34px, 6vw, 72px); background: var(--sec-stone); }
.vacancy-empty h2 { margin-bottom: 16px; font-size: clamp(2rem, 3.6vw, 3.6rem); }
.vacancy-empty p:last-child { margin-bottom: 0; color: var(--muted); }
.vacancy-facts { background: var(--sec-charcoal); color: var(--sec-ivory); }
.vacancy-facts .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.vacancy-facts .container > div { min-height: 112px; padding: 24px 20px; border-left: 1px solid rgba(255, 255, 255, .15); }
.vacancy-facts .container > div:last-child { border-right: 1px solid rgba(255, 255, 255, .15); }
.vacancy-facts span { display: block; margin-bottom: 9px; color: var(--sec-gold-light); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.vacancy-facts strong { font-size: 1rem; line-height: 1.3; }
.vacancy-layout { display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(300px, .72fr); gap: 10%; align-items: start; }
.vacancy-layout .entry-content { max-width: none; }
.vacancy-apply { padding: clamp(26px, 3.4vw, 46px); background: var(--sec-stone); }
.vacancy-apply h2 { margin-bottom: 14px; font-size: clamp(2rem, 3vw, 3.1rem); }
.vacancy-apply p { color: var(--muted); }

@media (max-width: 760px) {
  .project-film .container { width: calc(100% - 32px); }
  .project-film__overlay { left: 17px; right: 17px; bottom: 54px; }
  .project-film__overlay p { font-size: clamp(1.45rem, 7vw, 2.25rem); }
  .vacancy-card { grid-template-columns: 1fr; gap: 18px; }
  .vacancy-card__meta { flex-direction: row; flex-wrap: wrap; }
  .vacancy-card__action { padding-top: 0; }
  .vacancy-facts .container { grid-template-columns: 1fr 1fr; }
  .vacancy-facts .container > div { min-height: 90px; border-bottom: 1px solid rgba(255, 255, 255, .15); }
  .vacancy-facts .container > div:nth-child(2n) { border-right: 1px solid rgba(255, 255, 255, .15); }
  .vacancy-layout { grid-template-columns: 1fr; gap: 34px; }
}

/* Mobile-navigation controls: the same top-right control becomes a clear close action. */
@media (max-width: 760px) {
  body.menu-open { overflow: hidden; }
  .menu-toggle {
    position: relative;
    z-index: 3;
    width: 46px;
    height: 46px;
    justify-content: center;
    align-items: center;
    border: 1px solid transparent;
    border-radius: 50%;
    transition: border-color .2s ease, background-color .2s ease;
  }
  .menu-toggle > span:not(.sr-only) {
    width: 21px;
    transform-origin: center;
    transition: transform .24s ease, opacity .18s ease, background-color .2s ease;
  }
  .menu-open .menu-toggle {
    border-color: rgba(255, 255, 255, .36);
    background: rgba(255, 255, 255, .08);
  }
  .menu-open .menu-toggle > span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-open .menu-toggle > span:nth-child(2) { opacity: 0; }
  .menu-open .menu-toggle > span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .menu-toggle:focus-visible {
    outline: 2px solid var(--sec-gold-light);
    outline-offset: 3px;
  }
  .menu-open .site-nav { animation: sec-mobile-menu-in .24s ease both; }
}

@keyframes sec-mobile-menu-in {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* A little movement helps orientation; it never blocks reading or controls. */
.sec-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .52s ease, transform .52s cubic-bezier(.2, .7, .2, 1);
}
.sec-reveal.is-revealed { opacity: 1; transform: none; }

/* Restored source content follows the same restrained brand system. */
.client-logo-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.client-logo-grid figure { margin: 0; padding: 22px 12px; background: #fff; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.client-logo-grid img { width: 70px; height: 70px; object-fit: contain; }
.client-logo-grid figcaption { font-size: 10px; line-height: 1.4; text-align: center; color: var(--muted); }
.policy-document-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.policy-document-grid article { padding: 28px; border: 1px solid var(--line); background: var(--paper); display: flex; flex-direction: column; }
.policy-document-grid h3 { font-size: 1.25rem; line-height: 1.3; }
.policy-document-grid p { color: var(--muted); font-size: 14px; }
.policy-document-grid .text-link { margin-top: auto; align-self: start; }
.document-format { font-size: 9px; border: 1px solid currentColor; padding: 2px 4px; }
.legacy-section-links { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 32px; }
.legacy-copy h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1.2; margin-top: 38px; }
.legacy-copy h2:first-child { margin-top: 0; }
.project-filters button { min-height: 44px; min-width: 64px; }
.project-filters button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
#project-filter-empty[hidden] { display: none; }
@media (max-width: 1024px) { .client-logo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) { .client-logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .policy-document-grid { grid-template-columns: 1fr; } }

/* Homepage rhythm: shorter section gaps, finished architecture, one image-led pause. */
.home .section { padding-block: clamp(56px, 7vw, 96px); }
.home .section h2 { font-size: clamp(2.4rem, 4vw, 4.2rem); }
.home .section-heading { margin-bottom: 32px; }
.home .section:not(.projects-feature):not(.why-section) .eyebrow { color: #80620e; }
.home .hero { height: 84svh; min-height: 680px; max-height: 940px; }
.home .hero__visual img { object-position: 64% 52%; }
.home .hero__veil { background: linear-gradient(180deg, rgba(20, 22, 18, .48), transparent 26%), linear-gradient(90deg, rgba(20, 22, 18, .78), rgba(20, 22, 18, .38) 57%, rgba(20, 22, 18, .12)), linear-gradient(0deg, rgba(20, 22, 18, .32), transparent 45%); }
.home .hero h1 { font-size: clamp(3.6rem, 7.2vw, 7.6rem); }
.home .hero__content { padding-top: 82px; }
.delivery-approach { background: var(--sec-ivory); }
.delivery-approach__layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 76px); }
.delivery-approach__copy > p:not(.eyebrow) { max-width: 530px; color: var(--muted); }
.delivery-steps { list-style: none; margin: 24px 0; padding: 0; }
.delivery-steps li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.delivery-steps li > span { font-size: 11px; color: #80620e; padding-top: 4px; }
.delivery-steps h3 { font-size: 1rem; margin: 0 0 5px; letter-spacing: -.02em; }
.delivery-steps p { font-size: 13px; line-height: 1.6; margin: 0; color: var(--muted); }
.delivery-approach__image { margin: 0; }
.delivery-approach__image img { display: block; width: 100%; height: auto; aspect-ratio: 10 / 7; object-fit: cover; }
.delivery-approach__image figcaption { padding-top: 12px; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
#project-film { scroll-margin-top: 100px; }
.insight-card__image img.sec-editorial-portrait { object-position: 50% 30%; }
@media (max-width: 760px) {
  .delivery-approach__layout { grid-template-columns: 1fr; gap: 28px; }
  .delivery-steps li { padding-block: 12px; }
  #project-film { scroll-margin-top: 80px; }
}
.home .why-section { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--sec-charcoal); }
.home .why-section::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(90deg, rgba(26, 28, 23, .90), rgba(26, 28, 23, .82)), url('../images/stock/hero-construction.jpg'); background-size: cover; background-position: center; background-repeat: no-repeat; }
.home .why-section .eyebrow { color: var(--sec-gold-light); }
.home .why-section .accordion-list { border-color: rgba(255, 255, 255, .3); }
.home .why-section .accordion-list details { border-color: rgba(255, 255, 255, .25); }
.home .why-section .accordion-list p { color: rgba(255, 255, 255, .84); }
.home .why-section .accordion-list summary span,
.home .why-section .accordion-list summary i { color: var(--sec-gold-light); }
.policy-document-grid--compact { gap: 12px; }
.policy-document-link { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 12px; align-items: center; min-height: 82px; padding: 20px; border: 1px solid var(--line); background: var(--paper); transition: border-color .2s, background-color .2s; }
.policy-document-link strong { font-size: 13px; line-height: 1.4; }
.policy-document-link__number { color: var(--sec-olive); font-size: 10px; letter-spacing: .1em; }
.policy-document-link .document-format { font-size: 8px; }
.policy-document-link:hover { border-color: var(--sec-olive); background: #fff; }
.policy-document-link:focus-visible { outline: 2px solid var(--sec-charcoal); outline-offset: 3px; }
.home .qhsse-library--preview .legacy-section-links { margin-top: 24px; }
@media (min-width: 1025px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .home .why-section::before { background-attachment: fixed; }
}
@media (min-width: 761px) and (max-width: 1000px) {
  .policy-document-grid--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .home .capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home .capability-card { min-width: 0; }
  .home .capability-card h3 { overflow-wrap: anywhere; hyphens: auto; }
}
@media (max-width: 760px) {
  .home .section { padding-block: 56px; }
  .home .hero { height: auto; min-height: 690px; max-height: none; padding-block: 110px 90px; }
  .home .hero__content { padding-top: 0; }
  .home .hero h1 { font-size: clamp(3.1rem, 13vw, 4.6rem); }
  .home .hero__visual img { object-position: 66% center; }
  .home .hero__veil { background: linear-gradient(90deg, rgba(20, 22, 18, .78), rgba(20, 22, 18, .42)), linear-gradient(0deg, rgba(20, 22, 18, .35), transparent 45%); }
  .policy-document-link { min-height: 74px; padding: 18px; }
  .home .capability-card { padding: 20px; }
  .home .capability-card h3 { font-size: 1.1rem; }
}

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