/* =====================================================================
   Westlake Home Safety, Design System
   Accessibility-first marketing site. Large type, high contrast,
   generous tap targets. Audience skews 55+, so legibility IS the brand.
   ===================================================================== */

/* ---------- Fonts ---------- */
/* Fraunces (warm humanist serif) for display + Hanken Grotesk (legible UI) */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand, Westlake Home Safety navy (sampled from the official logo) */
  --brand:        #2e4652;   /* logo navy, trust, security, calm */
  --brand-700:    #21343d;
  --brand-900:    #16242c;
  --brand-tint:   #e8eef1;
  --brand-tint-2: #cdd9df;

  /* Action accent, deep brand gold (the logo's gold, darkened for AA) */
  --accent:       #8f5e10;   /* CTA bg: AA on white text + visible focus on white */
  --accent-700:   #714a0c;
  --accent-tint:  #f6ecd4;
  --terra-text:   #714a0c;

  /* Tier accents */
  --bronze: #a06a3c;
  --silver: #5f6b78;
  --gold:   #a9842f;

  /* Neutrals (cool, to sit under the navy) */
  --ink:     #16222a;   /* primary text */
  --muted:   #4c5b63;   /* secondary text */
  --faint:   #62707a;
  --line:    #dce3e7;   /* hairline borders */
  --line-2:  #c7d1d7;
  --bg:      #f4f6f8;   /* cool off-white page bg */
  --bg-2:    #e9eef1;   /* alt section */
  --surface: #ffffff;
  --ink-on-brand: #eef4f8;

  /* Status */
  --good: #2c8163;
  --warn: #b9821f;

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Radii + shadow */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(20,40,35,.06), 0 2px 6px rgba(20,40,35,.05);
  --shadow:    0 4px 14px rgba(20,40,35,.08), 0 12px 32px rgba(20,40,35,.07);
  --shadow-lg: 0 10px 30px rgba(20,40,35,.10), 0 30px 70px rgba(20,40,35,.12);

  /* Layout */
  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--font-body);
  font-size: 1.125rem;          /* 18px base for legibility */
  line-height: 1.62;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--brand-700); text-underline-offset: 3px; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }

/* ---------- Accessibility helpers ---------- */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
.skip-link {
  position: absolute; left: 16px; top: -120px;
  background: var(--brand); color: #fff; padding: 12px 18px;
  border-radius: 0 0 var(--r-sm) var(--r-sm); z-index: 999;
  transition: top .2s ease; font-weight: 600;
}
.skip-link:focus { top: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 9vw, 110px); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.bg-alt { background: var(--bg-2); }
.bg-brand { background: var(--brand); color: var(--ink-on-brand); }
.bg-ink { background: var(--brand-900); color: #eaf2ef; }

/* ---------- Typography ---------- */
.display, h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.05; letter-spacing: -0.01em; color: var(--ink); }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.6rem); font-weight: 600; }
h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.bg-brand h1, .bg-brand h2, .bg-brand h3, .bg-ink h1, .bg-ink h2, .bg-ink h3 { color: #fff; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--terra-text); display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); display: inline-block; }
.bg-brand .eyebrow, .bg-ink .eyebrow { color: #e0bd6e; }
.bg-brand .eyebrow::before, .bg-ink .eyebrow::before { background: #e0bd6e; }

.lede { font-size: clamp(1.12rem, 1.7vw, 1.4rem); color: var(--muted); line-height: 1.55; max-width: 60ch; }
.bg-brand .lede, .bg-ink .lede { color: #cdd9e0; }
.muted { color: var(--muted); }
#founder .founder-lead { font-size: 1.18rem; color: var(--ink); line-height: 1.6; max-width: 60ch; }
.section-head { max-width: 60ch; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--brand); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 700; font-size: 1.05rem; letter-spacing: .005em;
  padding: 16px 28px; min-height: 56px; border: 2px solid transparent;
  border-radius: 14px; text-decoration: none; line-height: 1; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  box-shadow: var(--shadow-sm);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
/* Primary CTA, solid gold + deep-navy text ("Bold on Light" direction) */
.btn--accent { --btn-bg: #e8b53a; --btn-fg: #16242c; box-shadow: 0 10px 26px rgba(232,181,58,.34); }
.btn--accent:hover { background: #d9a52e; }
.btn--accent:focus-visible { outline: 2px solid #8f5e10; outline-offset: 2px; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--brand-700); border-color: var(--line-2); box-shadow: none; }
.btn--ghost:hover { background: var(--surface); border-color: var(--brand); }
.btn--on-dark { --btn-bg: #fff; --btn-fg: var(--brand-900); }
.btn--on-dark.btn--ghost { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255,255,255,.5); }
.btn--on-dark.btn--ghost:hover { background: rgba(255,255,255,.1); border-color:#fff; }
.btn--lg { font-size: 1.15rem; padding: 19px 34px; min-height: 62px; }
/* Full-width buttons may carry long labels ("Reserve a homecoming visit, $0 today") , 
   let them wrap instead of overflowing the button on narrow screens. */
.btn--block { white-space: normal; text-align: center; }
.btn--block { width: 100%; }
.btn svg { width: 20px; height: 20px; }

/* ---------- Badges / pills ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: .8rem;
  letter-spacing: .04em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px;
  background: var(--brand-tint); color: var(--brand-700);
}
.pill--accent { background: var(--accent-tint); color: var(--terra-text); }
.pill--gold   { background: #f6edd5; color: #876619; }
.pill--solid  { background: #1c2f3a; color: #e8b53a; }
.pill--good   { background: #dff0e8; color: var(--good); }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(244,246,248,.82);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: 1.32rem; letter-spacing: -.01em; }
.brand-logo .mark { width: 42px; height: 42px; flex: none; }
.brand-logo .brand-img { height: 44px; width: auto; flex: none; display: block; }
.brand-logo .brand-name { font-family: var(--font-body); font-weight: 800; font-size: 1.3rem; line-height: 1; letter-spacing: .015em; text-transform: uppercase; color: var(--brand); }
.brand-logo small { display:block; font-family: var(--font-body); font-weight: 700; font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-top: 4px; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .96rem; white-space: nowrap; padding: 10px 11px; border-radius: var(--r-sm); transition: background .15s; }
.nav-links a:hover { background: var(--brand-tint); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone { display: inline-flex; align-items:center; gap: 8px; font-weight: 700; color: var(--brand-700); text-decoration: none; white-space: nowrap; }
.nav-phone svg { width: 18px; height: 18px; }
.nav-toggle { display: none; background: var(--surface); border: 1px solid var(--line-2); width: 52px; height: 52px; border-radius: var(--r-sm); align-items: center; justify-content: center; }
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 1100px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; left: var(--gutter); right: var(--gutter); top: 78px;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
    padding: 12px; box-shadow: var(--shadow);
  }
  .nav-links.open a { font-size: 1.1rem; padding: 14px; }
}

/* Phones: shield-only logo + compact CTA so the header never overlaps */
@media (max-width: 600px) {
  .brand-logo .brand-name { display: none; }
  .site-header .nav-cta { gap: 10px; }
  .site-header .nav-cta .btn { padding: 12px 16px; font-size: .95rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(1200px 500px at 78% -10%, rgba(46,70,82,.12), transparent 60%),
    radial-gradient(800px 600px at -5% 110%, rgba(199,154,53,.09), transparent 55%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(48px, 7vw, 96px); }
.hero-figure { position: relative; }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; } }

.trust-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 28px; color: var(--muted); font-weight: 600; font-size: .98rem; }
.trust-row .ck { display: inline-flex; align-items: center; gap: 8px; }
.trust-row svg { width: 20px; height: 20px; color: var(--good); flex: none; }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 32px; }
.cta-textlink { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 1.02rem; color: var(--accent-700); text-decoration: none; padding: 6px 2px; }
.cta-textlink:hover { text-decoration: underline; }
.hero-proof { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin-top: 24px; font-weight: 600; font-size: .96rem; color: var(--muted); }
.hero-proof strong { color: var(--ink); }
.hero-proof__stars { color: var(--gold); letter-spacing: 2px; font-size: 1.05rem; }
.hero-proof img { flex: none; }

/* ---------- "Bold on Light" hero treatment ---------- */
/* Gold accent word in headlines, deep gold (AA on light); lighter on navy */
.accent { color: var(--accent); }
.bg-brand .accent, .bg-ink .accent { color: #e0bd6e; }

/* Soft radial gold glow behind a hero */
.hero__glow {
  position: absolute; z-index: 0; pointer-events: none;
  width: 760px; height: 760px; border-radius: 50%; top: -260px; right: -160px;
  background: radial-gradient(circle, rgba(143,94,16,.08), transparent 62%);
}

/* Flagship hero figure: photo card + overlapping award badge + proof/price chip */
.hero-card { position: relative; border-radius: var(--r-xl); overflow: hidden; background: #fff; border: 1px solid rgba(255,255,255,.7); box-shadow: var(--shadow-lg); }
.hero-card > img { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; }
.hero-card .photo-coming { aspect-ratio: 4/5; min-height: 0; }
.hero-card .pill--solid { position: absolute; top: 22px; left: 22px; }
.hero-award { position: absolute; right: -20px; top: -20px; width: 116px; z-index: 3; filter: drop-shadow(0 10px 24px rgba(20,40,35,.22)); }
.hero-chip { position: absolute; left: -26px; bottom: -22px; z-index: 3; background: #fff; border-radius: 18px; padding: 15px 20px; box-shadow: var(--shadow-lg); }
.hero-chip .k { font-weight: 700; color: var(--muted); font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; }
.hero-chip .v { font-family: var(--font-display); font-weight: 600; font-size: 2rem; line-height: 1.05; color: var(--ink); }
.hero-chip .v small { font-family: var(--font-body); font-size: .9rem; color: var(--faint); font-weight: 600; }
.hero-chip__stars { color: var(--gold); letter-spacing: 1px; font-size: .95rem; }
.hero-chip__dot { color: var(--good); font-size: 1.1rem; line-height: 1; }
.hero-chip b { display: block; font-weight: 700; margin-top: 1px; }
.hero-chip .sub { font-size: .85rem; color: var(--muted); }
@media (max-width: 880px) { .hero-award { right: 6px; top: -16px; } .hero-chip { left: 6px; } }

/* ---------- Generic grid ---------- */
/* minmax(0,1fr) (not 1fr) so wide min-content children, long <select>
   options, type=date inputs, nowrap chips, can't blow the track out and
   force horizontal overflow on narrow viewports. */
.grid { display: grid; gap: clamp(20px, 3vw, 32px); }
.grid > * { min-width: 0; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px){ .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr));} .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr));} }
@media (max-width: 640px){ .grid-2,.grid-3,.grid-4 { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.card--pad { padding: clamp(22px, 3vw, 34px); }

/* Feature item */
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; transition: transform .2s, box-shadow .2s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .ic { width: 54px; height: 54px; border-radius: 14px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; margin-bottom: 16px; }
.feature .ic svg { width: 28px; height: 28px; }
.feature h3 { font-size: 1.22rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 1rem; }

/* ---------- Pricing / package cards ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 26px; align-items: stretch; }
.tiers > *, .hero-grid > *, .bundle > * { min-width: 0; }
@media (max-width: 980px){ .tiers { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

.tier { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 28px 32px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s; }
.tier:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tier__ribbon { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); white-space: nowrap; z-index: 2; }
.tier--featured { border-color: var(--brand); border-width: 2px; box-shadow: var(--shadow); }
.tier--featured::after { content:""; position:absolute; inset:-2px; z-index: 0; border-radius: var(--r-lg); padding:2px; background: linear-gradient(160deg, var(--brand), var(--accent)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events:none; }

.tier__tag { display:inline-flex; align-items:center; gap:8px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; font-size:.78rem; padding:6px 12px; border-radius:999px; align-self:flex-start; }
.tier--bronze .tier__tag { background:#f3e7da; color: var(--bronze); }
.tier--silver .tier__tag { background:#e9ecf0; color: var(--silver); }
.tier--gold   .tier__tag { background:#f7eed4; color: var(--gold); }

/* package emblem (shield badge) + illustration */
.tier__head { display:flex; align-items:center; gap:12px; align-self:flex-start; }
.tier__badge { flex:none; width:54px; height:54px; object-fit:contain; }
.tier__fig { margin:16px 0 4px; border:1px solid var(--line); border-radius:var(--r-sm); overflow:hidden; background:var(--brand-tint); }
.tier__fig img { display:block; width:100%; height:auto; }

.tier h3 { font-size: 1.7rem; margin: 14px 0 2px; }
.tier__sub { color: var(--muted); font-size: 1rem; min-height: 2.8em; }
.tier__price { display:flex; align-items: baseline; gap: 10px; margin: 16px 0 2px; }
.tier__price .amt { font-family: var(--font-display); font-weight: 600; font-size: 3rem; line-height: 1; color: var(--ink); }
.tier__price .cur { font-weight: 700; color: var(--muted); font-size: 1rem; align-self: flex-start; margin-top: 6px; }
.tier__was { color: var(--faint); font-size: 1rem; }
.tier__was s { text-decoration-thickness: 2px; }
.tier__save { color: var(--terra-text); font-weight: 700; font-size: .95rem; margin-bottom: 18px; }
.tier__divider { height:1px; background: var(--line); margin: 6px 0 18px; }
.tier ul.feat { display: grid; gap: 12px; margin-bottom: 24px; }
.tier ul.feat li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; font-size: 1.02rem; }
.tier ul.feat li svg { width: 22px; height: 22px; color: var(--good); margin-top: 2px; }
.tier ul.feat li .hl { font-weight: 700; color: var(--ink); }
.tier .btn { margin-top: auto; }
.tier__note { text-align:center; font-size:.86rem; color: var(--faint); margin-top: 12px; }

/* ---------- Product (catalog) cards ---------- */
.prod { position: relative; display: flex; flex-direction: column; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); transition: transform .22s, box-shadow .22s; text-decoration: none; color: inherit; }
.prod:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.prod__media { aspect-ratio: 16/11; background: var(--brand-tint); display: grid; place-items: center; overflow: hidden; position: relative; border-bottom: 1px solid var(--line); }
.prod__media svg { width: 78%; height: 78%; }
.prod__media img { width: 100%; height: 100%; object-fit: cover; }
.prod__badge { position:absolute; top:16px; left:16px; }
.prod__body { padding: 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.prod__body h3 { font-size: 1.4rem; }
.prod__body p { color: var(--muted); font-size: 1rem; }
.prod__meta { margin-top: auto; display:flex; align-items:center; justify-content: space-between; gap: 12px; padding-top: 14px; }
.prod__from { font-weight: 700; color: var(--ink); }
.prod__from .n { font-family: var(--font-display); font-size: 1.45rem; }
.prod__go { display:inline-flex; align-items:center; gap:8px; font-weight:700; color: var(--accent-700); }
.prod__go svg { width: 18px; height: 18px; transition: transform .2s; }
.prod:hover .prod__go svg { transform: translateX(4px); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 24px; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start; }
.step .num { counter-increment: step; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; }
.step .num::before { content: counter(step); }
.step h3 { font-size: 1.3rem; margin-bottom: 6px; }
.step p { color: var(--muted); }
.bg-brand .step p, .bg-ink .step p { color:#cdd9e0; }
.bg-brand .step .num, .bg-ink .step .num { background:#fff; color: var(--brand-900); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
@media (max-width: 880px){ .gallery { grid-template-columns: repeat(2,1fr);} }
@media (max-width: 560px){ .gallery { grid-template-columns: 1fr;} }
.gallery .shot { position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--brand-tint); }
.gallery .shot svg { width: 100%; height: 100%; }
.gallery .shot img { width: 100%; height: auto; object-fit: cover; display: block; }
.gallery .shot .loc { position:absolute; left:10px; bottom:10px; background: rgba(22,34,42,.82); color:#fff; font-size:.78rem; font-weight:600; padding:5px 10px; border-radius:999px; backdrop-filter: blur(4px); }

/* ---------- Reviews ---------- */
.reviews { display:grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.reviews--single { grid-template-columns: 1fr; max-width: 660px; margin-inline: auto; }
.reviews--single .review { text-align: center; }
.reviews--single .who { justify-content: center; }
@media (max-width: 880px){ .reviews { grid-template-columns: 1fr; } }
.review { background: var(--surface); border:1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.stars { color: #e0a23a; letter-spacing: 2px; font-size: 1.15rem; }
.review p { margin: 14px 0 18px; font-size: 1.05rem; }
.review .who { display:flex; align-items:center; gap: 12px; }
.review .av { width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color:#fff; display:grid; place-items:center; font-weight: 700; }
.review .who b { display:block; }
.review .who span { color: var(--faint); font-size: .9rem; }

/* ---------- Reservation form ---------- */
.reserve-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); padding: clamp(26px, 4vw, 46px); }
.form-grid { display:grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 18px 20px; }
@media (max-width: 620px){ .form-grid { grid-template-columns: 1fr; } }
.field { display:flex; flex-direction: column; gap: 7px; min-width: 0; }
.field.col-2 { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .98rem; }
.field label .req { color: var(--accent); }
.field .hint { color: var(--faint); font-size: .86rem; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line-2); border-radius: 12px;
  padding: 14px 15px; min-height: 56px; width: 100%; min-width: 0;
  transition: border-color .15s, background .15s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); background: #fff; outline: none; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--accent); outline-offset:1px; }

/* package picker */
.pick { display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
@media (max-width: 560px){ .pick { grid-template-columns: 1fr; } }
.pick label {
  position: relative; display:flex; flex-direction: column; gap: 4px; cursor: pointer;
  border: 2px solid var(--line-2); border-radius: var(--r); padding: 16px 18px;
  background: var(--bg); transition: border-color .15s, background .15s, box-shadow .15s;
}
.pick input { position:absolute; opacity: 0; pointer-events:none; }
.pick label:hover { border-color: var(--brand); }
.pick .tname { font-weight: 800; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.pick .tprice { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; line-height: 1.05; color: var(--ink); }
.pick .tmeta { color: var(--muted); font-size: .92rem; }
.pick label:has(input:checked) { border-color: var(--brand); background: var(--brand-tint); box-shadow: 0 0 0 3px rgba(46,70,82,.14); }
.pick label:has(input:checked)::after { content:"✓"; position:absolute; top:10px; right:12px; width:24px; height:24px; background: var(--brand); color:#fff; border-radius:50%; display:grid; place-items:center; font-size: .9rem; font-weight:700; }

.check-row { display:flex; flex-wrap: wrap; gap: 12px; }
.check-pill { display:inline-flex; align-items:center; gap:9px; border:1px solid var(--line); border-radius:12px; padding:9px 15px; font-weight:600; background: var(--brand-tint); color: var(--brand-700); }
.check-pill svg { width:18px; height:18px; color: var(--good); flex:none; }

.form-foot { margin-top: 24px; display:flex; flex-direction: column; gap: 14px; }
.form-note { color: var(--faint); font-size: .92rem; }

/* success state */
.form-success { display:none; text-align:center; padding: 16px 0; }
.form-success.show { display:block; animation: fadeUp .5s ease both; }
.form-success .check { width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; background: var(--brand-tint); color: var(--good); display:grid; place-items:center; }
.form-success .check svg { width: 46px; height: 46px; }
form.hide { display:none; }

/* ---------- Comparison strip ---------- */
.cutout-compare { display:grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
@media (max-width: 880px){ .cutout-compare { grid-template-columns:1fr; } }
.cutout { background: var(--surface); border:1px solid var(--line); border-radius: var(--r-lg); overflow:hidden; box-shadow: var(--shadow-sm); }
.cutout .fig { aspect-ratio: 3/2; background: var(--brand-tint); border-bottom:1px solid var(--line); display:grid; place-items:center; }
.cutout .fig svg { width: 86%; height: 86%; }
.cutout .body { padding: 22px 24px 26px; }
.cutout .body h3 { font-size: 1.25rem; }
.cutout .body p { color: var(--muted); margin-top: 6px; }
.cutout .tag { font-weight:800; font-size:.78rem; letter-spacing:.08em; text-transform:uppercase; }
.cutout--bronze .tag { color: var(--bronze);} .cutout--silver .tag { color: var(--silver);} .cutout--gold .tag { color: var(--gold);}

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display:grid; gap: 14px; }
.faq details { background: var(--surface); border:1px solid var(--line); border-radius: var(--r); padding: 4px 22px; box-shadow: var(--shadow-sm); }
@media (max-width: 480px) { .faq details { padding: 4px 16px; } .faq summary { gap: 10px; } }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 700; font-size: 1.12rem; display:flex; justify-content: space-between; align-items:center; gap: 16px; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary .pm { flex:none; width: 28px; height: 28px; border-radius: 50%; background: var(--brand-tint); color: var(--brand); display:grid; place-items:center; font-size: 1.3rem; line-height:1; transition: transform .2s; }
.faq details[open] summary .pm { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 20px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow:hidden; border-radius: var(--r-xl); padding: clamp(36px, 6vw, 72px); }
.cta-band .wrap-inner { position: relative; z-index:1; max-width: 760px; }
.cta-band__glow { position:absolute; inset:0; background: radial-gradient(600px 300px at 85% 0%, rgba(255,255,255,.12), transparent 60%), radial-gradient(500px 320px at 0% 120%, rgba(199,154,53,.35), transparent 60%); }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-900); color: #cdd9e0; padding-block: clamp(48px, 6vw, 72px) 28px; }
.footer-grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 820px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px){ .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color:#fff; font-family: var(--font-body); font-weight:700; font-size: .92rem; letter-spacing:.1em; text-transform:uppercase; margin-bottom: 16px; }
.site-footer a { color:#b3c2cc; text-decoration:none; }
.site-footer a:hover { color:#fff; text-decoration: underline; }
.footer-links { display:grid; gap: 10px; }
.footer-brand .brand-logo { color:#fff; }
.footer-brand .brand-name { color:#fff; }
.footer-brand .brand-logo small { color:#cda35a; }
.footer-brand p { color:#a3b4bf; margin-top: 14px; max-width: 34ch; font-size: .98rem; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 22px; display:flex; flex-wrap:wrap; gap: 12px; justify-content: space-between; color:#90a2ac; font-size: .9rem; }

/* ---------- Misc utility ---------- */
.center { text-align:center; }
.mt-s{margin-top:12px} .mt{margin-top:24px} .mt-l{margin-top:40px}
.maxw-sm{max-width:560px} .mx-auto{margin-inline:auto}
.divider-soft { height:1px; background: var(--line); border:0; }
.note-strip { background: var(--accent-tint); border: 1px solid #e8d4a3; border-radius: var(--r); padding: 16px 20px; color: var(--terra-text); font-weight: 600; display:flex; gap:12px; align-items:center; }
.note-strip svg { width: 24px; height:24px; flex:none; }
.note-strip > span { min-width: 0; }

/* ---------- Award / social proof ---------- */
.award { align-items: center; gap: clamp(28px, 5vw, 64px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: clamp(28px, 4vw, 56px); }
.award__media { display: grid; place-items: center; }
.award__media img { width: 100%; height: auto; border-radius: var(--r); box-shadow: var(--shadow); display: block; }

/* ---------- Entrance animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.in { animation: fadeUp .7s cubic-bezier(.2,.7,.2,1) forwards; }
.reveal.d1{animation-delay:.08s}.reveal.d2{animation-delay:.16s}.reveal.d3{animation-delay:.24s}.reveal.d4{animation-delay:.32s}.reveal.d5{animation-delay:.4s}
@keyframes fadeUp { to { opacity:1; transform: none; } }
@media (prefers-reduced-motion: reduce){ .reveal { opacity:1 !important; transform:none !important; } }

/* ---------- Catalog ---------- */
.cat-cat { margin-top: clamp(40px, 6vw, 68px); }
.cat-cat:first-of-type { margin-top: 0; }
.cat-cat__head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.cat-cat__head h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
.cat-item { display: flex; flex-direction: column; gap: 10px; height: 100%; }
.cat-item__media { aspect-ratio: 4/3; border-radius: var(--r-sm); overflow: hidden; background: var(--brand-tint); }
.cat-item__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cat-item__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.cat-item__top h3 { font-size: 1.18rem; }
.cat-price { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; color: var(--brand); white-space: nowrap; }
.cat-item > p { color: var(--muted); font-size: 1rem; }
.cat-meta { font-size: .82rem !important; font-weight: 700; letter-spacing: .01em; color: var(--accent-700) !important; }
.cat-item .btn { margin-top: auto; }
.cat-item .btn.is-added { background: var(--brand-tint); border-color: var(--brand); color: var(--brand-700); }

/* Reservation cart */
.cart-box { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; scroll-margin-top: 92px; }
.cart-box__empty { padding: 16px; font-size: .98rem; margin: 0; }
.cart-lines { display: flex; flex-direction: column; }
.cart-line { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.cart-line:last-child { border-bottom: 0; }
.cart-line__name { flex: 1 1 55%; min-width: 0; font-weight: 600; }
.cart-line__price { font-weight: 700; color: var(--brand); white-space: nowrap; margin-left: auto; }
.cart-qty { display: inline-flex; align-items: center; gap: 2px; flex: none; border: 1px solid var(--line-2); border-radius: 999px; padding: 2px; }
.cart-qty__btn { width: 38px; height: 38px; border: none; background: var(--surface); color: var(--brand); border-radius: 999px; font-size: 1.2rem; line-height: 1; display: grid; place-items: center; cursor: pointer; }
.cart-qty__btn:hover { background: var(--brand-tint); }
.cart-qty__n { min-width: 26px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.cart-line__rm { width: 38px; height: 38px; flex: none; border-radius: 8px; border: 1px solid var(--line-2); background: var(--bg); color: var(--muted); font-size: 1.4rem; line-height: 1; display: grid; place-items: center; }
.cart-line__rm:hover { background: #fbe9e7; border-color: #e7b4ad; color: #a3261b; }
.cart-total { margin: 0; padding: 14px; font-weight: 700; text-align: right; background: var(--brand-tint); }
.cart-pill { position: fixed; right: 18px; bottom: 18px; z-index: 70; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 14px 22px; border: none; border-radius: 999px; background: var(--brand); color: #fff; font-family: var(--font-body); font-weight: 700; font-size: 1rem; box-shadow: var(--shadow-lg); cursor: pointer; }
.cart-pill:hover { background: var(--brand-700); }
.cart-pill svg { width: 20px; height: 20px; }

/* =====================================================================
   Outcome-based collection components (situation chips, funding band,
   collection cards, outcome bundle, ADP illustration, fundtag, photo
   placeholders, catalog filters). Built on the existing tokens above.
   ===================================================================== */

/* ---------- Fundtag pill ("May qualify for ADP funding") ---------- */
.pill--fund { background: #f6edd5; color: #6f5410; text-transform: none; letter-spacing: .01em; }
.pill--fund svg { width: 15px; height: 15px; flex: none; }
a.pill--fund { text-decoration: none; }
a.pill--fund:hover { background: #efe2bd; }

/* ---------- Situation chips ---------- */
/* 2×2 inside the hero's left column (the hero is a 2-col grid), so the chips
   never crowd into the figure or clip on desktop. */
.situation-chips { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-top: 30px; }
@media (max-width: 460px){ .situation-chips { grid-template-columns: 1fr; } }
.schip {
  display: flex; align-items: flex-start; gap: 14px; text-align: left;
  padding: 18px 18px; border-radius: var(--r); text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.schip:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand); }
.schip .schip__ic { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; }
.schip .schip__ic svg { width: 26px; height: 26px; }
.schip b { display: block; font-size: 1.06rem; line-height: 1.2; }
.schip span { color: var(--muted); font-size: .96rem; }
/* navy hero variant */
.bg-brand .schip, .bg-ink .schip { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.18); color: #fff; }
.bg-brand .schip span, .bg-ink .schip span { color: #cdd9e0; }
.bg-brand .schip .schip__ic, .bg-ink .schip .schip__ic { background: rgba(255,255,255,.14); color: #e0bd6e; }
.bg-brand .schip:hover, .bg-ink .schip:hover { border-color: #e0bd6e; background: rgba(255,255,255,.12); }

/* ---------- Funding band (full-width gold) ---------- */
.funding-band { background: linear-gradient(135deg, #f6edd5, #efe1ba); border-block: 1px solid #e6d4a3; }
.funding-band .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 36px; justify-content: space-between; padding-block: clamp(34px, 5vw, 52px); }
.funding-band__body { max-width: 64ch; }
.funding-band__seal { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; font-size: .8rem; color: #6f5410; }
.funding-band__seal svg { width: 20px; height: 20px; }
.funding-band h2 { color: #1d2b16; font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-top: 10px; }
.funding-band p { color: #5b4a26; margin-top: 8px; font-weight: 500; }
.funding-band .btn { --btn-bg: var(--brand); --btn-fg: #fff; flex: none; }

/* ---------- Collection card ---------- */
.coll-card { display: flex; flex-direction: column; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); transition: transform .22s, box-shadow .22s; text-decoration: none; color: inherit; }
.coll-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.coll-card__media { aspect-ratio: 16/11; background: var(--brand-tint); position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.coll-card__media img { width: 100%; height: 100%; object-fit: cover; }
.coll-card__media .pill { position: absolute; top: 14px; left: 14px; }
.coll-card__body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.coll-card__body h3 { font-size: 1.4rem; }
.coll-card__who { font-style: italic; color: var(--muted); font-size: 1rem; }
.coll-card ul.ticks { display: grid; gap: 8px; margin: 4px 0 6px; }
.coll-card ul.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; align-items: start; font-size: .98rem; }
.coll-card ul.ticks li svg { width: 20px; height: 20px; color: var(--good); margin-top: 3px; }
.coll-card__foot { margin-top: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 14px; }
.coll-card__price { font-weight: 700; color: var(--ink); white-space: nowrap; }
.coll-card__price .n { font-family: var(--font-display); font-size: 1.4rem; }
.coll-card__go { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent-700); white-space: nowrap; }
.coll-card__go svg { width: 18px; height: 18px; transition: transform .2s; }
.coll-card:hover .coll-card__go svg { transform: translateX(4px); }

/* ---------- Outcome-bundle block ---------- */
.bundle { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 880px){ .bundle { grid-template-columns: 1fr; } }
.bundle__media { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.bundle__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.bundle__media .pill { position: absolute; top: 18px; left: 18px; }
.bundle__kit { display: grid; gap: 12px; margin-top: 22px; }
.bundle__kit li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); }
.bundle__kit li svg { width: 22px; height: 22px; color: var(--good); margin-top: 3px; }
.bundle__kit li b { display: block; }
.bundle__kit li span { color: var(--muted); font-size: .94rem; }

/* ---------- ADP illustration card (program example, /funding only) ---------- */
.adp-illus { border: 2px dashed var(--accent); border-radius: var(--r-lg); background: var(--accent-tint); padding: clamp(24px, 4vw, 40px); }
.adp-illus__steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 14px; align-items: stretch; margin-top: 8px; }
@media (max-width: 720px){ .adp-illus__steps { grid-template-columns: 1fr; } .adp-illus__arrow { transform: rotate(90deg); margin-inline: auto; } }
.adp-illus__cell { background: var(--surface); border: 1px solid #e6d4a3; border-radius: var(--r); padding: 18px 20px; text-align: center; }
.adp-illus__cell .lbl { font-weight: 700; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; color: var(--terra-text); }
.adp-illus__cell .amt { font-family: var(--font-display); font-weight: 600; font-size: 2rem; line-height: 1.1; color: var(--ink); margin-top: 6px; }
.adp-illus__cell .sub { color: var(--muted); font-size: .9rem; margin-top: 4px; }
.adp-illus__arrow { display: grid; place-items: center; color: var(--accent-700); font-weight: 800; font-size: 1.6rem; }
.adp-illus__fine { margin-top: 18px; color: var(--terra-text); font-size: .9rem; }

/* ---------- "Photo coming" placeholder ---------- */
.photo-coming { position: relative; width: 100%; height: 100%; min-height: 180px; background: linear-gradient(150deg, var(--brand-700), var(--brand-900)); display: grid; place-items: center; }
.photo-coming svg { width: 56%; height: 56%; color: rgba(224,189,110,.85); }
.photo-coming__label { position: absolute; bottom: 12px; left: 12px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #cdd9e0; background: rgba(0,0,0,.28); padding: 4px 10px; border-radius: 999px; }

/* ---------- Catalog filters ---------- */
.cat-filters { display: flex; flex-direction: column; gap: 14px; margin-bottom: clamp(28px, 4vw, 44px); }
.cat-filter-group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cat-filter-group__label { font-weight: 700; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
/* On phones the inline label crowds the wrapping chips, give it its own row. */
@media (max-width: 560px) {
  .cat-filter-group { align-items: flex-start; }
  .cat-filter-group__label { flex-basis: 100%; margin-right: 0; padding-top: 2px; }
}
.cat-filter {
  font: inherit; font-size: .96rem; font-weight: 600; min-height: 44px;
  padding: 9px 16px; border-radius: 999px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line-2); color: var(--brand-700);
  transition: background .15s, border-color .15s, color .15s;
}
.cat-filter:hover { border-color: var(--brand); }
.cat-filter[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.cat-empty { padding: 24px; text-align: center; color: var(--muted); font-weight: 600; }
.cat-item__foot { margin-top: auto; }
.cat-item .pill--fund { align-self: flex-start; }

/* Provisional price note */
.price-note { color: var(--faint); font-size: .85rem; font-style: italic; }
