/* ==========================================================================
   Equity Title of Colorado — site.css
   Design system: brand navy + gold (from logo), Colorado red-rock terracotta
   accent, warm stone neutrals. Fraunces (display serif) + Inter (UI sans).
   ========================================================================== */

:root {
  --navy:        #24344a;
  --navy-deep:   #141d29;
  --navy-mid:    #3d5470;
  --slate:       #58697d;
  --slate-light: #8695a5;

  --gold:        #c6a469;
  --gold-light:  #e6d7ac;
  --gold-deep:   #9c7c40;

  --terracotta:       #b85c3e;
  --terracotta-light: #e0a186;

  --cream:  #f8f4ec;
  --stone:  #efe6d3;
  --white:  #ffffff;
  --ink:        #20242c;
  --text-muted: #5c6472;
  --border:     #e4dbc9;

  --shadow-sm:   0 2px 12px rgba(20, 29, 41, 0.07);
  --shadow-md:   0 12px 32px rgba(20, 29, 41, 0.12);
  --shadow-lg:   0 26px 64px rgba(20, 29, 41, 0.20);
  --shadow-gold: 0 12px 32px rgba(198, 164, 105, 0.35);

  --serif: "Fraunces", "Iowan Old Style", "Georgia", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --header-h: 118px;
  --header-h-scrolled: 78px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 600; color: var(--navy); }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
address { font-style: normal; }
input, textarea, select { font-family: inherit; }

.container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 32px;
}

::selection { background: var(--gold-light); color: var(--navy-deep); }

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

/* ==========================================================================
   Reveal-on-scroll + motion utilities
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1.in-view { transition-delay: 0.08s; }
.reveal-delay-2.in-view { transition-delay: 0.16s; }
.reveal-delay-3.in-view { transition-delay: 0.24s; }
.reveal-delay-4.in-view { transition-delay: 0.32s; }
.reveal-delay-5.in-view { transition-delay: 0.4s; }
.reveal-delay-6.in-view { transition-delay: 0.48s; }
.reveal-delay-7.in-view { transition-delay: 0.56s; }

.reveal-scale { opacity: 0; transform: scale(0.94); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal-scale.in-view { opacity: 1; transform: scale(1); }

/* ==========================================================================
   Eyebrow / section labels
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--terracotta);
  display: inline-block;
}
.eyebrow.center { justify-content: center; }
.eyebrow.on-dark { color: var(--gold-light); }
.eyebrow.on-dark::before { background: var(--gold-light); }
.eyebrow.gold { color: var(--gold-deep); }
.eyebrow.gold::before { background: var(--gold-deep); }

.section-head { max-width: 660px; margin: 0 0 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  line-height: 1.15;
  margin-top: 16px;
  font-weight: 500;
}
.section-head p { margin-top: 18px; font-size: 16.5px; line-height: 1.7; color: var(--text-muted); }

.section-label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold-deep);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 100px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; flex-shrink: 0; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-deep);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(198, 164, 105, 0.45); }

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.9); transform: translateY(-3px); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-deep); transform: translateY(-3px); box-shadow: var(--shadow-md); }

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}
.btn-outline-navy:hover { border-color: var(--navy); background: var(--cream); transform: translateY(-3px); }

.btn-terracotta { background: var(--terracotta); color: var(--white); }
.btn-terracotta:hover { background: #9c4a30; transform: translateY(-3px); box-shadow: var(--shadow-md); }

.btn-sm { padding: 12px 24px; font-size: 12px; }
.btn-block { width: 100%; justify-content: center; }

/* ==========================================================================
   Utility bar + Header
   ========================================================================== */
.utility-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 501;
  height: 40px;
  display: flex;
  align-items: center;
  background: var(--navy-deep);
  color: rgba(255,255,255,0.72);
  font-size: 12.5px;
  transition: transform 0.5s var(--ease);
}
.utility-bar.hidden { transform: translateY(-100%); }
.utility-inner {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.utility-left { display: flex; align-items: center; gap: 22px; }
.utility-left a, .utility-right a { color: rgba(255,255,255,0.72); font-weight: 500; transition: color 0.25s ease; display: inline-flex; align-items: center; gap: 6px; }
.utility-left a:hover, .utility-right a:hover { color: var(--gold-light); }
.utility-right { display: flex; align-items: center; gap: 22px; }
.utility-right .divider { width: 1px; height: 13px; background: rgba(255,255,255,0.22); }
.utility-bar svg { width: 13px; height: 13px; }

.site-header {
  position: fixed;
  top: 40px; left: 0; right: 0;
  z-index: 500;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: height 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease), top 0.4s var(--ease);
}
.site-header.no-utility { top: 0; }
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,29,41,0.6) 0%, rgba(20,29,41,0) 100%);
  opacity: 1;
  transition: opacity 0.4s var(--ease);
  z-index: -1;
  pointer-events: none;
}
.site-header.scrolled {
  top: 0;
  height: var(--header-h-scrolled);
  background: rgba(248,244,236,0.94);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: var(--shadow-sm);
}
.site-header.scrolled::before { opacity: 0; }

.header-inner {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo { display: flex; align-items: center; flex-shrink: 0; }
.site-logo img { height: 52px; width: auto; flex-shrink: 0; transition: height 0.4s var(--ease), opacity 0.3s ease; }
.site-header.scrolled .site-logo img { height: 42px; }
.logo-light, .logo-dark { display: block; }
.logo-dark { display: none; }
.site-header.scrolled .logo-light { display: none; }
.site-header.scrolled .logo-dark { display: block; }

.main-nav > ul { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 15px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  border-radius: 100px;
  transition: color 0.3s ease, background 0.3s ease;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.main-nav a .caret { width: 9px; height: 9px; opacity: 0.7; transition: transform 0.3s var(--ease); }
.site-header.scrolled .main-nav a { color: var(--navy); text-shadow: none; }
.main-nav li.active:not(.nav-cta) > a,
.main-nav li:not(.nav-cta) a:hover { background: rgba(255,255,255,0.14); color: var(--white); }
.site-header.scrolled .main-nav li.active:not(.nav-cta) > a,
.site-header.scrolled .main-nav li:not(.nav-cta) a:hover { background: var(--stone); color: var(--navy-deep); }

.main-nav li.has-dropdown { position: relative; }
.main-nav li.has-dropdown:hover .caret { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  display: flex;
  flex-direction: column;
  min-width: 220px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.main-nav li.has-dropdown:hover .nav-dropdown,
.main-nav li.has-dropdown:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown a {
  color: var(--navy) !important;
  text-shadow: none !important;
  display: flex;
  padding: 11px 15px;
  border-radius: 9px;
  font-size: 12.5px;
  letter-spacing: 0.03em;
}
.nav-dropdown a:hover { background: var(--cream) !important; color: var(--navy-deep) !important; }
.nav-dropdown .nav-dropdown-desc { display: block; font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 12px; color: var(--text-muted); margin-top: 2px; }

.nav-cta { margin-left: 10px; }
.nav-cta a {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-deep) !important;
  text-shadow: none !important;
  padding: 12px 24px !important;
  box-shadow: 0 6px 18px rgba(198,164,105,0.35);
}
.nav-cta a:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(198,164,105,0.45); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  z-index: 600;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 0 auto;
  transition: all 0.35s var(--ease);
}
.site-header.scrolled .nav-toggle span { background: var(--navy); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-toggle.open span { background: var(--white) !important; }

/* ==========================================================================
   Ridge divider — echoes the wordmark's three ridge lines / CO topography
   ========================================================================== */
.ridge-divider { display: block; width: 100%; height: 64px; margin-bottom: -1px; }
.ridge-divider.flip { transform: scaleY(-1); margin-bottom: 0; margin-top: -1px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--navy-deep);
}
.hero-slide {
  position: absolute;
  inset: -2% -2%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 2s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide.kenburns { animation: kenburns 15s ease-out forwards; }
@keyframes kenburns {
  from { transform: scale(1); }
  to   { transform: scale(1.12); }
}
.hero-video {
  position: absolute; inset: -2% -2%;
  width: 104%; height: 104%;
  object-fit: cover;
  background: transparent;
}
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 8%, rgba(20,29,41,0.2) 0%, rgba(20,29,41,0.58) 60%, rgba(20,29,41,0.9) 100%),
    linear-gradient(180deg, rgba(20,29,41,0.5) 0%, rgba(20,29,41,0.28) 30%, rgba(20,29,41,0.75) 100%);
}
.hero-topo { position: absolute; inset: 0; opacity: 0.10; mix-blend-mode: overlay; pointer-events: none; }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 78px) 32px 0;
  text-align: center;
  color: var(--white);
}
.hero-content .eyebrow { color: var(--gold-light); margin-bottom: 24px; }
.hero-content .eyebrow::before { background: var(--gold-light); }
.hero-content h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 6.2vw, 4.6rem);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.hero-content h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-light);
}
.hero-content h1 em .amp {
  font-style: normal;
  font-weight: 500;
}
.hero-sub {
  max-width: 640px;
  margin: 26px auto 0;
  font-size: 17.5px;
  line-height: 1.75;
  color: rgba(255,255,255,0.86);
}
.hero-cta-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 42px;
}

/* ==========================================================================
   Quick Actions — the 4 homepage buttons that "work"
   ========================================================================== */
.actions-wrap { position: relative; z-index: 5; margin-top: -108px; padding: 0 32px; }
.actions-card {
  max-width: 1160px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 14px;
  gap: 4px;
}
.action-tile {
  position: relative;
  text-align: left;
  padding: 28px 26px;
  border-radius: 16px;
  transition: background 0.35s var(--ease), transform 0.35s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.action-tile:hover { background: var(--cream); transform: translateY(-4px); }
.action-tile + .action-tile::before {
  content: "";
  position: absolute;
  left: 0; top: 18%; bottom: 18%;
  width: 1px;
  background: var(--border);
}
.action-icon {
  width: 48px; height: 48px;
  border-radius: 13px;
  background: var(--cream);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.35s ease, transform 0.35s var(--ease);
}
.action-icon svg { width: 22px; height: 22px; color: var(--navy); }
.action-tile:hover .action-icon { background: var(--navy); transform: scale(1.06) rotate(-4deg); }
.action-tile:hover .action-icon svg { color: var(--gold-light); }
.action-title { font-family: var(--serif); font-size: 18.5px; font-weight: 600; color: var(--navy); }
.action-desc { font-size: 13px; line-height: 1.6; color: var(--text-muted); }
.action-cue { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--terracotta); margin-top: auto; }
.action-cue svg { width: 12px; height: 12px; transition: transform 0.35s var(--ease); }
.action-tile:hover .action-cue svg { transform: translateX(4px); }

@media (max-width: 900px) {
  .actions-card { grid-template-columns: repeat(2, 1fr); }
  .action-tile:nth-child(2)::before { display: none; }
  .action-tile:nth-child(3), .action-tile:nth-child(4) { border-top: 1px solid var(--border); }
  .action-tile:nth-child(odd)::before { display: none; }
}
@media (max-width: 560px) {
  .actions-card { grid-template-columns: 1fr; }
  .action-tile::before { display: none !important; }
  .action-tile + .action-tile { border-top: 1px solid var(--border); }
}

/* ==========================================================================
   Stats strip
   ========================================================================== */
.stats-band { padding: 110px 0 60px; background: var(--white); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  text-align: center;
}
.stat-num {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  color: var(--navy);
  font-weight: 600;
}
.stat-num .unit { font-size: 0.5em; color: var(--terracotta); font-weight: 700; margin-left: 2px; }
.stat-label {
  margin-top: 10px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ==========================================================================
   Cards: services / tools (bento grid)
   ========================================================================== */
.services { padding: 40px 0 130px; background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.services-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.service-card {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px 28px;
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease), background 0.45s var(--ease);
  display: block;
}
.service-card::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  background: var(--white);
  border-color: transparent;
}
.service-card:hover::after { transform: scaleX(1); }

.sc-icon {
  width: 58px; height: 58px;
  border-radius: 15px;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  transition: background 0.4s ease, transform 0.4s var(--ease);
}
.service-card:hover .sc-icon { background: var(--navy); transform: scale(1.06); }
.sc-icon svg { width: 26px; height: 26px; color: var(--navy); transition: color 0.4s ease; }
.service-card:hover .sc-icon svg { color: var(--gold-light); }

.sc-title { font-family: var(--serif); font-size: 19.5px; font-weight: 600; color: var(--navy); margin-bottom: 11px; }
.sc-desc { font-size: 14.5px; line-height: 1.65; color: var(--text-muted); }
.sc-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 20px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--slate);
}
.sc-arrow svg { width: 12px; height: 12px; transition: transform 0.35s var(--ease); }
.service-card:hover .sc-arrow { color: var(--terracotta); }
.service-card:hover .sc-arrow svg { transform: translateX(4px); }
.sc-badge {
  position: absolute; top: 22px; right: 22px;
  font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--navy-deep); background: linear-gradient(135deg, var(--gold-light), var(--gold));
  padding: 5px 11px; border-radius: 100px;
}

@media (max-width: 1020px) { .services-grid, .services-grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .services-grid, .services-grid.cols-3 { grid-template-columns: 1fr; } }

/* ==========================================================================
   About / split section
   ========================================================================== */
.about-split { position: relative; padding: 130px 0; background: var(--cream); overflow: hidden; }
.about-split.on-white { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 0.88fr 1fr; gap: 80px; align-items: center; }
.about-grid.reverse { grid-template-columns: 1fr 0.88fr; }
.about-grid.reverse .about-media { order: 2; }
.about-media { position: relative; }
.about-media::before {
  content: "";
  position: absolute;
  top: -22px; left: -22px;
  width: 100%; height: 100%;
  border: 2px solid var(--gold);
  border-radius: 20px;
  z-index: 0;
}
.about-grid.reverse .about-media::before { left: auto; right: -22px; }
.about-media-inner {
  position: relative;
  z-index: 1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.1;
}
.about-media-inner img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.about-media:hover .about-media-inner img { transform: scale(1.05); }

.about-badge {
  position: absolute;
  z-index: 2;
  right: -30px;
  bottom: -30px;
  background: var(--navy);
  color: var(--white);
  border-radius: 18px;
  padding: 24px 28px;
  box-shadow: var(--shadow-lg);
  max-width: 220px;
}
.about-grid.reverse .about-badge { right: auto; left: -30px; }
.about-badge .num { font-family: var(--serif); font-size: 2.2rem; color: var(--gold-light); font-weight: 600; line-height: 1; }
.about-badge .lbl { margin-top: 8px; font-size: 12px; letter-spacing: 0.04em; color: rgba(255,255,255,0.78); line-height: 1.5; }

.about-copy h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); line-height: 1.18; font-weight: 500; margin-top: 16px; }
.about-copy p { margin-top: 20px; font-size: 16px; line-height: 1.8; color: var(--text-muted); }
.about-copy .btn { margin-top: 32px; }
.about-copy .btn-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.about-copy .btn-row .btn { margin-top: 0; }
.about-copy ul.check-list { margin-top: 24px; }

@media (max-width: 860px) {
  .about-grid, .about-grid.reverse { grid-template-columns: 1fr; gap: 56px; }
  .about-media { max-width: 440px; margin: 0 auto; }
  .about-media::before, .about-grid.reverse .about-media::before { top: -14px; left: -14px; right: auto; }
  .about-badge, .about-grid.reverse .about-badge { right: -14px; left: auto; bottom: -22px; max-width: 190px; padding: 20px 22px; }
}

.check-list li {
  display: flex; align-items: flex-start; gap: 13px;
  font-size: 15.5px; line-height: 1.6; color: var(--text-muted);
  margin-bottom: 13px;
}
.check-list li svg { width: 19px; height: 19px; flex-shrink: 0; margin-top: 1px; color: var(--terracotta); }
.check-list li strong { color: var(--navy); font-weight: 600; }

/* ==========================================================================
   Offices
   ========================================================================== */
.offices { padding: 130px 0; background: var(--white); }
.offices.on-cream { background: var(--cream); }
.offices-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.offices-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.office-card {
  position: relative;
  display: block;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-md);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.office-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.office-media { position: absolute; inset: 0; overflow: hidden; background: var(--navy); }
.office-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); opacity: 0.9; }
.office-card:hover .office-media img { transform: scale(1.1); }
.office-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,29,41,0.1) 0%, rgba(20,29,41,0.4) 50%, rgba(20,29,41,0.94) 100%);
}
.office-content { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 28px; color: var(--white); z-index: 2; }
.office-tag-eyebrow { font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 6px; display: block; }
.office-content h3.office-tag { font-family: var(--serif); color: var(--white); font-size: 28px; font-weight: 600; letter-spacing: 0; text-transform: none; margin-bottom: 0; display: block; }
.office-content address { font-style: normal; margin-top: 12px; font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.85); }
.office-content .office-phone { display: block; margin-top: 10px; font-weight: 700; color: var(--white); font-size: 15px; }
.office-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 3px;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.office-card:hover .office-link { border-color: var(--gold-light); color: var(--gold-light); }

@media (max-width: 1020px) { .offices-grid, .offices-grid.cols-2 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .offices-grid, .offices-grid.cols-2 { grid-template-columns: 1fr; } }

/* ==========================================================================
   Trust / callout strip
   ========================================================================== */
.trust-strip { position: relative; padding: 84px 0; background: linear-gradient(120deg, var(--navy) 0%, var(--navy-deep) 100%); overflow: hidden; }
.trust-strip::before {
  content: "";
  position: absolute;
  right: -100px; top: 50%; transform: translateY(-50%);
  width: 460px; height: 460px;
  background: url('images/logo/mark-color.png') center / contain no-repeat;
  opacity: 0.06;
}
.trust-inner { position: relative; z-index: 1; text-align: center; max-width: 720px; margin: 0 auto; }
.trust-label { color: var(--gold-light); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; }
.trust-heading { margin-top: 18px; color: var(--white); font-size: clamp(1.6rem, 2.8vw, 2.3rem); font-weight: 500; }
.trust-copy { margin-top: 18px; color: rgba(255,255,255,0.72); font-size: 16px; line-height: 1.75; }

/* ==========================================================================
   People cards — leadership / team (monogram placeholder avatars)
   ========================================================================== */
.people { padding: 130px 0; background: var(--cream); }
.people.on-white { background: var(--white); }
.people-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.people-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.people-grid.cols-2 { grid-template-columns: repeat(2, 1fr); max-width: 640px; margin: 0 auto; }
.person-card {
  background: var(--white);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--border);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.person-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.person-avatar {
  width: 104px; height: 104px;
  border-radius: 50%;
  margin: 0 auto 20px;
  padding: 4px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
}
.person-avatar-inner {
  width: 100%; height: 100%; border-radius: 50%;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  border: 3px solid var(--white);
  font-family: var(--serif); font-size: 28px; font-weight: 600; color: var(--gold-light);
}
.person-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--white); }
.person-name { font-family: var(--serif); font-size: 18.5px; font-weight: 600; color: var(--navy); }
.person-title { margin-top: 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--terracotta); }
.person-bio { margin-top: 15px; font-size: 13.5px; line-height: 1.65; color: var(--text-muted); }
.person-contact { margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--navy); }
.person-contact a { color: var(--slate); }
.people-more { text-align: center; margin-top: 54px; }

@media (max-width: 1020px) { .people-grid, .people-grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .people-grid, .people-grid.cols-3, .people-grid.cols-2 { grid-template-columns: 1fr; } }

/* ==========================================================================
   Photo mosaic (About > Photos)
   ========================================================================== */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 16px; }
.mosaic .m-item { border-radius: 16px; overflow: hidden; position: relative; }
.mosaic .m-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.mosaic .m-item:hover img { transform: scale(1.08); }
.mosaic .m-tall { grid-row: span 2; }
.mosaic .m-wide { grid-column: span 2; }
@media (max-width: 900px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .mosaic .m-wide { grid-column: span 2; }
}

/* ==========================================================================
   Quote band
   ========================================================================== */
.quote-band {
  position: relative;
  padding: 150px 32px;
  background: linear-gradient(rgba(20,29,41,0.84), rgba(20,29,41,0.9)), url('images/hero/closing-table-mountain-view.jpg') center / cover no-repeat;
  background-attachment: scroll;
  text-align: center;
}
.quote-mark { font-family: var(--serif); font-size: 6rem; color: var(--gold); opacity: 0.55; line-height: 1; }
.quote-band blockquote {
  max-width: 840px;
  margin: 0 auto;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  line-height: 1.4;
  color: var(--white);
}
.quote-cite { margin-top: 28px; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-light); font-weight: 600; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { padding: 100px 32px 130px; background: var(--white); }
.cta-band.tight { padding: 0 32px 130px; }
.cta-inner {
  max-width: 1140px;
  margin: 0 auto;
  border-radius: 28px;
  padding: 68px 60px;
  background: linear-gradient(120deg, var(--navy-mid) 0%, var(--navy-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-inner::before {
  content: "";
  position: absolute;
  left: -60px; bottom: -130px;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198,164,105,0.35), transparent 70%);
}
.cta-inner::after {
  content: "";
  position: absolute;
  right: -80px; top: -140px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,92,62,0.28), transparent 70%);
}
.cta-text { position: relative; z-index: 1; }
.cta-text h2 { color: var(--white); font-size: clamp(1.7rem, 3vw, 2.35rem); font-weight: 500; }
.cta-text p { margin-top: 12px; color: rgba(255,255,255,0.75); font-size: 15.5px; max-width: 460px; }
.cta-actions { position: relative; z-index: 1; display: flex; gap: 14px; flex-wrap: wrap; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.7); padding: 0; }
.footer-top { padding: 88px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.3fr; gap: 48px; padding-bottom: 64px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand > img { height: 46px; margin-bottom: 20px; }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 280px; color: rgba(255,255,255,0.5); }
.footer-social { display: flex; gap: 12px; margin-top: 26px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease;
}
.footer-social a:hover { background: var(--gold); transform: translateY(-3px); }
.footer-social svg { width: 17px; height: 17px; color: var(--white); }

.footer-col h4 { color: var(--white); font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 24px; }
.footer-col ul li { margin-bottom: 14px; }
.footer-col a { font-size: 14.5px; color: rgba(255,255,255,0.6); transition: color 0.25s ease; }
.footer-col a:hover { color: var(--gold-light); }

.footer-offices-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 28px; }
.footer-office address { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.5); }
.footer-office strong { display: block; color: rgba(255,255,255,0.88); font-size: 12.5px; margin-bottom: 3px; letter-spacing: 0.02em; }
.footer-office a.f-phone { display: inline-block; margin-top: 3px; color: rgba(255,255,255,0.68); font-weight: 600; }
.footer-office a.f-phone:hover { color: var(--gold-light); }

.footer-bottom { padding: 28px 0 34px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 12.5px; color: rgba(255,255,255,0.38); }
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: var(--gold-light); }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }

@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .footer-grid { grid-template-columns: 1fr; } .footer-offices-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Generic page hero (interior pages)
   ========================================================================== */
.page-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--navy-deep);
}
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.06); }
.page-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: transparent; }
@media (prefers-reduced-motion: reduce) { .page-hero-video { display: none; } }
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,29,41,0.55) 0%, rgba(20,29,41,0.35) 40%, rgba(20,29,41,0.95) 100%);
}
.page-hero-content { position: relative; z-index: 1; width: 100%; padding: calc(var(--header-h) + 70px) 32px 80px; max-width: 1260px; margin: 0 auto; color: var(--white); }
.page-hero-content .eyebrow { color: var(--gold-light); }
.page-hero-content .eyebrow::before { background: var(--gold-light); }
.page-hero-content h1 { color: var(--white); margin-top: 18px; font-size: clamp(2.2rem, 4.6vw, 3.5rem); font-weight: 500; max-width: 780px; }
.page-hero-sub { margin-top: 20px; max-width: 620px; font-size: 17px; line-height: 1.7; color: rgba(255,255,255,0.85); }
.page-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.page-hero-crumbs { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: rgba(255,255,255,0.6); margin-bottom: 6px; }
.page-hero-crumbs a { color: rgba(255,255,255,0.75); }
.page-hero-crumbs a:hover { color: var(--gold-light); }

/* Compact tool-style hero used on utility pages */
.tool-hero {
  position: relative;
  padding: calc(var(--header-h) + 74px) 32px 130px;
  background: linear-gradient(125deg, var(--navy) 0%, var(--navy-deep) 100%);
  text-align: center;
  overflow: hidden;
}
.tool-hero::before {
  content: "";
  position: absolute;
  left: 50%; top: -140px; transform: translateX(-50%);
  width: 680px; height: 680px;
  background: url('images/logo/mark-color.png') center / contain no-repeat;
  opacity: 0.05;
}
.tool-hero-inner { position: relative; z-index: 1; max-width: 740px; margin: 0 auto; }
.tool-hero h1 { color: var(--white); margin-top: 18px; font-size: clamp(2.1rem, 4vw, 3.2rem); font-weight: 500; }
.tool-hero-sub { margin-top: 18px; font-size: 17px; line-height: 1.7; color: rgba(255,255,255,0.8); }
.tool-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 34px; }

/* ==========================================================================
   Generic content sections
   ========================================================================== */
.content-section { padding: 110px 0; background: var(--white); }
.content-section.on-cream { background: var(--cream); }
.content-section.tight-top { padding-top: 40px; }
.content-section.tight-bottom { padding-bottom: 40px; }

.prose-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 68px; align-items: start; }
.prose-main h2 { font-size: clamp(1.5rem, 2.4vw, 1.95rem); font-weight: 500; margin-top: 46px; }
.prose-main h2:first-child { margin-top: 0; }
.prose-main p { margin-top: 16px; font-size: 16px; line-height: 1.8; color: var(--text-muted); }
.prose-main p + p { margin-top: 16px; }

.callout { margin-top: 32px; padding: 30px 32px; background: var(--cream); border-left: 3px solid var(--gold); border-radius: 0 16px 16px 0; }
.callout.on-white { background: var(--white); border: 1px solid var(--border); border-left: 3px solid var(--terracotta); }
.callout h3 { font-size: 17.5px; font-weight: 600; color: var(--navy); }
.callout p { margin-top: 10px; font-size: 14.5px; line-height: 1.75; color: var(--text-muted); }

.info-list { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.info-list li { display: flex; align-items: flex-start; gap: 13px; font-size: 16px; line-height: 1.6; color: var(--text-muted); }
.info-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-top: 9px; flex-shrink: 0; }
.info-list li span.note { color: var(--text-muted); opacity: 0.75; font-size: 14.5px; }

.aside-stack { position: sticky; top: 130px; display: flex; flex-direction: column; gap: 22px; }
.aside-card { background: var(--cream); border: 1px solid var(--border); border-radius: 18px; padding: 34px 30px; }
.aside-card h3 { font-family: var(--serif); font-size: 19.5px; font-weight: 600; color: var(--navy); }
.aside-card .tag { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 8px; display: block; }
.aside-card address { margin-top: 18px; font-size: 14.5px; line-height: 1.8; color: var(--text-muted); }
.aside-card .row { margin-top: 15px; font-size: 14px; }
.aside-card .row strong { display: block; color: var(--navy); font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 3px; }
.aside-card .row a { color: var(--slate); font-weight: 600; }
.aside-card .btn { margin-top: 24px; width: 100%; justify-content: center; }

@media (max-width: 980px) { .prose-grid { grid-template-columns: 1fr; } .aside-stack { position: static; } }

/* ==========================================================================
   Rate / contact quick-cards
   ========================================================================== */
.quick-contact-grid { margin-top: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quick-contact-card { background: var(--cream); border: 1px solid var(--border); border-radius: 16px; padding: 28px 22px; text-align: center; }
.quick-contact-card .qc-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--terracotta); display: block; margin-bottom: 10px; }
.quick-contact-card .qc-phone { display: block; font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--navy); }
.quick-contact-card .qc-phone:hover { color: var(--slate); }
.quick-contact-card .qc-caption { display: block; margin-top: 6px; font-size: 12.5px; color: var(--text-muted); }
@media (max-width: 780px) { .quick-contact-grid { grid-template-columns: 1fr; } }

.county-grid { margin-top: 8px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.county-card { background: var(--cream); border: 1px solid var(--border); border-radius: 18px; padding: 30px 28px; }
.county-card h3 { font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--navy); }
.county-card .info-list { margin-top: 16px; }
.county-card .info-list li { font-size: 15px; }
@media (max-width: 860px) { .county-grid { grid-template-columns: 1fr; } }

.fee-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.fee-card { background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 36px; box-shadow: var(--shadow-sm); }
.fee-card h3 { font-family: var(--serif); font-size: 19.5px; font-weight: 600; color: var(--navy); margin-bottom: 18px; }
@media (max-width: 860px) { .fee-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Office mini-cards (Home page office preview)
   ========================================================================== */
.office-mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.office-mini {
  position: relative;
  background: var(--navy);
  border-radius: 18px;
  padding: 30px 28px;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.office-mini::before {
  content: "";
  position: absolute; right: -30px; bottom: -30px;
  width: 140px; height: 140px;
  background: url('images/logo/mark-color.png') center / contain no-repeat;
  opacity: 0.08;
}
.office-mini:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.office-mini-name { font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--white); position: relative; z-index: 1; }
.office-mini address { margin-top: 10px; font-size: 13.5px; line-height: 1.6; color: rgba(255,255,255,0.62); position: relative; z-index: 1; }
.office-mini .f-phone { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--gold-light); position: relative; z-index: 1; }
.office-mini .m-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 14px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.55); position: relative; z-index: 1; transition: color 0.3s ease; }
.office-mini:hover .m-link { color: var(--gold-light); }
.office-mini .m-link svg { width: 11px; height: 11px; }
@media (max-width: 900px) { .office-mini-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .office-mini-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Location picker (Locations page)
   ========================================================================== */
.loc-picker { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.loc-picker-btn {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 14px;
  text-align: center;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s ease, background 0.3s ease;
}
.loc-picker-btn:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--gold); }
.loc-picker-btn.active { background: var(--navy); border-color: var(--navy); }
.loc-picker-name { display: block; font-family: var(--serif); font-size: 15.5px; font-weight: 600; color: var(--navy); }
.loc-picker-btn.active .loc-picker-name { color: var(--white); }
.loc-picker-cue { display: block; margin-top: 5px; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--slate); }
.loc-picker-btn.active .loc-picker-cue { color: var(--gold-light); }
@media (max-width: 900px) { .loc-picker { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .loc-picker { grid-template-columns: repeat(2, 1fr); } }

.loc-panels { margin-top: 44px; }
.loc-panel { display: none; }
.loc-panel.active { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center; }
.loc-panel-media { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/3; }
.loc-panel-media img { width: 100%; height: 100%; object-fit: cover; }
.loc-panel-body .eyebrow { margin-bottom: 6px; }
.loc-panel-body h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 12px; }
.loc-panel-body address { margin-top: 20px; font-size: 16px; line-height: 1.8; color: var(--text-muted); }
.loc-panel-body .row { margin-top: 16px; }
.loc-panel-body .row strong { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--navy); margin-bottom: 3px; }
.loc-panel-body .row a { color: var(--slate); font-weight: 600; font-size: 15px; }
.loc-panel-body .btn { margin-top: 26px; }
@media (max-width: 860px) { .loc-panel.active { grid-template-columns: 1fr; } }

/* ==========================================================================
   Forms (contact / order / pay)
   ========================================================================== */
.form-section { padding: 0 0 130px; background: var(--white); }
.form-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 50px; align-items: start; }
@media (max-width: 980px) { .form-grid { grid-template-columns: 1fr; } .form-grid .aside-stack { position: static; } }
.form-card { position: relative; background: var(--white); border: 1px solid var(--border); border-radius: 24px; padding: 48px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--navy); margin-bottom: 9px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 15px;
  color: var(--ink);
  background: var(--cream);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--gold); background: var(--white);
  box-shadow: 0 0 0 4px rgba(198,164,105,0.16);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-group.check { display: flex; align-items: flex-start; gap: 10px; }
.form-group.check input { width: auto; margin-top: 3px; }
.form-group.check label { text-transform: none; font-weight: 500; letter-spacing: 0; font-size: 14px; color: var(--text-muted); }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } .form-card { padding: 32px 24px; } }

.form-success { display: none; text-align: center; padding: 46px 20px; }
.form-success.show { display: block; }
.form-success svg { width: 56px; height: 56px; color: var(--terracotta); margin: 0 auto 22px; }
.form-success h3 { font-size: 22px; }
.form-success p { margin-top: 12px; color: var(--text-muted); font-size: 15px; line-height: 1.7; max-width: 380px; margin-left: auto; margin-right: auto; }

.rate-results, #rate-form-wrap { scroll-margin-top: calc(var(--header-h) + 12px); }
.rate-results { display: none; }
.rate-results.show { display: block; }
.rate-results .rr-meta { display: flex; flex-wrap: wrap; gap: 18px 32px; margin-bottom: 30px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.rate-results .rr-meta-item { font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-muted); }
.rate-results .rr-meta-item strong { display: block; margin-top: 4px; font-family: var(--serif); font-size: 18px; font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--navy); }
.rate-results h3 { font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); margin: 30px 0 14px; }
.rate-results h3:first-of-type { margin-top: 0; }
.rate-results .rr-note { margin-top: 14px; font-size: 13px; line-height: 1.7; color: var(--text-muted); }
.rate-results .rr-note a { color: var(--terracotta); }
.rate-results .rr-actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }

.form-alert-error {
  display: none;
  align-items: flex-start; gap: 12px;
  margin-bottom: 24px; padding: 16px 18px;
  border-radius: 12px;
  background: rgba(184,92,62,0.08);
  border: 1px solid rgba(184,92,62,0.3);
  color: #9c4a30;
  font-size: 13.5px; line-height: 1.6;
}
.form-alert-error.show { display: flex; }
.form-alert-error svg { width: 19px; height: 19px; flex-shrink: 0; margin-top: 1px; color: var(--terracotta); }

.order-type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 8px; }
.order-type {
  position: relative;
  border: 1px solid var(--border);
  background: var(--cream);
  border-radius: 14px;
  padding: 18px 16px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s var(--ease);
}
.order-type:hover { transform: translateY(-3px); }
.order-type input { position: absolute; opacity: 0; }
.order-type span { font-size: 13.5px; font-weight: 600; color: var(--navy); }
.order-type:has(input:checked) { background: var(--navy); border-color: var(--navy); }
.order-type:has(input:checked) span { color: var(--white); }
@media (max-width: 620px) { .order-type-grid { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   Pay / payment page
   ========================================================================== */
.pay-card { background: var(--white); border: 1px solid var(--border); border-radius: 24px; padding: 48px; box-shadow: var(--shadow-sm); }
.pay-amount-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0 28px; }
@media (max-width: 420px) { .pay-amount-row { grid-template-columns: repeat(2, 1fr); } }
.pay-amount-btn {
  padding: 16px 10px; border-radius: 12px; border: 1px solid var(--border); background: var(--cream);
  font-weight: 700; color: var(--navy); font-size: 14px; text-align: center; cursor: pointer;
  transition: all 0.25s var(--ease);
}
.pay-amount-btn:has(input:checked), .pay-amount-btn.active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.pay-amount-btn input { position: absolute; opacity: 0; pointer-events: none; }
.pay-methods { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.pay-method-badge { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 100px; border: 1px solid var(--border); font-size: 12.5px; font-weight: 600; color: var(--text-muted); }
.pay-method-badge svg { width: 16px; height: 16px; }
.pay-preview { opacity: 0.5; filter: grayscale(0.3); pointer-events: none; user-select: none; }

/* ==========================================================================
   Calendar / classes
   ========================================================================== */
.class-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 50px; }
.class-chip {
  padding: 11px 22px; border-radius: 100px; border: 1px solid var(--border); background: var(--cream);
  font-size: 13px; font-weight: 600; color: var(--navy-deep);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}
.class-chip.active, .class-chip:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }

.class-list { display: flex; flex-direction: column; gap: 16px; }
.class-row {
  display: grid; grid-template-columns: 120px 1fr auto; gap: 26px; align-items: center;
  padding: 26px 30px; background: var(--cream); border: 1px solid var(--border); border-radius: 18px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s ease;
}
.class-row:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); background: var(--white); }
.class-date { text-align: center; border-right: 1px solid var(--border); padding-right: 22px; }
.class-date .mon { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--terracotta); }
.class-date .day { display: block; font-family: var(--serif); font-size: 30px; font-weight: 600; color: var(--navy); line-height: 1.1; }
.class-body .class-cat { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--terracotta); }
.class-body h3 { font-size: 18px; margin-top: 6px; }
.class-body p { margin-top: 6px; font-size: 13.5px; color: var(--text-muted); }
.class-body .class-meta { display: flex; gap: 16px; margin-top: 10px; font-size: 12.5px; color: var(--slate); flex-wrap: wrap; }
.class-body .class-meta span { display: inline-flex; align-items: center; gap: 5px; }
.class-body .class-meta svg { width: 13px; height: 13px; }
@media (max-width: 720px) {
  .class-row { grid-template-columns: 1fr; text-align: left; gap: 12px; }
  .class-date { text-align: left; border-right: none; padding-right: 0; display: flex; align-items: baseline; gap: 8px; }
}

/* ==========================================================================
   Dynamic classes/events — list + calendar view, fed by api_getEBEvents.cshtml
   ========================================================================== */
.cls-toolbar { display: flex; justify-content: center; gap: 12px; margin-bottom: 44px; }
.cls-view-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 100px; border: 1px solid var(--border);
  background: var(--white); font-size: 13px; font-weight: 600; color: var(--navy);
  cursor: pointer; transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.cls-view-btn svg { width: 15px; height: 15px; }
.cls-view-btn.active, .cls-view-btn:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }

.cls-status { text-align: center; padding: 70px 20px; color: var(--text-muted); font-size: 15px; }
.cls-status.error { color: var(--terracotta); }
.cls-empty { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.cls-empty .btn { margin-top: 20px; }

.cls-view { display: none; }
.cls-view.active { display: block; }

.cls-list { display: flex; flex-direction: column; gap: 16px; }

/* Calendar */
.cls-cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.cls-cal-header h3 { font-family: var(--serif); font-size: 21px; color: var(--navy); font-weight: 600; }
.cls-cal-nav { display: flex; gap: 8px; }
.cls-cal-nav button {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--white); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.cls-cal-nav button:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.cls-cal-nav button svg { width: 15px; height: 15px; }

.cls-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
.cls-cal-daylabel { background: var(--navy); color: var(--white); text-align: center; padding: 11px 4px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.cls-cal-cell { background: var(--white); min-height: 108px; padding: 8px 6px; }
.cls-cal-cell.other-month { background: var(--cream); }
.cls-cal-cell.today { background: rgba(198,164,105,0.12); }
.cls-cal-daynum { font-size: 12px; font-weight: 700; color: var(--slate); margin-bottom: 5px; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.cls-cal-cell.today .cls-cal-daynum { background: var(--navy); color: var(--white); }
.cls-cal-cell.other-month .cls-cal-daynum { color: var(--slate-light); }
.cls-cal-event {
  background: var(--navy); color: var(--white); border-radius: 5px; padding: 3px 7px; margin-bottom: 3px;
  font-size: 10.5px; line-height: 1.4; cursor: pointer; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  font-weight: 600; transition: background 0.15s ease, transform 0.1s ease;
}
.cls-cal-event:hover { background: var(--navy-deep); transform: translateY(-1px); }
.cls-cal-event.is-free { background: var(--terracotta); }
.cls-cal-event.is-free:hover { background: #9c4a30; }
@media (max-width: 640px) {
  .cls-cal-cell { min-height: 62px; padding: 4px; }
  .cls-cal-daylabel { font-size: 9px; padding: 6px 2px; }
  .cls-cal-event { font-size: 0; padding: 0; width: 7px; height: 7px; border-radius: 50%; margin: 0 auto 3px; }
}

/* Event detail modal */
.ev-overlay { display: none; position: fixed; inset: 0; background: rgba(20,29,41,0.62); z-index: 9000; overflow-y: auto; padding: 24px 16px; }
.ev-overlay.open { display: flex; align-items: flex-start; justify-content: center; }
.ev-modal { background: var(--white); border-radius: 22px; max-width: 600px; width: 100%; margin: 40px auto; overflow: hidden; box-shadow: var(--shadow-lg); }
.ev-modal-img { width: 100%; max-height: 260px; object-fit: cover; display: block; }
.ev-modal-body { padding: 34px 36px 36px; }
.ev-modal-close { float: right; background: none; border: none; font-size: 28px; line-height: 1; color: var(--slate-light); cursor: pointer; padding: 0; margin-left: 10px; transition: color 0.2s ease; }
.ev-modal-close:hover { color: var(--navy); }
.ev-modal-title { margin: 0 0 16px; font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--navy); line-height: 1.35; }
.ev-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.ev-badge { border-radius: 100px; padding: 5px 14px; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; }
.ev-badge-free { background: rgba(184,92,62,0.12); color: var(--terracotta); }
.ev-badge-paid { background: rgba(198,164,105,0.18); color: var(--gold-deep); }
.ev-badge-online { background: rgba(36,52,74,0.08); color: var(--navy); }
.ev-badge-cap { background: var(--cream); color: var(--slate); }
.ev-datetime { font-size: 14px; color: var(--text-muted); line-height: 1.75; margin-bottom: 18px; }
.ev-datetime strong { color: var(--navy); }
.ev-desc { font-size: 14px; color: var(--text-muted); line-height: 1.75; margin-bottom: 26px; white-space: pre-line; }
.ev-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ==========================================================================
   Resource / library cards
   ========================================================================== */
.resource-hub { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.resource-panel { background: var(--cream); border: 1px solid var(--border); border-radius: 22px; padding: 40px; scroll-margin-top: calc(var(--header-h) + 12px); }
.resource-panel-head { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.resource-panel-head .sc-icon { margin-bottom: 0; flex-shrink: 0; }
.resource-panel-head h3 { font-size: 21px; }
.resource-links { display: flex; flex-direction: column; }
.resource-links a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 15px 4px; border-bottom: 1px solid var(--border);
  font-size: 14.5px; font-weight: 600; color: var(--navy);
  transition: color 0.3s ease, padding-left 0.3s ease;
}
.resource-links a:last-child { border-bottom: none; }
.resource-links a:hover { color: var(--terracotta); padding-left: 8px; }
.resource-links a svg { width: 14px; height: 14px; color: var(--slate-light); flex-shrink: 0; transition: transform 0.3s var(--ease), color 0.3s ease; }
.resource-links a:hover svg { transform: translateX(3px); color: var(--terracotta); }
.resource-links a .r-sub { display: block; font-weight: 400; font-size: 12.5px; color: var(--text-muted); margin-top: 2px; }
@media (max-width: 860px) { .resource-hub { grid-template-columns: 1fr; } }

.news-list { display: flex; flex-direction: column; gap: 2px; }
.news-item { display: grid; grid-template-columns: 110px 1fr; gap: 24px; padding: 24px 4px; border-bottom: 1px solid var(--border); }
.news-item:first-child { padding-top: 0; }
.news-date { font-size: 12.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--terracotta); }
.news-item h4 { font-size: 16.5px; font-weight: 600; color: var(--navy); }
.news-item p { margin-top: 8px; font-size: 14px; line-height: 1.65; color: var(--text-muted); }
@media (max-width: 600px) { .news-item { grid-template-columns: 1fr; gap: 6px; } }

/* ==========================================================================
   Title Advantage login page
   ========================================================================== */
.ta-section { padding: 110px 0 130px; background: var(--white); }
.ta-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; }
.ta-showcase-image { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/2.7; margin-bottom: 36px; }
.ta-showcase-image img, .ta-showcase-image video { width: 100%; height: 100%; object-fit: cover; background: transparent; }
@media (prefers-reduced-motion: reduce) { .ta-showcase-image video { display: none; } }
.feature-list { display: flex; flex-direction: column; gap: 22px; }
.feature-row { display: flex; align-items: flex-start; gap: 18px; }
.feature-row .icon {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 13px;
  background: var(--cream); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.feature-row .icon svg { width: 21px; height: 21px; color: var(--navy); }
.feature-row .text strong { display: block; font-family: var(--serif); font-size: 16.5px; color: var(--navy); margin-bottom: 4px; }
.feature-row .text span { font-size: 14px; line-height: 1.65; color: var(--text-muted); }

.login-card { position: sticky; top: 130px; background: var(--cream); border: 1px solid var(--border); border-radius: 24px; padding: 42px 38px; }
.login-card h2 { font-size: 22px; }
.login-sub { margin-top: 8px; font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.login-card form { margin-top: 26px; }
.login-submit { width: 100%; justify-content: center; margin-top: 6px; }
.login-divider { margin: 28px 0 18px; text-align: center; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); position: relative; }
.login-divider::before, .login-divider::after { content: ""; position: absolute; top: 50%; width: 30%; height: 1px; background: var(--border); }
.login-divider::before { left: 0; }
.login-divider::after { right: 0; }
.login-links { display: flex; flex-direction: column; gap: 10px; }
.login-links button {
  background: var(--white); border: 1px solid var(--border); border-radius: 12px;
  padding: 13px 16px; font-size: 13px; font-weight: 600; color: var(--navy);
  transition: border-color 0.25s ease, background 0.25s ease;
}
.login-links button:hover { border-color: var(--gold); background: var(--white); }
@media (max-width: 980px) { .ta-grid { grid-template-columns: 1fr; } .login-card { position: static; } }

/* ==========================================================================
   Data table (O&E pricing, etc.)
   ========================================================================== */
.table-wrap { border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
.data-table { width: 100%; border-collapse: collapse; background: var(--white); }
.data-table th, .data-table td { padding: 17px 22px; text-align: left; border-bottom: 1px solid var(--border); font-size: 14px; }
.data-table thead th { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); background: var(--cream); }
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table td { color: var(--text-muted); line-height: 1.5; }
.data-table td strong { color: var(--navy); font-weight: 600; }
.data-table td:last-child, .data-table th:last-child { text-align: right; font-weight: 700; color: var(--navy); white-space: nowrap; }
@media (max-width: 640px) {
  .data-table th:nth-child(2), .data-table td:nth-child(2) { display: none; }
  .data-table th, .data-table td { padding: 14px 16px; }
}

/* ==========================================================================
   Dynamic document grid (Title Tidbits / Forms — fed by proxyMDocs.asp)
   ========================================================================== */
.mdoc-status { text-align: center; padding: 40px 20px; color: var(--text-muted); font-size: 14.5px; grid-column: 1/-1; }
.mdoc-status.error { color: var(--terracotta); }

.tidbit-search { position: relative; max-width: 480px; margin: 0 auto 40px; }
.tidbit-search svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--text-muted); pointer-events: none; }
.tidbit-search input {
  width: 100%;
  padding: 14px 16px 14px 48px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 15px;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.tidbit-search input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(198,164,105,0.16); }
.tidbit-search input:disabled { opacity: 0.55; cursor: not-allowed; }
.mdoc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mdoc-button {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px; background: var(--white); border: 1px solid var(--border); border-radius: 14px;
  font-size: 14px; font-weight: 600; color: var(--navy);
  transition: border-color 0.25s ease, transform 0.25s var(--ease), box-shadow 0.25s ease;
}
.mdoc-button:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.mdoc-button .glyph {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 11px;
  background: var(--cream); display: flex; align-items: center; justify-content: center;
  color: var(--terracotta);
}
.mdoc-button .glyph svg { width: 19px; height: 19px; }
.mdoc-button .mdoc-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mdoc-button .mdoc-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mdoc-button .mdoc-note { font-size: 11.5px; font-weight: 500; color: var(--text-muted); white-space: normal; line-height: 1.4; }
.mdoc-empty { grid-column: 1/-1; text-align: center; padding: 30px 20px; color: var(--text-muted); font-size: 14px; }
.mdoc-empty.hidden { display: none; }
@media (max-width: 900px) { .mdoc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .mdoc-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Link search (Useful Links page)
   ========================================================================== */
.link-search-wrap { max-width: 620px; margin: 0 auto 8px; }
.link-search-box {
  display: flex; align-items: center; gap: 12px;
  background: var(--white); border-radius: 100px; box-shadow: var(--shadow-lg);
  padding: 8px 10px 8px 24px;
}
.link-search-box svg { width: 20px; height: 20px; color: var(--slate-light); flex-shrink: 0; }
.link-search-box input {
  flex: 1; border: none; outline: none; background: transparent;
  font-family: var(--sans); font-size: 16px; color: var(--ink);
}
.link-search-box input::placeholder { color: var(--text-muted); }
.link-search-clear {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; border: none;
  background: var(--cream); color: var(--slate); display: none; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.2s ease;
}
.link-search-clear svg { width: 13px; height: 13px; }
.link-search-clear:hover { background: var(--border); }
.link-search-clear.show { display: flex; }
.link-search-count {
  flex-shrink: 0; font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--gold-deep); background: var(--cream); border-radius: 100px; padding: 8px 16px; white-space: nowrap;
}
.link-section-title { text-align: center; margin: 0 0 8px; }
.link-section.hidden-by-search { display: none; }

/* ==========================================================================
   Badges / tags
   ========================================================================== */
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 100px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.tag-gold { background: rgba(198,164,105,0.16); color: var(--gold-deep); }
.tag-terracotta { background: rgba(184,92,62,0.12); color: var(--terracotta); }
.tag-navy { background: rgba(36,52,74,0.08); color: var(--navy); }

/* ==========================================================================
   Sticky mobile CTA (Place an Order) — appears once user has scrolled
   ========================================================================== */
.sticky-cta { position: fixed; right: 22px; bottom: 22px; z-index: 400; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.sticky-cta.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.sticky-cta .btn { box-shadow: var(--shadow-lg); }
@media (min-width: 861px) { .sticky-cta { display: none; } }

/* ==========================================================================
   Responsive — header, utility bar, mobile nav
   ========================================================================== */
.hide-mobile { display: inline-flex; }

@media (max-width: 980px) {
  .utility-left a:nth-child(2), .utility-right .divider, .utility-right a[aria-label="Facebook"] { display: none; }
}

@media (max-width: 860px) {
  :root { --header-h: 96px; }
  .utility-bar { height: 36px; font-size: 11.5px; }
  .site-header { top: 36px; }
  .site-header.no-utility { top: 0; }

  .nav-toggle { display: flex; }

  .main-nav {
    position: fixed;
    inset: 0;
    top: 0;
    background: var(--navy-deep);
    padding: 118px 32px 40px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
  }
  .main-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav > ul > li { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .main-nav li:not(.nav-cta) a {
    color: var(--white) !important;
    text-shadow: none !important;
    width: 100%;
    padding: 18px 6px;
    border-radius: 0;
    font-size: 14px;
    justify-content: space-between;
  }
  .main-nav li:not(.nav-cta) a:hover { background: transparent !important; }
  .main-nav li.active:not(.nav-cta) > a { color: var(--gold-light) !important; }

  .nav-dropdown {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    display: none;
    box-shadow: none;
    background: rgba(255,255,255,0.04);
    border-radius: 12px;
    margin: 0 0 10px;
    padding: 4px;
  }
  .main-nav li.has-dropdown.open .nav-dropdown { display: flex; }
  .nav-dropdown a { color: rgba(255,255,255,0.78) !important; font-size: 13.5px; padding: 13px 14px; }
  .nav-dropdown a:hover { background: rgba(255,255,255,0.06) !important; color: var(--white) !important; }

  .nav-cta { margin-left: 0; margin-top: 18px; border-bottom: none !important; }
  .nav-cta a { display: flex; justify-content: center; width: 100%; padding: 16px !important; border-radius: 100px; }

  .actions-wrap { margin-top: -70px; }
  .stats-band { padding-top: 70px; }
}

@media (max-width: 560px) {
  .container { padding: 0 22px; }
  .hero-content { padding-left: 22px; padding-right: 22px; }
  .cta-inner { padding: 44px 28px; flex-direction: column; align-items: flex-start; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1; justify-content: center; }
}
