/* Alleva Insurance Agency — shared styles (v4)
   Premium comes from photography, restraint, and specific words, not decoration.
   Audited against the avoid-ai-design tell catalog: no accent-word headlines, no
   eyebrow labels on every section, no stat strip, no card grids, one entrance animation.
   One family (Archivo) with a real width/size hierarchy. Ink buttons. Brass only on the mark. */
:root {
  --ground: #f8f7f3;       /* page */
  --surface: #ffffff;      /* raised: forms, letter */
  --sunk: #e4ece7;         /* pine tint band */
  --ink: #16211e;          /* text (green-black) */
  --ink-soft: #46524e;     /* secondary text (AA on ground) */
  --rule: #d6dcd7;
  --evergreen: #1e3a33;    /* brand: Central Valley orchards, growth */
  --evergreen-deep: #132822;
  --gold: #d6a247;         /* sunrise: the mark, primary action on dark */
  --gold-soft: #f3e5c6;
  --brass: #a8792a;        /* gold dark enough for text on light */

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --s1: .5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2.5rem; --s5: 4rem; --s6: 6.5rem; --s7: 9rem;
  --r-sm: 12px; --r-md: 22px; --r-lg: 28px;
  --ease: cubic-bezier(.2, .9, .25, 1);
  --shadow-raised: 0 1px 2px rgba(19,40,34,.06), 0 12px 32px -18px rgba(19,40,34,.3);
  --shadow-float: 0 2px 4px rgba(19,40,34,.05), 0 32px 64px -28px rgba(19,40,34,.42);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--body); font-stretch: 100%; font-size: 1.125rem; line-height: 1.7; }
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--brass); }
p { margin: 0 0 var(--s2); max-width: 64ch; }
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; }
h1 { font-stretch: 78%; font-weight: 700; font-size: clamp(2.7rem, 6.4vw, 5.6rem); line-height: .98; letter-spacing: -0.035em; }
h2 { font-stretch: 80%; font-weight: 700; font-size: clamp(2.1rem, 4.4vw, 3.6rem); line-height: 1.02; letter-spacing: -0.03em; }
h3 { font-stretch: 90%; font-weight: 600; font-size: 1.3rem; line-height: 1.25; letter-spacing: -0.015em; }
.lede { font-size: 1.3rem; line-height: 1.6; color: var(--ink-soft); }
.small { font-size: .9rem; color: var(--ink-soft); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

.wrap { width: min(1240px, 100% - 2rem); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2rem); margin-inline: auto; }
.section { padding-block: var(--s5) var(--s6); }
@media (min-width: 900px) { .section { padding-block: var(--s6) var(--s7); } }

.todo { background: #fff1c9; color: #3b2f12; outline: 1px dashed var(--brass); border-radius: 2px; padding: 0 .25em; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 1.75rem; border-radius: var(--r-sm); border: 0;
  font: 600 1rem/1 var(--body); letter-spacing: -0.005em; text-decoration: none; cursor: pointer;
  background: var(--evergreen); color: #fff;
  transition: transform .35s var(--ease), background-color .2s ease;
}
.btn:hover { color: #fff; background: var(--evergreen-deep); transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .55; cursor: wait; transform: none; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--ground); color: var(--ink); }
.text-link { font-weight: 600; text-decoration: underline; }
:where(a, button, input, select, textarea):focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246,246,243,.94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand:hover { color: inherit; }
.brand svg { width: 30px; height: 18px; flex: none; }
.brand b { font-stretch: 85%; font-weight: 700; font-size: 1.35rem; letter-spacing: -0.02em; }
.brand span { font-size: .85rem; color: var(--ink-soft); padding-left: .65rem; border-left: 1px solid var(--rule); display: none; }
@media (min-width: 700px) { .brand span { display: inline; } }
.nav { display: none; align-items: center; gap: var(--s4); }
.nav a { text-decoration: none; font-size: 1rem; font-weight: 500; }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--brass); text-decoration-thickness: 2px; text-underline-offset: .45em; }
.header-btn { min-height: 46px; padding: 0 1.2rem; font-size: .95rem; }
@media (min-width: 980px) { .nav { display: flex; } }
@media (max-width: 979px) { .header-btn { display: none; } }

/* hero: founder-led split */
.hero { padding-block: var(--s4) var(--s5); }
@media (min-width: 980px) { .hero { padding-block: var(--s5) var(--s6); } }
.hero .wrap { display: grid; gap: var(--s4); align-items: center; }
@media (min-width: 980px) { .hero .wrap { grid-template-columns: 1.05fr .95fr; gap: var(--s5); } }
.hero-copy > * { animation: enter .9s var(--ease) both; }
.hero-copy > *:nth-child(2) { animation-delay: .08s; }
.hero-copy > *:nth-child(3) { animation-delay: .16s; }
.hero-copy > *:nth-child(4) { animation-delay: .24s; }
@keyframes enter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.tagline { font-size: 1rem; color: var(--ink-soft); margin-bottom: var(--s3); display: flex; align-items: center; gap: .6rem; }
.tagline svg { width: 22px; height: 13px; flex: none; }
.hero .lede { margin-top: var(--s3); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s4); margin-top: var(--s4); }
.hero-photo { animation: enter 1.1s var(--ease) .1s both; }

/* photography frames: art-directed placeholders until Taj's photos arrive */
.photo { position: relative; margin: 0; border-radius: var(--r-md); overflow: hidden; background: #d5d2cb; box-shadow: var(--shadow-float); }
.photo img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.photo::before { content: ""; position: absolute; inset: 0; background: #2b2418; mix-blend-mode: multiply; opacity: .08; pointer-events: none; z-index: 2; }
.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55), transparent 40%); pointer-events: none; z-index: 2; }
.photo figcaption { position: absolute; left: var(--s3); right: var(--s3); bottom: var(--s3); z-index: 3; color: #fff; font-size: .95rem; line-height: 1.4; }
.photo figcaption b { display: block; font-size: 1.05rem; }
.photo-needed { position: absolute; inset: 0; display: grid; place-content: center; padding: var(--s4); text-align: center; color: #5a564e; font-size: .9rem; line-height: 1.5; z-index: 0; }
.photo-needed strong { display: block; color: #3a372f; font-size: 1rem; margin-bottom: .25rem; }

/* letter: the page's spine */
.letter { background: var(--surface); }
.letter-grid { display: grid; gap: var(--s4); }
@media (min-width: 980px) { .letter-grid { grid-template-columns: 4fr 7fr; gap: var(--s6); align-items: start; } .letter-grid .photo { position: sticky; top: 110px; } }
.letter-body { font-size: 1.2rem; line-height: 1.75; }
.letter-body h2 { margin-bottom: var(--s4); }
.letter-body p { max-width: 60ch; }
.letter-body .first { font-size: 1.45rem; line-height: 1.55; color: var(--ink); }
.signoff { margin-top: var(--s4); padding-top: var(--s3); border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: .15rem; }
.signoff b { font-stretch: 85%; font-size: 1.3rem; letter-spacing: -0.02em; }
.signoff span { color: var(--ink-soft); font-size: .95rem; }

/* offer: rows, not cards */
.offer { display: grid; gap: var(--s4); }
@media (min-width: 980px) { .offer { grid-template-columns: 5fr 7fr; gap: var(--s6); } }
.list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--evergreen); }
.list li { display: grid; gap: .35rem var(--s4); padding: var(--s3) 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 700px) { .list li { grid-template-columns: 15rem 1fr; } }
.list p { margin: 0; color: var(--ink-soft); }

/* values: his words, said plainly */
.values { background: var(--sunk); }
.values-line { font-stretch: 78%; font-weight: 700; font-size: clamp(1.9rem, 4.6vw, 3.8rem); line-height: 1.12; letter-spacing: -0.03em; max-width: none; margin: var(--s3) 0 0; }

/* steps: a real sequence */
.steps { list-style: none; margin: var(--s4) 0 0; padding: 0; display: grid; gap: var(--s3); counter-reset: s; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: var(--s4); } }
.steps li { counter-increment: s; }
.steps h3::before { content: counter(s) ". "; color: var(--brass); }
.steps p { color: var(--ink-soft); margin: var(--s1) 0 0; }

/* apply / quote */
.apply { display: grid; gap: var(--s4); align-items: start; }
@media (min-width: 980px) { .apply { grid-template-columns: 5fr 6fr; gap: var(--s6); } }
.form { background: var(--surface); border-radius: var(--r-md); padding: var(--s4) var(--s3); box-shadow: var(--shadow-float); }
@media (min-width: 600px) { .form { padding: var(--s4); } }
.field { display: grid; gap: .4rem; margin-bottom: var(--s3); }
.field-row { display: grid; gap: 0 var(--s2); }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
label, legend { font-size: .95rem; font-weight: 600; }
.hint { font-weight: 400; color: var(--ink-soft); }
input, select, textarea { width: 100%; min-height: 54px; padding: .75rem 1rem; border-radius: var(--r-sm); border: 1px solid #c9c6bf; background: #fff; color: var(--ink); font: 400 1.05rem/1.4 var(--body); transition: border-color .2s ease; }
textarea { min-height: 120px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: #8f8b83; }
input:focus, select:focus, textarea:focus { border-color: var(--ink); }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: #b3261e; }
fieldset { border: 0; padding: 0; margin: 0 0 var(--s3); }
.choices { display: flex; flex-wrap: wrap; gap: var(--s1); margin-top: .5rem; }
.choice { position: relative; font-weight: 400; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
.choice span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 1.1rem; border-radius: var(--r-sm); border: 1px solid #c9c6bf; background: #fff; cursor: pointer; font-size: 1rem; transition: transform .2s var(--ease), border-color .2s ease; }
.choice span:hover { border-color: var(--ink); }
.choice span:active { transform: scale(.98); }
.choice input:checked + span { background: var(--evergreen); color: #fff; border-color: var(--evergreen); }
.choice input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 3px; }
.consent { display: flex; flex-wrap: wrap; gap: .75rem; align-items: flex-start; font-size: .85rem; line-height: 1.55; font-weight: 400; color: var(--ink-soft); margin-bottom: var(--s3); }
.consent > span { flex: 1; min-width: 0; }
.consent input { width: 22px; height: 22px; min-height: 0; flex: none; margin-top: .1rem; accent-color: var(--ink); }
.hp { display: none !important; }
.form-error { color: #b3261e; font-weight: 600; font-size: .95rem; margin: 0 0 var(--s2); }
.field-error { color: #b3261e; font-size: .88rem; width: 100%; }
.form .btn { width: 100%; }
.form-success { text-align: center; padding: var(--s4) var(--s2); }
.form-success h3 { font-size: 1.8rem; margin-bottom: var(--s1); }
.reassure { list-style: none; padding: 0; margin: var(--s4) 0 0; display: grid; gap: .6rem; }
.reassure li { padding-left: 1.4rem; position: relative; color: var(--ink-soft); }
.reassure li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: var(--brass); }

/* q&a: side by side, no accordion */
.qa { display: grid; gap: var(--s4) var(--s5); margin-top: var(--s4); }
@media (min-width: 900px) { .qa { grid-template-columns: 1fr 1fr; } }
.qa h3 { margin-bottom: var(--s1); }
.qa p { color: var(--ink-soft); margin: 0; }

/* coverage page pieces */
.cost { display: grid; gap: var(--s3) var(--s5); align-items: end; padding: var(--s4) 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); margin-top: var(--s4); }
@media (min-width: 800px) { .cost { grid-template-columns: auto 1fr; } }
.cost .num { font-stretch: 75%; font-weight: 700; font-size: clamp(3.6rem, 10vw, 6.5rem); line-height: .9; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.cost p { margin: 0; }

/* crossover band to the other audience */
.crossover { background: var(--evergreen); color: #fff; }
.crossover .wrap { display: grid; gap: var(--s3); align-items: center; padding-block: var(--s5); }
@media (min-width: 900px) { .crossover .wrap { grid-template-columns: 1fr auto; } }
.crossover p { color: #c4d3cd; margin: var(--s1) 0 0; }
.crossover h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }

/* footer */
.site-footer { padding-block: var(--s5) var(--s4); border-top: 1px solid var(--rule); font-size: .95rem; }
.footer-top { display: grid; gap: var(--s4); }
@media (min-width: 800px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.site-footer a { text-decoration: none; }
.site-footer h4 { margin: 0 0 var(--s2); font-size: .95rem; font-weight: 600; }
.disclaimer { margin-top: var(--s4); padding-top: var(--s3); border-top: 1px solid var(--rule); font-size: .8rem; line-height: 1.65; color: var(--ink-soft); max-width: none; }

/* mobile action bar */
.action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: .6rem 1rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(246,246,243,.97); border-top: 1px solid var(--rule); }
.action-bar .btn { width: 100%; min-height: 50px; }
body { padding-bottom: 72px; }
@media (min-width: 980px) { .action-bar { display: none; } body { padding-bottom: 0; } }

.prose h2 { font-size: 1.8rem; margin: var(--s4) 0 var(--s2); }
.prose p, .prose li { color: var(--ink-soft); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.mobile-link { font-weight: 600; font-size: .95rem; text-decoration: underline; }
@media (min-width: 980px) { .mobile-link { display: none; } }

/* ===== v5: brand color + logo ===== */
.brand .mark { width: 34px; height: 34px; flex: none; }
.wordmark b { display: block; font-stretch: 118%; font-weight: 600; font-size: 1.2rem; letter-spacing: .14em; line-height: 1; color: var(--evergreen); }
.wordmark small { display: block; font-size: .56rem; font-weight: 500; letter-spacing: .4em; color: var(--ink-soft); margin-top: 5px; }
.hero-dark .wordmark b, .on-dark .wordmark b { color: #fff; }

.btn-gold { background: var(--gold); color: var(--evergreen-deep); }
.btn-gold:hover { background: #e3b25c; color: var(--evergreen-deep); }
.btn-light:hover { background: var(--gold-soft); }

/* home hero on evergreen */
.hero-dark { background: var(--evergreen-deep); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.hero-dark::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 85% 110%, rgba(214,162,71,.28), transparent 60%), radial-gradient(50% 60% at 0% 0%, rgba(126,170,150,.14), transparent 70%); }
.hero-dark .lede { color: #c4d3cd; }
.hero-dark .tagline { color: var(--gold); }
.hero-dark .text-link { color: #fff; }
.hero-dark .text-link:hover { color: var(--gold); }
.hero-dark .photo { box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.hero-dark .photo-needed { color: #43524c; }

.steps h3::before { color: var(--brass); }
.reassure li::before { background: var(--gold); }
.values { background: var(--gold-soft); }
.values-line { color: var(--evergreen); }
.cost .num { color: var(--evergreen); }
.letter-body .first { color: var(--evergreen); }
a:hover { color: var(--brass); }
.site-footer { background: var(--evergreen-deep); color: #c4d3cd; border-top: 0; }
.site-footer h4 { color: #fff; }
.site-footer a:hover { color: var(--gold); }
.site-footer .wordmark b { color: #fff; }
.site-footer .wordmark small, .site-footer .small { color: #9fb4ac; }
.site-footer .disclaimer { color: #9fb4ac; border-top-color: rgba(255,255,255,.12); }
.site-footer .todo { color: #3b2f12; }
.photo img.fill { position: absolute; inset: 0; }
.hero-tint { background: var(--sunk); }
.hero-tint .tagline { color: var(--brass); }

/* ===== team ===== */
.team-section { background: var(--surface); }
.team-head { display: grid; gap: var(--s2); margin-bottom: var(--s4); }
@media (min-width: 900px) { .team-head { grid-template-columns: 1fr 1fr; align-items: end; } .team-head .lede { margin: 0; } }
.team-wide { aspect-ratio: 16/9; margin-bottom: var(--s4); }
.team-wide img { object-position: center 35%; }
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s3) var(--s2); }
@media (min-width: 800px) { .team-grid { grid-template-columns: repeat(4, 1fr); gap: var(--s4) var(--s3); } }
.member { margin: 0; }
.member img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 15%; border-radius: var(--r-md); background: var(--sunk); box-shadow: var(--shadow-raised); }
.member figcaption { margin-top: .75rem; line-height: 1.35; }
.member b { display: block; font-stretch: 90%; font-size: 1.1rem; letter-spacing: -0.01em; }
.member span { font-size: .9rem; color: var(--ink-soft); }
.member img { height: auto; }
.team-wide { aspect-ratio: 4/3; }
.team-wide img { object-position: center 62%; }
@media (min-width: 900px) { .team-wide { aspect-ratio: 16/10; } }
.team-head { align-items: center; gap: var(--s4); margin-bottom: var(--s5); }
@media (min-width: 900px) { .team-head { grid-template-columns: 6fr 5fr; align-items: center; gap: var(--s6); } }
.team-head .lede { margin-top: var(--s3); }
.team-wide, .team-wide { aspect-ratio: 4/5; margin: 0; }
@media (min-width: 900px) { .team-wide { aspect-ratio: 4/5; } }
.team-wide img { object-position: center 40%; }

/* ===== v7: trust row ===== */
.trust { list-style: none; padding: 0; margin: var(--s4) 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .95rem; color: var(--ink-soft); }
.trust li { display: flex; align-items: center; gap: .5rem; }
.trust li::before { content: ""; width: 16px; height: 16px; flex: none; border-radius: 50%; background: var(--evergreen) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2 7 10.5l4.5-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.hero-dark .trust { color: #c4d3cd; }

/* ===== quiz ===== */
.quiz-section { background: var(--surface); }
.quiz-wrap { display: grid; gap: var(--s4); align-items: start; }
@media (min-width: 980px) { .quiz-wrap { grid-template-columns: 5fr 6fr; gap: var(--s6); } }
.quiz { background: var(--ground); border: 1px solid var(--rule); border-radius: var(--r-md); padding: var(--s4) var(--s3); min-height: 380px; }
@media (min-width: 600px) { .quiz { padding: var(--s4); } }
.quiz-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: .75rem; }
.quiz-count { font-size: .9rem; font-weight: 600; color: var(--brass); margin: 0; }
.quiz-back { background: none; border: 0; padding: .4rem 0; font: 600 .95rem var(--body); color: var(--ink-soft); text-decoration: underline; cursor: pointer; }
.quiz-back:hover { color: var(--ink); }
.quiz-bar { height: 4px; background: var(--rule); border-radius: 4px; overflow: hidden; margin-bottom: var(--s4); }
.quiz-bar span { display: block; height: 100%; background: var(--gold); transform-origin: left; transition: transform .45s var(--ease); }
.quiz-step { margin: 0; animation: enter .45s var(--ease) both; }
.quiz-q { font-family: var(--display); font-stretch: 85%; font-weight: 700; font-size: clamp(1.45rem, 2.6vw, 1.9rem); line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); margin-bottom: var(--s3); outline: none; }
.quiz-options { display: grid; gap: .65rem; }
.quiz-opt { display: flex; align-items: center; width: 100%; min-height: 58px; padding: .85rem 1.15rem; text-align: left; background: var(--surface); border: 1px solid #c9c6bf; border-radius: var(--r-sm); font: 500 1.06rem/1.35 var(--body); color: var(--ink); cursor: pointer; transition: transform .25s var(--ease), border-color .2s ease, background-color .2s ease; }
.quiz-opt::after { content: ""; margin-left: auto; width: 9px; height: 9px; border-right: 2px solid var(--ink-soft); border-top: 2px solid var(--ink-soft); transform: rotate(45deg); flex: none; opacity: .5; }
.quiz-opt:hover { border-color: var(--evergreen); background: #fbfcfb; transform: translateX(3px); }
.quiz-opt:active { transform: scale(.99); }
.quiz-opt.is-on { border-color: var(--evergreen); box-shadow: inset 0 0 0 1px var(--evergreen); }
.quiz-result { animation: enter .5s var(--ease) both; }
.quiz-result h3 { font-stretch: 80%; font-weight: 700; font-size: clamp(1.8rem, 3.4vw, 2.5rem); line-height: 1.05; letter-spacing: -0.03em; color: var(--evergreen); margin: .35rem 0 var(--s2); outline: none; }
.quiz-result ul { list-style: none; padding: 0; margin: var(--s3) 0; display: grid; gap: .55rem; }
.quiz-result li { position: relative; padding-left: 1.6rem; }
.quiz-result li::before { content: ""; position: absolute; left: 0; top: .5em; width: 16px; height: 16px; border-radius: 50%; background: var(--evergreen) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2 7 10.5l4.5-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; transform: translateY(-2px); }
.quiz-note { background: var(--gold-soft); border-radius: var(--r-sm); padding: .75rem 1rem; font-size: .95rem; }
.quiz-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); margin-top: var(--s3); }
.quiz-restart { background: none; border: 0; font: 600 1rem var(--body); text-decoration: underline; color: var(--ink-soft); cursor: pointer; padding: .5rem 0; }
.quiz-restart:hover { color: var(--ink); }
.quiz-fine { font-size: .82rem; color: var(--ink-soft); margin: var(--s3) 0 0; }
.quiz-handoff { background: var(--gold-soft); border-radius: var(--r-sm); padding: .8rem 1rem; font-size: .95rem; font-weight: 600; color: var(--evergreen-deep); }
:where(.quiz-opt, .quiz-back, .quiz-restart, .popup-x, .popup-no):focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

/* ===== popups ===== */
dialog.popup { width: min(560px, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); overflow: auto; padding: var(--s4) var(--s3) var(--s3); border: 0; border-radius: 10px; background: var(--surface); color: var(--ink); box-shadow: 0 40px 100px -30px rgba(10,25,21,.6); }
@media (min-width: 600px) { dialog.popup { padding: var(--s4); } }
dialog.popup[open] { animation: pop .45s var(--ease) both; }
dialog.popup::backdrop { background: rgba(12,26,22,.62); backdrop-filter: blur(3px); }
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
dialog.popup h2 { font-size: clamp(1.6rem, 4vw, 2.1rem); padding-right: 2rem; }
.popup-lede { color: var(--ink-soft); margin: var(--s2) 0 var(--s3); }
.popup-x { position: absolute; top: .6rem; right: .6rem; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; font-size: 1.8rem; line-height: 1; color: var(--ink-soft); cursor: pointer; transition: background-color .2s ease; z-index: 2; }
.popup-x:hover { background: var(--sunk); color: var(--ink); }
dialog.popup .quiz { min-height: 0; background: var(--ground); }
dialog.popup .quiz-q { font-size: 1.35rem; }
.popup-join { padding: 0 !important; overflow: hidden; display: none; }
.popup-join[open] { display: grid; }
@media (min-width: 640px) { .popup-join[open] { grid-template-columns: 5fr 6fr; width: min(760px, calc(100% - 2rem)); } }
.popup-img { width: 100%; height: 100%; max-height: 240px; object-fit: cover; object-position: center 30%; }
@media (min-width: 640px) { .popup-img { max-height: none; } }
.popup-body { padding: var(--s4) var(--s3) var(--s3); display: flex; flex-direction: column; align-items: flex-start; }
@media (min-width: 640px) { .popup-body { padding: var(--s5) var(--s4) var(--s4); justify-content: center; } }
.popup-join .popup-x { background: rgba(255,255,255,.85); }
.popup-no { margin-top: var(--s2); background: none; border: 0; font: 500 .95rem var(--body); color: var(--ink-soft); text-decoration: underline; cursor: pointer; padding: .5rem 0; }
dialog.popup h2:focus { outline: none; }

/* ===== v7: UI/UX + mobile pass ===== */
.brand .wordmark { display: block !important; padding: 0 !important; border: 0 !important; }
@media (max-width: 420px) { .brand .wordmark b { font-size: 1.05rem; } .brand .wordmark small { font-size: .5rem; letter-spacing: .32em; } .brand .mark { width: 30px; height: 30px; } }
.text-link { display: inline-block; padding: .55rem 0; }
/* caption gradient only where it's needed, so light photos stay clean */
.photo::after { background: linear-gradient(to top, rgba(0,0,0,.5), transparent 28%); }
.photo:not(:has(figcaption))::after { display: none; }
.photo::before { opacity: .05; }
/* mobile hero: tighter type, photo cropped to a portrait band with the face in frame */
@media (max-width: 979px) {
  .hero { padding-block: var(--s4) var(--s5); }
  .hero h1 { font-size: clamp(2.5rem, 11vw, 3.4rem); }
  .hero .lede { font-size: 1.15rem; }
  .hero-photo .photo { aspect-ratio: 1 / 1 !important; }
  .hero-photo .photo img { object-position: center 18%; }
  .letter-grid .photo { aspect-ratio: 1 / 1 !important; }
  .letter-grid .photo img { object-position: center 25%; }
  .trust { gap: .4rem 1.2rem; font-size: .9rem; }
  .section { padding-block: var(--s5); }
  .quiz { padding: var(--s3) var(--s2); min-height: 0; }
  .quiz-opt { min-height: 54px; font-size: 1rem; }
}
/* note from Taj (coverage page) */
.note-band { background: var(--evergreen-deep); color: #fff; }
.note-band .wrap { display: grid; gap: var(--s4); align-items: center; padding-block: var(--s5); }
@media (min-width: 900px) { .note-band .wrap { grid-template-columns: auto 1fr; gap: var(--s5); padding-block: var(--s6); } }
.note-band img { width: 168px; height: 168px; border-radius: 50%; object-fit: cover; object-position: center 12%; box-shadow: 0 0 0 4px rgba(214,162,71,.5); }
.note-band blockquote { margin: 0; font-family: var(--display); font-stretch: 85%; font-weight: 600; font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.22; letter-spacing: -0.02em; max-width: 34ch; }
.note-band .by { margin-top: var(--s3); color: #c4d3cd; font-size: 1rem; }
.note-band .by b { color: #fff; }
.note-band .text-link { color: var(--gold); margin-top: var(--s1); }
.note-band .text-link:hover { color: #fff; }
.brand { min-height: 44px; } .mobile-link { display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 980px) { .mobile-link { display: none; } }

/* ===== v8: rounded, softer system ===== */
.btn { border-radius: 14px; }
.header-btn { border-radius: 12px; }
input, select, textarea { border-radius: 12px; }
.choice span, .quiz-opt { border-radius: 14px; }
.photo, .member img, .form, .quiz { border-radius: var(--r-lg); }
.note-band img { border-radius: 50%; }
dialog.popup { border-radius: 28px; }
.popup-join[open] { border-radius: 28px; }
.quiz-bar, .quiz-bar span { border-radius: 999px; }
.quiz-note, .quiz-handoff { border-radius: 14px; }
.list { border-top-width: 0; }
.list li:first-child { border-top: 1px solid var(--rule); }
.steps li { background: var(--surface); border-radius: var(--r-md); padding: var(--s3); box-shadow: var(--shadow-raised); }
.cost { border: 0; background: var(--surface); border-radius: var(--r-lg); padding: var(--s4); box-shadow: var(--shadow-raised); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* quiz finished state */
.quiz-ready { animation: enter .5s var(--ease) both; padding: var(--s3) 0; }
.quiz-ready h3 { font-stretch: 80%; font-weight: 700; font-size: clamp(1.8rem, 3.4vw, 2.4rem); color: var(--evergreen); letter-spacing: -0.03em; margin: .35rem 0 var(--s3); outline: none; }

/* lead modal */
dialog.lead { width: min(620px, calc(100% - 1.5rem)); }
dialog.lead h2 { font-size: clamp(1.7rem, 4.6vw, 2.3rem); line-height: 1.08; margin: .4rem 0 var(--s3); outline: none; }
.lead-name .field input { min-height: 62px; font-size: 1.25rem; }
.lead-name .btn { width: 100%; }
.lead-result h2 { color: var(--evergreen); }
.lead-result p { color: var(--ink-soft); }
.lead-points { list-style: none; padding: 0; margin: var(--s3) 0; display: grid; gap: .55rem; }
.lead-points li { position: relative; padding-left: 1.6rem; }
.lead-points li::before { content: ""; position: absolute; left: 0; top: .32em; width: 16px; height: 16px; border-radius: 50%; background: var(--evergreen) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2 7 10.5l4.5-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.lead form[data-lead-form] { margin-top: var(--s4); padding-top: var(--s4); border-top: 1px solid var(--rule); }
.lead-ask { font-weight: 600; color: var(--ink) !important; margin-bottom: var(--s3); }
.lead form .btn { width: 100%; }
@media (max-width: 600px) {
  dialog.popup { width: 100%; max-width: 100%; max-height: 92dvh; margin: auto 0 0; border-radius: 28px 28px 0 0; padding: var(--s4) var(--s3) calc(var(--s3) + env(safe-area-inset-bottom)); }
  dialog.popup[open] { animation: sheet .45s var(--ease) both; }
  .popup-join[open] { border-radius: 28px 28px 0 0; }
}
@keyframes sheet { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ===== v9: StoryBrand homepage ===== */
.center { text-align: center; }
/* stakes */
.stakes { background: var(--surface); }
.stakes-head { max-width: 46rem; margin-bottom: var(--s5); }
.stakes-head .lede { margin-top: var(--s3); }
.stakes-grid { display: grid; gap: var(--s4); align-items: stretch; }
@media (min-width: 900px) { .stakes-grid { grid-template-columns: 5fr 7fr; gap: var(--s5); } }
.stat-card { background: var(--evergreen-deep); color: #fff; border-radius: var(--r-lg); padding: var(--s4); display: flex; flex-direction: column; justify-content: center; box-shadow: var(--shadow-float); }
.stat-card .num { font-stretch: 75%; font-weight: 700; font-size: clamp(3.8rem, 9vw, 6rem); line-height: .9; letter-spacing: -0.04em; color: var(--gold); font-variant-numeric: tabular-nums; }
.stat-card p { color: #e1e9e5; font-size: 1.15rem; margin: var(--s2) 0; }
.stat-card .small { color: #9fb4ac; font-size: .8rem; }
.stakes-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.stakes-list li { background: var(--ground); border-radius: var(--r-md); padding: var(--s3); border-left: 4px solid var(--gold); }
.stakes-list h3 { margin-bottom: .3rem; }
.stakes-list p { margin: 0; color: var(--ink-soft); }
.belief { margin: var(--s5) auto 0; max-width: 30ch; text-align: center; font-family: var(--display); font-stretch: 85%; font-weight: 600; font-size: clamp(1.5rem, 3.2vw, 2.3rem); line-height: 1.2; letter-spacing: -0.02em; color: var(--evergreen); }
/* failure vs success */
.compare-section { background: var(--ground); }
.compare { display: grid; gap: var(--s3); margin-top: var(--s4); }
@media (min-width: 800px) { .compare { grid-template-columns: 1fr 1fr; gap: var(--s4); } }
.compare-col { border-radius: var(--r-lg); padding: var(--s4); }
.compare-col h3 { font-size: 1.5rem; margin-bottom: var(--s3); }
.compare-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s2); }
.compare-col li { position: relative; padding-left: 2rem; font-size: 1.1rem; }
.compare-col li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%; background-position: center; background-size: 20px; background-repeat: no-repeat; }
.without { background: var(--surface); border: 1px solid var(--rule); color: var(--ink-soft); }
.without h3 { color: var(--ink-soft); }
.without li::before { background-color: #e9e6e0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7 7l6 6M13 7l-6 6' stroke='%237a746b' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
.with { background: var(--evergreen); color: #fff; box-shadow: var(--shadow-float); }
.with h3 { color: var(--gold); }
.with li::before { background-color: var(--gold); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.3 8.6 13l5.9-6.4' fill='none' stroke='%23132822' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
/* guide */
.guide { background: var(--surface); }
.guide-grid { display: grid; gap: var(--s4); align-items: center; }
@media (min-width: 980px) { .guide-grid { grid-template-columns: 6fr 5fr; gap: var(--s6); } }
.guide-photo { aspect-ratio: 3 / 2; }
.guide-photo img { object-position: center 30%; }
.guide-quote { margin: var(--s3) 0 var(--s2); font-size: 1.25rem; line-height: 1.6; color: var(--ink); padding-left: var(--s3); border-left: 3px solid var(--gold); }
.guide-by { color: var(--ink-soft); }
.guide-by .text-link { padding: 0; margin-left: .25rem; }
.authority { list-style: none; padding: 0; margin: var(--s4) 0 0; display: grid; gap: var(--s2) var(--s3); }
@media (min-width: 600px) { .authority { grid-template-columns: 1fr 1fr; } }
.authority li { background: var(--ground); border-radius: var(--r-md); padding: var(--s3); }
.authority b { display: block; font-stretch: 90%; font-size: 1.1rem; color: var(--evergreen); margin-bottom: .2rem; }
.authority span { color: var(--ink-soft); font-size: .98rem; line-height: 1.5; display: block; }
/* plan */
.plan-section { background: var(--sunk); }
.plan-head { text-align: center; max-width: 40rem; margin: 0 auto var(--s5); }
.plan-head .lede { margin: var(--s2) auto 0; }
.plan { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s3); }
@media (min-width: 900px) { .plan { grid-template-columns: repeat(3, 1fr); gap: var(--s4); } }
.plan-step { background: var(--surface); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-raised); display: flex; flex-direction: column; transition: transform .4s var(--ease); }
.plan-step:hover { transform: translateY(-4px); }
.plan-media { aspect-ratio: 4 / 3; background: var(--ground); overflow: hidden; }
.plan-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.plan-body { padding: var(--s3) var(--s3) var(--s4); }
.plan-num { display: inline-block; font-size: .85rem; font-weight: 700; color: var(--evergreen); background: var(--gold-soft); border-radius: 999px; padding: .3rem .8rem; margin-bottom: var(--s2); }
.plan-body h3 { font-size: 1.45rem; margin-bottom: var(--s1); }
.plan-body p { color: var(--ink-soft); margin: 0; }
.plan-cta { text-align: center; margin-top: var(--s5); }
.plan-quiz { display: grid; place-items: center; padding: var(--s3); background: linear-gradient(160deg, var(--evergreen) 0%, var(--evergreen-deep) 100%); }
.mini { width: 100%; max-width: 300px; background: var(--surface); border-radius: 18px; padding: 1rem 1.1rem 1.1rem; display: grid; gap: .45rem; box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); }
.mini-count { font-size: .7rem; font-weight: 700; color: var(--brass); }
.mini-bar { height: 4px; border-radius: 999px; background: var(--rule); overflow: hidden; } .mini-bar i { display: block; width: 60%; height: 100%; background: var(--gold); }
.mini b { font-stretch: 85%; font-size: 1rem; line-height: 1.2; color: var(--ink); margin: .2rem 0; }
.mini-opt { font-size: .78rem; padding: .5rem .7rem; border: 1px solid #c9c6bf; border-radius: 10px; color: var(--ink); }
.mini-opt.on { border-color: var(--evergreen); box-shadow: inset 0 0 0 1px var(--evergreen); background: #f3f7f5; }
/* explanatory paragraph */
.about { background: var(--surface); }
.about-grid { display: grid; gap: var(--s4); align-items: center; }
@media (min-width: 980px) { .about-grid { grid-template-columns: 6fr 6fr; gap: var(--s6); } }
.about-grid p { color: var(--ink-soft); }
.about-grid .photo { aspect-ratio: 3 / 2; }
/* final CTA with success image */
.final-cta { position: relative; isolation: isolate; overflow: hidden; color: #fff; text-align: center; }
.final-cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; z-index: -2; }
.final-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(19,40,34,.72), rgba(19,40,34,.88)); }
.final-cta .wrap { padding-block: var(--s6); }
.final-cta h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.final-cta p { margin: var(--s2) auto var(--s4); color: #d7e2dd; font-size: 1.2rem; }
@media (max-width: 979px) {
  .stakes-head, .plan-head { margin-bottom: var(--s4); }
  .belief { margin-top: var(--s4); }
  .compare-col, .stat-card { padding: var(--s3); }
  .final-cta .wrap { padding-block: var(--s5); }
}
.stakes-list li { border-left: 0; position: relative; padding-left: calc(var(--s3) + 1.6rem); }
.stakes-list li::before { content: ""; position: absolute; left: var(--s3); top: calc(var(--s3) + .45rem); width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px var(--gold-soft); }
/* step 3 illustration: the outcome */
.mini-covered { gap: .6rem; }
.covered-badge { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--display); font-stretch: 85%; font-weight: 700; font-size: 1.15rem; color: var(--evergreen); margin-bottom: .2rem; }
.covered-badge i { width: 26px; height: 26px; border-radius: 50%; flex: none; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.3 8.6 13l5.9-6.4' fill='none' stroke='%23132822' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/22px no-repeat; }
.covered-row { display: flex; justify-content: space-between; gap: .75rem; align-items: baseline; padding: .55rem 0; border-top: 1px solid var(--rule); font-size: .8rem; }
.covered-row em { font-style: normal; color: var(--ink-soft); }
.covered-row b { color: var(--ink); text-align: right; }
.covered-row b.ok { color: var(--evergreen); }
/* wordmark: INSURANCE spans exactly the width of ALLEVA */
.brand .wordmark { display: inline-flex !important; flex-direction: column; align-items: stretch; }
.wordmark b { margin-right: -.14em; }
.wordmark .wm-sub { display: flex; justify-content: space-between; letter-spacing: 0; margin-top: 6px; font-size: .58rem; font-weight: 600; line-height: 1; color: var(--ink-soft); }
.wordmark .wm-sub i { font-style: normal; }
.site-footer .wordmark .wm-sub { color: #9fb4ac; }
@media (max-width: 420px) { .wordmark .wm-sub { font-size: .52rem; margin-top: 5px; } }

/* ===== v10: descender safety + coverage cards ===== */
h1 { line-height: 1.04; padding-bottom: .04em; }
h2 { line-height: 1.08; padding-bottom: .03em; }
.nav a[aria-current="page"] { text-decoration: none; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a { position: relative; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.coverage-write { background: var(--surface); }
.cov-head { display: grid; gap: var(--s2); margin-bottom: var(--s5); }
@media (min-width: 900px) { .cov-head { grid-template-columns: 1fr 1fr; align-items: end; gap: var(--s5); } .cov-head .lede { margin: 0; } }
.cov-grid { display: grid; gap: var(--s3); }
@media (min-width: 900px) { .cov-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s4); align-items: stretch; } }
.cov-card { background: var(--ground); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: var(--s4) var(--s3); display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
@media (min-width: 600px) { .cov-card { padding: var(--s4); } }
.cov-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-raised); }
.cov-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s3); }
.cov-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--gold-soft); color: var(--evergreen); }
.cov-icon svg { width: 30px; height: 30px; }
.cov-tag { font-size: .8rem; font-weight: 700; color: var(--evergreen); background: var(--gold-soft); border-radius: 999px; padding: .35rem .8rem; }
.cov-card h3 { font-size: 1.7rem; letter-spacing: -0.02em; margin-bottom: var(--s2); }
.cov-best { font-size: 1rem; color: var(--ink-soft); margin-bottom: var(--s3); }
.cov-best b { color: var(--ink); }
.cov-card ul { list-style: none; padding: var(--s3) 0 0; margin: auto 0 0; border-top: 1px solid var(--rule); display: grid; gap: .65rem; }
.cov-card li { position: relative; padding-left: 1.7rem; font-size: 1rem; line-height: 1.5; }
.cov-card li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: var(--evergreen) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2 7 10.5l4.5-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.cov-card.is-featured { background: var(--evergreen); border-color: var(--evergreen); color: #fff; box-shadow: var(--shadow-float); }
.cov-card.is-featured .cov-icon { background: rgba(214,162,71,.18); color: var(--gold); }
.cov-card.is-featured .cov-tag { background: var(--gold); color: var(--evergreen-deep); }
.cov-card.is-featured .cov-best { color: #c4d3cd; }
.cov-card.is-featured .cov-best b { color: #fff; }
.cov-card.is-featured ul { border-top-color: rgba(255,255,255,.15); }
.cov-card.is-featured li::before { background-color: var(--gold); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2 7 10.5l4.5-5' fill='none' stroke='%23132822' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.cov-foot { text-align: center; margin: var(--s4) auto 0; color: var(--ink-soft); }
.cov-best { min-height: 3.2em; }
.cov-card ul { margin-top: 0; }
@media (max-width: 899px) { .cov-best { min-height: 0; } }
a, .text-link { text-underline-offset: .3em; }
/* mobile pass fixes */
@media (max-width: 979px) {
  .letter-photo { display: none; }                 /* hero already shows Taj; avoid two portraits in a row */
  .guide-photo { aspect-ratio: 4 / 3; }
  .guide-photo figcaption { font-size: .82rem; left: var(--s2); right: var(--s2); bottom: var(--s2); }
  .guide-photo figcaption b { font-size: .9rem; }
  .guide-photo img { object-position: center 20%; }
}

/* v11 · Pinnacle line + footer hours */
.site-footer .powered { margin-top: var(--s1); color: #c9b27a; font-weight: 600; letter-spacing: .01em; }

/* v12 · mobile tap targets + room for the host badge.
   Netlify's free plan pins a badge (#nl-badge-frame) bottom-right; when it is present the
   action button shortens and sits beside it instead of underneath. */
body:has(#nl-badge-frame) .action-bar { padding-right: 210px; }
body:has(#nl-badge-frame) .action-bar .ab-x { display: none; }
@media (max-width: 979px) {
  .site-footer ul { gap: 0; }
  .site-footer ul a { display: inline-block; padding-block: .65rem; }
  .guide-by .text-link { padding-block: .6rem; }
}
