:root {
  --ink: #070c10;
  --navy: #122331;
  --panel: #101820;
  --paper: #f5f0e8;
  --paper-soft: #fffaf1;
  --muted: #b6b0a4;
  --muted-dark: #5f594f;
  --line: rgba(199, 154, 74, 0.34);
  --gold: #c79a4a;
  --gold-light: #e6bf73;
  --white: #fffaf2;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper-soft);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

.skip-link {
  background: var(--gold);
  color: var(--ink);
  left: 1rem;
  padding: 0.65rem 1rem;
  position: fixed;
  top: -5rem;
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
}

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

.container {
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 24px;
  width: 100%;
}

.site-header {
  left: 0;
  padding: 16px 0;
  position: fixed;
  right: 0;
  top: 0;
  transition: background 240ms ease, border-color 240ms ease, padding 240ms ease;
  z-index: 50;
}

.site-header.is-scrolled {
  background: rgba(255, 250, 241, 0.9);
  border-bottom: 1px solid rgba(18, 35, 49, 0.08);
  padding: 10px 0;
  backdrop-filter: blur(18px);
}

.nav-shell {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1240px;
  padding: 0 24px;
}

.brand img {
  height: auto;
  width: clamp(180px, 18vw, 245px);
}

.nav-menu {
  align-items: center;
  display: flex;
  gap: clamp(20px, 2.2vw, 36px);
  font-family: var(--serif);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.nav-menu a {
  color: rgba(18, 35, 49, 0.86);
  position: relative;
  transition: color 180ms ease;
}

.nav-menu a:not(.nav-cta)::after {
  background: var(--gold);
  bottom: -9px;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms ease;
  width: 100%;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--gold-light);
}

.nav-menu a:hover::after,
.nav-menu a:focus-visible::after {
  transform: scaleX(1);
}

.nav-cta {
  border: 1px solid var(--line);
  color: var(--navy) !important;
  padding: 11px 18px;
  background: rgba(255, 255, 255, 0.45);
}

.nav-toggle {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  display: none;
  height: 44px;
  place-items: center;
  width: 44px;
}

.nav-toggle span:not(.sr-only) {
  background: var(--navy);
  display: block;
  height: 1px;
  margin: 5px auto;
  transition: transform 180ms ease, opacity 180ms ease;
  width: 22px;
}

.hero {
  height: min(800px, 92svh);
  min-height: 660px;
  overflow: hidden;
  position: relative;
}

.hero-media {
  inset: 0;
  position: absolute;
}

.hero-media::before {
  background:
    linear-gradient(90deg, rgba(255, 250, 241, 0.94) 0%, rgba(255, 250, 241, 0.84) 42%, rgba(255, 250, 241, 0.18) 72%),
    linear-gradient(0deg, rgba(255, 250, 241, 0.92) 0%, rgba(255, 250, 241, 0.2) 42%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.hero-media img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
  animation: slowDrift 18s ease-in-out infinite alternate;
}

.map-lines {
  background-image:
    linear-gradient(rgba(199, 154, 74, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(199, 154, 74, 0.08) 1px, transparent 1px);
  background-size: 84px 84px;
  inset: 0;
  opacity: 0.1;
  position: absolute;
  z-index: 2;
}

.hero-grid {
  align-items: center;
  display: grid;
  height: min(800px, 92svh);
  min-height: 660px;
  padding-top: 80px;
  position: relative;
  z-index: 3;
}

.hero-copy {
  max-width: 590px;
}

.eyebrow {
  color: #9d7433;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.06;
  margin: 0;
  text-wrap: balance;
}

h1 {
  color: var(--navy);
  font-size: clamp(3.1rem, 5.5vw, 5.25rem);
  line-height: 1.03;
}

h1 span {
  color: #b48339;
  display: block;
}

h2 {
  color: inherit;
  font-size: clamp(2rem, 3.15vw, 3.35rem);
}

h3 {
  font-size: clamp(1.2rem, 1.45vw, 1.45rem);
}

.hero-subhead {
  color: rgba(18, 35, 49, 0.74);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.75;
  margin: 28px 0 0;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 40px;
}

.button {
  align-items: center;
  border: 1px solid var(--line);
  display: inline-flex;
  font-family: var(--serif);
  font-size: 0.88rem;
  justify-content: center;
  min-height: 48px;
  padding: 13px 24px;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  border-color: var(--gold-light);
  transform: translateY(-2px);
}

.button.primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #120d08;
}

.button.ghost {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.48);
}

.trust-bar {
  background: #fffaf1;
  border-bottom: 1px solid rgba(18, 35, 49, 0.08);
  border-top: 1px solid rgba(18, 35, 49, 0.08);
}

.trust-grid {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(6, 1fr);
}

.trust-grid div {
  border-left: 1px solid rgba(18, 35, 49, 0.1);
  color: rgba(18, 35, 49, 0.86);
  font-family: var(--serif);
  min-height: 150px;
  padding: 28px 22px;
  text-transform: uppercase;
}

.trust-grid div:last-child {
  border-right: 1px solid rgba(18, 35, 49, 0.1);
}

.trust-grid span {
  color: var(--gold);
  display: block;
  font-family: var(--sans);
  font-size: 0.78rem;
  margin-bottom: 4px;
}

.section {
  padding: clamp(76px, 8vw, 122px) 0;
}

.light-section {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(245, 240, 232, 0.94)),
    radial-gradient(circle at 90% 10%, rgba(199, 154, 74, 0.12), transparent 28%);
  color: var(--ink);
}

.platform-section {
  background:
    linear-gradient(180deg, #fffaf1 0%, #f5f0e8 100%);
  color: var(--navy);
}

.split {
  align-items: center;
  display: grid;
  gap: clamp(36px, 6vw, 84px);
  grid-template-columns: 0.78fr 1fr;
}

.section-copy p:not(.eyebrow),
.philosophy-copy p,
.contact-card p,
.site-footer p {
  color: var(--muted-dark);
  margin: 22px 0 0;
}

.platform-section .section-copy p,
.platform-section .section-heading,
.philosophy-copy p,
.contact-card p,
.site-footer p {
  color: rgba(18, 35, 49, 0.68);
}

.section-copy h2::after,
.section-heading h2::after,
.large-quote h2::after {
  background: var(--gold);
  content: "";
  display: block;
  height: 2px;
  margin-top: 24px;
  width: 46px;
}

.image-panel {
  box-shadow: var(--shadow);
  min-height: 340px;
  overflow: hidden;
  position: relative;
}

.image-panel img {
  height: 100%;
  min-height: 390px;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.image-panel::after {
  background: linear-gradient(135deg, rgba(255, 250, 241, 0.05), rgba(18, 35, 49, 0.08));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

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

.section-heading h2::after {
  margin-left: auto;
  margin-right: auto;
}

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

.service-card {
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(18, 35, 49, 0.1);
  box-shadow: 0 20px 60px rgba(18, 35, 49, 0.06);
  min-height: 260px;
  padding: 32px 24px;
  position: relative;
  transition: background 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(230, 191, 115, 0.62);
  transform: translateY(-5px);
}

.card-icon {
  color: var(--gold-light);
  display: block;
  font-family: var(--serif);
  margin-bottom: 22px;
}

.service-card p {
  color: rgba(18, 35, 49, 0.66);
  font-size: 0.92rem;
  line-height: 1.68;
}

.philosophy {
  background:
    linear-gradient(90deg, rgba(18, 35, 49, 0.96), rgba(18, 35, 49, 0.9)),
    radial-gradient(circle at 18% 18%, rgba(230, 191, 115, 0.16), transparent 28%),
    var(--navy);
  color: var(--white);
}

.philosophy .eyebrow {
  color: var(--gold-light);
}

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

.philosophy-copy p {
  color: rgba(255, 250, 242, 0.78);
}

.philosophy-grid {
  display: grid;
  gap: clamp(34px, 6vw, 90px);
  grid-template-columns: 0.9fr 1fr;
}

.contact-section {
  background:
    linear-gradient(rgba(255, 250, 241, 0.92), rgba(255, 250, 241, 0.95)),
    url("assets/images/hero-light.png") center / cover;
  color: var(--navy);
}

.contact-grid {
  align-items: start;
  display: grid;
  gap: clamp(34px, 6vw, 88px);
  grid-template-columns: 1fr 0.8fr;
}

.contact-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(18, 35, 49, 0.1);
  box-shadow: 0 24px 70px rgba(18, 35, 49, 0.08);
  padding: clamp(28px, 4vw, 46px);
  backdrop-filter: blur(14px);
}

.contact-card > a:first-child {
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.05vw, 1.72rem);
  line-height: 1.2;
  overflow-wrap: normal;
  word-break: normal;
}

.disclaimer {
  background: #f6f1e9;
  color: var(--ink);
  padding: 34px 0;
}

.disclaimer h2 {
  color: var(--muted-dark);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.disclaimer p {
  color: var(--muted-dark);
  font-size: 0.88rem;
  margin: 0;
}

.site-footer {
  background: #070c10;
  border-top: 1px solid rgba(199, 154, 74, 0.24);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  gap: 42px;
  grid-template-columns: 1.4fr 0.7fr 0.7fr;
}

.footer-logo {
  margin-bottom: 18px;
}

.site-footer h2 {
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.site-footer a {
  color: rgba(255, 250, 242, 0.72);
  display: block;
  margin: 8px 0;
  transition: color 160ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--gold-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 250, 242, 0.54);
  display: flex;
  font-size: 0.82rem;
  justify-content: space-between;
  margin-top: 36px;
  padding-top: 22px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes slowDrift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.5%, -1%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1040px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    background: rgba(255, 250, 241, 0.98);
    border: 1px solid rgba(18, 35, 49, 0.12);
    display: grid;
    gap: 0;
    min-width: min(360px, calc(100vw - 48px));
    opacity: 0;
    padding: 14px;
    pointer-events: none;
    position: absolute;
    right: 24px;
    top: 82px;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-menu a {
    padding: 13px 10px;
  }

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

  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 720px) {
  .container,
  .nav-shell {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero,
  .hero-grid {
    height: auto;
    min-height: 680px;
  }

  .hero-media::before {
    background:
      linear-gradient(90deg, rgba(255, 250, 241, 0.96) 0%, rgba(255, 250, 241, 0.82) 100%),
      linear-gradient(0deg, rgba(255, 250, 241, 0.98) 0%, rgba(255, 250, 241, 0.32) 46%);
  }

  .hero-media img {
    object-position: 67% center;
  }

  .trust-grid,
  .card-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid div,
  .trust-grid div:last-child {
    border-left: 0;
    border-right: 0;
    border-top: 1px solid rgba(18, 35, 49, 0.1);
    padding: 18px 0;
  }

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

  .button {
    width: 100%;
  }

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