/* =========================================================================
   Ballantyne Title — Stylesheet
   Mobile-first. Single source of brand tokens. No hardcoded brand hex
   anywhere except :root. No remote @import.
   ========================================================================= */

:root {
  /* Brand palette — navy + sky only. No cream, no warm tones. */
  --brand-primary:    #00305B;  /* sampled — deep navy */
  --brand-primary-700:#002145;
  --brand-primary-50: #e8eef5;
  --brand-secondary:  #B5CFE6;  /* sampled — soft sky */
  --brand-secondary-200:#d4e3f1;
  --brand-accent:     #2f6db0;  /* deeper sky-blue for JV CTAs */
  --brand-accent-700: #1f5896;
  --brand-ink:        #1a1a1a;
  --brand-muted:      #5b6b7c;
  --brand-bg:         #ffffff;
  --brand-bg-soft:    #dde8f3;  /* deeper pale navy section bg */
  --brand-bg-tint:    #eaf0f7;  /* pale navy tint */
  --brand-border:     #c8d6e5;  /* cool gray-blue */
  --brand-success:    #2e7d4f;
  --brand-danger:     #b1392a;

  --shadow-sm: 0 1px 2px rgba(0,48,91,.06), 0 1px 3px rgba(0,48,91,.04);
  --shadow-md: 0 6px 18px rgba(0,48,91,.08), 0 2px 6px rgba(0,48,91,.04);
  --shadow-lg: 0 18px 48px rgba(0,48,91,.14), 0 4px 12px rgba(0,48,91,.06);

  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --font-serif: "Source Serif Pro", "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --header-h: 64px;
}

@media (min-width: 1100px) {
  :root { --header-h: 76px; }
}

/* ---------- Reset / base ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1rem, 0.5vw + 0.95rem, 1.125rem);
  line-height: 1.65;
  color: var(--brand-ink);
  background: var(--brand-bg);
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}

img,
svg,
video { display: block; max-width: 100%; height: auto; }

a {
  color: var(--brand-primary);
  text-decoration-color: rgba(0, 48, 91, 0.35);
  text-underline-offset: 2px;
  transition: color .15s ease, text-decoration-color .15s ease;
}
a:hover { text-decoration-color: var(--brand-primary); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--brand-primary);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2rem, 5vw + 1rem, 3.75rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.625rem, 3vw + 0.75rem, 2.5rem); }
h3 { font-size: clamp(1.25rem, 1.5vw + 0.85rem, 1.625rem); }
h4 { font-size: clamp(1.05rem, 0.5vw + 0.95rem, 1.25rem); font-weight: 600; }

p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: .35em; }

::selection { background: var(--brand-primary); color: #fff; }

/* Scroll anchor offset for sticky header */
section[id],
[id]:not(body) {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

/* ---------- Layout primitives ---------- */

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 20px;
}

@media (min-width: 768px)  { .container { padding-inline: 32px; } }
@media (min-width: 1100px) { .container { padding-inline: 40px; } }

.section { padding-block: 56px; }
@media (min-width: 768px)  { .section { padding-block: 80px; } }
@media (min-width: 1100px) { .section { padding-block: 104px; } }

.section--soft  { background: var(--brand-bg-soft); }
.section--tint  { background: var(--brand-bg-tint); }
.section--navy  { background: var(--brand-primary); color: #fff; }
.section--navy h1,
.section--navy h2,
.section--navy h3 { color: #fff; }
.section--navy a  { color: #fff; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-accent-700);
  margin-bottom: 12px;
}

.lead {
  font-size: clamp(1.1rem, 0.5vw + 1rem, 1.25rem);
  color: var(--brand-muted);
  max-width: 60ch;
}

.muted { color: var(--brand-muted); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;        /* tap target */
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:focus-visible {
  outline: 3px solid rgba(0, 48, 91, 0.25);
  outline-offset: 2px;
}
.btn:hover { transform: translateY(-1px); }

.btn--primary {
  background: var(--brand-primary);
  color: #fff;
}
.btn--primary:hover { background: var(--brand-primary-700); }

.btn--ghost {
  background: transparent;
  color: var(--brand-primary);
  border-color: rgba(0, 48, 91, 0.25);
}
.btn--ghost:hover { border-color: var(--brand-primary); background: rgba(0,48,91,.04); }

.btn--accent {
  background: var(--brand-accent);
  color: #fff;
}
.btn--accent:hover { background: var(--brand-accent-700); color: #fff; }

.btn--white {
  background: #fff;
  color: var(--brand-primary);
}
.btn--white:hover { background: var(--brand-secondary-200); }

.btn--block { width: 100%; }
@media (min-width: 768px) { .btn--block-sm { width: auto; } }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn-row .btn { width: 100%; }
@media (min-width: 480px) {
  .btn-row .btn { width: auto; }
}

/* ---------- Top phone band (sky gradient) ---------- */

.top-band {
  background: linear-gradient(90deg, var(--brand-secondary) 0%, var(--brand-secondary-200) 50%, #fff 100%);
  border-bottom: 1px solid rgba(0,48,91,.05);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-primary);
}
.top-band__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 32px;
  text-align: center;
  flex-wrap: wrap;
}
.top-band a {
  color: var(--brand-primary);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.04em;
}
.top-band a:hover { text-decoration: underline; }

/* Phone band — secondary nights & weekends row used on Home below hero */
.phone-band {
  background: var(--brand-primary-50);
  border-block: 1px solid rgba(0,48,91,.08);
}
.phone-band__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px 28px;
  flex-wrap: wrap;
  padding: 14px 16px;
  font-size: 0.88rem;
  color: var(--brand-primary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
}
.phone-band a { color: var(--brand-primary); text-decoration: none; }
.phone-band a:hover { text-decoration: underline; }
.phone-band span { color: var(--brand-muted); font-weight: 500; }

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--brand-border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: var(--header-h);
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--brand-primary);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  min-height: 44px;
  line-height: 1;
}
@media (min-width: 768px) {
  .site-header__brand { font-size: 1.75rem; }
}
@media (min-width: 1100px) {
  .site-header__brand { font-size: 2rem; }
}
.site-header__brand img,
.site-header__brand svg { height: 44px; width: auto; }
@media (min-width: 768px) {
  .site-header__brand img,
  .site-header__brand svg { height: 52px; }
}
.site-header__logo { display: block; height: 44px; width: auto; }
@media (min-width: 768px) { .site-header__logo { height: 52px; } }
.site-header__brand-name { line-height: 1; }
.site-header__brand-name small {
  display: block;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: var(--brand-muted);
  text-transform: uppercase;
  margin-top: 2px;
}

.nav {
  display: none;
}
.nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--brand-ink);
  text-decoration: none;
  border-radius: var(--radius-sm);
}
.nav__link:hover,
.nav__link[aria-current="page"] {
  color: var(--brand-primary);
  background: rgba(0,48,91,.05);
}

.nav__cta { margin-left: 6px; }

@media (min-width: 1024px) {
  .nav { display: block; }
  .nav-toggle { display: none; }
}

/* Hamburger */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--brand-border);
  background: #fff;
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle:focus-visible {
  outline: 3px solid rgba(0,48,91,.25);
  outline-offset: 2px;
}
.nav-toggle__bar {
  position: relative;
  width: 18px;
  height: 2px;
  background: var(--brand-primary);
  border-radius: 2px;
  display: block;
}
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--brand-primary);
  border-radius: 2px;
}
.nav-toggle__bar::before { top: -6px; }
.nav-toggle__bar::after  { top:  6px; }

/* Mobile overlay menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 60;
  display: flex;
  flex-direction: column;
  padding: 20px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  overflow-y: auto;
}
.mobile-menu[data-open="true"] {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  height: var(--header-h);
}
.mobile-menu__close {
  width: 44px;
  height: 44px;
  border: 1px solid var(--brand-border);
  background: #fff;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  color: var(--brand-primary);
}
.mobile-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu__link {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 14px 12px;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--brand-primary);
  text-decoration: none;
  border-bottom: 1px solid var(--brand-border);
}
.mobile-menu__cta {
  margin-top: 24px;
}
.mobile-menu__contact {
  margin-top: auto;
  padding-top: 24px;
  font-size: 0.95rem;
  color: var(--brand-muted);
}
.mobile-menu__contact a { color: var(--brand-primary); font-weight: 500; }

@media (min-width: 1024px) {
  .mobile-menu { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 56px 0 40px;
  background: linear-gradient(180deg, var(--brand-bg-tint) 0%, #fff 100%);
}
@media (min-width: 768px)  { .hero { padding: 88px 0 64px; } }
@media (min-width: 1100px) { .hero { padding: 112px 0 88px; } }

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
  }
}

.hero__art {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--brand-primary) 0%, #1a4a7a 100%);
}

.hero__art img,
.hero__art video,
.hero__art .image-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__title { margin-bottom: 16px; }
.hero__sub {
  font-size: clamp(1.05rem, 0.5vw + 1rem, 1.25rem);
  color: var(--brand-muted);
  max-width: 56ch;
  margin-bottom: 28px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 28px;
  font-size: 0.9rem;
  color: var(--brand-muted);
}
.hero__meta strong { color: var(--brand-ink); font-weight: 600; }

/* Hero variants */

.hero--image {
  padding: 0;
  background: none;
}
.hero--image .hero__media {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  min-height: 260px;
  max-height: 55vh;
  background: var(--brand-primary);
  overflow: hidden;
}
@media (min-width: 768px) { .hero--image .hero__media { aspect-ratio: 21 / 8; min-height: 320px; max-height: 60vh; } }
@media (min-width: 1100px) { .hero--image .hero__media { aspect-ratio: 21 / 7.5; min-height: 380px; max-height: 64vh; } }
.hero--image .hero__media img,
.hero--image .hero__media .image-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
.hero--image .hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,48,91,0.20) 0%, rgba(0,48,91,0.50) 100%);
}
.hero--image .hero__overlay {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 32px 0;
}
@media (min-width: 900px) {
  .hero--image .hero__overlay { grid-template-columns: 1fr 1fr; gap: 24px; padding: 56px 0; }
}
.hero-card {
  background: var(--brand-primary);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.12);
}
.hero-card--soft {
  background: rgba(0,48,91,0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero-card h1, .hero-card h2, .hero-card h3 { color: #fff; }
.hero-card .eyebrow { color: var(--brand-secondary); }
.hero-card p { color: rgba(255,255,255,0.9); }
.hero-card ul { padding-left: 1.1em; color: rgba(255,255,255,0.92); }
.hero-card ul li::marker { color: var(--brand-secondary); }
.hero-card .btn--white { width: 100%; }
@media (min-width: 480px) { .hero-card .btn--white { width: auto; } }

/* ---------- Cards ---------- */

.card {
  background: #fff;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.card:hover { box-shadow: var(--shadow-md); border-color: var(--brand-secondary); }
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--brand-primary-50);
  color: var(--brand-primary);
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.card__icon svg { width: 26px; height: 26px; }
.card__title {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.card__body {
  font-size: 0.95rem;
  color: var(--brand-muted);
  margin-bottom: 16px;
}
.card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--brand-primary);
  text-decoration: none;
  min-height: 44px;
}
.card__cta:hover { color: var(--brand-primary-700); }
.card__cta::after {
  content: "→";
  transition: transform .15s ease;
}
.card__cta:hover::after { transform: translateX(3px); }

/* ---------- Card grid ---------- */

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 480px)  { .grid { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (min-width: 900px)  { .grid--3 { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
@media (min-width: 900px)  { .grid--4 { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
@media (min-width: 1100px) { .grid    { gap: 28px; } }

.section-head {
  max-width: 60ch;
  margin: 0 auto 40px;
  text-align: center;
}
@media (min-width: 768px) { .section-head { margin-bottom: 56px; } }

/* ---------- Trust list ---------- */

.trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 600px) { .trust-list { grid-template-columns: 1fr 1fr; gap: 14px; } }
@media (min-width: 900px) { .trust-list { grid-template-columns: 1fr 1fr; gap: 16px; } }

.trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  font-weight: 500;
  margin-bottom: 0;
}
.trust-list li::before {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--brand-primary);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='4 12 10 18 20 7'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='4 12 10 18 20 7'/></svg>") center / contain no-repeat;
  margin-top: 2px;
}

/* ---------- Service grid (3x3 white-on-navy) ---------- */

.service-grid-section {
  background: linear-gradient(135deg, var(--brand-primary) 0%, #1a4a7a 60%, var(--brand-primary-700) 100%);
  color: #fff;
}
.service-grid-section h2,
.service-grid-section .eyebrow,
.service-grid-section p { color: #fff; }
.service-grid-section .eyebrow { color: var(--brand-secondary); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 600px)  { .service-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (min-width: 900px)  { .service-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }

.service-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius);
  padding: 22px 14px;
  min-height: 140px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background .15s ease, transform .15s ease, border-color .15s ease;
}
.service-tile:hover {
  background: rgba(255,255,255,0.10);
  border-color: var(--brand-secondary);
  transform: translateY(-2px);
}
.service-tile svg {
  width: 56px;
  height: 56px;
  stroke: #fff;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Underwriter logo strip ---------- */

.underwriters {
  background: #fff;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 20px;
  align-items: center;
  justify-items: center;
}
@media (min-width: 768px) {
  .underwriters {
    grid-template-columns: repeat(4, 1fr);
    padding: 36px 28px;
    gap: 32px;
  }
}
.underwriters img {
  max-height: 56px;
  width: auto;
  max-width: 100%;
  filter: grayscale(0.2);
  opacity: .92;
  transition: filter .15s ease, opacity .15s ease;
}
.underwriters img:hover { filter: none; opacity: 1; }

/* ---------- Forms ---------- */

.form-card {
  background: #fff;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 768px) { .form-card { padding: 36px; } }

.form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) { .form { grid-template-columns: 1fr 1fr; gap: 18px; } }

.form fieldset {
  border: none;
  margin: 0;
  padding: 0;
  grid-column: 1 / -1;
}
.form legend {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--brand-primary);
  margin-bottom: 12px;
  padding: 0;
}
.form fieldset .form-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) {
  .form fieldset .form-fields { grid-template-columns: 1fr 1fr; gap: 18px; }
}

.form-row,
.form-row--full { display: flex; flex-direction: column; gap: 6px; }
.form-row--full { grid-column: 1 / -1; }

.form-row label,
.form-row--full label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-ink);
}
.form-row input,
.form-row select,
.form-row textarea,
.form-row--full input,
.form-row--full select,
.form-row--full textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--brand-ink);
  background: #fff;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-row textarea,
.form-row--full textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.55;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus,
.form-row--full input:focus,
.form-row--full select:focus,
.form-row--full textarea:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(0, 48, 91, 0.15);
}
.form-row .hint,
.form-row--full .hint {
  font-size: 0.82rem;
  color: var(--brand-muted);
}

.form-disclaimer {
  grid-column: 1 / -1;
  font-size: 0.82rem;
  color: var(--brand-muted);
  background: var(--brand-bg-soft);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.form-submit-row {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}
@media (min-width: 768px) {
  .form-submit-row { flex-direction: row; align-items: center; }
  .form-submit-row .btn { width: auto; }
}

.form-note {
  grid-column: 1 / -1;
  font-size: 0.85rem;
  color: var(--brand-muted);
  border-left: 3px solid var(--brand-secondary);
  background: var(--brand-bg-tint);
  padding: 10px 14px;
  border-radius: 6px;
}

/* ---------- Tables-as-cards (services) ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 40px; }
}
.split--lead { grid-template-columns: 1fr; }
@media (min-width: 900px) { .split--lead { grid-template-columns: 0.95fr 1.05fr; } }

/* ---------- Accordion (Home Owners FAQ) ---------- */

.accordion { display: flex; flex-direction: column; gap: 12px; }
.accordion details {
  background: #fff;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  padding: 0;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.accordion summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 56px 18px 22px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--brand-primary);
  position: relative;
  min-height: 56px;
  display: flex;
  align-items: center;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 14px;
  height: 14px;
  border-right: 2px solid var(--brand-primary);
  border-bottom: 2px solid var(--brand-primary);
  transform: translateY(-65%) rotate(45deg);
  transition: transform .2s ease;
}
.accordion details[open] summary::after {
  transform: translateY(-25%) rotate(-135deg);
}
.accordion .accordion__body {
  padding: 0 22px 22px;
}
.accordion .accordion__body p:last-child { margin-bottom: 0; }
.accordion .accordion__body ul { padding-left: 1.2em; }

/* ---------- JV-page conversion blocks ---------- */

.jv-hero-card {
  margin-top: 32px;
  background: #fff;
  border: 1px solid var(--brand-border);
  border-left: 4px solid var(--brand-accent);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-md);
}
.jv-hero-card h3 { color: var(--brand-primary); }
.jv-hero-card p:last-child { margin-bottom: 0; }

.respa-conditions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 900px) { .respa-conditions { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.respa-conditions > li {
  background: #fff;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}
.respa-condition__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  min-width: 56px;
  background: var(--brand-primary);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  border-radius: 999px;
  margin: 0 auto 22px;
  box-shadow: 0 4px 12px rgba(0, 48, 91, 0.4);
}
.respa-condition__text {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--brand-ink);
  line-height: 1.6;
  letter-spacing: 0.04em;
  margin: 0;
  text-transform: uppercase;
}

/* ---------- Affiliated partners SEO accordion ---------- */

.affiliated-details {
  background: #fff;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  margin-top: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.affiliated-details summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 24px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--brand-primary);
  position: relative;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.affiliated-details summary::-webkit-details-marker { display: none; }
.affiliated-details summary::after {
  content: "";
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  border-right: 2px solid var(--brand-primary);
  border-bottom: 2px solid var(--brand-primary);
  transform: rotate(45deg);
  transition: transform .2s ease;
  margin-top: -4px;
}
.affiliated-details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.affiliated-details summary span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--brand-muted);
  font-family: var(--font-sans);
  margin-left: 8px;
}
.affiliated-details .affiliated-details__body {
  padding: 0 24px 28px;
}
.affiliated-details .affiliated-details__body > p {
  font-size: 0.9rem;
  color: var(--brand-muted);
  margin-bottom: 20px;
}

.partner-types {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 700px) { .partner-types { grid-template-columns: 1fr 1fr; gap: 20px; } }
@media (min-width: 1100px) { .partner-types { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.partner-types .card { display: flex; flex-direction: column; }
.partner-types .card .card__body { flex: 1; }

.video-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--brand-primary) 0%, #1a4a7a 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding: 24px;
  box-shadow: var(--shadow-md);
}
/* When the .video-frame IS the <video> element, strip the placeholder padding/flex so the video fills the box */
video.video-frame,
.video-frame--player {
  display: block;
  padding: 0;
  object-fit: cover;
  background: #000;
  overflow: hidden;
}
.video-frame .video-frame__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.video-frame__play {
  width: 76px;
  height: 76px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 2px solid rgba(255,255,255,.6);
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-frame__play svg { width: 28px; height: 28px; }

.affiliated-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (min-width: 700px)  { .affiliated-strip { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .affiliated-strip { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

.affiliated-card {
  background: #fff;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
  font-size: 0.92rem;
}
.affiliated-card strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--brand-primary);
  margin-bottom: 6px;
}
.affiliated-card a {
  display: inline-block;
  margin-top: 8px;
  font-weight: 500;
  word-break: break-word;
}

.cta-band {
  background: var(--brand-primary);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 40px 24px;
  text-align: center;
}
@media (min-width: 768px) { .cta-band { padding: 56px 40px; } }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); }
.cta-band .btn-row { justify-content: center; margin-top: 8px; }

/* ---------- Image placeholder fallback ---------- */

.image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  background: linear-gradient(135deg, var(--brand-primary-50) 0%, var(--brand-bg-soft) 100%);
  color: var(--brand-muted);
  font-size: 0.85rem;
  padding: 32px 20px;
  border: 1px dashed var(--brand-border);
  border-radius: var(--radius);
  width: 100%;
  height: 100%;
  min-height: 220px;
  font-family: var(--font-sans);
}
.image-placeholder strong {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--brand-primary);
  font-weight: 600;
  margin-bottom: 6px;
}
.image-placeholder small {
  font-size: 0.75rem;
  color: var(--brand-muted);
  margin-top: 6px;
  letter-spacing: 0.04em;
}

/* ---------- Contact tiles ---------- */

.contact-tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 700px)  { .contact-tiles { grid-template-columns: 1fr 1fr; gap: 20px; } }
@media (min-width: 1024px) { .contact-tiles { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.contact-tile {
  background: #fff;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.contact-tile__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-muted);
  margin-bottom: 8px;
}
.contact-tile__value {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--brand-primary);
  margin-bottom: 6px;
  word-break: break-word;
}
.contact-tile__value a { color: inherit; text-decoration: none; }
.contact-tile__value a:hover { text-decoration: underline; }
.contact-tile__sub { font-size: 0.92rem; color: var(--brand-muted); }
.contact-tile__sub a { color: var(--brand-primary); }

/* ---------- "Let's go" CTA strip with bg image ---------- */

.cta-strip {
  position: relative;
  min-height: 360px;
  background: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 56px 20px;
  overflow: hidden;
}
@media (min-width: 768px) { .cta-strip { min-height: 420px; padding: 80px 32px; } }
.cta-strip__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.55;
}
.cta-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,33,69,0.65) 0%, rgba(0,48,91,0.85) 100%);
  z-index: 1;
}
.cta-strip__inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  color: #fff;
}
.cta-strip__title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw + 1rem, 5rem);
  letter-spacing: 0.04em;
  color: #fff;
  margin: 0 0 24px;
  font-weight: 500;
}
.cta-strip .lead { color: rgba(255,255,255,0.85) !important; }
.cta-strip .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.4); }
.cta-strip .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,0.06); }

/* ---------- Two-up overlay (Home Owners hero) ---------- */

.dual-card-hero {
  position: relative;
  background: var(--brand-primary);
  overflow: hidden;
  padding-block: 0;
}
.dual-card-hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dual-card-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,33,69,0.40) 0%, rgba(0,21,48,0.65) 100%);
  z-index: 1;
}
.dual-card-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding-block: 56px;
}
@media (min-width: 900px) {
  .dual-card-hero__grid { grid-template-columns: 1fr 1fr; gap: 32px; padding-block: 96px; }
}
.dual-card {
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.dual-card h2 {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: clamp(1.5rem, 2vw + 0.75rem, 2rem);
  text-align: center;
  margin-bottom: 16px;
}
.dual-card p { color: var(--brand-ink); }
.dual-card ul { color: var(--brand-ink); }

/* ---------- Address tiles ---------- */

.address-band {
  background: var(--brand-secondary-200);
  padding: 32px 0;
}
.address-band__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) { .address-band__grid { grid-template-columns: 1fr 1fr 1fr; gap: 32px; } }
.address-tile h3 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-primary);
  margin-bottom: 8px;
}
.address-tile address {
  font-style: normal;
  font-size: 0.95rem;
  color: var(--brand-ink);
  line-height: 1.6;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--brand-primary);
  color: rgba(255,255,255,0.85);
  padding: 56px 0 28px;
  margin-top: 80px;
}
.site-footer h2,
.site-footer h3 { color: #fff; }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px)  { .site-footer__grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; } }
@media (min-width: 1100px) { .site-footer__grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; } }

.site-footer__brand {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 8px;
}
.site-footer p { color: rgba(255,255,255,0.85); }
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.site-footer a {
  color: #fff;
  text-decoration: none;
  text-decoration-color: rgba(255,255,255,.35);
}
.site-footer a:hover { text-decoration: underline; }
.site-footer__bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

/* ---------- Utility ---------- */

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

.stack > * + * { margin-top: 1rem; }
.stack-lg > * + * { margin-top: 1.5rem; }

/* ---------- Reduced motion ---------- */

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

/* ---------- Bare hero with Ken Burns pan-in/out animation ---------- */

.hero--bare {
  padding: 0;
  background: var(--brand-primary);
}
.hero--bare .hero__media {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  min-height: 320px;
  max-height: 70vh;
  overflow: hidden;
}
@media (min-width: 768px) {
  .hero--bare .hero__media { aspect-ratio: 21 / 8; min-height: 420px; max-height: 75vh; }
}
@media (min-width: 1100px) {
  .hero--bare .hero__media { aspect-ratio: 21 / 7.5; min-height: 500px; max-height: 80vh; }
}
.hero--bare .hero__media::after { display: none; }

.hero__kenburns {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform-origin: center center;
  animation: kenburnsPan 20s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes kenburnsPan {
  0%   { transform: scale(1.0); }
  50%  { transform: scale(1.08); }
  100% { transform: scale(1.0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__kenburns { animation: none; }
}

/* ---------- Inline cards section (was the hero overlay) ---------- */

.hero__overlay--inline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 900px) {
  .hero__overlay--inline { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ---------- Highlight (for "compliant" in JV box) ---------- */

.highlight {
  background: var(--brand-secondary, #f4c243);
  color: var(--brand-primary, #00305B);
  padding: 0.05em 0.35em;
  border-radius: 4px;
  font-weight: 700;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ---------- Centered hero overlay (home page) ---------- */

.hero--centered {
  position: relative;
  padding: 0;
  background: var(--brand-primary);
}
.hero--centered .hero__media {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 11;
  min-height: 480px;
  max-height: 85vh;
  overflow: hidden;
}
@media (min-width: 768px) {
  .hero--centered .hero__media { aspect-ratio: 21 / 10; min-height: 560px; max-height: 88vh; }
}
@media (min-width: 1100px) {
  .hero--centered .hero__media { aspect-ratio: 21 / 9; min-height: 640px; max-height: 92vh; }
}
.hero--centered .hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,33,69,0.40) 0%, rgba(0,33,69,0.55) 60%, rgba(0,33,69,0.70) 100%);
  z-index: 1;
}
.hero__center {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 20px;
  color: #fff;
}
.hero__eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  margin: 0 0 18px;
}
@media (min-width: 768px) {
  .hero__eyebrow { font-size: 0.85rem; margin-bottom: 22px; }
}
.hero__display {
  font-family: var(--font-serif);
  font-weight: 600;
  color: #fff;
  font-size: clamp(2.2rem, 7vw + 0.5rem, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
  max-width: 14ch;
  text-shadow: 0 2px 18px rgba(0,0,0,0.25);
}
.hero__display-accent {
  font-style: italic;
  font-weight: 500;
  color: var(--brand-secondary);
}
.hero__lead {
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 0.4vw + 0.9rem, 1.1rem);
  line-height: 1.55;
  color: rgba(255,255,255,0.92);
  max-width: 56ch;
  margin: 0 auto 28px;
}
.hero__cta-row {
  justify-content: center;
}
.hero__cta-row .btn { min-width: 200px; }
@media (prefers-reduced-motion: no-preference) {
  .hero--centered .hero__kenburns {
    animation: kenburnsPan 22s ease-in-out infinite alternate;
  }
}

/* =========================================================================
   BT HERO — bulletproof centered overlay over aerial background.
   Uses background-image so the photo scales with the section, and flex
   centers the inner content. No absolute positioning, no cascade conflicts
   with the base .hero class. Responds correctly to browser zoom.
   ========================================================================= */

.bt-hero {
  position: relative;
  width: 100%;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  background-color: #00305B;
  background-image: linear-gradient(180deg, rgba(0,33,69,0.30) 0%, rgba(0,33,69,0.55) 100%), url("assets/ballantyne-aerial.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
@media (min-width: 768px) {
  .bt-hero { min-height: 78vh; padding: 96px 32px; }
}
@media (min-width: 1100px) {
  .bt-hero { min-height: 86vh; padding: 120px 40px; }
}
.bt-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}
.bt-hero__eyebrow {
  font-family: var(--font-sans);
  font-size: clamp(0.72rem, 0.2vw + 0.7rem, 0.88rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  margin: 0 0 20px;
}
.bt-hero__display {
  font-family: var(--font-serif);
  font-weight: 600;
  color: #fff;
  font-size: clamp(2.4rem, 7vw + 0.5rem, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 28px;
  text-shadow: 0 2px 18px rgba(0,0,0,0.30);
}
.bt-hero__accent {
  font-style: italic;
  font-weight: 500;
  color: var(--brand-secondary);
}
.bt-hero__lead {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 0.3vw + 0.95rem, 1.15rem);
  line-height: 1.6;
  color: rgba(255,255,255,0.95);
  max-width: 60ch;
  margin: 0 auto 32px;
}
.bt-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.bt-hero__cta .btn { min-width: 200px; }
@media (max-width: 479px) {
  .bt-hero__cta .btn { width: 100%; }
}

/* =========================================================================
   PREMIUM LAYER — motion, depth & confident polish.
   Additive only. Built on the brand tokens above. Navy + sky only.
   ========================================================================= */

/* ---------- Scroll-reveal motion ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }
[data-reveal-delay="5"] { transition-delay: .40s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- Header scroll state ---------- */
.site-header {
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-scrolled {
  background: rgba(255,255,255,0.92);
  box-shadow: 0 6px 24px rgba(0,48,91,.10);
  border-bottom-color: transparent;
}
.site-header.is-scrolled .site-header__inner { height: calc(var(--header-h) - 8px); }
.site-header__inner { transition: height .25s ease; }

/* ---------- Refined buttons (more depth, subtle shine) ---------- */
.btn--primary {
  background: linear-gradient(180deg, #0a3f72 0%, var(--brand-primary) 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 8px 20px rgba(0,48,91,.18);
}
.btn--primary:hover {
  background: linear-gradient(180deg, #0a3f72 0%, var(--brand-primary-700) 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.10) inset, 0 12px 28px rgba(0,48,91,.26);
  transform: translateY(-2px);
}
.btn--accent {
  box-shadow: 0 8px 20px rgba(47,109,176,.22);
}
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(47,109,176,.30); }
.btn--white { box-shadow: 0 8px 24px rgba(0,0,0,.16); }
.btn--white:hover { transform: translateY(-2px); }

/* ---------- Cards: lift + accent top edge on hover ---------- */
.card { position: relative; overflow: hidden; }
.card::before {
  content: "";
  position: absolute; left: 0; top: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-accent), var(--brand-secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s cubic-bezier(.16,1,.3,1);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card:hover::before { transform: scaleX(1); }
.card__icon { transition: background .2s ease, color .2s ease, transform .2s ease; }
.card:hover .card__icon { background: var(--brand-primary); color: #fff; transform: scale(1.04); }

/* ---------- Service tiles: sheen + icon lift ---------- */
.service-tile { position: relative; overflow: hidden; }
.service-tile svg { transition: transform .25s cubic-bezier(.16,1,.3,1); }
.service-tile:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0,0,0,.22); }
.service-tile:hover svg { transform: translateY(-3px) scale(1.06); }

/* ---------- Underwriter strip ---------- */
.underwriters { box-shadow: var(--shadow-md); }
.underwriters img { transition: filter .2s ease, opacity .2s ease, transform .2s ease; }
.underwriters img:hover { transform: translateY(-2px); }

/* =========================================================================
   HOME HERO — cinematic background video
   ========================================================================= */
.bt-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.bt-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0,24,52,.42) 0%, rgba(0,24,52,.30) 45%, rgba(0,24,52,.74) 100%),
    radial-gradient(120% 90% at 50% 8%, rgba(0,0,0,0) 40%, rgba(0,20,45,.45) 100%);
}
.bt-hero--video .bt-hero__inner { z-index: 2; }
.bt-hero--video {
  background-image: linear-gradient(180deg, rgba(0,33,69,.30), rgba(0,33,69,.55)), url("assets/ballantyne-aerial.jpg");
}

/* Animated hero entrance */
.bt-hero__inner > * { opacity: 0; transform: translateY(18px); animation: heroRise .9s cubic-bezier(.16,1,.3,1) forwards; }
.bt-hero__eyebrow { animation-delay: .10s; }
.bt-hero__display { animation-delay: .20s; }
.bt-hero__lead    { animation-delay: .34s; }
.bt-hero__cta     { animation-delay: .48s; }
.bt-hero__stats   { animation-delay: .60s; }
@keyframes heroRise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .bt-hero__inner > * { opacity: 1; transform: none; animation: none; }
}

/* Trust stats under hero CTAs */
.bt-hero__stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 0;
  margin-top: 40px;
}
.bt-hero__stat { padding: 0 22px; text-align: center; color: #fff; }
.bt-hero__stat + .bt-hero__stat { border-left: 1px solid rgba(255,255,255,.22); }
.bt-hero__stat b {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 1vw + 1rem, 1.7rem);
  font-weight: 700;
  line-height: 1.1;
}
.bt-hero__stat span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.82);
  margin-top: 4px;
}
@media (max-width: 560px) {
  .bt-hero__stats { gap: 16px 0; }
  .bt-hero__stat { flex: 1 0 33%; padding: 0 8px; }
  .bt-hero__stat + .bt-hero__stat { border-left: 1px solid rgba(255,255,255,.18); }
}

/* Scroll cue */
.bt-hero__cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255,255,255,.6);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
}
.bt-hero__cue::before {
  content: "";
  width: 4px;
  height: 8px;
  border-radius: 2px;
  background: #fff;
  animation: cueDrop 1.8s ease-in-out infinite;
}
@keyframes cueDrop {
  0%, 100% { opacity: 0; transform: translateY(0); }
  30%      { opacity: 1; }
  70%      { opacity: 1; transform: translateY(10px); }
}
@media (prefers-reduced-motion: reduce) { .bt-hero__cue::before { animation: none; } }
@media (max-width: 560px) { .bt-hero__cue { display: none; } }

/* =========================================================================
   STAT / CREDIBILITY BAND
   ========================================================================= */
.stat-band { background: var(--brand-bg-tint); border-block: 1px solid var(--brand-border); }
.stat-band__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 16px;
  padding-block: 44px;
}
@media (min-width: 768px) { .stat-band__grid { grid-template-columns: repeat(4, 1fr); padding-block: 56px; } }
.stat { text-align: center; }
.stat b {
  display: block;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--brand-primary);
  font-size: clamp(2rem, 2.5vw + 1rem, 3rem);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat span {
  display: block;
  margin-top: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-muted);
}

/* ---------- Interior page hero polish ---------- */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 70% at 78% 0%, rgba(47,109,176,.10) 0%, rgba(47,109,176,0) 60%),
    radial-gradient(55% 60% at 8% 100%, rgba(181,207,230,.22) 0%, rgba(181,207,230,0) 60%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

/* =========================================================================
   CONTACT — modern split (navy info panel + form)
   ========================================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
}
@media (min-width: 940px) {
  .contact-grid { grid-template-columns: 0.85fr 1.15fr; gap: 36px; }
}
.contact-aside {
  background: linear-gradient(160deg, var(--brand-primary) 0%, #0a2f56 55%, var(--brand-primary-700) 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.contact-aside::after {
  content: "";
  position: absolute;
  right: -60px; bottom: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(181,207,230,.22) 0%, rgba(181,207,230,0) 70%);
  pointer-events: none;
}
.contact-aside .eyebrow { color: var(--brand-secondary); }
.contact-aside h1 { color: #fff; font-size: clamp(2rem, 3vw + 1rem, 3rem); margin-bottom: 16px; }
.contact-aside p { color: rgba(255,255,255,.88); }
.contact-quick {
  list-style: none;
  margin: auto 0 0;
  padding: 22px 0 0;
  display: grid;
  gap: 16px;
}
.contact-quick li {
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.16);
}
.contact-quick li:first-child { border-top: none; padding-top: 0; }
.contact-quick span {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.62);
  margin-bottom: 4px;
}
.contact-quick a {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}
.contact-quick a:hover { color: var(--brand-secondary); }

.form-card__title {
  font-size: 1.4rem;
  margin: 0 0 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--brand-border);
}
.form-row input::placeholder,
.form-row textarea::placeholder { color: #9aa7b4; }

/* =========================================================================
   HOME HERO — editorial split (no video)
   ========================================================================= */
.home-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(70% 110% at 88% -10%, rgba(47,109,176,.12) 0%, rgba(47,109,176,0) 55%),
    radial-gradient(60% 80% at -5% 110%, rgba(181,207,230,.28) 0%, rgba(181,207,230,0) 55%),
    linear-gradient(180deg, #fff 0%, var(--brand-bg-tint) 100%);
  border-bottom: 1px solid var(--brand-border);
}
.home-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  padding-block: 44px 52px;
}
@media (min-width: 980px) {
  .home-hero__inner { grid-template-columns: 1.02fr 0.98fr; gap: 56px; padding-block: 76px 88px; }
}
.home-hero__content > * { animation: heroRise .85s cubic-bezier(.16,1,.3,1) backwards; }
.home-hero__eyebrow { animation-delay: .05s; }
.home-hero__title   { animation-delay: .13s; }
.home-hero__lead    { animation-delay: .22s; }
.home-hero__cta     { animation-delay: .31s; }
@media (prefers-reduced-motion: reduce) { .home-hero__content > * { animation: none; } }

.home-hero__eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--brand-accent-700); margin: 0 0 18px;
}
.home-hero__title {
  font-size: clamp(2.5rem, 4.5vw + 1rem, 4.5rem);
  line-height: 1.03; letter-spacing: -.02em; margin: 0 0 20px; color: var(--brand-primary);
}
.home-hero__title .accent { color: var(--brand-accent); font-style: italic; }
.home-hero__lead {
  font-size: clamp(1.05rem, .5vw + 1rem, 1.2rem); color: var(--brand-muted);
  max-width: 50ch; margin: 0 0 30px;
}
.home-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.home-hero__cta .btn { min-width: 190px; }
@media (max-width: 479px) { .home-hero__cta .btn { width: 100%; } }

.home-hero__media { position: relative; }
.home-hero__media::before {
  content: ""; position: absolute; right: -18px; bottom: -18px;
  width: 62%; height: 68%; border-radius: var(--radius-xl); z-index: 0;
  background: linear-gradient(135deg, var(--brand-secondary) 0%, var(--brand-accent) 100%);
  opacity: .5;
}
.home-hero__media img {
  position: relative; z-index: 1;
  width: 100%; aspect-ratio: 16/11; object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.home-hero__chip {
  position: absolute; z-index: 2; left: 18px; bottom: 18px;
  display: flex; align-items: center; gap: 12px;
  background: rgba(0,33,69,.82);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: #fff; padding: 12px 16px; border-radius: var(--radius);
  box-shadow: var(--shadow-md); max-width: calc(100% - 36px);
}
.home-hero__chip svg { color: var(--brand-secondary); flex-shrink: 0; }
.home-hero__chip b { display: block; font-family: var(--font-serif); font-size: 1rem; line-height: 1.2; }
.home-hero__chip span { display: block; font-size: .78rem; color: rgba(255,255,255,.82); }

/* =========================================================================
   HOME OWNERS — Buyers/Sellers cards
   ========================================================================= */
.ho-cards { align-items: stretch; }
@media (min-width: 480px) { .ho-cards { grid-template-columns: 1fr 1fr; } }
.ho-card { display: flex; flex-direction: column; padding: 30px; }
.ho-card .card__title { font-size: 1.45rem; }
.ho-card .card__body { color: var(--brand-ink); }
.ho-list {
  list-style: none;
  margin: 4px 0 22px;
  padding: 0;
  display: grid;
  gap: 11px;
  flex: 1;
}
.ho-list li {
  position: relative;
  padding-left: 30px;
  margin: 0;
  font-size: 0.95rem;
  color: var(--brand-ink);
  line-height: 1.5;
}
.ho-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 18px; height: 18px;
  background: var(--brand-accent);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='4 12 10 18 20 7'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='4 12 10 18 20 7'/></svg>") center / contain no-repeat;
}
