:root {
  --ink: #0a1628;
  --muted: #536174;
  --paper: #f5f0e8;
  --paper-deep: #ebe2d4;
  --charcoal: #0a1628;
  --charcoal-soft: #10213a;
  --line: rgba(10, 22, 40, 0.13);
  --gold: #c9a84c;
  --blue: #0b6fa8;
  --green: #0d2537;
  --cream: #f5f0e8;
  --card: #ffffff;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(10, 22, 40, 0.16);
  --header-height: 78px;
  --section-gutter: max(clamp(20px, 6vw, 92px), calc((100vw - 1200px) / 2));
  --header-gutter: max(clamp(18px, 3.5vw, 64px), calc((100vw - 1200px) / 2));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 24px);
  height: var(--header-height);
  padding: 10px var(--header-gutter);
  border-bottom: 1px solid rgba(21, 21, 21, 0.1);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 28px rgba(16, 47, 63, 0.06);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  min-width: clamp(220px, 20vw, 288px);
  width: clamp(220px, 20vw, 288px);
  height: 68px;
  overflow: visible;
}

.brand-mark {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  flex: 0 0 auto;
  width: 82px;
  height: 46px;
  overflow: hidden;
}

.brand-mark img {
  display: block;
  width: auto;
  max-width: none;
  height: 72px;
  object-fit: contain;
}

.brand-wordmark {
  display: grid;
  gap: 3px;
  line-height: 1;
  color: rgb(7, 109, 107);
  transform: translateY(1px);
}

.brand-wordmark strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 1.8px;
}

.brand-wordmark span {
  color: rgb(139, 155, 138);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 4.4px;
  text-transform: uppercase;
}

.nav {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.7vw, 28px);
  color: rgba(21, 21, 21, 0.72);
  font-size: clamp(14px, 1.2vw, 16px);
  font-weight: 500;
  white-space: nowrap;
}

.nav a,
.nav-cta {
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav a {
  position: relative;
  padding: 9px 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav a:hover {
  color: var(--ink);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.nav a.is-active {
  color: var(--ink);
}

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

.nav-cta {
  flex: 0 0 auto;
  padding: 9px 0;
  border-bottom: 2px solid var(--gold);
  color: var(--ink);
  background: transparent;
  font-size: clamp(12px, 1.1vw, 14px);
  font-weight: 800;
}

.nav-cta:hover {
  color: var(--blue);
  transform: translateY(-1px);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(21, 21, 21, 0.18);
  background: transparent;
  color: var(--blue);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 6px auto;
  background: currentColor;
}

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: clamp(28px, 5vw, 72px);
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(80px, 10vw, 150px) var(--section-gutter) 72px;
  padding-top: calc(var(--header-height) + env(safe-area-inset-top, 0px) + clamp(64px, 8vw, 110px));
  color: var(--white);
  background: var(--green);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(10, 22, 40, 0.96) 0%, rgba(10, 22, 40, 0.82) 42%, rgba(10, 22, 40, 0.48) 100%),
    linear-gradient(180deg, rgba(10, 22, 40, 0.18), rgba(10, 22, 40, 0.72)),
    url("https://images.pexels.com/photos/5414583/pexels-photo-5414583.jpeg?auto=compress&cs=tinysrgb&w=1800");
  background-position: center;
  background-size: cover;
  filter: saturate(0.92) contrast(1.12) brightness(0.9);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 0;
  height: 36%;
  background: linear-gradient(0deg, rgba(10, 22, 40, 0.9), transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 950px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 38px;
  height: 2px;
  background: var(--gold);
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 2px;
  background: var(--gold);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.03;
}

h1 {
  max-width: 980px;
  margin-bottom: 26px;
  font-size: clamp(48px, 7vw, 96px);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 64px);
}

h3 {
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.25;
}

.hero-copy {
  max-width: 740px;
  color: rgba(255, 250, 241, 0.78);
  font-size: clamp(17px, 2vw, 22px);
}

.hero .eyebrow,
.detail-section .eyebrow,
.focus-section .eyebrow,
.contact-section .eyebrow {
  color: var(--gold);
}

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

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 48px;
  padding: 0 24px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 0;
  color: inherit;
  background: transparent;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-align: center;
  text-transform: none;
  cursor: pointer;
  box-shadow: none;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

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

.button.primary {
  color: var(--cream);
  background: var(--green);
  border-color: var(--green);
}

.button.primary:hover {
  color: var(--cream);
  background: #142744;
  border-color: #142744;
}

.button.secondary {
  color: var(--gold);
  background: transparent;
  border-color: var(--gold);
}

.button.secondary:hover {
  color: var(--gold);
  background: rgba(201, 168, 76, 0.09);
  border-color: var(--gold);
}

.button.dark {
  color: var(--gold);
  background: transparent;
  border-color: var(--gold);
}

.button.dark:hover {
  color: var(--green);
  background: rgba(201, 168, 76, 0.09);
  border-color: var(--gold);
}

.inline-cta {
  margin-top: 32px;
}

.text-link {
  display: inline-flex;
  align-self: flex-start;
  width: fit-content;
  max-width: 100%;
  margin-top: 22px;
  color: var(--ink);
  font-weight: 900;
  border-bottom: 2px solid var(--gold);
}

.text-link.light,
.hero .text-link,
.cta-band .text-link {
  color: var(--white);
}

.text-link.muted-link {
  color: var(--gold);
}

.hero-actions .text-link {
  margin-top: 0;
}

.text-link:hover {
  color: var(--gold);
}

.hero-panel {
  position: relative;
  z-index: 1;
  align-self: end;
  padding: 28px;
  border: 1px solid rgba(255, 250, 241, 0.14);
  background: rgba(255, 250, 241, 0.07);
  box-shadow: var(--shadow);
}

.hero-panel > p {
  margin-bottom: 28px;
  color: var(--white);
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1.2;
}

.metric-grid {
  display: grid;
  gap: 18px;
}

.metric-grid div {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 250, 241, 0.14);
}

.metric-grid strong {
  display: block;
  color: var(--gold);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 34px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.metric-grid span {
  display: block;
  max-width: 260px;
  margin-top: 7px;
  color: rgba(255, 250, 241, 0.68);
  font-size: 14px;
}

.credentials-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  background: rgba(255, 255, 255, 0.18);
}

.credentials-strip.credentials-six {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.credentials-strip div {
  padding: 24px clamp(20px, 4vw, 38px);
  background: var(--green);
}

.credentials-strip strong {
  display: block;
  color: var(--gold);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(24px, 2.6vw, 38px);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.credentials-strip span {
  display: block;
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.count-up.count-ready {
  opacity: 0;
  filter: blur(3px);
  transform: translateY(12px);
  transition: opacity 560ms ease, filter 560ms ease, transform 560ms cubic-bezier(0.16, 1, 0.3, 1);
}

.count-up.is-revealed {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: calc(var(--header-height) + clamp(68px, 9vw, 130px)) var(--section-gutter) clamp(60px, 8vw, 110px);
  color: var(--white);
  background: var(--charcoal);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: -10%;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(10, 22, 40, 0.97), rgba(10, 22, 40, 0.82) 48%, rgba(10, 22, 40, 0.52)),
    linear-gradient(180deg, rgba(10, 22, 40, 0.14), rgba(10, 22, 40, 0.76)),
    var(--page-hero-image, linear-gradient(135deg, #0a1628, #10213a));
  background-position: var(--page-hero-position, center);
  background-size: cover;
  filter: saturate(0.96) contrast(1.08);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 42%;
  background: linear-gradient(0deg, rgba(10, 22, 40, 0.88), transparent);
  pointer-events: none;
}

.page-hero.no-image {
  color: var(--ink);
  background: var(--paper);
}

.page-hero.no-image::before,
.page-hero.no-image::after {
  display: none;
}

.page-hero.no-image > p:last-child {
  color: var(--muted);
}

.page-hero h1 {
  max-width: 1040px;
  margin-bottom: 24px;
  font-size: clamp(44px, 6vw, 86px);
}

.page-hero > p:last-child {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 250, 241, 0.78);
  font-size: clamp(18px, 2vw, 23px);
}

.intro-band,
.section,
.project-section,
.detail-section,
.team-section,
.outcomes-section,
.focus-section,
.process-section,
.contact-section {
  padding: clamp(70px, 9vw, 120px) var(--section-gutter);
}

.intro-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 6vw, 90px);
  align-items: end;
  border-bottom: 1px solid var(--line);
  background: var(--paper-deep);
}

.intro-band p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.32fr) minmax(0, 0.68fr);
  gap: clamp(24px, 5vw, 70px);
  margin-bottom: 48px;
}

.section-heading.compact {
  max-width: 940px;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.summary-grid article {
  min-height: 250px;
  padding: clamp(24px, 3vw, 34px);
  background: var(--card);
}

.summary-grid span {
  display: block;
  margin-bottom: 34px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.summary-grid p {
  color: var(--muted);
}

.pillar-grid,
.vision-mission-grid,
.principle-grid,
.why-grid,
.mandate-preview-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.pillar-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pillar-tile,
.vision-mission-grid article,
.principle-grid article,
.why-grid article,
.mandate-preview-card {
  min-height: 260px;
  padding: clamp(24px, 3vw, 34px);
  background: var(--card);
}

.pillar-tile {
  display: block;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.pillar-tile:hover {
  z-index: 1;
  transform: translateY(-5px);
  background: var(--card);
  box-shadow: 0 22px 48px rgba(10, 22, 40, 0.12);
}

.pillar-tile span,
.mandate-preview-card span,
.vision-mission-grid span,
.principle-grid span {
  display: block;
  margin-bottom: 30px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.pillar-tile p,
.mandate-preview-card p,
.vision-mission-grid p,
.principle-grid p,
.why-grid p {
  color: var(--muted);
}

.mandate-preview-grid {
  grid-template-columns: minmax(0, 1.16fr) minmax(300px, 0.84fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 18px;
  background: transparent;
  border: 0;
}

.mandate-preview-card {
  min-height: 230px;
  border: 1px solid rgba(10, 22, 40, 0.13);
  border-left: 4px solid rgba(201, 168, 76, 0.78);
  box-shadow: 0 16px 34px rgba(10, 22, 40, 0.06);
}

.mandate-preview-card-featured {
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 500px;
  padding: clamp(30px, 4vw, 48px);
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(7, 16, 29, 0.9), rgba(7, 16, 29, 0.68)),
    url("https://images.pexels.com/photos/323705/pexels-photo-323705.jpeg?auto=compress&cs=tinysrgb&w=1200") center/cover;
}

.mandate-preview-card-featured h3 {
  max-width: 560px;
  color: var(--white);
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.02;
}

.mandate-preview-card-featured p {
  max-width: 580px;
  color: rgba(255, 250, 241, 0.78);
}

.vision-mission-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vision-mission-grid,
.principle-grid {
  gap: 18px;
  background: transparent;
  border: 0;
}

.vision-mission-grid article,
.principle-grid article,
.why-grid article {
  position: relative;
  border: 1px solid rgba(10, 22, 40, 0.12);
  border-left: 4px solid rgba(201, 168, 76, 0.78);
  box-shadow: 0 14px 34px rgba(10, 22, 40, 0.055);
}

.vision-mission-grid article::before,
.principle-grid article::before,
.why-grid article::before {
  content: "";
  position: absolute;
  inset: 18px 18px auto auto;
  width: 36px;
  height: 36px;
  border-top: 1px solid rgba(201, 168, 76, 0.5);
  border-right: 1px solid rgba(201, 168, 76, 0.5);
  pointer-events: none;
}

.vision-mission-grid article {
  min-height: 250px;
}

.vision-mission-grid p {
  max-width: 620px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(17px, 1.35vw, 20px);
  font-weight: 500;
  line-height: 1.72;
  letter-spacing: 0;
}

.principle-grid,
.why-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.principle-grid article,
.why-grid article {
  min-height: 285px;
}

.principle-grid h3,
.why-grid h3 {
  max-width: 92%;
  margin-bottom: 16px;
  font-size: clamp(23px, 2vw, 30px);
  line-height: 1.1;
}

.why-grid {
  gap: 18px;
  background: transparent;
  border: 0;
}

.why-grid article,
.cluster-list article {
  border-left: 4px solid var(--gold);
  background: var(--card);
}

.scale-section {
  padding: clamp(70px, 9vw, 120px) var(--section-gutter);
  background: var(--green);
  color: var(--white);
}

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

.scale-section .credentials-strip {
  gap: 18px;
  border: 0;
  background: transparent;
}

.scale-section .credentials-strip div {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 4px solid var(--gold);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.12);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  background: transparent;
  border: 0;
}

.case-card {
  position: relative;
  min-height: 315px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(10, 22, 40, 0.12);
  border-left: 4px solid rgba(201, 168, 76, 0.78);
  background: var(--card);
  box-shadow: 0 14px 34px rgba(10, 22, 40, 0.055);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.case-card::before {
  content: "";
  position: absolute;
  inset: 18px 18px auto auto;
  width: 36px;
  height: 36px;
  border-top: 1px solid rgba(201, 168, 76, 0.5);
  border-right: 1px solid rgba(201, 168, 76, 0.5);
  pointer-events: none;
}

.case-card:hover {
  z-index: 1;
  transform: translateY(-6px);
  border-color: rgba(201, 168, 76, 0.46);
  box-shadow: 0 24px 54px rgba(10, 22, 40, 0.12);
}

.case-card.featured {
  grid-column: span 2;
  color: var(--white);
  background:
    linear-gradient(140deg, rgba(10, 22, 40, 0.96), rgba(16, 33, 58, 0.78)),
    url("https://images.pexels.com/photos/34480694/pexels-photo-34480694.jpeg?auto=compress&cs=tinysrgb&w=1800");
  background-position: center;
  background-size: cover;
}

.case-card.featured h3 {
  max-width: 720px;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 600;
  line-height: 1.03;
}

.case-card p {
  color: var(--muted);
}

.case-card h3 {
  max-width: 92%;
  margin-bottom: 16px;
  font-size: clamp(24px, 2.1vw, 32px);
  line-height: 1.08;
}

.case-card.featured p {
  max-width: 760px;
  color: rgba(255, 250, 241, 0.78);
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 26px;
}

.case-meta span {
  padding: 0;
  border: 0;
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case-meta span + span::before {
  content: "/";
  margin-right: 9px;
  color: rgba(10, 22, 40, 0.28);
}

.case-card.featured .case-meta span {
  border-color: rgba(255, 250, 241, 0.18);
}

.feature-trophy {
  min-height: 460px;
  padding: clamp(34px, 5vw, 60px);
  border: 1px solid rgba(201, 168, 76, 0.34);
  border-left: 5px solid var(--gold);
  color: var(--white);
  background:
    linear-gradient(125deg, rgba(10, 22, 40, 0.98) 0%, rgba(10, 22, 40, 0.9) 54%, rgba(10, 22, 40, 0.62) 100%),
    url("https://images.pexels.com/photos/34480694/pexels-photo-34480694.jpeg?auto=compress&cs=tinysrgb&w=1800");
  background-position: center;
  background-size: cover;
  box-shadow: 0 28px 70px rgba(10, 22, 40, 0.2);
}

.feature-trophy::before {
  width: 64px;
  height: 64px;
  border-color: rgba(201, 168, 76, 0.8);
}

.feature-trophy h3 {
  max-width: 980px;
  color: var(--gold);
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 72px);
  font-weight: 600;
  line-height: 1.02;
}

.feature-trophy p {
  max-width: 860px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(16px, 1.4vw, 19px);
}

.feature-trophy .case-meta span {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--gold);
}

.feature-trophy .case-meta span + span::before {
  color: rgba(255, 255, 255, 0.34);
}

.track-grid-section {
  padding-top: clamp(58px, 7vw, 92px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 30%),
    var(--paper);
}

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

.mandate-grid .case-card {
  min-height: 340px;
}

.case-card.is-hidden {
  display: none;
}

.complexity-line {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(10, 22, 40, 0.12);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.45;
}

.feature-trophy .complexity-line {
  border-top-color: rgba(255, 255, 255, 0.18);
  color: var(--gold);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -18px 0 34px;
}

.filter-button {
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid rgba(10, 22, 40, 0.16);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.filter-button.is-active,
.filter-button:hover {
  border-color: var(--ink);
  color: var(--white);
  background: var(--ink);
  transform: translateY(-1px);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  border: 0;
}

.service-pillar {
  border-top: 1px solid var(--line);
}

.service-grid.grouped {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-grid.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-grid > .service-card:only-child {
  grid-column: 1 / -1;
}

.service-card {
  position: relative;
  min-height: 255px;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid rgba(10, 22, 40, 0.12);
  border-left: 4px solid rgba(201, 168, 76, 0.78);
  background: var(--card);
  box-shadow: 0 14px 34px rgba(10, 22, 40, 0.055);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 18px 18px auto auto;
  width: 36px;
  height: 36px;
  border-top: 1px solid rgba(201, 168, 76, 0.5);
  border-right: 1px solid rgba(201, 168, 76, 0.5);
  pointer-events: none;
}

.service-card:hover {
  z-index: 1;
  transform: translateY(-6px);
  border-color: rgba(201, 168, 76, 0.46);
  background: var(--card);
  box-shadow: 0 24px 54px rgba(10, 22, 40, 0.12);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  border: 1px solid rgba(201, 168, 76, 0.6);
  color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
}

.service-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-number,
.process-grid span {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-card h3 {
  max-width: 92%;
  margin-bottom: 16px;
  font-size: clamp(24px, 2.1vw, 32px);
  line-height: 1.08;
}

.service-card p,
.project-card p,
.team-card p,
.process-grid p,
.focus-copy p,
.contact-section p,
.accordion-panel p {
  color: var(--muted);
}

.emi-section {
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(235, 226, 212, 0.38)),
    var(--paper);
}

.emi-section h2 {
  color: var(--ink);
}

.emi-calculator {
  --interest-share: 38%;
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(360px, 1.08fr);
  gap: 18px;
  min-width: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.emi-calculator::before {
  display: none;
}

.emi-input-panel,
.emi-result-panel,
.emi-table-panel {
  min-width: 0;
  border: 1px solid rgba(10, 22, 40, 0.12);
  box-shadow: 0 18px 46px rgba(10, 22, 40, 0.08);
}

.emi-input-panel {
  display: grid;
  gap: 24px;
  padding: clamp(24px, 3vw, 34px);
  background: var(--card);
}

.emi-input-panel label {
  display: grid;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.number-field {
  display: flex;
  align-items: center;
  min-height: 54px;
  border: 1px solid rgba(10, 22, 40, 0.14);
  background: #fbf8f2;
  box-shadow: inset 0 -2px 0 rgba(201, 168, 76, 0.18);
}

.number-field span {
  display: inline-flex;
  align-items: center;
  align-self: stretch;
  padding: 0 16px;
  border-right: 1px solid rgba(10, 22, 40, 0.1);
  color: var(--gold);
  font-weight: 900;
  white-space: nowrap;
}

.number-field span:last-child {
  border-right: 0;
  border-left: 1px solid rgba(10, 22, 40, 0.1);
}

.number-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  padding: 14px 16px;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 17px;
  font-weight: 900;
}

.number-field input:focus {
  outline: 0;
}

.emi-input-panel input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  margin: 0;
  border-radius: 999px;
  accent-color: var(--gold);
  background: transparent;
  cursor: pointer;
}

.emi-input-panel input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(201, 168, 76, 0.76), rgba(10, 22, 40, 0.12));
}

.emi-input-panel input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  margin-top: -6px;
  border: 3px solid var(--card);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 6px 18px rgba(10, 22, 40, 0.22);
}

.emi-input-panel input[type="range"]::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(201, 168, 76, 0.76), rgba(10, 22, 40, 0.12));
}

.emi-input-panel input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 3px solid var(--card);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 6px 18px rgba(10, 22, 40, 0.22);
}

.emi-result-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding: clamp(28px, 4vw, 46px);
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(201, 168, 76, 0.12), transparent 32%),
    linear-gradient(145deg, rgba(10, 22, 40, 0.98), rgba(13, 37, 55, 0.98));
}

.emi-result-panel::before {
  content: "";
  position: absolute;
  inset: auto 28px 28px auto;
  width: 140px;
  height: 1px;
  background: var(--gold);
  opacity: 0.55;
  pointer-events: none;
}

.result-label {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.emi-result-panel > strong {
  display: block;
  color: var(--gold);
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 7vw, 78px);
  font-weight: 700;
  line-height: 1;
}

.emi-split {
  display: flex;
  height: 10px;
  margin: 28px 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

.emi-split .principal {
  width: calc(100% - var(--interest-share));
  background: var(--gold);
}

.emi-split .interest {
  width: var(--interest-share);
  background: rgba(255, 255, 255, 0.48);
}

.emi-result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: transparent;
}

.emi-result-grid div {
  padding: 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.055);
}

.emi-result-grid span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.emi-result-grid strong {
  color: var(--white);
  font-size: clamp(16px, 1.5vw, 20px);
}

.emi-note {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
}

.emi-table-panel {
  grid-column: 1 / -1;
  padding: clamp(22px, 3vw, 32px);
  background: #fbf8f2;
}

.emi-table-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.emi-table-head h3 {
  margin: 0;
  color: var(--ink);
}

.segmented-control {
  display: inline-flex;
  padding: 3px;
  border: 1px solid rgba(10, 22, 40, 0.12);
  background: var(--card);
}

.segmented-control button {
  min-height: 36px;
  border: 0;
  padding: 8px 14px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.segmented-control button.is-active {
  color: var(--white);
  background: var(--ink);
}

.emi-table-wrap {
  min-width: 0;
  max-height: 340px;
  overflow: auto;
  border: 1px solid rgba(10, 22, 40, 0.1);
  background: var(--card);
}

.emi-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.emi-table-wrap th,
.emi-table-wrap td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(10, 22, 40, 0.08);
  text-align: left;
}

.emi-table-wrap th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: var(--gold);
  background: #f3eee5;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.emi-table-wrap td {
  color: var(--ink);
}

.emi-table-wrap tbody tr:hover {
  background: rgba(201, 168, 76, 0.08);
}

.project-section {
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.project-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

.project-card {
  min-height: 245px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  background: rgba(246, 241, 232, 0.68);
}

.project-card.featured {
  grid-row: span 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 560px;
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(10, 22, 40, 0.94), rgba(16, 33, 58, 0.78)),
    url("https://images.pexels.com/photos/34480694/pexels-photo-34480694.jpeg?auto=compress&cs=tinysrgb&w=1800");
  background-position: center;
  background-size: cover;
  border-color: rgba(245, 155, 35, 0.34);
}

.project-card.featured p {
  max-width: 640px;
  color: rgba(255, 250, 241, 0.72);
  font-size: 18px;
}

.project-card.featured h3 {
  max-width: 620px;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 500;
  line-height: 1.05;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.project-meta span {
  padding: 8px 10px;
  border: 1px solid rgba(21, 21, 21, 0.12);
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.featured .project-meta span {
  border-color: rgba(255, 250, 241, 0.18);
  color: var(--gold);
}

.project-card dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 42px 0 0;
  background: rgba(255, 250, 241, 0.16);
}

.project-card dl div {
  padding: 18px;
  background: rgba(255, 250, 241, 0.08);
}

.project-card dt {
  color: rgba(255, 250, 241, 0.56);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-card dd {
  margin: 6px 0 0;
  color: var(--white);
  font-weight: 700;
}

.detail-section {
  color: var(--white);
  background: var(--charcoal);
}

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

.accordion {
  border-top: 1px solid rgba(255, 250, 241, 0.16);
}

.accordion-trigger {
  width: 100%;
  min-height: 74px;
  padding: 20px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 250, 241, 0.16);
  color: var(--white);
  background: transparent;
  font: inherit;
  font-size: clamp(21px, 3vw, 34px);
  text-align: left;
  cursor: pointer;
}

.accordion-trigger::after {
  content: "+";
  float: right;
  color: var(--gold);
}

.accordion-trigger.is-open::after {
  content: "-";
}

.accordion-panel {
  display: none;
  max-width: 900px;
  padding: 24px 0 34px;
}

.detail-section .accordion-panel p {
  color: rgba(255, 250, 241, 0.86);
  font-size: 17px;
  line-height: 1.7;
}

.accordion-panel.is-open {
  display: block;
}

.team-section {
  background: var(--paper);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  background: transparent;
  border: 0;
}

.team-card {
  position: relative;
  padding: 28px;
  border: 1px solid rgba(10, 22, 40, 0.14);
  background: var(--card);
  box-shadow: 0 16px 36px rgba(10, 22, 40, 0.06);
}

.team-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), rgba(201, 168, 76, 0));
}

.team-grid.detailed {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.team-grid.detailed .team-card {
  min-height: 420px;
  background: var(--card);
}

.role-tag {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.credential-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.team-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 22px;
}

.team-contact a {
  color: var(--ink);
  font-weight: 900;
  border-bottom: 2px solid var(--gold);
}

.outcomes-section {
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.outcomes-grid article {
  min-height: 270px;
  padding: clamp(24px, 3vw, 34px);
  background: var(--card);
}

.outcomes-grid span {
  display: block;
  margin-bottom: 34px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.outcomes-grid p {
  color: var(--muted);
}

.track-carousel {
  border: 1px solid var(--line);
  background: var(--charcoal);
  box-shadow: 0 28px 74px rgba(10, 22, 40, 0.12);
}

.track-slides {
  min-height: 390px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(10, 22, 40, 0.98), rgba(16, 33, 58, 0.94)),
    radial-gradient(circle at 86% 10%, rgba(201, 168, 76, 0.16), transparent 34%);
}

.track-slide {
  position: relative;
  display: none;
  min-height: 390px;
  align-content: center;
  padding: clamp(30px, 5vw, 64px) clamp(30px, 7vw, 96px);
}

.track-slide::before {
  content: attr(data-index);
  position: absolute;
  top: clamp(30px, 4vw, 48px);
  right: clamp(30px, 5vw, 70px);
  color: rgba(255, 250, 241, 0.12);
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(78px, 12vw, 150px);
  font-weight: 600;
  line-height: 0.75;
}

.track-slide.is-active {
  display: grid;
}

.track-slide span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 26px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(201, 168, 76, 0.72);
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.track-slide h3 {
  max-width: 850px;
  margin-bottom: 20px;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 72px);
  font-weight: 600;
  line-height: 1.03;
}

.track-slide p {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 250, 241, 0.78);
  font-size: clamp(17px, 2vw, 21px);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(20px, 4vw, 34px);
  border-top: 1px solid rgba(255, 250, 241, 0.12);
  background: rgba(255, 250, 241, 0.035);
}

.carousel-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 250, 241, 0.18);
  color: var(--white);
  background: transparent;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease, background 180ms ease;
}

.carousel-arrow span {
  display: block;
  margin-top: -2px;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 32px;
  line-height: 1;
}

.carousel-arrow:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
  transform: translateY(-1px);
}

.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.carousel-dot {
  width: 38px;
  height: 2px;
  padding: 0;
  border: 0;
  background: rgba(255, 250, 241, 0.24);
  cursor: pointer;
  transition: background 180ms ease, width 180ms ease;
}

.carousel-dot.is-active {
  width: 58px;
  background: var(--gold);
}

.portrait {
  position: relative;
  display: block;
  width: 112px;
  height: 132px;
  margin-bottom: 28px;
  overflow: hidden;
  border: 1px solid rgba(201, 168, 76, 0.72);
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 12px 28px rgba(10, 22, 40, 0.16);
  background:
    radial-gradient(circle at 50% 32%, rgba(255, 255, 255, 0.22) 0 14px, transparent 15px),
    radial-gradient(ellipse at 50% 102%, rgba(255, 255, 255, 0.22) 0 42px, transparent 43px),
    linear-gradient(145deg, #0a1628, #132743);
}

.portrait::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px;
  height: 1px;
  background: rgba(201, 168, 76, 0.75);
}

img.portrait {
  padding: 4px;
  background: var(--paper);
}

img.portrait::after {
  display: none;
}

.focus-section {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  background: var(--green);
  color: var(--white);
}

.serve-section {
  align-items: start;
}

.focus-copy p {
  max-width: 620px;
  color: rgba(255, 250, 241, 0.7);
  font-size: 18px;
}

.focus-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.focus-list span {
  padding: 13px 16px;
  border: 1px solid rgba(255, 250, 241, 0.18);
  color: rgba(255, 250, 241, 0.86);
  background: rgba(255, 250, 241, 0.06);
}

.focus-list.light span {
  border-color: var(--line);
  color: var(--ink);
  background: var(--card);
}

.sector-tag-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 30px;
}

.sector-tag-grid span {
  display: grid;
  min-height: 58px;
  place-items: center;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.cluster-list {
  display: grid;
  gap: 16px;
}

.cluster-list article {
  padding: 22px 24px;
  color: var(--ink);
}

.cluster-list h3 {
  margin-bottom: 8px;
}

.cluster-list p {
  margin: 0;
  color: var(--muted);
}

.sector-section {
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 38px;
  background: var(--line);
  border: 1px solid var(--line);
}

.process-grid div {
  min-height: 250px;
  padding: 30px;
  background: var(--paper);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(56px, 7vw, 92px) var(--section-gutter);
  color: var(--white);
  background: var(--charcoal);
}

.cta-band h2 {
  max-width: 850px;
}

.cta-band .eyebrow {
  margin-bottom: 18px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: clamp(28px, 6vw, 90px);
  color: var(--ink);
  border-top: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.44), rgba(235, 226, 212, 0.52)),
    var(--paper);
}

.contact-section h2 {
  max-width: 900px;
  margin-bottom: 28px;
  color: var(--ink);
}

.contact-section .section-kicker {
  color: var(--gold);
}

.contact-copy > p:not(.section-kicker) {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.contact-card {
  max-width: 440px;
  margin-top: 34px;
  padding: 30px;
  border: 1px solid rgba(10, 22, 40, 0.12);
  background: var(--card);
  box-shadow: 0 18px 42px rgba(10, 22, 40, 0.08);
}

.contact-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.contact-card.person-card {
  max-width: none;
  margin: 0;
  border-left: 4px solid var(--gold);
  background: var(--card);
}

.contact-card.person-card h3 {
  color: var(--ink);
}

.contact-card .role-tag {
  color: var(--gold);
}

.contact-card a,
.contact-card p {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
}

.contact-card a {
  width: fit-content;
  color: var(--ink);
  font-weight: 800;
  border-bottom: 1px solid rgba(201, 168, 76, 0.64);
}

.contact-card a:hover {
  color: var(--blue);
}

.contact-card hr {
  margin: 24px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.office-line {
  max-width: 640px;
  margin-top: 22px;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
}

.office-line p,
.office-line a {
  display: block;
  margin: 0 0 8px;
  color: var(--muted);
}

.office-line a {
  width: fit-content;
  color: var(--ink);
  font-weight: 900;
  border-bottom: 2px solid var(--gold);
}

.inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(10, 22, 40, 0.12);
  background: var(--card);
  box-shadow: 0 28px 70px rgba(10, 22, 40, 0.13);
}

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

.inquiry-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  border: 1px solid rgba(10, 22, 40, 0.14);
  border-radius: 0;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbf8f2;
  font: inherit;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  outline: 2px solid rgba(201, 168, 76, 0.65);
  outline-offset: 2px;
}

.inquiry-form option {
  color: var(--ink);
  background: var(--card);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) minmax(190px, 0.7fr) minmax(190px, 0.7fr);
  align-items: start;
  gap: 34px;
  padding: 38px var(--section-gutter);
  color: rgba(255, 250, 241, 0.72);
  background: #07101d;
  border-top: 1px solid rgba(201, 168, 76, 0.28);
}

.site-footer p,
.site-footer a {
  margin: 0;
}

.footer-title {
  color: var(--white);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(24px, 2.1vw, 34px);
  font-weight: 700;
  line-height: 1.05;
}

.footer-tagline {
  margin-top: 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-group {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.footer-group span {
  color: rgba(255, 250, 241, 0.62);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.site-footer a {
  color: var(--gold);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

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

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.82);
  color: var(--white);
  background: #25d366;
  box-shadow: 0 18px 42px rgba(10, 22, 40, 0.26);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  background: #1ebe5d;
  box-shadow: 0 22px 50px rgba(10, 22, 40, 0.32);
}

.whatsapp-float svg {
  width: 31px;
  height: 31px;
  fill: currentColor;
  display: block;
}

@media (max-width: 860px) {
  .nav,
  .nav-cta {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .site-header.is-open .nav {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 20px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

  .site-header.is-open .nav a {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-size: 18px;
  }

  .hero,
  .intro-band,
  .section-heading,
  .focus-section,
  .contact-section,
  .emi-calculator {
    grid-template-columns: 1fr;
  }

  .emi-result-panel {
    order: 1;
  }

  .emi-input-panel {
    order: 2;
  }

  .emi-table-panel {
    order: 3;
  }

  .service-grid,
  .service-grid.grouped,
  .service-grid.two-up,
  .credentials-strip,
  .project-grid,
  .team-grid,
  .team-grid.detailed,
  .outcomes-grid,
  .summary-grid,
  .case-grid,
  .pillar-grid,
  .mandate-preview-grid,
  .vision-mission-grid,
  .principle-grid,
  .why-grid,
  .mandate-grid,
  .contact-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid,
  .service-grid.grouped,
  .service-grid.two-up {
    grid-template-columns: 1fr;
  }

  .mandate-preview-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .mandate-preview-card-featured {
    grid-row: auto;
    min-height: 420px;
  }

  .credentials-strip.credentials-six {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .case-card.featured {
    grid-column: 1 / -1;
  }

  .project-card.featured {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 460px;
  }

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

  .sector-tag-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-footer {
    grid-template-columns: 1.15fr 0.85fr 0.85fr;
    gap: 24px;
  }
}

@media (max-width: 1080px) and (min-width: 861px) {
  .site-header {
    gap: 10px;
  }

  .brand {
    min-width: 218px;
    width: 218px;
  }

  .brand-mark {
    width: 72px;
    height: 42px;
  }

  .brand-mark img {
    height: 66px;
  }

  .brand-wordmark strong {
    font-size: 15px;
    letter-spacing: 1.4px;
  }

  .brand-wordmark span {
    font-size: 6px;
    letter-spacing: 3.6px;
  }

  .nav {
    gap: 12px;
    font-size: 14px;
  }

  .nav-cta {
    padding: 10px 11px;
    font-size: 13px;
  }

  .hero,
  .intro-band,
  .section-heading,
  .focus-section,
  .contact-section,
  .emi-calculator {
    grid-template-columns: 1fr;
  }

  .emi-result-panel {
    order: 1;
  }

  .emi-input-panel {
    order: 2;
  }

  .emi-table-panel {
    order: 3;
  }

  .service-grid,
  .credentials-strip,
  .project-grid,
  .team-grid,
  .team-grid.detailed,
  .outcomes-grid,
  .summary-grid,
  .case-grid,
  .pillar-grid,
  .mandate-preview-grid,
  .vision-mission-grid,
  .principle-grid,
  .why-grid,
  .mandate-grid,
  .contact-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .credentials-strip.credentials-six {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .case-card.featured,
  .project-card.featured {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .project-card.featured {
    min-height: 460px;
  }

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

  .sector-tag-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

}

@media (max-width: 680px) {
  .brand {
    min-width: auto;
    width: 224px;
    height: 62px;
  }

  .brand-mark {
    width: 70px;
    height: 42px;
  }

  .brand-mark img {
    width: auto;
    height: 66px;
  }

  .brand-wordmark strong {
    font-size: 16px;
    letter-spacing: 1.5px;
  }

  .brand-wordmark span {
    font-size: 6px;
    letter-spacing: 3.9px;
  }

  .hero {
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 48px;
  }

  .hero::before {
    background-position: 58% center;
  }

  h1 {
    font-size: 34px;
    line-height: 1.08;
    margin-bottom: 18px;
  }

  .hero-copy {
    font-size: 16px;
    line-height: 1.55;
  }

  .hero-actions {
    margin-top: 26px;
  }

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

  .site-footer {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 34px;
  }

  .footer-group {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 250, 241, 0.12);
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .button {
    width: 100%;
  }

  .button {
    width: fit-content;
  }

  .service-grid,
  .service-grid.grouped,
  .service-grid.two-up,
  .credentials-strip,
  .credentials-strip.credentials-six,
  .project-grid,
  .team-grid,
  .team-grid.detailed,
  .outcomes-grid,
  .process-grid,
  .summary-grid,
  .case-grid,
  .pillar-grid,
  .mandate-preview-grid,
  .vision-mission-grid,
  .principle-grid,
  .why-grid,
  .mandate-grid,
  .contact-card-grid,
  .inquiry-form,
  .emi-result-grid {
    grid-template-columns: 1fr;
  }

  .mandate-preview-card-featured {
    min-height: 360px;
  }

  .emi-table-head {
    align-items: stretch;
    flex-direction: column;
  }

  .segmented-control {
    width: 100%;
  }

  .segmented-control button {
    flex: 1;
  }

  .emi-table-wrap table {
    min-width: 0;
    table-layout: fixed;
  }

  .emi-table-wrap th,
  .emi-table-wrap td {
    padding: 12px 8px;
    font-size: 12px;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .sector-tag-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-card.featured {
    grid-column: auto;
  }

  .project-card.featured {
    min-height: auto;
  }

  .project-card dl {
    grid-template-columns: 1fr;
  }

  .track-slides {
    min-height: 430px;
  }

  .carousel-controls {
    gap: 14px;
  }

  .carousel-dots {
    flex: 1;
  }

  .carousel-dot {
    flex: 1;
    width: auto;
  }

  .carousel-dot.is-active {
    width: auto;
  }

  .service-card,
  .process-grid div {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .button,
  .service-card,
  .whatsapp-float,
  .count-up.count-ready {
    transition: none;
  }

  .hero::before,
  .count-up.count-ready {
    opacity: 1;
    filter: none;
    transform: none;
  }
}
