/* =============================================================
   PB4 Operations — Design system
   Direction: Dark Premium + Industrial Contemporary
   ============================================================= */
:root {
  /* --- Core palette (approved, do not replace) --- */
  --color-charcoal: #1B1F27;
  --color-navy: #1F3A5F;
  --color-amber: #E8A33D;
  --color-cream: #F5F1E8;

  /* --- Complementary tonalities derived from the core palette --- */
  --color-charcoal-deep: #12151B;
  --color-charcoal-soft: #232935;
  --color-navy-deep: #16273D;
  --color-navy-mid: #2A4A72;
  --color-navy-light: #3E6690;
  --color-amber-bright: #F0B155;
  --color-amber-deep: #C07F22;

  /* --- Text tiers --- */
  --color-text: #F5F1E8;
  --text-secondary: rgba(245, 241, 232, 0.82);
  --text-tertiary: rgba(245, 241, 232, 0.62);
  /* Measured against the footer's own backdrop, 0.45 gave 4.16:1 on the
     11.5px labels and the 12.5px closing strip, just under the 4.5:1
     WCAG AA asks of text that size. 0.52 reads the same — quiet, a
     step below the body copy — and measures 5.1:1 there, with the
     footer watermark behind it taken into account. */
  --text-quiet: rgba(245, 241, 232, 0.52);

  /* --- Lines, surfaces, light --- */
  --line-soft: rgba(245, 241, 232, 0.1);
  --line-mid: rgba(245, 241, 232, 0.18);
  --line-amber: rgba(232, 163, 61, 0.35);
  --surface-raised: rgba(31, 58, 95, 0.16);
  --amber-wash: rgba(232, 163, 61, 0.1);

  /* Validation. The one hue outside the core palette, reserved for
     telling a visitor what needs correcting — desaturated enough to
     belong to the dark ground. */
  --color-alert: #E2705C;

  /* --- Typography --- */
  --font-heading: 'Urbanist', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;

  --step-display: clamp(38px, 6.4vw, 72px);
  --step-h2: clamp(28px, 4vw, 42px);
  --step-lead: clamp(16px, 1.5vw, 19px);

  /* --- Layout --- */
  --nav-height: 88px;
  --nav-height-scrolled: 62px;
  --section-padding: 96px 24px;
  --max-width: 1440px;
  --gutter: clamp(20px, 5vw, 80px);
  --bleed-gutter: clamp(40px, 5vw, 80px);
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 14px;

  /* --- Motion --- */
  --ease-out-soft: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 200ms;
  --dur-base: 400ms;
  --dur-slow: 780ms;
  --transition-fast: var(--dur-fast) var(--ease-inout);
  --transition-base: var(--dur-base) var(--ease-inout);

  /* Pointer feedback on the How We Work steps. One duration and one
     curve for every property that moves, in and out. The curve leaves
     and arrives decisively: an asymptotic ease-out reads as a lag at
     the end of the return. */
  --how-hover-dur: 240ms;
  --how-hover-ease: cubic-bezier(0.33, 0, 0.2, 1);

  /* Pointer feedback on the Our Values cards. Same contract: one
     duration and one curve shared by the fill, the type, the mark
     and the lift, so the card arrives and leaves as one piece. */
  --value-hover-dur: 260ms;
  --value-hover-ease: cubic-bezier(0.33, 0, 0.2, 1);

  /* The floating Instagram button answers to the same contract. */
  --ig-dur: 220ms;
  --ig-ease: cubic-bezier(0.33, 0, 0.2, 1);
}

/* =============================================================
   Reset
   ============================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background: var(--color-charcoal);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 300;
  line-height: 1.2;
}

button {
  font-family: var(--font-body);
  cursor: pointer;
}

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

.section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section__title {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 24px;
}

.section__title--center {
  text-align: center;
}

/* Anchor targets clear the fixed bar */
section[id],
.identity__block[id] {
  scroll-margin-top: calc(var(--nav-height-scrolled) + 18px);
}

:focus-visible {
  outline: 2px solid var(--color-amber);
  outline-offset: 3px;
}

/* Page scroll held while an overlay is open. Fixing the body keeps
   the position on every platform; JavaScript restores it on release. */
body.is-scroll-locked {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
}

/* Available to assistive technology, absent from the visual design */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* =============================================================
   Graphic system — four reusable background resources sharing
   one visual language. Predominant: industrial geometry +
   atmospheric light. Complementary: technical texture + organic
   line. Every layer is decorative and inert.
   ============================================================= */
.fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* 1 — Atmospheric light: directional glow building depth */
.fx--light {
  background:
    radial-gradient(52% 46% at 8% 12%, rgba(232, 163, 61, 0.12), transparent 72%),
    radial-gradient(60% 60% at 92% 88%, rgba(31, 58, 95, 0.45), transparent 70%);
}

/* 2 — Industrial geometry: diagonal hairlines with one amber accent */
.fx--diagonals::before,
.fx--diagonals::after {
  content: '';
  position: absolute;
  left: -10%;
  right: -10%;
  height: 1px;
  transform-origin: left center;
}

.fx--diagonals::before {
  top: 28%;
  background: linear-gradient(90deg, transparent, var(--line-soft) 25%, var(--line-soft) 70%, transparent);
  transform: rotate(-3.4deg);
}

.fx--diagonals::after {
  bottom: 22%;
  background: linear-gradient(90deg, transparent, var(--line-soft) 20%, rgba(232, 163, 61, 0.45) 72%, transparent);
  transform: rotate(-2.1deg);
}

/* 3 — Technical texture: dot matrix, faded out by a mask */
.fx--texture {
  background-image: radial-gradient(rgba(245, 241, 232, 0.085) 1px, transparent 1px);
  background-size: 20px 20px;
  mask-image: radial-gradient(70% 60% at 100% 0%, black, transparent 72%);
  -webkit-mask-image: radial-gradient(70% 60% at 100% 0%, black, transparent 72%);
}

/* 4 — Organic line: a single slow arc, used sparingly */
.fx--arc::before {
  content: '';
  position: absolute;
  right: -18%;
  bottom: -40%;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(232, 163, 61, 0.18);
  mask-image: linear-gradient(to top, black 10%, transparent 65%);
  -webkit-mask-image: linear-gradient(to top, black 10%, transparent 65%);
}

/* =============================================================
   Section seams — the shared bridge between two sections.

   A page built from sections reads as one scroll only if the
   boundaries are designed. Two things have to carry across each
   join: the ground tone, and at least one graphic layer.

   TONE — every boundary has a named colour below. The section
   above ends on it and the section below starts on it, so the
   two gradients meet without a step.

   GRAPHIC — a .seam is an inert band that overlaps the join and
   lets one graphic continue through it. The band is clipped, so the
   only thing it may ever paint is something already masked to zero
   at the band's own top and bottom. Light pools and tonal washes do
   NOT belong here: a clipped gradient ends in a visible edge. Light
   belongs to the sections, masked with --edge-fade-all.

       <div class="seam seam--top seam--rake" aria-hidden="true"></div>

   Tune per boundary with --seam-h, --seam-line, --seam-rake-angle
   and --seam-rake-gap. Nothing here is boundary-specific, so new
   sections reuse it as is.
   ============================================================= */
:root {
  /* Ground tone at each boundary — shared by both neighbours */
  --ground-about-svc: #1B1F27;
  --ground-svc-trust: #161E2B;
  --ground-trust-how: #12161E;
  --ground-how-projects: var(--color-charcoal);
  --ground-projects-identity: var(--color-charcoal);
  --ground-identity-contact: var(--color-charcoal);
  --ground-contact-footer: #0F1219;
  --ground-hero-about: #10131A;

  /* Height of each half of the light that straddles Why PB4 -> How We
     Work. Both sections read it, so the two halves always match. */
  --trust-how-graze: clamp(150px, 16vw, 260px);
}

.seam {
  position: absolute;
  left: 0;
  right: 0;
  height: var(--seam-h, clamp(104px, 12vw, 190px));
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.seam--top {
  top: 0;
}

.seam--bottom {
  bottom: 0;
}

/* Rake — the industrial hatch keeps running through the join and
   dissolves on both sides of it, so neither section's geometry
   simply stops at an edge. Masked to zero at both ends of the band. */
.seam--rake::after {
  content: '';
  position: absolute;
  left: -12%;
  right: -12%;
  top: -40%;
  bottom: -40%;
  background: repeating-linear-gradient(var(--seam-rake-angle, 102deg),
      var(--seam-line, rgba(245, 241, 232, 0.07)) 0 1px,
      transparent 1px var(--seam-rake-gap, 84px));
  -webkit-mask-image: linear-gradient(to bottom, transparent 4%, black 46%, transparent 94%);
  mask-image: linear-gradient(to bottom, transparent 4%, black 46%, transparent 94%);
}

/* EDGE DISSOLVE — the other half of the contract. A seam can only
   match a tone that is actually there, and a section's composited
   edge colour is its base gradient PLUS every decorative layer on
   top. So each section masks its own planes and light pools away
   before its edges; what meets at a boundary is then the ground
   colour and nothing else. Applied per layer in each section block. */
:root {
  --edge-fade-bottom: linear-gradient(to bottom, black 56%, transparent 96%);
  --edge-fade-top: linear-gradient(to bottom, transparent 2%, black 34%);
  --edge-fade-both: linear-gradient(to bottom, transparent 2%, black 30%, black 82%, transparent 100%);

  /* THE RULE. A decorative layer must be worth nothing at the edges of
     the section it belongs to, top and bottom alike, or its own
     boundary becomes a visible line across the page. Everything that
     is not the ground gradient itself is masked with this. */
  --edge-fade-all: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
}

/* =============================================================
   Buttons & badges
   ============================================================= */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.02em;
  border: 1.5px solid transparent;
  touch-action: manipulation;
  transition: transform var(--transition-fast), background var(--transition-fast),
    border-color var(--transition-fast), box-shadow var(--transition-fast), color var(--transition-fast);
}

.btn:active {
  transform: translateY(0) scale(0.985);
}

.btn--primary {
  background: var(--color-amber);
  color: var(--color-charcoal);
  font-weight: var(--fw-semibold);
}

.btn--primary:hover {
  transform: translateY(-2px);
  background: var(--color-amber-bright);
  box-shadow: 0 10px 24px rgba(232, 163, 61, 0.26);
}

.btn--ghost {
  background: rgba(245, 241, 232, 0.04);
  color: var(--color-text);
  border-color: var(--line-mid);
}

.btn--ghost:hover {
  transform: translateY(-2px);
  border-color: var(--color-amber);
  color: var(--color-amber);
  background: var(--amber-wash);
}

.btn--disabled,
.btn--ghost:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn--disabled:hover {
  transform: none;
  border-color: var(--color-text);
  color: var(--color-text);
}

.btn--small {
  padding: 10px 20px;
  font-size: 13px;
}

.text-amber {
  color: var(--color-amber);
}

.badge {
  display: inline-block;
  background: rgba(31, 58, 95, 0.5);
  border: 1px solid var(--color-navy);
  color: var(--color-text);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 999px;
  margin: 4px 8px 4px 0;
}

/* =============================================================
   Nav — integrated into the hero, solid and compact on scroll
   ============================================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(18, 21, 27, 0.78) 0%, rgba(18, 21, 27, 0.32) 62%, rgba(18, 21, 27, 0) 100%);
  transition: height var(--transition-base), background var(--transition-base), box-shadow var(--transition-base);
}

.nav.is-scrolled {
  height: var(--nav-height-scrolled);
  background: rgba(18, 21, 27, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line-soft), 0 12px 32px rgba(0, 0, 0, 0.38);
}

.nav__inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__logo {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.nav__logo-img {
  display: block;
  height: 50px;
  width: auto;
  transition: height var(--transition-base);
}

.nav.is-scrolled .nav__logo-img {
  height: 36px;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.8vw, 28px);
  list-style: none;
}

.nav__item {
  position: relative;
}

/* Links and the submenu trigger share one appearance */
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 2px;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: var(--fw-medium);
  color: var(--color-text);
  touch-action: manipulation;
  transition: color var(--transition-fast);
}

.nav__link:hover,
.nav__sub-toggle[aria-expanded='true'] {
  color: var(--color-amber);
}

/* Discreet active-section indicator */
.nav__link::after {
  content: '';
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 2px;
  height: 1px;
  background: var(--color-amber);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur-base) var(--ease-out-soft);
}

.nav__link.is-active {
  color: var(--color-amber);
}

.nav__link.is-active::after {
  transform: scaleX(1);
}

.nav__chevron {
  width: 12px;
  height: 12px;
  transition: transform var(--transition-base);
}

.nav__sub-toggle[aria-expanded='true'] .nav__chevron {
  transform: rotate(180deg);
}

.nav__submenu {
  list-style: none;
  font-size: 14px;
}

.nav__cta {
  padding: 11px 24px;
  font-size: 14px;
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  padding: 10px;
  color: var(--color-text);
}

.nav__toggle-bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.nav__toggle-bars span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.nav__toggle.is-open .nav__toggle-bars span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle.is-open .nav__toggle-bars span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.is-open .nav__toggle-bars span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Desktop submenu: floating panel --- */
@media (min-width: 900px) {
  .nav__submenu {
    position: absolute;
    top: calc(100% + 10px);
    left: -18px;
    min-width: 212px;
    padding: 10px;
    background: rgba(22, 25, 32, 0.97);
    backdrop-filter: blur(12px);
    border: 1px solid var(--line-soft);
    border-top: 2px solid var(--color-amber);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity var(--transition-base), transform var(--dur-base) var(--ease-out-soft), visibility var(--transition-base);
  }

  /* Invisible bridge across the gap: without it the pointer leaves the
     trigger before reaching the panel and the submenu closes. */
  .nav__submenu::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -14px;
    height: 14px;
  }

  /* Open state is owned by JS (class + aria-expanded) so that Escape can
     always close the panel, even while the trigger still holds focus. */
  .nav__item--has-sub:hover .nav__submenu,
  .nav__submenu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav__submenu a {
    display: block;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: background var(--transition-fast), color var(--transition-fast), padding-left var(--transition-fast);
  }

  .nav__submenu a:hover,
  .nav__submenu a.is-active {
    background: var(--amber-wash);
    color: var(--color-amber);
    padding-left: 18px;
  }
}

/* --- Mobile / tablet: hamburger panel --- */
@media (max-width: 899px) {
  .nav__toggle {
    display: block;
  }

  .nav__menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    max-height: 0;
    overflow: hidden;
    background: rgba(18, 21, 27, 0.985);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line-soft);
    transition: max-height var(--dur-base) var(--ease-inout);
  }

  .nav.is-scrolled .nav__menu {
    top: var(--nav-height-scrolled);
  }

  .nav__menu.is-open {
    max-height: calc(100vh - var(--nav-height-scrolled));
    overflow-y: auto;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 0 20px;
  }

  .nav__link {
    width: 100%;
    justify-content: space-between;
    padding: 17px var(--gutter);
    border-top: 1px solid rgba(245, 241, 232, 0.07);
  }

  .nav__link::after {
    left: var(--gutter);
    right: auto;
    width: 22px;
    bottom: 10px;
  }

  .nav__submenu {
    max-height: 0;
    overflow: hidden;
    background: rgba(31, 58, 95, 0.14);
    transition: max-height var(--dur-base) var(--ease-inout);
  }

  .nav__submenu.is-open {
    max-height: 320px;
  }

  .nav__submenu a {
    display: block;
    padding: 14px var(--gutter) 14px calc(var(--gutter) + 18px);
    color: var(--text-secondary);
    border-top: 1px solid rgba(245, 241, 232, 0.05);
  }

  .nav__submenu a.is-active {
    color: var(--color-amber);
  }

  .nav__item--cta {
    padding: 18px var(--gutter) 0;
  }

  .nav__cta {
    display: flex;
    justify-content: center;
  }
}

/* =============================================================
   Hero — content left, photography valued on the right
   ============================================================= */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  max-height: 960px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  /* the exact colour About opens on, so the join has no step in it */
  background: var(--ground-hero-about);
}

/* The photograph dissolves into the ground instead of being cut off
   at the section edge. */
.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, black 56%, rgba(0, 0, 0, 0.5) 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 56%, rgba(0, 0, 0, 0.5) 82%, transparent 100%);
}

.hero__bg {
  position: absolute;
  inset: -60px 0 0 0;
  background-size: cover;
  background-position: 62% center;
  will-change: transform;
}

/* Directional gradient: protects the copy, leaves the equipment
   readable. The copy sits bottom-left and the roof array runs
   top-right, so the veil follows that diagonal instead of flattening
   the whole frame — it keeps the eyebrow legible against sunlit brick
   without closing the roof down. */
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(39deg, rgba(16, 19, 26, 0.95) 0%, rgba(16, 19, 26, 0.9) 40%, rgba(16, 19, 26, 0.8) 54%, rgba(18, 21, 27, 0.46) 66%, rgba(18, 21, 27, 0.16) 82%, rgba(18, 21, 27, 0.04) 100%),
    linear-gradient(0deg, var(--ground-hero-about) 0%, rgba(16, 19, 26, 0.86) 14%, rgba(16, 19, 26, 0.14) 48%, rgba(16, 19, 26, 0) 72%),
    linear-gradient(178deg, rgba(18, 21, 27, 0.34) 0%, rgba(18, 21, 27, 0) 30%);
}

.hero .fx {
  z-index: 1;
  mask-image: var(--edge-fade-all);
  -webkit-mask-image: var(--edge-fade-all);
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(72px, 11vh, 132px);
}

.hero__content {
  max-width: 620px;
}

/* Scoped to the content column so it outranks the global eyebrow
   rule further down the sheet, which only sets the space under the
   label and, where the label wraps, holds the rule to the first line
   instead of floating it against the middle of a two-line block.
   The type itself stays on the shared tokens. */
.hero__content .hero__eyebrow {
  margin-bottom: 26px;
  align-items: flex-start;
}

.hero__content .hero__eyebrow::before {
  margin-top: 0.62em;
}

.hero__headline {
  font-size: var(--step-display);
  line-height: 1.03;
  letter-spacing: -0.015em;
  margin-bottom: 22px;
  text-wrap: balance;
}

.hero__headline-mask {
  display: block;
  overflow: hidden;
  padding-bottom: 0.04em;
}

.hero__headline-line {
  display: block;
  font-weight: var(--fw-light);
  color: var(--color-cream);
}

.hero__headline-line--strong {
  font-weight: var(--fw-semibold);
  color: var(--color-amber);
}

.hero__subtitle {
  max-width: 50ch;
  font-size: var(--step-lead);
  font-weight: var(--fw-light);
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 38px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

@media (min-width: 900px) {
  .hero__bg {
    background-position: 76% center;
  }

  /* The photograph is daylit, so the scrim no longer has to carry the
     whole mood. It holds full strength across the copy column and
     releases early, which is what lets the array and the batteries
     read as equipment instead of silhouettes. */
  .hero__scrim {
    background:
      linear-gradient(100deg, rgba(18, 21, 27, 0.94) 0%, rgba(18, 21, 27, 0.87) 29%, rgba(27, 31, 39, 0.45) 55%, rgba(27, 31, 39, 0.05) 100%),
      linear-gradient(0deg, rgba(16, 19, 26, 0.74) 0%, rgba(16, 19, 26, 0) 46%);
  }

  .hero__inner {
    padding-bottom: clamp(96px, 14vh, 164px);
  }
}

/* Up to about 1366 the copy column takes a much larger share of the
   width, so the batteries sit directly behind "Our Execution."
   rather than clear of it. The veil holds longer across the frame
   here; on wider layouts the two separate on their own and the
   photograph is left more open. */
@media (min-width: 900px) and (max-width: 1365px) {
  .hero__scrim {
    background:
      linear-gradient(100deg, rgba(18, 21, 27, 0.95) 0%, rgba(18, 21, 27, 0.91) 34%, rgba(27, 31, 39, 0.62) 62%, rgba(27, 31, 39, 0.12) 100%),
      linear-gradient(0deg, rgba(16, 19, 26, 0.74) 0%, rgba(16, 19, 26, 0) 46%);
  }
}

/* Mobile: predominantly vertical — photo above, copy on solid ground */
@media (max-width: 599px) {
  .hero {
    min-height: 620px;
  }

  /* Only ~23% of a 16:9 frame survives a portrait window, so the
     window is placed on the roof array, which is the one subject
     that reads at this size. Vertical position is inert here: below
     600px the layer can never be wider than 1.78x its own height,
     so the photograph always fits the height exactly. */
  .hero__bg {
    background-position: 64% center;
  }

  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(18, 21, 27, 0.45) 0%, rgba(18, 21, 27, 0.22) 18%, rgba(18, 21, 27, 0.82) 38%, rgba(18, 21, 27, 0.96) 56%, var(--color-charcoal-deep) 100%);
  }

  .hero__inner {
    padding-bottom: 68px;
  }

  .hero__actions .btn {
    flex: 1 1 150px;
    padding: 14px 20px;
    text-align: center;
    white-space: nowrap;
  }
}

/* On a short phone the copy wraps to roughly three quarters of the
   hero and its first line climbs into the sky, which is the
   brightest part of the frame. The clear window closes earlier here
   so the eyebrow keeps its contrast; taller phones are unaffected
   and keep the larger photographic band. */
@media (max-width: 599px) and (max-height: 780px) {
  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(18, 21, 27, 0.46) 0%, rgba(18, 21, 27, 0.3) 8%, rgba(18, 21, 27, 0.72) 17%, rgba(18, 21, 27, 0.9) 30%, rgba(18, 21, 27, 0.96) 48%, var(--color-charcoal-deep) 100%);
  }
}

/* =============================================================
   About — editorial panel overlapping the photograph (proposal C)
   ============================================================= */
.about {
  position: relative;
  overflow: hidden;
  background: linear-gradient(176deg, #10131A 0%, #191E27 40%, #1C212B 68%, var(--color-charcoal) 100%);
  padding: clamp(72px, 9vw, 124px) 0 clamp(80px, 10vw, 132px);
}

/* --- Background: the four shared resources, weighted for this section --- */

/* Industrial wedge: a lighter navy band crossing the section, the layer
   that gives the background its volume. */
.about::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    /* lighter plane opening towards the upper right */
    /* long ramps on both sides: a plane, not a rectangle with an edge */
    linear-gradient(104deg,
      transparent 34%,
      rgba(42, 74, 114, 0.2) 56%,
      rgba(31, 58, 95, 0.1) 76%,
      transparent 96%),
    /* seats the composition on a deeper base */
    radial-gradient(76% 46% at 46% 112%, rgba(9, 11, 15, 0.6), transparent 72%);
  mask-image: var(--edge-fade-all);
  -webkit-mask-image: var(--edge-fade-all);
}

/* Field of diagonal hairlines, fading as it crosses the composition */
.about::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: repeating-linear-gradient(102deg,
      rgba(245, 241, 232, 0.055) 0 1px,
      transparent 1px 84px);
  mask-image:
    linear-gradient(145deg, black 0%, rgba(0, 0, 0, 0.45) 42%, transparent 74%),
    var(--edge-fade-all);
  -webkit-mask-image:
    linear-gradient(145deg, black 0%, rgba(0, 0, 0, 0.45) 42%, transparent 74%),
    var(--edge-fade-all);
  mask-composite: intersect;
  -webkit-mask-composite: source-in;
}

/* Atmospheric light: warm pool behind the title, cool volume behind the
   photograph, warm rim closing the lower-left corner. */
.about .fx--light {
  background:
    radial-gradient(46% 44% at 2% 2%, rgba(232, 163, 61, 0.22), transparent 68%),
    radial-gradient(40% 46% at 72% 30%, rgba(232, 163, 61, 0.1), transparent 70%),
    radial-gradient(62% 60% at 98% 86%, rgba(31, 58, 95, 0.66), transparent 72%),
    radial-gradient(38% 34% at 6% 96%, rgba(232, 163, 61, 0.08), transparent 72%);
  mask-image: var(--edge-fade-all);
  -webkit-mask-image: var(--edge-fade-all);
}

.about .fx--texture {
  background-image: radial-gradient(rgba(245, 241, 232, 0.15) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image:
    radial-gradient(62% 56% at 98% 4%, black, transparent 72%),
    radial-gradient(44% 42% at 1% 94%, rgba(0, 0, 0, 0.7), transparent 72%);
  -webkit-mask-image:
    radial-gradient(62% 56% at 98% 4%, black, transparent 72%),
    radial-gradient(44% 42% at 1% 94%, rgba(0, 0, 0, 0.7), transparent 72%);
}

.about .fx--texture,
.about .fx--arc {
  mask-composite: intersect;
  -webkit-mask-composite: source-in;
}

.about .fx--arc::before {
  right: -14%;
  bottom: -34%;
  width: 66%;
  border-color: rgba(232, 163, 61, 0.26);
}

.about__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* --- Title block, independent and left-aligned --- */
.about__head {
  margin-bottom: clamp(36px, 4.6vw, 64px);
}

.about__head .section-eyebrow {
  margin-bottom: 18px;
}

.about__title {
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.about__title-line {
  display: block;
  font-weight: var(--fw-light);
  color: var(--color-cream);
}

.about__title-line--accent {
  font-weight: var(--fw-semibold);
  color: var(--color-amber);
}

/* --- Composition: photograph + overlapping editorial panel --- */
.about__composition {
  display: grid;
  grid-template-columns: 1fr;
}

/* Thin amber frame, offset behind the photograph */
.about__frame {
  position: relative;
}

.about__frame::before {
  content: '';
  position: absolute;
  inset: 24px -24px -24px 24px;
  border: 1px solid rgba(232, 163, 61, 0.3);
  pointer-events: none;
}

.about__figure {
  position: relative;
  overflow: hidden;
  background: var(--color-navy-deep);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  /* Discreet diagonal cut on the bottom-right corner */
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 44px), calc(100% - 44px) 100%, 0 100%);
}

.about__figure img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: 58% 50%;
}

/* Keeps the panel legible over the photograph without hiding it */
.about__figure::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(96deg, rgba(14, 17, 22, 0.82) 0%, rgba(14, 17, 22, 0.3) 44%, rgba(14, 17, 22, 0) 72%),
    linear-gradient(0deg, rgba(14, 17, 22, 0.38) 0%, transparent 40%);
}

.about__panel {
  position: relative;
  z-index: 2;
  padding: clamp(26px, 3.2vw, 44px);
  background: rgba(24, 28, 36, 0.94);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--color-amber);
  box-shadow: 0 38px 84px rgba(0, 0, 0, 0.6), 0 1px 0 rgba(245, 241, 232, 0.04) inset;
}

.about__lead {
  font-size: var(--step-lead);
  font-weight: var(--fw-light);
  line-height: 1.7;
  color: var(--text-secondary);
}

.about__divider {
  display: block;
  height: 1px;
  margin: 24px 0;
  background: linear-gradient(90deg, var(--color-amber) 0 44px, var(--line-soft) 44px, var(--line-soft) 72%, transparent);
}

.about__body {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-tertiary);
}

@media (min-width: 900px) {
  .about__composition {
    grid-template-columns: repeat(12, 1fr);
    align-items: center;
  }

  .about__frame {
    grid-column: 5 / 13;
    grid-row: 1;
  }

  .about__panel {
    grid-column: 1 / 7;
    grid-row: 1;
    margin-right: -40px;
  }
}

@media (max-width: 899px) {
  .about__figure img {
    aspect-ratio: 3 / 2;
  }

  /* Stacked: the panel sits below the photograph, so only the lower edge
     needs to be darkened. */
  .about__figure::after {
    background: linear-gradient(0deg, rgba(14, 17, 22, 0.72) 0%, rgba(14, 17, 22, 0.1) 30%, transparent 58%);
  }

  .about__frame::before {
    inset: 16px -14px -16px 16px;
  }

  .about__panel {
    margin: -40px 10px 0;
  }
}

/* =============================================================
   Services — photographic accordion panels
   ============================================================= */
.svc {
  position: relative;
  overflow: hidden;
  /* Picks the About gradient up where it ends and rolls it towards navy */
  background: linear-gradient(178deg,
      var(--ground-about-svc) 0%,
      #1A202B 26%,
      #19222F 62%,
      var(--ground-svc-trust) 100%);
  padding: clamp(104px, 11vw, 160px) 0 clamp(84px, 10vw, 136px);
}

/* --- Background: same four resources as About, weighted differently.
   About opened towards the upper right with warm light; Services mirrors
   it — cool navy volume on the left, warm rim on the right — and swaps
   the diagonal hatch for a vertical measure, so the two sections share a
   language without repeating a composition. --- */
.svc::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    /* navy plane sweeping in from the lower right */
    linear-gradient(254deg,
      transparent 26%,
      rgba(42, 74, 114, 0.2) 50%,
      rgba(31, 58, 95, 0.1) 72%,
      transparent 94%),
    /* deeper shelf under the section head, held clear of the join */
    radial-gradient(84% 34% at 54% 4%, rgba(9, 11, 15, 0.4), transparent 72%);
  mask-image: var(--edge-fade-all);
  -webkit-mask-image: var(--edge-fade-all);
}

/* Vertical measure lines — reads as a rhythm against the horizontal rows */
.svc::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: repeating-linear-gradient(90deg,
      rgba(245, 241, 232, 0.05) 0 1px,
      transparent 1px 108px);
  mask-image:
    linear-gradient(202deg, black 0%, rgba(0, 0, 0, 0.32) 46%, transparent 76%),
    var(--edge-fade-all);
  -webkit-mask-image:
    linear-gradient(202deg, black 0%, rgba(0, 0, 0, 0.32) 46%, transparent 76%),
    var(--edge-fade-all);
  mask-composite: intersect;
  -webkit-mask-composite: source-in;
}

/* About -> Services: the About hatch keeps its 102deg run through the
   join, and the About ground washes down past it */
.svc > .seam--top {
  --seam-h: clamp(170px, 19vw, 300px);
  --seam-line: rgba(245, 241, 232, 0.07);
  --seam-rake-angle: 102deg;
  --seam-rake-gap: 84px;
}

.svc .fx--light {
  background:
    radial-gradient(44% 40% at 97% 3%, rgba(232, 163, 61, 0.17), transparent 68%),
    radial-gradient(58% 52% at 2% 32%, rgba(31, 58, 95, 0.62), transparent 72%),
    radial-gradient(52% 42% at 72% 98%, rgba(42, 74, 114, 0.42), transparent 72%),
    radial-gradient(30% 26% at 22% 90%, rgba(232, 163, 61, 0.07), transparent 70%);
  mask-image: var(--edge-fade-all);
  -webkit-mask-image: var(--edge-fade-all);
}

.svc .fx--texture {
  background-image: radial-gradient(rgba(245, 241, 232, 0.13) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image:
    radial-gradient(50% 46% at 1% 10%, black, transparent 74%),
    radial-gradient(42% 36% at 97% 93%, rgba(0, 0, 0, 0.65), transparent 72%);
  -webkit-mask-image:
    radial-gradient(50% 46% at 1% 10%, black, transparent 74%),
    radial-gradient(42% 36% at 97% 93%, rgba(0, 0, 0, 0.65), transparent 72%);
}

.svc__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* --- Head: title left, intro set against it --- */
.svc__head {
  display: grid;
  gap: clamp(20px, 2.6vw, 34px);
  margin-bottom: clamp(40px, 5vw, 68px);
}

.svc__title {
  font-size: clamp(30px, 4.2vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.svc__title-line {
  display: block;
  font-weight: var(--fw-light);
  color: var(--color-cream);
}

.svc__title-line--accent {
  font-weight: var(--fw-semibold);
  color: var(--color-amber);
}

.svc__intro {
  font-size: var(--step-lead);
  font-weight: var(--fw-light);
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 58ch;
}

@media (min-width: 1000px) {
  .svc__head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
    align-items: end;
    gap: clamp(32px, 5vw, 80px);
  }

  .svc__intro {
    padding-bottom: 6px;
  }
}

/* --- Groups: Core Services / Advanced Solutions --- */
.svc-group + .svc-group {
  margin-top: clamp(44px, 5vw, 72px);
}

.svc-group__label {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.svc-group__label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line-soft), transparent);
}

/* --- Rows --- */
.svc-stack {
  display: grid;
  gap: 10px;
}

.svc-row {
  position: relative;
  border: 1px solid var(--line-soft);
  background: linear-gradient(100deg, rgba(27, 34, 47, 0.86), rgba(22, 27, 37, 0.78));
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: border-color var(--transition-base), background var(--transition-base),
    box-shadow var(--transition-base);
}

/* Amber spine: the one signal that marks the active service */
.svc-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-amber);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--dur-base) var(--ease-out-soft);
  z-index: 2;
}

.svc-row.is-open::before {
  transform: scaleY(1);
}

.svc-row.is-open {
  border-color: rgba(232, 163, 61, 0.34);
  background: linear-gradient(100deg, rgba(31, 58, 95, 0.44), rgba(22, 27, 37, 0.9) 62%);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.svc-row__heading {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.svc-row__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(14px, 1.8vw, 24px);
  width: 100%;
  min-height: 72px;
  padding: clamp(16px, 2vw, 22px) clamp(16px, 2vw, 28px);
  text-align: left;
  background: none;
  border: 0;
  color: inherit;
  transition: background var(--transition-fast);
}

.svc-row__head:hover {
  background: rgba(245, 241, 232, 0.035);
}

.svc-row__head:focus-visible {
  outline-offset: -3px;
}

.svc-row__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border: 1px solid var(--line-soft);
  background: rgba(18, 21, 27, 0.5);
  color: rgba(232, 163, 61, 0.62);
  transition: color var(--transition-base), border-color var(--transition-base),
    background var(--transition-base);
}

.svc-row__icon svg {
  width: 24px;
  height: 24px;
}

.svc-row__head:hover .svc-row__icon {
  color: var(--color-amber);
}

.svc-row.is-open .svc-row__icon {
  color: var(--color-amber);
  border-color: var(--line-amber);
  background: var(--amber-wash);
}

.svc-row__titles {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.svc-row__name {
  font-family: var(--font-heading);
  font-size: clamp(19px, 2vw, 24px);
  font-weight: var(--fw-regular);
  line-height: 1.2;
  color: var(--color-cream);
  transition: color var(--transition-base);
}

.svc-row.is-open .svc-row__name {
  font-weight: var(--fw-medium);
  color: var(--color-amber);
}

.svc-row__benefit {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-tertiary);
}

/* Plus that rotates into a minus */
.svc-row__marker {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.svc-row__marker::before,
.svc-row__marker::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1.5px;
  margin-top: -0.75px;
  background: var(--text-tertiary);
  transition: transform var(--dur-base) var(--ease-out-soft), background var(--transition-base);
}

.svc-row__marker::after {
  transform: rotate(90deg);
}

.svc-row__head:hover .svc-row__marker::before,
.svc-row__head:hover .svc-row__marker::after {
  background: var(--color-cream);
}

.svc-row.is-open .svc-row__marker::before,
.svc-row.is-open .svc-row__marker::after {
  background: var(--color-amber);
}

.svc-row.is-open .svc-row__marker::after {
  transform: rotate(0deg);
}

/* --- Expanding panel. Rows grow from 0fr to 1fr, so nothing depends on a
   measured pixel height and the content can never be clipped. Without
   JavaScript every panel stays open. --- */
.svc-row__panel {
  display: grid;
  grid-template-rows: 1fr;
}

.js .svc-row__panel {
  transition: grid-template-rows var(--dur-base) var(--ease-out-soft);
}

.js .svc-row:not(.is-open) .svc-row__panel {
  grid-template-rows: 0fr;
}

.svc-row__panel-clip {
  overflow: hidden;
  min-height: 0;
  visibility: visible;
}

/* Keeps the collapsed CTA out of the tab order once the row has closed */
.js .svc-row:not(.is-open) .svc-row__panel-clip {
  visibility: hidden;
  transition: visibility 0s linear var(--dur-base);
}

.svc-row__panel-inner {
  --svc-fig-h: clamp(158px, 44vw, 196px);
  display: grid;
  gap: clamp(18px, 2.4vw, 32px);
  padding: 4px clamp(16px, 2vw, 28px) clamp(22px, 2.6vw, 32px);
}

@media (min-width: 860px) {
  .svc-row__panel-inner {
    /* Roughly 38% photograph / 62% content: the image supports the
       copy and the CTA, it does not lead the panel */
    --svc-fig-h: clamp(172px, 16vw, 226px);
    grid-template-columns: minmax(0, 0.61fr) minmax(0, 1fr);
    align-items: center;
    /* Aligns the panel with the service name above it */
    padding-left: calc(clamp(16px, 2vw, 28px) + 46px + clamp(14px, 1.8vw, 24px));
  }
}

.svc-figure {
  position: relative;
  overflow: hidden;
  background: var(--color-navy-deep);
  border: 1px solid var(--line-soft);
  height: var(--svc-fig-h);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.38);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

.svc-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Below 860px the panel collapses to a single column and the figure
   takes the whole width of it. Held to a fixed height it became a
   3.28:1 letterbox at 768px — a crop too severe for a photograph of a
   crew or an installation to survive. Here the height follows the
   width instead, at the 16:9 the photographs are authored in, so one
   file can serve every breakpoint.

   This has to come after the rules above, not before: while anything
   still gives the box a definite height, the ratio reads that height
   and resolves the WIDTH from it, which pushes the box out of its
   column instead of fitting it. */
@media (max-width: 859px) {
  .svc-figure {
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

.svc-row__body {
  display: grid;
  justify-items: start;
  gap: 20px;
}

.svc-row__body p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 54ch;
}

/* --- Optional explanation.

   Some visitors will not know what Battery Storage or a Virtual
   Power Plant is, and the commercial description is not the place
   to teach them. So each service carries a small amber prompt that
   opens one plain paragraph and one external reference, inline, in
   the flow of the panel. It is subordinate by construction: smaller
   type than the description, no fill, no second button, and it
   starts closed so the panel keeps the height it was approved with.

   The disclosure uses the same 0fr -> 1fr growth as the accordion
   above it, so it has no measured height and cannot clip. Without
   JavaScript it is simply open, like the panels around it. --- */
.svc-learn {
  width: 100%;
  max-width: 54ch;
  margin-top: -4px;
}

.svc-learn__toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-left: -2px;
  padding: 5px 2px;
  background: none;
  border: 0;
  color: var(--color-amber);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: var(--fw-medium);
  line-height: 1.45;
  letter-spacing: 0.01em;
  text-align: left;
  transition: color var(--transition-fast);
}

.svc-learn__toggle:hover {
  color: var(--color-amber-bright);
}

.svc-learn__label {
  border-bottom: 1px solid rgba(232, 163, 61, 0.3);
  padding-bottom: 1px;
  transition: border-color var(--transition-fast);
}

.svc-learn__toggle:hover .svc-learn__label {
  border-bottom-color: rgba(240, 177, 85, 0.6);
}

.svc-learn__mark {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  opacity: 0.8;
}

.svc-learn__chev {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  opacity: 0.8;
  transition: transform var(--dur-base) var(--ease-out-soft);
}

.svc-learn__toggle[aria-expanded='true'] .svc-learn__chev {
  transform: rotate(180deg);
}

.svc-learn__panel {
  display: grid;
  grid-template-rows: 1fr;
}

.js .svc-learn__panel {
  transition: grid-template-rows var(--dur-base) var(--ease-out-soft);
}

.js .svc-learn__toggle[aria-expanded='false'] + .svc-learn__panel {
  grid-template-rows: 0fr;
}

.svc-learn__clip {
  overflow: hidden;
  min-height: 0;
}

/* Keeps the reference out of the tab order while the explanation
   is closed */
.js .svc-learn__toggle[aria-expanded='false'] + .svc-learn__panel .svc-learn__clip {
  visibility: hidden;
  transition: visibility 0s linear var(--dur-base);
}

.svc-learn__inner {
  display: grid;
  justify-items: start;
  gap: 10px;
  margin-top: 8px;
  padding: 2px 0 4px 18px;
  border-left: 1px solid rgba(232, 163, 61, 0.24);
}

.svc-learn__text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-tertiary);
}

.svc-learn__source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: var(--text-quiet);
  border-bottom: 1px solid transparent;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.svc-learn__source svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.svc-learn__source:hover {
  color: var(--color-amber);
  border-bottom-color: rgba(232, 163, 61, 0.42);
}

@media (max-width: 400px) {
  .svc-row__icon {
    width: 40px;
    height: 40px;
  }

  .svc-row__icon svg {
    width: 21px;
    height: 21px;
  }
}

/* -------------------------------------------------------------
   Advanced Solutions -> Partner Programs.

   A hairline that lifts over a shallow plateau at its centre. It
   belongs to the same industrial geometry as the seams and the
   group rules, and it does one job: mark a change of register
   inside Services without reading as the start of a new section.
   The shoulders fade out before the gutters, so nothing lands as
   a band across the page.
   ------------------------------------------------------------- */
.svc-split {
  display: flex;
  align-items: flex-end;
  margin: clamp(48px, 6vw, 80px) 0 clamp(38px, 4.6vw, 62px);
  color: rgba(232, 163, 61, 0.4);
}

.svc-split__rule {
  flex: 1;
  height: 1px;
  min-width: 0;
  background: linear-gradient(90deg, transparent, var(--line-soft));
}

.svc-split > .svc-split__rule:last-child {
  background: linear-gradient(90deg, var(--line-soft), transparent);
}

.svc-split__notch {
  flex: none;
  width: 180px;
  height: 20px;
}

@media (max-width: 479px) {
  .svc-split__notch {
    width: 128px;
  }
}

/* -------------------------------------------------------------
   Partner Programs.

   The last part of Services, and deliberately not a fourth group
   of them. The accordions above are things PB4 does; these are
   programs that belong to the partners, and what is on offer is
   the way PB4's execution meets them. So: no panel, no border
   box, no photograph, no disclosure. A statement on the left and
   a plain ruled list on the right — the quietest structure on the
   page, which is the point. The amber is spent on four small
   marks and one link, and nowhere else.
   ------------------------------------------------------------- */
.pp {
  display: grid;
  gap: clamp(34px, 4.5vw, 52px);
}

@media (min-width: 1000px) {
  .pp {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
    gap: clamp(48px, 6vw, 104px);
    align-items: start;
  }
}

.pp__title {
  font-size: clamp(27px, 3.4vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: clamp(16px, 1.8vw, 22px);
}

.pp__title-line {
  display: block;
  font-weight: var(--fw-light);
  color: var(--color-cream);
}

.pp__title-line--accent {
  font-weight: var(--fw-semibold);
  color: var(--color-amber);
}

.pp__lede {
  max-width: 48ch;
  font-size: clamp(15px, 1.35vw, 17px);
  font-weight: var(--fw-light);
  line-height: 1.75;
  color: var(--text-secondary);
}

/* The supporting line is set apart on an amber filet rather than
   given another paragraph's worth of weight. */
.pp__aside {
  max-width: 44ch;
  margin-top: clamp(18px, 2vw, 24px);
  padding-left: 16px;
  border-left: 1px solid rgba(232, 163, 61, 0.38);
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-tertiary);
}

/* A link, not a quote button: the service CTAs above ask for a
   project, this one opens a conversation about a program. */
.pp__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: clamp(24px, 2.8vw, 32px);
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(232, 163, 61, 0.34);
  color: var(--color-amber);
  font-size: 14px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.02em;
  transition:
    color var(--transition-fast),
    border-color var(--transition-fast);
}

.pp__cta svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.pp__cta:hover {
  color: var(--color-amber-bright);
  border-bottom-color: var(--color-amber-bright);
}

.pp__cta:hover svg {
  transform: translateX(4px);
}

.pp__cta:focus-visible {
  outline: 2px solid var(--color-amber);
  outline-offset: 4px;
}

/* --- The four programs --- */
.pp__list {
  list-style: none;
  border-top: 1px solid var(--line-soft);
}

.pp__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(14px, 1.6vw, 20px);
  align-items: center;
  padding: clamp(16px, 1.9vw, 22px) 0;
  border-bottom: 1px solid var(--line-soft);
}

.pp__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border: 1px solid rgba(232, 163, 61, 0.26);
  background: rgba(232, 163, 61, 0.06);
  color: var(--color-amber);
  transition:
    border-color var(--value-hover-dur) var(--value-hover-ease),
    background var(--value-hover-dur) var(--value-hover-ease);
}

.pp__mark svg {
  width: 19px;
  height: 19px;
}

.pp__text {
  display: block;
  min-width: 0;
}

.pp__name {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(16px, 1.5vw, 18px);
  font-weight: var(--fw-semibold);
  line-height: 1.3;
  color: var(--color-cream);
}

.pp__note {
  display: block;
  margin-top: 3px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-tertiary);
}

@media (hover: hover) and (pointer: fine) {
  .pp__item:hover .pp__mark {
    border-color: rgba(232, 163, 61, 0.55);
    background: rgba(232, 163, 61, 0.12);
  }
}

@media (max-width: 400px) {
  .pp__mark {
    width: 34px;
    height: 34px;
  }

  .pp__mark svg {
    width: 17px;
    height: 17px;
  }
}

/* =============================================================
   Section eyebrow — the shared label above a section heading.

   This label is how a visitor knows, immediately, which part of the
   company they are reading. At 13px/500 it was being lost next to
   the display type, so it is set one step up: 14.5–16px against the
   previous flat 13px (+11% on the narrowest viewport, +23% on the
   widest), semibold, with the tracking eased back as the size grows
   so the words stay a single legible unit instead of a stretched
   line. The leading rule grows with it. Still well clear of the
   section titles, which are untouched.

   One global rule, one token per axis: per-section overrides below
   only ever adjust the space under the label, never its type.
   ============================================================= */
:root {
  --eyebrow-size: clamp(14.5px, 1vw, 16px);
  --eyebrow-weight: var(--fw-semibold);
  --eyebrow-tracking: 0.13em;
  --eyebrow-rule: 38px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--color-amber);
  font-size: var(--eyebrow-size);
  font-weight: var(--eyebrow-weight);
  line-height: 1.25;
  letter-spacing: var(--eyebrow-tracking);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.section-eyebrow::before {
  content: '';
  width: var(--eyebrow-rule);
  height: 1px;
  background: var(--color-amber);
  flex-shrink: 0;
}

/* Centred headings carry the label alone, with no leading rule */
.section-eyebrow--plain {
  gap: 0;
}

.section-eyebrow--plain::before {
  display: none;
}

/* -------------------------------------------------------------
   Who We Are + Our Mission + Our Values.

   One section, two compositions. The first is editorial and
   photographic: the panoramic plate of the technicians, the
   institutional text set against it, and the mission given the
   scale of a statement on an amber filet. The second is
   structural: four values hung on a mounting grid that carries
   over from Projects.

   Ground tones are shared with both neighbours, and every
   decorative layer is masked to nothing at the section edges
   (--edge-fade-all), so the joins carry colour and nothing else.
   ------------------------------------------------------------- */
.identity {
  /* The inner gutter resolved as an absolute offset, so full-bleed
     layers can align to the text column without a wrapper. */
  --inner-pad: max(var(--gutter), calc((100vw - var(--max-width)) / 2 + var(--gutter)));
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg,
      var(--ground-projects-identity) 0%,
      #1E242F 16%,
      #20262F 34%,
      #1A1F29 60%,
      #15191F 84%,
      var(--ground-identity-contact) 100%);
  padding: clamp(58px, 6.4vw, 96px) 0 clamp(78px, 8.4vw, 126px);
}

/* Dusk light, borrowed from the photograph and let out into the page:
   warm at the upper left where the wall lamp sits, navy through the
   middle, one quiet amber pool low down under the values. */
.identity .fx--light {
  background:
    radial-gradient(46% 30% at 6% 10%, rgba(232, 163, 61, 0.14), transparent 72%),
    radial-gradient(68% 44% at 76% 30%, rgba(31, 58, 95, 0.42), transparent 74%),
    radial-gradient(52% 34% at 26% 78%, rgba(31, 58, 95, 0.3), transparent 74%),
    radial-gradient(34% 24% at 94% 88%, rgba(232, 163, 61, 0.07), transparent 72%);
  mask-image: var(--edge-fade-all);
  -webkit-mask-image: var(--edge-fade-all);
}

/* Technical texture, kept to the editorial half and faded out well
   before the values take over */
.identity__dust {
  background-image: radial-gradient(rgba(245, 241, 232, 0.09) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image:
    radial-gradient(40% 26% at 2% 30%, black, transparent 74%),
    var(--edge-fade-all);
  -webkit-mask-image:
    radial-gradient(40% 26% at 2% 30%, black, transparent 74%),
    var(--edge-fade-all);
  mask-composite: intersect;
  -webkit-mask-composite: source-in;
}

/* Projects -> Who We Are. The mounting grid of the gallery keeps
   running vertically through the join on the same 132px module,
   dissolved at both ends of the band. */
.identity > .seam--top {
  --seam-h: clamp(140px, 16vw, 250px);
  --seam-line: rgba(245, 241, 232, 0.045);
  --seam-rake-angle: 90deg;
  --seam-rake-gap: 132px;
}

.identity__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.identity__editorial {
  position: relative;
  z-index: 1;
}

/* --- The photograph. Aligned left to the text column and running
   off the right edge of the viewport, so it reads as a view onto a
   larger scene rather than a banner laid over the section. The seat
   gradients tie its top and bottom edges into the ground; neither
   reaches the technicians or their uniforms. --- */
.identity__figure {
  --fig-left: 0px;
  position: relative;
  margin-top: clamp(20px, 2.4vw, 32px);
  padding-left: var(--fig-left);
}

/* The photograph is feathered into the ground rather than cut out of
   it. Two ramps intersected, the same technique Licensed & Trusted
   uses but at a fraction of its depth: the centre stays fully
   defined, and the technicians and their PB4 marks sit well inside
   the opaque band. Where mask-composite is unsupported the image
   simply keeps its rectangle. */
.identity__frame {
  --fig-fade-x: linear-gradient(90deg, #000, #000);
  --fig-fade-y: linear-gradient(to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.5) 1.5%,
      #000 5%,
      #000 94%,
      rgba(0, 0, 0, 0.5) 98.5%,
      transparent 100%);
  position: relative;
  overflow: hidden;
  -webkit-mask-image: var(--fig-fade-x), var(--fig-fade-y);
  mask-image: var(--fig-fade-x), var(--fig-fade-y);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.identity__figure img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: 40% 40%;
}

/* Only enough scrim to settle the sky and carry the dusk light out of
   the frame. The edges themselves are the mask's job now; stacking a
   dark ramp on top of them is what dulls the subjects. */
.identity__figure-seat {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(18, 21, 27, 0.3), rgba(18, 21, 27, 0) 12%),
    linear-gradient(0deg, rgba(18, 21, 27, 0.28), rgba(18, 21, 27, 0) 10%),
    radial-gradient(58% 72% at 6% 72%, rgba(232, 163, 61, 0.1), transparent 72%);
}

.identity__figure-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding-left: max(0px, calc(var(--gutter) - var(--fig-left)));
  font-size: 12.5px;
  line-height: 1.5;
  letter-spacing: 0.015em;
  color: var(--text-quiet);
}

.identity__figure-note::before {
  content: '';
  width: 26px;
  height: 1px;
  flex: none;
  background: var(--line-amber);
}

/* --- Institutional text: the statement holds the left column, the
   body is set against it behind a hairline. --- */
.identity__copy {
  margin-top: clamp(38px, 4.4vw, 62px);
  display: grid;
  gap: clamp(20px, 2.6vw, 34px);
}

.identity__title {
  font-size: clamp(34px, 4.6vw, 54px);
  font-weight: var(--fw-light);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--color-cream);
}

.identity__title-line {
  display: block;
}

.identity__title-line--accent {
  color: var(--color-amber);
  font-weight: var(--fw-semibold);
}

.identity__body p {
  font-size: clamp(15.5px, 1.2vw, 17px);
  line-height: 1.76;
  color: var(--text-secondary);
  max-width: 62ch;
}

.identity__body p + p {
  margin-top: 16px;
}

/* --- Mission. Not a card: a passage of the same composition given
   its own light, its own filet and a larger setting. --- */
.mission {
  position: relative;
  isolation: isolate;
  margin-top: clamp(50px, 5.8vw, 88px);
  padding-left: clamp(22px, 2.6vw, 42px);
}

/* A pool, not a panel — radial on every side, so nothing in it has
   an edge to show. */
.mission::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: -6%;
  right: -8%;
  top: -24%;
  bottom: -28%;
  pointer-events: none;
  /* Both pools die well inside the box they are painted in. A radial
     is clipped by its own element, and a radial still carrying colour
     at that edge leaves exactly the vertical line this section must
     not have. */
  background:
    radial-gradient(40% 44% at 44% 50%, rgba(31, 58, 95, 0.52), transparent 72%),
    radial-gradient(24% 32% at 26% 42%, rgba(232, 163, 61, 0.13), transparent 70%);
}

.mission__filet {
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 10px;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg,
      var(--color-amber-bright),
      var(--color-amber) 42%,
      rgba(232, 163, 61, 0));
}

.mission__title {
  font-size: clamp(27px, 3.5vw, 43px);
  font-weight: var(--fw-light);
  line-height: 1.14;
  letter-spacing: -0.012em;
  color: var(--color-cream);
  margin-bottom: clamp(16px, 1.8vw, 24px);
}

.mission__title-accent {
  display: block;
  color: var(--color-amber);
  font-weight: var(--fw-semibold);
}

.mission__text {
  font-size: clamp(16px, 1.4vw, 19.5px);
  font-weight: var(--fw-light);
  line-height: 1.74;
  color: var(--text-secondary);
  max-width: 58ch;
}

/* --- Our Values. The register changes: measured, orthogonal, built
   on the same 132px module the gallery was hung on. --- */
.identity__block--values {
  position: relative;
  margin-top: clamp(70px, 7.8vw, 118px);
  padding-top: clamp(54px, 5.8vw, 84px);
}

/* The one division between the two compositions: a rule that starts
   amber at the text column and is gone before the right edge. */
.identity__block--values::before {
  content: '';
  position: absolute;
  top: 0;
  left: var(--inner-pad);
  right: var(--inner-pad);
  height: 1px;
  background: linear-gradient(90deg,
      rgba(232, 163, 61, 0.45),
      rgba(245, 241, 232, 0.1) 38%,
      transparent 84%);
}

.values__plate {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(245, 241, 232, 0.045) 0 1px, transparent 1px 132px),
    repeating-linear-gradient(0deg, rgba(245, 241, 232, 0.022) 0 1px, transparent 1px 132px);
  mask-image:
    radial-gradient(76% 68% at 50% 48%, black, transparent 80%),
    var(--edge-fade-all);
  -webkit-mask-image:
    radial-gradient(76% 68% at 50% 48%, black, transparent 80%),
    var(--edge-fade-all);
  mask-composite: intersect;
  -webkit-mask-composite: source-in;
}

.values__head {
  max-width: 620px;
  margin-bottom: clamp(34px, 4.2vw, 58px);
}

.values__title {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: var(--fw-light);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--color-cream);
}

.values__title-strong {
  font-weight: var(--fw-semibold);
  color: var(--color-amber);
}

.values__intro {
  margin-top: 16px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text-tertiary);
  max-width: 50ch;
}

.values__grid {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 1.6vw, 22px);
  align-items: stretch;
}

/* --- The card. Nothing here is a control: no link, no cursor
   change, no focus target. The pointer only lights it up. --- */
.value-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(245, 241, 232, 0.1);
  border-radius: var(--radius-md);
  background: linear-gradient(165deg, rgba(31, 58, 95, 0.38), rgba(24, 28, 36, 0.76) 74%);
  transition:
    transform var(--value-hover-dur) var(--value-hover-ease),
    border-color var(--value-hover-dur) var(--value-hover-ease),
    box-shadow var(--value-hover-dur) var(--value-hover-ease);
}

/* The entrance transition carries a long per-card delay. It must not
   leak into the pointer feedback, so the settled card restates every
   duration it owns. Opacity keeps the entrance timing; nothing else
   does. (Three classes: this wins over the generic reveal rule.) */
.js .value-card.is-visible {
  transition:
    opacity var(--dur-slow) var(--ease-out-soft) var(--reveal-delay, 0ms),
    transform var(--value-hover-dur) var(--value-hover-ease),
    border-color var(--value-hover-dur) var(--value-hover-ease),
    box-shadow var(--value-hover-dur) var(--value-hover-ease);
  will-change: auto;
}

/* The amber state, painted behind the content and faded in. Opacity
   on a layer that is always there: the card never changes size, and
   no glyph is re-rasterised. */
.value-card__glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: linear-gradient(158deg,
      var(--color-amber-bright) 0%,
      var(--color-amber) 52%,
      #D18F2A 100%);
  transition: opacity var(--value-hover-dur) var(--value-hover-ease);
}

/* Drafting mark, repeated on all four and aligned to the radius */
.value-card__corner {
  position: absolute;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  border-top: 2px solid var(--color-amber);
  border-left: 2px solid var(--color-amber);
  border-top-left-radius: var(--radius-md);
  opacity: 0.7;
  transition:
    border-color var(--value-hover-dur) var(--value-hover-ease),
    opacity var(--value-hover-dur) var(--value-hover-ease);
}

.value-card__body {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(26px, 2.3vw, 34px) clamp(20px, 1.8vw, 26px) clamp(26px, 2.3vw, 32px);
}

.value-card__icon {
  display: block;
  width: 40px;
  height: 40px;
  margin-bottom: clamp(18px, 1.8vw, 24px);
  color: var(--color-amber);
  transition: color var(--value-hover-dur) var(--value-hover-ease);
}

.value-card__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.value-card__name {
  font-family: var(--font-heading);
  font-size: clamp(18px, 1.4vw, 20px);
  font-weight: var(--fw-medium);
  line-height: 1.25;
  color: var(--color-cream);
  transition: color var(--value-hover-dur) var(--value-hover-ease);
}

.value-card__rule {
  display: block;
  width: 30px;
  height: 1px;
  margin: 13px 0 15px;
  background-color: rgba(232, 163, 61, 0.5);
  transition: background-color var(--value-hover-dur) var(--value-hover-ease);
}

.value-card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-tertiary);
  transition: color var(--value-hover-dur) var(--value-hover-ease);
}

/* Pointer devices only: a touch screen must never be left holding
   the amber state after a tap. */
@media (hover: hover) and (pointer: fine) {
  .value-card:hover {
    transform: translateY(-3px);
    border-color: rgba(232, 163, 61, 0.9);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34);
  }

  /* The reveal rule resets the transform once the card is in, and it
     is declared later in the file. The lift has to out-rank it. */
  .js .value-card.is-visible:hover {
    transform: translateY(-3px);
  }

  .value-card:hover .value-card__glow {
    opacity: 1;
  }

  .value-card:hover .value-card__corner {
    border-color: rgba(23, 26, 33, 0.32);
    opacity: 0.9;
  }

  .value-card:hover .value-card__icon {
    color: #1F242C;
  }

  .value-card:hover .value-card__name {
    color: #15181F;
  }

  .value-card:hover .value-card__rule {
    background-color: rgba(21, 24, 31, 0.45);
  }

  .value-card:hover p {
    color: rgba(21, 24, 31, 0.84);
  }
}

/* The highlight stays, the movement goes */
@media (prefers-reduced-motion: reduce) {
  .value-card,
  .js .value-card.is-visible,
  .value-card__glow,
  .value-card__corner,
  .value-card__icon,
  .value-card__name,
  .value-card__rule,
  .value-card p {
    transition: none;
  }

  .value-card:hover,
  .js .value-card.is-visible:hover {
    transform: none;
  }
}

/* --- Breakpoints --- */
@media (min-width: 620px) {
  .values__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .identity__copy {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    column-gap: clamp(42px, 4.8vw, 84px);
    align-items: start;
  }

  .identity__body {
    position: relative;
    padding-left: clamp(26px, 2.8vw, 50px);
  }

  .identity__body::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.42em;
    bottom: 0.3em;
    width: 1px;
    background: linear-gradient(180deg,
        rgba(232, 163, 61, 0.5),
        rgba(245, 241, 232, 0.12) 58%,
        transparent);
  }
}

@media (min-width: 1024px) {
  /* Left edge on the text column, right edge off the viewport */
  .identity__figure {
    --fig-left: var(--inner-pad);
  }

  .identity__figure img {
    /* A panoramic band, held to a height the page can carry: the cap
       widens the effective crop rather than the layout. */
    aspect-ratio: 2.25 / 1;
    max-height: clamp(320px, 30vw, 520px);
    object-position: 46% 26%;
  }

  /* The left edge meets the text column, so it dissolves; the right
     one runs off the viewport and needs nothing. */
  .identity__frame {
    --fig-fade-x: linear-gradient(90deg,
        transparent 0%,
        rgba(0, 0, 0, 0.5) 1.4%,
        #000 5.5%,
        #000 100%);
    --fig-fade-y: linear-gradient(to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.5) 1.5%,
        #000 6%,
        #000 91%,
        rgba(0, 0, 0, 0.45) 97%,
        transparent 100%);
  }

  .identity__figure-seat {
    background:
      linear-gradient(180deg, rgba(18, 21, 27, 0.28), rgba(18, 21, 27, 0) 13%),
      linear-gradient(0deg, rgba(18, 21, 27, 0.26), rgba(18, 21, 27, 0) 11%),
      radial-gradient(52% 76% at 4% 70%, rgba(232, 163, 61, 0.1), transparent 72%);
  }

  /* The mission is set in from the column the page has been reading
     down, which is what marks it as the pause rather than a box. */
  .mission {
    margin-left: clamp(0px, 7vw, 132px);
    padding-left: clamp(34px, 3.4vw, 54px);
  }

  .mission__filet {
    width: 4px;
  }

  .mission__text {
    font-size: clamp(17px, 1.5vw, 21px);
    max-width: 60ch;
  }
}

@media (min-width: 1080px) {
  .values__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 479px) {
  .identity__figure img {
    aspect-ratio: 4 / 3;
    object-position: 38% 42%;
  }
}

/* =============================================================
   Why PB4 — one block, carried by the residence photograph. The
   credentials are stated in Contact and in the footer, so this
   section closes on the commitments and hands straight over to
   How We Work.
   ============================================================= */
.trust {
  position: relative;
  background: linear-gradient(180deg,
      var(--ground-svc-trust) 0%,
      #141A24 52%,
      var(--ground-trust-how) 100%);
}

.trust__why {
  position: relative;
  overflow: hidden;
  padding: clamp(84px, 10vw, 140px) 0 clamp(104px, 11vw, 158px);
}

.trust__why-media {
  position: absolute;
  inset: 0;
}

.trust__why-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: 80% 50%;
}

/* Directional veil: the copy sits on a dark field at the left while the
   house and the last of the sunset stay readable at the right. The top
   and bottom edges dissolve into the neighbouring sections. */
.trust__why-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(22, 30, 43, 0.98) 0%,
      rgba(20, 26, 36, 0.44) 18%,
      rgba(18, 22, 30, 0.34) 58%,
      rgba(18, 22, 30, 1) 100%),
    linear-gradient(96deg,
      rgba(13, 16, 22, 0.96) 0%,
      rgba(13, 16, 22, 0.9) 38%,
      rgba(16, 23, 35, 0.68) 60%,
      rgba(18, 27, 42, 0.3) 82%,
      rgba(18, 27, 42, 0.12) 100%);
}

.trust__why .fx--diagonals::before {
  top: 14%;
  background: linear-gradient(90deg, transparent, rgba(245, 241, 232, 0.16) 24%, transparent 80%);
}

.trust__why .fx--diagonals::after {
  bottom: 10%;
  background: linear-gradient(90deg, transparent, rgba(232, 163, 61, 0.5) 28%, rgba(232, 163, 61, 0.08) 68%, transparent);
}

.trust__why-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.trust__why-copy {
  max-width: 620px;
}

.trust__title {
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.015em;
}

.trust__title-line {
  display: block;
  font-weight: var(--fw-light);
  color: var(--color-cream);
}

.trust__title-line--accent {
  font-weight: var(--fw-semibold);
  color: var(--color-amber);
}

.trust__lead {
  margin-top: clamp(20px, 2.4vw, 28px);
  font-size: var(--step-lead);
  font-weight: var(--fw-light);
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Commitments read as a ledger of how the work is run — not as cards */
.trust__commitments {
  list-style: none;
  max-width: 900px;
  margin-top: clamp(36px, 4.4vw, 56px);
  display: grid;
  border-top: 1px solid var(--line-soft);
}

.trust__commitment {
  position: relative;
  padding: clamp(17px, 2vw, 22px) 0 clamp(17px, 2vw, 22px) 26px;
  border-bottom: 1px solid var(--line-soft);
}

.trust__commitment::before {
  content: '';
  position: absolute;
  left: 0;
  top: calc(clamp(17px, 2vw, 22px) + 0.6em);
  width: 13px;
  height: 1px;
  background: var(--color-amber);
}

.trust__commitment h3 {
  font-size: 17px;
  font-weight: var(--fw-medium);
  color: var(--color-cream);
}

.trust__commitment p {
  margin-top: 6px;
  max-width: 56ch;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-tertiary);
}

@media (min-width: 860px) {
  .trust__commitments {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(32px, 4vw, 64px);
  }
}

/* --- Why PB4 -> How We Work -------------------------------------
   Why PB4 now closes the section. The warmth that used to sit in the
   block below is kept as a low graze inside the seam band, so the
   photograph dissolves into a lit edge rather than a flat one and
   the rake coming up from How We Work has a tone to meet. --- */
.trust__seam {
  --seam-h: var(--trust-how-graze);
  background:
    radial-gradient(58% 104% at 18% 100%, rgba(232, 163, 61, 0.085), rgba(232, 163, 61, 0) 70%),
    radial-gradient(52% 104% at 84% 100%, rgba(31, 58, 95, 0.24), rgba(31, 58, 95, 0) 72%);
}

/* On narrow screens the copy covers the photograph, so the veil closes up */
@media (max-width: 899px) {
  .trust__why-bg {
    background-position: 64% 42%;
  }

  .trust__why-veil {
    background:
      linear-gradient(180deg,
        rgba(20, 26, 36, 0.97) 0%,
        rgba(18, 22, 30, 0.74) 26%,
        rgba(18, 22, 30, 0.9) 54%,
        rgba(18, 22, 30, 1) 100%);
  }
}

/* =============================================================
   How We Work — one continuous timeline.
   The breath between Licensed & Trusted and Projects: the lightest
   background of the three, carrying only what the sequence needs.
   ============================================================= */
.how {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(58% 104% at 18% 0%, rgba(232, 163, 61, 0.085), rgba(232, 163, 61, 0) 70%),
    radial-gradient(52% 104% at 84% 0%, rgba(31, 58, 95, 0.24), rgba(31, 58, 95, 0) 72%),
    linear-gradient(180deg,
      var(--ground-trust-how) 0%,
      #161C26 34%,
      #1A202A 72%,
      var(--ground-how-projects) 100%);
  background-repeat: no-repeat;
  background-size:
    100% var(--trust-how-graze),
    100% var(--trust-how-graze),
    auto;
  background-position: top, top, top;
  padding: clamp(92px, 10vw, 148px) 0 clamp(64px, 6.5vw, 96px);
}

.how .fx--light {
  background:
    radial-gradient(54% 44% at 50% 4%, rgba(31, 58, 95, 0.5), transparent 72%),
    radial-gradient(38% 42% at 10% 60%, rgba(31, 58, 95, 0.28), transparent 72%),
    radial-gradient(46% 38% at 50% 104%, rgba(232, 163, 61, 0.08), transparent 70%);
  mask-image: var(--edge-fade-all);
  -webkit-mask-image: var(--edge-fade-all);
}

/* A very wide, very faint hatch: present, never busy */
.how__grain {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: repeating-linear-gradient(100deg,
      rgba(245, 241, 232, 0.038) 0 1px,
      transparent 1px 132px);
  mask-image:
    radial-gradient(78% 64% at 50% 46%, black, transparent 78%),
    var(--edge-fade-all);
  -webkit-mask-image:
    radial-gradient(78% 64% at 50% 46%, black, transparent 78%),
    var(--edge-fade-all);
  mask-composite: intersect;
  -webkit-mask-composite: source-in;
}

/* Licensed & Trusted -> How We Work: the hatch of the block above
   keeps running through the join before it dissolves */
.how > .seam--top {
  --seam-h: clamp(140px, 15vw, 250px);
  --seam-line: rgba(245, 241, 232, 0.05);
  --seam-rake-angle: 100deg;
  --seam-rake-gap: 118px;
}



.how__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.how__head {
  max-width: 660px;
  margin: 0 auto clamp(56px, 6.4vw, 92px);
  text-align: center;
}

.how__head .section-eyebrow {
  margin-bottom: 16px;
}

.how__title {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: var(--fw-light);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--color-cream);
}

.how__title-accent {
  font-weight: var(--fw-semibold);
  color: var(--color-amber);
}

.how__intro {
  margin-top: 18px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text-tertiary);
}

/* The timeline element is only an observer hook: its children carry
   the animation, so the block itself must not fade as a whole. */
.js .how__timeline[data-reveal],
.js .how__timeline.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.how__steps {
  --how-gap: clamp(24px, 3vw, 44px);
  list-style: none;
  display: grid;
  gap: var(--how-gap);
  position: relative;
}

.how__step {
  position: relative;
}

/* --- The connector. Two layers: a base that settles into the amber
   line, and a brighter head that runs ahead of it. One element per
   segment, so the light travels the whole timeline in sequence. --- */
.how__step::before,
.how__step::after {
  content: '';
  position: absolute;
  background-repeat: no-repeat;
}

.how__step::before {
  background-color: rgba(245, 241, 232, 0.13);
  background-image: linear-gradient(90deg, rgba(232, 163, 61, 0.8), rgba(232, 163, 61, 0.4));
  /* Drawn by default: without JavaScript the line is simply there */
  background-size: 100% 100%;
}

.how__step::after {
  background-image: linear-gradient(90deg,
      rgba(255, 238, 205, 0) 0%,
      rgba(255, 238, 205, 0) 70%,
      rgba(255, 238, 205, 0.92) 96%,
      #FFF6E6 100%);
  background-size: 0% 100%;
  opacity: 0;
}

.js .how__step::before {
  background-size: 0% 100%;
}

.js .how__timeline.is-visible .how__step::before {
  background-size: 100% 100%;
  transition: background-size 430ms var(--ease-inout) calc(var(--step-index) * 380ms + 180ms);
}

.js .how__timeline.is-visible .how__step::after {
  animation: how-head 430ms var(--ease-inout) calc(var(--step-index) * 380ms + 180ms) both;
}

@keyframes how-head {
  0% { background-size: 0% 100%; opacity: 0; }
  16% { opacity: 1; }
  84% { opacity: 1; }
  100% { background-size: 100% 100%; opacity: 0; }
}

.how__step:last-child::before,
.how__step:last-child::after {
  content: none;
}

/* --- Markers. The light arriving lights each one up, then it settles
   into its resting state. --- */
.how__marker {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid var(--line-amber);
  background: rgba(18, 23, 32, 0.62);
  color: var(--color-amber);
}

.js .how__marker {
  opacity: 0;
  transform: scale(0.76);
}

.js .how__timeline.is-visible .how__marker {
  animation: how-marker-on 540ms var(--ease-out-soft) calc(var(--step-index) * 380ms + 280ms) both;
}

@keyframes how-marker-on {
  0% {
    opacity: 0;
    transform: scale(0.76);
    border-color: var(--line-soft);
    background: rgba(18, 23, 32, 0.62);
    box-shadow: 0 0 0 0 rgba(232, 163, 61, 0);
    color: var(--text-quiet);
  }

  40% {
    opacity: 1;
    transform: scale(1.07);
    border-color: var(--color-amber-bright);
    background: rgba(232, 163, 61, 0.24);
    box-shadow: 0 0 0 5px rgba(232, 163, 61, 0.09), 0 0 24px rgba(232, 163, 61, 0.4);
    color: #FFF2DA;
  }

  100% {
    opacity: 1;
    transform: scale(1);
    border-color: var(--line-amber);
    background: rgba(18, 23, 32, 0.62);
    box-shadow: 0 0 0 0 rgba(232, 163, 61, 0);
    color: var(--color-amber);
  }
}

.how__num {
  font-family: var(--font-heading);
  font-weight: var(--fw-light);
  font-size: 17px;
  letter-spacing: 0.04em;
}

.how__step-text {
  display: block;
}

.how__step h3 {
  font-size: 20px;
  font-weight: var(--fw-medium);
  letter-spacing: 0.005em;
  color: var(--color-cream);
}

.how__step p {
  margin-top: 8px;
  max-width: 34ch;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-tertiary);
}

/* Text keeps its own, faster cadence: everything is readable long
   before the line finishes drawing */
.js .how__step h3,
.js .how__step p {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 500ms var(--ease-out-soft) calc(var(--step-index) * 200ms + 260ms),
    transform 500ms var(--ease-out-soft) calc(var(--step-index) * 200ms + 260ms);
}

.how__timeline.is-visible .how__step h3,
.how__timeline.is-visible .how__step p {
  opacity: 1;
  transform: none;
}

/* --- Desktop: horizontal sequence --- */
@media (min-width: 860px) {
  .how__steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .how__step-text {
    margin-top: 24px;
  }

  .how__step::before,
  .how__step::after {
    top: 25px;
    left: 60px;
    width: calc(100% - 60px + var(--how-gap));
    height: 1px;
  }
}

/* --- Mobile / tablet: the same sequence, read downwards --- */
@media (max-width: 859px) {
  .how__steps {
    --how-gap: 0px;
  }

  .how__step {
    padding: 2px 0 clamp(28px, 5vw, 42px) 72px;
  }

  .how__marker {
    position: absolute;
    left: 0;
    top: 0;
  }

  .how__step:last-child {
    padding-bottom: 0;
  }

  .how__step::before,
  .how__step::after {
    top: 60px;
    left: 24.5px;
    width: 1px;
    height: calc(100% - 60px);
  }

  .how__step::before {
    background-image: linear-gradient(180deg, rgba(232, 163, 61, 0.8), rgba(232, 163, 61, 0.4));
    background-size: 100% 100%;
  }

  .how__step::after {
    background-image: linear-gradient(180deg,
        rgba(255, 238, 205, 0) 0%,
        rgba(255, 238, 205, 0) 70%,
        rgba(255, 238, 205, 0.92) 96%,
        #FFF6E6 100%);
    background-size: 100% 0%;
  }

  .js .how__step::before {
    background-size: 100% 0%;
  }

  .js .how__timeline.is-visible .how__step::before {
    background-size: 100% 100%;
  }

  .js .how__timeline.is-visible .how__step::after {
    animation-name: how-head-v;
  }

  @keyframes how-head-v {
    0% { background-size: 100% 0%; opacity: 0; }
    16% { opacity: 1; }
    84% { opacity: 1; }
    100% { background-size: 100% 100%; opacity: 0; }
  }
}


/* --- Hover. Once the entrance sequence has finished, JavaScript marks
   the timeline settled and the step starts answering the pointer.

   Two things matter for this to feel solid. First, the step scales as
   TWO elements, not four: the marker, and the text block as a whole.
   Scaling the heading and the paragraph separately made each drift
   about its own centre and shimmer against the other. Second, every
   property that moves shares one duration and one curve, so the whole
   step arrives and leaves together instead of trailing off. --- */
.js .how__timeline.is-settled .how__marker {
  animation: none;
  opacity: 1;
  transform: none;
}

/* The entrance transition carries a long per-step delay. It has done
   its job by now, and it must not leak into the pointer feedback. */
.js .how__timeline.is-settled .how__step h3,
.js .how__timeline.is-settled .how__step p {
  transform: none;
  transition: color var(--how-hover-dur) var(--how-hover-ease);
  transition-delay: 0s;
}

@media (hover: hover) and (pointer: fine) {
  .js .how__timeline.is-settled .how__marker,
  .js .how__timeline.is-settled .how__step-text {
    transition:
      transform var(--how-hover-dur) var(--how-hover-ease),
      border-color var(--how-hover-dur) var(--how-hover-ease),
      background-color var(--how-hover-dur) var(--how-hover-ease),
      box-shadow var(--how-hover-dur) var(--how-hover-ease);
    transition-delay: 0s;
    /* Rasterise each moving piece once onto its own layer. Without it
       the glyphs are redrawn at a new fractional scale every frame,
       which is what the shimmer was. Scoped to the settled state, so
       no layer exists during the entrance or on touch devices. */
    will-change: transform;
  }

  /* Anchored at the top left, under the marker: the block grows away
     from the timeline instead of breathing around its own middle. */
  .js .how__timeline.is-settled .how__step-text {
    transform-origin: left top;
  }

  .js .how__timeline.is-settled .how__step:hover .how__marker {
    transform: scale(1.13);
    border-color: var(--color-amber-bright);
    background-color: rgba(232, 163, 61, 0.22);
    box-shadow: 0 0 0 6px rgba(232, 163, 61, 0.08), 0 0 30px rgba(232, 163, 61, 0.42);
    color: #FFF2DA;
  }

  .js .how__timeline.is-settled .how__step:hover .how__step-text {
    transform: scale(1.06);
  }

  .js .how__timeline.is-settled .how__step:hover h3 {
    color: #FFFFFF;
  }

  .js .how__timeline.is-settled .how__step:hover p {
    color: var(--text-secondary);
  }

  /* The segments on either side of the marker answer with it, so a
     step reads as part of the line rather than a point on it. The
     entrance animation drives background-size; this only touches
     filter and box-shadow, so the two never contend for a property.
     Scoped to the settled state, so nothing lights mid-sequence. */
  .js .how__timeline.is-settled .how__step::before {
    transition:
      filter var(--how-hover-dur) var(--how-hover-ease),
      box-shadow var(--how-hover-dur) var(--how-hover-ease);
    transition-delay: 0s;
  }

  /* The step's own outgoing segment, and the incoming segment drawn by
     the step before it. Nothing beyond those two is touched. */
  .js .how__timeline.is-settled .how__step:hover::before {
    filter: brightness(1.32) saturate(1.04);
    box-shadow: 0 0 9px rgba(232, 163, 61, 0.3);
  }

  /* Kept as its own rule: where :has() is unsupported the outgoing
     segment above still lights, instead of the whole state failing. */
  .js .how__timeline.is-settled .how__step:has(+ .how__step:hover)::before {
    filter: brightness(1.32) saturate(1.04);
    box-shadow: 0 0 9px rgba(232, 163, 61, 0.3);
  }
}

/* The highlight stays, the movement goes */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: reduce) {
  .js .how__timeline.is-settled .how__marker,
  .js .how__timeline.is-settled .how__step-text,
  .js .how__timeline.is-settled .how__step h3,
  .js .how__timeline.is-settled .how__step p,
  .js .how__timeline.is-settled .how__step::before {
    transition: none;
    will-change: auto;
  }

  .js .how__timeline.is-settled .how__step:hover .how__marker,
  .js .how__timeline.is-settled .how__step:hover .how__step-text {
    transform: none;
  }

  .js .how__timeline.is-settled .how__step:hover .how__marker {
    box-shadow: none;
  }
}

/* =============================================================
   Projects — the photographic section.

   Its neighbours are built out of type and light; this one is built
   out of five photographs, so it needs a darker ground to hang them
   on and a quieter graphic language underneath them. The shared
   resources stay, re-weighted: the hatch becomes an orthogonal
   mounting grid, which is what every one of these photographs is
   actually about — equipment fixed to a wall.
   ============================================================= */
.projects {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg,
      var(--ground-how-projects) 0%,
      #171C25 20%,
      #13171F 52%,
      #171C26 84%,
      var(--ground-projects-identity) 100%);
  padding: clamp(60px, 6.2vw, 92px) 0 clamp(76px, 8vw, 118px);
}

.projects .fx--light {
  background:
    radial-gradient(40% 32% at 4% 2%, rgba(232, 163, 61, 0.15), transparent 70%),
    radial-gradient(74% 56% at 62% 48%, rgba(31, 58, 95, 0.46), transparent 74%),
    radial-gradient(36% 30% at 97% 94%, rgba(232, 163, 61, 0.07), transparent 70%);
  mask-image: var(--edge-fade-all);
  -webkit-mask-image: var(--edge-fade-all);
}

/* Mounting grid: the module that the photographs are hung on */
.projects__plate {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(245, 241, 232, 0.05) 0 1px, transparent 1px 132px),
    repeating-linear-gradient(0deg, rgba(245, 241, 232, 0.03) 0 1px, transparent 1px 132px);
  mask-image:
    radial-gradient(86% 64% at 50% 46%, black, transparent 82%),
    var(--edge-fade-all);
  -webkit-mask-image:
    radial-gradient(86% 64% at 50% 46%, black, transparent 82%),
    var(--edge-fade-all);
  mask-composite: intersect;
  -webkit-mask-composite: source-in;
}

.projects .fx--texture {
  background-image: radial-gradient(rgba(245, 241, 232, 0.12) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image:
    radial-gradient(44% 40% at 99% 8%, black, transparent 74%),
    radial-gradient(38% 32% at 2% 92%, rgba(0, 0, 0, 0.6), transparent 74%);
  -webkit-mask-image:
    radial-gradient(44% 40% at 99% 8%, black, transparent 74%),
    radial-gradient(38% 32% at 2% 92%, rgba(0, 0, 0, 0.6), transparent 74%);
}

/* How We Work -> Projects. The lighter section's hatch keeps running
   a little way into the photographic one before it dissolves; the
   change of register is carried by the two ground gradients, which
   share their tone across the join. */
.projects > .seam--top {
  --seam-h: clamp(150px, 17vw, 270px);
  --seam-line: rgba(245, 241, 232, 0.045);
  --seam-rake-angle: 100deg;
  --seam-rake-gap: 118px;
}

.projects__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* --- Head: the title holds the left, the supporting text is set
   against its baseline on the right, under a measured rule. --- */
.pj-head {
  display: grid;
  gap: clamp(26px, 3vw, 38px);
  margin-bottom: clamp(44px, 5vw, 78px);
}

.pj-title {
  font-family: var(--font-heading);
  font-size: clamp(34px, 4.8vw, 60px);
  font-weight: var(--fw-light);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--color-cream);
}

.pj-title__strong {
  font-weight: var(--fw-semibold);
  color: var(--color-amber);
}

.pj-head__aside {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(18px, 2vw, 26px);
  padding-top: clamp(18px, 2vw, 24px);
  border-top: 1px solid var(--line-soft);
}

.pj-head__aside::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 58px;
  height: 1px;
  background: var(--color-amber);
}

.pj-intro {
  max-width: 54ch;
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--text-tertiary);
}

.pj-open {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 4px 0;
  border: 0;
  background: none;
  color: var(--color-amber);
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: var(--fw-medium);
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.pj-open__rule {
  display: block;
  width: 40px;
  height: 1px;
  background: currentColor;
  transition: width var(--transition-base);
}

.pj-open:hover .pj-open__rule,
.pj-open:focus-visible .pj-open__rule {
  width: 66px;
}

/* --- Gallery. One photograph leads; four support it. The whole
   hover state is driven by --pj-on, so the pointer, the keyboard and
   touch all reach the same visual state from one set of rules. --- */
.pj-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(10px, 1.1vw, 16px);
}

.pj-item {
  --pj-on: 0;
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 3px;
  aspect-ratio: 4 / 3;
  background: #0E1116;
  box-shadow:
    0 18px 38px -28px rgba(0, 0, 0, 0.95),
    inset 0 0 0 1px rgba(245, 241, 232, 0.07);
}

.pj-item:focus-visible {
  --pj-on: 1;
  outline: 2px solid var(--color-amber);
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .pj-item:hover {
    --pj-on: 1;
  }
}

.pj-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pj-pos, 50% 50%);
  transform: scale(calc(1 + 0.045 * var(--pj-on)));
  /* Held back a touch at rest so the photographs sit in the section
     rather than on top of it, and come up to full strength under the
     pointer. The photographs themselves are untouched. */
  filter: saturate(calc(0.94 + 0.06 * var(--pj-on))) brightness(calc(0.92 + 0.08 * var(--pj-on)));
  transition: transform 640ms var(--ease-out-soft), filter var(--transition-base);
}

/* Per-photograph framing: the same crop would lose a different part
   of each installation */
.pj-item--lead img {
  --pj-pos: 50% 52%;
}

.pj-item--portrait img {
  --pj-pos: 62% 44%;
}

/* Reading gradient, plus a second layer that deepens on interaction */
.pj-item__sheen {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(187deg, rgba(14, 17, 22, 0.26) 0%, rgba(14, 17, 22, 0) 32%),
    linear-gradient(0deg, rgba(9, 11, 15, 0.9) 0%, rgba(12, 15, 20, 0.52) 26%, rgba(12, 15, 20, 0) 58%);
}

.pj-item__sheen::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(9, 11, 15, 0.72) 0%, rgba(31, 58, 95, 0.2) 44%, transparent 74%);
  opacity: var(--pj-on);
  transition: opacity var(--transition-base);
}

/* Amber hairline, drawn on the frame itself rather than around it */
.pj-item::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
  border: 1px solid rgba(232, 163, 61, calc(0.46 * var(--pj-on)));
  transition: border-color var(--transition-base);
  pointer-events: none;
}

/* The lead photograph carries a machined corner tick: it marks the
   hierarchy without a badge sitting on top of the image */
.pj-item--lead::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 3;
  width: 22px;
  height: 22px;
  border-left: 1px solid rgba(232, 163, 61, 0.55);
  border-top: 1px solid rgba(232, 163, 61, 0.55);
}

.pj-item__zoom {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(245, 241, 232, calc(0.14 + 0.16 * var(--pj-on)));
  background: rgba(12, 15, 20, 0.5);
  backdrop-filter: blur(3px);
  color: var(--color-cream);
  opacity: calc(0.28 + 0.72 * var(--pj-on));
  transform: scale(calc(0.92 + 0.08 * var(--pj-on)));
  transition: opacity var(--transition-base), transform var(--transition-base), border-color var(--transition-base);
}

.pj-item__zoom svg {
  width: 15px;
  height: 15px;
}

/* Touch has no hover state, so the affordance is simply there */
@media (hover: none) {
  .pj-item__zoom {
    opacity: 0.72;
    transform: none;
  }
}

/* The essentials are on the photograph at rest, not on hover */
.pj-item__info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  padding: clamp(14px, 1.5vw, 22px);
  transform: translateY(calc(-3px * var(--pj-on)));
  transition: transform var(--transition-base);
}

.pj-item__cat {
  font-size: 11px;
  font-weight: var(--fw-medium);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-amber);
}

.pj-item__name {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: var(--fw-medium);
  line-height: 1.3;
  color: var(--color-cream);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.55);
}

.pj-item--lead .pj-item__name {
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: var(--fw-light);
  letter-spacing: -0.005em;
}

.pj-item__rule {
  display: block;
  width: calc(46px * var(--pj-on));
  height: 1px;
  background: var(--color-amber);
  transition: width 420ms var(--ease-out-soft);
}

/* --- Gallery composition. One column, then two, then the
   asymmetric three-column arrangement the section was designed
   around. --- */
@media (min-width: 560px) {
  .pj-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Full width and the photograph's own proportion: nothing of the
     installation is cropped away before the three-column layout
     takes over. */
  .pj-item--lead {
    grid-column: 1 / -1;
    aspect-ratio: 4 / 3;
  }
}

@media (min-width: 920px) {
  .pj-grid {
    grid-template-columns: 1.18fr 1fr 1fr;
    gap: clamp(12px, 1.2vw, 18px);
  }

  .pj-item--lead {
    grid-column: 1;
    grid-row: 1 / span 2;
    aspect-ratio: auto;
    height: 100%;
  }

  .pj-item--lead img {
    --pj-pos: 52% 48%;
  }

  .pj-item__name {
    font-size: 15.5px;
  }
}

/* --- CTA. The gallery closes on a lit navy plate rather than a
   hairline: after five photographs the invitation has to carry some
   weight. It is not a saturated blue box dropped on the section —
   the plate is built from the same navy ramp as the section's light
   pool, the mounting grid continues across it on the gallery's own
   132px module, and one amber filet marks the corner it is read
   from. Height stays controlled so the join with Who We Are is
   untouched. --- */
.pj-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(22px, 2.4vw, 30px);
  margin-top: clamp(42px, 4.8vw, 72px);
  padding: clamp(28px, 3vw, 44px) clamp(24px, 2.8vw, 48px);
  border: 1px solid rgba(245, 241, 232, 0.12);
  border-radius: 6px;
  /* Charcoal plate first, navy used as light rather than as fill: the
     same recipe as the Our Values cards, weighted up because this one
     has to hold attention at the end of the gallery. The pool enters
     from the upper right, the body settles into charcoal towards the
     type, and one low amber warmth keeps it from reading as grey. */
  background:
    radial-gradient(74% 150% at 84% 16%, rgba(42, 74, 114, 0.54), transparent 70%),
    radial-gradient(48% 130% at 4% 96%, rgba(232, 163, 61, 0.06), transparent 72%),
    linear-gradient(142deg, #202A39 0%, #1B2330 46%, #161C26 100%);
  box-shadow:
    0 22px 44px -30px rgba(5, 8, 12, 0.9),
    inset 0 1px 0 rgba(245, 241, 232, 0.05);
}

/* Industrial hatch on the lit side, on the seam system's own angle,
   dissolved towards the type so nothing ends on a hard edge. */
.pj-cta::after {
  content: '';
  position: absolute;
  inset: -20%;
  z-index: -1;
  background: repeating-linear-gradient(102deg,
      rgba(245, 241, 232, 0.055) 0 1px,
      transparent 1px 58px);
  mask-image: radial-gradient(62% 150% at 97% 10%, black, transparent 72%);
  -webkit-mask-image: radial-gradient(62% 150% at 97% 10%, black, transparent 72%);
  pointer-events: none;
}

/* The bracket: a machined corner mark, not a glow. Square inner
   angle, drawn at full strength and cut cleanly at each arm's end. */
.pj-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 104px;
  height: 72px;
  border-top: 2px solid var(--color-amber);
  border-left: 2px solid var(--color-amber);
  border-top-left-radius: 6px;
  mask-image: linear-gradient(122deg, black 44%, transparent 90%);
  -webkit-mask-image: linear-gradient(122deg, black 44%, transparent 90%);
  pointer-events: none;
}

.pj-cta__title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 2.7vw, 34px);
  font-weight: var(--fw-light);
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--color-cream);
}

.pj-cta__sub {
  margin-top: 10px;
  max-width: 46ch;
  font-size: 15px;
  line-height: 1.62;
  color: rgba(245, 241, 232, 0.76);
}

.pj-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (min-width: 760px) {
  .pj-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: clamp(32px, 5vw, 72px);
  }
}

@media (min-width: 900px) {
  /* Two columns, two rows. The eyebrow keeps a row of its own so the
     supporting column can begin level with the title instead of
     floating above the whole head, and its extra depth then runs
     down towards the gallery rather than up out of the section. */
  .pj-head {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    grid-template-rows: auto auto;
    align-items: start;
    column-gap: clamp(40px, 5vw, 92px);
    row-gap: 0;
  }

  .pj-head__main {
    display: contents;
  }

  .pj-head__main .section-eyebrow {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .pj-title {
    grid-column: 1;
    grid-row: 2;
  }

  /* Sits the rule on the title's cap height, not on its em box */
  .pj-head__aside {
    grid-column: 2;
    grid-row: 2;
    margin-top: clamp(8px, 0.9vw, 15px);
  }
}

/* =============================================================
   Contact — the conversion section, built as one dark room.

   Not two cards side by side: the section owns a continuous ground
   and the form is the only thing in it lit in navy, so the eye goes
   there without the composition breaking into panels. The left
   column carries the invitation and the real institutional facts on
   a single hairline rail; the right column is the inquiry itself.

   Tones are shared with both neighbours (Our Values above, the
   footer below) and every decorative layer is masked to nothing at
   the edges with --edge-fade-all, so the joins carry colour only.
   ============================================================= */
.contact {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg,
      var(--ground-identity-contact) 0%,
      #1A2029 14%,
      #181E28 46%,
      #141922 76%,
      var(--ground-contact-footer) 100%);
  padding: clamp(60px, 6.4vw, 96px) 0 clamp(72px, 7.6vw, 112px);
}

/* Light from the upper left, where the invitation is, and a navy pool
   seated behind the form so the panel sits inside the light rather
   than on top of it. */
.contact .fx--light {
  background:
    radial-gradient(44% 32% at 2% 6%, rgba(232, 163, 61, 0.13), transparent 72%),
    radial-gradient(66% 52% at 78% 34%, rgba(31, 58, 95, 0.44), transparent 74%),
    radial-gradient(40% 30% at 96% 92%, rgba(232, 163, 61, 0.06), transparent 72%);
  mask-image: var(--edge-fade-all);
  -webkit-mask-image: var(--edge-fade-all);
}

.contact__dust {
  background-image: radial-gradient(rgba(245, 241, 232, 0.08) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image:
    radial-gradient(38% 26% at 1% 24%, black, transparent 74%),
    var(--edge-fade-all);
  -webkit-mask-image:
    radial-gradient(38% 26% at 1% 24%, black, transparent 74%),
    var(--edge-fade-all);
  mask-composite: intersect;
  -webkit-mask-composite: source-in;
}

/* Our Values -> Contact. The mounting hatch of the values grid keeps
   running through the join on the same module before it dissolves. */
.contact > .seam--top {
  --seam-h: clamp(140px, 16vw, 240px);
  --seam-line: rgba(245, 241, 232, 0.05);
  --seam-rake-angle: 96deg;
  --seam-rake-gap: 112px;
}

.contact__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(40px, 4.4vw, 76px);
}

/* --- Left column: the invitation, then the facts --- */
.contact__title {
  font-size: clamp(34px, 4.6vw, 54px);
  font-weight: var(--fw-light);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin-bottom: clamp(16px, 1.6vw, 22px);
}

.contact__lede {
  max-width: 48ch;
  color: var(--text-secondary);
  font-size: var(--step-lead);
  line-height: 1.72;
}

/* The institutional facts hang off one rail. Hairlines between the
   rows, an amber-lit mark per row, no card around anything. */
.contact__rail {
  list-style: none;
  margin-top: clamp(30px, 3.2vw, 44px);
  border-top: 1px solid var(--line-soft);
}

.contact__rail-item {
  border-bottom: 1px solid var(--line-soft);
}

.contact__fact {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(14px, 1.4vw, 20px);
  padding: clamp(15px, 1.5vw, 19px) 2px;
  color: inherit;
}

.contact__fact-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border: 1px solid var(--line-mid);
  border-radius: 6px;
  background: linear-gradient(150deg, rgba(31, 58, 95, 0.42), rgba(18, 21, 27, 0.5));
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

/* Industrial notch: one corner of the mark is cut by an amber filet */
.contact__fact-mark::after {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  width: 11px;
  height: 11px;
  border-top: 1px solid var(--color-amber);
  border-left: 1px solid var(--color-amber);
  border-top-left-radius: 6px;
  opacity: 0.85;
}

.contact__fact-mark svg {
  width: 21px;
  height: 21px;
}

.contact__fact-label {
  display: block;
  color: var(--color-amber);
  font-size: 11.5px;
  font-weight: var(--fw-medium);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.contact__fact-value {
  color: rgba(245, 241, 232, 0.9);
  font-size: 15.5px;
  line-height: 1.5;
}

.contact__fact-value small {
  display: block;
  color: var(--text-tertiary);
  font-size: 13px;
  letter-spacing: 0.01em;
}

/* Only the two actionable rows react to the pointer */
a.contact__fact:hover .contact__fact-mark,
a.contact__fact:focus-visible .contact__fact-mark {
  border-color: var(--line-amber);
  background: linear-gradient(150deg, rgba(31, 58, 95, 0.6), rgba(18, 21, 27, 0.5));
}

a.contact__fact:hover .contact__fact-value,
a.contact__fact:focus-visible .contact__fact-value {
  color: var(--color-amber-bright);
}

/* --- Right column: the inquiry panel --------------------------
   Navy with moderate depth, one amber filet at the corner it is
   read from, and the mounting hatch continued underneath at a
   fraction of its strength. No second border, no divider stack. --- */
.contact__panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(245, 241, 232, 0.11);
  border-radius: 6px;
  padding: clamp(26px, 2.7vw, 42px) clamp(22px, 2.4vw, 40px) clamp(26px, 2.7vw, 38px);
  /* An instrument panel, not a blue card. Charcoal body, navy present
     only as the light falling across it from the upper left — the
     same direction the section itself is lit from, which is what
     seats the panel in the composition instead of on top of it. */
  background:
    radial-gradient(90% 78% at 14% 36%, rgba(42, 74, 114, 0.44), transparent 70%),
    linear-gradient(166deg, #1E2735 0%, #1B222F 44%, #171D27 100%);
  box-shadow:
    0 24px 50px -32px rgba(5, 8, 12, 0.9),
    inset 0 1px 0 rgba(245, 241, 232, 0.05);
}

/* Technical hatch, kept to the unlit side and dissolved well before
   the fields so it never sits behind type. */
.contact__panel::before {
  content: '';
  position: absolute;
  inset: -20%;
  z-index: -1;
  background: repeating-linear-gradient(102deg,
      rgba(245, 241, 232, 0.05) 0 1px,
      transparent 1px 58px);
  mask-image: radial-gradient(58% 70% at 100% 2%, black, transparent 72%);
  -webkit-mask-image: radial-gradient(58% 70% at 100% 2%, black, transparent 72%);
  pointer-events: none;
}

.contact__panel::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 86px;
  height: 64px;
  border-top: 2px solid var(--color-amber);
  border-left: 2px solid var(--color-amber);
  border-top-left-radius: 6px;
  mask-image: linear-gradient(124deg, black 42%, transparent 88%);
  -webkit-mask-image: linear-gradient(124deg, black 42%, transparent 88%);
  pointer-events: none;
}

.contact__panel-head {
  position: relative;
  margin-bottom: clamp(20px, 2vw, 26px);
}

.contact__panel-label {
  display: block;
  color: var(--color-cream);
  font-family: var(--font-heading);
  font-size: clamp(19px, 1.6vw, 23px);
  font-weight: var(--fw-regular);
  letter-spacing: 0.01em;
}

.contact__panel-note {
  margin-top: 6px;
  color: rgba(245, 241, 232, 0.6);
  font-size: 13px;
}

.contact__form {
  display: grid;
  gap: clamp(14px, 1.5vw, 18px);
}

.contact__form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(14px, 1.5vw, 18px);
}

.contact__field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.contact__form label {
  color: rgba(245, 241, 232, 0.86);
  font-size: 13.5px;
  font-weight: var(--fw-medium);
  letter-spacing: 0.015em;
}

.contact__req {
  color: var(--color-amber);
  margin-left: 3px;
}

.contact__form input,
.contact__form select,
.contact__form textarea {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  background: rgba(7, 10, 16, 0.5);
  border: 1px solid rgba(245, 241, 232, 0.19);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.5;
  transition: border-color var(--transition-fast), background var(--transition-fast),
    box-shadow var(--transition-fast);
}

.contact__form textarea {
  min-height: 132px;
  resize: vertical;
}

.contact__form input::placeholder,
.contact__form textarea::placeholder {
  color: rgba(245, 241, 232, 0.38);
}

.contact__form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E8A33D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 16px;
  padding-right: 44px;
  cursor: pointer;
}

.contact__form select option {
  background: var(--color-charcoal);
  color: var(--color-text);
}

/* The profile answers are phrases, not words, and the control has to
   show the chosen one back to the visitor. The list they choose from is
   drawn by the browser and stays legible at any width; what is at stake
   is the confirmation afterwards. So on a narrow screen the control
   gives the text every pixel it can — a small size step and a tighter
   chevron well — rather than shrinking the type to the point where it
   stops being comfortable. The ellipsis is the safety net, not the
   plan. */
@media (max-width: 560px) {
  .contact__form select {
    padding-right: 36px;
    background-position: right 12px center;
    font-size: 14.5px;
    text-overflow: ellipsis;
  }
}

/* At 320px the column is at its narrowest and "Commercial Property
   Owner" is the one answer that still would not fit. The 16px it was
   missing are taken from the gutters around the text, not from the
   type: the chevron moves in, its well narrows to just clear it, and
   the size steps once more. */
@media (max-width: 400px) {
  .contact__form select {
    padding-left: 12px;
    padding-right: 28px;
    background-position: right 9px center;
    background-size: 15px;
    font-size: 13.5px;
  }
}

/* Safari on iOS zooms the page in whenever a focused form control has
   type smaller than 16px, and then leaves the visitor scrolled sideways
   with the rest of the page off-screen. Every control here sits below
   that threshold, so on a touch device — and only there, which leaves
   the pointer-driven layout above exactly as it was approved — the type
   steps up to the 16px that keeps the zoom from firing.

   The select's narrow-screen rules above win back the room this costs
   in the gutters rather than in the type: the chevron sits closer in
   and its well is tighter, and the ellipsis stays as the safety net for
   the one answer long enough to need it. */
@media (hover: none) and (pointer: coarse) {

  .contact__form input,
  .contact__form select,
  .contact__form textarea {
    font-size: 16px;
  }
}

.contact__form input:hover,
.contact__form select:hover,
.contact__form textarea:hover {
  border-color: rgba(245, 241, 232, 0.28);
}

/* Focus is unmistakable: the amber edge plus a soft ring. The global
   keyboard outline stays on top of it for :focus-visible. */
.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus {
  border-color: var(--color-amber);
  background: rgba(7, 10, 16, 0.66);
  box-shadow: 0 0 0 3px rgba(232, 163, 61, 0.16);
}

.contact__form [aria-invalid='true'] {
  border-color: var(--color-alert);
  box-shadow: 0 0 0 3px rgba(226, 112, 92, 0.14);
}

.contact__error {
  display: none;
  align-items: center;
  gap: 7px;
  color: var(--color-alert);
  font-size: 12.5px;
  line-height: 1.45;
}

.contact__error.is-shown {
  display: flex;
}

.contact__error::before {
  content: '';
  width: 5px;
  height: 5px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-alert);
}

.contact__submit {
  margin-top: clamp(4px, 0.6vw, 8px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  padding: 15px 28px;
  font-size: 14.5px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact__submit:disabled,
.contact__submit[aria-disabled='true'] {
  opacity: 0.62;
  cursor: progress;
  transform: none;
  box-shadow: none;
}

/* The arrow leans forward on hover; it is the only thing that moves */
.contact__submit-arrow {
  transition: transform var(--transition-fast);
}

.contact__submit:hover .contact__submit-arrow {
  transform: translateX(3px);
}

.contact__submit.is-sending .contact__submit-arrow {
  display: none;
}

.contact__spinner {
  display: none;
  width: 15px;
  height: 15px;
  border: 2px solid rgba(27, 31, 39, 0.3);
  border-top-color: var(--color-charcoal);
  border-radius: 50%;
  animation: contact-spin 700ms linear infinite;
}

.contact__submit.is-sending .contact__spinner {
  display: block;
}

@keyframes contact-spin {
  to {
    transform: rotate(360deg);
  }
}

/* The reduced-motion stand-in for the spinner: the button still says
   it is working, without anything rotating. */
@keyframes contact-pulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

/* Submission feedback. One region, three registers, and it only ever
   claims what actually happened on the server. */
.contact__status {
  display: none;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 15px;
  border: 1px solid var(--line-mid);
  border-left: 2px solid var(--text-quiet);
  border-radius: 6px;
  background: rgba(9, 14, 22, 0.4);
  color: rgba(245, 241, 232, 0.9);
  font-size: 14px;
  line-height: 1.55;
}

.contact__status.is-shown {
  display: flex;
}

.contact__status.is-pending {
  border-left-color: var(--color-amber);
}

.contact__status.is-error {
  border-left-color: var(--color-alert);
  color: #F4C9BF;
}

.contact__status.is-success {
  border-left-color: #6FBF8E;
  color: #D6EEDF;
}

/* Privacy indicator: the only mark under the button, centred and
   closed off by a short rule so the panel ends on purpose. */
.contact__privacy {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin-top: clamp(6px, 0.8vw, 10px);
  padding-top: clamp(16px, 1.8vw, 22px);
  text-align: left;
}

.contact__privacy::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(240px, 70%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 241, 232, 0.16) 30%,
      rgba(245, 241, 232, 0.16) 70%, transparent);
}

.contact__privacy-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border: 1px solid var(--line-amber);
  border-radius: 50%;
  background: rgba(232, 163, 61, 0.08);
}

.contact__privacy-mark svg {
  width: 16px;
  height: 16px;
}

.contact__privacy-title {
  color: var(--color-text);
  font-size: 13.5px;
  font-weight: var(--fw-medium);
}

.contact__privacy-sub {
  color: rgba(245, 241, 232, 0.6);
  font-size: 12.5px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (min-width: 560px) {
  .contact__form-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (min-width: 1000px) {
  .contact__grid {
    /* The invitation holds slightly less width than the inquiry: the
       form is what the section is for. */
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: start;
    gap: clamp(48px, 5vw, 92px);
  }

  .contact__intro {
    padding-top: clamp(4px, 0.8vw, 12px);
  }
}

/* =============================================================
   Footer — the page's closing plate.

   Solid and lower in tone than Contact, which it continues rather
   than restarts: same ground colour at the join, the same hatch
   running through the seam, and one oversized PB4 watermark set
   into the ground instead of any new commercial appeal.
   ============================================================= */
.footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg,
      var(--ground-contact-footer) 0%,
      #0C1016 56%,
      #090C11 100%);
  padding: clamp(54px, 5.6vw, 82px) 0 0;
}

.footer > .seam--top {
  --seam-h: clamp(96px, 10vw, 160px);
  --seam-line: rgba(245, 241, 232, 0.04);
  --seam-rake-angle: 96deg;
  --seam-rake-gap: 112px;
}

/* An amber filet at the start of the closing rule, the same device
   that opens the section heads. */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: min(42%, 420px);
  height: 1px;
  background: linear-gradient(90deg, rgba(232, 163, 61, 0.55), rgba(232, 163, 61, 0));
  z-index: 1;
}

.footer__mark {
  position: absolute;
  right: clamp(-14px, -1vw, 0px);
  bottom: -0.16em;
  z-index: 0;
  font-family: var(--font-heading);
  font-size: clamp(130px, 19vw, 260px);
  font-weight: var(--fw-light);
  letter-spacing: 0.02em;
  line-height: 0.8;
  color: rgba(245, 241, 232, 0.028);
  pointer-events: none;
  user-select: none;
  mask-image: linear-gradient(to top, transparent 4%, black 70%);
  -webkit-mask-image: linear-gradient(to top, transparent 4%, black 70%);
}

.footer__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.footer__cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(34px, 3.6vw, 56px);
  padding-bottom: clamp(34px, 3.6vw, 52px);
}

.footer__logo-img {
  height: 38px;
  width: auto;
}

.footer__about {
  max-width: 38ch;
  margin-top: 18px;
  color: var(--text-tertiary);
  font-size: 14.5px;
  line-height: 1.68;
}

.footer__license {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 8px 14px 8px 11px;
  border: 1px solid var(--line-amber);
  border-radius: 999px;
  background: rgba(232, 163, 61, 0.06);
  color: rgba(245, 241, 232, 0.9);
  font-size: 12.5px;
  font-weight: var(--fw-medium);
  letter-spacing: 0.02em;
}

.footer__license svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.footer__title {
  display: block;
  margin-bottom: 18px;
  color: var(--color-amber);
  font-size: 12px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer__links {
  list-style: none;
  display: grid;
  gap: 11px;
}

.footer__links a {
  position: relative;
  display: inline-block;
  color: var(--text-secondary);
  font-size: 14.5px;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer__links a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -14px;
  width: 7px;
  height: 1px;
  background: var(--color-amber);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.footer__links a:hover,
.footer__links a:focus-visible {
  color: var(--color-amber);
  transform: translateX(5px);
}

.footer__links a:hover::before,
.footer__links a:focus-visible::before {
  opacity: 1;
}

.footer__contact {
  list-style: none;
  display: grid;
  gap: 16px;
}

.footer__contact-label {
  display: block;
  color: var(--text-quiet);
  font-size: 11.5px;
  font-weight: var(--fw-medium);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.footer__contact-value {
  color: rgba(245, 241, 232, 0.88);
  font-size: 14.5px;
  line-height: 1.5;
}

a.footer__contact-value {
  transition: color var(--transition-fast);
}

a.footer__contact-value:hover,
a.footer__contact-value:focus-visible {
  color: var(--color-amber);
}

/* --- Closing strip --- */
.footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 28px;
  padding: clamp(18px, 1.8vw, 22px) 0 clamp(20px, 2vw, 26px);
  border-top: 1px solid var(--line-soft);
}

.footer__copy,
.footer__base-note {
  color: var(--text-quiet);
  font-size: 12.5px;
  letter-spacing: 0.01em;
}

/* Three states and the working hours no longer fit one line on the
   narrowest screens. Each half stays whole so the strip breaks at the
   separator instead of splitting a time range. */
.footer__base-note span {
  white-space: nowrap;
}

/* Without JavaScript the floating Instagram button cannot retract over
   the footer, so the closing strip keeps clear of it on a narrow
   screen. With JavaScript the button is already gone by then and the
   strip keeps its normal rhythm — no empty space to hide a problem. */
@media (max-width: 640px) {
  .footer__base {
    padding-bottom: 76px;
  }

  .js .footer__base {
    padding-bottom: clamp(20px, 2vw, 26px);
  }
}

@media (min-width: 700px) {
  .footer__cols {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: clamp(32px, 4vw, 72px);
  }

  .footer__col--identity {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1000px) {
  .footer__cols {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr) minmax(0, 1fr);
  }

  .footer__col--identity {
    grid-column: auto;
  }
}
/* =============================================================
   Floating Instagram button

   Dark Premium, not Instagram's own colours: a charcoal disc lit
   from the upper left, an amber hairline and an amber mark. The
   fill inverts to amber only under the pointer, and returns to
   dark the moment the pointer leaves — one duration, one curve,
   no residue, the same contract as How We Work and Our Values.

   It gets out of the way rather than fighting for z-index: while
   any overlay holds the page it is hidden and unreachable, and it
   retracts once Contact and the footer are on screen, where the
   same profile is already linked in the page itself. That is what
   keeps it clear of the service select, the submit button and the
   footer links on a narrow viewport, without padding any section.
   ============================================================= */
.ig-float {
  position: fixed;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(232, 163, 61, 0.46);
  background:
    radial-gradient(118% 118% at 30% 18%, rgba(42, 74, 114, 0.5), transparent 68%),
    linear-gradient(160deg, #1F2632 0%, #141922 100%);
  color: var(--color-amber);
  box-shadow: 0 12px 26px -12px rgba(5, 8, 12, 0.9);
  transition:
    background var(--ig-dur) var(--ig-ease),
    color var(--ig-dur) var(--ig-ease),
    border-color var(--ig-dur) var(--ig-ease),
    box-shadow var(--ig-dur) var(--ig-ease),
    transform var(--ig-dur) var(--ig-ease),
    opacity var(--ig-dur) var(--ig-ease),
    visibility 0s;
}

.ig-float svg {
  width: 22px;
  height: 22px;
}

/* Reserved for a real pointer: on a touch screen the fill would
   stay inverted after the tap. */
@media (hover: hover) and (pointer: fine) {
  .ig-float:hover {
    background: var(--color-amber);
    border-color: var(--color-amber);
    color: var(--color-charcoal);
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -12px rgba(232, 163, 61, 0.55);
  }
}

.ig-float:focus-visible {
  border-color: var(--color-amber);
  outline: 2px solid var(--color-cream);
  outline-offset: 3px;
}

.ig-float:active {
  transform: scale(0.95);
}

/* Out of sight and out of the tab order: while an overlay holds the
   page, and once the visitor has reached Contact or the footer. */
body.has-overlay .ig-float,
.ig-float.is-tucked {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.92);
  pointer-events: none;
  transition:
    opacity var(--ig-dur) var(--ig-ease),
    transform var(--ig-dur) var(--ig-ease),
    visibility 0s linear var(--ig-dur);
}

/* On narrow screens it steps down to the minimum comfortable touch
   target and tightens its margins, so it covers as little of the text
   column as a fixed control can. */
@media (max-width: 400px) {
  .ig-float {
    right: max(11px, env(safe-area-inset-right));
    bottom: max(11px, env(safe-area-inset-bottom));
    width: 44px;
    height: 44px;
  }

  .ig-float svg {
    width: 20px;
    height: 20px;
  }
}

@media (min-width: 768px) {
  .ig-float {
    right: max(28px, env(safe-area-inset-right));
    bottom: max(28px, env(safe-area-inset-bottom));
    width: 54px;
    height: 54px;
  }

  .ig-float svg {
    width: 24px;
    height: 24px;
  }
}

/* =============================================================
   Projects lightbox — a viewer for one project at a time: the
   photograph whole, its identification beside it, and the position
   in the gallery. Hidden until JavaScript upgrades the gallery, so
   the photographs stay reachable through their own links if it
   never runs.
   ============================================================= */
.lb {
  position: fixed;
  inset: 0;
  /* Above the nav (100), the floating Instagram link (150) and the
     welcome popup (300): while it is open nothing else is reachable */
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 3vw, 44px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 240ms var(--ease-inout), visibility 0s linear 240ms;
}

.lb[hidden] {
  display: none;
}

.lb.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 240ms var(--ease-inout);
}

.lb__backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 70% at 50% 44%, rgba(16, 20, 27, 0.9), rgba(7, 9, 12, 0.96));
  backdrop-filter: blur(3px);
}

.lb__frame {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  width: 100%;
  max-width: 1180px;
  max-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(245, 241, 232, 0.1);
  border-radius: 4px;
  background: linear-gradient(168deg, #161B24 0%, #11141B 62%, #0E1117 100%);
  box-shadow: 0 44px 110px -46px rgba(0, 0, 0, 0.95);
  opacity: 0;
  transform: translateY(16px) scale(0.988);
  transition: opacity 240ms var(--ease-inout), transform 340ms var(--ease-out-soft);
}

.lb.is-open .lb__frame {
  opacity: 1;
  transform: none;
}

.lb__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  padding: clamp(12px, 1.8vw, 24px);
  background:
    radial-gradient(64% 58% at 50% 46%, rgba(31, 58, 95, 0.2), transparent 76%),
    #0A0D12;
  touch-action: pan-y;
}

.lb__image {
  max-width: 100%;
  max-height: min(70vh, 700px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 2px;
  opacity: 1;
  transition: opacity 170ms var(--ease-inout);
}

.lb.is-swapping .lb__image {
  opacity: 0;
}

.lb__panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(18px, 2vw, 30px);
  border-top: 1px solid rgba(245, 241, 232, 0.08);
}

.lb__cat {
  font-size: 11px;
  font-weight: var(--fw-medium);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-amber);
}

.lb__title {
  font-family: var(--font-heading);
  font-size: clamp(19px, 2.2vw, 27px);
  font-weight: var(--fw-light);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--color-cream);
}

.lb__note {
  max-width: 46ch;
  font-size: 14.5px;
  line-height: 1.68;
  color: var(--text-tertiary);
}

.lb__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: clamp(16px, 1.8vw, 24px);
  border-top: 1px solid var(--line-soft);
}

.lb__count {
  font-family: var(--font-heading);
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--text-quiet);
}

.lb__count span:first-child {
  color: var(--color-amber);
}

.lb__arrows {
  display: flex;
  gap: 8px;
}

.lb__arrow,
.lb__close {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(245, 241, 232, 0.2);
  border-radius: 2px;
  background: rgba(27, 31, 39, 0.66);
  color: var(--color-cream);
  transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
}

.lb__arrow svg,
.lb__close svg {
  width: 18px;
  height: 18px;
}

.lb__arrow:hover,
.lb__close:hover {
  border-color: var(--color-amber);
  background: rgba(232, 163, 61, 0.12);
  color: var(--color-amber);
}

.lb__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  backdrop-filter: blur(4px);
}

/* Desktop: the photograph keeps the stage, the text sits beside it */
@media (min-width: 880px) {
  .lb__frame {
    grid-template-rows: none;
    grid-template-columns: minmax(0, 1fr) clamp(280px, 25vw, 340px);
  }

  .lb__panel {
    justify-content: center;
    /* keeps the first line clear of the close control */
    padding-top: 64px;
    border-top: 0;
    border-left: 1px solid rgba(245, 241, 232, 0.08);
  }

  .lb__image {
    max-height: min(76vh, 760px);
  }
}

/* Narrow screens: the frame itself scrolls, so a long note can never
   push the controls off the bottom */
@media (max-width: 879px) {
  .lb__frame {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .lb__image {
    max-height: 48vh;
  }

  .lb__arrow,
  .lb__close {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 400px) {
  .lb {
    padding: 8px;
  }

  .lb__image {
    max-height: 42vh;
  }
}

/* =============================================================
   Welcome modal

   A composition, not a card with a picture in it. The dusk-lit plate
   carries one side and dissolves into the charcoal body on the
   other, so the two halves share one atmosphere: the warm city
   lights on the right of the frame sit next to the amber of the
   call to action, and the navy of the dusk sky is the same navy
   that lights the Contact panel.

   It is deliberately smaller than the viewport — wide enough to be
   a composition, short enough to read as a message over the page
   rather than a page of its own.
   ============================================================= */
.wel {
  position: fixed;
  inset: 0;
  /* Under the lightbox (400), over the nav (100) and the floating
     Instagram link (150). */
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 3vw, 40px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 260ms var(--ease-inout), visibility 0s linear 260ms;
}

.wel[hidden] {
  display: none;
}

.wel.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 260ms var(--ease-inout);
}

.wel__backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(74% 74% at 50% 46%, rgba(16, 20, 27, 0.86), rgba(7, 9, 12, 0.95));
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.wel__frame {
  position: relative;
  z-index: 1;
  display: grid;
  width: 100%;
  max-width: 880px;
  max-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(245, 241, 232, 0.11);
  border-radius: 6px;
  background: linear-gradient(166deg, #1C232F 0%, #171D27 62%, #12161D 100%);
  box-shadow:
    0 48px 110px -48px rgba(0, 0, 0, 0.95),
    inset 0 1px 0 rgba(245, 241, 232, 0.05);
  opacity: 0;
  transform: translateY(14px) scale(0.986);
  transition: opacity 260ms var(--ease-inout), transform 380ms var(--ease-out-soft);
}

.wel.is-open .wel__frame {
  opacity: 1;
  transform: none;
}

/* The frame takes focus when the modal opens so the dialog is
   announced; it is not a control, so it draws no ring. */
.wel__frame:focus {
  outline: none;
}

/* The filet that closes the composition: amber across the lit part
   of the frame, gone before either corner. */
.wel__frame::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg,
      rgba(232, 163, 61, 0) 0%,
      var(--color-amber) 34%,
      var(--color-amber) 76%,
      rgba(232, 163, 61, 0) 100%);
  pointer-events: none;
}

/* --- Photograph --- */
.wel__media {
  position: relative;
  overflow: hidden;
  background: var(--color-navy-deep);
}

/* The plate is a wide panorama and the frame is not: left whole it
   would hand half the composition to empty sky. It is pushed in on
   the lit downtown cluster and the last of the sunset instead —
   the part of the photograph that carries the amber. */
.wel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
  transform: scale(1.5);
  transform-origin: 58% 84%;
}

/* Seats the plate in the frame: the body tone comes up through the
   photograph at the joining edge instead of meeting it as a cut. */
.wel__media-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(176deg, rgba(12, 15, 20, 0.5) 0%, rgba(12, 15, 20, 0) 34%),
    linear-gradient(0deg, rgba(12, 15, 20, 0.62) 0%, rgba(12, 15, 20, 0) 46%);
}

/* A single technical hairline over the plate — the industrial detail
   the composition needs, and nothing more. */
.wel__media-edge {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(104deg,
      rgba(245, 241, 232, 0.05) 0 1px,
      transparent 1px 54px);
  -webkit-mask-image: radial-gradient(70% 80% at 6% 0%, black, transparent 74%);
  mask-image: radial-gradient(70% 80% at 6% 0%, black, transparent 74%);
}

/* --- Content --- */
.wel__body {
  position: relative;
  isolation: isolate;
  display: grid;
  justify-items: start;
  align-content: center;
  padding: clamp(26px, 3.2vw, 44px) clamp(22px, 3vw, 44px) clamp(24px, 3vw, 40px);
  /* Charcoal body with navy only as the light falling across it,
     from the same direction the photograph is lit. */
  background: radial-gradient(96% 82% at 6% 6%, rgba(42, 74, 114, 0.42), transparent 74%);
}

.wel__logo {
  width: auto;
  height: clamp(28px, 2.6vw, 34px);
  opacity: 0.94;
  margin-bottom: clamp(20px, 2.4vw, 30px);
}

.wel__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
  color: var(--color-amber);
  font-size: 12.5px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.17em;
  line-height: 1.2;
  text-transform: uppercase;
}

.wel__eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--color-amber);
  flex-shrink: 0;
}

.wel__title {
  font-family: var(--font-heading);
  font-size: clamp(27px, 3.3vw, 39px);
  font-weight: var(--fw-light);
  line-height: 1.12;
  letter-spacing: -0.012em;
  color: var(--color-cream);
}

.wel__title-accent {
  color: var(--color-amber);
  font-weight: var(--fw-medium);
}

.wel__text {
  margin-top: 16px;
  max-width: 36ch;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--text-secondary);
}

.wel__cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: 340px;
  margin-top: clamp(22px, 2.4vw, 30px);
  padding: 14px 20px;
  border-radius: 4px;
  background: var(--color-amber);
  color: var(--color-charcoal);
  font-size: 14px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  touch-action: manipulation;
  transition: background var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.wel__cta svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.wel__cta:hover {
  background: var(--color-amber-bright);
  box-shadow: 0 12px 26px -10px rgba(232, 163, 61, 0.5);
}

.wel__cta:hover svg {
  transform: translateX(3px);
}

.wel__cta:active {
  transform: scale(0.99);
}

/* --- Close --- */
.wel__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(245, 241, 232, 0.2);
  background: rgba(14, 17, 23, 0.62);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--color-cream);
  transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
}

.wel__close svg {
  width: 16px;
  height: 16px;
}

.wel__close:hover {
  border-color: var(--color-amber);
  color: var(--color-amber);
  background: rgba(14, 17, 23, 0.82);
}

/* --- Narrow screens: the plate becomes a band above the message,
   which suits a panorama better than any vertical crop. The frame
   itself scrolls if a small screen cannot hold the whole message. --- */
@media (max-width: 719px) {
  .wel__frame {
    grid-template-rows: auto minmax(0, auto);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .wel__media {
    aspect-ratio: 16 / 7;
  }

  .wel__media img {
    object-position: 60% 72%;
    transform: scale(1.12);
    transform-origin: 60% 78%;
  }

  .wel__media-veil {
    background: linear-gradient(0deg,
        rgba(23, 29, 39, 0.96) 0%,
        rgba(23, 29, 39, 0.1) 52%,
        rgba(12, 15, 20, 0.34) 100%);
  }

  .wel__cta {
    max-width: none;
  }
}

@media (max-width: 359px) {
  .wel {
    padding: 10px;
  }

  .wel__media {
    aspect-ratio: 16 / 8;
  }

  .wel__close {
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
  }
}

@media (min-width: 720px) {
  .wel__frame {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    min-height: 408px;
  }

  /* The photograph gives its right edge to the body tone, so the two
     halves read as one surface rather than a pasted image. */
  .wel__media-veil {
    background:
      /* The same navy light that falls across the body carries on
         over the photograph, so the two halves are lit from one
         source and the join stops reading as a cut. */
      radial-gradient(78% 68% at 112% 4%, rgba(42, 74, 114, 0.55), transparent 72%),
      linear-gradient(90deg,
        rgba(12, 15, 20, 0.42) 0%,
        rgba(12, 15, 20, 0) 26%,
        rgba(26, 33, 44, 0.26) 58%,
        rgba(27, 34, 46, 0.7) 84%,
        rgba(28, 35, 47, 0.96) 100%),
      linear-gradient(0deg, rgba(12, 15, 20, 0.52) 0%, rgba(12, 15, 20, 0) 44%);
  }
}

/* A short viewport keeps the modal inside the screen instead of
   growing past it. */
@media (max-height: 620px) and (min-width: 720px) {
  .wel__frame {
    min-height: 0;
  }

  .wel__body {
    overflow-y: auto;
  }
}

/* =============================================================
   Scroll-reveal (base animation, toggled via JS/IntersectionObserver)
   ============================================================= */
/* Entrance animations only run when JS can switch them back on, so the
   content stays readable without JavaScript. Direction and intensity are
   chosen per element via data-reveal; sequencing via --reveal-delay. */
.js .reveal,
.js [data-reveal] {
  opacity: 0;
  transition:
    opacity var(--dur-slow) var(--ease-out-soft) var(--reveal-delay, 0ms),
    transform var(--dur-slow) var(--ease-out-soft) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.js .reveal,
.js [data-reveal='up'] {
  transform: translateY(26px);
}

.js [data-reveal='up-sm'] {
  transform: translateY(14px);
}

.js [data-reveal='down'] {
  transform: translateY(-18px);
}

.js [data-reveal='from-left'] {
  transform: translateX(-30px);
}

.js [data-reveal='from-right'] {
  transform: translateX(30px);
}

.js [data-reveal='scale'] {
  transform: scale(1.045);
}

/* Wrapper that masks a rising line of type */
.line-mask {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}

/* Line reveal: the element rises inside a masking wrapper */
.js [data-reveal='rise'] {
  transform: translateY(58%);
}

.js [data-reveal='fade'] {
  transform: none;
}

.js .reveal.is-visible,
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* Discreet, continuous drift for decorative graphic layers only */
@keyframes fx-drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(1.5%, -1.8%, 0); }
}

.fx--drift {
  animation: fx-drift 22s var(--ease-inout) infinite;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal,
  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .fx--drift {
    animation: none;
  }

  .nav__menu,
  .nav__submenu,
  .nav__link::after,
  .nav__chevron,
  .btn {
    transition: none;
  }

  .btn:hover,
  .btn:active {
    transform: none;
  }

  .hero__bg {
    transform: none !important;
  }

  .pj-item img,
  .pj-item__sheen::after,
  .pj-item__info,
  .pj-item__rule,
  .pj-item__zoom,
  .pj-item::after,
  .pj-open__rule {
    transition: none;
  }

  .pj-item img {
    transform: none;
  }

  .lb,
  .lb__frame,
  .lb__image {
    transition: none;
  }

  .lb__frame {
    transform: none;
  }

  .wel,
  .wel__frame,
  .wel__cta,
  .wel__cta svg,
  .wel__close {
    transition: none;
  }

  .wel__frame {
    transform: none;
  }

  .wel__cta:hover svg {
    transform: none;
  }

  .js .svc-row__panel,
  .svc-row::before,
  .svc-row__marker::before,
  .svc-row__marker::after,
  .js .svc-learn__panel,
  .svc-learn__chev,
  .svc-learn__label,
  .svc-learn__source {
    transition: none;
  }

  /* The timeline is drawn immediately; the sequence is still legible
     through the numbering and the connecting line. */
  .js .how__marker,
  .js .how__step h3,
  .js .how__step p {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .js .how__timeline.is-visible .how__marker,
  .js .how__timeline.is-visible .how__step::after {
    animation: none;
  }

  .js .how__step::before,
  .js .how__timeline.is-visible .how__step::before {
    transition: none;
    background-size: 100% 100%;
  }

  .js .how__step::after {
    opacity: 0;
  }

  .ig-float {
    transition: none;
  }

  .ig-float:hover,
  .ig-float:active {
    transform: none;
  }

  body.has-overlay .ig-float,
  .ig-float.is-tucked {
    transform: none;
    transition: none;
  }

  .pp__mark,
  .pp__cta,
  .pp__cta svg,
  .contact__form input,
  .contact__form select,
  .contact__form textarea,
  .contact__fact-mark,
  .contact__fact-value,
  .contact__submit-arrow,
  .footer__links a,
  .footer__links a::before,
  a.footer__contact-value {
    transition: none;
  }

  .contact__submit:hover .contact__submit-arrow,
  .pp__cta:hover svg,
  .footer__links a:hover,
  .footer__links a:focus-visible {
    transform: none;
  }

  /* Still a live indicator, just not a rotating one */
  .contact__spinner {
    border-top-color: var(--color-charcoal);
    animation: contact-pulse 1.2s var(--ease-inout) infinite;
  }
}

/* =============================================================
   Responsive
   ============================================================= */
/* Contact and the footer carry their own breakpoints inside their
   own blocks, next to the composition they adapt. */