/* ==========================================================================
   Grayson Investigation — Global Stylesheet
   Design system: soft off-white / slate / deep navy + gold accent
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  --black: #f8fafc;
  --charcoal: #eef2f7;
  --navy: #1e3a5f;
  --navy-soft: #294b73;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --line: #e5e7eb;
  --line-strong: #cbd5e1;

  --gold: #c9a227;
  --gold-light: #b28709;
  --blue: #4f8ff7;

  --text: #1f2937;
  --text-muted: #4b5563;
  --text-dim: #64748b;

  --grad-gold: linear-gradient(135deg, var(--gold-light), var(--gold));
  --grad-dark: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.78) 100%);
  --grad-panel: linear-gradient(160deg, #ffffff, #f8fafc);

  --shadow-soft: 0 24px 60px -26px rgba(15, 23, 42, 0.2);
  --shadow-gold: 0 18px 45px -18px rgba(201, 162, 39, 0.42);

  --radius-sm: 8px;
  --radius: 18px;
  --radius-lg: 26px;

  --font-display: "Playfair Display", "Times New Roman", serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --container: 1240px;
  --header-h: 92px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. Reset & base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--text);
  line-height: 1.85;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.015em;
  color: #fff;
  text-wrap: balance;
}

h1 { font-size: clamp(2.7rem, 6.4vw, 5.2rem); }
h2 { font-size: clamp(2.15rem, 4.4vw, 3.5rem); }
h3 { font-size: clamp(1.3rem, 2.1vw, 1.6rem); }

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

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
  border-radius: 3px;
}

::selection { background: var(--gold); color: #12100a; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 2000;
  background: var(--gold);
  color: #12100a;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ---------- 3. Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding: clamp(90px, 11vw, 165px) 0; position: relative; }
.section--tight { padding: clamp(56px, 6vw, 90px) 0; }
.section--charcoal { background: var(--charcoal); }
.section--navy { background: linear-gradient(180deg, var(--black), var(--navy)); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.74rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--gold);
}

.section-head { max-width: 720px; margin-bottom: clamp(46px, 6vw, 76px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--gold);
}
.section-head h2 { margin: 20px 0 18px; }

.lead { font-size: 1.18rem; line-height: 1.85; color: #e6ebf2; }

/* ---------- 4. Buttons ---------- */
.btn {
  --btn-bg: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    background-color 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.btn svg { width: 17px; height: 17px; transition: transform 0.3s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }

.btn--gold {
  background: var(--grad-gold);
  color: #14110a;
  box-shadow: var(--shadow-gold);
}
.btn--gold:hover { box-shadow: 0 22px 55px -18px rgba(201, 162, 39, 0.65); }

.btn--ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-light); }

.btn--sm { padding: 11px 22px; font-size: 0.82rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- 5. Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(5, 7, 11, 0.75), rgba(5, 7, 11, 0));
  transition: height 0.35s var(--ease), background-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}
.header.is-scrolled {
  height: 70px;
  background: rgba(6, 9, 14, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07), 0 20px 40px -30px rgba(0, 0, 0, 1);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--grad-gold);
  color: #14110a;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  box-shadow: var(--shadow-gold);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.brand__tag {
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative;
  padding: 10px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.25s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--text); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }

.header__cta { display: inline-flex; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  place-items: center;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle span + span { margin-top: 5px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  grid-template-columns: 1fr min(360px, 88vw);
  pointer-events: none;
}
.mobile-nav__scrim {
  background: rgba(3, 5, 8, 0.72);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  backdrop-filter: blur(3px);
}
.mobile-nav__panel {
  background: var(--charcoal);
  border-left: 1px solid var(--line);
  padding: calc(var(--header-h) + 12px) 26px 34px;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.mobile-nav.is-open { pointer-events: auto; }
.mobile-nav.is-open .mobile-nav__scrim { opacity: 1; }
.mobile-nav.is-open .mobile-nav__panel { transform: translateX(0); }

.mobile-nav__links { display: flex; flex-direction: column; }
.mobile-nav__links a {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
}
.mobile-nav__links a:hover,
.mobile-nav__links a.is-active { color: var(--gold-light); padding-left: 8px; }

.mobile-nav__meta { font-size: 0.85rem; color: var(--text-dim); display: grid; gap: 10px; }
.mobile-nav__meta a { color: var(--text-muted); }

/* ---------- 6. Hero slider ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s var(--ease), visibility 1s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
}
.hero__slide.is-active .hero__media img { animation: kenburns 9s var(--ease) forwards; }
@keyframes kenburns {
  from { transform: scale(1.02); }
  to { transform: scale(1.14); }
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(3, 4, 7, 0.94) 6%, rgba(3, 4, 7, 0.55) 62%, rgba(3, 4, 7, 0.7) 100%),
    linear-gradient(180deg, rgba(3, 4, 7, 0.82), rgba(3, 4, 7, 0.32) 42%, rgba(3, 4, 7, 0.9));
}

.hero__inner { position: relative; z-index: 2; padding: calc(var(--header-h) + 40px) 0 130px; }
.hero__content { max-width: 720px; }
.hero__content > * {
  opacity: 0;
  transform: translateY(26px);
}
.hero__slide.is-active .hero__content > * {
  animation: heroIn 0.9s var(--ease) forwards;
}
.hero__slide.is-active .hero__content > *:nth-child(1) { animation-delay: 0.15s; }
.hero__slide.is-active .hero__content > *:nth-child(2) { animation-delay: 0.3s; }
.hero__slide.is-active .hero__content > *:nth-child(3) { animation-delay: 0.45s; }
.hero__slide.is-active .hero__content > *:nth-child(4) { animation-delay: 0.6s; }
@keyframes heroIn {
  to { opacity: 1; transform: none; }
}
.hero__title { margin: 18px 0 18px; }
.hero__text { font-size: 1.08rem; max-width: 520px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero__controls {
  position: absolute;
  z-index: 3;
  right: max(24px, calc((100vw - var(--container)) / 2 + 24px));
  bottom: 54px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero__arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  background: rgba(8, 11, 17, 0.55);
  backdrop-filter: blur(8px);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease),
    transform 0.3s var(--ease);
}
.hero__arrow svg { width: 18px; height: 18px; }
.hero__arrow:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #14110a;
  transform: translateY(-2px);
}

.hero__dots {
  position: absolute;
  z-index: 3;
  left: max(24px, calc((100vw - var(--container)) / 2 + 24px));
  bottom: 62px;
  display: flex;
  gap: 12px;
}
.hero__dot {
  width: 42px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.22);
  position: relative;
  overflow: hidden;
}
.hero__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.hero__dot[aria-current="true"]::after { transform: scaleX(1); }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.scroll-cue__line {
  width: 1px;
  height: 44px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: cue 2s var(--ease) infinite;
}
@keyframes cue {
  0%, 100% { opacity: 0.25; transform: scaleY(0.5); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

/* ---------- 7. Page banner (inner pages) ---------- */
.page-hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 70px) 0 70px;
  overflow: hidden;
}
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 4, 7, 0.95) 5%, rgba(3, 4, 7, 0.62) 72%),
    linear-gradient(180deg, rgba(3, 4, 7, 0.85), rgba(3, 4, 7, 0.45) 45%, rgba(3, 4, 7, 0.95));
}
.page-hero__inner { position: relative; z-index: 2; max-width: 720px; }
.page-hero h1 { margin: 16px 0 16px; }
.breadcrumb {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 22px;
}
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span[aria-current] { color: var(--text-muted); }

/* ---------- 8. Trust features ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.feature {
  position: relative;
  padding: 38px 32px 34px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--grad-panel);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.feature::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto -1px;
  height: 2px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.feature:hover {
  transform: translateY(-8px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-soft);
}
.feature:hover::before { transform: scaleX(1); }
.feature__index {
  position: absolute;
  right: 22px;
  top: 18px;
  font-family: var(--font-display);
  font-size: 3.2rem;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
}
.icon-badge {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(201, 162, 39, 0.12);
  border: 1px solid rgba(201, 162, 39, 0.3);
  color: var(--gold-light);
  margin-bottom: 22px;
  transition: background-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.icon-badge svg { width: 26px; height: 26px; }
.feature:hover .icon-badge { background: rgba(201, 162, 39, 0.2); transform: translateY(-3px); }
.feature h3 { margin-bottom: 12px; }
.feature p { font-size: 0.94rem; }

/* ---------- 9. Split / editorial ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(34px, 5vw, 76px);
  align-items: center;
}
.split--reverse .split__media { order: 2; }

.split__media { position: relative; }
.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.media-frame:hover img { transform: scale(1.05); }
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 7, 11, 0.1), rgba(5, 7, 11, 0.55));
  pointer-events: none;
}
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--wide { aspect-ratio: 16 / 10; }

.badge-float {
  position: absolute;
  right: -14px;
  bottom: 34px;
  z-index: 2;
  padding: 20px 26px;
  border-radius: var(--radius);
  background: rgba(13, 17, 23, 0.92);
  border: 1px solid rgba(201, 162, 39, 0.35);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
  text-align: center;
}
.badge-float strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--gold-light);
  line-height: 1;
}
.badge-float span {
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.pill-list { display: grid; gap: 14px; margin: 28px 0 32px; }
.pill {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.pill:hover { border-color: rgba(201, 162, 39, 0.4); transform: translateX(4px); }
.pill svg { width: 22px; height: 22px; color: var(--gold-light); flex: none; margin-top: 3px; }
.pill h4 { font-family: var(--font-body); font-size: 0.98rem; font-weight: 600; }
.pill p { font-size: 0.88rem; margin-top: 2px; }

/* ---------- 10. Service cards ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.services-grid--featured { grid-template-columns: repeat(6, 1fr); }
.services-grid--featured > *:nth-child(1),
.services-grid--featured > *:nth-child(2) { grid-column: span 3; }
.services-grid--featured > *:nth-child(1) .service-card,
.services-grid--featured > *:nth-child(2) .service-card { min-height: 460px; }
.services-grid--featured > *:nth-child(n + 3) { grid-column: span 2; }

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 400px;
  padding: 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  isolation: isolate;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease),
    box-shadow 0.45s var(--ease);
}
.service-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(5, 7, 11, 0.35) 0%, rgba(5, 7, 11, 0.82) 55%, rgba(5, 7, 11, 0.96) 100%);
  transition: background 0.45s var(--ease);
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 162, 39, 0.45);
  box-shadow: var(--shadow-soft);
}
.service-card:hover img { transform: scale(1.09); }
.service-card:hover::after {
  background: linear-gradient(180deg, rgba(9, 8, 4, 0.3) 0%, rgba(5, 7, 11, 0.78) 45%, rgba(5, 7, 11, 0.97) 100%);
}
.service-card__num {
  position: absolute;
  top: 26px;
  right: 30px;
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: rgba(255, 255, 255, 0.28);
  line-height: 1;
}
.service-card__icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(201, 162, 39, 0.16);
  border: 1px solid rgba(201, 162, 39, 0.35);
  color: var(--gold-light);
  margin-bottom: 18px;
  backdrop-filter: blur(6px);
}
.service-card__icon svg { width: 24px; height: 24px; }
.service-card h3 { margin-bottom: 10px; }
.service-card p { font-size: 0.93rem; color: #b7c1cd; }
.service-card .link-arrow { margin-top: 20px; }

/* ---------- 11. Why choose us composition ---------- */
.why {
  display: grid;
  grid-template-columns: 1fr 1.05fr 1fr;
  gap: 26px;
  align-items: center;
}
.why__col { display: grid; gap: 20px; }
.why__center { position: relative; }
.why__visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-soft);
}
.why__visual img { width: 100%; height: 100%; object-fit: cover; }
.why__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 7, 11, 0.25), rgba(5, 7, 11, 0.9));
}
.why__caption {
  position: absolute;
  z-index: 2;
  left: 26px;
  right: 26px;
  bottom: 26px;
}
.why__caption h3 { margin-bottom: 8px; }
.why__caption p { font-size: 0.9rem; }

.why-item {
  padding: 22px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--grad-panel);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease),
    background-color 0.35s var(--ease);
}
.why-item:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 162, 39, 0.4);
}
.why-item__icon {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(201, 162, 39, 0.12);
  color: var(--gold-light);
}
.why-item__icon svg { width: 21px; height: 21px; }
.why-item h4 { font-family: var(--font-body); font-size: 0.98rem; font-weight: 600; margin-bottom: 5px; }
.why-item p { font-size: 0.86rem; line-height: 1.6; }

/* ---------- 12. CTA band ---------- */
.cta-band {
  position: relative;
  padding: clamp(70px, 8vw, 120px) 0;
  overflow: hidden;
  text-align: center;
  isolation: isolate;
}
.cta-band img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(60% 80% at 50% 50%, rgba(5, 7, 11, 0.62), rgba(5, 7, 11, 0.95));
}
.cta-band__inner { max-width: 720px; margin-inline: auto; }
.cta-band h2 { margin: 16px 0 16px; }
.cta-band .btn-row { justify-content: center; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ---------- 13. Stat strip ---------- */
.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.strip__item {
  background: var(--charcoal);
  padding: 30px 26px;
  text-align: center;
  transition: background-color 0.35s var(--ease);
}
.strip__item:hover { background: var(--navy-soft); }
.strip__item svg { width: 24px; height: 24px; color: var(--gold-light); margin-inline: auto; }
.strip__item h4 { font-family: var(--font-body); font-size: 0.98rem; font-weight: 600; margin: 12px 0 4px; }
.strip__item p { font-size: 0.82rem; }

/* ---------- 14. Approach cards (about) ---------- */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.approach-card {
  padding: 30px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--grad-panel);
  position: relative;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.approach-card:hover { transform: translateY(-6px); border-color: rgba(201, 162, 39, 0.4); }
.approach-card__step {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.approach-card h3 { font-size: 1.2rem; margin: 12px 0 10px; }
.approach-card p { font-size: 0.92rem; }

/* ---------- 15. Service details page ---------- */
.detail-layout {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: clamp(30px, 4vw, 60px);
  align-items: start;
}
.detail-body h2 { margin-bottom: 16px; }
.detail-body h3 { margin: 34px 0 12px; }
.detail-body p + p { margin-top: 14px; }
.detail-body ul { display: grid; gap: 12px; margin-top: 16px; }
.detail-body ul li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.detail-body ul li svg { width: 20px; height: 20px; color: var(--gold-light); flex: none; margin-top: 3px; }

.detail-hero-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 34px;
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow-soft);
}
.detail-hero-img img { width: 100%; height: 100%; object-fit: cover; }

.sidebar { display: grid; gap: 22px; position: sticky; top: calc(var(--header-h) + 16px); }
.panel {
  padding: 26px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--grad-panel);
}
.panel h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; margin-bottom: 16px; }
.panel--gold {
  border-color: rgba(201, 162, 39, 0.35);
  background: linear-gradient(160deg, rgba(201, 162, 39, 0.14), rgba(201, 162, 39, 0.02));
}
.service-nav { display: grid; gap: 4px; }
.service-nav a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.service-nav a svg { width: 15px; height: 15px; opacity: 0.6; }
.service-nav a:hover { background: var(--surface-strong); color: var(--text); }
.service-nav a.is-active { background: rgba(201, 162, 39, 0.14); color: var(--gold-light); }

.state-empty { text-align: center; max-width: 520px; margin: 0 auto; padding: 60px 0; }
.state-empty h2 { margin-bottom: 14px; }
[hidden] { display: none !important; }

/* ---------- 16. Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.contact-card {
  padding: 30px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--grad-panel);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.contact-card:hover { transform: translateY(-6px); border-color: rgba(201, 162, 39, 0.4); }
.contact-card h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; }
.contact-card p, .contact-card a { font-size: 0.92rem; color: var(--text-muted); }
.contact-card a:hover { color: var(--gold-light); }

.contact-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 4vw, 56px);
  align-items: start;
}
.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  height: 100%;
  min-height: 460px;
  filter: grayscale(1) invert(0.9) contrast(0.85);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

.form {
  padding: clamp(26px, 3vw, 40px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--grad-panel);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field label { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(5, 7, 11, 0.5);
  font-size: 0.94rem;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; background-image: none; }
.field select option { background: var(--charcoal); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  outline: none;
  background: rgba(5, 7, 11, 0.75);
}
.field .error {
  font-size: 0.78rem;
  color: #f0836b;
  min-height: 1em;
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #f0836b; }

.form__note { font-size: 0.78rem; color: var(--text-dim); margin-top: 14px; }

.form-success {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid rgba(201, 162, 39, 0.4);
  background: rgba(201, 162, 39, 0.1);
  margin-bottom: 22px;
}
.form-success svg { width: 26px; height: 26px; color: var(--gold-light); flex: none; }
.form-success h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.form-success p { font-size: 0.9rem; }

/* ---------- 17. Footer ---------- */
.footer {
  background: var(--charcoal);
  border-top: 1px solid var(--line);
  padding: clamp(56px, 6vw, 86px) 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.4fr;
  gap: clamp(30px, 4vw, 64px);
  padding-bottom: 50px;
}
.footer p { font-size: 0.92rem; }
.footer h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 20px;
}
.footer__brand .brand { margin-bottom: 20px; }
.footer__links { display: grid; gap: 12px; }
.footer__links a { font-size: 0.92rem; color: var(--text-muted); transition: color 0.25s var(--ease), padding-left 0.25s var(--ease); }
.footer__links a:hover { color: var(--gold-light); padding-left: 5px; }
.footer__contact { display: grid; gap: 16px; }
.footer__contact div { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact svg { width: 18px; height: 18px; color: var(--gold); flex: none; margin-top: 4px; }
.footer__contact a, .footer__contact span { font-size: 0.92rem; color: var(--text-muted); }
.footer__contact a:hover { color: var(--gold-light); }
.footer__bottom {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ---------- 18. Back to top ---------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad-gold);
  color: #14110a;
  box-shadow: var(--shadow-gold);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 19px; height: 19px; }

/* ---------- 19. Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }
.reveal[data-delay="5"] { transition-delay: 0.5s; }

/* ---------- 20. Responsive ---------- */
@media (max-width: 1200px) {
  .why { grid-template-columns: 1fr 1fr; }
  .why__center { grid-column: 1 / -1; order: -1; }
  .why__visual { aspect-ratio: 16 / 9; }
}

@media (max-width: 1024px) {
  :root { --header-h: 78px; }
  .nav, .header__cta { display: none; }
  .nav-toggle { display: grid; }
  .features { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid--featured { grid-template-columns: repeat(2, 1fr); }
  .services-grid--featured > * { grid-column: span 1 !important; }
  .services-grid--featured .service-card { min-height: 380px !important; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .detail-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-main { grid-template-columns: 1fr; }
  .approach-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .hero__controls, .hero__dots { bottom: 90px; }
}

@media (max-width: 768px) {
  body { font-size: 15.5px; }
  .hero { min-height: 92svh; }
  .hero__inner { padding: calc(var(--header-h) + 60px) 0 150px; }
  .hero__text { font-size: 1rem; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__controls { right: 24px; bottom: 86px; }
  .hero__dots { left: 24px; bottom: 94px; }
  .hero__dot { width: 30px; }
  .scroll-cue { display: none; }
  .page-hero { min-height: 52vh; }
  .services-grid, .services-grid--featured { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: 1fr; }
  .approach-grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .badge-float { right: 14px; bottom: 14px; padding: 16px 20px; }
  .map-frame { min-height: 320px; }
}

@media (max-width: 480px) {
  .container { padding-inline: 18px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .strip { grid-template-columns: 1fr; }
  .service-card { min-height: 340px; padding: 26px 22px; }
  .brand__tag { display: none; }
  .footer__bottom { justify-content: center; text-align: center; }
}

/* ---------- 21. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__content > * { opacity: 1; transform: none; }
  .hero__slide.is-active .hero__media img { animation: none; transform: scale(1.04); }
}

/* ==========================================================================
   22. Premium light visibility layer — restrained luxury polish
   ========================================================================== */

body { background: var(--black); }
h1, h2, h3, h4, .brand__name { color: var(--text); }
h1, h2 { text-shadow: none; }
p { color: var(--text-muted); line-height: 1.85; }
p + p { margin-top: 1rem; }
.lead { color: #374151; }
.eyebrow { color: var(--gold-light); font-size: 0.8rem; letter-spacing: 0.3em; }
.brand__tag { color: var(--text-dim); }
.breadcrumb { color: var(--text-dim); font-size: 0.86rem; }
.breadcrumb span[aria-current] { color: var(--gold-light); }

.section--charcoal { background: var(--charcoal); }
.section--navy { background: linear-gradient(180deg, #f8fafc, #eef2f7); }
.services-section { background: var(--navy); }
.services-section .section-head h2,
.services-section .section-head p { color: #ffffff; }
.section--navy::before,
.section--charcoal::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.35; background: linear-gradient(135deg, rgba(201, 162, 39, 0.04), transparent 38%); }

/* Header remains fixed and blurred without adding another dark block. */
.header {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid rgba(229, 231, 235, 0.88);
  box-shadow: 0 10px 28px -24px rgba(15, 23, 42, 0.4);
}
.header.is-scrolled { background: rgba(255, 255, 255, 0.96); }
.nav__link { color: #374151; font-size: 0.92rem; font-weight: 600; }
.nav__link:hover, .nav__link.is-active { color: var(--navy); }
.nav-toggle { border-color: var(--line-strong); }
.nav-toggle span { background: var(--navy); }
.mobile-nav__scrim { background: rgba(15, 23, 42, 0.42); }
.mobile-nav__panel { background: #ffffff; border-left-color: var(--line); }
.mobile-nav__links a { color: var(--text-muted); border-bottom-color: var(--line); }
.mobile-nav__meta { color: var(--text-dim); }
.mobile-nav__meta a { color: var(--navy); }

/* Hero imagery stays cinematic, but the overlay now reveals the photograph. */
.hero__title { font-size: clamp(2.9rem, 6.6vw, 5.4rem); font-weight: 700; color: #ffffff; text-shadow: 0 2px 24px rgba(15, 23, 42, 0.5); }
.hero__text { font-size: 1.25rem; color: #f8fafc; max-width: 600px; text-shadow: 0 1px 12px rgba(15, 23, 42, 0.45); }
.hero__media img, .page-hero__media img, .cta-band img { filter: brightness(1.1) saturate(1.08); }
.hero__media::after {
  background:
    linear-gradient(100deg, rgba(15, 23, 42, 0.68) 5%, rgba(15, 23, 42, 0.28) 63%, rgba(15, 23, 42, 0.34) 100%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.34), rgba(15, 23, 42, 0.08) 48%, rgba(15, 23, 42, 0.54));
}
.hero__inner::before { background: radial-gradient(46% 58% at 20% 48%, rgba(15, 23, 42, 0.32), transparent 74%); }
.page-hero__media::after {
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.7) 5%, rgba(15, 23, 42, 0.24) 72%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.36), rgba(15, 23, 42, 0.08) 45%, rgba(15, 23, 42, 0.58));
}
.page-hero h1, .page-hero .lead { color: #ffffff; text-shadow: 0 2px 20px rgba(15, 23, 42, 0.45); }
.hero .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow { color: #f3d98b; }

/* Deep navy is the accessible primary action; gold is reserved for hover and detail. */
.btn { padding: 17px 34px; font-size: 0.95rem; letter-spacing: 0.06em; }
.btn--sm { padding: 12px 24px; font-size: 0.85rem; }
.btn--gold { background: var(--navy); color: #ffffff; box-shadow: 0 14px 32px -14px rgba(30, 58, 95, 0.62); }
.btn--gold:hover { background: var(--gold); color: #1f2937; box-shadow: 0 18px 38px -14px rgba(201, 162, 39, 0.52); }
.btn--ghost { border-color: var(--navy); background: #ffffff; color: var(--navy); backdrop-filter: none; }
.btn--ghost:hover { border-color: var(--gold); background: var(--gold); color: #1f2937; }
.hero .btn--ghost, .cta-band .btn--ghost { border-color: rgba(255, 255, 255, 0.8); background: rgba(255, 255, 255, 0.12); color: #ffffff; }
.hero .btn--ghost:hover, .cta-band .btn--ghost:hover { border-color: var(--gold); background: var(--gold); color: #1f2937; }
.link-arrow { font-size: 0.9rem; color: #f3d98b; }

/* White cards with a fine border keep information scannable on light sections. */
.feature, .approach-card, .why-item, .contact-card, .panel, .form {
  background: rgba(255, 255, 255, 0.86);
  border-color: var(--line);
  backdrop-filter: blur(14px) saturate(120%);
  box-shadow: 0 20px 44px -30px rgba(15, 23, 42, 0.32);
}
.feature:hover, .approach-card:hover, .why-item:hover, .contact-card:hover { border-color: rgba(201, 162, 39, 0.72); box-shadow: 0 24px 48px -28px rgba(15, 23, 42, 0.38); }
.feature__index { color: rgba(30, 58, 95, 0.12); }
.feature h3, .approach-card h3, .why-item h4, .contact-card h3, .panel h3, .strip__item h4 { color: var(--navy); }
.feature p, .approach-card p, .why-item p, .contact-card p, .strip__item p, .detail-body ul li { color: var(--text-muted); }
.feature p, .approach-card p { font-size: 1.02rem; }
.why-item p { font-size: 0.96rem; line-height: 1.75; }
.icon-badge { background: rgba(201, 162, 39, 0.12); border-color: rgba(201, 162, 39, 0.5); color: var(--gold-light); }

/* Image cards retain their layout and motion, with a lighter editorial overlay. */
.service-card { min-height: 440px; padding: 36px; border-color: rgba(255, 255, 255, 0.55); box-shadow: 0 20px 44px -28px rgba(15, 23, 42, 0.38); }
.service-card::after { background: linear-gradient(180deg, rgba(15, 23, 42, 0.18) 0%, rgba(15, 23, 42, 0.58) 52%, rgba(15, 23, 42, 0.84) 100%); }
.service-card:hover::after { background: linear-gradient(180deg, rgba(15, 23, 42, 0.14) 0%, rgba(15, 23, 42, 0.52) 45%, rgba(15, 23, 42, 0.8) 100%); }
.service-card::before { background: linear-gradient(160deg, rgba(243, 217, 139, 0.85), rgba(255, 255, 255, 0.16) 45%, rgba(201, 162, 39, 0.65)); }
.service-card__num { color: rgba(255, 255, 255, 0.8); font-size: 3rem; }
.service-card__icon { background: rgba(201, 162, 39, 0.2); border-color: rgba(243, 217, 139, 0.72); color: #f3d98b; }
.service-card h3 { color: #ffffff; text-shadow: 0 2px 18px rgba(15, 23, 42, 0.45); }
.service-card p { font-size: 1rem; color: #f8fafc; text-shadow: 0 1px 12px rgba(15, 23, 42, 0.45); }
.service-card .link-arrow { align-self: flex-start; padding: 11px 20px; border-radius: 999px; border: 1px solid rgba(243, 217, 139, 0.7); background: rgba(30, 58, 95, 0.48); transition: background-color 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease); }
.service-card:hover .link-arrow { background: var(--gold); color: #1f2937; transform: translateY(-2px); }

/* Editorial image treatments and trust pills. */
.badge-float { padding: 26px 32px; border-color: rgba(201, 162, 39, 0.72); background: rgba(255, 255, 255, 0.94); box-shadow: 0 18px 38px -22px rgba(15, 23, 42, 0.42); }
.badge-float strong { font-size: 3rem; color: var(--gold-light); }
.badge-float span { color: var(--navy); }
.pill { background: rgba(255, 255, 255, 0.8); border-color: var(--line); }
.pill p { color: var(--text-muted); font-size: 0.95rem; }
.pill h4 { color: var(--navy); font-size: 1.05rem; }
.media-frame::after { background: linear-gradient(180deg, rgba(15, 23, 42, 0.02), rgba(15, 23, 42, 0.3)); }
.why-item { padding: 26px; border-radius: var(--radius); }
.why-item:hover { transform: translateY(-8px); }
.why__visual::after { background: linear-gradient(180deg, rgba(15, 23, 42, 0.12), rgba(15, 23, 42, 0.72)); }
.why__caption h3, .why__caption p { color: #ffffff; }
.why__caption p { font-size: 1rem; }

/* Strategic dark bands: CTA and footer remain the brand's contrast anchors. */
.cta-band::after { background: radial-gradient(65% 85% at 50% 50%, rgba(15, 23, 42, 0.68), rgba(15, 23, 42, 0.88)); }
.cta-band h2, .cta-band p { color: #ffffff; }
.cta-band p { font-size: 1.15rem; }
.strip { background: var(--line); border-color: var(--line); }
.strip__item { padding: 34px 28px; background: #ffffff; }
.strip__item:hover { background: #f8fafc; }
.strip__item h4 { font-size: 1.05rem; }
.strip__item p { font-size: 0.92rem; }

/* Contact: high-contrast inputs and a calm white information surface. */
.contact-card { padding: 34px 30px; }
.contact-card h3 { font-size: 1.15rem; }
.contact-card p, .contact-card a { font-size: 1rem; color: var(--text-muted); }
.contact-card a:hover { color: var(--gold-light); }
.form { padding: clamp(30px, 3.4vw, 52px); }
.field { gap: 9px; margin-bottom: 22px; }
.field label { font-size: 0.9rem; color: var(--navy); }
.field input, .field select, .field textarea { padding: 16px 18px; font-size: 1rem; color: var(--text); background: #ffffff; border-color: #cbd5e1; }
.field input::placeholder, .field textarea::placeholder { color: #64748b; }
.field textarea { min-height: 165px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.15); background: #ffffff; }
.field select option { background: #ffffff; color: var(--text); }
.form__note { color: var(--text-dim); font-size: 0.85rem; }
.map-frame { filter: grayscale(0.75) contrast(0.95) brightness(1.06); border-color: rgba(201, 162, 39, 0.42); box-shadow: var(--shadow-soft); }

/* Footer stays dark charcoal rather than pure black. */
.footer { background: #111827; border-top-color: rgba(201, 162, 39, 0.5); }
.footer h4 { color: #f3d98b; font-size: 0.85rem; }
.footer h1, .footer h2, .footer h3, .footer h4, .footer .brand__name { color: #ffffff; }
.footer p, .footer__links a, .footer__contact a, .footer__contact span { color: #cbd5e1; }
.footer__links a:hover, .footer__contact a:hover { color: #f3d98b; }
.footer__bottom { border-top-color: rgba(201, 162, 39, 0.5); }

/* Back-to-top progress ring remains visible on light sections. */
.to-top { width: 56px; height: 56px; background: var(--navy); color: #f3d98b; border: 1px solid rgba(201, 162, 39, 0.7); box-shadow: 0 18px 40px -18px rgba(15, 23, 42, 0.45); }
.to-top::before { background: conic-gradient(var(--gold) calc(var(--progress, 0) * 1%), rgba(255, 255, 255, 0.28) 0); }
.to-top:hover { color: #1f2937; background: var(--gold); border-color: transparent; }
.to-top svg { position: relative; }

@media (max-width: 768px) {
  body { font-size: 16.5px; }
  .hero__title { font-size: clamp(2.4rem, 9vw, 3.2rem); }
  .hero__text { font-size: 1.1rem; }
  .service-card { min-height: 400px; padding: 28px 24px; }
}

/* ==========================================================================
   23. Homepage refresh — warm ivory, terracotta, sage and antique gold
   ========================================================================== */
.home-page {
  --black: #fffaf4;
  --charcoal: #f4eee5;
  --navy: #3f6b5b;
  --navy-soft: #dce9df;
  --surface: rgba(255, 253, 248, 0.9);
  --surface-strong: #fffdf8;
  --line: #e5d9ca;
  --line-strong: #cebda9;
  --gold: #c18b3e;
  --gold-light: #a56e25;
  --text: #314c42;
  --text-muted: #5d6d65;
  --text-dim: #76847c;
  --grad-gold: linear-gradient(135deg, #b97843, #c99a4b);
  --grad-panel: linear-gradient(145deg, #fffdf8, #f8f1e8);
  --shadow-soft: 0 24px 60px -32px rgba(109, 74, 56, 0.32);
  --shadow-gold: 0 18px 42px -20px rgba(169, 101, 55, 0.45);
  background: #fffaf4;
  color: var(--text);
}

.home-page h1,
.home-page h2,
.home-page h3,
.home-page h4,
.home-page .brand__name { color: var(--text); }

.home-page .header {
  background: rgba(255, 253, 248, 0.92);
  border-bottom-color: rgba(193, 139, 62, 0.22);
  box-shadow: 0 14px 34px -30px rgba(109, 74, 56, 0.5);
}
.home-page .header.is-scrolled { background: rgba(255, 253, 248, 0.98); }
.home-page .brand__mark {
  background: linear-gradient(145deg, #c18b3e, #e0ba72);
  color: #fffdf8;
}
.home-page .nav__link { color: #53685f; }
.home-page .nav__link:hover,
.home-page .nav__link.is-active { color: #a64b3c; }
.home-page .nav__link::after { background: #c18b3e; height: 2px; }

.home-page .btn--gold {
  background: #a64b3c;
  color: #fffdf8;
  box-shadow: 0 16px 34px -18px rgba(166, 75, 60, 0.55);
}
.home-page .btn--gold:hover {
  background: #3f6b5b;
  color: #fffdf8;
  box-shadow: 0 18px 38px -18px rgba(63, 107, 91, 0.48);
}
.home-page .btn--ghost {
  border-color: #a64b3c;
  background: rgba(255, 253, 248, 0.9);
  color: #8f4035;
}
.home-page .btn--ghost:hover { border-color: #3f6b5b; background: #3f6b5b; color: #fffdf8; }

.home-page .hero { min-height: min(900px, 100svh); background: #f1e8dc; }
.home-page .hero__media img { filter: brightness(1.12) saturate(0.92) contrast(0.92); }
.home-page .hero__media::after {
  background:
    linear-gradient(90deg, rgba(255, 250, 244, 0.97) 2%, rgba(255, 250, 244, 0.88) 39%, rgba(255, 250, 244, 0.28) 70%, rgba(255, 250, 244, 0.08) 100%),
    linear-gradient(180deg, rgba(244, 238, 229, 0.25), rgba(193, 139, 62, 0.12));
}
.home-page .hero__inner::before { display: none; }
.home-page .hero__content { max-width: 690px; }
.home-page .hero__title {
  color: #314c42;
  text-shadow: none;
  font-size: clamp(3rem, 6.3vw, 5.7rem);
}
.home-page .hero__title .gold { color: #a64b3c; }
.home-page .hero__text { color: #596b62; text-shadow: none; font-size: 1.18rem; }
.home-page .hero .eyebrow { color: #9c6a25; }
.home-page .hero .btn--ghost { border-color: #a64b3c; background: rgba(255, 253, 248, 0.84); color: #8f4035; }
.home-page .hero .btn--ghost:hover { border-color: #3f6b5b; background: #3f6b5b; color: #fffdf8; }
.home-page .hero__arrow {
  background: rgba(255, 253, 248, 0.88);
  border-color: #cebda9;
  color: #3f6b5b;
}
.home-page .hero__arrow:hover { background: #a64b3c; border-color: #a64b3c; color: #fffdf8; }
.home-page .hero__dot { background: rgba(63, 107, 91, 0.25); }
.home-page .hero__dot::after { background: #a64b3c; }
.home-page .scroll-cue { color: #687970; }

.home-page .section--charcoal { background: #f4eee5; }
.home-page .section--navy,
.home-page .services-section { background: #e5eee7; }
.home-page .section--navy::before,
.home-page .section--charcoal::before {
  opacity: 0.7;
  background: linear-gradient(135deg, rgba(193, 139, 62, 0.08), transparent 44%);
}
.home-page .services-section .section-head h2 { color: #314c42; }
.home-page .services-section .section-head p { color: #5d6d65; }

.home-page .feature,
.home-page .why-item,
.home-page .pill {
  background: rgba(255, 253, 248, 0.92);
  border-color: #e2d5c5;
  box-shadow: 0 20px 44px -34px rgba(109, 74, 56, 0.42);
}
.home-page .feature__index { color: rgba(166, 75, 60, 0.13); }
.home-page .feature h3,
.home-page .why-item h4,
.home-page .pill h4 { color: #3f6b5b; }
.home-page .icon-badge,
.home-page .why-item__icon {
  background: #f3e5cb;
  border-color: #dec08e;
  color: #a64b3c;
}
.home-page .feature:hover,
.home-page .why-item:hover,
.home-page .pill:hover { border-color: #c18b3e; }

.home-page .media-frame::after {
  background: linear-gradient(180deg, rgba(255, 250, 244, 0), rgba(63, 107, 91, 0.18));
}
.home-page .badge-float {
  background: rgba(255, 253, 248, 0.96);
  border-color: #c18b3e;
  box-shadow: 0 18px 38px -24px rgba(109, 74, 56, 0.5);
}
.home-page .badge-float strong { color: #a64b3c; }
.home-page .badge-float span { color: #3f6b5b; }

.home-page .service-card {
  border-color: rgba(255, 253, 248, 0.9);
  box-shadow: 0 24px 50px -30px rgba(80, 91, 75, 0.42);
}
.home-page .service-card::after {
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.05) 12%, rgba(255, 250, 244, 0.72) 57%, rgba(255, 250, 244, 0.97) 100%);
}
.home-page .service-card:hover::after {
  background: linear-gradient(180deg, rgba(229, 238, 231, 0.08) 8%, rgba(229, 238, 231, 0.74) 52%, rgba(255, 253, 248, 0.98) 100%);
}
.home-page .service-card__num { color: rgba(166, 75, 60, 0.72); }
.home-page .service-card__icon { background: #a64b3c; border-color: #c18b3e; color: #fffdf8; }
.home-page .service-card h3 { color: #314c42; text-shadow: none; }
.home-page .service-card p { color: #53675d; text-shadow: none; }
.home-page .service-card .link-arrow { border-color: #c18b3e; background: #fff8ec; color: #8f4035; }
.home-page .service-card:hover .link-arrow { background: #3f6b5b; color: #fffdf8; }

.home-page .why__visual::after {
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.02), rgba(63, 107, 91, 0.76));
}
.home-page .why__caption h3,
.home-page .why__caption p { color: #fffdf8; text-shadow: 0 2px 18px rgba(63, 107, 91, 0.35); }

.home-page .cta-band::after {
  background: linear-gradient(90deg, rgba(244, 238, 229, 0.96), rgba(244, 238, 229, 0.84), rgba(229, 238, 231, 0.76));
}
.home-page .cta-band h2 { color: #314c42; }
.home-page .cta-band p { color: #53675d; }
.home-page .cta-band .eyebrow { color: #9c6a25; }
.home-page .cta-band .btn--ghost { border-color: #a64b3c; background: rgba(255, 253, 248, 0.9); color: #8f4035; }
.home-page .cta-band .btn--ghost:hover { background: #3f6b5b; border-color: #3f6b5b; color: #fffdf8; }

.home-page .footer {
  background: #e5eee7;
  border-top-color: #c9b58f;
}
.home-page .footer h4,
.home-page .footer .brand__name { color: #3f6b5b; }
.home-page .footer p,
.home-page .footer__links a,
.home-page .footer__contact a,
.home-page .footer__contact span { color: #53675d; }
.home-page .footer__links a:hover,
.home-page .footer__contact a:hover { color: #a64b3c; }
.home-page .footer__bottom { border-top-color: #c9b58f; color: #687970; }
.home-page .to-top { background: #a64b3c; color: #fffdf8; border-color: #c18b3e; box-shadow: 0 18px 38px -20px rgba(166, 75, 60, 0.5); }
.home-page .to-top:hover { background: #3f6b5b; color: #fffdf8; }

.home-page .mobile-nav__scrim { background: rgba(83, 104, 95, 0.42); }
.home-page .mobile-nav__panel { background: #fffaf4; }
.home-page .mobile-nav__links a:hover,
.home-page .mobile-nav__links a.is-active,
.home-page .mobile-nav__meta a { color: #a64b3c; }

.home-page .hero__location {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  padding: 10px 18px;
  border: 1px solid rgba(193, 139, 62, 0.38);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.92);
  color: #4c5e55;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.home-page .hero__location svg { width: 15px; height: 15px; flex: none; color: #a64b3c; }

.home-page .locations {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 10px;
}
.home-page .location-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid #e2d5c5;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.95);
  box-shadow: 0 20px 44px -34px rgba(109, 74, 56, 0.42);
  color: #314c42;
  font-weight: 600;
  font-size: 1rem;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.home-page .location-chip svg { width: 17px; height: 17px; flex: none; color: #a64b3c; }
.home-page .location-chip--primary {
  background: linear-gradient(135deg, #3f6b5b 0%, #345847 100%);
  border-color: #3f6b5b;
  color: #fffaf4;
  box-shadow: 0 22px 44px -30px rgba(63, 107, 91, 0.65);
}
.home-page .location-chip--primary svg { color: #f3d9a4; }
.home-page .location-chip:hover {
  border-color: #c18b3e;
  transform: translateY(-3px);
  box-shadow: 0 26px 48px -30px rgba(166, 75, 60, 0.5);
}
.home-page .locations__note {
  margin: 22px auto 0;
  max-width: 640px;
  text-align: center;
  color: #5d6d65;
}

@media (max-width: 768px) {
  .home-page .hero__media img { object-position: 62% center; }
  .home-page .hero__media::after {
    background: linear-gradient(180deg, rgba(255, 250, 244, 0.56) 0%, rgba(255, 250, 244, 0.82) 48%, rgba(255, 250, 244, 0.98) 100%);
  }
  .home-page .hero__inner { align-self: flex-end; padding-bottom: 240px; }
  .home-page .hero__content { max-width: 100%; }
  .home-page .hero__location { margin-top: 16px; font-size: 0.76rem; letter-spacing: 0.08em; padding: 9px 15px; }
  .home-page .hero__title { font-size: clamp(2.5rem, 10.5vw, 3.6rem); }
}
