@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Source+Sans+3:wght@400;600;700&display=swap');

/* Thuthuka Nathi Consultants — construction site.
   Navy + cyan brand system, cool paper surfaces, no near-black slabs. */

:root {
  --ink: #0a1b2e;
  --char: #10263d;
  --paper: #f4f7fb;
  --mute: #566678;
  --line: #d9e2ec;
  --blue: #0b4c9c;
  --blue-strong: #0b4c9c;
  --blue-dark: #083a75;
  --blue-text: #0b4c9c;
  --navy: #06285f;
  --teal: #007a9e;
  --teal-light: #6fd3ea;
  --gold: #d4a63a;
  --footer: #0a2034;
  --max: 1120px;
  --display: "Barlow Condensed", Impact, sans-serif;
  --body: "Source Sans 3", system-ui, sans-serif;
}

* { box-sizing: border-box }
html { scroll-behavior: smooth }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block }
picture { display: contents }
a { color: inherit; text-decoration: none }
button, input, select, textarea { font: inherit }
button { cursor: pointer }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.skip {
  position: fixed; top: 8px; left: 8px; z-index: 100;
  background: var(--blue); color: #fff; padding: 0.5rem 0.85rem;
  transform: translateY(-160%);
}
.skip:focus { transform: none }

.wrap { width: min(calc(100% - 40px), var(--max)); margin: 0 auto }

/* Nav over hero on home; solid elsewhere */
.top {
  position: absolute; left: 0; right: 0; top: 0; z-index: 50;
  color: #fff;
  background: linear-gradient(180deg, rgba(6,20,35,0.74), transparent);
}
.top.solid {
  position: sticky; background: var(--ink); border-bottom: 3px solid var(--blue);
}
.top-inner {
  height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand {
  display: flex; align-items: center; gap: 0.7rem;
  font-family: var(--display); font-weight: 700; font-size: 1.35rem;
  letter-spacing: 0.02em; text-transform: uppercase;
}
.brand img {
  width: 48px; height: 48px; object-fit: contain; background: #fff; padding: 3px;
  border: 1px solid rgba(255,255,255,0.32); border-radius: 5px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.16);
}
.nav { display: flex; align-items: center; gap: 1.35rem }
.nav a {
  font-family: var(--display); font-size: 1.15rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.85;
  transition: color 0.18s ease, opacity 0.18s ease, background 0.18s ease;
}
.nav a:hover, .nav a.active { opacity: 1; color: var(--teal-light) }
.nav .cta {
  background: var(--blue); color: #fff; opacity: 1;
  padding: 0.55rem 1rem;
  transition: background 0.18s ease, transform 0.12s ease;
}
.nav .cta:hover { background: var(--blue-dark); color: #fff }
.nav .cta:active { transform: scale(0.97) }
.menu-btn {
  display: none; border: 0; background: var(--blue); color: #fff;
  width: 44px; height: 44px; font-size: 1.3rem;
  transition: background 0.18s ease, transform 0.12s ease;
}
.menu-btn:active { transform: scale(0.97) }

/* Hero: full bleed photo and copy */
.hero {
  position: relative; height: clamp(560px, calc(100svh - 104px), 820px); color: #fff;
  display: grid; align-content: end;
  background: var(--ink);
}
.hero-bg {
  position: absolute; inset: 0;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: contrast(1.04) saturate(1) brightness(0.72);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6,20,35,0.88) 0%, rgba(6,20,35,0.38) 55%, rgba(6,20,35,0.28) 100%),
    linear-gradient(0deg, rgba(6,20,35,0.86) 0%, transparent 50%);
}
.hero-body {
  position: relative; z-index: 1;
  padding: 120px 0 72px;
  transform: translateY(-50px);
  width: min(calc(100% - 40px), 720px);
  margin-left: max(20px, calc((100% - var(--max)) / 2));
}
.hero-body > * {
  animation: hero-enter 0.62s cubic-bezier(0.2,0.72,0.2,1) both;
}
.hero-body > :nth-child(2) { animation-delay: 0.07s }
.hero-body > :nth-child(3) { animation-delay: 0.14s }
.hero-body > :nth-child(4) { animation-delay: 0.21s }
.hero-body > :nth-child(5) { animation-delay: 0.28s }
@keyframes hero-enter {
  from { opacity: 0; transform: translateY(16px) }
  to { opacity: 1; transform: translateY(0) }
}
.hero-brand {
  font-family: var(--display); font-weight: 800; font-size: 1.2rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-light);
  margin-bottom: 1rem;
}
.hero h1 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(3rem, 9vw, 5.5rem); line-height: 0.92;
  text-transform: uppercase; letter-spacing: -0.01em; margin: 0 0 1.1rem;
  max-width: 10ch;
}
.hero h1 span { display: block; color: var(--teal-light) }
.hero h1 .hero-word { display: inline-block; color: inherit }
.hero .lead {
  max-width: 34rem; color: rgba(255,255,255,0.84); margin: 0 0 1.6rem; font-size: 1.05rem;
  line-height: 1.65;
}
.actions { display: flex; flex-wrap: wrap; gap: 0.7rem }
.hero-tags {
  margin-top: 1.75rem; font-family: var(--display); font-size: 1.05rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.45);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 1.25rem;
  background: var(--blue); color: #fff; border: 0;
  font-family: var(--display); font-weight: 700; font-size: 1.15rem;
  letter-spacing: 0.05em; text-transform: uppercase;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover { background: var(--blue-dark); transform: translateY(-2px) }
.btn:active { transform: translateY(0) scale(0.97) }
button:active { transform: scale(0.97) }
.btn.ghost {
  background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,0.55);
}
.btn.ghost:hover { background: #fff; color: var(--ink) }
.btn.dark { background: var(--ink) }
.btn.dark:hover { background: #000 }

.bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--ink); color: #fff; border-bottom: 4px solid var(--blue);
}
.bar div {
  padding: 1.25rem 1.2rem; border-right: 1px solid rgba(255,255,255,0.1);
  transition: background 0.18s ease;
}
.bar div:hover { background: rgba(255,255,255,0.035) }
.bar div:last-child { border-right: 0 }
.bar strong {
  display: block; font-family: var(--display); font-size: 1.35rem;
  text-transform: uppercase; font-weight: 700;
}
.bar span { color: rgba(255,255,255,0.55); font-size: 0.88rem }

@media (min-width: 901px) and (max-height: 850px) {
  .hero-body { padding: 92px 0 34px }
  .hero-brand { margin-bottom: 0.55rem }
  .hero h1 { font-size: clamp(3rem, 7vw, 4.6rem); margin-bottom: 0.7rem }
  .hero .lead { line-height: 1.45; margin-bottom: 1.1rem }
  .hero-tags { margin-top: 1rem }
}

.section { padding: 80px 0 }
.section.dark { background: var(--char); color: #fff }
.section.dark p, .section.dark .lede { color: rgba(255,255,255,0.65) }
.section.white { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line) }

.label {
  font-family: var(--display); font-size: 1rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue);
  margin-bottom: 0.65rem;
}
.h2 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 0.98;
  text-transform: uppercase; letter-spacing: -0.01em; margin: 0 0 0.85rem;
  max-width: 18ch;
}
.lede { color: var(--mute); max-width: 38rem; margin: 0 0 1.5rem }

.split {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center;
}
.pull {
  margin: 0; padding: 1.5rem; background: var(--ink); color: #fff;
  font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.15; text-transform: uppercase; font-weight: 700;
}


.pull-copy {
  font-family: var(--sans); font-size: 1rem; font-weight: 400;
  line-height: 1.65; text-transform: none;
}
.pull-copy p { margin: 0 }

/* Service rows */
.trades { display: grid; gap: 0; border-top: 2px solid var(--ink) }
.trade {
  display: grid; grid-template-columns: 1fr auto; gap: 1.25rem;
  align-items: center; padding: 1.35rem 0;
  border-bottom: 1px solid var(--line); background: transparent;
  transition: background 0.18s ease, padding-left 0.18s ease, padding-right 0.18s ease;
}
.trade:hover { background: #fff; padding-left: 0.85rem; padding-right: 0.85rem }
.trade .num {
  font-family: var(--display); font-size: 2rem; font-weight: 800; color: var(--blue);
}
.trade h3 {
  font-family: var(--display); font-size: 1.7rem; text-transform: uppercase;
  margin: 0 0 0.25rem; font-weight: 700; line-height: 1;
}
.trade p { margin: 0; color: var(--mute); font-size: 0.95rem }
.trade a {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  color: var(--ink); border-bottom: 3px solid var(--blue); font-size: 1.05rem;
}
.trade-link { color: inherit; text-decoration: none }
.trade-action {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  color: var(--ink); border-bottom: 3px solid var(--blue); font-size: 1.05rem;
}
.trade-link:focus-visible { background: #fff; padding-left: 0.85rem; padding-right: 0.85rem }

.stages {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.stages article {
  background: #0b2036; padding: 1.5rem; border-top: 4px solid var(--blue); min-height: 200px;
  transition: transform 0.2s ease, background 0.2s ease;
}
.stages article:hover { transform: translateY(-4px); background: #12314d }
.stages .n {
  font-family: var(--display); font-size: 2.5rem; font-weight: 800; color: var(--teal-light);
}
.stages h3 {
  font-family: var(--display); font-size: 1.6rem; text-transform: uppercase;
  margin: 1rem 0 0.5rem; font-weight: 700;
}
.stages p { margin: 0; color: rgba(255,255,255,0.6) }

.shots {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 0.75rem;
}
.shots a {
  position: relative; display: block; overflow: hidden; min-height: 220px; color: #fff;
}
.shots a:first-child { grid-row: span 2; min-height: 460px }
.shots img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.35); transition: transform 0.5s, filter 0.4s;
}
.shots a:hover img { transform: scale(1.04); filter: grayscale(0) }
.shots span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  font-family: var(--display); font-size: 1.4rem; text-transform: uppercase; font-weight: 700;
}
.shots small {
  display: block; color: var(--teal-light); font-size: 0.85rem; letter-spacing: 0.1em; margin-bottom: 0.2rem;
}

.cta-block {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  background: var(--blue); color: #fff; padding: 1.75rem 1.5rem;
}
.cta-block h2 {
  font-family: var(--display); font-size: clamp(1.8rem, 4vw, 2.6rem);
  text-transform: uppercase; margin: 0 0 0.35rem; font-weight: 800; line-height: 1;
}
.cta-block p { margin: 0; max-width: 34rem; opacity: 0.92 }
.cta-block .btn { background: var(--ink) }
.cta-block .actions { flex: 0 0 auto }
.cta-block .btn.ghost {
  background: transparent; color: #fff;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.55);
}
.cta-block .btn.ghost:hover { background: #fff; color: var(--ink) }


/* Inner pages: mini hero */
.mast {
  position: relative; color: #fff; padding: 120px 0 56px;
  border-bottom: 4px solid var(--blue);
  min-height: 42vh; display: grid; align-content: start;
  overflow: hidden; background: var(--ink);
}
.mast-bg {
  position: absolute; inset: 0; z-index: 0;
}
.mast-bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: contrast(1.04) brightness(0.58);
}
.mast-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6,20,35,0.86) 0%, rgba(6,20,35,0.48) 60%, rgba(6,20,35,0.34) 100%),
    linear-gradient(0deg, rgba(6,20,35,0.82) 0%, transparent 55%);
}
.mast .wrap, .mast-copy {
  position: relative; z-index: 1;
}
.crumbs {
  font-family: var(--display); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal-light); font-size: 1rem; margin-bottom: 0.75rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.5rem;
}
.crumbs a {
  color: inherit; text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: rgba(111, 211, 234, 0.45);
  display: inline-flex; align-items: center; min-height: 32px;
}
.crumbs a:hover { color: #fff; text-decoration-color: #fff }
.crumbs span[aria-current="page"] { color: #fff }
.crumbs span[aria-hidden="true"] { opacity: 0.45 }
.mast h1 {
  font-family: var(--display); font-size: clamp(2.6rem, 7vw, 4.2rem);
  text-transform: uppercase; line-height: 0.95; margin: 0 0 0.85rem; font-weight: 800;
  max-width: 14ch;
}
.mast p { margin: 0; color: rgba(255,255,255,0.78); max-width: 38rem }

.note {
  background: #fff; border: 1px solid var(--line); padding: 1rem 1.15rem;
  margin-bottom: 1.75rem; color: var(--mute);
}
.note strong {
  display: block; font-family: var(--display); text-transform: uppercase;
  color: var(--ink); letter-spacing: 0.08em; margin-bottom: 0.25rem;
}

.cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.85rem;
}
.cards article {
  background: #fff; border: 1px solid var(--line); padding: 1.35rem;
  border-top: 4px solid var(--blue);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cards article:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(6,20,35,0.1) }
.cards h3 {
  font-family: var(--display); font-size: 1.5rem; text-transform: uppercase;
  margin: 0 0 0.45rem; font-weight: 700;
}
.cards p { margin: 0; color: var(--mute) }

.values {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem;
}
.values div {
  background: #fff; border: 1px solid var(--line); padding: 1.2rem;
}
.values div:first-child { background: var(--blue); color: #fff; border-color: var(--blue) }
.values strong {
  display: block; font-family: var(--display); font-size: 1.4rem;
  text-transform: uppercase; margin-bottom: 0.3rem;
}
.values p { margin: 0; color: var(--mute) }
.values div:first-child p { color: rgba(255,255,255,0.9) }

.flow {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem;
}
.flow article {
  background: #fff; padding: 1.15rem; border-top: 3px solid var(--blue);
}
.flow h3 {
  font-family: var(--display); text-transform: uppercase; margin: 0 0 0.3rem; font-size: 1.25rem;
}
.flow p { margin: 0; color: var(--mute); font-size: 0.92rem }

.sources { list-style: none; padding: 0; margin: 0 }
.sources li { padding: 0.95rem 0; border-bottom: 1px solid var(--line) }
.sources a {
  font-family: var(--display); font-size: 1.35rem; text-transform: uppercase; font-weight: 700;
}
.sources a:hover { color: var(--blue) }
.sources small { display: block; color: var(--mute); margin-top: 0.2rem }

.meta {
  font-family: var(--display); font-size: 0.9rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 0.25rem;
}
.meta.warn { color: #9a5b00 }

.filters { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.25rem }
.filter {
  border: 2px solid var(--ink); background: transparent;
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  padding: 0.4rem 0.9rem; font-size: 1rem;
  transition: background 0.18s ease, color 0.18s ease, transform 0.12s ease;
}
.filter.active, .filter:hover { background: var(--blue); color: #fff }
.filter:active { transform: scale(0.97) }

.folio {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem;
}
.folio figure { margin: 0; position: relative; overflow: hidden; min-height: 230px }
.folio figure.hidden { display: none }
.folio img { width: 100%; height: 100%; object-fit: cover; min-height: 230px; filter: grayscale(0.3) }
.folio img { transition: transform 0.45s ease, filter 0.3s ease }
.folio figure:hover img { transform: scale(1.035); filter: grayscale(0) }
.folio figcaption {
  position: absolute; inset: auto 0 0 0; padding: 0.9rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.88)); color: #fff;
  font-family: var(--display); text-transform: uppercase; font-weight: 700; font-size: 1.2rem;
}
.folio figcaption span { display: block; color: var(--teal-light); font-size: 0.85rem; letter-spacing: 0.1em }

.contact-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2.5rem;
}
.dossier a, .dossier div {
  display: block; padding: 0.85rem 0; border-bottom: 1px solid var(--line);
}
.dossier a { transition: color 0.18s ease, padding-left 0.18s ease }
.dossier a:hover { color: var(--blue); padding-left: 0.4rem }
.dossier small {
  display: block; font-family: var(--display); letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--blue); font-size: 0.9rem;
}
.dossier strong {
  font-family: var(--display); font-size: 1.35rem; text-transform: uppercase; word-break: break-word;
}

.form {
  background: var(--ink); color: #fff; padding: 1.5rem; border-top: 5px solid var(--blue);
}
.form .badge {
  display: inline-block; background: var(--blue); color: #fff;
  font-family: var(--display); text-transform: uppercase; font-size: 0.9rem;
  padding: 0.2rem 0.5rem; margin-bottom: 0.75rem;
}
.form h2 {
  font-family: var(--display); font-size: 2rem; text-transform: uppercase;
  margin: 0 0 0.35rem; font-weight: 800;
}
.form .hint { color: rgba(255,255,255,0.6); margin: 0 0 1.25rem }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem }
.field { display: grid; gap: 0.3rem }
.field.full { grid-column: 1 / -1 }
.field label {
  font-family: var(--display); text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--teal-light); font-size: 0.95rem;
}
.field input, .field select, .field textarea {
  background: transparent; border: 0; border-bottom: 2px solid rgba(255,255,255,0.25);
  color: #fff; padding: 0.65rem 0; border-radius: 0;
  transition: border-color 0.18s ease;
}
.field select option { background: var(--ink) }
.field textarea { min-height: 110px; resize: vertical }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-bottom-color: var(--blue);
}
.form-status { display: none; margin-top: 0.9rem; color: var(--blue) }
.form-status.show { display: block }
.form-status a { color: #fff; text-decoration: underline }

.brief {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem;
}
.brief div {
  background: #fff; border-top: 4px solid var(--blue); padding: 1.1rem;
}
.brief strong {
  display: block; font-family: var(--display); text-transform: uppercase;
  font-size: 1.3rem; margin-bottom: 0.25rem;
}
.brief p { margin: 0; color: var(--mute); font-size: 0.92rem }

.footer {
  background: var(--footer); color: rgba(255,255,255,0.65); padding: 48px 0 24px;
  border-top: 4px solid var(--blue);
}
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem;
}
.footer img { width: 64px; background: #fff; padding: 4px; margin-bottom: 0.75rem; border-radius: 4px }
.footer img { border: 1px solid rgba(255,255,255,0.18) }
.footer-name {
  display: block; font-family: var(--display); font-size: 1.3rem; font-weight: 700;
  color: #fff; text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 0.35rem;
}
.footer h3 {
  font-family: var(--display); color: var(--teal-light); text-transform: uppercase;
  letter-spacing: 0.1em; font-size: 1rem; margin: 0 0 0.65rem;
}
.footer a { display: block; margin-bottom: 0.3rem }
.footer a:hover { color: #fff }
.footer-bar {
  margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; gap: 1rem;
  font-family: var(--display); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.95rem;
}

@media (max-width: 900px) {
  .nav {
    display: none; position: absolute; top: 78px; left: 0; right: 0;
    background: var(--ink); flex-direction: column; align-items: stretch;
    padding: 1rem 20px 1.2rem; gap: 0; border-bottom: 3px solid var(--blue);
    box-shadow: 0 18px 30px rgba(0,0,0,0.24);
  }
  .nav a { padding: 0.75rem 0; border-bottom: 1px solid rgba(255,255,255,0.09) }
  .nav a:last-child { border-bottom: 0; text-align: center; margin-top: 0.55rem }
  .nav.open { display: flex }
  .menu-btn { display: block }
  .top { position: relative; background: var(--ink) }
  .hero { align-content: center; height: auto; min-height: calc(100svh - 78px) }
  .hero-body { margin-left: 20px; padding: 48px 0 56px; transform: translateY(-30px); width: min(calc(100% - 28px), 720px) }
  .bar { grid-template-columns: 1fr 1fr }
  .split, .contact-grid { grid-template-columns: 1fr }
  .stages, .cards, .folio, .brief, .flow, .footer-grid, .fields { grid-template-columns: 1fr 1fr }
  .shots { grid-template-columns: 1fr 1fr }
  .shots a:first-child { grid-row: auto; min-height: 260px }
  .trade { grid-template-columns: 1fr }
  .trade a, .trade-action { grid-column: auto }
  .cta-block { flex-direction: column; align-items: flex-start }
}

@media (max-width: 600px) {
  .bar, .stages, .cards, .folio, .brief, .flow, .footer-grid, .fields, .values, .shots {
    grid-template-columns: 1fr;
  }
  .footer-bar { flex-direction: column }
  .section { padding: 56px 0 }
  .mast { padding: 100px 0 40px }
  .brand { font-size: 1.18rem; gap: 0.55rem }
  .hero-brand { font-size: 1.05rem; line-height: 1.45 }
  .hero h1 { letter-spacing: -0.018em }
  .hero-tags { line-height: 1.55 }
  .trade:hover { padding-left: 0; padding-right: 0; background: transparent }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  *, *::before, *::after { animation: none !important; transition: none !important }
}

/* ==========================================================================
   UX pass: readable contrast, clear focus, honest feedback and loading states
   ========================================================================== */

:root {
  --blue-strong: #0b4c9c;
  --blue-dark: #083a75;
  --blue-text: #0b4c9c;
  --success: #1f7a4d;
  --danger: #b42318;
  --focus: #06285f;
  --focus-dark: #8fdcf0;
}

[hidden] { display: none !important }

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

[id] { scroll-margin-top: 100px }
main:focus { outline: none }

/* Two-tone focus ring that stays visible on light and dark surfaces. */
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px }
.top :focus-visible,
.hero :focus-visible,
.mast :focus-visible,
.section.dark :focus-visible,
.footer :focus-visible,
.map-embed :focus-visible,
.form .form-alt :focus-visible,
.form form :focus-visible { outline-color: var(--focus-dark) }

/* Buttons and links that carry small text now pass WCAG AA. */
.btn { background: var(--blue-strong); gap: 0.55rem }
.btn:hover { background: var(--blue-dark) }
.nav .cta { background: var(--blue-strong) }
.nav .cta:hover { background: var(--blue-dark) }
.skip { background: var(--blue-strong) }
.menu-btn { background: var(--blue-strong) }
.cta-block { background: var(--blue-strong) }
.cta-block p { opacity: 1; color: #fff }
.cta-block :focus-visible { outline-color: #fff }
.values div:first-child { background: var(--blue-strong); border-color: var(--blue-strong) }
.values div:first-child p { color: #fff }
.form .badge { background: var(--blue-strong) }

.label { color: var(--blue-text) }
.section.dark .label { color: var(--teal-light) }
.trade .num { color: var(--blue-text) }
.dossier small { color: var(--blue-text) }
.dossier a:hover { color: var(--blue-text) }
.sources a:hover { color: var(--blue-text) }
.meta { color: var(--blue-text) }
.shots small,
.folio figcaption span { color: var(--focus-dark) }

.hero-tags { color: rgba(255,255,255,0.67) }

/* Larger hit areas for filters, rows and footer links. */
.filter { min-height: 44px; padding: 0.5rem 1rem }
.nav a { min-height: 44px; display: flex; align-items: center }
.trade a,
.trade-action { display: inline-flex; align-items: center; min-height: 44px }
.footer a { display: flex; align-items: center; min-height: 38px; margin-bottom: 0; overflow-wrap: anywhere }
.footer p { margin: 0.35rem 0 0 }
.footer-col p a { display: inline-flex; color: #fff; text-decoration: underline; text-underline-offset: 3px }

.more-link { margin: 1.1rem 0 0; color: var(--mute); font-size: 0.95rem }
.more-link a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px }
.more-link a:hover { color: var(--blue-text) }

.note-link {
  display: inline-flex; align-items: center; min-height: 40px; margin-top: 0.35rem;
  color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px;
}
.note-link:hover { color: var(--blue-text) }

/* Reserve image space and show a subtle skeleton until each image is ready. */
.shots a,
.folio figure { background: #dbe5ee }
.folio figure { aspect-ratio: 3 / 2; min-height: 0 }
.folio img { height: 100%; min-height: 0 }
.shots span,
.folio figcaption { z-index: 2 }
.shots img,
.folio img { opacity: 1; transition: opacity 0.3s ease, transform 0.5s ease, filter 0.4s ease }

.shots a.is-loading img,
.folio figure.is-loading img { opacity: 0 }

.shots a.is-loading::before,
.folio figure.is-loading::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, #dbe5ee 20%, #eef3f8 40%, #dbe5ee 60%);
  background-size: 220% 100%;
  animation: media-shimmer 1.4s linear infinite;
}

.shots a.is-error::before,
.folio figure.is-error::before { display: none !important }
.shots a.is-error img,
.folio figure.is-error img { opacity: 0 }
.shots a.is-error::after,
.folio figure.is-error::after {
  content: "Image unavailable"; position: absolute; top: 0.9rem; left: 0.9rem; z-index: 3;
  padding: 0.25rem 0.55rem; background: rgba(6,20,35,0.9); color: #fff;
  font-family: var(--display); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase;
}

@keyframes media-shimmer {
  from { background-position: 180% 0 }
  to { background-position: -80% 0 }
}

/* Project filter feedback. */
.filters { margin-bottom: 0.35rem }
.filter-status { margin: 0.2rem 0 1rem; color: var(--mute); font-size: 0.9rem }

/* Map: show a placeholder while the third-party embed loads, and keep a link fallback. */
.map-embed {
  position: relative; margin-top: 1.25rem; min-height: 220px; overflow: hidden;
  background: #dbe5ee; border: 1px solid var(--line);
}
.map-embed iframe {
  position: relative; z-index: 2; display: block; width: 100%; height: 220px; border: 0;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.map-embed.is-loaded iframe { opacity: 1; pointer-events: auto }
.map-placeholder {
  position: absolute; inset: 0; z-index: 1; display: grid; place-content: center;
  color: var(--mute); font-family: var(--display); font-size: 0.95rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  background: linear-gradient(100deg, #dbe5ee 20%, #eef3f8 40%, #dbe5ee 60%);
  background-size: 220% 100%; animation: media-shimmer 1.4s linear infinite;
}
.map-embed.is-loaded .map-placeholder { display: none }
.map-help { margin: 0.55rem 0 0; font-size: 0.9rem; color: var(--mute) }
.map-help a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px }
.map-help a:hover { color: var(--blue-text) }

/* Form: clearer fields, helper text, errors and result states. */
.form-help {
  margin: 0 0 1rem;
  color: rgba(255,255,255,0.72); font-size: 0.9rem;
}
.hp-field {
  position: absolute; left: -9999px; width: 1px; height: 1px;
  overflow: hidden;
}
.form-alt { margin: 0 0 1.1rem; color: rgba(255,255,255,0.78); font-size: 0.9rem }
.form-alt a { color: var(--focus-dark); text-decoration: underline; text-underline-offset: 3px }
.form-alt a:hover { color: #fff }
.required-note { margin: 0 0 0.85rem; color: rgba(255,255,255,0.62); font-size: 0.82rem }
.field input,
.field select,
.field textarea {
  background-color: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.24);
  border-bottom: 2px solid rgba(255,255,255,0.4);
  border-radius: 2px; padding: 0.7rem 0.8rem;
}
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: rgba(255,255,255,0.45) }
.field select {
  appearance: none; padding-right: 2.2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23ffffff' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.8rem center;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(255,255,255,0.48) }
.field textarea { min-height: 120px }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--focus-dark); outline-offset: 2px;
  border-color: var(--blue); border-bottom-color: var(--blue);
}
.field-hint { margin: 0.1rem 0 0; color: rgba(255,255,255,0.62); font-size: 0.8rem }
.field-error { margin: 0.1rem 0 0; color: #ffb4a8; font-size: 0.82rem }
.field-error:empty { display: none }
.field.is-touched input:invalid,
.field.is-touched select:invalid,
.field.is-touched textarea:invalid { border-color: #ffb4a8; border-bottom-color: #ffb4a8 }

.form-note { margin: 0.6rem 0 0; color: rgba(255,255,255,0.68); font-size: 0.82rem; line-height: 1.5 }
.form-note a { color: var(--focus-dark); text-decoration: underline; text-underline-offset: 3px }
.form-submit { justify-content: center }
.btn .spinner {
  display: none; width: 1em; height: 1em; border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #fff; border-radius: 50%; animation: button-spin 0.7s linear infinite;
}
.btn.is-loading .spinner { display: inline-block }
.btn[disabled] { opacity: 0.78; cursor: progress; transform: none }

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

/* Status region is announced but the result panel carries the visible message. */
.form-status {
  display: block;
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.quote-result {
  margin-top: 1.1rem; padding: 1.25rem; background: #fff; color: var(--ink);
  border: 1px solid var(--line);
}
.quote-result:focus { outline: 3px solid var(--blue-text); outline-offset: 3px }
.quote-result__eyebrow {
  margin: 0 0 0.25rem; font-family: var(--display); font-size: 0.9rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-text);
}
.quote-result[data-state="success"] .quote-result__eyebrow { color: var(--success) }
.quote-result[data-state="error"] .quote-result__eyebrow { color: var(--danger) }
.quote-result h3 {
  margin: 0 0 0.4rem; font-family: var(--display); font-size: 1.7rem;
  font-weight: 800; line-height: 1; text-transform: uppercase;
}
.quote-result p { margin: 0 0 0.5rem; color: #4a4a4a }
.quote-result__summary {
  display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 0.9rem;
  margin: 0.8rem 0; padding: 0.8rem 0; border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line); font-size: 0.9rem;
}
.quote-result__summary dt {
  font-family: var(--display); font-size: 0.8rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--mute); padding-top: 0.1rem;
}
.quote-result__summary dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; white-space: pre-wrap }
.quote-result__actions { display: flex; flex-wrap: wrap; gap: 0.55rem; margin: 0.9rem 0 0.4rem }
.quote-result .btn { background: var(--ink); color: #fff }
.quote-result .btn:hover { background: #000 }
.quote-result .btn-outline { background: transparent; color: var(--ink); border: 2px solid var(--ink) }
.quote-result .btn-outline:hover { background: var(--ink); color: #fff }
.quote-result__note { margin: 0.35rem 0 0 !important; color: var(--mute); font-size: 0.85rem }
.copy-fallback {
  width: 100%; min-height: 110px; margin-top: 0.6rem; padding: 0.5rem;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  font: inherit; font-size: 0.85rem;
}

.aside-action { margin: 1.25rem 0 0 }

/* Mobile menu entrance and small-screen form polish. */
@keyframes menu-in {
  from { opacity: 0; transform: translateY(-6px) }
  to { opacity: 1; transform: translateY(0) }
}
.nav.open { animation: menu-in 0.18s ease-out both }

/* Desktop: contact details left, form right. Mobile: form first in DOM and visually. */
.contact-grid .form { grid-column: 2; grid-row: 1 }
.contact-grid aside { grid-column: 1; grid-row: 1 }

@media (max-width: 900px) {
  .contact-grid .form,
  .contact-grid aside { grid-column: 1; grid-row: auto }
}

@media (max-width: 600px) {
  .form { padding: 1.25rem }
  .form-submit { width: 100% }
  .quote-result__actions .btn { flex: 1 1 100% }
  .footer a { min-height: 40px }
}

.mast h1 { max-width: 20ch }

/* 404 page */
.not-found { padding: 84px 0 96px }
.not-found h1 {
  margin: 0 0 0.75rem; font-family: var(--display); font-size: clamp(2.6rem, 7vw, 4.5rem);
  font-weight: 800; line-height: 0.95; text-transform: uppercase;
}
.not-found p { max-width: 38rem; margin: 0; color: var(--mute) }
.not-found .actions { margin-top: 1.5rem }

/* Company section switcher */
.subnav { background: #fff; border-bottom: 1px solid var(--line) }
.subnav .wrap {
  display: flex; align-items: stretch; gap: 0.1rem; overflow-x: auto;
  scrollbar-width: none; -ms-overflow-style: none;
}
.subnav .wrap::-webkit-scrollbar { display: none }
.subnav a {
  flex: none; display: inline-flex; align-items: center; min-height: 52px;
  padding: 0 0.85rem; border-bottom: 3px solid transparent;
  color: var(--mute); font-family: var(--display); font-size: 0.95rem;
  font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.subnav a:hover { color: var(--blue-text) }
.subnav a[aria-current="page"] { color: var(--blue-text); border-bottom-color: var(--blue) }

/* Service index */
.jump-nav { background: transparent }
.jump-nav .wrap {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.15rem 1rem;
  padding: 0.55rem 0; background: #fff; border-bottom: 1px solid var(--line);
}
.jump-nav__label {
  flex: none; color: var(--mute); font-family: var(--display); font-size: 0.88rem;
  font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
}
.jump-nav a {
  display: inline-flex; align-items: center; min-height: 44px; color: var(--ink);
  font-size: 0.9rem; font-weight: 600; border-bottom: 1px solid transparent;
}
.jump-nav a:hover { color: var(--blue-text); border-bottom-color: var(--blue) }
.jump-nav__quote { margin-left: auto; color: var(--blue-text) !important }

/* Footer back-to-top */
.back-to-top {
  color: #fff; display: inline-flex; align-items: center; min-height: 44px;
  text-decoration: underline; text-underline-offset: 3px;
}
.back-to-top:hover { color: var(--teal-light) }
.footer .back-to-top { min-height: 44px }

/* Confirmed registration details */
.credentials { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1.1rem }
.credentials span {
  display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.5rem 0.65rem;
  background: #fff; border: 1px solid var(--line); color: var(--mute); font-size: 0.82rem;
}
.credentials strong {
  color: var(--ink); font-family: var(--display); font-size: 0.78rem;
  letter-spacing: 0.06em; text-transform: uppercase;
}

/* Recent hospital work */
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.4rem }
.case-card { background: #fff; border: 1px solid var(--line); padding: 1.25rem }
.case-card__type {
  margin: 0 0 0.35rem; color: var(--blue-text); font-family: var(--display);
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.case-card h3 { margin: 0 0 0.45rem; font-family: var(--display); font-size: 1.35rem; text-transform: uppercase; line-height: 1.05 }
.case-card p { margin: 0; color: var(--mute); font-size: 0.93rem }
.case-card dl {
  display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 0.65rem; margin: 1rem 0 0;
  padding-top: 0.8rem; border-top: 1px solid var(--line);
}
.case-card dt {
  margin: 0 0 0.15rem; color: var(--mute); font-family: var(--display);
  font-size: 0.75rem; letter-spacing: 0.07em; text-transform: uppercase;
}
.case-card dd { margin: 0; color: var(--ink); font-size: 0.9rem; font-weight: 600 }

/* Mobile quick contact */
.mobile-contact { display: none }

@media (max-width: 900px) {
  body { padding-bottom: 84px }
  .mobile-contact {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0.45rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    padding: 0.5rem 0.7rem calc(0.5rem + env(safe-area-inset-bottom));
    background: rgba(7, 21, 35, 0.97); border-top: 2px solid var(--blue);
  }
  .mobile-contact a {
    display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
    background: var(--blue); color: #fff; font-family: var(--display); font-size: 0.9rem;
    font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
    transition: background 0.18s ease, transform 0.12s ease;
  }
  .mobile-contact a:active { transform: scale(0.97) }
  .mobile-contact a:last-child { background: var(--teal) }
  .mobile-contact a:hover { background: var(--blue-strong); color: #fff }
}

@media (max-width: 800px) {
  .cases { grid-template-columns: 1fr }
}

@media (max-width: 600px) {
  .credentials span { width: 100%; justify-content: flex-start }
}

@media (max-width: 600px) {
  .subnav .wrap {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0; overflow: visible;
  }
  .subnav a {
    min-height: 44px; padding: 0.45rem 0.4rem; font-size: 0.84rem; line-height: 1.2;
    border-bottom: 1px solid var(--line); white-space: normal;
  }
  .subnav a[aria-current="page"] { border-bottom: 3px solid var(--blue) }
  .jump-nav a { min-height: 44px }
  .jump-nav__quote { margin-left: 0; width: 100%; min-height: 44px }
  .back-to-top { align-self: flex-start }
}

/* ==========================================================================
   Brand refresh and company pages
   ========================================================================== */

.brand-name { display: flex; flex-direction: column; line-height: 1 }
.brand-name small {
  margin-top: 0.32rem; font-family: var(--body); font-size: 0.55rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.74;
}
.footer-name small {
  display: block; margin-top: 0.2rem; font-family: var(--body); font-size: 0.58rem;
  font-weight: 600; letter-spacing: 0.13em; opacity: 0.72;
}

/* Footer gains a company column */
.footer-grid { grid-template-columns: 1.25fr 0.8fr 0.95fr 1.2fr; gap: 1.6rem }
.footer-col a[href^="mailto:"] { font-size: 0.85rem; line-height: 1.4; overflow-wrap: anywhere }

/* Awards */
.awards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem }
.award {
  display: grid; grid-template-columns: 64px 1fr; gap: 1.1rem; align-items: center;
  padding: 1.4rem; background: var(--ink); color: #fff; border-top: 4px solid var(--gold);
}
.award__seal {
  display: grid; place-content: center; width: 64px; height: 64px; border-radius: 50%;
  border: 2px solid var(--gold); color: var(--gold); font-size: 1.65rem; line-height: 1;
}
.award__kicker {
  margin: 0 0 0.2rem; color: var(--teal-light); font-family: var(--display);
  font-size: 0.88rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.award h3 {
  margin: 0 0 0.3rem; font-family: var(--display); font-size: 1.5rem; line-height: 1.05;
  text-transform: uppercase;
}
.award p { margin: 0; color: rgba(255,255,255,0.7); font-size: 0.92rem }
.award-strip { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem }
.award-strip span {
  padding: 0.5rem 0.7rem; background: #fff; border: 1px solid var(--line);
  color: var(--ink); font-family: var(--display);
  font-size: 0.88rem; letter-spacing: 0.05em; text-transform: uppercase;
}
.awards-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 1rem; align-items: stretch }
.awards-layout .awards { grid-template-columns: 1fr }
.award-photo {
  position: relative; margin: 0; overflow: hidden; min-height: 520px; background: #0b2036;
}
.award-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 35% }
.award-photo figcaption {
  position: absolute; inset: auto 0 0 0; padding: 0.9rem 1rem; color: #fff;
  background: linear-gradient(transparent, rgba(6,20,35,0.92));
  font-family: var(--display); font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.footer-awards {
  margin-top: 0.8rem; padding-top: 0.65rem; border-top: 1px solid rgba(255,255,255,0.12);
  color: var(--gold); font-family: var(--display); font-size: 0.82rem;
  letter-spacing: 0.05em; text-transform: uppercase;
}

/* Golf day gallery */
.golf-section { overflow: hidden }
.golf-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem;
}
.golf-head .h2 { margin-bottom: 0.6rem }
.golf-controls { display: flex; gap: 0.5rem; flex: 0 0 auto }
.golf-btn {
  width: 44px; height: 44px; border: 1px solid rgba(255,255,255,0.4);
  background: transparent; color: #fff; font-size: 1.2rem; line-height: 1;
  transition: background 0.18s ease, transform 0.12s ease;
}
.golf-btn:hover { background: rgba(255,255,255,0.1) }
.golf-btn:active { transform: scale(0.97) }
.golf-viewport {
  margin-top: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none; scroll-behavior: smooth;
}
.golf-viewport::-webkit-scrollbar { display: none }
.golf-track { display: flex; gap: 1rem; margin: 0; padding: 0; list-style: none }
.golf-slide { flex: 0 0 calc((100% - 1rem) / 2); scroll-snap-align: start }
.golf-slide figure {
  position: relative; margin: 0; overflow: hidden; aspect-ratio: 4 / 3; background: #0b2036;
}
.golf-slide img { width: 100%; height: 100%; object-fit: cover }
.golf-slide figcaption {
  position: absolute; inset: auto 0 0 0; padding: 1rem;
  background: linear-gradient(transparent, rgba(6,20,35,0.9));
  color: #fff; font-family: var(--display); font-size: 1.1rem; letter-spacing: 0.04em;
  text-transform: uppercase;
}
.golf-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 0.35rem;
}
.golf-dots { display: flex; gap: 0.1rem }
.golf-dot {
  position: relative; width: 44px; height: 44px; padding: 0; border: 0; background: transparent;
}
.golf-dot::after {
  content: ""; position: absolute; inset: 0; width: 10px; height: 10px; margin: auto;
  border: 1px solid #fff; border-radius: 50%;
}
.golf-dot[aria-current="true"]::after { background: var(--teal-light); border-color: var(--teal-light) }
.golf-pause { min-height: 44px }
.golf-video-btn { white-space: nowrap }

.video-dialog {
  width: min(92vw, 860px); max-height: 92vh; padding: 0; border: 0;
  background: var(--ink); color: #fff; box-shadow: 0 24px 80px rgba(0,0,0,0.45);
}
.video-dialog::backdrop { background: rgba(6,20,35,0.82) }
.video-dialog__head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.85rem 1rem; border-bottom: 1px solid rgba(255,255,255,0.15);
}
.video-dialog__head h3 {
  margin: 0; font-family: var(--display); font-size: 1.35rem; text-transform: uppercase;
}
.video-dialog__close {
  width: 44px; height: 44px; border: 1px solid rgba(255,255,255,0.35);
  background: transparent; color: #fff; font-size: 1.4rem; line-height: 1;
}
.video-dialog__close:hover { background: rgba(255,255,255,0.1) }
.video-dialog video { display: block; width: 100%; max-height: 72vh; background: #000 }

/* Company hub */
.company-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem }
.company-card {
  display: flex; flex-direction: column; min-height: 230px; padding: 1.35rem;
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue);
  color: inherit; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.company-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(6,20,35,0.1) }
.company-card:active { transform: scale(0.97); box-shadow: 0 8px 20px rgba(6,20,35,0.08) }
.company-card__num {
  color: var(--blue-text); font-family: var(--display); font-size: 0.95rem;
  font-weight: 700; letter-spacing: 0.1em;
}
.company-card h3 {
  margin: 0.25rem 0 0.5rem; font-family: var(--display); font-size: 1.45rem;
  line-height: 1.05; text-transform: uppercase;
}
.company-card p { margin: 0 0 1rem; color: var(--mute); font-size: 0.95rem }
.company-card__link { margin-top: auto; color: var(--blue-text); font-weight: 700; font-size: 0.92rem }

/* Page-level content notes and lists */
.page-note {
  margin: 1.6rem 0 0; padding: 0.95rem 1.1rem; background: #fff;
  border: 1px solid var(--line); color: var(--mute); font-size: 0.93rem;
}
.page-note strong {
  display: block; margin-bottom: 0.2rem; color: var(--ink); font-family: var(--display);
  letter-spacing: 0.06em; text-transform: uppercase;
}
.check-list { display: grid; gap: 0.55rem; margin: 0; padding: 0; list-style: none }
.check-list li { position: relative; padding-left: 1.4rem; color: var(--mute) }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: -0.05rem; color: var(--teal); font-weight: 700;
}
.page-links {
  display: flex; flex-wrap: wrap; gap: 0.3rem 1.1rem; margin-top: 1.2rem;
  font-size: 0.92rem;
}
.page-links a { color: var(--blue-text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px }
.page-links strong {
  color: var(--ink); font-family: var(--display); font-size: 0.85rem;
  letter-spacing: 0.06em; text-transform: uppercase;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr }
  .company-grid { grid-template-columns: 1fr 1fr }
  .golf-head { align-items: flex-start; flex-direction: column; gap: 1rem }
  .golf-slide { flex-basis: calc((100% - 1rem) / 2) }
  .awards-layout { grid-template-columns: 1fr }
  .award-photo { min-height: 360px; aspect-ratio: 4 / 3 }
}

@media (max-width: 700px) {
  .golf-slide { flex-basis: 100% }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr }
  .company-grid { grid-template-columns: 1fr }
  .awards { grid-template-columns: 1fr }
  .award { grid-template-columns: 48px 1fr; gap: 0.8rem; padding: 1.1rem }
  .award__seal { width: 48px; height: 48px; font-size: 1.25rem }
  .award-photo { min-height: 0; aspect-ratio: 3 / 4 }
  .golf-controls { flex-wrap: wrap }
  .golf-footer { flex-direction: column; align-items: stretch; gap: 0.5rem }
  .golf-dots { justify-content: center }
  .golf-video-btn { width: 100%; justify-content: center }
}

@media (prefers-reduced-motion: reduce) {
  .golf-viewport { scroll-behavior: auto }
}




/* Project gallery overlay (merged from main) */
/* Project gallery overlay: opened from a project card. */
.folio figure[data-gallery] { cursor: pointer }
.folio figure[data-gallery]:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px }
.folio figure[data-gallery] .count-chip {
  position: absolute; top: 0.7rem; right: 0.7rem; z-index: 3;
  padding: 0.28rem 0.55rem; background: rgba(6, 20, 35, 0.9); color: #fff;
  font-family: var(--display); font-size: 0.78rem; letter-spacing: 0.09em; text-transform: uppercase;
  pointer-events: none;
}
.lb { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 1.2rem; background: rgba(4, 14, 26, 0.94) }
.lb[hidden] { display: none }
.lb :focus-visible { outline-color: #fff }
.lb-panel {
  width: min(1040px, 100%); max-height: calc(100svh - 2.4rem); overflow: auto;
  padding: 1rem 1.1rem 1.1rem; background: #0b2036; color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.lb-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 0.85rem }
.lb-eyebrow { display: block; color: var(--blue); font-family: var(--display); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase }
.lb-title { margin: 0.2rem 0 0; font-family: var(--display); font-size: clamp(1.2rem, 2.6vw, 1.6rem); line-height: 1.1; text-transform: uppercase; color: #fff }
.lb-close { flex: none; width: 44px; height: 44px; border: 0; background: rgba(255, 255, 255, 0.12); color: #fff; font-size: 1.5rem; line-height: 1; display: grid; place-items: center }
.lb-close:hover, .lb-close:focus-visible { background: var(--blue); color: #fff }
.lb-figure {
  position: relative; margin: 0; overflow: hidden; background: #071523;
  height: min(58svh, 520px); touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.lb-figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; pointer-events: none }
.lb-layer { opacity: 0; transition: opacity 0.32s ease; will-change: opacity }
.lb-layer.is-visible { opacity: 1 }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px; border: 0; display: grid; place-items: center;
  background: rgba(18, 18, 18, 0.66); color: #fff; font-size: 1.7rem; line-height: 1;
}
.lb-nav:hover, .lb-nav:focus-visible { background: var(--blue); color: #fff }
.lb-nav[hidden] { display: none }
.lb-prev { left: 10px }
.lb-next { right: 10px }
.lb-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-top: 0.75rem }
.lb-caption { margin: 0; font-family: var(--display); font-size: 0.95rem; line-height: 1.2; letter-spacing: 0.03em; text-transform: uppercase; color: #fff }
.lb-count { flex: none; font-family: var(--display); font-size: 0.85rem; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.7) }
.lb-thumbs { display: flex; gap: 6px; margin-top: 0.7rem; overflow-x: auto; padding-bottom: 0.2rem }
.lb-thumbs[hidden] { display: none }
.lb-thumb { flex: none; width: 78px; height: 56px; padding: 0; border: 2px solid transparent; background: #10263d; overflow: hidden; cursor: pointer }
.lb-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.6 }
.lb-thumb[aria-current="true"] { border-color: var(--blue) }
.lb-thumb[aria-current="true"] img, .lb-thumb:hover img, .lb-thumb:focus-visible img { opacity: 1 }
@media (max-width: 600px) {
  .lb { padding: 0; align-items: end }
  .lb-panel {
    width: 100%; height: auto; max-height: 100svh; border: 0; padding: 0;
    display: flex; flex-direction: column;
  }
  .lb-head {
    position: sticky; top: 0; z-index: 2; margin: 0; padding: 0.9rem 0.9rem 0.75rem;
    background: #0b2036; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .lb-figure { flex: none; height: 50svh }
  .lb-nav { width: 40px; height: 40px; font-size: 1.4rem }
  .lb-prev { left: 4px }
  .lb-next { right: 4px }
  .lb-meta { padding: 0.7rem 0.9rem 0; margin-top: 0; flex-direction: column; align-items: flex-start; gap: 0.25rem }
  .lb-caption { font-size: 0.85rem }
  .lb-thumbs { padding: 0.7rem 0.9rem 0.9rem; margin-top: 0 }
  .lb-thumb { width: 64px; height: 46px }
  .lb-title { font-size: 1.05rem }
  .folio figure[data-gallery] .count-chip { top: 0.5rem; right: 0.5rem; font-size: 0.7rem }
}


/* Header photos: shimmer until decoded, then fade in */
/* Header photos (hero, inner-page mast): dark shimmer until the photo decodes, then fade in. */
.hero-bg,
.mast-bg { background: #0a1b2e; isolation: isolate }
.hero-bg img,
.mast-bg img { transition: opacity 0.7s ease }
.hero-bg.is-loading::before,
.mast-bg.is-loading::before {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(100deg,
    rgba(255,255,255,0.03) 20%, rgba(255,255,255,0.17) 48%, rgba(255,255,255,0.03) 76%);
  background-size: 220% 100%;
  animation: media-shimmer 2.2s linear infinite;
}
.hero-bg.is-loading img,
.mast-bg.is-loading img { opacity: 0 }
.hero-bg.is-error img,
.mast-bg.is-error img { opacity: 0 }

/* Thank-you page */
.thanks-hero {
  position: relative; overflow: hidden; color: #fff;
  padding: 96px 0 72px; background:
    radial-gradient(circle at 84% 18%, rgba(0, 154, 199, 0.22), transparent 32%),
    var(--ink);
  border-bottom: 4px solid var(--blue);
}
.thanks-hero .wrap { position: relative; z-index: 1 }
.thanks-mark {
  width: 64px; height: 64px; display: grid; place-items: center;
  margin-bottom: 1.35rem; background: var(--blue); color: #fff;
  border-radius: 50%; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}
.thanks-mark svg { width: 30px; height: 30px }
.thanks-hero .label { color: var(--teal-light) }
.thanks-hero h1 {
  font-family: var(--display); font-size: clamp(2.8rem, 7vw, 4.6rem);
  line-height: 0.95; text-transform: uppercase; font-weight: 800;
  max-width: 13ch; margin: 0 0 1rem;
}
.thanks-lead {
  max-width: 38rem; margin: 0; color: rgba(255, 255, 255, 0.8);
  font-size: 1.08rem; line-height: 1.65;
}
.thanks-hero .actions { margin-top: 1.6rem }
.flow--three { grid-template-columns: repeat(3, 1fr) }

@media (max-width: 900px) {
  .thanks-hero { padding: 72px 0 56px }
}

@media (max-width: 600px) {
  .thanks-hero { padding: 56px 0 44px }
  .flow--three { grid-template-columns: 1fr }
}

/* Keep every inner-page hero the same height regardless of heading length. */
.mast { padding: 70px 0 24px; min-height: 400px }

@media (min-width: 601px) and (max-width: 900px) {
  .mast { min-height: 380px }
}

@media (max-width: 600px) {
  .mast { padding: 64px 0 20px; min-height: 390px }
}

/* Careers placeholder */
.stay-tuned { max-width: 44rem; margin: 0; text-align: left; padding: 1rem 0 0 }
.stay-tuned .lede { max-width: 34rem; margin: 0 0 1.5rem }
.stay-tuned .h2 { margin-bottom: 0.8rem }




.award-select {
  width: 100%; border: 0; border-top: 4px solid var(--gold);
  text-align: left; font: inherit; cursor: pointer; appearance: none;
  transition: transform 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease;
}
.award-select:hover {
  background: #0d2a46; transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(6, 20, 35, 0.22);
}
.award-select:active { transform: translateY(-1px) scale(0.995) }
.award-select:focus-visible { outline: 3px solid var(--teal-light); outline-offset: 3px }
.award-select[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--teal-light) }

/* Award mini gallery */
.award-gallery { display: flex; flex-direction: column; gap: 0.5rem }
.award-gallery .award-photo { min-height: 0; aspect-ratio: 4 / 5; margin: 0 }
.award-gallery .award-photo img { object-position: center 25%; transition: opacity 0.28s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1) }
.award-gallery .award-photo figcaption { transition: opacity 0.24s ease, transform 0.36s ease }
.award-gallery .award-photo.is-switching img { opacity: 0; transform: scale(1.025) }
.award-gallery .award-photo.is-switching figcaption { opacity: 0; transform: translateY(6px) }
.award-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.35rem }
.award-thumb {
  padding: 0; border: 2px solid transparent; background: var(--paper);
  cursor: pointer; line-height: 0;
}
.award-thumb img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; display: block }
.award-thumb[aria-pressed="true"] { border-color: var(--blue) }
.award-thumb:hover { border-color: var(--teal-light) }
.award-thumb:focus-visible { outline: 3px solid var(--teal-light); outline-offset: 2px }



.diversity-guide-title {
  max-width: none; font-size: clamp(1.75rem, 3.4vw, 2.8rem);
  white-space: nowrap;
}
@media (max-width: 900px) {
  .diversity-guide-title { white-space: normal; font-size: clamp(1.8rem, 6vw, 2.4rem) }
}

/* Diversity guide */
.diversity-guide {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem;
  margin-top: 1.35rem;
}
.diversity-guide article {
  background: #fff; border-top: 3px solid var(--blue);
  padding: 1.15rem 1.25rem;
}
.diversity-guide article:last-child {
  grid-column: 1 / -1; width: calc(50% - 0.425rem); justify-self: center;
}
.diversity-guide h3 {
  font-family: var(--display); font-size: 1.3rem; line-height: 1;
  text-transform: uppercase; margin: 0 0 0.55rem;
}
.diversity-guide ul {
  margin: 0; padding-left: 1.1rem; color: var(--mute);
  font-size: 0.95rem; line-height: 1.55;
}
.diversity-guide li + li { margin-top: 0.35rem }
@media (max-width: 600px) {
  .diversity-guide { grid-template-columns: 1fr }
  .diversity-guide article:last-child { grid-column: auto; width: 100% }
}

/* Methodology */
.method {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem;
  margin-top: 1.25rem;
}
.method article {
  position: relative; background: #fff; border-top: 3px solid var(--blue);
  padding: 1.15rem 1.2rem 1.2rem;
}
.method__num {
  display: block; font-family: var(--display); font-size: 0.9rem;
  font-weight: 700; letter-spacing: 0.12em; color: var(--blue);
  margin-bottom: 0.35rem;
}
.method h3 {
  font-family: var(--display); font-size: 1.3rem; line-height: 1;
  text-transform: uppercase; margin: 0 0 0.4rem;
}
.method p { margin: 0; color: var(--mute); font-size: 0.92rem }

/* Award photo grid */
.awards-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  margin-top: 1.5rem;
}
.award-card {
  margin: 0; background: #fff; border: 1px solid var(--line);
  overflow: hidden;
}
.award-card picture { display: block; background: var(--paper) }
.award-card img {
  display: block; width: 100%; height: auto; aspect-ratio: 3 / 4;
  object-fit: cover;
}
.award-card figcaption { padding: 1rem 1.1rem 1.15rem }
.award-card__kicker {
  display: block; font-family: var(--display); font-size: 0.82rem;
  font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 0.35rem;
}
.award-card h3 {
  font-family: var(--display); font-size: 1.35rem; line-height: 1;
  text-transform: uppercase; margin: 0;
}
@media (max-width: 600px) {
  .method, .awards-grid { grid-template-columns: 1fr }
}

/* Page changes: crossfade the whole document so no block blinks in alone. */
@view-transition { navigation: auto; }

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.42s;
  animation-timing-function: cubic-bezier(0.2, 0.7, 0.2, 1);
  animation-fill-mode: both;
}

::view-transition-old(root) { animation-name: page-fade-out; animation-duration: 0.34s }
::view-transition-new(root) { animation-name: page-fade-in; animation-duration: 0.42s }

@keyframes page-fade-out {
  to { opacity: 0 }
}

@keyframes page-fade-in {
  from { opacity: 0 }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) { animation: none }
}

/* Hero words: left-to-right, line by line, with a small settle. */
@keyframes hero-word-in {
  0% { opacity: 0; transform: translateX(-24px) }
  65% { opacity: 1; transform: translateX(4px) }
  100% { opacity: 1; transform: translateX(0) }
}

.hero-word {
  display: inline-block;
  animation: hero-word-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(var(--line, 0) * 150ms + var(--col, 0) * 30ms);
}

/* Hero supporting copy follows the headline. */
@keyframes hero-copy-in {
  from { opacity: 0; transform: translateX(-18px) }
  to { opacity: 1; transform: translateX(0) }
}

.mast p,
.hero .lead {
  animation: hero-copy-in 0.6s 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}