:root {
  --navy: #0a2540;
  --gold: #d4af37;
  --cream: #f7f5f0;
  --ink: #0a2540;
  --muted: rgba(10, 37, 64, 0.72);
  --white: #ffffff;
  --header-h: 14rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Montserrat", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--navy);
  padding: 0.75rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  height: var(--header-h);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 2.75rem clamp(1.25rem, 4vw, 3rem) 0.75rem;
  z-index: 20;
  background: transparent;
  color: var(--white);
}

.brand {
  flex-shrink: 0;
}

.brand img {
  height: clamp(10rem, 28vw, 16rem);
  width: auto;
  max-width: none;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  background: transparent;
  margin-top: 0.75rem;
  filter:
    drop-shadow(0 0 6px rgba(255, 255, 255, 0.95))
    drop-shadow(0 0 18px rgba(255, 236, 180, 0.9))
    drop-shadow(0 0 36px rgba(212, 175, 55, 0.75))
    drop-shadow(0 0 56px rgba(212, 175, 55, 0.45));
}

.header-cta {
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid transparent;
  padding-bottom: 0.15rem;
  transition: border-color 0.3s var(--ease);
}

.header-cta:hover,
.header-cta:focus-visible {
  border-color: var(--gold);
  outline: none;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.25rem;
}

.header-nav a {
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid transparent;
  padding-bottom: 0.15rem;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.header-nav a:hover,
.header-nav a:focus-visible,
.header-nav a[aria-current="page"] {
  color: var(--gold);
  border-color: var(--gold);
  outline: none;
}

.header-nav .header-cta {
  margin: 0;
  color: var(--gold);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
}

/* About page */
.site-header--solid {
  position: relative;
  height: auto;
  min-height: 0;
  align-items: center;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem);
  background: var(--navy);
}

.site-header--solid .brand img {
  height: clamp(4.5rem, 12vw, 6.5rem);
  margin-top: 0;
}

.site-header--solid .header-nav {
  margin-top: 0;
}

.page-about {
  background: var(--cream);
}

.about-hero {
  padding: clamp(3.5rem, 8vh, 5.5rem) clamp(1.25rem, 4vw, 3rem) clamp(2.5rem, 5vh, 3.5rem);
  max-width: 44rem;
  margin: 0 auto;
}

.about-hero h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.about-lead {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 500;
  color: var(--muted);
  line-height: 1.55;
}

.about-story {
  background: var(--white);
  max-width: none;
  padding-left: max(clamp(1.25rem, 4vw, 3rem), calc((100% - 42rem) / 2));
  padding-right: max(clamp(1.25rem, 4vw, 3rem), calc((100% - 42rem) / 2));
}

.about-story p {
  max-width: 42rem;
}

.why-intro {
  color: rgba(255, 255, 255, 0.82) !important;
  margin-bottom: 0.5rem !important;
  max-width: 40rem;
}

.about-close {
  text-align: center;
  max-width: none;
  background: var(--white);
  padding-left: clamp(1.25rem, 4vw, 3rem);
  padding-right: clamp(1.25rem, 4vw, 3rem);
}

.about-close h2 {
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}

.about-close p {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.75rem;
}

.phone-link {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(10, 37, 64, 0.3);
  transition: border-color 0.25s var(--ease);
}

.phone-link:hover,
.phone-link:focus-visible {
  border-bottom-color: currentColor;
  outline: none;
}

.header-nav .header-cta {
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 20%;
}

.hero-overlay {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(40rem, 100%);
  padding: calc(var(--header-h) + 2rem) clamp(1.25rem, 4vw, 3rem) clamp(3rem, 8vh, 5rem);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.75), 0 1px 4px rgba(0, 0, 0, 0.9);
}

.hero-brand {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 3.8vw, 2.35rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.15;
  max-width: 18ch;
}

.hero-brand::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 2px;
  margin-top: 0.85rem;
  background: var(--gold);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 18ch;
}

.hero-sub {
  margin: 0 0 2rem;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  max-width: 36ch;
  line-height: 1.45;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.95rem 1.6rem;
  border: 1px solid var(--gold);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.btn:hover,
.btn:focus-visible {
  background: transparent;
  color: var(--gold);
  outline: none;
}

.btn-dark {
  background: var(--navy);
  color: var(--gold);
  border-color: var(--navy);
}

.btn-dark:hover,
.btn-dark:focus-visible {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.section {
  padding: clamp(4rem, 10vh, 7rem) clamp(1.25rem, 4vw, 3rem);
  max-width: 42rem;
  margin: 0 auto;
}

.section h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.eyebrow {
  margin: 0 0 0.75rem !important;
  font-size: 0.75rem !important;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold) !important;
}

.authority {
  background: var(--white);
  max-width: none;
  padding-left: max(clamp(1.25rem, 4vw, 3rem), calc((100% - 42rem) / 2));
  padding-right: max(clamp(1.25rem, 4vw, 3rem), calc((100% - 42rem) / 2));
}

.why {
  background: var(--navy);
  color: var(--white);
  max-width: none;
  padding-left: max(clamp(1.25rem, 4vw, 3rem), calc((100% - 42rem) / 2));
  padding-right: max(clamp(1.25rem, 4vw, 3rem), calc((100% - 42rem) / 2));
}

.why h2,
.why .eyebrow {
  color: var(--white) !important;
}

.why .eyebrow {
  color: var(--gold) !important;
}

.benefit-list,
.result-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.benefit-list li,
.result-list li {
  padding-left: 1.25rem;
  border-left: 2px solid var(--gold);
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.02rem;
}

.benefit-list strong {
  color: var(--white);
  font-weight: 600;
}

.results {
  background: var(--cream);
}

.result-list li {
  color: var(--muted);
  border-left-color: var(--gold);
}

.close {
  text-align: center;
  max-width: none;
  background: var(--white);
  padding-left: clamp(1.25rem, 4vw, 3rem);
  padding-right: clamp(1.25rem, 4vw, 3rem);
}

.close h2 {
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}

.close p {
  margin-bottom: 1.75rem;
}

/* Shared Contact Us block — large, sharp (no reveal blur) */
.contact-block {
  text-align: center;
  max-width: none;
  background: var(--white);
  padding: clamp(5rem, 12vh, 8rem) clamp(1.5rem, 5vw, 4rem);
  filter: none !important;
  opacity: 1 !important;
  transform: none !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.contact-block h2 {
  margin: 0 auto 1.5rem;
  max-width: 18ch;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy);
  text-shadow: none;
}

.contact-block p {
  margin: 0 auto 2.25rem;
  max-width: 36ch;
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.45;
  text-shadow: none;
}

.contact-block .btn-contact {
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  font-weight: 800;
  padding: 1.2rem 2.1rem;
  letter-spacing: 0.06em;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  padding: 1.75rem clamp(1.25rem, 4vw, 3rem);
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--gold);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration: underline;
  outline: none;
}

/* Subtle entrance only — never hide content */
html.js .reveal:not(.is-visible) {
  transform: translateY(0.75rem);
  filter: opacity(0.92);
}

html.js .reveal {
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js .reveal.is-visible {
  transform: none;
  filter: none;
}

@media (max-width: 700px) {
  :root {
    --header-h: 8.5rem;
  }

  .site-header {
    height: auto;
    min-height: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.85rem 1rem 0.75rem;
    background: linear-gradient(
      to bottom,
      rgba(10, 37, 64, 0.82) 0%,
      rgba(10, 37, 64, 0.35) 70%,
      transparent 100%
    );
  }

  .brand {
    max-width: 42%;
  }

  .brand img {
    height: 4.75rem;
    width: auto;
    max-width: 100%;
    margin-top: 0;
    object-fit: contain;
  }

  .header-nav {
    margin-top: 0;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.75rem 1.1rem;
  }

  .header-nav a {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
  }

  .header-nav .header-cta {
    white-space: normal;
  }

  .hero-media img {
    /* Keep the agent in frame on phones (not pushed off the left edge) */
    object-position: 40% 22%;
  }

  .hero-content {
    align-self: flex-end;
    width: 100%;
    padding: calc(var(--header-h) + 1rem) 1.1rem 2.25rem;
  }

  .hero-brand {
    font-size: clamp(1.05rem, 5.5vw, 1.35rem);
    max-width: none;
    letter-spacing: 0.08em;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(1.45rem, 7vw, 1.85rem);
  }

  .hero-sub {
    max-width: none;
    font-size: 1rem;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header--solid {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    background: var(--navy);
    gap: 0.75rem 1rem;
  }

  .site-header--solid .brand {
    max-width: 48%;
  }

  .site-header--solid .brand img {
    height: 3.75rem;
  }

  .site-header--solid .header-nav {
    width: auto;
    margin-left: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  html.js .reveal:not(.is-visible),
  html.js .reveal {
    transform: none;
    filter: none;
    transition: none;
  }
}
