/* ==========================================================================
   Metrotech Construction Ltd. — site styles
   Brand colours are sampled from the logo: navy #343E4B, teal #00A7B0.
   ========================================================================== */

:root {
  --navy: #343e4b;
  --navy-800: #2b333e;
  --navy-900: #222931;
  --teal: #00a7b0;
  --teal-ink: #006f77;   /* teal dark enough for small text on light backgrounds */
  --teal-soft: #6fd6db;  /* teal light enough for small text on dark backgrounds */
  --cream: #f7f6f2;
  --sand: #eee9e0;
  --white: #fff;
  --ink: #343e4b;
  --text: #4a525c;
  --muted: #5d6570;
  --line: rgba(52, 62, 75, 0.14);
  --line-strong: rgba(52, 62, 75, 0.24);
  --line-light: rgba(255, 255, 255, 0.16);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --container: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(72px, 9vw, 136px);
  --header-h: 84px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open,
body:has(dialog[open]) { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
figure { margin: 0; }

h1, h2, h3 {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

h2 { font-size: clamp(2rem, 1.35rem + 2vw, 3.1rem); }

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

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--navy-900);
  color: #fff;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* Eyebrow label — the rule echoes the lines either side of "Construction Ltd." in the logo */
.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 20px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-ink);
}
.kicker::before {
  content: "";
  flex: none;
  width: 32px;
  height: 2px;
  background: var(--teal);
}
.kicker--light { color: var(--teal-soft); }

.lead {
  font-size: clamp(1.2rem, 1.02rem + 0.6vw, 1.5rem);
  line-height: 1.55;
  color: var(--ink);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 24px;
  border: 1px solid var(--navy);
  background: transparent;
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.btn svg { flex: none; width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.btn:hover { background: var(--navy); color: #fff; }
.btn:hover svg { transform: translateX(4px); }

.btn--solid { background: var(--teal); border-color: var(--teal); color: var(--navy-900); }
.btn--solid:hover { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }

.btn--light { border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.btn--light:hover,
.on-dark .btn--solid:hover { background: #fff; border-color: #fff; color: var(--navy-900); }

.btn--sm { padding: 11px 18px; font-size: 0.74rem; }
.btn[disabled] { opacity: 0.6; cursor: wait; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(34, 41, 49, 0.06); }

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}

.header-nav { display: flex; gap: clamp(16px, 1.8vw, 30px); }
.header-nav a {
  position: relative;
  padding-block: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--navy);
}
.header-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.header-nav a:hover::after,
.header-nav a.is-active::after { transform: scaleX(1); }

.brand { display: block; }
.brand img { width: auto; height: 50px; }

.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 22px; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}
.header-phone svg { width: 18px; height: 18px; color: var(--teal-ink); }
.header-phone:hover span { text-decoration: underline; text-underline-offset: 4px; }

.menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  background: transparent;
  cursor: pointer;
}
.menu-toggle span { width: 20px; height: 2px; background: var(--navy); transition: transform 0.3s, opacity 0.3s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  padding: 8px var(--gutter) 28px;
  border-top: 1px solid var(--line);
  background: var(--cream);
}
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
}
.mobile-menu__contact { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 24px; }
.mobile-menu__contact .header-phone { font-size: 1.05rem; }

@media (max-width: 1199px) {
  .header-inner { grid-template-columns: auto 1fr; }
  .header-nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions { gap: 14px; }
}
@media (min-width: 1200px) {
  .mobile-menu { display: none !important; }
}
@media (max-width: 600px) {
  :root { --header-h: 72px; }
  .brand img { height: 40px; }
  .header-actions .header-phone span { display: none; }
  .header-actions .header-phone {
    width: 44px;
    height: 44px;
    justify-content: center;
    border: 1px solid var(--line-strong);
  }
}
@media (max-width: 360px) {
  .brand img { height: 34px; }
  .header-actions .header-phone { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(560px, calc(100svh - var(--header-h)), 940px);
  margin-top: var(--header-h);
  overflow: hidden;
  background: var(--navy-900);
  color: #fff;
}
.hero__media,
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: 50% 45%; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(26, 32, 39, 0.88) 0%, rgba(26, 32, 39, 0.66) 40%, rgba(26, 32, 39, 0.2) 75%, rgba(26, 32, 39, 0.06) 100%),
    linear-gradient(0deg, rgba(26, 32, 39, 0.72) 0%, rgba(26, 32, 39, 0) 50%);
}
.hero__content { position: relative; z-index: 1; padding-block: clamp(56px, 10vh, 120px); }
.hero h1 {
  max-width: 21ch;
  color: #fff;
  font-size: clamp(2.3rem, 1.25rem + 3.3vw, 4.25rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.022em;
}
.hero__sub {
  max-width: 58ch;
  margin: 26px 0 38px;
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.25rem);
  color: rgba(255, 255, 255, 0.88);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__content > * { animation: rise 0.9s var(--ease) both; }
.hero__content > :nth-child(2) { animation-delay: 0.08s; }
.hero__content > :nth-child(3) { animation-delay: 0.16s; }
.hero__content > :nth-child(4) { animation-delay: 0.24s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

@media (max-width: 700px) {
  .hero { min-height: calc(100svh - var(--header-h)); }
  .hero::after {
    background: linear-gradient(0deg, rgba(26, 32, 39, 0.92) 0%, rgba(26, 32, 39, 0.72) 45%, rgba(26, 32, 39, 0.25) 100%);
  }
  .hero__actions .btn { flex: 1 1 100%; justify-content: space-between; }
}

/* ---------- Project-fit band ---------- */
.fit { background: var(--navy-900); color: #fff; }
.fit__grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }
.fit__item { padding: 30px 28px; border-left: 1px solid var(--line-light); }
.fit__item:first-child { padding-left: 0; border-left: 0; }
.fit dt {
  margin-bottom: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-soft);
}
.fit dd { margin: 0; font-size: 1.12rem; font-weight: 500; line-height: 1.35; }

@media (max-width: 899px) {
  .fit__grid { grid-template-columns: 1fr 1fr; }
  .fit__item:nth-child(3) { padding-left: 0; border-left: 0; }
  .fit__item:nth-child(n + 3) { border-top: 1px solid var(--line-light); }
}
@media (max-width: 519px) {
  .fit__grid { grid-template-columns: 1fr; }
  .fit__item { padding: 20px 0; border-left: 0; }
  .fit__item + .fit__item { border-top: 1px solid var(--line-light); }
}

/* ---------- Section heads ---------- */
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { margin-bottom: 18px; }
.section-head__intro { max-width: 60ch; margin: 0; font-size: 1.15rem; }
.section-head--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 24px 64px;
  max-width: none;
}
.section-head--split h2 { margin-bottom: 0; }
@media (max-width: 899px) {
  .section-head--split { grid-template-columns: 1fr; }
}

/* ---------- About ---------- */
.about { overflow: hidden; }
.about::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 44%;
  background: var(--sand);
  clip-path: polygon(46% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}
.about__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}
.about__text h2 { max-width: 17ch; margin-bottom: 28px; }
.about__text .lead { margin-bottom: 18px; }

.statement {
  margin: 0 0 16px;
  font-size: clamp(1.45rem, 1.1rem + 1.1vw, 2.05rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--navy);
}

.who-list { margin: 36px 0 40px; border-top: 1px solid var(--line-strong); }
.who-list li {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-strong);
}
.who-list h3 {
  padding-top: 3px;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-ink);
}
.who-list p { margin: 0; font-size: 1rem; }
@media (max-width: 559px) {
  .who-list li { grid-template-columns: 1fr; gap: 4px; }
}

.about__media { position: relative; z-index: 0; }
.about__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about__media::before {
  content: "";
  position: absolute;
  left: -22px;
  bottom: -22px;
  z-index: -1;
  width: 46%;
  height: 46%;
  background: var(--teal);
}

@media (max-width: 899px) {
  .about::before { width: 100%; height: 38%; top: auto; clip-path: polygon(0 30%, 100% 0, 100% 100%, 0 100%); }
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; margin-left: 22px; }
}

/* ---------- Services ---------- */
.services { background: var(--sand); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3vw, 44px);
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: var(--cream);
}
.service-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.service-card__top svg { width: 40px; height: 40px; color: var(--teal-ink); }
.service-card .service-card__pitch { margin: 0 0 22px; }
.service-card__list { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.service-card__list li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 20px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink);
}
.service-card__list li:last-child { margin-bottom: 0; }
.service-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 10px;
  height: 2px;
  background: var(--teal);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
  margin-top: 40px;
  padding: clamp(26px, 3vw, 40px);
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.82);
}
.cta-row h3 { margin-bottom: 6px; color: #fff; font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.7rem); }
.cta-row p { margin: 0; }
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--teal);
  transition: width 0.45s var(--ease);
}
.service-card:hover::before { width: 100%; }
.service-card__num {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--teal-ink);
}
.service-card h3 { margin-bottom: 12px; font-size: 1.3rem; font-weight: 600; letter-spacing: -0.01em; }
.service-card p { margin: 0; font-size: 1rem; }

@media (max-width: 999px) { .service-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 639px) {
  .service-grid { grid-template-columns: 1fr; }
  .service-card__top { margin-bottom: 20px; }
}

/* ---------- When clients call ---------- */
.calls { background: var(--navy-900); color: rgba(255, 255, 255, 0.8); }
.calls h2 { margin-bottom: 22px; color: #fff; font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); }
.calls__label {
  margin: 6px 0 18px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-soft);
}
.calls__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(40px, 6vw, 96px);
}
.calls__head p { max-width: 44ch; margin-bottom: 32px; }
.calls__list { border-top: 1px solid var(--line-light); }
.calls__list li {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: baseline;
  gap: 16px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-light);
}
.calls__num { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.12em; color: var(--teal); }
.calls__list p { margin: 0; font-size: clamp(1.15rem, 1rem + 0.5vw, 1.45rem); line-height: 1.4; color: #fff; }

@media (max-width: 899px) {
  .calls__grid { grid-template-columns: 1fr; }
  .calls__list li { grid-template-columns: 48px 1fr; }
}

/* ---------- Projects ---------- */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}
.project-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(26, 32, 39, 0) 35%, rgba(26, 32, 39, 0.55) 60%, rgba(26, 32, 39, 0.92) 100%);
}
.project-card:hover img { transform: scale(1.05); }
.project-card:has(.project-card__open:focus-visible) { outline: 2px solid var(--teal); outline-offset: 4px; }

.badge {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 8px 12px;
  background: #fff;
  color: var(--navy);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}
.project-card__body { padding: clamp(22px, 2.4vw, 32px); }
.project-card__type {
  margin-bottom: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-soft);
}
.project-card h3 { margin-bottom: 6px; color: #fff; font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem); }
.project-card__meta { margin-bottom: 18px; font-size: 0.95rem; color: rgba(255, 255, 255, 0.86); }
.project-card__open {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}
.project-card__open:focus-visible { outline: none; }
/* stretch the button over the whole card so the card is one click target */
.project-card__open::before { content: ""; position: absolute; inset: 0; }
.project-card__open svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.project-card:hover .project-card__open svg { transform: translateX(4px); }

@media (max-width: 899px) {
  .project-grid { grid-template-columns: 1fr; }
  .project-card { aspect-ratio: 16 / 11; }
}
@media (max-width: 520px) {
  .project-card { aspect-ratio: 4 / 5; }
}

/* ---------- Project dialog ---------- */
.project-dialog {
  width: min(1120px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  overflow: auto;
  overscroll-behavior: contain;
  background: var(--cream);
  color: var(--text);
}
.project-dialog::backdrop { background: rgba(18, 22, 28, 0.76); }
.project-dialog[open] { animation: dialog-in 0.35s var(--ease); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.dialog__bar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(20px, 3vw, 36px);
  border-bottom: 1px solid var(--line);
  background: rgba(247, 246, 242, 0.97);
}
.dialog__bar .kicker { margin: 0; }
.dialog__close {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  background: none;
  color: var(--navy);
  cursor: pointer;
}
.dialog__close svg { width: 20px; height: 20px; }
.dialog__close:hover { background: var(--navy); color: #fff; }

.dialog__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: clamp(20px, 3vw, 36px) clamp(20px, 3vw, 36px) 0;
}
.dialog__gallery img { width: 100%; height: min(52vh, 500px); object-fit: cover; background: var(--sand); }
.dialog__gallery figcaption { margin-top: 10px; font-size: 0.88rem; color: var(--muted); }

.dialog__body {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 24px 48px;
  padding: clamp(24px, 3vw, 40px) clamp(20px, 3vw, 36px) clamp(28px, 3vw, 44px);
}
.dialog__title h3 { margin-bottom: 8px; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem); }
.dialog__title p { margin: 0; color: var(--muted); }
.dialog__facts { display: grid; gap: 18px; margin: 0; }
.dialog__facts div {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.dialog__facts dt {
  padding-top: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-ink);
}
.dialog__facts dd { margin: 0; color: var(--ink); }

@media (max-width: 760px) {
  .project-dialog { width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; }
  .dialog__gallery, .dialog__body { grid-template-columns: 1fr; }
  .dialog__gallery img { height: auto; }  /* one photo per row on phones: show it uncropped */
  .dialog__facts div { grid-template-columns: 1fr; gap: 6px; }
}

/* ---------- Why Metrotech ---------- */
.why__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 24px 64px;
  margin-bottom: clamp(48px, 6vw, 72px);
}
.why__head h2 { margin: 0; }
.why__head .statement { margin-bottom: 12px; }
.why__head p:last-child { margin: 0; font-size: 1.1rem; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px clamp(24px, 3vw, 40px); }
.why-item { padding-top: 28px; border-top: 2px solid var(--navy); }
.why-item svg { width: 36px; height: 36px; margin-bottom: 22px; color: var(--teal-ink); }
.why-item h3 { margin-bottom: 12px; font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; }
.why-item p { margin: 0; font-size: 1rem; }

@media (max-width: 999px) {
  .why__head { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; row-gap: 48px; }
}
@media (max-width: 599px) { .why-grid { grid-template-columns: 1fr; row-gap: 40px; } }

/* ---------- Process ---------- */
.process { background: var(--sand); }
.process-steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.process-steps::before {  /* the line joining the step numbers */
  content: "";
  position: absolute;
  top: 23px;
  left: 24px;
  right: 24px;
  height: 2px;
  background: var(--line-strong);
}
.process-step { position: relative; }
.process-step__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  border: 2px solid var(--teal);
  border-radius: 50%;
  background: var(--sand);
  color: var(--teal-ink);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.process-step h3 { margin-bottom: 10px; font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }
.process-step p { margin: 0; font-size: 0.98rem; }

@media (max-width: 999px) {
  .process-steps { grid-template-columns: 1fr; gap: 0; }
  .process-steps::before { top: 24px; bottom: 24px; left: 23px; right: auto; width: 2px; height: auto; }
  .process-step { display: grid; grid-template-columns: 48px 1fr; gap: 0 24px; padding-bottom: 36px; }
  .process-step:last-child { padding-bottom: 0; }
  .process-step__num { grid-row: span 2; margin-bottom: 0; }
  .process-step h3 { padding-top: 11px; }
}

/* ---------- FAQ ---------- */
.faq { background: var(--sand); }
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(40px, 6vw, 96px);
}
.faq__head h2 { margin-bottom: 20px; }
.faq__head p { margin-bottom: 28px; font-size: 1.1rem; }
.faq__head p a { color: var(--navy); font-weight: 600; }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-list details { border-bottom: 1px solid var(--line-strong); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  list-style: none;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {  /* plus sign that becomes a minus when open */
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(var(--teal-ink), var(--teal-ink)) center / 100% 2px no-repeat,
    linear-gradient(var(--teal-ink), var(--teal-ink)) center / 2px 100% no-repeat;
}
.faq-list details[open] summary::after {
  background:
    linear-gradient(var(--teal-ink), var(--teal-ink)) center / 100% 2px no-repeat;
}
.faq-list summary:hover { color: var(--teal-ink); }
.faq-answer { max-width: 64ch; padding: 0 0 24px; }
.faq-answer p { margin: 0; }

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

/* ---------- Principal's experience ---------- */
.experience { background: var(--navy-900); color: rgba(255, 255, 255, 0.8); }
.experience h2 { color: #fff; }
.experience .section-head__intro { color: rgba(255, 255, 255, 0.8); }
.exp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.exp-card { display: flex; flex-direction: column; border: 1px solid var(--line-light); background: var(--navy-800); }
.exp-card__media { position: relative; }
.exp-card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.exp-card__media figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 5px 9px;
  background: rgba(26, 32, 39, 0.8);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.exp-card__body { padding: clamp(24px, 2.8vw, 40px); }
.exp-card h3 { margin-bottom: 6px; color: #fff; font-size: 1.6rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.exp-card__addr { margin-bottom: 22px; font-size: 0.95rem; color: var(--teal-soft); }
.exp-card li { position: relative; margin-bottom: 10px; padding-left: 22px; font-size: 0.98rem; line-height: 1.5; color: rgba(255, 255, 255, 0.84); }
.exp-card li::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 10px; height: 2px; background: var(--teal); }
.exp-note { max-width: 80ch; margin: 32px 0 0; font-size: 0.92rem; color: rgba(255, 255, 255, 0.66); }

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

/* ---------- Credentials band ---------- */
.credentials { background: var(--teal); color: var(--navy-900); }
.credentials__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px 64px;
  padding-block: 40px;
}
.credentials__title {
  color: var(--navy-900);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.credentials__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.credentials__list li { display: flex; align-items: center; gap: 14px; }
.credentials__list svg { flex: none; width: 34px; height: 34px; }
.credentials__list strong { display: block; font-size: 1.05rem; font-weight: 700; line-height: 1.3; }
.credentials__list span { font-size: 0.92rem; }

@media (max-width: 999px) {
  .credentials__inner { grid-template-columns: 1fr; }
}
@media (max-width: 719px) {
  .credentials__list { grid-template-columns: 1fr; gap: 18px; }
}

/* ---------- Contact ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(40px, 6vw, 96px);
}
.contact__info h2 { margin-bottom: 24px; }
.contact__list { margin-top: 36px; border-top: 1px solid var(--line-strong); }
.contact__list li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
}
.contact__label {
  padding-top: 3px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact__list a { font-weight: 600; color: var(--navy); text-decoration: none; overflow-wrap: anywhere; }
.contact__list a:hover { text-decoration: underline; text-underline-offset: 4px; }

.contact-form { padding: clamp(24px, 3.4vw, 48px); border: 1px solid var(--line); background: #fff; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field > span {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(52, 62, 75, 0.28);
  border-radius: 0;
  background: var(--cream);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.field select {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23343e4b' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(0, 167, 176, 0.2);
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 8px; }
.form-foot small { font-size: 0.85rem; color: var(--muted); }
.form-status { margin: 16px 0 0; font-size: 0.98rem; }
.form-status:empty { display: none; }
.form-status.is-success { padding: 14px 16px; background: #e6f6f3; color: #14584f; }
.form-status.is-info { padding: 14px 16px; background: var(--sand); color: var(--ink); }

@media (max-width: 899px) {
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 559px) {
  .form-row { grid-template-columns: 1fr; }
  .contact__list li { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- Footer ---------- */
.site-footer { padding-top: clamp(56px, 7vw, 96px); background: var(--navy-900); color: rgba(255, 255, 255, 0.72); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 56px; }
.footer-brand img { width: 190px; margin-bottom: 22px; }
.footer-brand p { max-width: 36ch; margin: 0; font-size: 0.95rem; }
.footer-col h3 {
  margin-bottom: 18px;
  color: var(--teal-soft);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.footer-col li { margin-bottom: 10px; font-size: 0.95rem; }
.footer-col a,
.footer-col button {
  padding: 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.95rem;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.footer-col a:hover,
.footer-col button:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { border-top: 1px solid var(--line-light); font-size: 0.85rem; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; padding-block: 24px 32px; }
.footer-bottom p { margin: 0; }

@media (max-width: 999px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 519px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Scroll reveal (only when JS is running) ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

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