/* Smith Orthotics — Island Workshop.
   Warm charcoal #4A3B32 for headings and links. Body ink #3F342C.
   Oxblood #8D3A3F is the main button only (hover #6D2E33).
   Cork #C49A6C is for rules and non-text accents. It is about 2.4:1 on paper,
   under WCAG AA for text, so any cork-coloured words use --cork-ink (#6E4B2A, ~7.3:1 on paper).
   Sea glass #8FAFA6 is a calm secondary fill (not for text on paper).
   Shell #F3ECE2 section fields. Paper #FBF8F3 page.
   Announcement bar, CTA bands and the footer are light warm fields, not navy slabs.
   --navy is the historical token name; it is warm charcoal, and it is not used as a fill. */
:root {
  --navy: #4a3b32;
  --navy-2: #3f332b;
  --ink: #3f342c;
  --ink-soft: #5c4e44;
  --paper: #fbf8f3;
  --shell: #f3ece2;
  --bg: var(--paper);
  --bg-soft: var(--shell);
  --cork: #c49a6c;
  --cork-ink: #6e4b2a;
  --sea: #8fafa6;
  --sea-soft: #e7efec;
  --rule: #c49a6c;
  --line: #e4d5c3;
  --ui-line: #6f5e4e;
  --accent: var(--cork-ink);
  --accent-dark: #5a3c22;
  --accent-light: var(--cork);
  --accent-soft: var(--shell);
  --oxblood: #8d3a3f;
  --btn-bg: #8d3a3f;
  --btn-bg-hover: #6d2e33;
  --btn-bg-disabled: #6a3a3e;
  --btn-text: #ffffff;
  --btn-focus: #4a3b32;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 1160px;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(63,52,44,.05), 0 10px 28px rgba(63,52,44,.06);
  --promo: #f6ebe3;
  --band: #f6efe6;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 132px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans); /* 17px on the smallest phones */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
@media (min-width: 380px) {
  body { font-size: 1.125rem; line-height: 1.7; } /* 18px */
}
img, svg { display: block; max-width: 100%; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--cork-ink); }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-optical-sizing: auto;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.45em;
  color: var(--navy);
  text-wrap: balance;
}
h1 { font-size: clamp(2.15rem, 6.2vw, 4.35rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.2rem; font-family: var(--sans); font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--ink); max-width: 36em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
@media (min-width: 760px) { .wrap { padding: 0 36px; } }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--navy); color: #fff; padding: 10px 14px; z-index: 50; border-radius: 6px; }

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font: 500 0.72rem/1.4 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 1.1em;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--cork); flex: none; }

/* Placeholders: obvious on purpose, search the code for "[" to find them */
.ph-text {
  background: #fff3c4; color: #5a4600;
  border: 1px dashed #b89b2c; border-radius: 4px;
  padding: 0 .35em;
  font: 500 0.88em/1.5 ui-monospace, "SFMono-Regular", Menlo, monospace;
}
.on-dark .ph-text { background: #fff3c4; color: #5a4600; border-color: #b89b2c; }

.photo {
  position: relative;
  background:
    repeating-linear-gradient(135deg, rgba(19,35,58,.035) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, #e9edf3, #dde3eb);
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  display: grid; place-items: center;
  text-align: center;
  color: var(--ink-soft);
  font: 500 0.78rem/1.5 var(--sans);
  letter-spacing: .12em; text-transform: uppercase;
  padding: 24px;
  overflow: hidden;
}
.photo strong { display: block; margin-top: 6px; font-size: 0.95rem; letter-spacing: 0; text-transform: none; color: var(--navy); font-weight: 600; }
.photo.tall { aspect-ratio: 4 / 5; }
.photo.wide { aspect-ratio: 16 / 9; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Buttons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 500 1rem/1.2 var(--sans);
  padding: 16px 24px;
  border-radius: 999px;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
  cursor: pointer;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--btn-bg); color: var(--btn-text); }
.btn-primary:hover { background: var(--btn-bg-hover); color: var(--btn-text); }
.btn-primary:active { background: var(--btn-bg-hover); color: var(--btn-text); }
.btn:focus-visible { outline: 3px solid var(--btn-focus); outline-offset: 3px; }
.on-dark .btn:focus-visible, .site-footer .btn:focus-visible, .promo-bar:focus-visible { outline-color: var(--navy); }
.btn-primary:disabled, .btn-primary[disabled] {
  background: var(--btn-bg-disabled); color: var(--btn-text);
  cursor: not-allowed; transform: none; opacity: 1;
}
.btn-outline { border-color: var(--ui-line); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-text); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--accent-soft); color: var(--navy); }
.btn-ghost-light { border-color: var(--ui-line); color: var(--navy); background: transparent; }
.btn-ghost-light:hover { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-sm { padding: 11px 18px; font-size: .92rem; }
@media (max-width: 480px) { .btns .btn { flex: 1 1 100%; } }

.text-link { font-weight: 500; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; color: var(--navy); }
.text-link::after { content: "→"; transition: transform .2s; }
.text-link:hover::after { transform: translateX(3px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251,248,243,.92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--cork);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand-logo { height: 52px; width: auto; flex: none; }
.brand-place { display: block; font: 500 .66rem/1.45 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); padding-left: 12px; border-left: 1px solid var(--line); }
@media (max-width: 480px) { .site-header .brand-place { display: none; } .site-header .brand-logo { height: 48px; } }
@media (min-width: 1200px) and (max-width: 1299px) { .site-header .brand-place { display: none; } }
.brand-place { white-space: nowrap; }

.menu-btn {
  display: none;
  font: 500 .95rem/1 var(--sans); color: var(--navy);
  background: none; border: 1.5px solid var(--ui-line); border-radius: 999px;
  padding: 10px 16px; cursor: pointer; align-items: center; gap: 8px;
}
.menu-btn .bars { width: 16px; height: 10px; position: relative; }
.menu-btn .bars::before, .menu-btn .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, top .2s; }
.menu-btn .bars::before { top: 0; } .menu-btn .bars::after { top: 8px; }
.menu-btn[aria-expanded="true"] .bars::before { top: 4px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars::after { top: 4px; transform: rotate(-45deg); }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a:not(.btn) { white-space: nowrap;
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .92rem;
  padding: 10px 10px; border-radius: 8px;
}
.site-nav a:not(.btn):hover { background: var(--shell); color: var(--navy); }
.site-nav a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -2px 0 var(--cork); border-radius: 0; }
.site-nav .btn { margin-left: 10px; white-space: nowrap; }
.site-header .wrap { max-width: 1240px; }

/* Free check-up banner: top of the sticky header, so it's always on screen.
   Light warm bar. The call to action is oxblood (about 6.4:1 on this bar). */
.promo-bar {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 44px; padding: 6px 16px;
  background: var(--promo); color: var(--ink); text-decoration: none;
  font: 500 .95rem/1.3 var(--sans); text-align: center;
  border-bottom: 1px solid var(--line);
}
.promo-bar:hover, .promo-bar:focus-visible { color: var(--ink); background: #f3e4d8; }
.promo-text { font-weight: 500; }
.promo-more { font-weight: 400; color: var(--ink-soft); }
.promo-cta {
  flex: none; background: transparent; color: var(--oxblood);
  font-weight: 600; font-size: .95rem; padding: 0; border-radius: 0;
  box-shadow: inset 0 -1px 0 var(--oxblood);
}
@media (max-width: 560px) { .promo-more { display: none; } .promo-bar { justify-content: space-between; } }

@media (max-width: 1199px) {
  .js .menu-btn { display: inline-flex; }
  .js .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--cork);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 20px 20px;
    box-shadow: 0 16px 30px rgba(63,52,44,.08);
    display: none;
  }
  .js .site-nav.open { display: flex; }
  .js .site-nav a:not(.btn) { white-space: nowrap; padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.05rem; }
  .js .site-nav .btn { margin: 16px 0 0; }
  html:not(.js) .header-row { flex-wrap: wrap; padding: 10px 0; }
  html:not(.js) .site-nav { flex-wrap: wrap; }
}

/* Sections */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 46rem; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--ink-soft); font-size: 1.15rem; }

.on-dark { background: var(--band); color: var(--ink); }
.on-dark h2, .on-dark h3 { color: var(--navy); }
.on-dark .eyebrow { color: var(--cork-ink); }
.on-dark .eyebrow::before { background: var(--cork); }
.on-dark a:not(.btn) { color: var(--navy); }
.on-dark a:not(.btn):hover { color: var(--cork-ink); }

/* Hero */
.hero { padding: clamp(48px, 8vw, 104px) 0 clamp(64px, 9vw, 112px); overflow: hidden; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.4fr .9fr; gap: 48px; } }
.hero h1 em { font-style: italic; font-weight: 400; color: var(--navy); }
.hero .photo { box-shadow: var(--shadow); }

.page-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 80px); background: var(--shell); border-bottom: 1px solid var(--cork); }
.page-hero h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); max-width: 16em; }

/* Trust strip — a ruled row, not a second navy band */
.trust { background: transparent; color: var(--navy); border-bottom: 1px solid var(--cork); }
.trust ul { list-style: none; margin: 0; padding: 18px 0; display: grid; gap: 12px; }
@media (min-width: 760px) { .trust ul { grid-template-columns: repeat(3, 1fr); padding: 22px 0; } }
.trust li { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: 1rem; min-width: 0; }
@media (max-width: 759px) { .trust li + li { padding-top: 12px; border-top: 1px solid var(--cork); } }
@media (min-width: 760px) { .trust li { justify-content: center; } .trust li + li { border-left: 1px solid var(--cork); } }
.trust svg { width: 22px; height: 22px; color: var(--cork-ink); flex: none; }

/* Cards */
.cards { display: grid; gap: 20px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards.cols-3 { grid-template-columns: repeat(3, 1fr); } .cards.cols-4 { grid-template-columns: repeat(4, 1fr); } }
.card {
  background: var(--shell); border: 0; border-top: 2px solid var(--cork); border-radius: 0;
  padding: 26px 4px 8px;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.card:hover { border-color: var(--cork-ink); box-shadow: none; }
.card p { color: var(--ink-soft); margin: 0; font-size: 1.02rem; }
.card h3 { margin-bottom: .4em; }
.icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--sea-soft); color: var(--navy);
  display: grid; place-items: center; margin-bottom: 20px;
}
.icon svg { width: 24px; height: 24px; }
.section-soft .card { background: var(--paper); border-top-color: var(--cork); }

/* Split layouts */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } .split.reverse > :first-child { order: 2; } }
.prose { max-width: 38em; }
.prose p { color: var(--ink-soft); }
.checklist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.checklist li { position: relative; padding-left: 34px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b5a2b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.checklist strong { color: var(--navy); }

/* Methods (plaster + digital) */
.methods { display: grid; gap: 24px; }
@media (min-width: 860px) { .methods { grid-template-columns: 1fr 1fr; } }
.method { background: var(--paper); border: 0; border-top: 2px solid var(--cork); border-radius: 0; overflow: hidden; display: flex; flex-direction: column; }
.method .photo { border-radius: 0; aspect-ratio: 16 / 9; }
.photo-del img { object-position: 50% 30%; }
.method-body { padding: 30px 28px 32px; }
.tag, .method .tag { display: inline-block; font: 500 .72rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--cork-ink); margin-bottom: 14px; }
.split .prose h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.45rem, 2vw, 1.7rem); }
.maker-copy {
  max-width: 36rem;
  margin: 48px auto 8px;
  padding-top: 36px;
  border-top: 1px solid var(--cork);
  text-align: center;
}
.maker-copy h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.45rem, 2vw, 1.7rem); }
.maker-copy p { color: var(--ink-soft); }
.maker-copy p:last-child { margin-bottom: 0; }
.maker-copy .text-link { justify-content: center; }
.method h3 { font-family: var(--serif); font-weight: 500; font-size: 1.7rem; color: var(--navy); }
.method p { color: var(--ink-soft); }

/* Steps — a vertical timeline, not a row of equal cards */
.steps { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; counter-reset: step; }
.steps li {
  counter-increment: step;
  position: relative;
  display: flex; flex-direction: column; gap: 8px;
  background: transparent; border: 0; border-radius: 0;
  padding: 0 0 32px 52px;
  min-width: 0;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  width: 36px; height: 36px; margin: 0;
  display: grid; place-items: center;
  font: 500 .78rem/1 var(--mono); color: var(--navy);
  background: var(--paper); border: 1px solid var(--cork); border-radius: 50%;
  z-index: 1;
}
.steps li::after {
  content: ""; position: absolute; left: 17px; top: 40px; bottom: 4px;
  width: 1px; background: var(--cork);
}
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: .25em; }
.steps p { color: var(--ink-soft); font-size: 1rem; margin: 0; }
@media (min-width: 800px) {
  .steps li:has(.step-photo) {
    display: grid;
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
    column-gap: 28px;
    align-items: center;
  }
  .steps li:has(.step-photo) .step-photo { grid-column: 1; grid-row: 1 / span 4; }
  .steps li:has(.step-photo) .who,
  .steps li:has(.step-photo) h3,
  .steps li:has(.step-photo) p { grid-column: 2; }
  .steps li:nth-child(even):has(.step-photo) { grid-template-columns: minmax(0, 1fr) minmax(0, 220px); }
  .steps li:nth-child(even):has(.step-photo) .step-photo { grid-column: 2; }
  .steps li:nth-child(even):has(.step-photo) .who,
  .steps li:nth-child(even):has(.step-photo) h3,
  .steps li:nth-child(even):has(.step-photo) p { grid-column: 1; }
}

/* CTA band */
.band { padding: clamp(64px, 9vw, 104px) 0; }
.band-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .band-grid { grid-template-columns: 1.4fr 1fr; } .band-grid .btns { justify-content: flex-end; margin-top: 0; } }
.band p { font-size: 1.15rem; max-width: 36em; }

/* Contact strip */
.contact-strip { display: grid; gap: 24px; }
@media (min-width: 820px) { .contact-strip { grid-template-columns: repeat(3, 1fr); } }
.lab-split .contact-strip { grid-template-columns: 1fr; }
.contact-item { padding: 8px 0 18px; border-radius: 0; background: transparent; border: 0; border-top: 1px solid var(--cork); }
.contact-item .label { font: 500 .72rem/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--navy); margin-bottom: 8px; }
.contact-item .value { font: 500 1.25rem/1.4 var(--serif); color: var(--navy); }
.contact-item .value a { color: var(--navy); text-decoration: none; }
.contact-item .value a:hover { color: var(--accent); }

/* Comparison table */
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.compare { width: 100%; border-collapse: collapse; font-size: 1.02rem; }
.compare th, .compare td { padding: 18px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th { background: var(--shell); color: var(--navy); font-weight: 500; font-size: .95rem; }
.compare thead th:nth-child(2) { background: #efe4d6; box-shadow: inset 0 -3px 0 var(--cork); }
.compare tbody th { color: var(--navy); font-weight: 600; width: 22%; }
.compare td:nth-child(2) { color: var(--ink); font-weight: 500; background: var(--shell); }
.compare td:nth-child(3) { color: var(--ink-soft); }
@media (max-width: 680px) {
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare tr { display: block; border-bottom: 1px solid var(--line); padding: 18px 18px 6px; }
  .compare tr:last-child { border-bottom: 0; }
  .compare th, .compare td { display: block; padding: 0 0 12px; border: 0; width: auto; background: none !important; }
  .compare tbody th { font-size: 1.1rem; }
  .compare td::before { content: attr(data-label); display: block; font: 600 .72rem/1.6 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
  .compare td:nth-child(2)::before { color: var(--accent); }
  .compare td:nth-child(3)::before { color: var(--ink-soft); }
}

/* Device guide: four plain columns, no highlighted column */
.compare.spec thead th:nth-child(2) { background: var(--shell); box-shadow: none; }
.compare.spec td:nth-child(2) { background: none; font-weight: 400; }
.compare.spec td:nth-child(3), .compare.spec td:nth-child(4) { color: var(--ink); }
@media (min-width: 681px) { .compare.spec tbody th { width: 20%; } }
@media (max-width: 680px) { .compare tbody th { width: auto; } }
.compare.spec td::before, .compare.spec td:nth-child(2)::before { color: var(--ink-soft); }

.note {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--shell); border-left: 3px solid var(--cork); border-radius: 0;
  padding: 20px 22px; color: var(--ink); font-weight: 500; margin-top: 40px;
}
.note svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 3px; }

.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { border: 1px solid var(--cork); background: var(--shell); border-radius: 999px; padding: 9px 18px; font-weight: 500; font-size: .98rem; color: var(--navy); }

/* Info grid (practitioner terms) */
.info-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 760px) { .info-grid { grid-template-columns: 1fr 1fr; } }
.info-grid > div { background: var(--paper); padding: 28px 26px; }
.info-grid h3 { margin-bottom: .35em; }
.info-grid p { margin: 0; color: var(--ink-soft); }

/* FAQ */
.faq { max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; font: 500 1.125rem/1.4 var(--sans); color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b5a2b' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent); }
.faq .answer { padding: 0 0 26px; color: var(--ink-soft); max-width: 44rem; }
.faq .answer p:last-child { margin: 0; }

/* Forms */
.form-card { background: var(--paper); border: 1px solid var(--cork); border-radius: calc(var(--radius) + 4px); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.form-grid { display: grid; gap: 20px; }
@media (min-width: 700px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label, .field legend { display: block; font-weight: 500; font-size: .95rem; color: var(--navy); margin-bottom: 8px; padding: 0; }
.field .hint { display: block; font-weight: 400; color: var(--ink-soft); font-size: .88rem; margin-top: 2px; }
.req { color: var(--accent); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; font: 400 1rem/1.5 var(--sans); color: var(--ink);
  padding: 14px 16px; border: 1.5px solid var(--ui-line); border-radius: 10px; background: var(--paper);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(74,59,50,.18); }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-block; padding: 12px 20px; border: 1.5px solid var(--ui-line); border-radius: 999px; font-weight: 500; font-size: .98rem; transition: background-color .2s, border-color .2s, color .2s; }
.choice input:checked + span { border-color: var(--navy); background: var(--shell); color: var(--navy); }
.choice input:focus + span,
.choice input:focus-visible + span { outline: 3px solid var(--navy); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 8px; }
.form-foot .small { font-size: .9rem; color: var(--ink-soft); margin: 0; flex: 1 1 260px; }
.form-status { margin-top: 18px; padding: 16px 18px; border-radius: 10px; font-weight: 500; }
.form-status:empty { display: none; }
.form-status.ok { background: #e7f4ec; color: #1e5b36; }
.form-status.warn { background: #fff4dc; color: #6b4a00; }

/* Footer — light warm field, same family as the page */
.site-footer { background: var(--shell); color: var(--ink); padding: 72px 0 32px; font-size: .98rem; border-top: 1px solid var(--line); }
.site-footer a { color: var(--navy); text-decoration: none; }
.site-footer a:hover { color: var(--cork-ink); }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer .brand { color: var(--navy); margin-bottom: 16px; }
.site-footer .brand-place { color: var(--ink-soft); border-left-color: var(--line); }
.brand-tile { display: block; background: #fff; border-radius: 12px; padding: 6px 10px; flex: none; }
.brand-tile .brand-logo { height: 52px; }
.site-footer h2 { font: 500 .72rem/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--cork-ink); margin: 0 0 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-base { border-top: 1px solid var(--line); margin-top: 56px; padding-top: 24px; font-size: .88rem; color: var(--ink-soft); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.site-footer .brand { flex-wrap: wrap; align-items: flex-start; max-width: 100%; }
.site-footer .brand-place { white-space: normal; }

/* Subtle scroll reveal (only when JS is on and motion is OK) */
.reveal-on .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal-on .reveal.in { opacity: 1; transform: none; }
.reveal-on .reveal.d1 { transition-delay: .08s; } .reveal-on .reveal.d2 { transition-delay: .16s; } .reveal-on .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn:hover, .card-link:hover, .ask-launch:hover, .card:hover { transform: none; }
}

/* Find a Practitioner: clinic cards (data in /clinics.js) */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.clinic { display: flex; flex-direction: column; }
.clinic-city { font: 600 .75rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--accent) !important; margin: 0 0 10px !important; }
.clinic h3 { margin-bottom: .2em; }
.clinic-who { margin: 0 0 4px !important; }
.clinic-details { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; font-size: 1rem; }
.clinic-details li { display: grid; gap: 2px; overflow-wrap: anywhere; }
.clinic-details .k { font: 600 .72rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.clinic-details a { color: var(--ink); text-decoration: none; }
.clinic-details a:hover { color: var(--accent); text-decoration: underline; }
.clinic-sub { margin: 18px 0 0 !important; padding-top: 14px; border-top: 1px solid var(--line); font-weight: 600; color: var(--navy) !important; font-size: .95rem !important; }
.clinic-web { margin-top: auto; padding-top: 20px; font-size: 1rem; overflow-wrap: anywhere; }
.clinic-note { margin: 32px 0 0; color: var(--ink-soft); }

/* ---- Check-up funnel additions (v6). Same tokens, no new colours. ---- */
.hero-quiet { margin: 14px 0 0; font-size: .95rem; color: var(--ink-soft); }
.hero-quiet a { font-weight: 500; }
.referral-line { font-size: .98rem; color: var(--ink-soft); margin: 18px 0 0; }
.on-dark .referral-line { color: var(--ink-soft); }
.small { font-size: .92rem; color: var(--ink-soft); }
/* Five-step journey: who does each step */
.steps .who { display: block; font: 500 .7rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 6px; }
.steps .who.us { color: var(--cork-ink); }
/* Condition cards that are links */
.card-link { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.card-link:hover { color: inherit; transform: translateY(-2px); }
.card-link .text-link { margin-top: auto; padding-top: 18px; font-size: 1rem; }
/* Footer with four columns */
@media (min-width: 980px) { .footer-grid.cols-4 { grid-template-columns: 1.3fr 1fr 1fr .8fr; } }
.site-footer .btn-primary { color: #fff; }
/* Check-up page */
.checkup-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 980px) { .checkup-grid { grid-template-columns: 1.6fr 1fr; gap: 56px; } .checkup-aside { position: sticky; top: 100px; } }
.checkup-aside h2 { font-size: 1.6rem; }
.mini-steps { margin: 0 0 8px; padding-left: 1.3em; display: grid; gap: 12px; color: var(--ink-soft); }
.mini-steps strong { color: var(--navy); }
.page-hero .mini-steps { max-width: 38em; margin: 8px 0 20px; }
.field.invalid .choice span { border-color: #b3261e; }
.group-error { color: #b3261e; font-size: .9rem; margin: 8px 0 0; }
.note a { font-weight: 600; }
/* Step pictures sit inside the timeline, not as card headers */
.steps .step-photo { order: 0; margin: 0 0 8px; border-radius: 12px; aspect-ratio: 4 / 3; padding: 0; max-width: 100%; }
.section-soft .steps li::before { background: var(--shell); }
.checkup-aside .photo { margin-bottom: 28px; }

/* ---- At-home foam kit (v9). Same tokens, no new colours. ---- */
[hidden] { display: none !important; }
/* Home page: two ways to get orthotics */
.paths { display: grid; gap: 20px; }
@media (min-width: 760px) { .paths { grid-template-columns: 1fr 1fr; } }
.path { display: flex; flex-direction: column; border-width: 1.5px; }
.path .path-q { font: 500 .72rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--cork-ink); margin: 0 0 12px !important; }
.path h3 { font-family: var(--serif); font-weight: 500; font-size: 1.7rem; color: var(--navy); }
.path .btn { margin-top: auto; align-self: flex-start; }
.path .path-body { margin-bottom: 22px !important; }
.path-main { border-color: var(--accent) !important; }
/* Timeline stays one column at every width. */
/* What-not-to-do list (red cross instead of a tick) */
.crosslist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.crosslist li { position: relative; padding-left: 34px; }
.crosslist li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 22px; height: 22px; border-radius: 50%;
  background: #fbe9e7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b3261e' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.crosslist strong { color: var(--navy); }
/* Kit order form: safety screen stop message, file input */
.kit-stop { background: #fff4dc; border: 1.5px solid #e0b94f; border-radius: 12px; padding: 20px 22px; color: #4d3800; }
.kit-stop h3 { color: #4d3800; margin-bottom: .35em; }
.kit-stop p { margin: 0 0 14px; }
.kit-stop .btn { margin-top: 4px; text-align: center; line-height: 1.25; }
.form-grid .form-grid { gap: 20px; }
.field input[type="file"] { width: 100%; font: 400 1rem/1.5 var(--sans); padding: 12px; border: 1.5px dashed #cdd5df; border-radius: 10px; background: var(--bg-soft); }
.upload-fallback { margin: 14px 0 0; font-weight: 500; }
.kit-box { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
@media (min-width: 700px) { .kit-box { grid-template-columns: 1fr 1fr; } }
.kit-box li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.kit-box strong { display: block; color: var(--navy); }
.kit-box span { color: var(--ink-soft); font-size: 1rem; }
#refer-a-patient .note { background: #fff4dc; border-radius: 12px; padding: 12px 14px; }
.check-line { display: flex; gap: 10px; align-items: flex-start; }
.check-line input { margin-top: .4em; }
.intake-progress { font-weight: 600; color: var(--navy); }
#practitioner-guide { background: #fff; border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: clamp(20px, 3vw, 36px); }
#practitioner-guide dl { margin: 0 0 16px; }
#practitioner-guide dt { font-weight: 600; margin-top: 10px; }
#practitioner-guide dd { margin: 4px 0 0; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
#practitioner-guide #intake-q { scroll-margin-top: 96px; }
#practitioner-guide .intake-answer {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 2px 0 12px;
  min-height: 56px;
  padding: 14px 16px;
  border: 1.5px solid var(--ui-line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: 400 18px/1.45 var(--sans);
  caret-color: var(--navy);
}
#practitioner-guide textarea.intake-answer {
  min-height: 144px;
  resize: vertical;
}
#practitioner-guide .intake-answer:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(196, 154, 108, 0.45);
}
#practitioner-guide .intake-answer[aria-invalid="true"] {
  border-color: #b3261e;
}
.lead-draft { margin-top: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft); }
.lead-draft p { margin: 0 0 10px; }

/* ---- Talk to Smith chat ---- */
.ask-launch {
  position: fixed; right: 16px; bottom: 16px; z-index: 25;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px 14px 18px; border: 0; border-radius: 999px;
  background: var(--btn-bg); color: #fff; font: 500 1.02rem/1 var(--sans);
  box-shadow: 0 6px 20px rgba(141,58,63,.22); cursor: pointer;
  transition: transform .2s, background-color .2s;
}
.ask-launch:hover { background: var(--btn-bg-hover); transform: translateY(-1px); }
.ask-launch:focus-visible { outline: 3px solid var(--btn-focus); outline-offset: 3px; }
.ask-launch svg { width: 20px; height: 20px; }

.ask-panel {
  position: fixed; right: 16px; bottom: 16px; z-index: 26;
  width: min(390px, calc(100vw - 32px)); height: min(640px, calc(100dvh - 32px));
  display: flex; flex-direction: column;
  background: #fff; color: var(--ink);
  border-radius: 22px; overflow: hidden;
  box-shadow: 0 18px 50px rgba(63,52,44,.16), 0 2px 6px rgba(63,52,44,.06);
  animation: ask-in .22s ease-out;
}
.ask-panel[hidden] { display: none !important; }
@keyframes ask-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }

.ask-head { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; padding: 12px 10px 12px 14px; border-bottom: 1px solid var(--line); }
.ask-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: var(--bg-soft); flex: 0 0 auto; }
.ask-titles { flex: 1 1 auto; min-width: 0; }
.ask-head h2 { font: 600 1rem/1.2 var(--sans); margin: 0; color: var(--navy); }
.ask-sub { margin: 2px 0 0; font-size: .78rem; line-height: 1.2; color: var(--ink-soft); }
.ask-icon-btn {
  flex: 0 0 auto; width: 40px; height: 40px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: transparent; color: var(--ink-soft); cursor: pointer;
}
.ask-icon-btn:hover { background: var(--bg-soft); color: var(--navy); }
.ask-icon-btn:focus-visible { outline: 2px solid var(--btn-focus); outline-offset: 1px; }
.ask-icon-btn svg { width: 20px; height: 20px; }
.ask-mute[aria-pressed="true"] { color: var(--btn-bg); }

.ask-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 14px; display: flex; flex-direction: column; gap: 12px; background: #fbfcfd; }
.ask-roles { align-self: center; display: inline-flex; padding: 3px; gap: 2px; background: var(--bg-soft); border-radius: 999px; }
.ask-seg { border: 0; background: transparent; color: var(--ink-soft); font: 600 .82rem/1 var(--sans); padding: 8px 14px; border-radius: 999px; cursor: pointer; }
.ask-seg[aria-pressed="true"] { background: #fff; color: var(--navy); box-shadow: 0 1px 3px rgba(19,35,58,.12); }
.ask-seg:focus-visible { outline: 2px solid var(--btn-focus); outline-offset: 1px; }

.ask-log { display: flex; flex-direction: column; gap: 10px; }
.ask-msg { margin: 0; font-size: .95rem; line-height: 1.5; }
.ask-msg.bot, .ask-msg.me { max-width: 86%; padding: 10px 14px; border-radius: 18px; animation: ask-msg .18s ease-out; }
.ask-msg.bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.ask-msg.me { align-self: flex-end; background: var(--oxblood); color: #fff; border-bottom-right-radius: 6px; }
@keyframes ask-msg { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.ask-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ask-links a { font-size: .8rem; font-weight: 500; text-decoration: none; color: var(--navy); background: var(--shell); padding: 5px 10px; border-radius: 999px; }
.ask-links a:hover { background: #efdfe0; }
.ask-confirm { margin: 6px 0 0; font-size: .78rem; color: var(--ink-soft); }

.ask-about { margin-top: auto; font-size: .78rem; color: var(--ink-soft); text-align: center; }
.ask-about summary { cursor: pointer; font-weight: 600; padding: 4px 0; list-style: none; }
.ask-about summary::-webkit-details-marker { display: none; }
.ask-about[open] { text-align: left; }
.ask-note { margin: 6px 0 0; font-size: .78rem; line-height: 1.5; color: var(--ink-soft); }

.ask-foot { flex: 0 0 auto; padding: 8px 12px 12px; border-top: 1px solid var(--line); background: #fff; }
.ask-state { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 22px; margin: 0 0 8px; font-size: .82rem; color: var(--ink-soft); text-align: center; }
.ask-mic-note { margin: -4px 0 8px; font-size: .72rem; color: #7a8696; text-align: center; }
.ask-mic-note[hidden] { display: none; }
.ask-wave { display: none; align-items: center; gap: 3px; height: 14px; }
.ask-wave i { width: 3px; height: 100%; border-radius: 2px; background: var(--btn-bg); animation: ask-wave 1s ease-in-out infinite; }
.ask-wave i:nth-child(2) { animation-delay: .15s; }
.ask-wave i:nth-child(3) { animation-delay: .3s; }
.ask-wave i:nth-child(4) { animation-delay: .45s; }
@keyframes ask-wave { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
.ask-panel[data-voice="listening"] .ask-wave, .ask-panel[data-voice="speaking"] .ask-wave { display: inline-flex; }
.ask-panel[data-voice="speaking"] .ask-wave i { background: var(--oxblood); }

.ask-form { display: flex; align-items: center; gap: 8px; }
.ask-field { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; background: var(--bg-soft); border: 1.5px solid transparent; border-radius: 999px; padding: 4px 4px 4px 16px; transition: border-color .15s, background-color .15s; }
.ask-field:focus-within { border-color: var(--navy); background: #fff; }
.ask-field input { flex: 1 1 auto; min-width: 0; border: 0; background: transparent; font: 400 1rem/1.4 var(--sans); color: var(--ink); padding: 8px 0; outline: none; }
.ask-send { flex: 0 0 auto; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--oxblood); color: #fff; cursor: pointer; }
.ask-send:disabled { opacity: .5; }
.ask-send:focus-visible { outline: 2px solid var(--btn-focus); outline-offset: 2px; }
.ask-send svg { width: 18px; height: 18px; }

.ask-mic {
  position: relative; flex: 0 0 auto; width: 52px; height: 52px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: var(--btn-bg); color: #fff; cursor: pointer;
  box-shadow: 0 4px 12px rgba(141,58,63,.35); transition: background-color .2s, transform .15s;
}
.ask-mic:active { transform: scale(.94); }
.ask-mic:focus-visible { outline: 3px solid var(--btn-focus); outline-offset: 3px; }
.ask-mic[hidden] { display: none; }
.ask-mic svg { width: 24px; height: 24px; grid-area: 1 / 1; }
.ask-mic .i-stop, .ask-mic .i-hand { display: none; }
.ask-mic[data-mode="live"] { background: var(--btn-bg-hover); box-shadow: 0 4px 12px rgba(109,46,51,.35); }
.ask-mic[data-mode="live"] .i-mic { display: none; }
.ask-mic[data-mode="live"] .i-stop { display: block; width: 20px; height: 20px; }
.ask-mic[data-mode="speaking"] { background: var(--btn-bg-hover); }
.ask-mic[data-mode="speaking"] .i-mic { display: none; }
.ask-mic[data-mode="speaking"] .i-hand { display: block; }
.ask-panel[data-voice="listening"] .ask-mic::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid var(--btn-bg); animation: ask-ring 1.4s ease-out infinite;
}
@keyframes ask-ring { from { opacity: .7; transform: scale(.9); } to { opacity: 0; transform: scale(1.25); } }

@media (prefers-reduced-motion: reduce) {
  .ask-panel, .ask-msg.bot, .ask-msg.me { animation: none; }
  .ask-wave i { animation: none; transform: scaleY(.7); }
  .ask-panel[data-voice="listening"] .ask-mic::after { animation: none; opacity: 1; }
}

/* ---- Island Workshop homepage layouts ---- */
.hero-grid > *,
.split > *,
.band-grid > *,
.path-split > *,
.why-split > *,
.benefit-split > *,
.lab-split > *,
.footer-grid > * { min-width: 0; }

.independence { background: var(--shell); border-bottom: 1px solid var(--cork); }
.independence .wrap { padding-top: 18px; padding-bottom: 18px; }
.independence p { margin: 0; max-width: 48rem; color: var(--ink); font-size: 1.0625rem; }

.path-split { display: grid; gap: 20px; }
@media (min-width: 860px) { .path-split { grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: stretch; } }
.path-lead, .path-side { min-width: 0; display: flex; flex-direction: column; padding: clamp(22px, 3vw, 36px); }
.path-lead { background: var(--shell); border-top: 3px solid var(--cork); gap: 16px; }
.path-side { background: var(--sea-soft); gap: 16px; }
.path-lead h3, .path-side h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.55rem, 2.4vw, 2rem); }
.path-q { font: 500 .72rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--cork-ink); margin: 0 0 10px; }
.path-lead p, .path-side p { color: var(--ink-soft); }
.path-lead .btn, .path-side .btn { align-self: flex-start; margin-top: auto; }
.path-lead .path-offer { margin-top: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.path-lead .path-offer .btn { margin-top: 0; }
.path-photo { aspect-ratio: 16 / 10; }

.why-split, .benefit-split, .lab-split { display: grid; gap: 28px; align-items: start; }
@media (min-width: 860px) {
  .why-split { grid-template-columns: .85fr 1.15fr; gap: 56px; }
  .benefit-split { grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: center; }
  .lab-split { grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
}
.reasons, .benefit-list { list-style: none; margin: 0; padding: 0; }
.reasons li, .benefit-list li {
  display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 12px 14px;
  padding: 16px 0; border-top: 1px solid var(--cork); align-items: start;
}
.reasons li:last-child, .benefit-list li:last-child { border-bottom: 1px solid var(--cork); }
.reasons .icon, .benefit-list .icon { margin: 2px 0 0; width: 40px; height: 40px; }
.reasons h3, .benefit-list h3 { margin: 0 0 .2em; }
.reasons p, .benefit-list p { margin: 0; color: var(--ink-soft); }

.reason-index { list-style: none; margin: 0; padding: 0; display: grid; border-bottom: 1px solid var(--cork); }
@media (min-width: 800px) { .reason-index { grid-template-columns: 1fr 1fr; column-gap: 48px; } }
.reason-index a {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  padding: 16px 0; border-top: 1px solid var(--cork);
  text-decoration: none; color: inherit; min-width: 0;
}
.reason-index h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 1.3rem; }
.reason-index p { margin: 0; color: var(--ink-soft); }

.pull { margin: 0 0 1.1em; padding: 0 0 0 18px; border-left: 3px solid var(--cork); max-width: 20em; }
.pull p {
  margin: 0;
  font-family: var(--serif); font-weight: 400; font-style: italic;
  font-size: clamp(1.45rem, 2.5vw, 1.95rem); line-height: 1.25; color: var(--navy);
}
.materials-slot { margin-top: 8px; }
.materials-slot .photo { aspect-ratio: 21 / 8; }
@media (max-width: 700px) { .materials-slot .photo { aspect-ratio: 16 / 10; } }

.photo {
  background:
    repeating-linear-gradient(135deg, rgba(196,154,108,.2) 0 10px, transparent 10px 20px),
    linear-gradient(160deg, var(--shell), #e7dfd4);
}
@media (max-width: 360px) {
  .promo-bar { flex-wrap: wrap; row-gap: 2px; }
  h1 { font-size: 2rem; }
}
@media (max-width: 700px) {
  .ask-launch { right: 12px; bottom: 12px; }
  .ask-panel { inset: 0; width: auto; height: 100%; height: 100dvh; border-radius: 0; animation: none; }
  .ask-open .ask-launch { display: none; }
  .ask-head { padding-top: max(12px, env(safe-area-inset-top)); }
  .ask-foot { padding-bottom: max(12px, env(safe-area-inset-bottom)); }
}

/* Owner photos (js/site-photos.js): the lab gallery on Process, filled from the owner's photo page */
.lab-gallery .sp-item img { border-radius: var(--radius); box-shadow: var(--shadow); }
.lab-gallery .sp-item figcaption { color: var(--ink-soft); font-size: .95rem; margin-top: 8px; }
.photo.sp-filled img { object-fit: cover; }

/* Home: visible kit price on the at-home path card */
.path-side .path-price,
.path-lead .path-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin: 4px 0 0; color: var(--navy); }
.path-price-label { font: 500 .72rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--cork-ink); }
.path-price strong { font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 3vw, 2.1rem); line-height: 1; color: var(--navy); }

/* Home: reviews. Real reviews only; empty state until the first one is in. */
.review-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 20px; }
@media (min-width: 760px) { .review-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .review-list { grid-template-columns: repeat(3, 1fr); } }
.review { min-width: 0; background: var(--shell); border-top: 3px solid var(--cork); padding: clamp(20px, 3vw, 28px); }
.review blockquote { margin: 0 0 12px; }
.review blockquote p { margin: 0; font-family: var(--serif); font-style: italic; font-size: 1.2rem; line-height: 1.4; color: var(--navy); }
.review-by { margin: 0; font: 500 .78rem/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--cork-ink); }
.review-empty { max-width: 44em; background: var(--shell); border-top: 3px solid var(--cork); padding: clamp(22px, 3vw, 36px); }
.review-empty-title { margin: 0 0 .4em; font-family: var(--serif); font-weight: 500; font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.3; color: var(--navy); }
.review-empty p { color: var(--ink-soft); }
.review-empty .btns { align-items: center; }

/* Online work order (noindex) */
.wo-wrap { max-width: 52rem; }
.wo-privacy { background: var(--shell); border-radius: 10px; padding: 14px 16px; margin: 0 0 20px; font-size: .95rem; }
.wo-progress { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 0; margin: 0 0 24px; font-size: .88rem; color: var(--ink-soft); }
.wo-progress li.on { color: var(--navy); font-weight: 500; text-decoration: underline; text-underline-offset: 6px; }
.wo-progress li.done::after { content: " \2713"; }
.wo-step h2, .wo-done h2 { font-size: 1.4rem; margin: 0 0 14px; }
.wo-step h2:focus, .wo-done:focus { outline: none; }
.wo-err { display: block; color: #b3261e; font-size: .88rem; margin-top: 6px; }
.wo-err:empty { display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #b3261e; }
.field select { width: 100%; font: 400 1rem/1.5 var(--sans); color: var(--ink); padding: 14px 16px; border: 1.5px solid var(--ui-line); border-radius: 10px; background: var(--paper); }
.wo-pair { display: grid; grid-template-columns: 1fr 90px; gap: 10px; }
.wo-pair input { width: 100%; font: 400 1rem/1.5 var(--sans); padding: 14px 12px; border: 1.5px solid var(--ui-line); border-radius: 10px; }
.wo-posting { margin-top: 20px; }
.wo-adds { display: grid; gap: 4px; }
.wo-add { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 14px; padding: 8px 0; border-bottom: 1px solid var(--cork); }
.wo-tick { display: inline-flex; align-items: center; gap: 8px; margin: 0; min-height: 44px; padding: 0 6px; font-weight: 500; }
.wo-tick input { width: 22px; height: 22px; }
.wo-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
.wo-nav .btn { min-width: 120px; }
.wo-review { display: grid; grid-template-columns: minmax(0, 11rem) 1fr; gap: 8px 16px; margin: 0; }
.wo-review dt { color: var(--ink-soft); font-size: .92rem; }
.wo-review dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
@media (max-width: 520px) { .wo-review { grid-template-columns: 1fr; gap: 0; } .wo-review dd { margin-bottom: 10px; } }
.wo-number { font: 500 2.2rem/1.2 var(--mono, monospace); color: var(--navy); margin: 6px 0 14px; }
.wo-copy { margin-top: 22px; }
.wo-sheet { border: 2px solid var(--ink); padding: 24px; margin-top: 18px; }
@media print {
  .site-header, .site-footer, footer, .skip, .no-print, .wo-nav, .wo-progress, #ask-widget, .ask-widget, #wo-print, .btns { display: none !important; }
  .wo-card { box-shadow: none; border: 0; padding: 0; }
  body { background: #fff; }
}

.wo-sheet-label { margin: 0; color: var(--ink-soft); font-size: .9rem; }
.wo-sheet-number { font: 500 3rem/1.1 var(--mono, monospace); margin: 0 0 8px; }
.wo-write { margin-top: 26px; }
.wo-line { height: 64px; border: 1.5px solid var(--ink); border-radius: 6px; margin-top: 8px; }
