:root {
  --maroon: #7b1b2e;
  --maroon-dark: #550f1e;
  --maroon-deep: #3a0d17;
  --gold: #c8973a;
  --gold-light: #d4af5a;
  --cream: #f9f5ef;
  --cream-dark: #ede0c4;
  --white: #ffffff;
  --ink: #1a0a0d;
  --body: #5c4048;
  --muted: #8a7070;
  --border: rgba(123, 27, 46, 0.14);
  --serif: "Playfair Display", "Noto Serif Display", Georgia, serif;
  --sans: "Raleway", Inter, Arial, sans-serif;
  --body-font: Inter, Arial, sans-serif;
  --shell: 1280px;
  --shadow-card: 0 14px 42px rgba(55, 12, 24, 0.12);
  --shadow-soft: 0 10px 30px rgba(55, 12, 24, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: var(--body-font);
  color: var(--body);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

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

button {
  color: inherit;
}

::selection {
  background: var(--gold);
  color: var(--maroon-deep);
}

.shell {
  width: min(var(--shell), calc(100% - 80px));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 96px 0;
}

.section-cream {
  background: var(--cream);
}

.section-dark {
  background: var(--maroon-deep);
  color: var(--white);
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  background: var(--gold);
  color: var(--maroon-deep);
  transform: translateY(-160%);
  transition: 0.2s ease;
}

.skip-link:focus {
  transform: none;
}

/* Shared type and controls */
.section-label,
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--maroon);
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.section-label>span,
.eyebrow>span {
  width: 40px;
  height: 1px;
  background: var(--gold);
  flex: 0 0 auto;
}

.section-label-light,
.eyebrow-light {
  color: var(--gold-light);
}

.section-label-center {
  justify-content: center;
}

.section-heading h2,
.about-copy h2 {
  color: var(--maroon);
  font-family: var(--serif);
  font-size: clamp(40px, 4.1vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.section-heading h2 em,
.about-copy h2 em {
  color: var(--gold);
  font-weight: 500;
}

.section-dark .section-heading h2 {
  color: var(--white);
}

.section-dark .section-heading h2 em {
  color: var(--gold-light);
}

.split-heading {
  display: grid;
  grid-template-columns: 1.02fr 0.72fr;
  gap: clamp(56px, 7vw, 110px);
  align-items: end;
  margin-bottom: 52px;
}

.split-heading h2 {
  margin-top: 16px;
  max-width: 760px;
}

.heading-copy {
  padding-bottom: 5px;
}

.heading-copy p {
  color: var(--body);
  font-size: 15px;
  line-height: 1.78;
}

.section-dark .heading-copy p {
  color: rgba(255, 255, 255, 0.68);
}

.centered-heading {
  max-width: 760px;
  margin: 0 auto 52px;
  text-align: center;
}

.centered-heading h2 {
  margin-top: 16px;
}

.centered-heading>p {
  max-width: 680px;
  margin: 20px auto 0;
  font-size: 15px;
  line-height: 1.75;
}

.gold-rule {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 24px 0 25px;
}

.text-link {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--maroon);
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.text-link span {
  color: var(--gold);
  font-size: 17px;
  transition: transform 0.2s ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.button {
  min-height: 49px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border: 0;
  border-radius: 4px;
  padding: 0 23px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-gold {
  background: linear-gradient(90deg,
      var(--gold),
      var(--gold-light),
      var(--gold));
  color: var(--maroon-deep);
  box-shadow: 0 12px 28px rgba(200, 151, 58, 0.23);
}

.button-outline {
  border: 1px solid rgba(255, 255, 255, 0.52);
  color: var(--white);
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(8px);
}

.button-maroon {
  background: linear-gradient(135deg, #8f263a, var(--maroon-dark));
  color: var(--white);
  box-shadow: 0 10px 25px rgba(123, 27, 46, 0.2);
}

.button-outline-dark {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--white);
  background: transparent;
}

.card-overline {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Header */
.site-header {
  position: fixed;
  z-index: 30;
  inset: 0 0 auto;
}

.utility-bar {
  height: 34px;
  display: flex;
  color: var(--white);
  font-size: 11px;
  letter-spacing: 0.075em;
  text-transform: none;
}

.utility-social {
  width: 36%;
  background: var(--maroon);
  display: flex;
  align-items: center;
  padding-left: max(28px, calc((100vw - var(--shell)) / 2));
  gap: 16px;
}

.utility-social a {
  opacity: 0.9;
  font-weight: 700;
}

.utility-contact {
  flex: 1;
  background: var(--gold);
  color: var(--maroon-deep);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: max(28px, calc((100vw - var(--shell)) / 2));
  gap: 18px;
  font-weight: 700;
}

.utility-contact span {
  width: 1px;
  height: 13px;
  background: rgba(85, 15, 30, 0.28);
}

.main-nav {
  height: 78px;
  background: rgba(255, 250, 240, 0.97);
  border-top: 2px solid var(--gold);
  border-bottom: 1px solid rgba(200, 151, 58, 0.24);
  box-shadow: 0 8px 24px rgba(29, 6, 12, 0.08);
}

.nav-inner {
  width: min(var(--shell), calc(100% - 80px));
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 30px;
}

.brand {
  width: 205px;
  flex: 0 0 auto;
}

.brand img {
  width: 100%;
}

.navigation {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.3vw, 24px);
}

.navigation a {
  position: relative;
  color: #282527;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.navigation a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.navigation a:hover::after,
.navigation a.active::after {
  transform: scaleX(1);
}

.navigation a.active {
  color: var(--maroon);
}

.nav-cta {
  height: 43px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  background: linear-gradient(135deg, #8f263a, var(--maroon-dark));
  color: var(--white);
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  box-shadow: 0 10px 25px rgba(123, 27, 46, 0.24);
}

.menu-button {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-button span:not(.sr-only) {
  width: 23px;
  height: 2px;
  background: var(--maroon);
  transition: 0.2s ease;
}

/* Hero */
.hero {
  position: relative;
  min-height: 860px;
  padding-top: 112px;
  overflow: hidden;
  background: var(--maroon-deep);
  color: var(--white);
}

.hero-image {
  position: absolute;
  inset: 112px 0 0 36%;
  background: url("assets/metro-house.jpg") center / cover no-repeat;
  transition: opacity 1s ease-in-out;
}

.hero-shade {
  position: absolute;
  inset: 112px 0 0;
  background:
    linear-gradient(90deg,
      rgba(58, 13, 23, 0.98) 0%,
      rgba(58, 13, 23, 0.92) 34%,
      rgba(58, 13, 23, 0.56) 57%,
      rgba(58, 13, 23, 0.1) 82%),
    linear-gradient(0deg, rgba(15, 2, 6, 0.62), transparent 48%);
}

.hero-pattern {
  position: absolute;
  inset: 112px auto 0 0;
  width: 59%;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(212, 175, 90, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 90, 0.12) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(90deg, black, transparent 96%);
}

.hero-layout {
  position: relative;
  z-index: 2;
  min-height: 748px;
  display: flex;
  align-items: center;
}

.hero-copy {
  width: 56%;
  max-width: 690px;
  padding: 76px 0 112px;
}

.hero h1 {
  margin-top: 22px;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(58px, 5.9vw, 84px);
  line-height: 0.99;
  letter-spacing: -0.045em;
  font-weight: 700;
}

.hero h1 em {
  display: inline-block;
  color: var(--gold-light);
  font-weight: 500;
}

.hero-copy>p {
  max-width: 620px;
  margin-top: 27px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 15px;
  line-height: 1.78;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 31px;
}

.hero-assurance {
  margin-top: 37px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.assurance-mark {
  width: 37px;
  height: 37px;
  border: 1px solid rgba(212, 175, 90, 0.65);
  display: grid;
  place-items: center;
  color: var(--gold-light);
  font-family: var(--serif);
  font-weight: 700;
}

.hero-assurance div {
  display: flex;
  flex-direction: column;
}

.hero-assurance strong {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-assurance small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

.hero-caption {
  position: absolute;
  z-index: 3;
  right: max(40px, calc((100vw - var(--shell)) / 2));
  bottom: 35px;
  color: var(--white);
  text-align: right;
  border-right: 2px solid var(--gold);
  padding-right: 13px;
  transition:
    opacity 1s ease-in-out,
    border-color 0.2s ease;
}

.hero-caption:hover {
  border-color: var(--gold-light, var(--gold));
}

.hero-caption span {
  display: block;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
}

.hero-caption small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.scroll-cue span {
  width: 1px;
  height: 28px;
  background: linear-gradient(var(--gold), transparent);
}

/* Proof */
.proof-band {
  position: relative;
  z-index: 4;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(55, 12, 24, 0.07);
}

.proof-grid {
  min-height: 126px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-item {
  position: relative;
  padding: 25px 34px 23px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 13px;
  align-content: center;
}

.proof-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 25%;
  bottom: 25%;
  right: 0;
  width: 1px;
  background: rgba(123, 27, 46, 0.17);
}

.proof-kicker {
  grid-column: 2;
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  align-self: end;
}

.proof-item strong {
  grid-row: 1 / 3;
  align-self: center;
  font-family: var(--serif);
  font-size: 38px;
  color: var(--maroon);
  line-height: 1;
}

.proof-item p {
  grid-column: 2;
  color: var(--body);
  font-size: 12px;
}

/* About */
.about {
  overflow: hidden;
  background: var(--white);
}

.about-watermark {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(200, 151, 58, 0.055);
  font-family: var(--serif);
  font-size: clamp(110px, 17vw, 250px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  pointer-events: none;
}

.about-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  gap: clamp(64px, 7vw, 106px);
  align-items: center;
}

.about-visual {
  position: relative;
  padding: 0 32px 44px 0;
}

.image-frame {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
}

.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(200, 151, 58, 0.35);
  border-radius: inherit;
  pointer-events: none;
}

.image-frame img {
  width: 100%;
  aspect-ratio: 1.25 / 1;
  object-fit: cover;
  object-position: center;
  transition: opacity 1s ease-in-out;
}

.about-dots {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 2, 6, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid rgba(200, 151, 58, 0.35);
}

.about-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.about-dot:hover {
  background: rgba(255, 255, 255, 0.85);
}

.about-dot.active {
  width: 22px;
  border-radius: 4px;
  background: var(--gold);
}

.image-tag {
  position: absolute;
  left: 0;
  bottom: 0;
  min-width: 210px;
  padding: 19px 23px;
  background: rgba(85, 15, 30, 0.95);
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 2px solid var(--gold);
  z-index: 2;
}

.image-tag strong {
  font-family: var(--serif);
  color: var(--gold-light);
  font-size: 33px;
  line-height: 1;
}

.image-tag span {
  font-family: var(--sans);
  font-size: 9.5px;
  line-height: 1.45;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.visual-note {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 198px;
  min-height: 106px;
  padding: 21px 22px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: opacity 1s ease-in-out;
}

.visual-note span {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1;
}

.visual-note p {
  color: var(--maroon-dark);
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.about-copy h2 {
  max-width: 590px;
  margin-top: 16px;
}

.about-copy p {
  max-width: 600px;
  color: var(--body);
  font-size: 14.5px;
  line-height: 1.78;
  margin-top: 14px;
}

.about-copy p.lead {
  color: #4a2030;
  font-size: 17px;
  line-height: 1.7;
}

.vertical-list {
  margin-top: 29px;
  padding: 21px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px 24px;
}

.vertical-list span {
  position: relative;
  padding-left: 16px;
  color: var(--maroon-dark);
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.vertical-list span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 6px;
  height: 1px;
  background: var(--gold);
}

/* Verticals */
.verticals-section {
  border-top: 1px solid rgba(123, 27, 46, 0.08);
}

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

.vertical-feature {
  grid-column: span 6;
  grid-row: span 2;
  min-height: 536px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--maroon-deep);
  color: var(--white);
  box-shadow: var(--shadow-card);
}

.vertical-feature-image {
  position: relative;
  height: 58%;
  overflow: hidden;
}

.vertical-feature-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(58, 13, 23, 0.8), transparent 55%);
}

.vertical-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.vertical-feature:hover img {
  transform: scale(1.04);
}

.feature-number {
  position: absolute;
  z-index: 1;
  right: 22px;
  top: 15px;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--serif);
  font-size: 42px;
}

.vertical-feature-copy {
  padding: 30px 32px 34px;
}

.vertical-feature-copy h3 {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1.05;
}

.vertical-feature-copy p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.72;
}

.vertical-feature-copy a,
.vertical-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.vertical-card {
  grid-column: span 3;
  min-height: 258px;
  padding: 24px 24px 22px;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(55, 12, 24, 0.05);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.vertical-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(200, 151, 58, 0.42);
}

.vertical-topline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  color: var(--gold);
}

.vertical-topline>span {
  font-family: var(--serif);
  font-size: 20px;
}

.vertical-topline svg,
.capability-card svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--maroon);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vertical-card h3 {
  margin-top: 23px;
  color: var(--maroon-dark);
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.1;
}

.vertical-card p {
  margin-top: 10px;
  color: var(--body);
  font-size: 13.5px;
  line-height: 1.68;
}

.vertical-card a {
  margin-top: auto;
  padding-top: 15px;
  color: var(--maroon);
}

.vertical-wide {
  grid-column: span 3;
}

.verticals-cta {
  grid-column: span 6;
  min-height: 258px;
  padding: 30px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, var(--maroon-dark), var(--maroon-deep));
  color: var(--white);
  border-top: 2px solid var(--gold);
  border-radius: 10px;
}

.verticals-cta h3 {
  max-width: 540px;
  margin-top: 10px;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.15;
}

.verticals-cta p {
  max-width: 580px;
  margin-top: 13px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
}

.verticals-cta .button {
  align-self: flex-start;
  margin-top: 22px;
}

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

.project-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(55, 12, 24, 0.07);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.project-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-card);
}

.project-image {
  position: relative;
  height: 320px;
  overflow: hidden;
  background: var(--cream);
}

.project-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(35, 5, 13, 0.55), transparent 46%);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.project-status {
  position: absolute;
  z-index: 2;
  left: 18px;
  top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--maroon);
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.project-status span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.project-number {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 11px;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--serif);
  font-size: 36px;
}

.project-body {
  padding: 25px 25px 27px;
}

.project-location {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 9.25px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.project-body h3 {
  margin-top: 9px;
  color: var(--maroon-dark);
  font-family: var(--serif);
  font-size: 29px;
  line-height: 1.08;
}

.project-body>p {
  margin-top: 11px;
  min-height: 66px;
  font-size: 13.5px;
  line-height: 1.7;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 17px;
}

.project-meta span {
  padding: 7px 9px;
  background: var(--cream);
  border: 1px solid rgba(123, 27, 46, 0.1);
  color: var(--maroon-dark);
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.project-body>a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 21px;
  color: var(--maroon);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-footnote {
  margin-top: 28px;
  padding: 23px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: var(--cream);
  border-left: 3px solid var(--gold);
}

.project-footnote div {
  display: flex;
  align-items: center;
  gap: 15px;
}

.project-footnote strong {
  color: var(--maroon);
  font-family: var(--serif);
  font-size: 31px;
  line-height: 1;
}

.project-footnote span {
  font-size: 12px;
}

.project-footnote>a {
  color: var(--maroon);
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Legacy */
.legacy-section {
  overflow: hidden;
}

.legacy-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.13;
  background-image:
    linear-gradient(rgba(212, 175, 90, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 90, 0.13) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, transparent, black 48%, transparent);
}

.legacy-section .shell {
  position: relative;
  z-index: 1;
}

.legacy-heading {
  margin-bottom: 38px;
}

.legacy-tabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.legacy-tabs::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(255, 255, 255, 0.13);
}

.legacy-tab {
  position: relative;
  z-index: 1;
  min-height: 92px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.48);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.legacy-tab:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.legacy-tab::before {
  content: "";
  position: absolute;
  top: calc(50% - 4px);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 0 7px var(--maroon-deep);
}

.legacy-tab strong {
  margin-top: 36px;
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1;
}

.legacy-tab span {
  margin-top: 5px;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legacy-tab.active {
  color: var(--gold-light);
}

.legacy-tab.active::before {
  background: var(--gold);
  box-shadow:
    0 0 0 7px var(--maroon-deep),
    0 0 0 8px rgba(212, 175, 90, 0.35);
}

.legacy-stage {
  min-height: 520px;
  display: grid;
  grid-template-columns: 1.13fr 0.87fr;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.legacy-image-wrap {
  position: relative;
  min-height: 520px;
  overflow: hidden;
}

.legacy-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 50%, rgba(58, 13, 23, 0.35)),
    linear-gradient(0deg, rgba(15, 2, 6, 0.5), transparent 50%);
}

.legacy-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    opacity 0.25s ease,
    transform 0.6s ease;
}

.legacy-image-wrap span {
  position: absolute;
  z-index: 2;
  left: 22px;
  bottom: 20px;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legacy-copy {
  position: relative;
  padding: 55px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(145deg,
      rgba(123, 27, 46, 0.42),
      rgba(58, 13, 23, 0.72));
}

.legacy-year {
  position: absolute;
  right: 27px;
  top: 16px;
  color: rgba(212, 175, 90, 0.15);
  font-family: var(--serif);
  font-size: 110px;
  line-height: 1;
  font-weight: 800;
}

.legacy-copy h3 {
  position: relative;
  max-width: 480px;
  margin-top: 15px;
  color: var(--white);
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1.13;
}

.legacy-copy>p {
  position: relative;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.78;
}

.legacy-copy blockquote {
  position: relative;
  margin-top: 28px;
  padding-left: 20px;
  border-left: 2px solid var(--gold);
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 21px;
  font-style: italic;
}

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

.capability-card {
  position: relative;
  min-height: 310px;
  padding: 30px 25px 26px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 2px solid var(--gold);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(55, 12, 24, 0.05);
}

.capability-number {
  position: absolute;
  right: 18px;
  top: 13px;
  color: rgba(123, 27, 46, 0.1);
  font-family: var(--serif);
  font-size: 40px;
}

.capability-card svg {
  width: 42px;
  height: 42px;
}

.capability-card h3 {
  margin-top: 28px;
  color: var(--maroon-dark);
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.1;
}

.capability-card p {
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 1.72;
}

.capability-evidence {
  position: absolute;
  left: 25px;
  right: 25px;
  bottom: 23px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  color: var(--gold);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.institutional-line {
  margin-top: 26px;
  padding: 22px 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  background: var(--cream);
  border: 1px solid var(--border);
}

.institutional-line span {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.institutional-line strong {
  color: var(--maroon-dark);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.institutional-line i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

/* Leadership and Awards */
.leaders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.leader-card {
  display: grid;
  grid-template-columns: 42% 58%;
  min-height: 300px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(55, 12, 24, 0.06);
}

.leader-image {
  overflow: hidden;
  background: #e7ded5;
}

.leader-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.55s ease;
}

.leader-card:hover .leader-image img {
  transform: scale(1.04);
}

.leader-info {
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.leader-info>span {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.leader-info h3 {
  margin-top: 14px;
  color: var(--maroon-dark);
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.08;
}

.leader-info p {
  margin-top: 10px;
  font-size: 13px;
}

.leader-info a {
  margin-top: 26px;
  color: var(--maroon);
  font-family: var(--sans);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.awards-panel {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  overflow: hidden;
  border-radius: 12px;
  background: var(--maroon-deep);
  color: var(--white);
  box-shadow: var(--shadow-card);
}

.awards-intro {
  padding: 52px 46px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.awards-stat {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 10px;
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.awards-stat strong {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.awards-intro h3 {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1.14;
}

.awards-intro p {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.7;
}

.awards-intro .button {
  align-self: flex-start;
  margin-top: 28px;
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: rgba(255, 255, 255, 0.12);
}

.award-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  background: var(--maroon-deep);
}

.award-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg,
      rgba(35, 5, 13, 0.93),
      rgba(35, 5, 13, 0.08) 70%);
}

.award-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.award-card:hover img {
  transform: scale(1.05);
}

.award-card div {
  position: absolute;
  z-index: 2;
  left: 20px;
  right: 20px;
  bottom: 17px;
}

.award-card span {
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.award-card h4 {
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.18;
}

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

.insight-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(55, 12, 24, 0.05);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.insight-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.insight-image {
  position: relative;
  height: 248px;
  overflow: hidden;
  display: block;
}

.insight-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(35, 5, 13, 0.48), transparent 45%);
}

.insight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.insight-card:hover .insight-image img {
  transform: scale(1.04);
}

.insight-image>span {
  position: absolute;
  z-index: 1;
  left: 17px;
  bottom: 15px;
  padding: 7px 9px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--maroon);
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.insight-body {
  padding: 24px 23px 26px;
}

.insight-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.insight-meta i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
}

.insight-body h3 {
  margin-top: 12px;
  color: var(--maroon-dark);
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.22;
}

.insight-body p {
  margin-top: 11px;
  min-height: 61px;
  font-size: 13.5px;
  line-height: 1.68;
}

.insight-body>a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 17px;
  color: var(--maroon);
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.testimonial-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(55, 12, 24, 0.05);
}

.testimonial-media {
  position: relative;
  width: 100%;
  height: 290px;
  overflow: hidden;
  border: 0;
  background: #ddd;
  padding: 0;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.testimonial-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(35, 5, 13, 0.62), transparent 52%);
}

.testimonial-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.play-mark {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 52px;
  height: 52px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  padding-left: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--maroon);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.testimonial-media small {
  position: absolute;
  z-index: 2;
  left: 18px;
  bottom: 15px;
  color: var(--white);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.testimonial-copy {
  position: relative;
  padding: 27px 25px 25px;
}

.quote-mark {
  position: absolute;
  right: 20px;
  top: 7px;
  color: rgba(200, 151, 58, 0.22);
  font-family: var(--serif);
  font-size: 72px;
  line-height: 1;
}

.testimonial-copy>p {
  position: relative;
  min-height: 74px;
  color: var(--maroon-dark);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.5;
  font-style: italic;
}

.testimonial-copy>div {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.testimonial-copy strong {
  color: var(--maroon-dark);
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.testimonial-copy div span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11.5px;
}

/* Contact */
.contact-section {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  background: var(--maroon-deep);
  color: var(--white);
}

.contact-background {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background:
    linear-gradient(90deg, rgba(58, 13, 23, 0.6), rgba(58, 13, 23, 0.96)),
    url("assets/metro-house.jpg") center / cover no-repeat;
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.87fr 1.13fr;
  gap: clamp(58px, 7vw, 100px);
  align-items: center;
}

.contact-copy h2 {
  max-width: 540px;
  margin-top: 16px;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(43px, 4.5vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.contact-copy h2 em {
  color: var(--gold-light);
  font-weight: 500;
}

.contact-copy>p {
  max-width: 560px;
  margin-top: 21px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.76;
}

.contact-methods {
  margin-top: 31px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.contact-methods a,
.contact-methods>div {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.contact-methods span {
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-methods strong {
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
}

.contact-assurance {
  margin-top: 27px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-assurance>span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(212, 175, 90, 0.6);
  color: var(--gold-light);
  font-family: var(--serif);
  font-weight: 700;
}

.contact-assurance p {
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
  line-height: 1.55;
}

.contact-assurance strong {
  color: var(--white);
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-form {
  padding: 39px 38px 34px;
  background: var(--cream);
  color: var(--body);
  border-top: 3px solid var(--gold);
  border-radius: 10px;
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.25);
}

.form-kicker {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.contact-form h3 {
  margin-top: 7px;
  color: var(--maroon-dark);
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1.12;
}

.form-grid {
  margin-top: 25px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-grid label>span {
  color: var(--maroon-dark);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  border: 1px solid rgba(123, 27, 46, 0.18);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  outline: none;
}

.form-grid input,
.form-grid select {
  height: 49px;
  padding: 0 13px;
  font-size: 14px;
}

.form-grid textarea {
  padding: 12px 13px;
  resize: vertical;
  font-size: 14px;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 151, 58, 0.12);
}

.form-full {
  grid-column: 1 / -1;
}

.form-submit {
  margin-top: 20px;
  width: 100%;
}

.form-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 10.5px;
  text-align: center;
  line-height: 1.5;
}

/* Footer */
.metro-footer {
  position: relative;
  background: #26060d;
  color: rgba(255, 255, 255, 0.66);
  padding: 74px 0 0;
}

.footer-shell {
  position: relative;
}

.back-top {
  position: absolute;
  right: 0;
  top: 24px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--maroon-deep);
  font-weight: 800;
  z-index: 999;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.95fr 1.08fr;
  gap: 58px;
  padding-bottom: 55px;
}

.footer-brand-block img {
  width: 270px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.footer-brand-block>p {
  max-width: 360px;
  margin-top: 23px;
  font-size: 13px;
  line-height: 1.75;
}

.footer-contact-list {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
}

.footer-contact-list a:hover {
  color: var(--gold-light);
}

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

.footer-col h3 {
  margin-bottom: 8px;
  color: var(--white);
  font-family: var(--serif);
  font-size: 18px;
}

.footer-col>a {
  font-size: 12px;
  transition: color 0.2s ease;
}

.footer-col>a:hover {
  color: var(--gold-light);
}

.compliance-box {
  margin-top: 13px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.04);
  border-left: 2px solid var(--gold);
  font-size: 10.5px;
  line-height: 1.6;
}

.footer-mid {
  padding: 35px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.footer-mid h2 {
  color: var(--white);
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 600;
}

.footer-mid h2 em {
  color: var(--gold-light);
  font-weight: 500;
}

.footer-mid>div {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.footer-bottom {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  font-size: 10.5px;
}

.footer-bottom>div {
  display: flex;
  gap: 18px;
}

/* Reveal */
.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease var(--delay, 0s),
    transform 0.7s ease var(--delay, 0s);
}

.reveal-left {
  transform: translateX(-28px);
}

.reveal-right {
  transform: translateX(28px);
}

.reveal.in-view,
.reveal-left.in-view,
.reveal-right.in-view {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 1160px) {

  .shell,
  .nav-inner {
    width: min(100% - 48px, var(--shell));
  }

  .navigation {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    margin: 0;
    padding: 22px 24px;
    background: #fffaf0;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 24px 40px rgba(28, 6, 12, 0.16);
  }

  .navigation.open {
    display: flex;
  }

  .menu-button {
    display: flex;
  }

  .nav-cta {
    margin-left: 0;
  }

  .hero-image {
    left: 34%;
  }

  .hero-copy {
    width: 62%;
  }

  .about-grid {
    gap: 54px;
  }

  .vertical-feature {
    grid-column: span 6;
  }

  .vertical-card {
    grid-column: span 3;
  }

  .leaders-grid {
    gap: 20px;
  }

  .leader-card {
    grid-template-columns: 46% 54%;
  }

  .leader-info {
    padding: 28px 23px;
  }

  .leader-info h3 {
    font-size: 22px;
  }

  .footer-top {
    gap: 34px;
  }
}

@media (max-width: 980px) {
  .section {
    padding: 86px 0;
  }

  .split-heading {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 42px;
  }

  .heading-copy {
    max-width: 720px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-visual {
    max-width: 720px;
  }

  .verticals-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .vertical-feature {
    grid-column: span 6;
    grid-row: auto;
    min-height: 560px;
  }

  .vertical-card {
    grid-column: span 3;
  }

  .verticals-cta {
    grid-column: span 6;
  }

  .projects-grid,
  .insights-grid,
  .testimonial-grid {
    grid-template-columns: 1fr 1fr;
  }

  .projects-grid .project-card:last-child,
  .insights-grid .insight-card:last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - 11px);
  }

  .legacy-stage {
    grid-template-columns: 1fr;
  }

  .legacy-image-wrap {
    min-height: 430px;
  }

  .capability-grid {
    grid-template-columns: 1fr 1fr;
  }

  .leaders-grid {
    grid-template-columns: 1fr;
  }

  .leader-card {
    grid-template-columns: 32% 68%;
    min-height: 260px;
  }

  .awards-panel {
    margin-top: 48px;
    grid-template-columns: 1fr;
  }

  .awards-intro {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    max-width: 680px;
  }

  .footer-top {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-col:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {

  .utility-contact a:last-child,
  .utility-contact span {
    display: none;
  }

  .utility-social {
    width: 42%;
  }

  .nav-cta {
    display: none;
  }

  .brand {
    width: 185px;
  }

  .hero {
    min-height: 820px;
  }

  .hero-image {
    inset: 112px 0 0;
    background-position: 60% 50%;
  }

  .hero-shade {
    background:
      linear-gradient(90deg,
        rgba(58, 13, 23, 0.97) 0%,
        rgba(58, 13, 23, 0.84) 62%,
        rgba(58, 13, 23, 0.43) 100%),
      linear-gradient(0deg, rgba(15, 2, 6, 0.7), transparent 48%);
  }

  .hero-pattern {
    width: 100%;
  }

  .hero-layout {
    min-height: 708px;
  }

  .hero-copy {
    width: 88%;
    max-width: 630px;
  }

  .hero h1 {
    font-size: clamp(48px, 9vw, 70px);
  }

  .hero-caption {
    display: none;
  }

  .scroll-cue {
    display: none;
  }

  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-item:nth-child(2)::after {
    display: none;
  }

  .proof-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border);
  }

  .project-image {
    height: 290px;
  }

  .legacy-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .legacy-tab:nth-child(2) {
    border-right: 0;
  }

  .legacy-tab:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .legacy-tabs::before {
    display: none;
  }

  .legacy-tab::before {
    top: 18px;
  }

  .legacy-tab strong {
    margin-top: 24px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand-block {
    grid-column: 1 / -1;
  }

  .footer-col:last-child {
    grid-column: auto;
  }

  .footer-mid {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {

  .shell,
  .nav-inner {
    width: calc(100% - 34px);
  }

  .section {
    padding: 70px 0;
  }

  .utility-bar {
    height: 30px;
  }

  .utility-social {
    width: 40%;
    padding-left: 18px;
    gap: 12px;
  }

  .utility-contact {
    padding-right: 18px;
  }

  .main-nav {
    height: 70px;
  }

  .brand {
    width: 166px;
  }

  .navigation {
    top: 70px;
  }

  .hero {
    padding-top: 100px;
    min-height: 790px;
  }

  .hero-image,
  .hero-shade,
  .hero-pattern {
    top: 100px;
  }

  .hero-layout {
    min-height: 690px;
  }

  .hero-copy {
    width: 100%;
    padding: 56px 0 100px;
  }

  .eyebrow {
    font-size: 8.5px;
    letter-spacing: 0.13em;
  }

  .eyebrow>span {
    width: 28px;
  }

  .hero h1 {
    margin-top: 19px;
    font-size: clamp(42px, 13vw, 58px);
    line-height: 1.02;
  }

  .hero-copy>p {
    font-size: 14px;
    line-height: 1.68;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-assurance {
    margin-top: 27px;
  }

  .proof-grid {
    width: 100%;
    grid-template-columns: 1fr 1fr;
  }

  .proof-item {
    padding: 21px 14px;
    column-gap: 9px;
  }

  .proof-item strong {
    font-size: 29px;
  }

  .proof-item p {
    font-size: 10.5px;
    line-height: 1.35;
  }

  .proof-kicker {
    font-size: 8px;
  }

  .section-heading h2,
  .about-copy h2 {
    font-size: 37px;
  }

  .about-watermark {
    top: 35px;
    max-width: 100%;
    font-size: clamp(92px, 28vw, 112px);
    overflow: hidden;
  }

  .about-visual {
    padding: 0 12px 36px 0;
  }

  .image-frame img {
    aspect-ratio: 1 / 0.86;
  }

  .image-tag {
    min-width: 172px;
    padding: 15px;
    gap: 10px;
  }

  .image-tag strong {
    font-size: 28px;
  }

  .visual-note {
    right: 0;
    width: 155px;
    min-height: 86px;
    padding: 15px;
  }

  .visual-note p {
    font-size: 12px;
  }

  .about-copy p.lead {
    font-size: 15px;
  }

  .vertical-list {
    grid-template-columns: 1fr;
  }

  .verticals-grid {
    grid-template-columns: 1fr;
  }

  .vertical-feature,
  .vertical-card,
  .vertical-wide,
  .verticals-cta {
    grid-column: auto;
  }

  .vertical-feature {
    min-height: 530px;
  }

  .vertical-feature-copy {
    padding: 25px 23px 27px;
  }

  .vertical-feature-copy h3 {
    font-size: 33px;
  }

  .vertical-card {
    min-height: 230px;
  }

  .projects-grid,
  .insights-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid .project-card:last-child,
  .insights-grid .insight-card:last-child,
  .testimonial-grid .testimonial-card:last-child {
    grid-column: auto;
    max-width: none;
  }

  .project-image {
    height: 280px;
  }

  .project-footnote {
    align-items: flex-start;
    flex-direction: column;
  }

  .legacy-tabs {
    grid-template-columns: 1fr 1fr;
  }

  .legacy-tab {
    min-height: 82px;
  }

  .legacy-image-wrap {
    min-height: 320px;
  }

  .legacy-copy {
    padding: 42px 24px;
  }

  .legacy-year {
    font-size: 78px;
  }

  .legacy-copy h3 {
    font-size: 31px;
  }

  .capability-grid {
    grid-template-columns: 1fr;
  }

  .capability-card {
    min-height: 270px;
  }

  .institutional-line {
    justify-content: flex-start;
  }

  .leader-card {
    grid-template-columns: 42% 58%;
    min-height: 240px;
  }

  .leader-info {
    padding: 18px 15px;
  }

  .leader-info h3 {
    font-size: 20px;
  }

  .awards-intro {
    padding: 34px 24px;
  }

  .awards-intro h3 {
    font-size: 29px;
  }

  .awards-grid {
    grid-template-columns: 1fr;
  }

  .award-card {
    min-height: 260px;
  }

  .testimonial-media {
    height: 280px;
  }

  .contact-section {
    padding: 76px 0;
  }

  .contact-copy h2 {
    font-size: 39px;
  }

  .contact-form {
    padding: 29px 20px 26px;
  }

  .contact-form h3 {
    font-size: 28px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-full {
    grid-column: auto;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-brand-block,
  .footer-col:last-child {
    grid-column: auto;
  }

  .footer-mid>div {
    width: 100%;
    flex-direction: column;
  }

  .footer-bottom {
    padding: 24px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .reveal-left,
  .reveal-right {
    transform: translateY(20px);
  }

  .reveal-left.in-view,
  .reveal-right.in-view {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }

  .reveal,
  .reveal-left,
  .reveal-right {
    opacity: 1;
    transform: none;
  }
}

/* Final review refinements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(212, 175, 90, 0.9);
  outline-offset: 3px;
}

.navigation a[aria-current="page"] {
  color: var(--maroon);
}

.testimonial-media:hover .play-mark,
.testimonial-media:focus-visible .play-mark {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--gold-light);
}

.play-mark {
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.form-status {
  min-height: 1.4em;
  margin-top: 8px;
  color: var(--maroon);
  font-size: 11px;
  font-weight: 600;
  text-align: center;
}

.video-modal[hidden] {
  display: none;
}

.video-modal {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 28px;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 3, 8, 0.86);
  backdrop-filter: blur(8px);
}

.video-dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: calc(100vh - 56px);
  overflow: auto;
  background: var(--maroon-deep);
  border: 1px solid rgba(212, 175, 90, 0.42);
  border-radius: 10px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
}

.video-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.video-dialog-head span {
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.video-dialog-head h2 {
  margin-top: 3px;
  color: var(--white);
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.2;
}

.video-close {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  background: transparent;
  color: var(--white);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.video-player {
  display: block;
  width: 100%;
  height: min(72vh, 720px);
  object-fit: contain;
  background: #000;
}

body.modal-open {
  overflow: hidden;
}

.award-card:nth-child(2) img,
.award-card:nth-child(3) img {
  object-position: center;
}

@media (max-width: 640px) {
  .video-modal {
    padding: 12px;
  }

  .video-dialog {
    max-height: calc(100vh - 24px);
  }

  .video-dialog-head {
    padding: 14px;
  }

  .video-dialog-head h2 {
    font-size: 19px;
  }

  .video-player {
    height: min(68vh, 620px);
  }
}

/* Production form integration additions */
.form-consent {
  margin-top: 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--body);
  font-size: 11px;
  line-height: 1.55;
}

.form-consent input {
  margin-top: 2px;
  accent-color: var(--maroon);
}

/* Integration safeguard: component-level opacity rules must not keep homepage reveal items hidden after they enter the viewport. */
body main .reveal.in-view,
body main .reveal-left.in-view,
body main .reveal-right.in-view {
  opacity: 1 !important;
  transform: none !important;
}

/* FINAL HOMEPAGE CORRECTIONS — project-card conflict and premium hero blend */
.hero-image {
  inset: 112px 0 0 34%;
  background-position: 58% center;
}

.hero-image:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(58, 13, 23, 0.48) 0%,
      rgba(58, 13, 23, 0.18) 28%,
      rgba(58, 13, 23, 0.02) 62%),
    linear-gradient(180deg, rgba(16, 2, 6, 0.05), rgba(16, 2, 6, 0.24));
  pointer-events: none;
}

.hero-shade {
  background:
    radial-gradient(circle at 76% 38%,
      transparent 0 18%,
      rgba(38, 5, 14, 0.07) 48%,
      rgba(25, 3, 9, 0.22) 100%),
    linear-gradient(90deg,
      #3a0d17 0%,
      rgba(58, 13, 23, 0.99) 27%,
      rgba(58, 13, 23, 0.91) 43%,
      rgba(58, 13, 23, 0.66) 60%,
      rgba(58, 13, 23, 0.31) 78%,
      rgba(25, 4, 9, 0.18) 100%),
    linear-gradient(0deg,
      rgba(19, 2, 7, 0.7) 0%,
      rgba(19, 2, 7, 0.18) 42%,
      transparent 68%);
}

.projects-section .projects-grid {
  align-items: stretch;
}

.projects-section .project-card {
  position: relative !important;
  inset: auto !important;
  top: auto !important;
  left: auto !important;
  width: auto !important;
  height: auto !important;
  min-height: 100%;
  transform: none !important;
  opacity: 1 !important;
  filter: none !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  outline: 0 !important;
  --w: auto !important;
  --h: auto !important;
}

.projects-section .project-card:before {
  content: none !important;
  display: none !important;
}

.projects-section .project-card>.project-image {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.projects-section .project-card>.project-image:after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(0deg, rgba(31, 4, 12, 0.46), transparent);
  pointer-events: none;
}

.projects-section .project-card>.project-body {
  position: relative;
  inset: auto;
  flex: 1;
}

@media (max-width: 760px) {
  .hero-image {
    inset: 100px 0 0;
    background-position: 63% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg,
        rgba(58, 13, 23, 0.98) 0%,
        rgba(58, 13, 23, 0.88) 53%,
        rgba(58, 13, 23, 0.56) 100%),
      linear-gradient(0deg, rgba(19, 2, 7, 0.74), transparent 55%);
  }
}

/* ========================================================================== 
   APPROVED HOMEPAGE VISUAL CORRECTION BATCH — 2026-06-27
   Navigation, hero, vertical interactions, project imagery and legacy journey.
   ========================================================================== */
/* Header refinement mirrors the shared internal-page system. */
.utility-bar {
  background: var(--maroon-deep);
  border-bottom: 1px solid rgba(212, 175, 90, 0.24);
}

.utility-brand-note,
.utility-contact {
  background: transparent !important;
  color: rgba(255, 255, 255, 0.82) !important;
}

.utility-brand-note {
  width: auto !important;
  flex: 1 1 auto !important;
}

.utility-contact {
  flex: 0 1 auto;
}

.utility-contact a {
  transition: color 0.2s ease;
}

.utility-contact a:hover {
  color: var(--gold-light);
}

.utility-contact span {
  background: rgba(255, 255, 255, 0.24) !important;
}

.main-nav {
  background: rgba(255, 250, 240, 0.985);
  border-top: 0;
  border-bottom: 1px solid rgba(123, 27, 46, 0.12);
  box-shadow: none;
}

.site-header.is-scrolled .main-nav {
  box-shadow: 0 12px 30px rgba(42, 10, 18, 0.1);
}

.brand {
  width: 196px;
}

.brand img {
  max-width: 168px;
  max-height: 68px;
}

.navigation a::after {
  height: 1px;
  bottom: -8px;
}

.nav-cta {
  background: var(--maroon);
  box-shadow: none;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.nav-cta:hover {
  background: var(--maroon-dark);
  transform: translateY(-1px);
}

/* Premium, continuous hero blend around the authentic Metro House photograph. */
.hero-image {
  inset: 112px 0 0 43%;
  background-image: url("assets/metro-house.jpg");
  background-position: 54% 48%;
  background-size: cover;
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(58, 13, 23, 0.3) 0%,
      rgba(58, 13, 23, 0.1) 24%,
      transparent 52%),
    linear-gradient(180deg, rgba(12, 2, 5, 0.02) 42%, rgba(12, 2, 5, 0.28) 100%);
  pointer-events: none;
}

.hero-shade {
  background:
    linear-gradient(90deg,
      #3a0d17 0%,
      #3a0d17 28%,
      rgba(58, 13, 23, 0.98) 38%,
      rgba(58, 13, 23, 0.84) 50%,
      rgba(58, 13, 23, 0.52) 63%,
      rgba(58, 13, 23, 0.2) 76%,
      rgba(58, 13, 23, 0.04) 90%,
      transparent 100%),
    linear-gradient(0deg,
      rgba(18, 2, 7, 0.62) 0%,
      rgba(18, 2, 7, 0.12) 44%,
      transparent 70%);
}

.hero-pattern {
  opacity: 0.14;
  width: 54%;
}

.assurance-line {
  width: 42px;
  height: 1px;
  flex: 0 0 auto;
  background: linear-gradient(90deg,
      var(--gold-light),
      rgba(212, 175, 90, 0.28));
}

/* All seven verticals are now equally actionable while Real Estate remains dominant. */
.vertical-feature,
.vertical-card {
  cursor: pointer;
  text-decoration: none;
}

.vertical-feature:focus-visible,
.vertical-card:focus-visible {
  outline: 3px solid rgba(200, 151, 58, 0.85);
  outline-offset: 4px;
}

.vertical-card:focus-visible {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(200, 151, 58, 0.52);
}

.vertical-feature:focus-visible img {
  transform: scale(1.04);
}

.vertical-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 15px;
  color: var(--maroon);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.vertical-feature-copy .vertical-card-cta {
  margin-top: 18px;
  padding-top: 0;
  color: var(--gold-light);
}

.vertical-card-cta>span {
  transition: transform 0.2s ease;
}

.vertical-feature:hover .vertical-card-cta>span,
.vertical-feature:focus-visible .vertical-card-cta>span,
.vertical-card:hover .vertical-card-cta>span,
.vertical-card:focus-visible .vertical-card-cta>span {
  transform: translateX(4px);
}

/* Project photography remains natural; brand colour stays in labels and controls. */
.project-image::after,
.projects-section .project-card>.project-image::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(0deg,
      rgba(8, 10, 12, 0.3),
      rgba(8, 10, 12, 0.08) 48%,
      transparent 100%);
  pointer-events: none;
}

.project-number {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.38);
}

/* Legacy journey: one visible curved rail with progressive gold movement. */
.legacy-tabs {
  position: relative;
  height: 154px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 30px;
  border: 0;
  overflow: visible;
}

.legacy-tabs::before {
  display: none;
}

.legacy-journey-path {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.legacy-path-base,
.legacy-path-progress {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.legacy-path-base {
  stroke: rgba(255, 255, 255, 0.23);
  stroke-width: 2;
}

.legacy-path-progress {
  stroke: var(--gold-light);
  stroke-width: 3;
  stroke-dasharray: var(--legacy-progress) 100;
  transition: stroke-dasharray 0.72s cubic-bezier(0.22, 0.8, 0.22, 1);
  filter: drop-shadow(0 0 5px rgba(212, 175, 90, 0.28));
}

.legacy-tab {
  --node-top: 58%;
  position: relative;
  z-index: 2;
  min-height: 154px;
  border: 0 !important;
  background: transparent;
  color: rgba(255, 255, 255, 0.52);
  display: block;
  cursor: pointer;
}

.legacy-tab:nth-of-type(2) {
  --node-top: 37%;
}

.legacy-tab:nth-of-type(3) {
  --node-top: 56%;
}

.legacy-tab:nth-of-type(4) {
  --node-top: 37%;
}

.legacy-tab::before {
  content: "";
  position: absolute;
  z-index: 2;
  left: 50%;
  top: var(--node-top);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: #72515a;
  border: 2px solid var(--maroon-deep);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12);
  transition:
    width 0.25s ease,
    height 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.legacy-tab strong,
.legacy-tab>span {
  position: absolute;
  left: 50%;
  width: 100%;
  transform: translateX(-50%);
  text-align: center;
}

.legacy-tab strong {
  top: calc(var(--node-top) + 16px);
  margin: 0;
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1;
}

.legacy-tab>span {
  top: calc(var(--node-top) + 47px);
  margin: 0;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legacy-tab.active {
  color: var(--gold-light);
}

.legacy-tab.active::before {
  width: 14px;
  height: 14px;
  background: var(--gold-light);
  border-color: var(--maroon-deep);
  box-shadow:
    0 0 0 5px rgba(212, 175, 90, 0.17),
    0 0 18px rgba(212, 175, 90, 0.3);
}

.legacy-tab:hover::before {
  background: var(--gold);
}

@media (max-width: 820px) {
  .brand {
    width: 174px;
  }

  .brand img {
    max-width: 148px;
    max-height: 62px;
  }

  .hero-image {
    inset: 112px 0 0 38%;
    background-position: 58% 48%;
  }

  .hero-shade {
    background:
      linear-gradient(90deg,
        #3a0d17 0%,
        rgba(58, 13, 23, 0.98) 42%,
        rgba(58, 13, 23, 0.74) 66%,
        rgba(58, 13, 23, 0.24) 100%),
      linear-gradient(0deg, rgba(18, 2, 7, 0.67), transparent 58%);
  }
}

@media (max-width: 760px) {
  .hero-image {
    inset: 100px 0 0;
    background-position: 63% 48%;
  }

  .hero-shade {
    background:
      linear-gradient(90deg,
        rgba(58, 13, 23, 0.98) 0%,
        rgba(58, 13, 23, 0.9) 50%,
        rgba(58, 13, 23, 0.6) 100%),
      linear-gradient(0deg, rgba(18, 2, 7, 0.72), transparent 56%);
  }

  .legacy-tabs {
    height: auto;
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: 28px;
    margin-bottom: 28px;
  }

  .legacy-tabs::after {
    content: "";
    position: absolute;
    left: 12px;
    top: 20px;
    bottom: 20px;
    width: 2px;
    background: linear-gradient(var(--gold-light), rgba(255, 255, 255, 0.18));
  }

  .legacy-journey-path {
    display: none;
  }

  .legacy-tab,
  .legacy-tab:nth-of-type(n) {
    --node-top: 50%;
    min-height: 76px;
    padding: 14px 8px 14px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
  }

  .legacy-tab::before {
    left: -16px;
    top: 50%;
  }

  .legacy-tab strong,
  .legacy-tab>span {
    position: static;
    width: auto;
    transform: none;
    text-align: left;
  }

  .legacy-tab strong {
    font-size: 22px;
  }

  .legacy-tab>span {
    margin-top: 5px;
  }
}

@media (max-width: 640px) {
  .brand {
    width: 150px;
  }

  .brand img {
    max-width: 126px;
    max-height: 58px;
  }
}

/* Remove the unrelated global carousel overlay from homepage project cards. */
.projects-section .project-card::after {
  content: none !important;
  display: none !important;
}