:root {
  --ink: #223038;
  --muted: #64747b;
  --slate: #344b54;
  --bluegreen: #5f8188;
  --bluegreen-dark: #44656d;
  --bluegreen-soft: #e7f0f1;
  --mist: #f4f8f8;
  --line: #d9e5e7;
  --white: #ffffff;
  --cream: #fbfaf7;
  --gold: #c6a45b;
  --danger: #9a443f;
  --shadow: 0 22px 60px rgba(35, 54, 62, .13);
  --radius: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; }
*, *::before, *::after { min-width: 0; }
html { scroll-behavior: smooth; width: 100%; max-width: 100%; overflow-x: hidden; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; touch-action: manipulation; }
body {
  margin: 0;
  touch-action: manipulation;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
input[type="checkbox"], input[type="radio"] { font: inherit; }
::selection { background: var(--bluegreen); color: white; }

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}
.kicker {
  color: var(--bluegreen-dark);
  text-transform: uppercase;
  letter-spacing: .17em;
  font-size: .78rem;
  font-weight: 800;
  margin: 0 0 10px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(95, 129, 136, .12);
  color: var(--bluegreen-dark);
  font-weight: 800;
  font-size: .82rem;
}
h1, h2, h3, h4 { line-height: 1.08; margin: 0; color: var(--ink); }
h1 { font-size: clamp(2.55rem, 6vw, 5.65rem); letter-spacing: -.06em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.65rem); letter-spacing: -.045em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); letter-spacing: -.025em; }
p { margin: 0; color: var(--muted); }
.lead { font-size: clamp(1.05rem, 1.8vw, 1.26rem); color: #50656d; max-width: 720px; }

.utility {
  background: var(--slate);
  color: rgba(255,255,255,.92);
  font-size: .9rem;
}
.utility-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.utility a { color: white; font-weight: 700; overflow-wrap: anywhere; }
.utility-inner > span { white-space: nowrap; flex-shrink: 0; }
.utility-links { display: flex; gap: 18px; align-items: center; flex-wrap: nowrap; white-space: nowrap; }

.site-header {
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(217, 229, 231, .9);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .container {
  width: min(1500px, calc(100% - 40px));
}
.header-inner {
  min-height: 116px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo-link { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo-link img { width: 219px; max-width: min(21vw, 219px); height: auto; display: block; }
.nav-toggle {
  display: none;
  border: 0;
  background: var(--bluegreen);
  color: white;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  cursor: pointer;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: nowrap;
  white-space: nowrap;
  min-width: 0;
}
.main-nav a {
  color: #31444c;
  font-size: .82rem;
  font-weight: 800;
  padding: 11px 10px;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease, transform .2s ease;
  flex: 0 0 auto;
  min-width: max-content;
}
.main-nav a:hover, .main-nav a.is-active { background: var(--bluegreen-soft); color: var(--bluegreen-dark); }
.main-nav a.cta-nav { background: var(--bluegreen); color: white; padding-inline: 18px; margin-left: 6px; box-shadow: 0 12px 22px rgba(79, 116, 124, .20); min-width: max-content; }
.main-nav a.cta-nav:hover { transform: translateY(-1px); background: var(--bluegreen-dark); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 850;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: white; background: var(--bluegreen); box-shadow: 0 18px 30px rgba(79, 116, 124, .26); }
.btn-primary:hover { background: var(--bluegreen-dark); }
.btn-secondary { background: white; color: var(--bluegreen-dark); border-color: var(--line); box-shadow: 0 10px 24px rgba(34,48,56,.08); }
.btn-secondary:hover { border-color: #b6cdd1; }
.btn-ghost { background: transparent; color: var(--bluegreen-dark); border-color: #bed2d6; }
.btn-small { min-height: 40px; padding: 9px 15px; font-size: .9rem; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 90px;
  background:
    radial-gradient(circle at 12% 10%, rgba(95,129,136,.18), transparent 34%),
    linear-gradient(135deg, #f7fbfb 0%, #e9f2f3 52%, #fdfdfb 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -12% -38% 48%;
  height: 420px;
  border-radius: 999px;
  background: rgba(198,164,91,.08);
  transform: rotate(-10deg);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .78fr);
  gap: 58px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-content { display: grid; gap: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}
.proof-item {
  padding: 18px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(217,229,231,.95);
  border-radius: 18px;
}
.proof-number { display: block; color: var(--ink); font-weight: 900; font-size: 1.25rem; }
.proof-label { display: block; color: var(--muted); font-size: .86rem; }
.hero-card {
  position: relative;
  padding: 14px;
  border-radius: 34px;
  background: rgba(255,255,255,.68);
  border: 1px solid white;
  box-shadow: var(--shadow);
}
.hero-card img { border-radius: 26px; }
.floating-card {
  position: absolute;
  left: -18px;
  bottom: 32px;
  width: min(290px, 70%);
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 18px 42px rgba(34,48,56,.16);
  padding: 18px;
}
.floating-card b { display: block; font-size: 1.02rem; margin-bottom: 4px; }
.floating-card span { color: var(--muted); font-size: .92rem; }
.check-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; color: #4a5e66; align-items: flex-start; }
.check-list li::before { content: "✓"; color: var(--bluegreen-dark); font-weight: 900; }

.section { padding: 88px 0; }
.section-soft { background: var(--mist); }
.section-cream { background: var(--cream); }
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: flex-end;
  margin-bottom: 36px;
}
.section-head p { max-width: 560px; }
.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.help-card, .service-card, .feature-card, .quote-panel, .form-card, .side-card, .job-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(36, 58, 66, .07);
}
.help-card {
  padding: 28px;
  display: grid;
  gap: 14px;
  min-height: 238px;
}
.icon {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  display: inline-grid;
  place-items: center;
  background: var(--bluegreen-soft);
  color: var(--bluegreen-dark);
  font-weight: 900;
  font-size: 1.18rem;
}
.icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.help-card a, .service-card a.link-arrow, .text-link { color: var(--bluegreen-dark); font-weight: 900; }
.link-arrow::after, .text-link::after { content: " →"; }
.is-clickable-card { cursor: pointer; }
.is-clickable-card * { cursor: inherit; }
.is-clickable-card a { cursor: pointer; }


.split {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 58px;
  align-items: center;
}
.image-panel {
  border-radius: 34px;
  min-height: 520px;
  background:
    linear-gradient(135deg, rgba(52,75,84,.72), rgba(95,129,136,.36)),
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.42), transparent 28%),
    linear-gradient(135deg, #96afb5, #edf4f5);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.image-panel::before {
  content: "";
  position: absolute;
  width: 310px;
  height: 310px;
  border: 44px solid rgba(255,255,255,.23);
  border-radius: 50%;
  right: -92px;
  top: -74px;
}
.image-panel::after {
  content: "Westgate One";
  position: absolute;
  left: 36px;
  bottom: 36px;
  color: white;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2.4rem;
  letter-spacing: -.04em;
}
.copy-block { display: grid; gap: 22px; }
.feature-list { display: grid; gap: 14px; margin-top: 8px; }
.feature-row {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
}
.feature-row .dot {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bluegreen-soft);
  color: var(--bluegreen-dark);
  display: grid;
  place-items: center;
  font-weight: 900;
}
.feature-row b { display: block; margin-bottom: 3px; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.service-card {
  min-height: 278px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #bdd1d5; }
.service-card p { margin-top: 12px; font-size: .94rem; }
.service-card .card-top { display: grid; gap: 12px; }

.band {
  padding: 76px 0;
  background: linear-gradient(135deg, var(--slate), #5d838a);
  color: white;
  position: relative;
  overflow: hidden;
}
.band::before { content: ""; position: absolute; inset: -80px -120px auto auto; width: 360px; height: 360px; border-radius: 50%; background: rgba(255,255,255,.09); }
.band .container { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.band h2, .band p { color: white; }
.band p { opacity: .86; max-width: 680px; margin-top: 10px; }
.band .btn-secondary { color: var(--slate); }

.page-hero {
  padding: 72px 0;
  background:
    radial-gradient(circle at 80% 10%, rgba(198,164,91,.12), transparent 34%),
    linear-gradient(135deg, #eef6f7, #fff);
  border-bottom: 1px solid var(--line);
}
.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 440px);
  gap: 48px;
  align-items: start;
}
.breadcrumb { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
.breadcrumb a { color: var(--bluegreen-dark); font-weight: 800; }
.page-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.quick-quote {
  background: white;
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
  padding: 26px;
}
.quick-quote h3 { margin-bottom: 8px; }
.quick-quote form { margin-top: 18px; }




.page-hero-photo {
  position: relative;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.12);
  background:
    linear-gradient(135deg, rgba(26,38,44,.78), rgba(45,69,76,.64) 52%, rgba(96,122,103,.46)),
    var(--page-hero-image) center center / cover no-repeat;
}
.page-hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17,27,32,.34), rgba(17,27,32,0) 46%);
  pointer-events: none;
}
.page-hero-photo .page-hero-grid,
.page-hero-photo .quick-quote,
.page-hero-photo .page-hero-copy {
  position: relative;
  z-index: 1;
}
.page-hero-photo .page-hero-copy {
  padding: 8px 0;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.page-hero-photo .breadcrumb,
.page-hero-photo .breadcrumb a,
.page-hero-photo .kicker,
.page-hero-photo h1,
.page-hero-photo .lead {
  color: #fff;
}
.page-hero-photo .breadcrumb {
  color: rgba(255,255,255,.84);
}
.page-hero-photo .breadcrumb a {
  font-weight: 800;
}
.page-hero-photo .kicker {
  color: rgba(255,255,255,.76);
}
.page-hero-photo .lead {
  max-width: 720px;
  color: rgba(255,255,255,.92);
}
.page-hero-photo .btn-primary {
  background: #f0c85b;
  color: #223038;
  box-shadow: 0 18px 30px rgba(25, 42, 48, .24);
}
.page-hero-photo .btn-primary:hover { background: #dfb84b; }
.page-hero-photo .btn-secondary {
  background: rgba(255,255,255,.94);
  color: var(--slate);
  border-color: rgba(255,255,255,.82);
}
.page-hero-photo .quick-quote {
  background: rgba(255,255,255,.96);
  border-color: rgba(255,255,255,.72);
}
.page-hero-whole { --page-hero-image: url('../img/site-images/hero-whole-life.jpg'); }
.page-hero-term { --page-hero-image: url('../img/site-images/hero-term-life.jpg'); }
.page-hero-iul { --page-hero-image: url('../img/site-images/hero-iuls.jpg'); }
.page-hero-final { --page-hero-image: url('../img/site-images/hero-final-expense.jpg'); }
.page-hero-retirement { --page-hero-image: url('../img/site-images/hero-retirement-planning.jpg'); }

.page-hero-whole { background-position: center center; }
.page-hero-term { background-position: center center; }
.page-hero-iul { background-position: center center; }
.page-hero-final { background-position: center center; }
.page-hero-retirement { background-position: center center; }


.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 36px;
  align-items: start;
}
.prose { display: grid; gap: 26px; }
.prose-card {
  padding: 34px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(36,58,66,.06);
}
.prose-card h2, .prose-card h3 { margin-bottom: 14px; }
.prose-card ul { margin: 14px 0 0; padding-left: 20px; color: var(--muted); }
.prose-card li { margin: 9px 0; }
.side-stack { display: grid; gap: 18px; position: sticky; top: 124px; }
.side-card { padding: 24px; }
.side-card h3 { margin-bottom: 10px; }
.side-card ul { margin: 14px 0 0; padding-left: 20px; color: var(--muted); }

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 36px;
  align-items: start;
}
.form-card { padding: 34px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: grid; gap: 7px; color: #31444c; font-weight: 800; font-size: .92rem; }
input:not([type="checkbox"]):not([type="radio"]), select, textarea {
  width: 100%;
  border: 1px solid #cddde0;
  background: #fff;
  border-radius: 14px;
  padding: 13px 14px;
  color: var(--ink);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
input[type="file"] {
  padding: 10px 12px;
  background: #fff;
}
input[type="file"]::file-selector-button {
  margin-right: 12px;
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  background: var(--bluegreen-soft);
  color: var(--bluegreen-dark);
  cursor: pointer;
}
input[type="file"]::file-selector-button:hover {
  background: #dbe9eb;
}
textarea { min-height: 126px; resize: vertical; }
input:not([type="checkbox"]):not([type="radio"]):focus, select:focus, textarea:focus { border-color: var(--bluegreen); box-shadow: 0 0 0 4px rgba(95,129,136,.14); }
select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5 10 12.5 15 7.5' stroke='%235f8188' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px 16px;
  padding-right: 44px;
}
select:hover {
  border-color: #bdd1d5;
  background-color: #fbfdfd;
}
select option {
  background: #eef5f6;
  color: #31444c;
}
select option:checked,
select option:hover,
select option:focus {
  background: var(--bluegreen);
  color: var(--white);
}

.checkbox-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 8px; }
.checkbox-grid label, .radio-row label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--muted);
  background: var(--mist);
  border: 1px solid #d9e5e7;
  border-radius: 14px;
  padding: 11px 12px;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.checkbox-grid label:hover, .radio-row label:hover {
  border-color: #bdd1d5;
  background: #f8fbfb;
}
.checkbox-grid label:has(input:checked), .radio-row label:has(input:checked) {
  border-color: var(--bluegreen);
  background: rgba(95,129,136,.10);
  box-shadow: inset 0 0 0 1px rgba(95,129,136,.08);
  color: var(--bluegreen-dark);
}
.checkbox-grid input, .radio-row input { width: 20px; height: 20px; min-width: 20px; flex: 0 0 20px; margin: 0; padding: 0; accent-color: var(--bluegreen); cursor: pointer; }
.checkbox-grid input[type="checkbox"], .radio-row input[type="radio"] { border-radius: 6px; }
.form-note { background: var(--bluegreen-soft); border: 1px solid #c9dcdf; border-radius: 16px; padding: 16px; color: #4f6870; font-size: .94rem; }

.recaptcha-box {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #d9e5e7;
  border-radius: 16px;
  background: var(--mist);
  overflow-x: auto;
}
.recaptcha-title {
  display: block;
  color: #31444c;
  font-weight: 850;
  font-size: .92rem;
  margin-bottom: 10px;
}
.recaptcha-holder {
  min-height: 78px;
  display: flex;
  align-items: center;
}
.recaptcha-placeholder {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 1px dashed #bdd1d5;
  border-radius: 12px;
  padding: 10px 13px;
  color: var(--bluegreen-dark);
  background: #fff;
  font-weight: 800;
  font-size: .92rem;
}

.form-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.form-status { display: none; margin-top: 18px; padding: 15px; border-radius: 14px; background: var(--bluegreen-soft); color: var(--bluegreen-dark); font-weight: 800; border: 1px solid #c9dcdf; }
.form-status.is-visible { display: block; }
.form-status[data-state="success"] { background: #edf6ed; color: #345c37; border-color: #cfe3d0; }
.form-status[data-state="error"] { background: #fff0ee; color: var(--danger); border-color: #f1cbc5; }

.process-steps { counter-reset: step; display: grid; gap: 14px; }
.step-card {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
}
.step-card::before {
  counter-increment: step;
  content: counter(step);
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bluegreen);
  color: white;
  font-weight: 900;
}

.team-block {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 36px;
  align-items: center;
}
.portrait-placeholder {
  min-height: 420px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 50% 28%, rgba(255,255,255,.72), transparent 18%),
    linear-gradient(135deg, #dbe9eb, #5f8188);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.portrait-placeholder::before {
  content: "";
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255,255,255,.58);
  position: absolute;
  left: calc(50% - 70px);
  top: 76px;
}
.portrait-placeholder::after {
  content: "Westgate One";
  position: absolute;
  bottom: 34px;
  left: 34px;
  color: white;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2rem;
}
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.feature-card { padding: 24px; }

.job-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.job-card { padding: 25px; }
.job-card h3 { margin-bottom: 10px; }

.site-footer {
  background: #223038;
  color: rgba(255,255,255,.80);
  padding: 60px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 38px;
}
.footer-logo { width: 340px; max-width: min(100%, 340px); opacity: .98; margin-bottom: 18px; }
.site-footer h3 { color: white; font-size: 1rem; margin-bottom: 15px; }
.site-footer a { display: block; color: rgba(255,255,255,.78); margin: 9px 0; }
.site-footer a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255,255,255,.62);
  font-size: .9rem;
}



/* Homepage refresh: cleaner desktop, more imagery, brighter calls-to-action. */
.home-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 96px;
  background:
    radial-gradient(circle at 8% 12%, rgba(124, 190, 197, .22), transparent 34%),
    radial-gradient(circle at 82% 8%, rgba(232, 190, 92, .18), transparent 30%),
    linear-gradient(135deg, #fbfdfd 0%, #edf7f7 50%, #fffaf0 100%);
}
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.72) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.72) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: .42;
  pointer-events: none;
}
.home-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  gap: 60px;
  align-items: center;
}
.home-hero-copy { display: grid; gap: 24px; }

.mobile-home-hero-bg,
.media-note-mobile {
  display: none;
}
.mobile-home-hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.035);
  animation: wgHeroRoll 24s infinite;
}
.mobile-home-hero-slide:nth-child(2) { animation-delay: 6s; }
.mobile-home-hero-slide:nth-child(3) { animation-delay: 12s; }
.mobile-home-hero-slide:nth-child(4) { animation-delay: 18s; }


/* Always use the homepage slideshow as the full hero background. */
.home-hero {
  background: #223038;
  color: #fff;
}
.home-hero::before {
  z-index: 1;
  background:
    linear-gradient(135deg, rgba(24,37,43,.84), rgba(41,63,70,.68) 52%, rgba(84,108,92,.50)),
    linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
  opacity: 1;
}
.mobile-home-hero-bg {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #223038;
}
.home-hero-grid {
  grid-template-columns: minmax(0, 1fr);
  max-width: 1040px;
}
.home-hero-copy {
  max-width: 920px;
}
.home-hero-copy .eyebrow,
.home-hero-copy h1,
.home-hero-copy .lead {
  color: #fff;
}
.home-hero-copy .eyebrow {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.24);
}
.home-hero-media {
  display: none;
}
.media-note-mobile {
  display: grid;
  position: static;
  margin: 4px 0 0;
  max-width: 520px;
  padding: 18px 20px;
  border-radius: 22px;
  color: var(--slate);
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(217,229,231,.92);
  box-shadow: 0 20px 52px rgba(34,48,56,.18);
  backdrop-filter: blur(12px);
}
.media-note-desktop {
  display: none;
}


/* Wide desktop alignment: keep all main content lined up with the refreshed homepage hero gutters. */
@media (min-width: 861px) {
  .utility > .container,
  .site-header > .container,
  main > section > .container,
  .site-footer > .container {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding-left: clamp(28px, 4vw, 72px);
    padding-right: clamp(28px, 4vw, 72px);
  }

  .home-hero-grid.container {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding-left: clamp(28px, 4vw, 72px);
    padding-right: clamp(28px, 4vw, 72px);
  }
}
.home-hero-copy h1 { max-width: 820px; }
.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}
.trust-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(198, 219, 223, .88);
  color: #42606a;
  font-weight: 850;
  font-size: .86rem;
  box-shadow: 0 10px 22px rgba(34, 48, 56, .05);
}
.home-hero-media {
  position: relative;
  min-height: 560px;
}
.rotating-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 42px;
  background: #e7f0f1;
  border: 12px solid rgba(255,255,255,.82);
  box-shadow: 0 28px 80px rgba(36,58,66,.18);
}
.rotating-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.035);
  animation: wgHeroRoll 24s infinite;
}
.rotating-slide:nth-child(2) { animation-delay: 6s; }
.rotating-slide:nth-child(3) { animation-delay: 12s; }
.rotating-slide:nth-child(4) { animation-delay: 18s; }
@keyframes wgHeroRoll {
  0% { opacity: 0; transform: scale(1.04); }
  8% { opacity: 1; transform: scale(1.01); }
  31% { opacity: 1; transform: scale(1); }
  39% { opacity: 0; transform: scale(1.015); }
  100% { opacity: 0; transform: scale(1.04); }
}
.media-note {
  position: absolute;
  left: -18px;
  right: 36px;
  bottom: 30px;
  max-width: 420px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(217,229,231,.96);
  box-shadow: 0 20px 52px rgba(34,48,56,.18);
  backdrop-filter: blur(12px);
}
.media-note b { display: block; margin-bottom: 5px; font-size: 1.08rem; }
.media-note span { color: var(--muted); font-size: .95rem; }
.btn-bright {
  color: #223038;
  background: linear-gradient(135deg, #ffd875, #f2b84d);
  border-color: rgba(255,255,255,.36);
  box-shadow: 0 18px 38px rgba(198,164,91,.34);
}
.btn-bright:hover { background: linear-gradient(135deg, #ffe08d, #efad37); color: #172329; }
.btn-primary.btn-bright { color: #223038; }
.photo-band {
  margin-top: 0;
  padding: 56px 0 52px;
  background: #fff;
  position: relative;
  z-index: 3;
}
.photo-band-grid {
  display: grid;
  grid-template-columns: 1.28fr .86fr .86fr;
  gap: 18px;
}
.photo-card {
  min-height: 260px;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(217,229,231,.95);
  box-shadow: 0 18px 44px rgba(36,58,66,.09);
  background: linear-gradient(180deg, rgba(34,48,56,.06), rgba(34,48,56,.46)), var(--photo);
  background-size: cover;
  background-position: center;
  position: relative;
}
.photo-card.large { min-height: 320px; }
.photo-card span {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  display: inline-flex;
  width: fit-content;
  max-width: calc(100% - 40px);
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  color: #30464e;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(34,48,56,.14);
}
.intro-clean { padding-top: 72px; }
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .72fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 30px;
}
.intro-actions { display: grid; gap: 16px; }
.clean-help-grid .clean-card {
  min-height: 224px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(113, 143, 151, .34);
  background:
    linear-gradient(180deg, rgba(255,255,255,.86), rgba(244,251,251,.70));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.95),
    inset 0 0 0 1px rgba(255,255,255,.42),
    0 22px 54px rgba(36,58,66,.10);
  backdrop-filter: blur(10px);
}
.clean-help-grid .clean-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 18% 0%, rgba(255,255,255,.84), transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,.24), rgba(130,169,176,.08));
  pointer-events: none;
}
.clean-help-grid .clean-card > * {
  position: relative;
  z-index: 1;
}
.cta-feature {
  position: relative;
  overflow: hidden;
  padding: 78px 0;
  background:
    radial-gradient(circle at 86% 22%, rgba(255,216,117,.34), transparent 28%),
    radial-gradient(circle at 10% 92%, rgba(124,190,197,.35), transparent 30%),
    linear-gradient(135deg, #263c45 0%, #426c76 58%, #75a5ab 100%);
  color: white;
}
.cta-feature::before {
  content: "";
  position: absolute;
  inset: 20px auto auto 54%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 54px solid rgba(255,255,255,.08);
}
.cta-feature-grid {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}
.cta-feature h2,
.cta-feature p { color: white; }
.cta-feature p { max-width: 780px; opacity: .9; margin-top: 12px; }
.kicker.light { color: #ffe096; }
.services-clean { background: linear-gradient(180deg, #fffaf0 0%, #f7fbfb 100%); }
.service-grid-clean { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.service-grid-clean .service-card {
  border: 0;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  cursor: pointer;
  user-select: none;
}
.service-grid-clean .service-card::before {
  content: "";
  position: absolute;
  inset: auto -52px -76px auto;
  width: 168px;
  height: 168px;
  border-radius: 50%;
  background: rgba(255,255,255,.36);
  z-index: 0;
  pointer-events: none;
}
.service-grid-clean .service-card > * {
  position: relative;
  z-index: 1;
}
.service-grid-clean .service-card .link-arrow {
  position: relative;
  z-index: 2;
}
.service-tone-1 { background: linear-gradient(160deg, #ffffff, #e8f5f6); }
.service-tone-2 { background: linear-gradient(160deg, #ffffff, #fff2d2); }
.service-tone-3 { background: linear-gradient(160deg, #ffffff, #e8eefb); }
.service-tone-4 { background: linear-gradient(160deg, #ffffff, #f7e8e3); }
.service-tone-5 { background: linear-gradient(160deg, #ffffff, #e7f3ea); }
.service-tone-1 .icon { background: #d9eff1; color: #44656d; }
.service-tone-2 .icon { background: #ffe6aa; color: #7d5d17; }
.service-tone-3 .icon { background: #dce6fb; color: #485d84; }
.service-tone-4 .icon { background: #f3d9d0; color: #8a493d; }
.service-tone-5 .icon { background: #d7ecd9; color: #3e673f; }
.story-strip { background: #fff; }
.photo-panel {
  background:
    linear-gradient(180deg, rgba(34,48,56,.06), rgba(34,48,56,.32)),
    url('../img/photo-family-porch.svg');
  background-size: cover;
  background-position: center;
}
.photo-panel::after { content: "Westgate One"; }


@media (max-width: 1240px) {
  .site-header { position: sticky; }
  .header-inner { min-height: 104px; gap: 12px; }
  .logo-link img { width: 198px; max-width: min(18vw, 198px); }
  .main-nav { gap: 6px; }
  .main-nav a { font-size: .76rem; padding: 10px 8px; }
  .main-nav a.cta-nav { padding-inline: 13px; margin-left: 3px; }
}

@media (max-width: 1080px) {
  .site-header { position: sticky; }
  .header-inner { min-height: 104px; gap: 14px; }
  .logo-link img { width: 207px; max-width: min(44vw, 207px); }
  .nav-toggle { display: inline-flex; flex-shrink: 0; }
  .main-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    white-space: normal;
    padding: 14px;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: white;
    box-shadow: var(--shadow);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a,
  .main-nav a.cta-nav {
    min-width: 0;
    width: 100%;
    margin-left: 0;
    border-radius: 14px;
    font-size: .96rem;
    padding: 12px 14px;
  }
}

@media (max-width: 1050px) {
  .home-hero-grid, .intro-grid { grid-template-columns: 1fr; }
  .home-hero-media { min-height: 500px; max-width: 760px; }
  .photo-band-grid { grid-template-columns: 1fr 1fr; }
  .photo-card.large { grid-column: 1 / -1; }
  .cta-feature-grid { display: grid; align-items: start; }
  .hero-grid, .page-hero-grid, .split, .content-grid, .quote-layout, .team-block { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .side-stack { position: static; }
  .hero-card { max-width: 620px; }
}
@media (max-width: 860px) {
  .home-hero { padding: 64px 0 50px; }
  .home-hero-grid { gap: 36px; }
  .home-hero-media { min-height: 430px; }
  .photo-band-grid { grid-template-columns: 1fr; }
  .photo-band { padding: 42px 0 42px; }
  .photo-card, .photo-card.large { min-height: 250px; }
  .utility { height: 42px; overflow: hidden; }
  .utility-inner {
    height: 42px;
    min-height: 42px;
    width: max-content;
    min-width: max-content;
    padding: 0;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 34px;
    animation: utilityMarquee 18s linear infinite;
  }
  .utility-links { flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 34px; }
  .utility-links a { white-space: nowrap; line-height: 1; }
  .header-inner { min-height: 102px; gap: 14px; }
  .logo-link img { width: 207px; max-width: min(48vw, 207px); }
  .nav-toggle { display: inline-flex; flex-shrink: 0; }
  .main-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: white;
    box-shadow: var(--shadow);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { border-radius: 14px; }
  .section-head { display: grid; align-items: start; }
  .help-grid, .values-grid, .job-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .band .container { display: grid; }
}
@media (max-width: 640px) {
  .home-hero { padding: 44px 0 42px; }
  .home-hero-media { min-height: auto; }
  .rotating-frame { position: relative; aspect-ratio: 1.08 / 1; border-radius: 30px; border-width: 8px; }
  .media-note { position: static; margin: 14px 8px 0; max-width: none; padding: 17px; }
  .trust-pills span { font-size: .82rem; }
  .intro-clean { padding-top: 54px; }
  .cta-feature { padding: 58px 0; }
  .cta-feature-grid { gap: 22px; }
  .photo-band { padding: 36px 0 38px; }
  .photo-card, .photo-card.large { min-height: 215px; border-radius: 24px; }
  input, select, textarea, button { font-size: 16px; }
  .container { width: min(100% - 28px, var(--max)); }
  .utility { height: 38px; }
  .utility-inner { height: 38px; min-height: 38px; gap: 30px; animation-duration: 16s; }
  .utility-links { flex-direction: row; align-items: center; flex-wrap: nowrap; gap: 30px; }
  .utility-links a { white-space: nowrap; line-height: 1; }
  .hero { padding: 54px 0 62px; }
  .hero-card { overflow: visible; padding: 12px; }
  .hero-card img { border-radius: 24px; }
  .page-hero { padding: 52px 0; }
  .section { padding: 64px 0; }
  .hero-proof { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .form-card, .quick-quote, .prose-card, .side-card { padding: 24px; }
  .form-grid, .checkbox-grid { grid-template-columns: 1fr; }
  .recaptcha-box { padding: 12px; }
  .recaptcha-holder { transform-origin: left top; }
  .footer-grid, .footer-bottom { grid-template-columns: 1fr; display: grid; }
  .logo-link img { width: 180px; max-width: min(48vw, 180px); }
  .floating-card { position: static; width: auto; margin: 16px 16px 0; transform: none; }
}

/* Hidden anti-spam field for PHP forms. Real users never see this. */
.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.btn:disabled {
  cursor: not-allowed;
  opacity: .72;
  transform: none;
}

@media (max-width: 390px) {
  .container { width: min(100% - 24px, var(--max)); }
  .header-inner { gap: 10px; }
  .logo-link img { width: 170px; max-width: min(47vw, 170px); }
  .nav-toggle { padding: 10px 13px; }
  .page-hero h1, .hero h1 { font-size: clamp(2.35rem, 12vw, 3rem); }
}

@media (max-width: 340px) {
  .logo-link img { width: 147px; max-width: 44vw; }
  .nav-toggle { padding-inline: 12px; }
}

/* Fade-up reveal animation for page items and boxes. Applied by assets/js/main.js. */
.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Homepage sections fade as grouped blocks instead of staggered individual pieces. */
.reveal-up.reveal-section {
  transition-duration: 820ms;
}

/* Keep homepage hero CTA buttons visually tied to the main title reveal. */
.home-hero-copy .hero-actions.reveal-up {
  transition-delay: 80ms;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@keyframes utilityMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-100% + 100vw - 28px)); }
}
@media (prefers-reduced-motion: reduce) {
  .utility-inner { animation: none !important; transform: none !important; }
}


@media (max-width: 640px) {
  /* Mobile-only: the homepage slideshow becomes the full hero background. */
  .home-hero {
    position: relative;
    overflow: hidden;
    background: #223038;
    color: #fff;
    padding: 48px 0 46px;
  }
  .home-hero::before {
    z-index: 1;
    background:
      linear-gradient(135deg, rgba(24,37,43,.82), rgba(41,63,70,.66) 52%, rgba(84,108,92,.48)),
      linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px);
    background-size: auto, 48px 48px, 48px 48px;
    opacity: 1;
  }
  .mobile-home-hero-bg {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: #223038;
  }
  .home-hero-grid {
    position: relative;
    z-index: 2;
    display: block;
  }
  .home-hero-copy {
    position: relative;
    z-index: 2;
  }
  .home-hero-copy .eyebrow,
  .home-hero-copy h1,
  .home-hero-copy .lead {
    color: #fff;
  }
  .home-hero-copy .eyebrow {
    background: rgba(255,255,255,.18);
    border-color: rgba(255,255,255,.24);
  }
  .home-hero-media {
    display: block;
    min-height: 0;
    max-width: none;
  }
  .home-hero-media .rotating-frame,
  .media-note-desktop {
    display: none;
  }
  .media-note-mobile {
    display: grid;
    position: static;
    margin: 4px 0 0;
    max-width: none;
    padding: 17px;
    border-radius: 22px;
    color: var(--slate);
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(217,229,231,.92);
    box-shadow: 0 20px 52px rgba(34,48,56,.18);
    backdrop-filter: blur(12px);
  }
}

/* Sticky top chrome: keep the info bar and main menu visible while scrolling. */
.utility {
  position: sticky;
  top: 0;
  z-index: 1000;
}
.site-header {
  position: sticky;
  top: 42px;
  z-index: 999;
}

/* Homepage slideshow CTA: translucent glass so it picks up the current hero image color. */
.home-hero .btn-primary.btn-bright {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(95, 129, 136, .78), rgba(255, 255, 255, .20));
  border: 1px solid rgba(255, 255, 255, .50);
  box-shadow: 0 20px 44px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .34);
  backdrop-filter: blur(14px) saturate(145%);
  -webkit-backdrop-filter: blur(14px) saturate(145%);
  text-shadow: 0 1px 10px rgba(0, 0, 0, .28);
}
.home-hero .btn-primary.btn-bright:hover {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(111, 152, 160, .86), rgba(255, 255, 255, .28));
  border-color: rgba(255, 255, 255, .70);
  box-shadow: 0 24px 52px rgba(0, 0, 0, .34), inset 0 1px 0 rgba(255, 255, 255, .44);
}

@media (max-width: 860px) {
  .site-header { top: 42px; }
  .utility-inner {
    animation-name: utilityMarquee;
    animation-duration: 18s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
  }
}

@media (max-width: 640px) {
  .site-header { top: 38px; }
  .utility-inner {
    animation-duration: 16s;
    animation-direction: alternate;
  }
}


/* Final fixed header override: keep both top bars visible while scrolling. */
body {
  padding-top: 158px;
}
.utility {
  position: fixed !important;
  top: 0 !important;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 3000;
}
.site-header {
  position: fixed !important;
  top: 42px !important;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 2999;
}
@media (max-width: 1240px) {
  body { padding-top: 146px; }
}
@media (max-width: 1080px) {
  body { padding-top: 146px; }
}
@media (max-width: 640px) {
  body { padding-top: 140px; }
  .site-header { top: 38px !important; }
}

/* Page hero primary CTA: match the homepage slideshow glass button. */
.page-hero .page-actions .btn-primary,
.page-hero-photo .page-actions .btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(95, 129, 136, .78), rgba(255, 255, 255, .20));
  border: 1px solid rgba(255, 255, 255, .50);
  box-shadow: 0 20px 44px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .34);
  backdrop-filter: blur(14px) saturate(145%);
  -webkit-backdrop-filter: blur(14px) saturate(145%);
  text-shadow: 0 1px 10px rgba(0, 0, 0, .28);
}
.page-hero .page-actions .btn-primary:hover,
.page-hero-photo .page-actions .btn-primary:hover {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(111, 152, 160, .86), rgba(255, 255, 255, .28));
  border-color: rgba(255, 255, 255, .70);
  box-shadow: 0 24px 52px rgba(0, 0, 0, .30), inset 0 1px 0 rgba(255, 255, 255, .44);
}

/* Quick quote request button: solid Westgate grey-blue theme. */
.quick-quote .form-actions .btn-primary {
  color: #ffffff;
  background: var(--bluegreen);
  border-color: transparent;
  box-shadow: 0 18px 30px rgba(79, 116, 124, .26);
  text-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.quick-quote .form-actions .btn-primary:hover {
  color: #ffffff;
  background: var(--bluegreen-dark);
  border-color: transparent;
  box-shadow: 0 22px 38px rgba(79, 116, 124, .30);
}



/* Clean About page refresh: no quote form, aligned with the rest of the site. */
.about-hero {
  padding: clamp(78px, 8vw, 118px) 0 clamp(70px, 7vw, 98px);
  background:
    radial-gradient(circle at 82% 18%, rgba(198,164,91,.13), transparent 30%),
    linear-gradient(135deg, rgba(238,246,247,.98), #fff 72%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 560px);
  gap: clamp(34px, 6vw, 84px);
  align-items: center;
}
.about-hero-copy h1 {
  max-width: 900px;
  font-size: clamp(3.05rem, 7vw, 6.6rem);
}
.about-hero-copy .lead {
  margin-top: 22px;
  max-width: 780px;
}
.about-actions {
  align-items: center;
  margin-top: 32px;
}
.text-link {
  font-weight: 900;
  color: var(--bluegreen-dark);
  display: inline-flex;
  align-items: center;
  padding: 12px 6px;
}
.text-link:hover { color: var(--slate); }
.about-showcase {
  min-height: 380px;
  border-radius: 34px;
  padding: clamp(30px, 4vw, 46px);
  color: white;
  background:
    radial-gradient(circle at 90% 0%, rgba(255,255,255,.14), transparent 28%),
    linear-gradient(135deg, rgba(52,75,84,.96), rgba(95,129,136,.88));
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.26);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}
.about-showcase::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  right: -110px;
  top: -110px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.06);
}
.about-showcase > * { position: relative; z-index: 1; }
.about-showcase .kicker,
.about-showcase h2,
.about-showcase p { color: white; }
.about-showcase .kicker { opacity: .82; }
.about-showcase p { opacity: .86; margin-top: 16px; max-width: 460px; }
.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.about-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.22);
  color: white;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22);
}
.about-simple-section { background: #fff; }
.about-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 640px);
  gap: 30px;
  align-items: end;
  margin-bottom: 34px;
}
.about-section-heading h2 {
  grid-column: 2;
  max-width: 680px;
}
.about-section-heading .kicker { grid-column: 1; align-self: start; }
.about-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.about-glass-card {
  min-height: 230px;
  padding: 32px;
  border-radius: 28px;
  border: 1px solid rgba(192,211,215,.92);
  background:
    radial-gradient(circle at 100% 100%, rgba(95,129,136,.10), transparent 31%),
    linear-gradient(135deg, rgba(255,255,255,.94), rgba(246,250,250,.80));
  box-shadow: 0 24px 64px rgba(35,54,62,.09), inset 0 1px 0 rgba(255,255,255,.96);
}
.about-glass-card .icon { margin-bottom: 26px; }
.about-glass-card h3 { margin-bottom: 14px; }
.about-closing-wrap { padding-top: 0; }
.about-closing-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
  gap: 34px;
  align-items: center;
  padding: clamp(34px, 5vw, 56px);
  border-radius: 34px;
  color: white;
  background:
    radial-gradient(circle at 100% 10%, rgba(255,255,255,.14), transparent 24%),
    linear-gradient(135deg, #344b54, #789798);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.about-closing-card .kicker,
.about-closing-card h2,
.about-closing-card p { color: white; }
.about-closing-card p { opacity: .88; font-size: 1.05rem; }

@media (max-width: 980px) {
  .about-hero-grid,
  .about-section-heading,
  .about-closing-card { grid-template-columns: 1fr; }
  .about-section-heading h2,
  .about-section-heading .kicker { grid-column: auto; }
  .about-card-grid { grid-template-columns: 1fr; }
  .about-showcase { min-height: 300px; }
}
@media (max-width: 640px) {
  .about-hero { padding: 54px 0 62px; }
  .about-hero-copy h1 { font-size: clamp(2.55rem, 13vw, 3.8rem); }
  .about-showcase,
  .about-glass-card,
  .about-closing-card { border-radius: 24px; }
  .about-glass-card { min-height: 0; padding: 26px; }
}


/* About page cleanup: keep headings and cards aligned like the rest of the site. */
.about-hero {
  padding: clamp(56px, 6vw, 86px) 0 clamp(58px, 6vw, 90px);
}
.about-hero-grid {
  align-items: center;
}
.about-hero-copy h1 {
  max-width: 780px;
  font-size: clamp(2.9rem, 5.9vw, 5.4rem);
  letter-spacing: -.055em;
}
.about-hero-copy .lead {
  max-width: 760px;
}
.about-showcase {
  min-height: 310px;
  align-self: stretch;
}
.about-actions .text-link::after {
  content: " →";
}
.about-simple-section {
  padding-top: clamp(64px, 7vw, 96px);
}
.about-section-heading {
  display: block;
  max-width: 980px;
  margin-bottom: 34px;
}
.about-section-heading .kicker {
  margin-bottom: 14px;
}
.about-section-heading h2 {
  max-width: 820px;
  font-size: clamp(2.35rem, 4.8vw, 4.5rem);
  text-align: left;
}
.about-card-grid {
  align-items: stretch;
}
.about-glass-card {
  overflow: hidden;
}
.about-closing-wrap {
  padding-top: clamp(44px, 5vw, 72px);
}
.about-closing-card {
  margin: 0;
}
@media (max-width: 980px) {
  .about-section-heading h2 { max-width: 760px; }
  .about-showcase { min-height: 280px; }
}
@media (max-width: 640px) {
  .about-hero-copy h1 { font-size: clamp(2.45rem, 12vw, 3.4rem); }
  .about-section-heading h2 { font-size: clamp(2.2rem, 10vw, 3.05rem); }
}

.icon svg, .icon svg * { vector-effect: non-scaling-stroke; }
.icon svg * { fill: none; stroke: currentColor; }


/* Homepage cleanup: remove extra hero/intro CTAs and use a professional tile animation in the first card slot. */
.intro-clean .intro-grid {
  grid-template-columns: minmax(0, 1fr);
  max-width: min(1040px, calc(100% - 52px));
}
.intro-clean .section-head,
.intro-clean .intro-grid > div {
  max-width: 980px;
}
.tile-animation-card {
  min-height: 224px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(113, 143, 151, .34);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 20% 20%, rgba(124,190,197,.22), transparent 30%),
    radial-gradient(circle at 100% 100%, rgba(232,190,92,.16), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(241,249,249,.74));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.96),
    inset 0 0 0 1px rgba(255,255,255,.45),
    0 22px 54px rgba(36,58,66,.10);
  backdrop-filter: blur(10px);
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(126px, .65fr) minmax(0, 1fr);
  align-items: center;
  gap: 22px;
}
.tile-animation-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0%, rgba(255,255,255,.42) 45%, transparent 70%);
  transform: translateX(-120%);
  animation: tileSheen 5.4s ease-in-out infinite;
  pointer-events: none;
}
.tile-orbit {
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: 34px;
  background:
    linear-gradient(rgba(80,111,119,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80,111,119,.10) 1px, transparent 1px),
    rgba(255,255,255,.46);
  background-size: 38px 38px;
  border: 1px solid rgba(171,198,203,.70);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.90), 0 18px 36px rgba(36,58,66,.10);
}
.tile-node {
  position: absolute;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(177,202,207,.82);
  box-shadow: 0 12px 24px rgba(36,58,66,.12), inset 0 1px 0 rgba(255,255,255,.95);
  animation: tilePulse 4s ease-in-out infinite;
}
.tile-node::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 6px;
  background: var(--bluegreen-dark);
  opacity: .72;
}
.tile-node-1 { left: 16px; top: 20px; animation-delay: 0s; }
.tile-node-2 { right: 20px; top: 18px; animation-delay: .35s; }
.tile-node-3 { left: 50%; top: 50%; margin-left: -18px; margin-top: -18px; animation-delay: .7s; }
.tile-node-4 { left: 20px; bottom: 18px; animation-delay: 1.05s; }
.tile-node-5 { right: 18px; bottom: 20px; animation-delay: 1.4s; }
.tile-path {
  position: absolute;
  left: 32px;
  right: 32px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(95,129,136,.72), transparent);
  transform-origin: center;
  opacity: .68;
}
.tile-path-a { top: 73px; transform: rotate(30deg); animation: pathGlow 4.8s ease-in-out infinite; }
.tile-path-b { top: 78px; transform: rotate(-28deg); animation: pathGlow 4.8s ease-in-out infinite 1.2s; }
.tile-caption { position: relative; z-index: 1; }
.tile-caption h3 { margin-bottom: 10px; }
.tile-caption p { color: var(--muted); }
@keyframes tilePulse {
  0%, 100% { transform: translateY(0) scale(1); opacity: .86; }
  45% { transform: translateY(-5px) scale(1.04); opacity: 1; }
}
@keyframes pathGlow {
  0%, 100% { opacity: .25; }
  50% { opacity: .86; }
}
@keyframes tileSheen {
  0%, 62% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}
@media (max-width: 860px) {
  .tile-animation-card { grid-template-columns: 1fr; }
  .tile-orbit { width: 138px; height: 138px; }
}


/* Product-page refinements: original Westgate content and layout updates. */
.product-detail .prose-card {
  overflow: hidden;
}
.product-lead-card {
  position: relative;
  border-color: rgba(142, 170, 176, .45);
  background:
    radial-gradient(circle at 100% 0%, rgba(95,129,136,.12), transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(244,250,250,.82));
}
.product-lead-card::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -115px;
  width: 245px;
  height: 245px;
  border-radius: 50%;
  background: rgba(95,129,136,.08);
  pointer-events: none;
}
.product-lead-card > * { position: relative; z-index: 1; }
.mini-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.mini-feature-grid div,
.coverage-ladder span,
.final-cost-strip span {
  border: 1px solid rgba(178, 202, 207, .75);
  border-radius: 18px;
  background: rgba(255,255,255,.62);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.86), 0 14px 30px rgba(36,58,66,.06);
}
.mini-feature-grid div {
  padding: 16px;
}
.mini-feature-grid b { display: block; margin-bottom: 7px; color: var(--slate); }
.mini-feature-grid span { display: block; color: var(--muted); font-size: .92rem; line-height: 1.45; }
.clean-list { display: grid; gap: 10px; padding-left: 1.1em; }
.clean-list li { padding-left: 4px; }
.accent-side-card {
  background: linear-gradient(135deg, rgba(95,129,136,.12), rgba(255,255,255,.88));
  border-color: rgba(113,143,151,.38);
}
.compact-actions { margin-top: 22px; }
.term-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
  padding: 22px;
  border-radius: 26px;
  background:
    linear-gradient(rgba(80,111,119,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80,111,119,.08) 1px, transparent 1px),
    rgba(239,247,248,.72);
  background-size: 34px 34px;
  border: 1px solid rgba(178,202,207,.72);
  overflow: hidden;
}
.term-map-line {
  position: absolute;
  left: 15%;
  right: 15%;
  top: 50%;
  height: 3px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, transparent, rgba(95,129,136,.70), transparent);
}
.term-node {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 96px;
  border-radius: 24px;
  border: 1px solid rgba(178,202,207,.74);
  background: rgba(255,255,255,.76);
  box-shadow: 0 18px 34px rgba(36,58,66,.08), inset 0 1px 0 rgba(255,255,255,.92);
}
.term-node b { font-size: 2.2rem; color: var(--slate); line-height: 1; }
.term-node span { color: var(--muted); font-weight: 800; }
.coverage-ladder {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.coverage-ladder span {
  text-align: center;
  padding: 18px 12px;
  font-weight: 900;
  color: var(--bluegreen-dark);
}
.coverage-builder-card {
  background: linear-gradient(135deg, #fff, #f1f8f9);
}
.final-burden-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(238, 198, 104, .20), transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(247,251,251,.84));
}
.final-cost-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.final-cost-strip span {
  padding: 11px 14px;
  font-weight: 900;
  color: var(--bluegreen-dark);
}
@media (max-width: 860px) {
  .mini-feature-grid, .coverage-ladder { grid-template-columns: 1fr; }
  .term-map { grid-template-columns: 1fr; }
  .term-map-line { left: 50%; right: auto; top: 16%; bottom: 16%; width: 3px; height: auto; transform: translateX(-50%); background: linear-gradient(180deg, transparent, rgba(95,129,136,.70), transparent); }
}

/* Connected term coverage grid */
.term-comparison-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0%, rgba(238,198,104,.18), transparent 28%),
    linear-gradient(rgba(80,111,119,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80,111,119,.055) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(240,248,249,.86));
  background-size: auto, 34px 34px, 34px 34px, auto;
}
.term-comparison-card > * { position: relative; z-index: 1; }
.term-choice-map {
  display: grid;
  grid-template-columns: minmax(0, .92fr) 64px minmax(0, 1.08fr);
  gap: 0;
  align-items: stretch;
  margin-top: 30px;
}
.term-choice-panel {
  position: relative;
  padding: 22px;
  border: 1px solid rgba(178,202,207,.82);
  border-radius: 28px;
  background: rgba(255,255,255,.74);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.92), 0 20px 42px rgba(36,58,66,.075);
  overflow: hidden;
}
.term-choice-panel::after {
  content: "";
  position: absolute;
  right: -48px;
  bottom: -58px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(95,129,136,.08);
  pointer-events: none;
}
.term-mini-label {
  display: block;
  color: var(--bluegreen-dark);
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .78rem;
  margin-bottom: 16px;
}
.term-year-grid,
.benefit-grid {
  display: grid;
  gap: 12px;
}
.term-year-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.term-year-grid div,
.benefit-grid span {
  min-height: 82px;
  border: 1px solid rgba(178,202,207,.78);
  border-radius: 22px;
  display: grid;
  place-items: center;
  text-align: center;
  background: rgba(255,255,255,.76);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.92);
}
.term-year-grid b {
  display: block;
  font-size: clamp(1.55rem, 4vw, 2.45rem);
  line-height: 1;
  color: var(--slate);
}
.term-year-grid span {
  color: var(--muted);
  font-weight: 900;
  margin-top: 6px;
}
.benefit-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.benefit-grid span {
  min-height: 82px;
  color: var(--slate);
  font-weight: 950;
  font-size: clamp(.95rem, 1.6vw, 1.2rem);
}
.term-join {
  position: relative;
  display: grid;
  place-items: center;
  color: var(--bluegreen-dark);
  font-weight: 950;
  font-size: 1.3rem;
}
.term-join::before,
.term-join::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 50%;
  height: 3px;
  background: rgba(95,129,136,.38);
}
.term-join::before { left: 0; }
.term-join::after { right: 0; }
.term-join { z-index: 2; }
.term-join::marker { display: none; }
.term-matrix {
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(120px, 1.05fr) repeat(5, minmax(88px, 1fr));
  border: 1px solid rgba(178,202,207,.82);
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255,255,255,.56);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.86), 0 20px 42px rgba(36,58,66,.07);
}
.matrix-cell {
  min-height: 58px;
  padding: 13px 12px;
  display: grid;
  place-items: center;
  border-right: 1px solid rgba(178,202,207,.48);
  border-bottom: 1px solid rgba(178,202,207,.48);
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}
.matrix-cell:nth-child(6n) { border-right: 0; }
.matrix-cell:nth-last-child(-n+6) { border-bottom: 0; }
.matrix-head,
.matrix-corner,
.matrix-term {
  color: var(--slate);
  font-weight: 950;
}
.matrix-head {
  background: rgba(224,239,241,.72);
}
.matrix-term {
  background: rgba(255,255,255,.78);
}
.matrix-cell span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(95,129,136,.50);
  box-shadow: 0 0 0 8px rgba(95,129,136,.08);
}
.term-grid-note {
  margin-top: 18px;
  font-size: .92rem;
  color: var(--muted);
}
@media (max-width: 860px) {
  .term-choice-map { grid-template-columns: 1fr; gap: 14px; }
  .term-join { min-height: 34px; }
  .term-join::before,
  .term-join::after { width: 3px; height: 50%; left: 50%; right: auto; top: auto; transform: translateX(-50%); }
  .term-join::before { top: -14px; }
  .term-join::after { bottom: -14px; }
  .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefit-grid span:last-child { grid-column: 1 / -1; }
  .term-matrix { grid-template-columns: minmax(92px, .9fr) repeat(5, minmax(76px, 1fr)); overflow-x: auto; }
  .matrix-cell { min-width: 76px; }
}
@media (max-width: 560px) {
  .term-year-grid { grid-template-columns: 1fr; }
  .term-matrix { display: none; }
}



/* Reference-inspired Westgate term life coverage map */
.westgate-term-map {
  margin-top: 32px;
  border: 1px solid rgba(178,202,207,.9);
  border-radius: 34px;
  overflow: hidden;
  background:
    linear-gradient(rgba(95,129,136,.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95,129,136,.065) 1px, transparent 1px),
    radial-gradient(circle at 88% 8%, rgba(95,129,136,.11), transparent 26%),
    radial-gradient(circle at 5% 94%, rgba(236,198,92,.13), transparent 27%),
    linear-gradient(135deg, #fbfdfd 0%, #eef7f8 58%, #fff8e7 100%);
  background-size: 34px 34px, 34px 34px, auto, auto, auto;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.98), 0 24px 62px rgba(36,58,66,.09);
}
.term-map-board {
  display: grid;
  grid-template-columns: minmax(185px, .78fr) minmax(320px, 1.18fr) minmax(150px, .62fr);
  gap: clamp(16px, 2.4vw, 34px);
  min-height: 650px;
  padding: clamp(24px, 3.2vw, 44px);
  align-items: stretch;
}
.term-map-eyebrow {
  display: block;
  margin-bottom: 8px;
  color: #54747b;
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.term-map-small-heading {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(150,179,185,.42);
}
.term-map-small-heading strong {
  display: block;
  color: var(--slate);
  font-size: 1.08rem;
  line-height: 1.35;
}
.term-map-benefits {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 5px 0;
}
.term-benefit-row {
  display: grid;
  grid-template-columns: 48px minmax(0,1fr);
  gap: 14px;
  align-items: start;
}
.term-benefit-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #55767d;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(151,181,187,.55);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.98), 0 10px 25px rgba(38,61,69,.07);
}
.term-benefit-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.term-benefit-row h3 {
  margin: 0 0 6px;
  color: #38545c;
  font-size: 1rem;
  line-height: 1.2;
}
.term-benefit-row p {
  margin: 0;
  color: #65777c;
  font-size: .83rem;
  line-height: 1.55;
}
.term-map-timeline {
  min-width: 0;
  padding: 0 8px;
}
.term-map-section-title {
  text-align: center;
}
.term-map-section-title h3 {
  margin: 0;
  color: #38545c;
  font-size: 1.14rem;
  line-height: 1.3;
}
.term-map-section-title p {
  margin: 8px auto 0;
  max-width: 190px;
  color: #6b7b80;
  font-size: .82rem;
  line-height: 1.5;
}
.term-roadmap {
  position: relative;
  width: min(100%, 430px);
  aspect-ratio: 430 / 506;
  height: auto;
  margin: 22px auto 0;
  container-type: inline-size;
  --term-road-size: clamp(58px, 20.47cqw, 88px);
  --term-dash-width: clamp(3px, 0.95cqw, 4px);
  --term-dash-segment: clamp(12px, 3.25cqw, 14px);
  --term-dash-gap: clamp(12px, 3.72cqw, 16px);
}
.term-route-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  z-index: 0;
}
.term-route-line path {
  fill: none;
}
.term-road-path {
  stroke: rgba(212,224,226,.94);
  stroke-width: var(--term-road-size);
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 9px 14px rgba(44,67,74,.06));
}
.term-road-dashes {
  stroke: rgba(255,255,255,.84);
  stroke-width: var(--term-dash-width);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: var(--term-dash-segment) var(--term-dash-gap);
  stroke-dashoffset: 0;
}
.term-node {
  --node-size: var(--term-road-size);
  position: absolute;
  width: var(--node-size);
  height: var(--node-size);
  min-width: var(--node-size);
  min-height: var(--node-size);
  display: grid;
  place-content: center;
  text-align: center;
  border-radius: 50%;
  color: white;
  background: linear-gradient(145deg, #6a8990, #37525a);
  border: 2px solid rgba(255,255,255,.92);
  box-shadow: 0 14px 30px rgba(37,58,66,.18), inset 0 1px 0 rgba(255,255,255,.24);
  transform: translateY(-3px);
  z-index: 2;
  box-sizing: border-box;
  flex: 0 0 auto;
}
.term-node strong {
  display: block;
  font-size: clamp(1.35rem, 8cqw, 2.15rem);
  line-height: .95;
}
.term-node span {
  display: block;
  margin-top: clamp(4px, 1.4cqw, 7px);
  font-size: clamp(.52rem, 1.6cqw, .68rem);
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.88);
}
.term-node-10 { left: 3.72%; top: 6.72%; }
.term-node-15 { left: 68.84%; top: 25.69%; }
.term-node-20 { left: 3.72%; top: 44.66%; }
.term-node-25 { left: 68.84%; top: 63.64%; }
.term-node-30 { left: 3.72%; top: 82.61%; }
.term-map-amounts {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-left: clamp(12px, 2vw, 24px);
  border-left: 1px solid rgba(150,179,185,.48);
}
.term-map-amounts .term-map-section-title {
  text-align: left;
  padding-bottom: 18px;
}
.term-map-amounts .term-map-section-title p {
  margin-left: 0;
  margin-right: 0;
}
.term-amount-list {
  display: grid;
  gap: 9px;
}
.term-amount-list span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 8px 12px;
  border-radius: 14px;
  color: #45656d;
  font-size: 1rem;
  font-weight: 950;
  background: rgba(255,255,255,.68);
  border: 1px solid rgba(151,181,187,.50);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.96);
}
.term-grid-note {
  margin-top: 18px;
  color: #6c7d82;
  font-size: .79rem;
  line-height: 1.5;
}
@media (max-width: 1320px) {
  .term-map-board {
    grid-template-columns: minmax(165px, .75fr) minmax(285px, 1.15fr) minmax(135px, .58fr);
    gap: 16px;
    padding: 24px 18px;
  }
  .term-map-amounts {
    padding-left: 14px;
  }
  .term-amount-list span {
    min-height: 42px;
    padding: 8px 10px;
    font-size: .95rem;
  }
}
@media (max-width: 1040px) {
  .term-map-board {
    grid-template-columns: minmax(190px,.8fr) minmax(310px,1.2fr) minmax(150px,.62fr);
    gap: 22px;
    padding: 32px;
  }
  .term-benefit-row { grid-template-columns: 42px minmax(0,1fr); gap: 11px; }
  .term-benefit-icon { width: 42px; height: 42px; }
}
@media (max-width: 820px) {
  .term-map-board {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .term-map-benefits {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 14px;
  }
  .term-map-small-heading { grid-column: 1/-1; }
  .term-benefit-row {
    display: block;
    padding: 18px;
    border-radius: 20px;
    background: rgba(255,255,255,.62);
    border: 1px solid rgba(151,181,187,.45);
  }
  .term-benefit-icon { margin-bottom: 12px; }
  .term-roadmap { width: min(100%, 430px); aspect-ratio: 430 / 506; height: auto; transform: none; margin-bottom: 0; }
  .term-map-amounts {
    padding: 24px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(150,179,185,.48);
  }
  .term-map-amounts .term-map-section-title { text-align: center; }
  .term-map-amounts .term-map-section-title p { margin-left: auto; margin-right: auto; }
  .term-amount-list { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 560px) {
  .term-map-board { padding: 24px 18px; }
  .term-map-benefits { grid-template-columns: 1fr; }
  .term-roadmap { width: min(100%, 430px); aspect-ratio: 430 / 506; height: auto; transform: none; margin-bottom: 0; }
  
  .term-amount-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
}


/* Coverage pages: desktop / landscape keeps the right-side card stack pinned while the left content scrolls. */
body[data-page="whole-life"] .content-grid > .side-stack,
body[data-page="term-life"] .content-grid > .side-stack,
body[data-page="iul"] .content-grid > .side-stack,
body[data-page="final-expense"] .content-grid > .side-stack,
body[data-page="retirement-planning"] .content-grid > .side-stack {
  align-self: start;
}

/* Any non-portrait layout with enough room keeps the left content and right cards side-by-side. */
@media (orientation: landscape) and (min-width: 760px) {
  body[data-page="whole-life"] .content-grid,
  body[data-page="term-life"] .content-grid,
  body[data-page="iul"] .content-grid,
  body[data-page="final-expense"] .content-grid,
  body[data-page="retirement-planning"] .content-grid {
    grid-template-columns: minmax(0, 1fr) clamp(280px, 28vw, 360px) !important;
    align-items: start;
    gap: clamp(22px, 3vw, 36px);
  }

  body[data-page="whole-life"] .product-detail-grid > .side-stack,
  body[data-page="term-life"] .product-detail-grid > .side-stack,
  body[data-page="iul"] .product-detail-grid > .side-stack,
  body[data-page="final-expense"] .product-detail-grid > .side-stack,
  body[data-page="retirement-planning"] .product-detail-grid > .side-stack {
    align-self: start;
    height: fit-content;
    max-height: none;
    overflow: visible;
    overscroll-behavior: auto;
    padding-right: 0;
    transform-origin: top right;
  }

  body[data-page="whole-life"] .product-detail-grid > .side-stack .side-card,
  body[data-page="term-life"] .product-detail-grid > .side-stack .side-card,
  body[data-page="iul"] .product-detail-grid > .side-stack .side-card,
  body[data-page="final-expense"] .product-detail-grid > .side-stack .side-card,
  body[data-page="retirement-planning"] .product-detail-grid > .side-stack .side-card {
    padding: clamp(20px, 2.2vh, 24px);
  }
}

/* Portrait / true mobile layout: put the cards back into the normal page flow. */
@media (orientation: portrait), (max-width: 759px) {
  body[data-page="whole-life"] .content-grid > .side-stack,
  body[data-page="term-life"] .content-grid > .side-stack,
  body[data-page="iul"] .content-grid > .side-stack,
  body[data-page="final-expense"] .content-grid > .side-stack,
  body[data-page="retirement-planning"] .content-grid > .side-stack {
    position: static !important;
    top: auto !important;
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }
}

/* 2026-08-13 homepage correction: restore original layout, keep copy concise. */
.home-story-photo {
  background:
    linear-gradient(180deg, rgba(34,48,56,.05), rgba(34,48,56,.28)),
    url('../img/site-images/homepage-slide-01-santa-monica-pier-night.webp');
  background-size: cover;
  background-position: 65% center;
}
.home-story-photo::after { content: "Santa Monica"; }

@media (max-width: 760px) {
  .home-story-photo { min-height: 360px; }
}
