/* K&K Tax Resolution — brand.css (site build, Stage 6, 2026-11-17)
   Extracted from the approved v6 "Under the Palms" homepage concept. Every page links this
   one file; page-specific rules live in the sectioned blocks at the end, never inline.
   Bump ?v= on brand.css AND app.js in every page whenever either changes.
   Reference: COMPONENTS.md */

:root {
  --sky: #237291;
  --glow: #E9C4A7;
  --sand: #694528;
  --lime: #98D022;
  --teal: #3B8968;
  --ink: #121212;
  --paper: #FAFAF7;
  --forest: #143428;
  --palm-back: #1c5a6f;
  --palm-mid: #143428;
  --palm-front: #0e1c17;

  --display: "League Spartan", "Helvetica Neue", Arial, sans-serif;
  --body: "Atkinson Hyperlegible", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.1875rem;          /* 19px */
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- focus + skip ---------- */
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.hero :focus-visible, .site-foot :focus-visible { outline-color: #fff; }
.site-foot .foot-brand:focus-visible { outline-color: var(--lime); }
html { scroll-padding-top: 96px; }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 6px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 22px;
  border-radius: 999px; text-decoration: none;
  font-family: var(--body); font-weight: 700; font-size: 1.0625rem; line-height: 1.2;
  transition: background-color .2s, transform .2s;
}
.btn-lg { min-height: 58px; padding: 16px 30px; font-size: 1.1875rem; }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: #a9dc3f; }
.btn-forest { background: var(--forest); color: #fff; }
.btn-forest:hover { background: #1d4637; }

/* ---------- phone (tap to call; the primary CTA stays the consultation page) ---------- */
.phone { color: inherit; font-weight: 700; text-decoration: none; white-space: nowrap; }
.phone:hover { text-decoration: underline; }
.phone-head { color: var(--ink); font-size: 1.05rem; }
.phone-line { margin: 14px 0 0; font-size: 1.125rem; }
.phone-foot { color: #fff; font-size: 1.125rem; }

/* ---------- placeholders (facts to come) ---------- */
.ph {
  display: inline-block; border: 2px dashed currentColor; border-radius: 6px;
  padding: 6px 12px; font-size: 1rem; line-height: 1.3;
}
.ph-light { color: var(--ink); }
.ph-dark { color: #d9e6df; }

/* ---------- header: a light bar so the full-colour logo reads ---------- */
.site-head {
  position: sticky; top: 0; z-index: 20;
  background: #fff; color: var(--ink);
  border-bottom: 1px solid #e4e4dc;
}
.head-row { display: flex; align-items: center; gap: 24px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: block; flex: none; }
.brand img { width: 132px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 1.0625rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--teal); }
.nav a[aria-current="page"] { border-bottom-color: var(--teal); font-weight: 700; }
/* the green header button shows on EVERY page at EVERY width (MrPark, 2026-11-19) */
.head-actions { display: flex; align-items: center; gap: 16px; flex: none; }

/* ---------- hero: the sky, the palms, Patricia ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  /* Sky holds full depth (#237291, white text 5.40:1) through the whole text zone, then eases to the sunset glow at the horizon. */
  background: linear-gradient(180deg, var(--sky) 0%, var(--sky) 64%, #4d8fa2 74%, #a7b4ae 84%, var(--glow) 94%, var(--glow) 100%);
  padding-top: 24px;
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 24px;
  align-items: end;
}
.hero-copy { align-self: start; padding-top: 48px; padding-bottom: 40px; max-width: 34rem; }
.hero h1 { font-size: clamp(2.6rem, 5.2vw, 4.25rem); font-weight: 600; }
.lede { font-size: 1.3125rem; line-height: 1.55; margin: 22px 0 32px; max-width: 30rem; }

.scene { position: relative; margin: 0; aspect-ratio: 600 / 700; }
.palms { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.palms-front { z-index: 2; pointer-events: none; }
.t-back { fill: var(--palm-back); }
.t-mid { fill: var(--palm-mid); }
.t-front { fill: var(--palm-front); }
.rings { fill: none; stroke: rgba(255, 255, 255, .09); stroke-width: 1.2; stroke-linecap: round; }

.portrait {
  position: absolute; z-index: 1; left: 50%; top: 47.15%;
  width: 46.7%; max-width: 296px;
  transform: translate(-50%, -50%);
  border-radius: 50%; border: 8px solid var(--lime);
  box-shadow: 0 0 0 5px rgba(152, 208, 34, .28), 0 0 46px 10px rgba(152, 208, 34, .35);
  background: var(--paper);
}
.portrait img { width: 100%; max-width: 280px; border-radius: 50%; }
/* company seal: the K&K logo in the lime ring, where a portrait used to sit (client asked for company, not one person) */
.portrait-seal { aspect-ratio: 1; display: grid; place-items: center; }
.portrait-seal img { width: 80%; border-radius: 0; }

.scene figcaption {
  position: absolute; z-index: 3; left: 50%; top: 71.5%; transform: translateX(-50%);
  background: var(--paper); color: var(--ink); border-radius: 12px;
  padding: 10px 18px; text-align: center; white-space: nowrap; line-height: 1.3;
}
.scene figcaption strong { display: block; font-family: var(--display); font-weight: 600; font-size: 1.25rem; }
.scene figcaption span { font-size: 1rem; }

.dune { position: absolute; z-index: 3; left: 0; bottom: -1px; width: 100%; height: 70px; fill: var(--paper); }

/* the slow sway: crowns rock a few degrees around the top of the trunk, out of phase */
.sway { transform-box: view-box; transform-origin: 0 0; animation: sway 11s ease-in-out infinite alternate; }
.s1 { animation-duration: 13s; animation-delay: -4s; }
.s2 { animation-duration: 12s; animation-delay: -9s; }
.s3 { animation-duration: 10s; animation-delay: -2s; }
.s4 { animation-duration: 14s; animation-delay: -7s; }
.s5 { animation-duration: 11.5s; animation-delay: -5s; }
.s6 { animation-duration: 16s; animation-delay: -3s; }
.s7 { animation-duration: 15s; animation-delay: -10s; }
@keyframes sway { from { transform: rotate(-1.8deg); } to { transform: rotate(2.2deg); } }
.paused .sway { animation-play-state: paused; }

/* ---------- shared section rhythm (quiet, consistent) ---------- */
.familiar, .options, .who, .faq { padding: 84px 0; }
section h2 { font-size: clamp(2.1rem, 3.6vw, 3rem); }
.intro { font-size: 1.25rem; margin-top: 16px; color: #2c2c2a; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 64px; align-items: start; }
.split-head .btn { margin-top: 28px; }

/* ---------- trust strip ---------- */
.trust { background: var(--paper); padding: 6px 0 4px; }
.trust-list {
  list-style: none; margin: 0; padding: 18px 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 0;
  border-top: 1px solid #dcdcd4; border-bottom: 1px solid #dcdcd4;
}
.trust-list li { padding: 0 26px; font-size: 1.0625rem; line-height: 1.4; }
.trust-list li + li { border-left: 2px solid var(--lime); }
.trust-list strong { font-family: var(--display); font-weight: 600; font-size: 1.25rem; }
.trust-list span { color: #3d3d3a; }

/* ---------- sound familiar ---------- */
.worries { list-style: none; margin: 0; padding: 0; }
.worries li {
  position: relative; padding: 16px 0 16px 34px; font-size: 1.25rem; line-height: 1.45;
  border-bottom: 1px solid #e2e2da;
}
.worries li:first-child { border-top: 1px solid #e2e2da; }
.worries li::before {
  content: ""; position: absolute; left: 4px; top: 27px; width: 12px; height: 12px;
  border-radius: 50%; border: 3px solid var(--sand);
}

/* ---------- options: a soft sunset tint ---------- */
.options { background: #f6ece2; }
.option-list { margin: 0; display: grid; gap: 0; }
.option-list > div { padding: 20px 0; border-bottom: 1px solid #e3d3c3; }
.option-list > div:first-child { padding-top: 0; }
.option-list > div:last-child { border-bottom: 0; }
.option-list dt { font-family: var(--display); font-weight: 600; font-size: 1.5rem; line-height: 1.2; margin-bottom: 4px; }
.option-list dd { margin: 0; font-size: 1.1875rem; }

/* ---------- who we help ---------- */
.who h2 { margin-bottom: 36px; }
.who-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; }
.who-list > div { border-top: 4px solid var(--teal); padding-top: 20px; }
.who-list h3 { font-size: 1.5rem; margin-bottom: 10px; }

/* ---------- three steps along one line ---------- */
.steps { padding: 84px 0; background: #fff; border-top: 1px solid #e4e4dc; border-bottom: 1px solid #e4e4dc; }
.steps h2 { margin-bottom: 40px; }
.step-line { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; position: relative; }
.step-line::before {
  content: ""; position: absolute; left: 32px; right: calc((100% - 80px) / 3 - 32px); top: 31px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--teal) 0 10px, transparent 10px 18px);
}
.step-line li { position: relative; }
.num {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: var(--paper); border: 4px solid var(--lime);
  font-family: var(--display); font-weight: 600; font-size: 1.75rem; color: var(--ink);
  position: relative; margin-bottom: 18px; padding-top: 4px;
}
.step-line h3 { font-size: 1.5rem; margin-bottom: 8px; }
/* ---------- meet Patricia ---------- */

/* ---------- FAQ ---------- */
.faq { background: #fff; border-top: 1px solid #e4e4dc; }
.faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); gap: 64px; align-items: start; }
.faq-list { border-top: 1px solid #dcdcd4; }
.faq details { border-bottom: 1px solid #dcdcd4; }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 20px 48px 20px 0; font-family: var(--display); font-weight: 600; font-size: 1.375rem; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -9px;
  border-right: 3px solid var(--teal); border-bottom: 3px solid var(--teal); transform: rotate(45deg);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:hover { color: #1f5f3f; }
.faq details p { padding: 0 0 22px; max-width: 40rem; }

/* ---------- reviews placeholder ---------- */
.reviews { padding: 72px 0; border-top: 1px solid #e4e4dc; }
.reviews h2 { margin-bottom: 24px; }
.ph-block { display: block; padding: 40px 24px; text-align: center; font-size: 1.125rem; color: #3d3d3a; }

/* ---------- Keller & Koczara ---------- */
.sister { padding: 0 0 72px; }
.sister-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 32px; padding-top: 32px;
  background: linear-gradient(#dcdcd4, #dcdcd4) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat; }
.sister h2 { font-size: 1.5rem; }
.sister p { color: #2c2c2a; }
.sister a { color: #1f5f3f; font-weight: 700; text-underline-offset: 3px; }

/* ---------- closing band in palm shade ---------- */
.closing { position: relative; overflow: hidden; background: linear-gradient(180deg, #efd2ba, var(--glow)); padding: 96px 0 100px; text-align: center; }
.shade { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--sand); opacity: .16; }
.closing-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.closing h2 { font-size: clamp(2.3rem, 4.4vw, 3.5rem); }
.closing p:not(.ph) { font-size: 1.3125rem; margin-bottom: 8px; }

/* ---------- footer ---------- */
.site-foot { background: var(--forest); color: #fff; padding: 56px 0 32px; }
.foot-grid { display: grid; grid-template-columns: 180px minmax(0, .9fr) minmax(0, 2fr) minmax(0, .7fr); gap: 36px; align-items: start; }
.foot-brand { display: inline-block; justify-self: start; background: var(--paper); border-radius: 14px; padding: 16px 20px; }
.foot-logo { width: 160px; }
.foot-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.foot-domain { color: #fff; }
.foot-contact address { font-style: normal; line-height: 1.45; }
.foot-contact a:not(.phone) { color: #fff; text-underline-offset: 3px; }
/* footer link columns: Services (every services.html anchor) + Site */
.foot-h { font-family: var(--display); font-weight: 600; font-size: 1.25rem; line-height: 1.2; margin: 0 0 10px; color: #fff; }
.foot-links { list-style: none; margin: 0; padding: 0; }
.foot-links li { padding: 3px 0; break-inside: avoid; }
.foot-links a { text-decoration: none; line-height: 1.35; }
.foot-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-svc .foot-links { columns: 2; column-gap: 32px; }
.foot-legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .2); font-size: 1rem; color: #d9e6df; display: grid; gap: 8px; }

/* ---------- header: compact at 1240, two rows below 1100 ---------- */
@media (max-width: 1240px) {
  .head-row { gap: 20px; }
  .nav { gap: 18px; }
  .head-actions { gap: 14px; }
}
@media (max-width: 1100px) {
  html { scroll-padding-top: 140px; }
  .head-row { flex-wrap: wrap; row-gap: 0; padding-bottom: 6px; }
  .head-actions { margin-left: auto; }
  .nav { order: 3; width: 100%; margin-left: 0; flex-wrap: wrap; gap: 0 26px; border-top: 1px solid #ecece4; padding-top: 4px; }
  .nav a { padding: 8px 0; }
}

/* ---------- tablet / mobile ---------- */
@media (max-width: 1100px) {
  .foot-grid { grid-template-columns: 200px minmax(0, 1fr) minmax(0, 1fr); }
  .foot-svc { grid-column: 1 / -1; order: 4; }
  .foot-svc .foot-links { columns: 3; }
}
@media (max-width: 980px) {
  .split, .faq-wrap { grid-template-columns: 1fr; gap: 32px; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { max-width: none; padding-top: 28px; padding-bottom: 8px; }
  .scene { width: 100%; max-width: 520px; margin: 0 auto; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 0; }
  .site-head { position: relative; }
  /* mobile header, kept compact so the focused pages' scheduler still starts near the fold:
     logo with the phone under it on the left, the button beside them, nav as a 3 × 2 grid below */
  .head-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0 12px; padding-top: 10px; padding-bottom: 4px; }
  .brand { grid-column: 1; grid-row: 1; justify-self: start; }
  .brand img { width: 96px; }
  .head-actions { display: contents; }
  .phone-head { grid-column: 1; grid-row: 2; justify-self: start; font-size: 1.0625rem; padding: 6px 0; }
  .head-actions .btn { grid-column: 2; grid-row: 1 / span 2; min-height: 46px; padding: 10px 18px; font-size: 1rem; }
  .nav { grid-column: 1 / -1; grid-row: 3; display: grid; grid-template-columns: repeat(3, max-content); gap: 0 24px; margin-top: 4px; padding-top: 0; }
  .nav a { font-size: 1rem; padding: 9px 0 7px; justify-self: start; }
  .hero { padding-top: 8px;
    background: linear-gradient(180deg, var(--sky) 0%, var(--sky) 50%, #4d8fa2 63%, #a7b4ae 77%, var(--glow) 92%, var(--glow) 100%); }
  .hero h1 { font-size: 2.6rem; }
  .lede { font-size: 1.25rem; margin: 18px 0 26px; }
  .far { display: none; }
  .portrait { width: 60%; }
  .scene { margin-top: 8px; }
  .scene figcaption { top: 72%; padding: 8px 14px; }
  .scene figcaption strong { font-size: 1.125rem; }
  .familiar, .options, .who, .faq, .steps { padding: 56px 0; }
  .reviews { padding: 52px 0; }
  .sister { padding-bottom: 52px; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .foot-svc .foot-links { columns: 2; column-gap: 20px; }
  .foot-svc { order: 0; }
  .trust-list { flex-direction: column; align-items: flex-start; gap: 10px; }
  .trust-list li { padding: 0 0 0 16px; border-left: 3px solid var(--lime); }
  .worries li { font-size: 1.1875rem; }
  .who-list { grid-template-columns: 1fr; gap: 28px; }
  .faq summary { font-size: 1.25rem; }
  .step-line { grid-template-columns: 1fr; gap: 28px; }
  .step-line::before { display: none; }
  .step-line li:not(:last-child)::after { content: ""; position: absolute; left: 31px; top: 64px; bottom: -28px; width: 2px;
    background: repeating-linear-gradient(180deg, var(--teal) 0 10px, transparent 10px 18px); }
  .step-line li { display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; }
  .step-line .num { grid-row: span 2; margin-bottom: 0; }
  .closing { padding: 72px 0 80px; }
}

@media (prefers-reduced-motion: reduce) {
  .sway { animation: none; }
  .btn { transition: none; }
}


/* =====================================================================
   SHARED ADDITIONS (site build)
   ===================================================================== */

/* ---------- text link (secondary action inside a band; never a second button) ---------- */
.text-link { color: #1f5f3f; font-weight: 700; text-underline-offset: 3px; }
.text-link:hover { color: var(--ink); }
.split-head .text-link { display: inline-block; margin-top: 18px; }

/* ---------- inner-page header band: the home sky, much quieter ---------- */
.page-head {
  position: relative; overflow: hidden; color: #fff;
  /* white text sits on full #237291 (5.40:1); the glow only starts below the text zone */
  background: linear-gradient(180deg, var(--sky) 0, var(--sky) calc(100% - 84px), #4d8fa2 calc(100% - 60px), #a7b4ae calc(100% - 38px), var(--glow) 100%);
  padding: 64px 0 104px;
}
.page-head::before, .page-head::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  background: url("assets/palm-crown-sky.svg") no-repeat center / contain;
}
.page-head::before { right: -70px; top: -70px; width: 560px; height: 360px; opacity: .55; transform: rotate(-16deg); }
.page-head::after { right: 330px; top: -120px; width: 330px; height: 212px; opacity: .3; transform: scaleX(-1) rotate(-22deg); }
.page-head-inner { position: relative; z-index: 2; }
.page-head-inner > * { max-width: 44rem; }
.page-head h1 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); }
.page-head .lede { margin: 16px 0 0; max-width: 38rem; }
.page-head .lede a { color: #fff; text-underline-offset: 3px; }
.page-head .dune { height: 44px; }
.page-head--center .page-head-inner { text-align: center; }
.page-head--center .page-head-inner > * { margin-left: auto; margin-right: auto; }
.page-head :focus-visible { outline-color: #fff; }

/* ---------- inner-page CTA band: the home closing band, palms as background images ---------- */
.closing-inner-page::before, .closing-inner-page::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none; opacity: .16;
  background: url("assets/palm-crown-sand.svg") no-repeat center / contain;
}
.closing-inner-page::before { left: -110px; top: -70px; width: 600px; height: 385px; transform: rotate(28deg); }
.closing-inner-page .closing-inner { z-index: 1; }
.closing-inner-page::after { right: -110px; top: -90px; width: 640px; height: 410px; transform: scaleX(-1) rotate(24deg); }

/* ---------- embed slots (AutoDriveCRM form / scheduler) ----------
   The slot is the full content column. The placeholder box is swapped for the embed code
   in one edit between the EMBED:… START / END comments. */
.embed-slot { width: 100%; }
.embed-slot iframe { display: block; width: 100%; border: 0; }
.form-slot { max-width: none; }          /* the full content column: ≥ 656px at tablet and desktop → two-column form */
.sched-slot { max-width: 960px; }         /* capped so session cards don't stretch */
.ph-embed {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 560px; padding: 32px 24px;
  border: 3px dashed #6b6b66; border-radius: 14px; background: #fff;
  color: #3d3d3a; font-size: 1.1875rem; line-height: 1.4;
}
.sched-slot .ph-embed { min-height: 640px; }

/* =====================================================================
   PAGE: index.html — "Your team" strip
   ===================================================================== */
.team-strip { padding: 0 0 84px; }
.team-strip-inner { border-top: 1px solid #e2e2da; padding-top: 56px; }
.team-strip h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); margin-bottom: 32px; }
.team-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.team-row li { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 20px; align-items: center; }
.ring { width: 112px; border-radius: 50%; border: 5px solid var(--lime); background: var(--paper); }
.ring img { width: 100%; border-radius: 50%; }
.team-row h3 { font-size: 1.3125rem; line-height: 1.2; margin-bottom: 4px; }
.team-row p { line-height: 1.45; }
.team-strip .text-link { display: inline-block; margin-top: 30px; }

/* =====================================================================
   PAGE: about.html — meet the team
   ===================================================================== */
.team-page { padding: 72px 0 84px; }
.person { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 64px; align-items: start; padding: 64px 0; border-top: 1px solid #e2e2da; }
.person:first-child { border-top: 0; padding-top: 0; }
.person:last-child { padding-bottom: 0; }
.person-photo {
  width: 100%; max-width: 280px; justify-self: center;
  border-radius: 50%; border: 8px solid var(--lime); background: var(--paper);
  box-shadow: 0 0 0 5px rgba(152, 208, 34, .22);
}
.person-photo img { width: 100%; border-radius: 50%; }
.person-sm .person-photo { max-width: 200px; border-width: 6px; box-shadow: none; }
.person h2 { font-size: clamp(2rem, 3.4vw, 2.75rem); }
.person-sm h2 { font-size: clamp(1.75rem, 2.8vw, 2.25rem); }
.role { margin: 8px 0 20px; font-size: 1.25rem; color: #1f5f3f; font-weight: 700; }
.person-copy p + p { margin-top: 16px; }
.person-copy .big { font-size: 1.3125rem; }
.person-copy ul { margin: 12px 0 0; padding-left: 1.2em; }
.person-copy li + li { margin-top: 4px; }

/* =====================================================================
   PAGE: services.html — how we help
   ===================================================================== */
.svc { padding: 84px 0; }
.svc-ways { background: #f6ece2; }
.svc-list > * { padding: 36px 0; border-bottom: 1px solid #e2e2da; }
.svc-ways .svc-list > * { border-bottom-color: #e3d3c3; }
.svc-list > *:first-child { padding-top: 0; }
.svc-list > *:last-child { border-bottom: 0; padding-bottom: 0; }
.svc-list h3 { font-size: 1.75rem; line-height: 1.2; margin-bottom: 12px; }
.svc-list p + p { margin-top: 14px; }
.svc-list p a { color: #1f5f3f; font-weight: 700; text-underline-offset: 3px; }
/* the "how we can help" paragraph closes every service, set off by a teal rule */
.svc-list .svc-help { padding-left: 20px; border-left: 4px solid var(--teal); }
.svc-list .svc-help a { color: #1f5f3f; }
@media (min-width: 981px) {
  .svc .split-head { position: sticky; top: 112px; }
}

/* =====================================================================
   PAGE: contact.html
   ===================================================================== */
.contact-body { padding: 56px 0 84px; }
.contact-details {
  margin-top: 48px; padding-top: 32px; border-top: 1px solid #e2e2da;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px;
}
.contact-details h2 { font-size: 1.375rem; margin-bottom: 8px; }
.contact-details address { font-style: normal; }
.contact-details p + p { margin-top: 8px; }
.contact-details .ph { margin-top: 4px; }

/* =====================================================================
   PAGES: thank-you.html + schedule.html — the focused template
   One heading, one line, then the scheduler. Nothing else.
   ===================================================================== */
.focus {
  position: relative; overflow: hidden; padding: 40px 0 80px; text-align: center;
  /* heading + line sit on solid sky (white text 5.40:1); the band warms to glow, then paper, behind the card */
  background: linear-gradient(180deg, var(--sky) 0, var(--sky) 230px, #4d8fa2 262px, #a7b4ae 290px, var(--glow) 318px, var(--paper) 420px, var(--paper) 100%);
}
.focus::before, .focus::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  background: url("assets/palm-crown-sky.svg") no-repeat center / contain;
}
.focus::before { left: -90px; top: -80px; width: 480px; height: 308px; opacity: .5; transform: rotate(16deg); }
.focus::after { right: -90px; top: -90px; width: 520px; height: 334px; opacity: .5; transform: scaleX(-1) rotate(14deg); }
.focus .wrap { position: relative; z-index: 1; }
.focus h1 { font-size: clamp(2.2rem, 4vw, 3rem); color: #fff; }
.focus-line { margin: 12px auto 26px; font-size: 1.25rem; line-height: 1.5; max-width: 44rem; color: #fff; }
.focus-line strong { color: #fff; }
.focus :focus-visible { outline-color: #fff; }
/* the scheduler sits in a raised card that overlaps the band */
.focus .sched-slot {
  margin: 0 auto; padding: 0; overflow: hidden; background: #fff; text-align: left;
  border-top: 6px solid var(--lime); border-radius: 18px;
  box-shadow: 0 22px 48px rgba(20, 52, 40, .18), 0 2px 6px rgba(20, 52, 40, .08);
}

/* =====================================================================
   PAGES: privacy.html + terms.html — plain prose
   ===================================================================== */
.prose { max-width: 44rem; padding: 64px 0 84px; }
.prose h2 { font-size: 1.75rem; margin: 40px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p + p { margin-top: 14px; }
.prose ul { margin: 12px 0 0; padding-left: 1.2em; }
.prose ul + p { margin-top: 14px; }
.prose li + li { margin-top: 6px; }
.prose a { color: #1f5f3f; text-underline-offset: 3px; }
.prose .updated { margin-top: 40px; color: #3d3d3a; font-size: 1.0625rem; }

/* =====================================================================
   PAGE: 404.html
   ===================================================================== */
.notfound { padding: 64px 0 96px; }
.notfound p { max-width: 38rem; }
.notfound .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 28px; }

/* ---------- site-build additions: tablet / mobile ---------- */
@media (max-width: 980px) {
  .person { grid-template-columns: 1fr; gap: 28px; }
  .person-photo { justify-self: start; max-width: 240px; }
  .person-sm .person-photo { max-width: 180px; }
  .team-row { grid-template-columns: 1fr; gap: 24px; }
  .contact-details { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .page-head { padding: 40px 0 84px; }
  .page-head h1 { font-size: 2.4rem; }
  .page-head::before { right: -150px; top: -60px; width: 400px; height: 257px; opacity: .4; }
  .page-head::after { display: none; }
  .page-head .dune { height: 32px; }
  .closing-inner-page::before { left: -220px; width: 460px; height: 295px; }
  .closing-inner-page::after { right: -220px; width: 480px; height: 308px; }
  .team-page, .svc { padding: 56px 0; }
  .person { padding: 48px 0; }
  .team-strip { padding-bottom: 56px; }
  .team-strip-inner { padding-top: 44px; }
  .team-row li { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; }
  .ring { width: 96px; }
  .contact-body { padding: 36px 0 56px; }
  .contact-details { grid-template-columns: 1fr; gap: 24px; margin-top: 36px; }
  .ph-embed { min-height: 480px; }
  .sched-slot .ph-embed { min-height: 560px; }
  .focus { padding: 6px 0 56px;
    background: linear-gradient(180deg, var(--sky) 0, var(--sky) 190px, #4d8fa2 214px, var(--glow) 252px, var(--paper) 330px, var(--paper) 100%); }
  .focus::before { left: -170px; top: -70px; width: 330px; height: 212px; opacity: .35; }
  .focus::after { right: -170px; top: -80px; width: 350px; height: 225px; opacity: .35; }
  .focus h1 { font-size: 1.6rem; }
  .focus-line { font-size: 1.0625rem; line-height: 1.4; margin: 4px auto 12px; }
  .focus .sched-slot { border-radius: 14px; }
  .prose { padding: 44px 0 56px; }
  .notfound { padding: 44px 0 64px; }
}


/* =====================================================================
   STAGE 6b ADDITIONS (complete site, 2026-11-19)
   ===================================================================== */

/* ---------- shared helpers ---------- */
.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;
}
.section-link { display: inline-block; margin-top: 32px; }
.faq-head .text-link { display: inline-block; margin-top: 18px; }
.faq details a { color: #1f5f3f; font-weight: 700; text-underline-offset: 3px; }

/* ---------- COMPONENT: services index (services.html "Jump to a service" + home "What we help with")
   A tidy multi-column link list in two groups, never a card grid. ---------- */
.svc-index-jump { padding: 56px 0 0; }
.svc-index-home { padding: 72px 0 84px; background: #fff; border-top: 1px solid #e4e4dc; }
.svc-index h2 { margin-bottom: 28px; }
.svc-index-jump h2 { font-size: clamp(1.75rem, 2.8vw, 2.25rem); margin-bottom: 20px; }
.svc-index-groups { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 48px; }
.svc-index-group h3 { font-size: 1.375rem; padding-bottom: 10px; border-bottom: 3px solid var(--teal); }
.svc-index-list { list-style: none; margin: 0; padding: 0; }
.svc-index-cols { columns: 2; column-gap: 40px; }
.svc-index-list li { break-inside: avoid; border-bottom: 1px solid #e2e2da; }
.svc-index-list a {
  display: block; position: relative; padding: 12px 0 12px 28px;
  color: var(--ink); font-weight: 700; line-height: 1.35; text-decoration: none;
}
.svc-index-list a::before {
  content: ""; position: absolute; left: 2px; top: 50%; width: 12px; height: 12px; margin-top: -7px;
  border-radius: 50%; border: 3px solid var(--sand);
}
.svc-index-list a:hover { color: #1f5f3f; text-decoration: underline; text-underline-offset: 3px; }
.svc-index-note { margin-top: 28px; color: #2c2c2a; }
.svc-index-note .text-link { margin-left: 6px; }

/* =====================================================================
   PAGE: faq.html — grouped questions (reuses the home .faq details)
   ===================================================================== */
.faq-page { padding: 72px 0 84px; border-top: 0; }
.faq-group + .faq-group { margin-top: 56px; padding-top: 56px; border-top: 1px solid #e4e4dc; }
.faq-group h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); }

/* =====================================================================
   PAGE: irs-letters.html — the notice picker (from concept v4, restyled)
   Native radios in a fieldset; CSS :has() shows the chosen notice with JS off,
   app.js adds the aria-live announcement, data-active fallback and ?notice= links.
   ===================================================================== */
.letters { padding: 72px 0 84px; background: #f6ece2; }
.letters-head { max-width: 44rem; margin-bottom: 28px; }
.picker fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.picker legend { padding: 0; margin-bottom: 14px; font-family: var(--display); font-weight: 600; font-size: 1.375rem; }
.codes { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.code { position: relative; display: block; cursor: pointer; }
.code input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.code span {
  display: flex; align-items: center; min-height: 48px; padding: 10px 18px;
  background: #fff; color: var(--ink); border: 2px solid var(--forest); border-radius: 999px;
  font-weight: 700; font-size: 1.0625rem; white-space: nowrap;
  transition: background-color .15s, color .15s;
}
.code-unsure span { border-style: dashed; }
.code:hover span { background: #eef3e6; }
.code input:checked + span { background: var(--forest); color: #fff; }
.code input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; }

.sheet {
  position: relative; max-width: 1040px; padding: clamp(22px, 3.4vw, 44px);
  background: #fff; border-top: 6px solid var(--lime); border-radius: 18px;
  box-shadow: 0 2px 6px rgba(20, 52, 40, .08);
}
.notice { display: none; }
.notice[data-notice="CP14"] { display: block; }
.letters:has(.code input:checked:not([value="CP14"])) .notice[data-notice="CP14"] { display: none; }
.letters:has(input[value="CP501"]:checked) .notice[data-notice="CP501"],
.letters:has(input[value="CP503"]:checked) .notice[data-notice="CP503"],
.letters:has(input[value="CP504"]:checked) .notice[data-notice="CP504"],
.letters:has(input[value="CP2000"]:checked) .notice[data-notice="CP2000"],
.letters:has(input[value="LT11"]:checked) .notice[data-notice="LT11"],
.letters:has(input[value="L3172"]:checked) .notice[data-notice="L3172"],
.letters:has(input[value="UNSURE"]:checked) .notice[data-notice="UNSURE"] { display: block; }
/* JS path (also covers browsers without :has) */
.sheet[data-active] .notice { display: none !important; }
.sheet[data-active="CP14"] .notice[data-notice="CP14"],
.sheet[data-active="CP501"] .notice[data-notice="CP501"],
.sheet[data-active="CP503"] .notice[data-notice="CP503"],
.sheet[data-active="CP504"] .notice[data-notice="CP504"],
.sheet[data-active="CP2000"] .notice[data-notice="CP2000"],
.sheet[data-active="LT11"] .notice[data-notice="LT11"],
.sheet[data-active="L3172"] .notice[data-notice="L3172"],
.sheet[data-active="UNSURE"] .notice[data-notice="UNSURE"] { display: block !important; }

.sheet-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 330px); gap: 24px; align-items: start; }
.sheet-title { font-size: clamp(1.75rem, 3vw, 2.4rem); padding-top: 4px; }
/* the corner box, the way the notice number sits on a real letter */
.corner { margin: 0; border: 2px solid var(--ink); border-radius: 4px; }
.corner > div { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); }
.corner > div + div { border-top: 1px solid var(--ink); }
.corner dt { padding: 8px 10px; border-right: 1px solid var(--ink); font-size: 1rem; line-height: 1.3; color: #3d3d3a; font-weight: 700; }
.corner dd { margin: 0; padding: 8px 12px; font-size: 1.0625rem; line-height: 1.3; font-weight: 700; }
.corner dd.code-text { font-family: var(--display); font-size: 1.375rem; font-weight: 600; letter-spacing: .02em; }

.urgency {
  display: flex; align-items: center; gap: 14px; margin: 26px 0; padding: 12px 0;
  border-top: 1px dashed #6b6b66; border-bottom: 1px dashed #6b6b66;
}
.u-label { color: #3d3d3a; font-weight: 700; }
.urgency strong { font-family: var(--display); font-weight: 600; font-size: 1.3125rem; }
.bars { display: inline-flex; gap: 4px; flex: none; }
.bars i { display: block; width: 26px; height: 12px; border: 2px solid var(--forest); border-radius: 2px; }
.urgency[data-level="1"] .bars i:nth-child(-n+1),
.urgency[data-level="2"] .bars i:nth-child(-n+2),
.urgency[data-level="3"] .bars i { background: var(--forest); }
.urgency[data-level="0"] .bars i { border-style: dashed; }
.urgency[data-level="3"] strong { display: inline-block; padding: 4px 10px 2px; border-radius: 4px; background: var(--forest); color: var(--lime); line-height: 1.2; }

.sheet-body { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3.4vw, 48px); }
.sheet-body h4 { margin: 0 0 6px; font-family: var(--display); font-weight: 600; font-size: 1.25rem; line-height: 1.2; }
.sheet-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 24px;
  margin-top: 30px; padding-top: 20px; border-top: 1px solid #e2e2da;
}
.caveat { font-style: italic; color: #2c2c2a; max-width: 32em; }
.source-note { margin-top: 18px; font-size: 1rem; color: #3d3d3a; }

.any-letter { padding: 84px 0; }
.todo .phone { text-decoration: underline; text-underline-offset: 3px; }

/* =====================================================================
   PAGE: how-it-works.html — five steps down one dashed line
   ===================================================================== */
.process { padding: 84px 0; }
.process-list { list-style: none; margin: 0; padding: 0; }
.process-list > li { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 24px; padding-bottom: 48px; }
.process-list > li:last-child { padding-bottom: 0; }
.process-list > li:not(:last-child)::after {
  content: ""; position: absolute; left: 31px; top: 72px; bottom: 8px; width: 2px;
  background: repeating-linear-gradient(180deg, var(--teal) 0 10px, transparent 10px 18px);
}
.process-list .num { margin-bottom: 0; }
.process-list h3 { font-size: 1.75rem; line-height: 1.2; margin: 16px 0 10px; }
.process-list p + p { margin-top: 12px; }
.process-list p a:not(.phone) { color: #1f5f3f; font-weight: 700; text-underline-offset: 3px; }
.process-list .phone { text-decoration: underline; text-underline-offset: 3px; }
.ready { padding: 84px 0; background: #f6ece2; }
.ready .worries li { border-color: #e3d3c3; }
@media (min-width: 981px) {
  .process .split-head { position: sticky; top: 112px; }
}
/* 981–1100px: the sticky header is two rows (~134px), so stuck headings sit lower */
@media (min-width: 981px) and (max-width: 1100px) {
  .svc .split-head, .process .split-head { top: 152px; }
}

/* =====================================================================
   PAGE: who-we-help.html — four audiences, each with links into services
   ===================================================================== */
.audience { padding: 72px 0; border-top: 1px solid #e2e2da; }
.audience:first-child { border-top: 0; }
.audience:nth-child(even) { background: #fff; }
.audience h2 { font-size: clamp(2rem, 3.4vw, 2.75rem); }
.audience-copy .big { font-size: 1.3125rem; }
.audience-copy p + p { margin-top: 16px; }
.audience-copy .related-label { margin-top: 26px; font-weight: 700; }
.related { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 12px; }
.related a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px;
  border: 2px solid #b9c9bd; border-radius: 999px; background: var(--paper);
  color: #1f5f3f; font-weight: 700; line-height: 1.25; text-decoration: none;
}
.related a:hover { border-color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Stage 6b: tablet / mobile ---------- */
@media (max-width: 980px) {
  .svc-index-groups { grid-template-columns: 1fr; gap: 32px; }
  .sheet-top { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 760px) {
  .svc-index-jump { padding-top: 44px; }
  .svc-index-home { padding: 52px 0 56px; }
  .faq-page { padding: 48px 0 56px; }
  .faq-group + .faq-group { margin-top: 40px; padding-top: 40px; }
  .letters, .any-letter, .process, .ready { padding: 56px 0; }
  .audience { padding: 52px 0; }
  .sheet-body { grid-template-columns: 1fr; gap: 18px; }
  .sheet { border-radius: 14px; }
  .code span { min-height: 46px; padding: 8px 14px; font-size: 1rem; }
  .process-list > li { column-gap: 18px; padding-bottom: 36px; }
  .process-list h3 { font-size: 1.5rem; }
  .svc-list .svc-help { padding-left: 16px; }
}
@media (max-width: 600px) {
  .svc-index-cols { columns: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .code span { transition: none; }
}
