/* ==========================================================================
   Express group concepts: shared base (the parent-theme layer)
   Copied from the approved Express Group concept (sites/express-group/concept/
   assets/css/main.css) and kept as the shared base for all three sites. Changes:
   - sections used only by the Group homepage were removed (hero, estimate band,
     trust strip, services, factory, sectors, health and safety, news, careers,
     video dialog);
   - hard-coded lime values became tokens (--c-accent-glow, --focus-ring);
   - negative letter-spacing is multiplied by --track, so each site can tune it
     to its own typeface.
   The token block below holds the Group defaults. Each site overrides it in its
   own stylesheet (here: acoustics.css), exactly as a child theme would.
   Shape rule: buttons and chips are full pills; photos and panels 24 to 32px;
   cards 20 to 24px; form inputs 12px.
   ========================================================================== */

/* 1. Tokens
   ----------------------------------------------------------------------- */
:root {
  color-scheme: light;

  /* Colour */
  --c-bg: #F6F5F1;            /* warm off-white page */
  --c-surface: #FFFFFF;       /* cards */
  --c-surface-2: #EFEEE8;     /* tinted panels, tags */
  --c-ink: #141414;           /* charcoal text and primary buttons */
  --c-ink-2: #2B2A29;         /* logo charcoal */
  --c-text-2: #4A4945;        /* secondary body text (8:1 on bg) */
  --c-muted: #5E5E5A;         /* labels and captions (6:1 on bg) */
  --c-line: #E4E2DC;          /* thin dividers */
  --c-line-2: #D3D1C9;
  --c-field: #8F8D86;         /* form field borders (3.3:1 on white) */
  --c-accent: #A4BD39;        /* Express lime, sampled from the logo */
  --c-accent-hover: #B3CB4C;
  --c-accent-ink: #4B6A14;    /* accent for text on light (5.7:1) */
  --c-accent-soft: #EEF2DA;
  --c-accent-line: #D9E3AE;
  --c-dark: #1C1C1A;          /* footer, flagship, dark cards */
  --c-dark-2: #262624;
  --c-on-dark: #F2F1EC;
  --c-on-dark-muted: #B4B3AC;
  --c-error: #B42318;
  --c-accent-glow: rgba(164, 189, 57, 0.22);  /* soft halo around accent dots */
  --focus-ring: 0 0 0 3px rgba(164, 189, 57, 0.55);

  /* Type */
  --f-sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-serif: "Instrument Serif", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --fs-body: clamp(1.0625rem, 1.02rem + 0.18vw, 1.125rem);           /* 17 to 18px */
  --fs-lead: clamp(1.125rem, 1rem + 0.45vw, 1.3125rem);              /* 18 to 21px */
  --fs-small: 0.9375rem;                                              /* 15px */
  --fs-xs: 0.875rem;                                                  /* 14px */
  --fs-display: clamp(2.5rem, 1.2rem + 4.45vw, 5.75rem);             /* 40 to 92px */
  --fs-h2: clamp(2rem, 1.35rem + 2.4vw, 3.5rem);                      /* 32 to 56px */
  --fs-h3: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);                    /* 20 to 24px */

  --track: 1;                 /* multiplier for negative letter-spacing (Inter Tight = 1) */
  --accent-size: 1.1em;       /* italic accent words, relative to the heading */

  /* Space */
  --gutter: clamp(1rem, 0.4rem + 2.6vw, 2rem);                        /* 16 to 32px */
  --container: 86rem;                                                 /* 1376px */
  --section-y: clamp(3rem, 2.1rem + 3.4vw, 5.5rem);                    /* 48 to 88px, doubled between sections */
  --stack: clamp(2rem, 1.4rem + 2.4vw, 3.5rem);

  /* Shape and depth */
  --r-xl: 28px;
  --r-lg: 24px;
  --r-md: 20px;
  --r-sm: 12px;
  --r-pill: 999px;
  --shadow-soft: 0 1px 2px rgba(28, 28, 26, 0.04), 0 12px 32px -16px rgba(28, 28, 26, 0.16);
  --shadow-lift: 0 2px 4px rgba(28, 28, 26, 0.05), 0 24px 48px -24px rgba(28, 28, 26, 0.28);

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.32, 0.72, 0, 1);

  /* Layers */
  --z-bar: 40;
  --z-header: 50;
  --z-menu: 60;
  --z-toast: 70;
}

/* 2. Base
   ----------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--f-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip; /* clip, not hidden: hidden would make <body> the scroll container and stop the sticky header */
}

h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
abbr[title] { text-decoration: none; }
[hidden] { display: none !important; }

::selection { background: var(--c-accent); color: var(--c-ink); }

:focus-visible {
  outline: 3px solid var(--c-accent-ink);
  outline-offset: 3px;
}

[id] { scroll-margin-top: 104px; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: currentColor;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.nowrap { white-space: nowrap; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: var(--r-pill);
  background: var(--c-ink);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

.scroll-sentinel {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 96px;
  pointer-events: none;
}

/* 3. Layout and type helpers
   ----------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }

.section-head {
  max-width: 50rem;
  margin-bottom: var(--stack);
}

.section-head--row {
  max-width: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section-head--row > div { max-width: 50rem; }

@media (min-width: 768px) {
  .section-head--row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
  .section-head__action { flex: none; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: var(--fs-xs);
  font-weight: 600;
  line-height: 1.2;
  color: var(--c-ink);
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 0 3px var(--c-accent-glow);
}

.section-title {
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: calc(-0.035em * var(--track, 1));
  text-wrap: balance;
}

.section-intro {
  margin-top: 18px;
  max-width: 40em;
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--c-text-2);
}

/* Italic serif accent words inside sans headings */
.accent {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-size: var(--accent-size);
  line-height: 1;
  letter-spacing: calc(-0.01em * var(--track, 1));
}

.caption {
  font-size: var(--fs-xs);
  line-height: 1.5;
  color: var(--c-muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  color: var(--c-ink);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  text-decoration-color: rgba(20, 20, 20, 0.28);
  transition: text-decoration-color 0.3s var(--ease), color 0.3s var(--ease);
}
.text-link:hover { text-decoration-color: var(--c-accent-ink); color: var(--c-accent-ink); }

.text-link--icon,
.text-link--arrow { gap: 8px; }
.text-link--icon { text-decoration: none; }
.text-link--icon span {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  text-decoration-color: rgba(20, 20, 20, 0.28);
}
.text-link--icon .icon { width: 20px; height: 20px; color: var(--c-accent-ink); }
.text-link--arrow .icon { width: 18px; height: 18px; transition: transform 0.4s var(--ease); }
.text-link--arrow:hover .icon { transform: translateX(3px); }

/* 4. Buttons, chips and small parts
   ----------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 52px;
  padding: 6px 6px 6px 22px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: calc(-0.005em * var(--track, 1));
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.2s var(--ease);
}
.btn:active { transform: scale(0.98); }

.btn__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: transform 0.5s var(--ease), background-color 0.3s var(--ease);
}
.btn__icon .icon { width: 18px; height: 18px; }
.btn:hover .btn__icon { transform: translate(2px, -2px) scale(1.05); }

.btn--primary { background: var(--c-ink); color: #fff; }
.btn--primary .btn__icon { background: var(--c-accent); color: var(--c-ink); }
.btn--primary:hover { background: var(--c-ink-2); }

.btn--accent { background: var(--c-accent); color: var(--c-ink); }
.btn--accent .btn__icon { background: var(--c-ink); color: var(--c-accent); }
.btn--accent:hover { background: var(--c-accent-hover); }

.btn--outline { background: transparent; color: var(--c-ink); border-color: rgba(20, 20, 20, 0.22); }
.btn--outline .btn__icon { background: var(--c-ink); color: #fff; }
.btn--outline:hover { border-color: var(--c-ink); background: var(--c-surface); }

.btn--lg { min-height: 58px; padding-left: 26px; font-size: 1.0625rem; }
.btn--lg .btn__icon { width: 46px; height: 46px; }

.btn--sm { min-height: 44px; padding: 5px 5px 5px 18px; gap: 10px; font-size: 0.90625rem; }
.btn--sm .btn__icon { width: 34px; height: 34px; }
.btn--sm .btn__icon .icon { width: 15px; height: 15px; }

.round-icon {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--c-accent);
  color: var(--c-ink);
  transition: transform 0.5s var(--ease);
}
.round-icon .icon { width: 17px; height: 17px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 6px 14px 6px 10px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-pill);
  background: var(--c-surface);
  font-size: var(--fs-xs);
  font-weight: 500;
  line-height: 1.2;
}
.chip .icon { width: 17px; height: 17px; color: var(--c-accent-ink); }
.chip--strong { background: var(--c-ink); border-color: var(--c-ink); color: #fff; }
.chip--strong .icon { color: var(--c-accent); }

.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: var(--c-surface-2);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--c-ink-2);
}
.tag--more { background: transparent; border: 1px solid var(--c-line-2); color: var(--c-muted); }

/* Facts: Client, Main contractor, Contract value, Duration, Location */
.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  padding-top: 16px;
  border-top: 1px solid var(--c-line);
}
.facts dt {
  margin-bottom: 3px;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--c-muted);
}
.facts dd {
  font-size: var(--fs-small);
  font-weight: 600;
  line-height: 1.3;
  color: var(--c-ink);
}
.facts__item--value dd {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: calc(-0.02em * var(--track, 1));
  font-variant-numeric: tabular-nums;
}
.facts .is-tbc { color: var(--c-muted); font-weight: 500; }
.facts .is-tbc abbr { border-bottom: 1px dotted currentColor; cursor: help; }

.facts--dark { border-top-color: rgba(255, 255, 255, 0.14); }
.facts--dark dt { color: var(--c-on-dark-muted); }
.facts--dark dd { color: var(--c-on-dark); }
.facts--dark .is-tbc { color: var(--c-on-dark-muted); }

@media (min-width: 480px) {
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* 5. Header
   ----------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  padding: 10px max(8px, calc(var(--gutter) - 12px)) 0;
  pointer-events: none;
}

.site-header__bar {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: calc(var(--container) + 24px);
  height: 62px;
  margin-inline: auto;
  padding: 0 7px 0 10px;
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 2px rgba(28, 28, 26, 0.04), 0 10px 30px -14px rgba(28, 28, 26, 0.18);
  transition: height 0.4s var(--ease), box-shadow 0.4s var(--ease), background-color 0.4s var(--ease);
}

.site-header.is-compact .site-header__bar {
  height: 56px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 2px rgba(28, 28, 26, 0.06), 0 16px 36px -16px rgba(28, 28, 26, 0.3);
}

@media (prefers-reduced-transparency: reduce) {
  .site-header__bar { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--c-ink);
  text-decoration: none;
}
.brand__mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1E1E1C;
}
.brand__mark img { width: 31px; height: 31px; }
.brand__name {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: calc(-0.025em * var(--track, 1));
  white-space: nowrap;
}

.primary-nav { display: none; margin-left: auto; }
.primary-nav__list { display: flex; align-items: center; }
.primary-nav__item { display: flex; align-items: center; }
.primary-nav__item + .primary-nav__item::before {
  content: "/";
  margin: 0 12px;
  font-weight: 400;
  color: var(--c-line-2);
}
.primary-nav__link {
  position: relative;
  display: inline-block;
  padding: 12px 2px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--c-ink);
}
.primary-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0.13em;
  bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: var(--c-accent);
  transform: scaleX(0);
  transition: transform 0.45s var(--ease);
}
.primary-nav__link:hover::after,
.primary-nav__link.is-active::after { transform: scaleX(1); }

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.header-phone {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--c-line);
  color: var(--c-ink);
  text-decoration: none;
  font-size: var(--fs-xs);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.header-phone .icon { width: 18px; height: 18px; }
.header-phone__number { display: none; }
.header-phone:hover { border-color: var(--c-ink); }

@media (min-width: 380px) and (max-width: 767.98px) {
  .header-phone {
    width: auto;
    padding: 0 12px;
    border-radius: var(--r-pill);
    font-size: 0.84375rem;
    letter-spacing: calc(-0.01em * var(--track, 1));
  }
  .header-phone .icon { display: none; }
  .header-phone__number { display: inline; }
}

.header-cta { display: none; }

.menu-toggle {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--c-ink);
  color: #fff;
  transition: background-color 0.3s var(--ease);
}
.menu-toggle:hover { background: var(--c-ink-2); }
.menu-toggle__lines,
.menu-toggle__lines::before,
.menu-toggle__lines::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.menu-toggle__lines { position: relative; }
.menu-toggle__lines::before,
.menu-toggle__lines::after {
  content: "";
  position: absolute;
  left: 0;
  transition: transform 0.35s var(--ease);
}
.menu-toggle__lines::before { top: -6px; }
.menu-toggle__lines::after { top: 6px; width: 12px; }
.menu-toggle:hover .menu-toggle__lines::after { transform: scaleX(1.5); transform-origin: left; }

@media (min-width: 768px) {
  .site-header { padding-top: 12px; }
  .site-header__bar { height: 68px; gap: 16px; padding: 0 8px 0 12px; }
  .site-header.is-compact .site-header__bar { height: 58px; }
  .brand__name { font-size: 1.1875rem; }
  .header-cta { display: inline-flex; }
  .header-phone {
    display: inline-flex;
    width: auto;
    height: 44px;
    gap: 8px;
    padding: 0 14px 0 12px;
    border-radius: var(--r-pill);
  }
  .header-phone__number { display: inline; }
}

@media (min-width: 1024px) {
  .primary-nav { display: block; }
  .site-header__actions { margin-left: 0; }
  .site-header__actions::before {
    content: "";
    width: 1px;
    height: 26px;
    margin: 0 10px 0 6px;
    background: var(--c-line);
  }
  .header-phone { border-color: transparent; padding: 0 6px; }
  .header-phone:hover { border-color: transparent; color: var(--c-accent-ink); }
}

@media (min-width: 1024px) and (max-width: 1199.98px) {
  .primary-nav__link { letter-spacing: 0.1em; }
  .primary-nav__item + .primary-nav__item::before { margin: 0 8px; }
  .header-phone .icon { display: none; }
}

@media (min-width: 1200px) {
  .site-header__bar { gap: 20px; padding: 0 8px 0 14px; }
  .primary-nav__item + .primary-nav__item::before { margin: 0 16px; }
  .site-header__actions { gap: 10px; }
}

/* 6. Full menu
   ----------------------------------------------------------------------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--c-bg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0s linear 0.4s;
}
.menu.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s var(--ease), visibility 0s linear 0s;
}

.menu__panel {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  min-height: 100%;
  margin-inline: auto;
  padding: 14px var(--gutter) 40px;
}

.menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--c-line);
}

.menu__close {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(20, 20, 20, 0.2);
  border-radius: var(--r-pill);
  background: var(--c-surface);
  font-weight: 600;
}
.menu__close .icon { width: 18px; height: 18px; }

.menu__grid {
  display: grid;
  gap: 36px;
  padding-top: 32px;
}

.menu__label {
  margin: 0 0 12px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--c-muted);
}
.menu__label:not(:first-child) { margin-top: 28px; }

.menu__lead a,
.menu__list a,
.menu__small a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  text-decoration: none;
  color: var(--c-ink);
  transition: color 0.3s var(--ease), transform 0.4s var(--ease);
}
.menu__lead a {
  font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: calc(-0.04em * var(--track, 1));
}
.menu__list a {
  font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.875rem);
  font-weight: 600;
  letter-spacing: calc(-0.025em * var(--track, 1));
}
.menu__small a { font-size: 1.0625rem; font-weight: 500; }
.menu__small .icon { width: 16px; height: 16px; color: var(--c-muted); }
.menu__lead a:hover,
.menu__list a:hover,
.menu__small a:hover { color: var(--c-accent-ink); transform: translateX(4px); }

.menu__contact { display: grid; gap: 6px; }
.menu__contact a {
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
}
.menu__actions {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  justify-items: start;
}

@media (min-width: 1024px) {
  .menu__panel { padding-top: 22px; }
  .menu__grid {
    grid-template-columns: 5fr 4fr 3fr;
    gap: 48px;
    padding-top: 56px;
  }
}

.js .menu .menu__col {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}
.js .menu.is-open .menu__col { opacity: 1; transform: none; }
.js .menu.is-open .menu__col:nth-child(2) { transition-delay: 0.06s; }
.js .menu.is-open .menu__col:nth-child(3) { transition-delay: 0.12s; }

html.menu-open { overflow: hidden; }

/* 7. Figures (from the Group hero: used by page heroes and the stats band)
   ----------------------------------------------------------------------- */
.figures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 20px;
  margin-top: 30px;
}
.figure {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--c-line-2);
}
.figure__value {
  font-size: clamp(1.875rem, 1.45rem + 1.25vw, 2.75rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: calc(-0.04em * var(--track, 1));
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.figure__prefix,
.figure__unit {
  font-size: 0.42em;
  font-weight: 600;
  letter-spacing: calc(-0.01em * var(--track, 1));
  color: var(--c-muted);
}
.figure__prefix { margin-right: 4px; }
.figure__label {
  font-size: var(--fs-xs);
  line-height: 1.4;
  color: var(--c-muted);
}
@media (min-width: 640px) {
  .figures { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Drop zones (estimate band and form) */
.dropzone { position: relative; }
.dropzone__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.dropzone__label {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 22px 18px;
  border: 1.5px dashed rgba(20, 20, 20, 0.3);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.75);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.dropzone__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 4px;
  border-radius: 50%;
  background: var(--c-ink);
  color: var(--c-accent);
}
.dropzone__icon .icon { width: 21px; height: 21px; }
.dropzone__title { font-weight: 600; font-size: 1rem; line-height: 1.35; }
.dropzone__browse {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--c-accent-ink);
}
.dropzone__hint { font-size: var(--fs-xs); color: var(--c-muted); }
.dropzone:hover .dropzone__label,
.dropzone.is-dragover .dropzone__label { border-color: var(--c-ink); background: var(--c-surface); }
.dropzone__input:focus-visible + .dropzone__label {
  outline: 3px solid var(--c-accent-ink);
  outline-offset: 3px;
}
.dropzone__files {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.dropzone__files:empty { display: none; }
.dropzone__file {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  font-size: 0.8125rem;
  font-weight: 500;
}
.dropzone__file span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dropzone__file .icon { width: 14px; height: 14px; color: var(--c-accent-ink); }

/* 12. Projects and flagship
   ----------------------------------------------------------------------- */
.flagship {
  display: grid;
  overflow: hidden;
  margin-bottom: clamp(16px, 2vw, 24px);
  border-radius: var(--r-xl);
  background: var(--c-dark);
  color: var(--c-on-dark);
}
.flagship__media {
  position: relative;
  margin: 10px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-md);
  background: var(--c-dark-2);
}
.flagship__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.flagship__label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 24px);
  padding: 5px 14px 5px 5px;
  border-radius: var(--r-pill);
  background: rgba(20, 20, 20, 0.8);
  font-size: var(--fs-xs);
  font-weight: 500;
  line-height: 1.25;
  color: #fff;
}
.flagship__camera {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c-accent);
  color: var(--c-ink);
}
.flagship__camera .icon { width: 16px; height: 16px; }
.flagship__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(22px, 3vw, 48px);
  padding-top: clamp(12px, 2vw, 48px);
}
.flagship__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--c-accent);
}
.flagship__kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-accent);
}
.flagship__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 6px;
  padding: 3px 10px;
  border: 1px solid var(--c-accent-line);
  border-radius: var(--r-pill);
  background: var(--c-accent-glow);
  font-size: 0.78125rem;
  color: var(--c-on-dark);
}
.flagship__status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 0 3px var(--c-accent-glow);
}
.flagship__title {
  margin-top: 16px;
  font-size: clamp(2rem, 1.4rem + 2.2vw, 3.25rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: calc(-0.04em * var(--track, 1));
}
.flagship__subtitle {
  margin-top: 6px;
  font-family: var(--f-serif);
  font-size: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem);
  font-style: italic;
  line-height: 1.2;
  color: var(--c-on-dark-muted);
}
.flagship__text {
  margin-top: 16px;
  max-width: 32em;
  color: var(--c-on-dark-muted);
}
.flagship .facts { margin-top: 26px; }
.flagship .tags { margin-top: 20px; }
.tags--dark .tag {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
  color: var(--c-on-dark);
}

@media (min-width: 1024px) {
  .flagship { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .flagship__media { aspect-ratio: auto; min-height: 460px; margin: 12px 0 12px 12px; }
  .flagship__content { padding: 44px 44px 44px 40px; }
}

.project-grid {
  display: grid;
  gap: clamp(14px, 1.6vw, 24px);
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  background: var(--c-surface);
  transition: box-shadow 0.5s var(--ease), transform 0.5s var(--ease);
}
.project-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.project-card__media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--c-surface-2);
}
.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.project-card:hover .project-card__media img { transform: scale(1.045); }

.project-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 14px;
  padding: clamp(18px, 2vw, 26px);
}
.project-card__meta {
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--c-muted);
}
.project-card__title {
  margin-top: -8px;
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: calc(-0.02em * var(--track, 1));
}
.project-card__title a { text-decoration: none; color: var(--c-ink); }
.project-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.project-card .tags { margin-top: auto; }
.project-card .tag--more { position: relative; z-index: 2; }

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

@media (min-width: 768px) and (max-width: 1023.98px) {
  .project-card .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .project-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .project-card { grid-column: span 5; }
  .project-card--wide { grid-column: span 7; }
  .project-card__media { aspect-ratio: auto; height: clamp(250px, 23vw, 360px); }
}

/* 13. Why (About)
   ----------------------------------------------------------------------- */
.why__inner {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
}
.why__photo {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}
.why__photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 30% 60%;
  border-radius: var(--r-lg);
}
.why__intro .text-link--arrow { margin-top: 12px; }

@media (min-width: 640px) and (max-width: 1023.98px) {
  .why__photo img { aspect-ratio: 3 / 2; object-position: 30% 70%; }
}

.why__grid {
  display: grid;
  gap: 14px;
}
.why-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(22px, 2.4vw, 32px);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  background: var(--c-surface);
}
.why-card__icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 6px;
  border-radius: 50%;
  background: var(--c-accent-soft);
  color: var(--c-accent-ink);
}
.why-card__icon .icon { width: 24px; height: 24px; }
.why-card__title {
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: calc(-0.02em * var(--track, 1));
}
.why-card__text {
  font-size: var(--fs-small);
  line-height: 1.6;
  color: var(--c-text-2);
}
.why-card .text-link--icon { margin-top: auto; padding-top: 6px; }

.why-card--dark { background: var(--c-dark); border-color: var(--c-dark); color: var(--c-on-dark); }
.why-card--dark .why-card__icon { background: var(--c-accent); color: var(--c-ink); }
.why-card--dark .why-card__text { color: var(--c-on-dark-muted); }
.why-card--tint { background: var(--c-accent-soft); border-color: var(--c-accent-line); }
.why-card--tint .why-card__icon { background: var(--c-surface); }

@media (min-width: 640px) {
  .why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .why__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: stretch; }
  .why__grid { grid-auto-rows: 1fr; align-self: end; }
  .why-card { min-height: 290px; }
  .why__photo img { aspect-ratio: 5 / 4; }
}

/* 15. Seals (from the Group health and safety section: certificate cards use them)
   ----------------------------------------------------------------------- */
.badge__seal {
  display: grid;
  place-items: center;
  align-content: center;
  width: 64px;
  height: 64px;
  border: 1.5px solid var(--c-ink);
  border-radius: 50%;
  background: var(--c-bg);
  box-shadow: inset 0 0 0 4px var(--c-bg), inset 0 0 0 5px var(--c-line-2);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  text-align: center;
}
.badge__seal small {
  display: block;
  margin-top: 3px;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.badge__seal--small { font-size: 0.65rem; letter-spacing: 0.02em; }
.badge__seal--accent {
  background: var(--c-accent);
  border-color: var(--c-ink);
  box-shadow: inset 0 0 0 4px var(--c-accent), inset 0 0 0 5px rgba(20, 20, 20, 0.25);
  color: var(--c-ink);
}

/* 17. Group companies
   ----------------------------------------------------------------------- */
.group__grid {
  display: grid;
  gap: 14px;
}
.group-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 12px 24px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  background: var(--c-surface);
}
.group-card__plate {
  display: grid;
  place-items: center;
  height: 132px;
  margin-bottom: 8px;
  padding: 22px;
  border-radius: 16px;
  background: var(--c-dark);
}
.group-card__plate img {
  width: auto;
  max-width: 62%;
  height: auto;
  max-height: 62px;
  object-fit: contain;
}
.group-card__plate .group-card__logo--wide { max-width: 50%; }
.group-card__title,
.group-card__text,
.group-card .text-link,
.group-card__soon { margin-inline: 10px; }
.group-card__title {
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: calc(-0.015em * var(--track, 1));
}
.group-card__text {
  font-size: var(--fs-small);
  line-height: 1.55;
  color: var(--c-text-2);
}
.group-card .text-link { margin-top: auto; padding-top: 8px; }
.group-card__soon {
  align-self: flex-start;
  margin-top: 4px;
  padding: 5px 12px;
  border: 1px solid var(--c-line-2);
  border-radius: var(--r-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--c-muted);
}

@media (min-width: 768px) {
  .group__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .group-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

@media (min-width: 1024px) {
  .group__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .group-card:last-child:nth-child(odd) { grid-column: auto; }
}

/* 19. Tender section and form
   ----------------------------------------------------------------------- */
.tender__inner {
  display: grid;
  gap: clamp(32px, 4vw, 64px);
}
.tender__subtitle {
  margin-top: 34px;
  font-size: var(--fs-small);
  font-weight: 600;
}
.steps {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  counter-reset: step;
}
.step {
  position: relative;
  min-height: 32px;
  padding-left: 46px;
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--c-text-2);
  counter-increment: step;
}
.step::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -3px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--c-line-2);
  border-radius: 50%;
  background: var(--c-surface);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--c-ink);
}
.step__title { font-weight: 600; color: var(--c-ink); }

.contacts {
  display: grid;
  gap: 18px;
  margin: 32px 0 22px;
  padding-top: 26px;
  border-top: 1px solid var(--c-line);
}
.contact {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.contact__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--c-line);
  border-radius: 50%;
  background: var(--c-surface);
  color: var(--c-accent-ink);
}
.contact__icon .icon { width: 19px; height: 19px; }
.contact__label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--c-muted);
}
.contact__value {
  display: block;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--c-ink);
  text-decoration: none;
  overflow-wrap: anywhere;
}
a.contact__value { display: flex; align-items: center; min-height: 44px; }
a.contact__value:hover { color: var(--c-accent-ink); }
.contact .text-link { font-size: var(--fs-xs); }

.tender-form {
  padding: clamp(18px, 3vw, 40px);
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  background: var(--c-surface);
  box-shadow: var(--shadow-soft);
}

.route { min-width: 0; margin: 0 0 24px; padding: 0; border: 0; }
.route__legend { margin-bottom: 12px; padding: 0; font-size: var(--fs-small); font-weight: 600; }
.route__options { display: grid; gap: 10px; }
.route__option { position: relative; display: flex; }
.route__option .route__text { flex: 1; }
.route__option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.route__text {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 12px 16px;
  border: 1.5px solid var(--c-line-2);
  border-radius: 16px;
  background: var(--c-bg);
  font-size: 0.96875rem;
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.route__text .icon { width: 20px; height: 20px; color: var(--c-muted); }
.route__option input:checked + .route__text {
  border-color: var(--c-ink);
  background: var(--c-surface);
  box-shadow: inset 0 0 0 1px var(--c-ink);
}
.route__option input:checked + .route__text .icon { color: var(--c-accent-ink); }
.route__option input:focus-visible + .route__text { outline: 3px solid var(--c-accent-ink); outline-offset: 3px; }

.form-grid {
  display: grid;
  gap: 18px 16px;
}
.field { display: grid; align-content: start; min-width: 0; }
.field__label {
  margin-bottom: 8px;
  font-size: 0.90625rem;
  font-weight: 600;
  line-height: 1.3;
}
.field__req { color: var(--c-ink); }
.field__optional { font-weight: 400; color: var(--c-muted); }
.field__input {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid var(--c-field);
  border-radius: var(--r-sm);
  background: var(--c-surface);
  font-size: 1rem;
  line-height: 1.4;
  color: var(--c-ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field__input::placeholder { color: var(--c-muted); opacity: 1; }
.field__input:hover { border-color: var(--c-ink-2); }
.field__input:focus {
  outline: none;
  border-color: var(--c-ink);
  box-shadow: var(--focus-ring);
}
.field__select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 44px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--c-ink) 50%),
    linear-gradient(135deg, var(--c-ink) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.field__textarea { min-height: 128px; resize: vertical; }
.field__error {
  display: none;
  margin-top: 6px;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--c-error);
}
.field.is-invalid .field__input { border-color: var(--c-error); }
.field.is-invalid .dropzone__label { border-color: var(--c-error); }
.field.is-invalid .field__error { display: block; }

.dropzone--form .dropzone__label { background: var(--c-bg); }

.tender-form__footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--c-line);
}
.tender-form__footer .btn { justify-content: space-between; }
.tender-form__privacy {
  font-size: var(--fs-xs);
  line-height: 1.5;
  color: var(--c-muted);
}
.tender-form__privacy a { color: var(--c-ink); text-underline-offset: 3px; }

.tender-form__success {
  display: grid;
  justify-items: start;
  gap: 8px;
  margin-top: 20px;
  padding: 22px;
  border-radius: var(--r-md);
  background: var(--c-accent-soft);
}
.tender-form__success h3 { font-size: 1.25rem; letter-spacing: calc(-0.02em * var(--track, 1)); }
.tender-form__success p { color: var(--c-text-2); font-size: var(--fs-small); }
.tender-form__success-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c-ink);
  color: var(--c-accent);
}
.tender-form__success-icon .icon { width: 20px; height: 20px; }

@media (min-width: 640px) {
  .route__options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field--full { grid-column: 1 / -1; }
  .tender-form__footer { flex-direction: row; align-items: center; justify-content: space-between; }
  .tender-form__privacy { max-width: 22em; }
}

@media (min-width: 1024px) {
  .tender__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
  .tender-form { position: sticky; top: 100px; }
}

/* 20. Footer
   ----------------------------------------------------------------------- */
.site-footer {
  margin-top: clamp(8px, 2vw, 24px);
  padding: clamp(52px, 6vw, 88px) 0 32px;
  border-radius: 32px 32px 0 0;
  background: var(--c-dark);
  color: var(--c-on-dark);
}
.site-footer__top {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 24px;
}
.site-footer__brand { grid-column: 1 / -1; }
.brand--light { color: var(--c-on-dark); }
.brand--light .brand__mark { background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.site-footer__statement {
  margin-top: 18px;
  max-width: 34ch;
  font-size: var(--fs-small);
  line-height: 1.6;
  color: var(--c-on-dark-muted);
}
.site-footer__social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-top: 14px;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--c-on-dark);
  text-decoration: none;
}
.site-footer__social .icon { width: 22px; height: 22px; color: var(--c-accent); }
.site-footer__social:hover { color: var(--c-accent); }
.site-footer__heading {
  margin-bottom: 14px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--c-on-dark-muted);
}
.site-footer__col ul { display: grid; gap: 0; }

@media (max-width: 767.98px) {
  .site-footer__col--wide { grid-column: 1 / -1; }
  .site-footer__col--group ul { display: flex; flex-wrap: wrap; column-gap: 24px; }
}
.site-footer__col a {
  display: block;
  padding-block: 10px;
  font-size: var(--fs-small);
  color: var(--c-on-dark);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.site-footer__col a:hover { color: var(--c-accent); }
.site-footer__address {
  padding-top: 6px;
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--c-on-dark-muted);
}
.site-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.site-footer__legal {
  max-width: 62em;
  font-size: 0.84375rem;
  line-height: 1.6;
  color: var(--c-on-dark-muted);
}
.site-footer__policies { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.site-footer__policies a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  font-size: var(--fs-xs);
  color: var(--c-on-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.3);
}

@media (min-width: 1024px) {
  .site-footer__top { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; }
  .site-footer__bottom { flex-direction: row; align-items: flex-start; justify-content: space-between; gap: 32px; }
  .site-footer__policies { flex: none; }
}

@media (min-width: 1280px) {
  .site-footer__top { grid-template-columns: minmax(0, 4fr) minmax(0, 2.4fr) minmax(0, 2.2fr) minmax(0, 1.8fr) minmax(0, 2.6fr); }
  .site-footer__brand { grid-column: auto; }
}

/* 21. Mobile bottom bar
   ----------------------------------------------------------------------- */
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-bar);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--c-line);
  background: rgba(246, 245, 241, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: transform 0.4s var(--ease);
}
.mobile-bar.is-hidden { transform: translateY(110%); }
.mobile-bar .btn { min-height: 52px; }
.mobile-bar__call { gap: 8px; padding: 6px 20px 6px 16px; }
.mobile-bar__call .icon { width: 19px; height: 19px; }
.mobile-bar__cta { justify-content: space-between; }

@media (max-width: 767.98px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}
@media (min-width: 768px) {
  .mobile-bar { display: none; }
}

/* 22. Toast
   ----------------------------------------------------------------------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: var(--z-toast);
  max-width: calc(100% - 32px);
  padding: 12px 20px;
  border-radius: var(--r-pill);
  background: var(--c-ink);
  box-shadow: var(--shadow-lift);
  font-size: var(--fs-xs);
  font-weight: 500;
  text-align: center;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 767.98px) {
  .toast { bottom: calc(88px + env(safe-area-inset-bottom)); }
}

/* 23. Motion
   ----------------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 1s var(--ease);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js .project-grid > [data-reveal]:nth-child(2n),
.js .why__grid > [data-reveal]:nth-child(2n),
.js .group__grid > [data-reveal]:nth-child(2) { transition-delay: 0.08s; }
.js .group__grid > [data-reveal]:nth-child(3) { transition-delay: 0.16s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(0.35em); }
  to { opacity: 1; transform: none; }
}
@keyframes settle {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .menu .menu__col { opacity: 1; transform: none; }
}

/* Lead fix (12 Oct): keep the off-canvas menu inside 320px screens and stop any sideways scroll. */
html { overflow-x: clip; }
.menu__panel, .menu__top, .menu__grid, .menu__col { min-width: 0; }
@media (max-width: 379.98px) { .menu__grid { grid-template-columns: minmax(0, 1fr); } }

/* Very narrow phones (320 to 379px): buttons wrap inside the pill instead of widening the page. */
@media (max-width: 379.98px) {
  main .btn { white-space: normal; text-align: left; }
  main .btn--lg { padding-left: 18px; font-size: 1rem; }
}

/* ==========================================================================
   Page tools (T-045). The same block ends main.css on the three sites and in the
   WordPress themes; the behaviour is in page-tools.js, the print sheet in print.css.
   ========================================================================== */
/* Q1. "Print or save as PDF": a quiet text button beside the facts panel or the hero actions. */
.print-action { margin: 16px 0 0; }
.facts-panel .print-action { padding-top: 14px; border-top: 1px solid var(--c-line); }
.print-action__button,
.copy-details__button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--c-ink);
  text-decoration: underline;
  text-decoration-color: var(--c-line-2, currentColor);
  text-underline-offset: 4px;
  cursor: pointer;
}
.print-action__button:hover,
.copy-details__button:hover { text-decoration-color: currentColor; }
.print-action__button:focus-visible,
.copy-details__button:focus-visible { outline: 2px solid var(--c-ink); outline-offset: 4px; border-radius: 4px; }
.print-action__icon { width: 20px; height: 20px; flex: none; }
.print-sheet { display: none; }

/* Q2. Register links and "Copy company details" */
.register-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
  font-weight: 500;
  color: var(--c-accent-ink);
  text-underline-offset: 3px;
  white-space: nowrap;
}
.register-link .icon { width: 14px; height: 14px; }
.copy-details { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 14px 0 0; }
.copy-details__status { font-size: var(--fs-xs); color: var(--c-muted); }

/* Q3. "Enquiry about": the context the visitor came from, an editable field with a Clear button. */
.context-field { margin-bottom: 18px; }
.context-field__row { display: flex; gap: 8px; align-items: stretch; }
.context-field__input { flex: 1 1 auto; min-width: 0; background: var(--c-accent-soft, var(--c-surface)); font-weight: 500; }
.context-field__clear {
  flex: none;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--c-field);
  border-radius: var(--r-sm);
  background: var(--c-surface);
  font: inherit;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--c-ink);
  cursor: pointer;
}
.context-field__clear:hover { border-color: var(--c-ink); }
.context-field__clear:focus-visible { outline: 2px solid var(--c-ink); outline-offset: 2px; }
.context-field__hint { margin-top: 6px; font-size: var(--fs-xs); line-height: 1.5; color: var(--c-muted); }

/* Q4. One line under each form: the draft is kept in this tab only. */
.draft-note { margin: 14px 0 0; font-size: var(--fs-xs); line-height: 1.5; color: var(--c-muted); }
.draft-note__clear {
  display: inline;
  min-height: 24px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 600;
  color: var(--c-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.draft-note__clear:focus-visible { outline: 2px solid var(--c-ink); outline-offset: 2px; border-radius: 2px; }

/* Q5. Same-site page transitions: a short crossfade between pages, and the project card photo grows
   into the project page's lead photo (view-transition-name set inline on both). Browsers without
   cross-document view transitions navigate as before; nothing runs under reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root),
  ::view-transition-new(root) { animation-duration: 0.25s; }
  ::view-transition-group(*) { animation-duration: 0.3s; animation-timing-function: cubic-bezier(0.2, 0, 0, 1); }
  .project-overview__frame img,
  .page-hero--system .page-hero__frame > img { view-transition-name: lead-photo; }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) { animation: none !important; }
}
