:root {
  --navy: #11183a;
  --navy-2: #1d2454;
  --gold: #caa15a;
  --gold-2: #f0d38f;
  --black: #080a10;
  --slate: #4b5b73;
  --cream: #f6edcf;
  --paper: #fffaf0;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(8, 10, 16, 0.18);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1160px, calc(100% - 40px));
  --site-header-height: clamp(132px, 14.5vw, 172px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--black);
  background:
    radial-gradient(circle at 8% 10%, rgba(202, 161, 90, 0.16), transparent 28rem),
    linear-gradient(180deg, #fffdf6 0%, #f7f1de 48%, #fffaf0 100%);
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section-pad {
  padding: 110px 0;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 10px clamp(20px, 4vw, 48px);
  color: var(--navy);
  background: var(--white);
  border: none;
  border-bottom: 1px solid rgba(202, 161, 90, 0.35);
  border-radius: 0;
  box-shadow:
    0 10px 40px rgba(17, 24, 58, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  backdrop-filter: none;
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.site-header.is-scrolled {
  background: var(--white);
  box-shadow:
    0 14px 48px rgba(17, 24, 58, 0.12),
    0 0 0 1px rgba(202, 161, 90, 0.22);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 19px;
  min-width: 0;
  -webkit-tap-highlight-color: transparent;
  border-radius: 999px;
}

.brand-lockup {
  position: relative;
  display: inline-block;
  min-width: 0;
  line-height: 0;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.brand-mark {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 134px;
  height: 134px;
  overflow: hidden;
  background: var(--navy-2);
  border: 2px solid rgba(202, 161, 90, 0.55);
  border-radius: 50%;
  box-shadow:
    0 4px 14px rgba(17, 24, 58, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.brand-mark img {
  display: block;
  width: 118px;
  height: 118px;
  object-fit: contain;
  object-position: center;
}

.brand-wordmark {
  display: block;
  width: auto;
  height: clamp(65px, 11.4vw, 115px);
  max-width: min(600px, 76vw);
  object-fit: contain;
  object-position: center;
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.28s ease;
}

.brand-tagline {
  position: absolute;
  left: 47%;
  bottom: 18%;
  z-index: 1;
  width: max-content;
  max-width: 74%;
  margin: 0;
  padding: 0;
  color: rgba(17, 24, 58, 0.72);
  font-size: clamp(0.42rem, 1.05vw, 0.6rem);
  letter-spacing: 0.15em;
  text-align: center;
  text-transform: uppercase;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  transform: translateX(-50%);
  transition: color 0.25s ease;
}

.brand:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
  .brand:hover .brand-mark {
    transform: scale(1.05);
    border-color: rgba(202, 161, 90, 0.85);
    box-shadow:
      0 8px 26px rgba(17, 24, 58, 0.22),
      0 0 0 2px rgba(202, 161, 90, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.15);
  }

  .brand:hover .brand-lockup {
    transform: scale(1.045) translateY(-2px);
  }

  .brand:hover .brand-wordmark {
    filter: brightness(0.97) contrast(1.04);
  }

  .brand:hover .brand-tagline {
    color: var(--navy);
  }
}

.brand:active .brand-mark {
  transform: scale(0.96);
  transition-duration: 0.12s;
}

.brand:active .brand-lockup {
  transform: scale(0.97);
  transition-duration: 0.12s;
}

.brand:active .brand-wordmark {
  transition-duration: 0.12s;
}

.brand:active .brand-tagline {
  opacity: 0.9;
  transition-duration: 0.12s;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  padding: 9px 16px;
  border-radius: 999px;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav a:hover {
  color: var(--navy-2);
  background: rgba(17, 24, 58, 0.06);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(17, 24, 58, 0.06);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.hero.section-pad {
  padding-top: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
  transform: scale(1.02);
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-color: var(--navy);
  background-position: center -50%;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.35s ease;
  z-index: 1;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 2;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(
      90deg,
      rgba(17, 24, 58, 0.72) 0%,
      rgba(17, 24, 58, 0.48) 42%,
      rgba(17, 24, 58, 0.12) 100%
    );
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none;
  }
}

.hero::after {
  position: absolute;
  right: -10%;
  bottom: -22%;
  z-index: 0;
  width: 52vw;
  height: 52vw;
  content: "";
  background: radial-gradient(circle, rgba(240, 211, 143, 0.24), transparent 62%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(0, 1.05fr) 420px;
  gap: 54px;
  align-items: center;
  padding-top: calc(var(--site-header-height) + clamp(12px, 2vw, 24px));
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: "Cormorant Garamond", serif;
  line-height: 0.92;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(4rem, 9vw, 7.6rem);
  letter-spacing: -0.065em;
}

.hero h1 {
  text-shadow:
    0 2px 44px rgba(17, 24, 58, 0.68),
    0 1px 5px rgba(17, 24, 58, 0.55);
}

.hero .eyebrow {
  text-shadow: 0 1px 22px rgba(17, 24, 58, 0.55);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-text {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.13rem;
  line-height: 1.8;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 14px 40px rgba(202, 161, 90, 0.28);
}

.btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
}

.hero-card {
  padding: 28px;
  background: rgba(255, 250, 240, 0.95);
  border: 1px solid rgba(240, 211, 143, 0.45);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  color: var(--navy);
}

.broker-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(17, 24, 58, 0.12);
}

.broker-photo {
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  color: var(--cream);
  background: linear-gradient(145deg, var(--navy), var(--navy-2));
  border: 2px solid var(--gold);
  border-radius: 24px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 700;
}

.label {
  margin-bottom: 8px;
  color: var(--slate);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.broker-card h2 {
  margin-bottom: 4px;
  font-size: 2.2rem;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 22px;
}

.metric-row div {
  padding: 18px 12px;
  background: rgba(202, 161, 90, 0.12);
  border-radius: 18px;
  text-align: center;
}

.metric-row strong,
.metric-row span {
  display: block;
}

.metric-row strong {
  color: var(--navy);
  font-size: 1.05rem;
}

.metric-row span {
  margin-top: 6px;
  color: var(--slate);
  font-size: 0.76rem;
}

.trust-strip {
  padding: 26px 0;
  background: var(--paper);
  border-bottom: 1px solid rgba(17, 24, 58, 0.08);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.trust-grid span {
  padding: 14px;
  color: var(--navy);
  border: 1px solid rgba(202, 161, 90, 0.28);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 800;
  text-align: center;
}

.section-heading {
  max-width: 720px;
}

.section-heading p:not(.eyebrow) {
  color: var(--slate);
  font-size: 1.04rem;
  line-height: 1.8;
}

.navy-panel {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(17, 24, 58, 0.98), rgba(29, 36, 84, 0.94)),
    radial-gradient(circle at 80% 20%, rgba(240, 211, 143, 0.2), transparent 24rem);
}

.navy-panel .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.services-intro {
  max-width: 720px;
}

.service-panes {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  margin-top: 44px;
  /* Equal row height so all three panes match */
  grid-auto-rows: clamp(316px, 40vw, 384px);
}

.service-pane {
  width: 100%;
  display: flex;
  min-height: 0;
}

.service-pane:nth-child(odd) {
  justify-content: flex-start;
}

.service-pane:nth-child(even) {
  justify-content: flex-end;
}

.service-pane-inner {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 22px;
  flex: 1;
  width: 100%;
  min-height: 0;
  height: 100%;
  max-width: min(980px, calc(100% - 20px));
  padding: 16px 18px 16px 20px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(202, 161, 90, 0.38);
  background:
    linear-gradient(155deg, #fefdfb 0%, #f7f2e8 42%, #faf7ef 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 10px 36px rgba(17, 24, 58, 0.07),
    0 2px 10px rgba(17, 24, 58, 0.04);
  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.38s ease,
    border-color 0.38s ease;
}

.service-pane:nth-child(odd) .service-pane-inner {
  margin-right: clamp(28px, 7vw, 80px);
  margin-left: 0;
}

.service-pane:nth-child(even) .service-pane-inner {
  margin-left: clamp(28px, 7vw, 80px);
  margin-right: 0;
}

.service-pane-inner:hover {
  transform: translateY(-5px);
  border-color: rgba(202, 161, 90, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 18px 48px rgba(17, 24, 58, 0.11),
    0 4px 14px rgba(202, 161, 90, 0.14),
    0 0 0 1px rgba(202, 161, 90, 0.12);
}

.service-pane-media {
  position: relative;
  flex: 0 0 clamp(176px, 28vw, 264px);
  width: clamp(176px, 28vw, 264px);
  min-height: 0;
  overflow: hidden;
  margin: 0;
  align-self: stretch;
  border-radius: 18px;
  border: 1px solid rgba(202, 161, 90, 0.28);
  box-shadow: 0 8px 28px rgba(17, 24, 58, 0.12);
  order: 2;
}

.service-pane-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-pane-inner:hover .service-pane-media img {
  transform: scale(1.06);
}

.service-pane-body {
  flex: 1;
  min-width: 0;
  min-height: 0;
  padding: 12px 10px 12px 6px;
  order: 1;
  border-top: none;
  border-left: none;
  border-right: 3px solid var(--gold);
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow-y: auto;
  scrollbar-gutter: stable;
}

.service-pane-body h3 {
  margin: 0 0 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
}

.service-pane-inner:hover .service-pane-body h3 {
  color: var(--gold);
}

.service-pane-body p {
  margin: 0 0 10px;
  color: var(--slate);
  font-size: 0.94rem;
  line-height: 1.68;
}

.service-pane-body p:last-of-type {
  margin-bottom: 0;
}

.service-pane-cta {
  align-self: flex-start;
  margin-top: auto;
  flex-shrink: 0;
  min-height: 48px;
  padding: 0 20px;
  font-size: 0.88rem;
}

#contactForm {
  scroll-margin-top: calc(var(--site-header-height) + 16px);
}

@media (prefers-reduced-motion: reduce) {
  .service-pane-inner,
  .service-pane-media img,
  .service-pane-body h3 {
    transition: none;
  }

  .service-pane-inner:hover {
    transform: none;
  }

  .service-pane-inner:hover .service-pane-media img {
    transform: none;
  }

  .brand-mark,
  .brand-wordmark,
  .brand-tagline {
    transition: none;
  }

  @media (hover: hover) and (pointer: fine) {
    .brand:hover .brand-mark,
    .brand:hover .brand-lockup,
    .brand:hover .brand-tagline {
      transform: none;
      filter: none;
    }
  }

  .brand:active .brand-mark,
  .brand:active .brand-lockup,
  .brand:active .brand-tagline {
    transform: none;
  }
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: stretch;
}

.about-card,
.promise-card,
.contact-form {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(202, 161, 90, 0.24);
  box-shadow: 0 18px 60px rgba(8, 10, 16, 0.08);
  backdrop-filter: blur(14px);
}

.about-card {
  padding: 36px;
  border-radius: var(--radius-xl);
}

.about-card p {
  color: var(--slate);
  line-height: 1.8;
}

.contact-mini {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-mini a {
  color: var(--navy);
  font-weight: 800;
}

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

.promise-card {
  padding: 28px;
  border-radius: var(--radius-lg);
}

.promise-card p {
  color: var(--slate);
  line-height: 1.7;
}

.about-page .section-heading {
  margin-bottom: 28px;
}

.company-lead {
  max-width: 920px;
  margin: 0 0 40px;
  color: var(--slate);
  font-size: 1.08rem;
  line-height: 1.85;
}

.why-us-block {
  max-width: 920px;
  margin-bottom: 44px;
}

.why-us-block h3 {
  margin-bottom: 14px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--navy);
  letter-spacing: -0.02em;
}

.why-us-block p {
  margin: 0;
  color: var(--slate);
  font-size: 1.04rem;
  line-height: 1.8;
}

.vision-mission-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-bottom: 48px;
}

.vm-card {
  padding: 28px 30px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(202, 161, 90, 0.24);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 60px rgba(8, 10, 16, 0.08);
  backdrop-filter: blur(14px);
}

.vm-card h3 {
  margin-bottom: 14px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.75rem;
  color: var(--navy);
}

.vm-card p {
  margin: 0;
  color: var(--slate);
  line-height: 1.75;
}

.values-heading {
  margin-bottom: 22px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  color: var(--navy);
  letter-spacing: -0.02em;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}

.value-card {
  padding: 26px 28px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(202, 161, 90, 0.24);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 60px rgba(8, 10, 16, 0.08);
  backdrop-filter: blur(14px);
}

.value-card h4 {
  margin: 0 0 12px;
  font-size: 1.1rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.value-card p {
  margin: 0;
  color: var(--slate);
  font-size: 0.98rem;
  line-height: 1.75;
}

.about-grid--team {
  margin-top: 8px;
}

.team-aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px;
  background: rgba(17, 24, 58, 0.04);
  border: 1px solid rgba(202, 161, 90, 0.24);
  border-radius: var(--radius-xl);
}

.team-aside-label {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.team-aside p {
  margin: 0 0 22px;
  color: var(--slate);
  line-height: 1.75;
}

.btn-inline {
  align-self: flex-start;
}

.cta-band {
  padding: 54px 0;
  color: var(--white);
  background: var(--navy);
}

.cta-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-grid h2 {
  margin-bottom: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.9fr);
  gap: 44px;
  align-items: start;
}

.contact-form {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 30px;
  border-radius: var(--radius-xl);
}

/* Honeypot — hidden from users, visible to naive bots */
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  pointer-events: none;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-form-row label {
  min-width: 0;
}

.form-required-note {
  margin: 0;
  color: var(--slate);
  font-size: 0.8rem;
  font-weight: 600;
}

.field-required {
  margin-left: 3px;
  color: #b42318;
  font-weight: 800;
  text-decoration: none;
  cursor: help;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 800;
}

.field-label {
  display: block;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(17, 24, 58, 0.14);
  border-radius: 16px;
  padding: 15px 16px;
  color: var(--black);
  background: rgba(255, 255, 255, 0.9);
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(202, 161, 90, 0.16);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--slate);
  font-size: 0.92rem;
  font-weight: 700;
}

.form-status[data-state="success"] {
  color: #17663c;
}

.form-status[data-state="error"] {
  color: #9f2f2f;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.footer {
  padding: 26px 0 20px;
  color: rgba(255, 255, 255, 0.74);
  background: var(--navy);
}

.footer-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-grid {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 16px;
  min-height: clamp(132px, 17vw, 160px);
}

.footer-brand {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  align-self: stretch;
  min-width: clamp(120px, 20vw, 220px);
  max-width: 34%;
  border-radius: 50%;
  -webkit-tap-highlight-color: transparent;
}

.footer-brand:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.footer-logo {
  display: block;
  flex-shrink: 0;
  width: min(100%, clamp(120px, 18vw, 168px));
  height: min(100%, clamp(120px, 18vw, 168px));
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 3px 16px rgba(202, 161, 90, 0.22));
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.28s ease;
}

@media (hover: hover) and (pointer: fine) {
  .footer-brand:hover .footer-logo {
    transform: scale(1.06) translateY(-2px);
    filter: drop-shadow(0 8px 28px rgba(202, 161, 90, 0.42));
  }
}

.footer-brand:active .footer-logo {
  transform: scale(0.96);
  transition-duration: 0.12s;
}

.footer-qr {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
}

.footer-qr img {
  display: block;
  width: clamp(108px, 14vw, 128px);
  height: clamp(108px, 14vw, 128px);
  object-fit: contain;
  background: var(--white);
  border: 2px solid rgba(240, 211, 143, 0.45);
  border-radius: 8px;
  padding: 8px;
  box-shadow: 0 4px 16px rgba(8, 10, 16, 0.2);
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.footer-qr-label {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-contact {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  text-align: right;
}

.footer-contact a {
  display: block;
  margin: 3px 0;
  text-align: right;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: var(--gold-2);
}

.footer-bottom {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: var(--gold-2);
  border: 1px solid rgba(240, 211, 143, 0.35);
  border-radius: 50%;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer-social-link:hover {
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  border-color: transparent;
  transform: translateY(-2px);
}

.footer-social-link svg {
  width: 18px;
  height: 18px;
}

.footer-copy {
  margin: 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.58);
}

.footer-legal-link {
  justify-self: end;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-legal-link:hover {
  color: var(--gold-2);
}

.legal-page {
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 100vh;
  color: var(--black);
  background: linear-gradient(180deg, #fffdf6 0%, #f7f1de 48%, #fffaf0 100%);
}

.legal-header {
  padding: 20px 0;
  border-bottom: 1px solid rgba(17, 24, 58, 0.08);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
}

.legal-back {
  display: inline-block;
  font-weight: 800;
  color: var(--navy);
}

.legal-back:hover {
  color: var(--gold);
}

.legal-main {
  flex: 1;
  padding: 48px 0 64px;
}

.legal-main h1 {
  margin: 0 0 12px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  color: var(--navy);
}

.legal-meta {
  margin: 0 0 40px;
  color: var(--slate);
  font-size: 0.95rem;
}

.legal-main section {
  margin-bottom: 32px;
}

.legal-main h2 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  color: var(--navy);
}

.legal-main p {
  margin: 0;
  color: var(--slate);
  line-height: 1.75;
}

.legal-main a {
  color: var(--navy);
  font-weight: 700;
}

.legal-footer {
  padding: 24px 0;
  margin-top: auto;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  font-size: 0.88rem;
  background: var(--black);
}

.legal-footer p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (max-width: 960px) {
  .section-pad {
    padding: 84px 0;
  }

  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-row {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 34px;
    padding-top: calc(var(--site-header-height) + clamp(12px, 2vw, 20px));
    padding-bottom: 64px;
  }

  .hero-card {
    max-width: 520px;
  }

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

  .vision-mission-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --container: min(100% - 28px, 1160px);
    --site-header-height: clamp(92px, 20vw, 108px);
  }

  .site-header {
    padding: 8px 16px;
  }

  .brand-tagline {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: 116px 14px auto;
    display: grid;
    padding: 16px;
    background: var(--white);
    border: 1px solid rgba(202, 161, 90, 0.35);
    border-radius: 24px;
    box-shadow:
      0 18px 48px rgba(17, 24, 58, 0.12),
      0 0 0 1px rgba(17, 24, 58, 0.04);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

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

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

  .nav a:hover {
    background: rgba(17, 24, 58, 0.06);
  }

  h1 {
    font-size: clamp(3.4rem, 16vw, 5rem);
  }

  .hero-actions,
  .cta-grid,
  .footer-grid {
    align-items: center;
    flex-direction: column;
    min-height: 0;
  }

  .footer-brand {
    flex: none;
    justify-content: center;
    max-width: none;
    width: 100%;
  }

  .footer-logo {
    width: clamp(140px, 42vw, 200px);
    height: clamp(140px, 42vw, 200px);
    object-position: center;
  }

  .footer-qr {
    align-items: flex-start;
  }

  .footer-contact {
    align-items: flex-start;
    width: 100%;
  }

  .footer-contact {
    text-align: left;
  }

  .footer-contact a {
    text-align: left;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .service-pane {
    justify-content: stretch;
  }

  .service-pane:nth-child(odd) .service-pane-inner,
  .service-pane:nth-child(even) .service-pane-inner {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
  }

  .service-panes {
    display: flex;
    flex-direction: column;
    gap: 22px;
  }

  .service-pane-inner {
    flex-direction: column;
    flex: none;
    /* Fixed equal card height when stacked */
    height: clamp(400px, min(72vw, 88vh), 540px);
    min-height: 0;
    min-width: 0;
    padding: 14px;
    gap: 14px;
  }

  .service-pane-media {
    order: 1;
    flex: none;
    width: 100%;
    max-width: 100%;
    min-height: 180px;
    max-height: 240px;
    height: clamp(180px, 42vw, 240px);
    align-self: stretch;
    border-radius: 18px;
  }

  .service-pane-media img {
    min-height: 100%;
  }

  .service-pane-body {
    order: 2;
    flex: 1;
    border-right: none;
    border-top: 3px solid var(--gold);
    padding: 8px 6px 12px;
    min-height: 0;
    overflow-y: auto;
    scrollbar-gutter: auto;
  }

  .service-pane-body h3 {
    font-size: clamp(1.45rem, 4.2vw, 1.7rem);
  }

  .footer-copy {
    order: 2;
  }

  .footer-legal-link {
    justify-self: center;
    order: 3;
  }

  .footer-social {
    order: 1;
    justify-content: center;
  }

  .brand-mark {
    width: 101px;
    height: 101px;
    border-width: 2px;
  }

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

  .brand-wordmark {
    height: clamp(55px, 16.8vw, 91px);
    max-width: min(360px, 60vw);
  }

  .metric-row,
  .trust-grid {
    grid-template-columns: 1fr;
  }

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