/* ==========================================================================
   Evergreen Trading APAC Pty Ltd — Institutional Light UI System
   Fortune 500 3-Tier Typography (Source Serif 4 + IBM Plex Sans + IBM Plex Mono)
   Warm Limestone Alabaster + Translucent Mineral Cards + Zero Inline CSS
   ========================================================================== */

@font-face {
  font-family: "Source Serif 4";
  src: url("/assets/fonts/source-serif-4-400-700-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("/assets/fonts/ibm-plex-sans-normal.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/ibm-plex-mono-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/ibm-plex-mono-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Warm Architectural Limestone & Alabaster Palette (Never #fff or #000) */
  --bg-canvas: #f6f5f0;
  --bg-band: #eeece4;
  --bg-footer: #eae7de;
  --bg-card: rgba(253, 252, 249, 0.82);
  --bg-card-hover: rgba(254, 253, 251, 0.94);
  --bg-input: rgba(254, 253, 250, 0.92);
  --bg-pill: rgba(24, 36, 32, 0.045);

  /* Dignified Executive Ink Hierarchy */
  --fg-primary: #16231f;
  --fg-secondary: #4c5a54;
  --fg-muted: #707e78;
  --fg-on-dark: #f6f5f0;

  /* Corporate Accents from Evergreen Crest (#20302b & #bb9968) */
  --brand-forest: #1d302b;
  --brand-forest-hover: #28413a;
  --brand-forest-soft: rgba(29, 48, 43, 0.075);
  --brand-bronze: #8c6b3f;
  --brand-bronze-soft: rgba(140, 107, 63, 0.1);
  --brand-sage: #2b6952;
  --brand-sage-soft: rgba(43, 105, 82, 0.1);
  --brand-clay: #9e5633;
  --brand-clay-soft: rgba(158, 86, 51, 0.1);
  --danger: #b53d32;
  --danger-soft: rgba(181, 61, 50, 0.08);

  /* 1px Semi-Transparent Strokes & Top Inset Highlights */
  --stroke-subtle: rgba(22, 35, 31, 0.09);
  --stroke-medium: rgba(22, 35, 31, 0.15);
  --stroke-hover: rgba(29, 48, 43, 0.28);
  --inset-top: inset 0 1px 0 0 rgba(255, 255, 255, 0.92);
  --inset-top-strong: inset 0 1px 0 0 rgba(255, 255, 255, 0.98);
  --shadow-ambient: 0 14px 34px -20px rgba(20, 32, 28, 0.085), 0 2px 6px -2px rgba(20, 32, 28, 0.03);
  --shadow-float: 0 22px 46px -22px rgba(20, 32, 28, 0.13), 0 4px 10px -4px rgba(20, 32, 28, 0.04);

  /* Fortune Global 500 3-Tier Font Stack */
  --font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;

  /* Geometry & Motion */
  --container-max: 1260px;
  --gutter: clamp(20px, 4.2vw, 56px);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background-color: var(--bg-canvas);
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg-canvas);
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  position: relative;
}

body.nav-locked {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

/* Dignified, Upright Institutional Headings — Zero Quirky Italics */
h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 540;
  font-style: normal;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--fg-primary);
  text-wrap: balance;
}

h1 em,
h2 em,
.section-title em,
.hero-title em {
  font-style: normal;
  color: var(--brand-forest);
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--brand-forest);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Monospace & Tabular Numbers Mandate */
.mono,
.num,
[data-count] {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

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

/* ==========================================================================
   Ambient Spatial Backdrop: Warm/Cool Light Orbs + Datum Grid + Paper Grain
   ========================================================================== */

.ambient-backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.65) 0%, rgba(246, 245, 240, 0) 64%),
    linear-gradient(180deg, #f8f7f3 0%, #f5f4ef 54%, #f0ede5 100%);
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(115px);
  will-change: transform;
}

.ambient-orb.orb-brass {
  width: 580px;
  height: 580px;
  top: -150px;
  left: -100px;
  background: rgba(187, 153, 104, 0.13);
}

.ambient-orb.orb-eucalyptus {
  width: 660px;
  height: 660px;
  top: 22%;
  right: -180px;
  background: rgba(38, 86, 70, 0.075);
}

.ambient-orb.orb-clay {
  width: 520px;
  height: 520px;
  bottom: -140px;
  left: 16%;
  background: rgba(176, 130, 88, 0.08);
}

.ambient-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(22, 35, 31, 0.036) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(22, 35, 31, 0.036) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 84% 66% at 50% 20%, #000 12%, transparent 100%);
  mask-image: radial-gradient(ellipse 84% 66% at 50% 20%, #000 12%, transparent 100%);
}

.ambient-noise {
  position: absolute;
  inset: 0;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* ==========================================================================
   Layout Primitives & 11px Micro-Capsule Badges
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section {
  padding: clamp(68px, 8vw, 112px) 0;
  position: relative;
}

.section-compact {
  padding: clamp(48px, 5.6vw, 78px) 0;
  position: relative;
}

.section-divider {
  border-top: 1px solid var(--stroke-subtle);
}

.micro-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--brand-forest);
  background: var(--brand-forest-soft);
  border: 1px solid rgba(29, 48, 43, 0.16);
  box-shadow: var(--inset-top);
}

.micro-pill.pill-neutral {
  color: var(--fg-secondary);
  background: var(--bg-pill);
  border-color: var(--stroke-subtle);
}

.micro-pill.pill-sage {
  color: var(--brand-sage);
  background: var(--brand-sage-soft);
  border-color: rgba(43, 105, 82, 0.22);
}

.micro-pill.pill-clay {
  color: var(--brand-clay);
  background: var(--brand-clay-soft);
  border-color: rgba(158, 86, 51, 0.22);
}

/* Soft Breathing Status Indicator */
.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-sage);
  box-shadow: 0 0 0 0 rgba(43, 105, 82, 0.42);
  animation: statusBreath 2.8s ease-in-out infinite;
  flex-shrink: 0;
}

.pulse-dot.dot-brass {
  background: var(--brand-bronze);
  box-shadow: 0 0 0 0 rgba(140, 107, 63, 0.42);
}

.pulse-dot.dot-clay {
  background: var(--brand-clay);
  box-shadow: 0 0 0 0 rgba(158, 86, 51, 0.42);
}

.pulse-dot.dot-muted {
  background: var(--fg-muted);
  animation: none;
}

@keyframes statusBreath {
  0%,
  100% {
    opacity: 0.95;
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(43, 105, 82, 0.36);
  }
  50% {
    opacity: 0.65;
    transform: scale(0.92);
    box-shadow: 0 0 0 5px rgba(43, 105, 82, 0);
  }
}

/* Section Headers */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  margin-bottom: clamp(36px, 4.4vw, 54px);
  flex-wrap: wrap;
}

.section-header-main {
  max-width: 680px;
}

.section-header-main .micro-pill {
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  line-height: 1.13;
}

.section-subtitle {
  max-width: 46ch;
  color: var(--fg-secondary);
  font-size: 15.5px;
  line-height: 1.68;
}

/* ==========================================================================
   Buttons & Interactive Links (Dignified Executive Controls)
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid var(--stroke-medium);
  background: rgba(254, 253, 250, 0.82);
  color: var(--fg-primary);
  box-shadow: var(--inset-top), 0 2px 6px rgba(20, 32, 28, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    transform 0.24s var(--ease-out),
    background-color 0.24s var(--ease-out),
    border-color 0.24s var(--ease-out),
    color 0.24s var(--ease-out),
    box-shadow 0.24s var(--ease-out);
}

.btn:hover {
  transform: translateY(-1.5px);
  background: #fbfaf7;
  border-color: var(--stroke-hover);
  box-shadow: var(--inset-top-strong), 0 8px 20px -10px rgba(20, 32, 28, 0.14);
}

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

.btn-primary {
  background: var(--brand-forest);
  color: var(--fg-on-dark);
  border-color: var(--brand-forest);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 10px 24px -12px rgba(29, 48, 43, 0.42);
}

.btn-primary:hover {
  background: var(--brand-forest-hover);
  border-color: var(--brand-forest-hover);
  color: var(--fg-on-dark);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 14px 28px -12px rgba(29, 48, 43, 0.5);
}

.btn svg,
.inline-link svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  transition: transform 0.24s var(--ease-out);
}

.btn:hover svg,
.inline-link:hover svg {
  transform: translate(2px, -2px);
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand-forest);
  padding: 5px 0;
  border-bottom: 1px solid rgba(29, 48, 43, 0.28);
  transition: color 0.22s ease, border-color 0.22s ease;
}

.inline-link:hover {
  color: var(--brand-bronze);
  border-bottom-color: var(--brand-bronze);
}

/* ==========================================================================
   Site Header & Responsive Navigation (Light Frosted Limestone)
   ========================================================================== */

.scroll-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 220;
  background: rgba(22, 35, 31, 0.05);
  pointer-events: none;
}

.scroll-bar-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--brand-forest) 0%, var(--brand-bronze) 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.08s linear;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 180;
  padding: 15px 0;
  background: rgba(246, 245, 240, 0.82);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid var(--stroke-subtle);
  transition:
    padding 0.3s var(--ease-out),
    background-color 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out);
}

.site-header.is-scrolled {
  padding: 10px 0;
  background: rgba(246, 245, 240, 0.94);
  box-shadow: 0 10px 30px -20px rgba(20, 32, 28, 0.14);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
  position: relative;
  z-index: 205;
}

.brand-crest {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  border: 1px solid rgba(22, 35, 31, 0.12);
  box-shadow: 0 3px 10px rgba(20, 32, 28, 0.08);
  transition: transform 0.28s var(--ease-out);
}

.brand-lockup:hover .brand-crest {
  transform: scale(1.03);
}

.brand-text-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-wordmark {
  display: block;
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.05;
  color: var(--brand-forest);
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--fg-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(254, 253, 250, 0.76);
  border: 1px solid var(--stroke-subtle);
  box-shadow: var(--inset-top);
}

.nav-links a {
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.015em;
  white-space: nowrap;
  color: var(--fg-secondary);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-links a:hover {
  color: var(--fg-primary);
  background: rgba(22, 35, 31, 0.045);
}

.nav-links a[aria-current="page"] {
  color: var(--brand-forest);
  font-weight: 600;
  background: rgba(29, 48, 43, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 12px;
  white-space: nowrap;
  color: var(--fg-secondary);
  padding: 8px 10px;
  border-radius: 999px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.header-phone:hover {
  color: var(--brand-forest);
  background: rgba(22, 35, 31, 0.045);
}

.header-phone svg {
  width: 14px;
  height: 14px;
  color: var(--brand-bronze);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--stroke-medium);
  background: #fbfaf7;
  color: var(--fg-primary);
  cursor: pointer;
  position: relative;
  z-index: 205;
  box-shadow: var(--inset-top);
}

.nav-toggle svg {
  width: 18px;
  height: 18px;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

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

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex;
  }

  .header-actions .btn-primary {
    display: none;
  }

  .site-header:has(.nav-links.is-open) {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #f6f5f0;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100dvh;
    z-index: 200;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 10px;
    padding: 88px var(--gutter) 40px;
    overflow-y: auto;
    border-radius: 0;
    border: 0;
    background: #f6f5f0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.26s var(--ease-out), transform 0.26s var(--ease-out), visibility 0.26s;
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links a {
    padding: 16px 20px;
    font-size: 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--stroke-subtle);
    background: rgba(254, 253, 250, 0.9);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav-links .mobile-only-cta {
    display: flex;
    justify-content: center;
    margin-top: 12px;
    background: var(--brand-forest);
    color: var(--fg-on-dark);
    font-weight: 600;
    border-color: var(--brand-forest);
  }
}

@media (min-width: 961px) {
  .nav-links .mobile-only-cta {
    display: none;
  }
}

/* ==========================================================================
   Translucent Frosted Alabaster Card Base
   ========================================================================== */

.glass-panel {
  background: linear-gradient(180deg, rgba(254, 253, 250, 0.88) 0%, rgba(248, 246, 240, 0.76) 100%);
  border: 1px solid var(--stroke-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--inset-top), var(--shadow-ambient);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
}

/* ==========================================================================
   Monumental Full-Bleed Skyline Hero + Adaptive Transparent Header
   ========================================================================== */

body.has-grand-hero:not(.nav-locked) .site-header:not(.is-scrolled) {
  background: linear-gradient(
    180deg,
    rgba(10, 17, 15, 0.64) 0%,
    rgba(10, 17, 15, 0.24) 68%,
    rgba(10, 17, 15, 0) 100%
  );
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: rgba(246, 244, 238, 0.13);
}

body.has-grand-hero:not(.nav-locked) .site-header:not(.is-scrolled) .brand-wordmark {
  color: #f7f5ef;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

body.has-grand-hero:not(.nav-locked) .site-header:not(.is-scrolled) .brand-sub {
  color: rgba(235, 227, 211, 0.82);
}

body.has-grand-hero:not(.nav-locked) .site-header:not(.is-scrolled) .brand-crest {
  border-color: rgba(246, 244, 238, 0.26);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

body.has-grand-hero:not(.nav-locked) .site-header:not(.is-scrolled) .header-phone {
  color: rgba(246, 244, 238, 0.9);
}

body.has-grand-hero:not(.nav-locked) .site-header:not(.is-scrolled) .header-phone:hover {
  color: #fcfbf7;
  background: rgba(246, 244, 238, 0.1);
}

body.has-grand-hero:not(.nav-locked) .site-header:not(.is-scrolled) .header-phone svg {
  color: #dfc18d;
}

body.has-grand-hero:not(.nav-locked) .site-header:not(.is-scrolled) .header-actions .btn-primary {
  background: #f5f2e9;
  color: #15231f;
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 8px 24px rgba(0, 0, 0, 0.25);
}

body.has-grand-hero:not(.nav-locked) .site-header:not(.is-scrolled) .header-actions .btn-primary:hover {
  background: #fbf9f4;
  color: #0e1916;
}

body.has-grand-hero:not(.nav-locked) .site-header:not(.is-scrolled) .nav-toggle {
  background: rgba(14, 23, 20, 0.5);
  border-color: rgba(246, 244, 238, 0.24);
  color: #f7f5ef;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

@media (min-width: 961px) {
  body.has-grand-hero:not(.nav-locked) .site-header:not(.is-scrolled) .nav-links {
    background: rgba(14, 23, 20, 0.44);
    border-color: rgba(246, 244, 238, 0.16);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  }

  body.has-grand-hero:not(.nav-locked) .site-header:not(.is-scrolled) .nav-links a {
    color: rgba(246, 244, 238, 0.84);
  }

  body.has-grand-hero:not(.nav-locked) .site-header:not(.is-scrolled) .nav-links a:hover {
    color: #f8f6f0;
    background: rgba(246, 244, 238, 0.1);
  }

  body.has-grand-hero:not(.nav-locked) .site-header:not(.is-scrolled) .nav-links a[aria-current="page"] {
    color: #f8f6f0;
    background: rgba(246, 244, 238, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
  }
}

.hero {
  position: relative;
  padding: 132px 0 72px;
  border-bottom: 1px solid var(--stroke-subtle);
}

.hero.hero-monumental {
  padding: 0;
  min-height: clamp(720px, 92vh, 960px);
  background: #101a17;
  overflow: hidden;
  border-bottom: 1px solid rgba(22, 35, 31, 0.14);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% 44%;
  transform: scale(1.03);
  animation: heroPanSettle 2.4s var(--ease-out) forwards;
}

@keyframes heroPanSettle {
  from {
    transform: scale(1.045);
  }
  to {
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-img {
    transform: none;
    animation: none;
  }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(10, 17, 15, 0.56) 0%,
      rgba(10, 17, 15, 0.08) 24%,
      rgba(10, 17, 15, 0.14) 68%,
      rgba(10, 17, 15, 0.8) 100%
    ),
    linear-gradient(
      96deg,
      rgba(10, 17, 15, 0.82) 0%,
      rgba(10, 17, 15, 0.52) 38%,
      rgba(10, 17, 15, 0.12) 68%,
      rgba(10, 17, 15, 0.04) 100%
    );
}

.hero-monumental-inner {
  position: relative;
  z-index: 2;
  min-height: clamp(720px, 92vh, 960px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  padding: clamp(142px, 16vh, 188px) var(--gutter) clamp(30px, 4vh, 44px);
}

.hero-copy-monumental {
  max-width: 720px;
}

.hero-pill {
  background: rgba(15, 25, 22, 0.54);
  border-color: rgba(246, 244, 238, 0.22);
  color: #efeae0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-pill .pulse-dot {
  background: #58b88a;
}

.hero-monumental .hero-title {
  font-size: clamp(2.75rem, 5.3vw, 4.75rem);
  line-height: 1.06;
  letter-spacing: -0.024em;
  margin-top: 20px;
  max-width: 15.5ch;
  color: #f8f6f0;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.34);
}

.hero-monumental .hero-lede {
  margin-top: 22px;
  max-width: 54ch;
  font-size: clamp(1.02rem, 1.18vw, 1.14rem);
  color: rgba(242, 239, 231, 0.88);
  line-height: 1.72;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.28);
}

.btn-hero-light {
  background: #f5f2e9;
  color: #15231f;
  border-color: rgba(252, 251, 247, 0.65);
  box-shadow: inset 0 1px 0 rgba(252, 251, 247, 0.95), 0 12px 28px rgba(10, 17, 15, 0.32);
}

.btn-hero-light:hover {
  background: #fcfbf7;
  color: #0e1916;
  border-color: #fcfbf7;
  box-shadow: inset 0 1px 0 rgba(252, 251, 247, 0.98), 0 16px 34px rgba(10, 17, 15, 0.38);
}

.btn-hero-glass {
  background: rgba(15, 25, 22, 0.48);
  color: #f5f2e9;
  border-color: rgba(246, 244, 238, 0.28);
  box-shadow: inset 0 1px 0 rgba(252, 251, 247, 0.14), 0 8px 24px rgba(10, 17, 15, 0.22);
}

.btn-hero-glass:hover {
  background: rgba(24, 38, 34, 0.68);
  color: #fcfbf7;
  border-color: rgba(246, 244, 238, 0.48);
}

.hero-telemetry-ribbon {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  align-items: center;
  gap: 20px;
  padding: 18px 24px;
  border-radius: var(--radius-md);
  background: rgba(13, 22, 19, 0.58);
  border: 1px solid rgba(246, 244, 238, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 18px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
}

.ribbon-datum {
  padding-right: 16px;
  border-right: 1px solid rgba(246, 244, 238, 0.12);
}

.ribbon-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(235, 229, 216, 0.66);
  margin-bottom: 4px;
}

.ribbon-val {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 13.5px;
  font-weight: 500;
  color: #f7f5ef;
}

.ribbon-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-left: 4px;
  font-size: 12.5px;
  color: rgba(240, 236, 227, 0.82);
}

.ribbon-cta strong {
  color: #f7f5ef;
}

.ribbon-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e4c690;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(228, 198, 144, 0.45);
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.ribbon-link svg {
  width: 13px;
  height: 13px;
}

.ribbon-link:hover {
  color: #f5dfb5;
  border-bottom-color: #f5dfb5;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(32px, 4.5vw, 60px);
  align-items: center;
}

.hero-title {
  font-size: clamp(2.35rem, 4.3vw, 3.85rem);
  line-height: 1.09;
  letter-spacing: -0.022em;
  margin-top: 18px;
  max-width: 17ch;
  color: var(--fg-primary);
}

.hero-lede {
  margin-top: 22px;
  max-width: 54ch;
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  color: var(--fg-secondary);
  line-height: 1.72;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 30px;
}

/* Framed Architectural Visual + Telemetry Stack */
.hero-visual-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-photo-frame,
.subpage-photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--stroke-medium);
  box-shadow: var(--inset-top), var(--shadow-float);
  background: var(--bg-band);
}

.hero-photo-frame {
  aspect-ratio: 16 / 10;
}

.subpage-photo-frame {
  aspect-ratio: 16 / 10;
}

.hero-photo-frame img,
.subpage-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

.hero-brief-card {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-brief-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--stroke-subtle);
}

.hero-brief-head > span:first-child {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--fg-muted);
  font-weight: 600;
}

.hero-datum-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.datum-item {
  padding: 11px 13px;
  border-radius: var(--radius-sm);
  background: rgba(244, 242, 236, 0.72);
  border: 1px solid var(--stroke-subtle);
}

.datum-label {
  display: block;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--fg-muted);
  margin-bottom: 3px;
}

.datum-val {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-primary);
}

.hero-brief-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--stroke-subtle);
  font-size: 12.5px;
  color: var(--fg-secondary);
}

/* Subpage Executive Header */
.page-hero {
  position: relative;
  padding: 132px 0 60px;
  border-bottom: 1px solid var(--stroke-subtle);
}

.page-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(28px, 4.5vw, 56px);
  align-items: center;
}

.page-hero-content {
  max-width: 760px;
}

.page-hero-title {
  font-size: clamp(2.15rem, 3.9vw, 3.35rem);
  margin-top: 16px;
  line-height: 1.1;
  color: var(--fg-primary);
}

.page-hero-lede {
  margin-top: 18px;
  max-width: 56ch;
  font-size: clamp(1rem, 1.12vw, 1.08rem);
  color: var(--fg-secondary);
  line-height: 1.72;
}

@media (max-width: 980px) {
  .hero {
    padding: 112px 0 48px;
  }

  .hero.hero-monumental {
    padding: 0;
    min-height: clamp(640px, 88svh, 820px);
  }

  .hero-monumental-inner {
    min-height: clamp(640px, 88svh, 820px);
    padding: 122px var(--gutter) 26px;
    gap: 36px;
  }

  .hero-telemetry-ribbon {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
    padding: 16px 18px;
  }

  .ribbon-datum {
    border-right: none;
    padding-right: 0;
  }

  .ribbon-cta {
    grid-column: 1 / -1;
    justify-content: space-between;
    padding-left: 0;
    padding-top: 12px;
    border-top: 1px solid rgba(246, 244, 238, 0.12);
  }

  .hero-grid,
  .page-hero-split {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 112px 0 44px;
  }
}

@media (max-width: 560px) {
  .hero-monumental .hero-title {
    font-size: clamp(2.15rem, 8.8vw, 2.85rem);
  }

  .ribbon-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ==========================================================================
   KPI Metrics Strip (Monospace Tabular-Nums)
   ========================================================================== */

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.metric-card {
  padding: 26px 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.26s var(--ease-out), border-color 0.26s var(--ease-out), box-shadow 0.26s var(--ease-out);
}

.metric-card:hover {
  transform: translateY(-2.5px);
  border-color: var(--stroke-hover);
  box-shadow: var(--inset-top-strong), var(--shadow-float);
}

.metric-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.metric-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.metric-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-forest-soft);
  border: 1px solid rgba(29, 48, 43, 0.14);
  color: var(--brand-forest);
}

.metric-icon svg {
  width: 16px;
  height: 16px;
}

.metric-value {
  display: block;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(2rem, 3.1vw, 2.75rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--brand-forest);
}

.metric-caption {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--fg-secondary);
  line-height: 1.52;
}

@media (max-width: 960px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .metrics-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Executive Operating Thesis & Three Disciplines Cards
   ========================================================================== */

.thesis-box {
  padding: clamp(30px, 4.5vw, 52px);
  display: grid;
  grid-template-columns: 0.34fr 0.66fr;
  gap: 32px;
  align-items: start;
}

.thesis-quote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.3vw, 2rem);
  line-height: 1.4;
  color: var(--fg-primary);
  font-weight: 500;
}

.thesis-quote .hl-brass {
  color: var(--brand-bronze);
}

.thesis-quote .hl-sage {
  color: var(--brand-forest);
}

.thesis-sub {
  margin-top: 18px;
  color: var(--fg-secondary);
  font-size: 15px;
  max-width: 62ch;
}

@media (max-width: 860px) {
  .thesis-box {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.disciplines-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.discipline-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition:
    transform 0.3s var(--ease-out),
    border-color 0.3s var(--ease-out),
    background-color 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out);
}

.discipline-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  border-color: var(--stroke-hover);
  box-shadow: var(--inset-top-strong), var(--shadow-float);
}

.discipline-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--stroke-subtle);
  background: var(--bg-band);
}

.discipline-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease-out);
}

.discipline-card:hover .discipline-media img {
  transform: scale(1.04);
}

.discipline-index {
  position: absolute;
  top: 13px;
  left: 13px;
  z-index: 2;
  padding: 5px 11px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  background: rgba(252, 251, 248, 0.92);
  border: 1px solid var(--stroke-medium);
  backdrop-filter: blur(8px);
  color: var(--brand-forest);
}

.discipline-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.discipline-body h3 {
  font-size: 1.42rem;
  margin-bottom: 10px;
}

.discipline-body p {
  color: var(--fg-secondary);
  font-size: 14.5px;
  line-height: 1.64;
  margin-bottom: 20px;
}

.discipline-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--stroke-subtle);
}

.discipline-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--fg-primary);
}

.discipline-list li svg {
  width: 14px;
  height: 14px;
  color: var(--brand-sage);
  flex-shrink: 0;
}

.discipline-foot {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--brand-forest);
}

.discipline-foot svg {
  width: 15px;
  height: 15px;
  transition: transform 0.24s var(--ease-out);
}

.discipline-card:hover .discipline-foot svg {
  transform: translate(3px, -3px);
}

@media (max-width: 980px) {
  .disciplines-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Project Register Cards, Interactive Filter Bar & Schedule Table
   ========================================================================== */

.register-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding: 14px 18px;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--stroke-subtle);
  background: rgba(254, 253, 250, 0.72);
  color: var(--fg-secondary);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.filter-chip:hover {
  color: var(--fg-primary);
  border-color: var(--stroke-medium);
}

.filter-chip.is-active {
  background: var(--brand-forest);
  color: var(--fg-on-dark);
  border-color: var(--brand-forest);
}

.filter-chip.is-active .pulse-dot {
  background: #9fe0c4;
}

.register-meta-bar {
  display: flex;
  align-items: center;
  gap: 14px;
}

.register-count {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  color: var(--fg-secondary);
}

.view-switch {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: rgba(22, 35, 31, 0.055);
  border: 1px solid var(--stroke-subtle);
}

.view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--fg-muted);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.view-btn svg {
  width: 13px;
  height: 13px;
}

.view-btn.is-active {
  background: #fdfcfa;
  color: var(--fg-primary);
  box-shadow: 0 1px 4px rgba(20, 32, 28, 0.08);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.project-grid[hidden],
.schedule-table-wrap[hidden] {
  display: none;
}

.project-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition:
    transform 0.3s var(--ease-out),
    border-color 0.3s var(--ease-out),
    background-color 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out);
}

.project-card[hidden] {
  display: none;
}

.project-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  border-color: var(--stroke-hover);
  box-shadow: var(--inset-top-strong), var(--shadow-float);
}

.project-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--stroke-subtle);
  background: var(--bg-band);
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease-out), opacity 0.22s ease;
}

.project-media img.is-swapping {
  opacity: 0.4;
}

.photo-switcher {
  position: absolute;
  bottom: 11px;
  right: 12px;
  z-index: 3;
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(252, 251, 248, 0.92);
  border: 1px solid rgba(22, 35, 31, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.photo-switch-btn {
  padding: 4px 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.photo-switch-btn:hover {
  color: var(--fg-primary);
}

.photo-switch-btn.is-active {
  background: var(--brand-forest);
  color: var(--fg-on-dark);
}

.project-card:hover .project-media img {
  transform: scale(1.04);
}

.project-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 24, 21, 0.18) 0%, rgba(16, 24, 21, 0) 35%, rgba(16, 24, 21, 0.42) 100%);
}

.project-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(252, 251, 248, 0.92);
  border: 1px solid rgba(22, 35, 31, 0.14);
  backdrop-filter: blur(8px);
  color: var(--fg-primary);
}

.project-index {
  position: absolute;
  bottom: 12px;
  left: 14px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: #f8f7f3;
}

.project-info {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.project-title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.project-title-row h3 {
  font-size: 1.26rem;
}

.project-scale {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  font-weight: 500;
  color: var(--brand-bronze);
  white-space: nowrap;
}

.project-corridor {
  font-size: 13px;
  color: var(--fg-secondary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid var(--stroke-subtle);
}

/* Architectural Schedule Table View */
.schedule-table-wrap {
  overflow-x: auto;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.schedule-table th {
  padding: 14px 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--fg-muted);
  border-bottom: 1px solid var(--stroke-medium);
  background: rgba(238, 236, 228, 0.45);
}

.schedule-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--stroke-subtle);
  color: var(--fg-secondary);
}

.schedule-table tbody tr {
  transition: background-color 0.18s ease;
}

.schedule-table tbody tr:hover {
  background: rgba(29, 48, 43, 0.035);
}

.schedule-table tbody tr[hidden] {
  display: none;
}

.schedule-table td.col-strong {
  color: var(--fg-primary);
  font-family: var(--font-display);
  font-weight: 540;
  font-size: 16px;
}

@media (max-width: 980px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .project-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Process Pipeline, Capability Grid & Credentials
   ========================================================================== */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.jurisdiction-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 42px;
}

@media (max-width: 900px) {
  .jurisdiction-grid {
    grid-template-columns: 1fr;
  }
}

.process-card {
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.26s var(--ease-out), border-color 0.26s var(--ease-out), box-shadow 0.26s var(--ease-out);
}

.process-card:hover {
  transform: translateY(-2.5px);
  border-color: var(--stroke-hover);
  box-shadow: var(--inset-top-strong), var(--shadow-float);
}

.process-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--brand-bronze);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--stroke-subtle);
}

.process-card h3 {
  font-size: 1.24rem;
}

.process-card p {
  font-size: 14px;
  color: var(--fg-secondary);
  line-height: 1.64;
}

@media (max-width: 980px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.capability-card {
  padding: clamp(24px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.26s var(--ease-out), border-color 0.26s var(--ease-out), box-shadow 0.26s var(--ease-out);
}

.capability-card:hover {
  transform: translateY(-2.5px);
  border-color: var(--stroke-hover);
  box-shadow: var(--inset-top-strong), var(--shadow-float);
}

.capability-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.capability-card h3 {
  font-size: 1.34rem;
  margin-top: 4px;
}

.capability-card p {
  color: var(--fg-secondary);
  font-size: 14.5px;
  line-height: 1.68;
}

@media (max-width: 760px) {
  .capability-grid {
    grid-template-columns: 1fr;
  }
}

/* About & Credentials Split */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.prose-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.prose-stack p {
  color: var(--fg-secondary);
  font-size: 16px;
  line-height: 1.78;
}

.credential-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 26px;
}

.credential-item {
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.credential-item svg {
  width: 20px;
  height: 20px;
  color: var(--brand-forest);
  flex-shrink: 0;
  margin-top: 2px;
}

.credential-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 560;
  color: var(--fg-primary);
  margin-bottom: 3px;
}

.credential-item span {
  font-size: 13.5px;
  color: var(--fg-secondary);
}

@media (max-width: 880px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* Wanted Callout Band */
.callout-band {
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.callout-copy {
  max-width: 58ch;
}

.callout-copy h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.25rem);
  margin: 14px 0 10px;
}

.callout-copy p {
  color: var(--fg-secondary);
  font-size: 15px;
}

.chip-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.feature-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--fg-primary);
  background: rgba(244, 242, 236, 0.85);
  border: 1px solid var(--stroke-subtle);
}

.feature-chip svg {
  width: 13px;
  height: 13px;
  color: var(--brand-sage);
}

/* ==========================================================================
   Bespoke Light-Mode Enquiry Portal & Custom Form Controls
   ========================================================================== */

.enquiry-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(24px, 4.5vw, 52px);
  align-items: start;
}

.enquiry-layout > *,
.about-grid > *,
.hero-grid > *,
.page-hero-split > *,
.form-row-two > * {
  min-width: 0;
  max-width: 100%;
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.office-card {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-channel {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--stroke-subtle);
}

.contact-channel:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.channel-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-forest-soft);
  border: 1px solid rgba(29, 48, 43, 0.15);
  color: var(--brand-forest);
  flex-shrink: 0;
}

.channel-icon svg {
  width: 17px;
  height: 17px;
}

.channel-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  margin-bottom: 4px;
}

.channel-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--fg-primary);
  transition: color 0.2s ease;
}

a.channel-value:hover {
  color: var(--brand-bronze);
}

.channel-note {
  display: block;
  font-size: 12.5px;
  color: var(--fg-secondary);
  margin-top: 3px;
}

/* Enquiry Form Card */
.enquiry-card {
  padding: clamp(24px, 3.6vw, 40px);
}

.enquiry-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.enquiry-form[hidden],
.enquiry-receipt[hidden] {
  display: none;
}

.form-row-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

@media (max-width: 680px) {
  .form-row-two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .enquiry-layout {
    grid-template-columns: 1fr;
  }
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.field-group:has(.custom-select.is-open) {
  z-index: 60;
}

.field-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.field-label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--fg-secondary);
}

.field-req {
  color: var(--brand-bronze);
  margin-left: 3px;
}

.field-opt {
  font-size: 11px;
  color: var(--fg-muted);
}

.text-input,
.text-area {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  padding: 13px 15px;
  border-radius: var(--radius-md);
  border: 1px solid var(--stroke-medium);
  background: var(--bg-input);
  color: var(--fg-primary);
  font-size: 14.5px;
  line-height: 1.5;
  box-shadow: inset 0 1px 2px rgba(20, 32, 28, 0.03);
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.text-input::placeholder,
.text-area::placeholder {
  color: var(--fg-muted);
}

.text-input:hover,
.text-area:hover {
  border-color: rgba(22, 35, 31, 0.26);
}

.text-input:focus,
.text-area:focus {
  outline: none;
  border-color: var(--brand-forest);
  background: #fdfcfa;
  box-shadow: 0 0 0 3px rgba(29, 48, 43, 0.11);
}

.text-input.is-invalid,
.text-area.is-invalid,
.custom-select-trigger.is-invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px var(--danger-soft);
}

.text-area {
  min-height: 132px;
  resize: vertical;
}

.char-counter {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  color: var(--fg-muted);
}

/* Custom Accessible Dropdown (Light Alabaster Surface) */
.custom-select {
  position: relative;
}

.custom-select-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
  border-radius: var(--radius-md);
  border: 1px solid var(--stroke-medium);
  background: var(--bg-input);
  color: var(--fg-primary);
  font-size: 14.5px;
  text-align: left;
  cursor: pointer;
  box-shadow: inset 0 1px 2px rgba(20, 32, 28, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.custom-select-trigger:hover {
  border-color: rgba(22, 35, 31, 0.26);
}

.custom-select.is-open .custom-select-trigger,
.custom-select-trigger:focus-visible {
  outline: none;
  border-color: var(--brand-forest);
  background: #fdfcfa;
  box-shadow: 0 0 0 3px rgba(29, 48, 43, 0.11);
}

.custom-select-chevron {
  width: 16px;
  height: 16px;
  color: var(--brand-forest);
  flex-shrink: 0;
  transition: transform 0.24s var(--ease-out);
}

.custom-select.is-open .custom-select-chevron {
  transform: rotate(180deg);
}

.custom-select-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 90;
  padding: 6px;
  border-radius: var(--radius-md);
  background: #fbfaf6;
  border: 1px solid var(--stroke-medium);
  box-shadow: var(--shadow-float);
  max-height: 268px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s var(--ease-out), transform 0.18s var(--ease-out), visibility 0.18s;
}

.custom-select.is-open .custom-select-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-select-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--fg-secondary);
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.custom-select-option:hover,
.custom-select-option:focus-visible {
  outline: none;
  background: rgba(22, 35, 31, 0.05);
  color: var(--fg-primary);
}

.custom-select-option[aria-selected="true"] {
  background: rgba(29, 48, 43, 0.09);
  color: var(--brand-forest);
  font-weight: 600;
}

.custom-select-option svg {
  width: 15px;
  height: 15px;
  color: var(--brand-forest);
  opacity: 0;
}

.custom-select-option[aria-selected="true"] svg {
  opacity: 1;
}

/* Honeypot trap */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Custom Consent Checkbox */
.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(240, 238, 231, 0.65);
  border: 1px solid var(--stroke-subtle);
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.consent-row:hover {
  border-color: var(--stroke-medium);
}

.consent-row.is-invalid {
  border-color: var(--danger);
  background: var(--danger-soft);
}

.consent-box {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  border: 1px solid var(--stroke-medium);
  background: #fdfcfa;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.consent-box svg {
  width: 13px;
  height: 13px;
  color: var(--fg-on-dark);
  opacity: 0;
  transform: scale(0.75);
  transition: opacity 0.18s ease, transform 0.18s var(--ease-out);
}

.consent-input:checked + .consent-box {
  background: var(--brand-forest);
  border-color: var(--brand-forest);
}

.consent-input:checked + .consent-box svg {
  opacity: 1;
  transform: scale(1);
}

.consent-input:focus-visible + .consent-box {
  box-shadow: 0 0 0 3px rgba(29, 48, 43, 0.2);
  border-color: var(--brand-forest);
}

.consent-text {
  font-size: 13px;
  color: var(--fg-secondary);
  line-height: 1.56;
}

.consent-text a {
  color: var(--brand-forest);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Status Banner & Submit Row */
.form-alert {
  padding: 13px 16px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--danger-soft);
  border: 1px solid rgba(181, 61, 50, 0.3);
  color: #8f2920;
}

.form-alert[hidden] {
  display: none;
}

.form-alert svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin-top: 2px;
}

.form-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.form-security-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--fg-muted);
}

.form-security-note svg {
  width: 14px;
  height: 14px;
  color: var(--brand-sage);
}

.btn-submit[disabled] {
  opacity: 0.68;
  cursor: wait;
}

.spinner {
  width: 15px;
  height: 15px;
  animation: spin 0.85s linear infinite;
}

.spinner[hidden] {
  display: none;
}

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

/* Enquiry Confirmation Receipt */
.enquiry-receipt {
  padding: 18px 8px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.receipt-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-sage-soft);
  border: 1px solid rgba(43, 105, 82, 0.25);
  color: var(--brand-sage);
}

.receipt-badge svg {
  width: 24px;
  height: 24px;
}

.receipt-ref-box {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: rgba(240, 238, 231, 0.75);
  border: 1px solid var(--stroke-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Privacy & Legal Prose Page
   ========================================================================== */

.legal-card {
  padding: clamp(28px, 4.5vw, 52px);
  max-width: 860px;
}

.legal-card h2 {
  font-size: 1.42rem;
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  color: var(--fg-secondary);
  font-size: 15px;
  line-height: 1.75;
}

.legal-card a {
  color: var(--brand-forest);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-card ul {
  margin: 10px 0 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-card li {
  padding-left: 18px;
  position: relative;
}

.legal-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 1px;
  background: var(--brand-bronze);
}

/* ==========================================================================
   Site Footer (Light Warm Travertine Stone Band)
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--stroke-subtle);
  background: var(--bg-footer);
  padding: 64px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
  gap: 36px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--stroke-subtle);
}

.footer-brand-desc {
  margin-top: 16px;
  max-width: 36ch;
  font-size: 14px;
  color: var(--fg-secondary);
  line-height: 1.65;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a,
.footer-links span {
  font-size: 14px;
  color: var(--fg-secondary);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--brand-forest);
}

.footer-bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--fg-muted);
  line-height: 1.6;
}

.footer-disclaimer {
  max-width: 76ch;
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Scroll Reveal & Reduced Motion
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .pulse-dot,
  .spinner {
    animation: none;
    transform: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
