/* Your Physical Therapy Co. Industry site for the Lumen Alto showcase.
   Broad ideas from Improvement Journey (warm white, strong blue actions, large numbered steps
   joined into a path, calm drawings, pale panels), made for a clinic: Manrope headings,
   DM Sans text, a clinic blue for actions, sage and sand panels. Drawings in inc/ read the
   --d-* tokens; icons read currentColor and --hl. Contrast pairs: tools/contrast.py. */

:root {
  color-scheme: light;
  --paper: #fbf9f4; --ink: #10213f; --copy: #46536b; --line: #dfe1e4;
  --accent: #1f4fd1; --accent-hover: #183fa8; --on-accent: #ffffff;
  --link: #1f4fd1; --link-hover: #183fa8;
  --panel: #eaf1fb; --sage: #e8f1ea; --sand: #f3eee3; --card: #ffffff;
  --band: #14306f; --band-copy: #d5def2; --band-line: #6f87bd;
  --field-bg: #ffffff; --field-line: #7c869a; --ph: #5d6880; --focus: #1f4fd1;
  --select: #cddcfb; --ok: #2b7a4b; --closed: #8a6d1f; --care: #fbeee4; --care-line: #b4532a; --care-ink: #8a3a17;
  --hl: #dbe7fb; --num-ring: #1f4fd1;
  --d-sky: #e3edfb; --d-sky2: #f4f8fe; --d-blue: #b9cff5; --d-blue2: #86a8ec; --d-accent: #1f4fd1; --d-navy: #1b2c4f;
  --d-sage: #d6e7da; --d-sage2: #a9cbb3; --d-sage3: #6f9f80; --d-peach: #f8d6c3; --d-peach2: #efae8e; --d-peach3: #d98863;
  --d-sand: #f0e7d6; --d-sand2: #e2d2b4; --d-wood: #c9a57c; --d-white: #ffffff; --d-shadow: rgba(16, 33, 63, .09);
  --display: Manrope, "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --text: "DM Sans", "Segoe UI", system-ui, sans-serif;
  --side: 40px; --radius: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-synthesis: none; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; padding-bottom: 52px; background: var(--paper); color: var(--copy); font: 17px/1.62 var(--text); -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); color: var(--ink); font-weight: 800; line-height: 1.12; letter-spacing: -.025em; text-wrap: balance; }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--link-hover); }
em, i, address { font-style: normal; }
.tel { white-space: nowrap; }
strong, b { font-weight: 700; color: var(--ink); }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { max-width: 100%; }
::selection { background: var(--select); color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -100px; z-index: 60; padding: 12px 18px; border-radius: 10px; background: var(--accent); color: var(--on-accent); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; color: var(--on-accent); }
.wrap { width: min(1200px, calc(100% - 2 * var(--side))); margin: 0 auto; }
.arw { width: 13px; height: 13px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic-inline { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.icon { width: 44px; height: 44px; flex: none; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon .hl { fill: var(--hl); stroke: none; }

/* Drawing fills */
.ill { display: block; width: 100%; height: auto; }
.f-sky { fill: var(--d-sky); } .f-sky2 { fill: var(--d-sky2); } .f-blue { fill: var(--d-blue); } .f-blue2 { fill: var(--d-blue2); }
.f-acc { fill: var(--d-accent); } .f-navy { fill: var(--d-navy); } .f-white { fill: var(--d-white); } .f-shadow { fill: var(--d-shadow); }
.f-sage { fill: var(--d-sage); } .f-sage2 { fill: var(--d-sage2); } .f-sage3 { fill: var(--d-sage3); }
.f-peach { fill: var(--d-peach); } .f-peach2 { fill: var(--d-peach2); } .f-peach3 { fill: var(--d-peach3); }
.f-sand { fill: var(--d-sand); } .f-sand2 { fill: var(--d-sand2); } .f-wood { fill: var(--d-wood); }
.s-acc, .s-navy, .s-white, .s-peach3, .s-sage3 { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.s-acc { stroke: var(--d-accent); } .s-navy { stroke: var(--d-navy); } .s-white { stroke: var(--d-white); }
.s-peach3 { stroke: var(--d-peach3); } .s-sage3 { stroke: var(--d-sage3); }
.s-thin { stroke-width: 3; } .s-band { stroke-width: 7; } .s-hl { stroke-width: 6; opacity: .7; } .s-rail { stroke-width: 4; }
.s-check { stroke-width: 3.5; } .s-handle { stroke-width: 7; } .s-dash { stroke-width: 3; stroke-dasharray: 10 12; opacity: .8; }
.s-trail { stroke-width: 4; stroke-dasharray: 2 12; }

/* Buttons and links */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 26px;
  font: 700 16px/1.2 var(--text); color: var(--on-accent); background: var(--accent); border: 2px solid var(--accent); border-radius: 999px;
  text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
}
.button:hover { color: var(--on-accent); background: var(--accent-hover); border-color: var(--accent-hover); }
.button-alt { color: var(--accent); background: transparent; }
.button-alt:hover { color: var(--accent-hover); background: var(--panel); border-color: var(--accent-hover); }
.button-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.button .ic-inline { width: 19px; height: 19px; }
.text-link {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0;
  font: 700 16px/1.3 var(--text); color: var(--link); background: none; border: 0; cursor: pointer;
  text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px;
}
.text-link:hover { color: var(--link-hover); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.preview-note { margin: 14px 0 0; font-size: 14.5px; line-height: 1.5; }
.form-911 { margin: 16px 0 0; font-weight: 700; color: var(--ink); }
.lost-title { margin: 36px 0 4px; font-size: 20px; letter-spacing: -.01em; }
html:not(.js) .planner fieldset, html:not(.js) .planner-note, html:not(.js) .checklist-actions { display: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.wordmark { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; margin-right: auto; font: 800 19px/1.1 var(--display); letter-spacing: -.02em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.wordmark:hover { color: var(--ink); }
.mark { width: 36px; height: 36px; flex: none; }
.mark-bg { fill: var(--accent); }
.mark-path { fill: none; stroke: #ffffff; stroke-width: 2.6; stroke-linecap: round; }
.mark-dot { fill: #ffffff; }
.nav { display: flex; align-items: center; gap: 26px; font-size: 16px; font-weight: 500; }
.nav a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--link-hover); text-decoration: underline; text-underline-offset: 6px; }
.nav a[aria-current] { color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); }
.nav .nav-phone { font-weight: 700; white-space: nowrap; }
.nav .nav-phone .ic-inline { color: var(--accent); }
.header-book { flex: none; gap: 0; }
.header-book[aria-current] { background: var(--accent-hover); border-color: var(--accent-hover); }
.menu-btn { display: none; }

/* Page structure */
.section { padding: 44px 0; }
.section-tight { padding: 44px 0; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(30px, 1.6rem + 1.4vw, 44px); }
.section-head p { margin: 14px 0 0; font-size: 18px; }
.section-head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; max-width: none; }
.section-head-row > div { max-width: 720px; }
.panel { border-radius: var(--radius); background: var(--panel); padding: clamp(24px, 4vw, 56px); }
.panel-sage { background: var(--sage); }
.panel-sand { background: var(--sand); }
.lede { max-width: 640px; margin: 18px 0 0; font-size: 20px; line-height: 1.55; color: var(--copy); }
.prose { max-width: 720px; }
.prose h2 { margin: 44px 0 12px; font-size: clamp(24px, 1.3rem + .8vw, 30px); }
.prose h2:first-child { margin-top: 0; }
.prose ul { margin: 0 0 16px; }
.prose li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.prose li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* Breadcrumbs */
.crumbs { margin: -8px 0 10px; font-size: 15px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: var(--copy); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--copy); }
.crumbs a:hover { color: var(--link-hover); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* Home hero */
.hero { padding: 64px 0 44px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 1.4rem + 3.6vw, 70px); line-height: 1.04; letter-spacing: -.035em; }
.hero .lede { font-size: clamp(18px, 1rem + .35vw, 21px); }
.hero .actions { margin-top: 30px; }
.hero-art { min-width: 0; }
.status { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 24px 0 0; font-size: 16px; color: var(--ink); }
.status[hidden] { display: none; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 0 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 700; font-size: 14px; }
.status-pill::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--closed); }
.status.is-open .status-pill::before { background: var(--ok); }

/* Fact strip under the hero */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.fact { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-content: start; gap: 4px 16px; padding: 24px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.fact .icon { grid-row: span 2; }
.fact h3 { font-size: 18px; letter-spacing: -.01em; }
.fact p { margin: 0; font-size: 15.5px; line-height: 1.5; }

/* Recovery path: large numbered steps joined by a line */
.path { --n: 4; --gap: 32px; --node: 84px; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: var(--gap); counter-reset: step; }
.path-3 { --n: 3; }
.path > li { position: relative; }
.path > li::after { content: ""; position: absolute; top: calc(var(--node) / 2 - 2px); left: calc(var(--node) + 12px); width: calc(100% + var(--gap) - var(--node) - 24px); height: 4px; border-radius: 2px; background: var(--accent); }
.path > li:last-child::after { display: none; }
.step-num {
  display: grid; place-items: center; width: var(--node); height: var(--node); border-radius: 50%;
  border: 3px solid var(--num-ring); background: var(--node-bg, var(--paper)); color: var(--accent);
  font: 800 30px/1 var(--display); letter-spacing: -.03em; font-variant-numeric: lining-nums tabular-nums;
}
.path > li:last-child .step-num { background: var(--accent); color: var(--on-accent); }
.step-body { margin-top: 22px; }
.step-body .icon { display: none; }
.path h3 { font-size: 22px; letter-spacing: -.015em; }
.path p { margin: 8px 0 0; font-size: 16px; line-height: 1.55; }
.panel .path { --node-bg: var(--panel); }
.panel-sage .path { --node-bg: var(--sage); }
.panel-sand .path { --node-bg: var(--sand); }

/* Condition cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: var(--card); border: 1px solid var(--line); color: var(--copy); text-decoration: none; transition: border-color .15s; }
a.card:hover { color: var(--copy); border-color: var(--accent); }
a.card:hover h3 { color: var(--accent); }
.card-art { aspect-ratio: 32 / 20; overflow: hidden; }
.card-art .ill { height: 100%; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.card h3 { font-size: 22px; letter-spacing: -.015em; }
.card p { margin: 10px 0 0; font-size: 16px; line-height: 1.55; }
.card .more { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 18px; font-weight: 700; color: var(--link); }
.after-cards { margin-top: 28px; }

/* Small items with icons (other conditions, payment, principles) */
.items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px; }
.items-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.item { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 4px 18px; align-content: start; }
.item .icon { grid-row: span 2; width: 52px; height: 52px; padding: 8px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.item h3 { padding-top: 4px; font-size: 19px; letter-spacing: -.01em; }
.item p { margin: 0; font-size: 16px; line-height: 1.55; }

/* Split rows: text beside a drawing */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.split-art { border-radius: var(--radius); overflow: hidden; }
.split h2 { font-size: clamp(30px, 1.6rem + 1.4vw, 44px); }
.split .lede { font-size: 18px; }
.checks { display: grid; gap: 12px; margin: 22px 0 0; }
.checks li { position: relative; padding-left: 36px; color: var(--ink); }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); }
.checks li::after { content: ""; position: absolute; left: 7px; top: 8px; width: 10px; height: 6px; border-left: 2.5px solid #ffffff; border-bottom: 2.5px solid #ffffff; transform: rotate(-45deg); }
.split .actions { margin-top: 28px; }

/* Page hero (interior pages) */
.page-hero { padding: 40px 0 28px; }
.page-hero h1 { font-size: clamp(38px, 1.4rem + 3vw, 62px); line-height: 1.06; letter-spacing: -.033em; }
.page-hero .actions { margin-top: 28px; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.page-hero-art { border-radius: var(--radius); overflow: hidden; }

/* Hours and insurance pair */
.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.pair > .panel { display: flex; flex-direction: column; }
.pair h2 { font-size: clamp(26px, 1.4rem + .9vw, 34px); }
.pair .panel > p { margin-top: 12px; }
.pair .actions { margin-top: auto; padding-top: 22px; }
.hours { display: grid; gap: 0; margin: 18px 0 0; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.hours li:last-child { border-bottom: 0; }
.hours li span:last-child { text-align: right; }

/* Reviews */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.quotes figure { margin: 0; padding: 28px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.quotes blockquote { margin: 0; font: 600 19px/1.45 var(--display); letter-spacing: -.01em; color: var(--ink); }
.quotes figcaption { margin-top: 16px; font-size: 15px; }
.sample-note { font-size: 15px; }

/* Callout: when to get medical care first */
.care { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 0 18px; padding: 28px clamp(22px, 3vw, 36px); border-radius: 20px; background: var(--care); border-left: 5px solid var(--care-line); }
.care .icon { stroke: var(--care-ink); }
.care .icon .hl { fill: #f6d9c6; }
.care h2, .care h3, .cols .care h2 { font-size: 22px; letter-spacing: -.015em; }
.wrap > .care { max-width: 940px; }
.care p, .care ul { margin: 10px 0 0; color: var(--ink); }
.care li { position: relative; padding-left: 20px; margin-top: 6px; }
.care li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--care-ink); }

/* Two-column content blocks on detail pages */
.cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.cols h2 { font-size: clamp(26px, 1.4rem + .9vw, 34px); }
.cols h2 + p { margin-top: 12px; }
.cols .checks { margin-top: 18px; }
.list-plain { margin: 18px 0 0; }
.list-plain li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.list-plain li:first-child { border-top: 1px solid var(--line); }
.list-plain li span { display: block; margin-top: 2px; color: var(--copy); font-size: 16px; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 14px 20px; font: 700 17px/1.35 var(--display); letter-spacing: -.01em; color: var(--ink); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--panel); font: 500 20px/1 var(--text); color: var(--accent); }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 20px 18px; font-size: 16px; }

/* CTA band */
.cta { padding: 44px 0 88px; }
.cta-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 48px; align-items: center; padding: clamp(28px, 4.5vw, 56px); border-radius: 28px; background: var(--band); color: var(--band-copy); --focus: #ffffff; }
.cta h2 { color: #ffffff; font-size: clamp(30px, 1.6rem + 1.4vw, 44px); }
.cta-text p { margin: 12px 0 0; font-size: 18px; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.button-light { color: var(--band); background: #ffffff; border-color: #ffffff; }
.button-light:hover { color: var(--band); background: var(--panel); border-color: var(--panel); }
.cta-phone { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; font: 800 22px/1 var(--display); letter-spacing: -.01em; color: #ffffff; text-decoration: none; white-space: nowrap; }
.cta-phone:hover { color: #ffffff; text-decoration: underline; text-underline-offset: 5px; }
.cta-phone .ic-inline { width: 22px; height: 22px; }
.cta .preview-note { grid-column: 1 / -1; margin: 0; padding-top: 18px; border-top: 1px solid var(--band-line); color: var(--band-copy); }

/* Footer */
.site-footer { padding: 64px 0 28px; background: var(--sand); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 36px 40px; }
.footer-brand p { margin: 16px 0 0; max-width: 360px; font-size: 15.5px; line-height: 1.55; }
.footer-brand .footer-911 { font-weight: 700; color: var(--ink); }
.site-footer .wordmark { white-space: normal; }
.footer-col h2 { margin-bottom: 10px; font-size: 16px; letter-spacing: 0; }
.footer-col li { font-size: 15.5px; line-height: 1.45; padding: 0; color: var(--copy); }
.footer-col li:not(:has(a)) { padding: 4px 0; }
.footer-col a { display: inline-flex; align-items: center; min-height: 44px; color: var(--copy); text-decoration: none; }
.footer-col a:hover { color: var(--link-hover); text-decoration: underline; }
.footer-hours { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--d-sand2); }
.footer-hours li { padding: 2px 0; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--d-sand2); font-size: 14px; }
.footer-base p { margin: 0; }

/* First visit planner */
.planner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.planner-head { position: sticky; top: 100px; }
.planner-head h2 { font-size: clamp(30px, 1.6rem + 1.4vw, 44px); }
.planner-head p { margin: 12px 0 0; font-size: 18px; }
.planner fieldset { margin: 26px 0 0; padding: 0; border: 0; min-width: 0; }
.planner legend { margin-bottom: 12px; padding: 0; font: 700 17px/1.3 var(--display); color: var(--ink); }
.choices { display: grid; gap: 10px; }
.choice { position: relative; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; align-items: center; min-height: 60px; padding: 14px 18px; border-radius: 14px; background: var(--card); border: 1.5px solid var(--field-line); color: var(--ink); font-weight: 500; cursor: pointer; transition: border-color .15s, background-color .15s; }
.choice:hover { border-color: var(--accent); }
.choice input { position: absolute; z-index: 1; opacity: 0; width: 26px; height: 26px; margin: 0; left: 18px; cursor: pointer; }
.choice .box { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; border: 2px solid var(--field-line); background: var(--field-bg); }
.choice .box::after { content: ""; width: 11px; height: 6px; margin-top: -3px; border-left: 2.5px solid #ffffff; border-bottom: 2.5px solid #ffffff; transform: rotate(-45deg); opacity: 0; }
.choice input:checked + .box { background: var(--accent); border-color: var(--accent); }
.choice input:checked + .box::after { opacity: 1; }
.choice:has(input:checked) { border-color: var(--accent); background: #f5f8ff; }
.choice input:focus-visible + .box { outline: 3px solid var(--focus); outline-offset: 3px; }
.planner-note { margin: 16px 0 0; font-size: 15px; }
.planner-jump { display: none; margin: 8px 0 0; }
.checklist { padding: clamp(22px, 3vw, 32px); border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.checklist-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.checklist h3 { font-size: 24px; letter-spacing: -.02em; }
.checklist-count { font-size: 15px; }
.checklist h4 { margin: 24px 0 10px; font-size: 17px; letter-spacing: -.01em; }
.checklist ul { display: grid; gap: 8px; }
.checklist li { position: relative; padding-left: 30px; color: var(--ink); line-height: 1.5; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 5px; border: 2px solid var(--field-line); }
.checklist li.added { animation: added .5s ease-out; }
@keyframes added { from { background: var(--select); } to { background: transparent; } }
.checklist-actions { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.checklist-status { min-height: 1.5em; margin: 10px 0 0; font-size: 15px; }

/* Booking page */
.book-options { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.book-option { display: flex; flex-direction: column; padding: clamp(24px, 3.5vw, 40px); border-radius: var(--radius); background: var(--panel); }
.book-option.panel-sage { background: var(--sage); }
.book-option .icon { width: 52px; height: 52px; margin-bottom: 18px; }
.book-option h2 { font-size: clamp(26px, 1.4rem + .9vw, 34px); }
.book-option > p { margin-top: 10px; }
.book-option .actions { margin-top: 22px; }
.book-option .checks { margin-top: 18px; }
.book-phone { display: inline-flex; align-items: center; min-height: 48px; margin-top: 16px; font: 800 clamp(26px, 1.2rem + 1.2vw, 34px)/1.1 var(--display); letter-spacing: -.02em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.book-phone:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 6px; }
.book-option .status { margin-top: 12px; }

/* Message form (local draft) */
.form-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.form-side h2 { font-size: clamp(28px, 1.5rem + 1.1vw, 38px); }
.form-side p { margin-top: 12px; }
.no-health { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; margin-top: 22px; padding: 18px 20px; border-radius: 14px; background: var(--care); color: var(--ink); font-weight: 500; }
.no-health .icon { width: 28px; height: 28px; stroke: var(--care-ink); }
.no-health .icon .hl { fill: #f6d9c6; }
.form-card { padding: clamp(22px, 3vw, 34px); border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field { margin-bottom: 18px; }
.field label, .result label { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 7px; font-size: 15px; font-weight: 700; color: var(--ink); }
.field .opt { font-size: 14px; font-weight: 400; color: var(--copy); }
.field .hint { margin: -2px 0 8px; font-size: 14.5px; line-height: 1.5; }
.field .hint strong { color: var(--care-ink); }
.field input, .field select, .field textarea {
  display: block; width: 100%; min-height: 50px; padding: 12px 14px;
  font: 16px/1.5 var(--text); color: var(--ink); background: var(--field-bg);
  border: 1.5px solid var(--field-line); border-radius: 12px;
}
.field select { appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
.field textarea { min-height: 110px; resize: vertical; }
.field ::placeholder { color: var(--ph); opacity: 1; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: var(--care-line); box-shadow: inset 0 0 0 1px var(--care-line); }
.error { display: block; margin-top: 6px; font-size: 14.5px; font-weight: 600; color: var(--care-ink); }
.error:empty { display: none; }
.counter { margin-top: 6px; font-size: 14px; text-align: right; }
.form-note { margin: 14px 0 0; font-size: 14.5px; line-height: 1.5; }
.form-card .button-full { width: 100%; }
.result { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.result[hidden] { display: none; }
.result h3 { font-size: 24px; letter-spacing: -.02em; }
.result h3:focus { outline: none; }
.result > p { margin: 6px 0 16px; }
.result textarea { display: block; width: 100%; min-height: 300px; padding: 14px; resize: vertical; font: 15px/1.65 var(--text); color: var(--ink); background: var(--field-bg); border: 1.5px solid var(--field-line); border-radius: 12px; }
.result-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 16px; }
.result-status { min-height: 1.5em; margin: 10px 0 0; font-size: 15px; }

/* Team */
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.member { padding: 24px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.avatar { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--panel); color: var(--accent); font: 800 21px/1 var(--display); letter-spacing: -.02em; }
.member:nth-child(2) .avatar { background: var(--sage); color: #2b6143; }
.member:nth-child(3) .avatar { background: var(--sand); color: #7a4a1c; }
.member:nth-child(4) .avatar { background: #f6e7f0; color: #7a2f5c; }
.member h3 { margin-top: 18px; font-size: 19px; letter-spacing: -.01em; }
.member .role { margin: 4px 0 0; font-size: 15px; }
.member p { margin: 12px 0 0; font-size: 15.5px; line-height: 1.5; }
.tag { display: inline-flex; align-items: center; min-height: 26px; margin-top: 14px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--field-line); font-size: 13px; font-weight: 700; color: var(--ink); }

/* 404 */
.lost { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 56px; align-items: center; padding: 56px 0 88px; }
.lost h1 { font-size: clamp(38px, 1.4rem + 3vw, 62px); }
.lost .actions { margin-top: 26px; }
.lost-links { margin-top: 26px; }
.lost-links li { padding: 4px 0; }
.lost-art { border-radius: var(--radius); overflow: hidden; }

/* Breakpoints */
@media (max-width: 1260px) {
  .nav { gap: 22px; }
  .header-row { gap: 22px; }
}
@media (max-width: 1180px) {
  :root { --side: 32px; }
  .menu-btn {
    display: inline-grid; place-items: center; width: 46px; height: 46px; flex: none; padding: 0;
    color: var(--ink); background: var(--card); border: 1.5px solid var(--field-line); border-radius: 12px; cursor: pointer;
  }
  .menu-lines { position: relative; width: 18px; height: 12px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
  .menu-lines::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid currentColor; }
  .site-header.open .menu-lines { height: 0; border: 0; }
  .site-header.open .menu-lines::before, .site-header.open .menu-lines::after { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; border-top: 2px solid currentColor; transform: rotate(45deg); }
  .site-header.open .menu-lines::after { transform: rotate(-45deg); }
  .header-row { position: relative; gap: 12px; min-height: 70px; }
  .nav {
    display: none; position: absolute; left: calc(var(--side) * -1); right: calc(var(--side) * -1); top: 100%;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--side) 20px;
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 18px 28px rgba(16, 33, 63, .08);
    max-height: calc(100vh - 70px - 52px); overflow-y: auto;
  }
  .site-header.open .nav { display: flex; }
  .nav a { min-height: 54px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav a[aria-current] { box-shadow: inset 4px 0 0 var(--accent); padding-left: 14px; }
  .nav .nav-phone { border-bottom: 0; margin-top: 4px; }
  .hero-grid, .page-hero-grid { gap: 40px; }
}
@media (max-width: 1100px) {
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .section, .section-tight { padding: 36px 0; }
  .cta { padding: 36px 0 72px; }
  .hero { padding: 40px 0 36px; }
  .hero-grid, .page-hero-grid, .split, .cols, .pair, .planner, .form-grid, .book-options, .lost { grid-template-columns: minmax(0, 1fr); }
  .hero-art, .page-hero-art { max-width: 620px; }
  .planner-head { position: static; }
  html.js .planner-jump { display: block; }
  .split-art { max-width: 620px; }
  .split-art-first .split-art { order: 0; }
  .facts { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quotes { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .cta-panel { grid-template-columns: minmax(0, 1fr); }
  .lost { padding-top: 32px; }
  .lost-art { max-width: 520px; }
  /* Path turns vertical: nodes on the left, the line runs down between them. */
  .path { --node: 64px; --gap: 28px; grid-template-columns: minmax(0, 1fr); }
  .path > li { display: grid; grid-template-columns: var(--node) minmax(0, 1fr); column-gap: 20px; align-items: start; }
  .path > li::after { top: calc(var(--node) + 8px); left: calc(var(--node) / 2 - 2px); width: 4px; height: auto; bottom: calc(var(--gap) * -1 + 8px); }
  .step-num { font-size: 23px; }
  .step-body { margin-top: 0; padding-top: 8px; }
}
@media (max-width: 640px) {
  :root { --side: 20px; --radius: 20px; }
  body { font-size: 16.5px; }
  .section, .section-tight { padding: 28px 0; }
  .cta { padding: 28px 0 56px; }
  .hero { padding: 28px 0 28px; }
  .page-hero { padding: 24px 0 16px; }
  .section-head { margin-bottom: 28px; }
  .lede, .section-head p, .planner-head p, .split .lede { font-size: 17.5px; }
  .cards, .items, .items-2, .team { grid-template-columns: minmax(0, 1fr); }
  .actions .button { flex: 1 1 auto; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 24px; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .cta-phone { font-size: 21px; }
  .care { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .faq summary { padding: 14px 16px; font-size: 16.5px; }
  .faq .answer { padding: 0 16px 16px; }
  .hide-s { display: none; }
}
@media (max-width: 400px) {
  :root { --side: 16px; }
  .wordmark { gap: 8px; font-size: 15px; white-space: normal; }
  .site-header .wordmark span { max-width: 8.4em; }
  .mark { width: 30px; height: 30px; }
  .header-row { gap: 8px; }
  .header-book { padding: 0 14px; }
  .menu-btn { width: 44px; height: 44px; }
  .path { --node: 56px; }
  .step-num { font-size: 20px; }
  .path > li { column-gap: 16px; }
  .book-phone { font-size: 25px; }
}
@media (max-width: 340px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-col:last-child { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .site-header, .skip, .sc-bar, .cta, .site-footer, .menu-btn { display: none !important; }
  body { padding-bottom: 0; background: #ffffff; }
  body.print-checklist main > *:not(.planner-section) { display: none !important; }
  body.print-checklist .planner-section .planner > :not(.checklist-wrap), body.print-checklist .checklist-actions, body.print-checklist .checklist-status { display: none !important; }
  body.print-checklist .planner { display: block; }
  .checklist { border: 0; padding: 0; }
}

/* Showcase bar. Showcase chrome, not part of any template: Lumen Alto's night colors
   in every template and style, removed when a template becomes a client site.
   build.py appends this to base.css (Standard) and inlines it in single-page templates. */
.sc-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; align-items: center; gap: 16px; height: 52px; padding: 0 clamp(16px, 3vw, 40px);
  background: #000000; color: #f2f0eb; border-top: 1px solid rgba(242, 240, 235, .16);
  font: 500 .9rem/1 system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: 0; text-transform: none;
  overflow-x: auto; white-space: nowrap;
}
.sc-bar a { color: #f2f0eb; text-decoration: none; }
.sc-bar a:hover { text-decoration: underline; }
.sc-bar :focus-visible { outline: 2px solid #f2f0eb; outline-offset: 2px; }
.sc-home { font-weight: 700; padding-right: 16px; border-right: 1px solid rgba(242, 240, 235, .24); }
.sc-label { color: rgba(242, 240, 235, .62); }
.sc-styles { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.sc-styles li { flex-shrink: 0; text-wrap: nowrap; }
.sc-styles a { display: inline-block; padding: 7px 12px; border: 1px solid transparent; border-radius: 2px; }
.sc-styles a[aria-current] { border-color: rgba(242, 240, 235, .5); }
@media print { .sc-bar { display: none; } }

/* Template look switcher (2026-11-02): a bar at the top of every template page, above the site's
   header, and a corner "Next look" button once the bar scrolls away. Industry sites keep .sc-bar. */
.sc-looks {
  position: relative; z-index: 60;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  padding: 12px clamp(16px, 3vw, 40px);
  background: #000000; color: #f2f0eb; border-bottom: 1px solid rgba(242, 240, 235, .16);
  font: 500 15px/1.3 system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: 0; text-transform: none; text-align: left;
}
.sc-looks a { color: #f2f0eb; text-decoration: none; }
.sc-looks :focus-visible, .sc-pill:focus-visible { outline: 2px solid #f2f0eb; outline-offset: 3px; }
.sc-looks p { margin: 0; }
.sc-looks-home { font-weight: 700; padding-right: 14px; border-right: 1px solid rgba(242, 240, 235, .24); }
.sc-looks-home:hover { text-decoration: underline; }
.sc-looks-prompt { font-weight: 700; }
.sc-looks-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.sc-looks-list a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 13px 0 7px;
  border: 1px solid rgba(242, 240, 235, .38); border-radius: 999px; white-space: nowrap; font-size: 14px;
}
.sc-looks-list a:hover { border-color: #f2f0eb; background: rgba(242, 240, 235, .1); }
.sc-looks-list a[aria-current] { border: 2px solid #f2f0eb; padding: 0 12px 0 6px; background: rgba(242, 240, 235, .14); font-weight: 700; }
.sc-sw {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(135deg, var(--a) 0 50%, var(--b) 50% 100%);
  box-shadow: 0 0 0 1px rgba(242, 240, 235, .55);
}
.sc-looks-count { margin-left: auto !important; color: rgba(242, 240, 235, .78); white-space: nowrap; }
.sc-looks-cur { display: none; }
.sc-looks-next, .sc-pill {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 18px; border-radius: 999px;
  background: #f2f0eb; color: #000000 !important; font-weight: 700; white-space: nowrap;
}
.sc-looks-next:hover, .sc-pill:hover { background: #ffffff; }
.sc-vh { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sc-pill {
  position: fixed; right: 16px; bottom: 16px; z-index: 60; gap: 10px; min-height: 46px;
  font: 700 15px/1 system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: 0; text-transform: none; text-decoration: none;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .7), 0 8px 24px rgba(0, 0, 0, .35);
}
.sc-pill[hidden] { display: none; }
.sc-pill-count { font-weight: 500; color: #3a3a3a; }
/* The prompt needs the most room, then the names. Below 1440px the prompt goes; below 1200px the
   names give way to swatches (names stay as tooltips) and the count names the current look. */
@media (max-width: 1439px) { .sc-looks-prompt { display: none; } }
@media (max-width: 1199px) {
  .sc-looks-name { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .sc-looks-list a, .sc-looks-list a[aria-current] { width: 40px; padding: 0; justify-content: center; }
  .sc-looks-list a[aria-current] .sc-sw { box-shadow: 0 0 0 2px #000000, 0 0 0 4px #f2f0eb; }
  .sc-looks-list a { border-color: transparent; }
  .sc-looks-list a[aria-current] { border-color: transparent; background: none; }
  .sc-looks-cur { display: inline; color: #f2f0eb; font-weight: 700; }
}
@media (max-width: 760px) {
  .sc-looks { padding-block: 10px; }
  .sc-looks-home { order: 1; }
  .sc-looks-next { order: 2; margin-left: auto; }
  .sc-looks-count { order: 3; flex-basis: 100%; margin-left: 0 !important; }
  .sc-looks-list { order: 4; }
  .sc-pill-count { display: none; }
}
@media print { .sc-looks, .sc-pill { display: none !important; } }
