/* Birchmoor Optometry: a printed eye-chart poster. Mustard, near-black, rust, paper. */
:root {
  --mustard: #F2B705;
  --ink: #141414;
  --rust: #B4432A;
  --rust-deep: #8F321E;
  --paper: #FAF7F0;
  --f-head: "Archivo Black", "Arial Black", Impact, sans-serif;
  --f-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --gut: clamp(16px, 4vw, 40px);
  --max: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--mustard); color: var(--ink); font: 400 1.0625rem/1.6 var(--f-body); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 0; box-shadow: 0 0 0 6px var(--paper); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -80px; z-index: 100; background: var(--ink); color: var(--paper); padding: 12px 18px; font-weight: 600; }
.skip:focus { top: 8px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: var(--mustard); border-bottom: 3px solid var(--ink); }
.head-row { display: flex; align-items: center; gap: 8px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; margin-right: auto; text-decoration: none; color: inherit; }
.brand img { flex: none; }
.brand-name { font: 400 0.95rem/1.05 var(--f-head); text-transform: uppercase; letter-spacing: 0.02em; }
.nav-main ul, .mnav-panel ul { list-style: none; margin: 0; padding: 0; }
.nav-main { display: none; }
.nav-main ul { display: flex; gap: 2px; }
.nav-main a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-weight: 600; font-size: 0.95rem; text-decoration: none; }
.nav-main a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; }
.head-tel { display: none; align-items: center; min-height: 44px; padding: 0 16px; background: var(--rust); color: #fff; border: 3px solid var(--ink); font: 400 0.95rem/1 var(--f-head); text-decoration: none; white-space: nowrap; }
.head-tel:hover { background: var(--rust-deep); }
.site-head summary { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px; font-weight: 600; cursor: pointer; list-style: none; }
.site-head summary::-webkit-details-marker { display: none; }
.lang { position: relative; }
.lang summary svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; flex: none; }
.lang-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lang-panel { position: absolute; right: 0; top: calc(100% + 10px); min-width: 220px; padding: 14px; background: var(--paper); border: 3px solid var(--ink); }
.bars { position: relative; width: 22px; height: 15px; border-top: 3px solid currentColor; border-bottom: 3px solid currentColor; }
.bars::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; background: currentColor; }
.mnav summary { border: 3px solid var(--ink); background: var(--paper); text-transform: uppercase; font-family: var(--f-head); font-weight: 400; font-size: 0.9rem; }
.mnav-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 3px solid var(--ink); }
.mnav-panel a { display: flex; align-items: center; min-height: 54px; padding: 0 var(--gut); border-top: 2px solid var(--ink); font: 400 1.25rem/1 var(--f-head); text-transform: uppercase; text-decoration: none; }
.mnav-panel a:hover { background: var(--mustard); }
@media (min-width: 1100px) {
  .nav-main { display: block; }
  .head-tel { display: inline-flex; margin-left: 8px; }
  .mnav { display: none; }
  .lang-text { position: static; width: auto; height: auto; clip: auto; overflow: visible; }
}
@media (min-width: 1100px) and (max-width: 1239px) { .lang-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }

/* ---------- bands ---------- */
.band { padding: clamp(52px, 8vw, 116px) 0; }
.band-mustard { background: var(--mustard); }
.band-ink { background: var(--ink); color: var(--paper); }
.band-paper { background: var(--paper); }
[id] { scroll-margin-top: 84px; }
.sec-kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font: 600 0.8125rem/1.2 var(--f-body); letter-spacing: 0.14em; text-transform: uppercase; }
.opto { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; border: 3px solid currentColor; font: 400 1.5rem/1 var(--f-head); letter-spacing: 0; }
h2 { margin: 0 0 0.4em; font: 400 clamp(2.5rem, 9.4vw, 6.75rem)/0.92 var(--f-head); text-transform: uppercase; letter-spacing: -0.005em; }
h3 { margin: 0; font: 400 1.375rem/1.15 var(--f-head); text-transform: uppercase; }

/* ---------- hero: the headline is an eye chart ---------- */
.hero { padding: clamp(28px, 5vw, 60px) 0 clamp(36px, 5vw, 64px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: end; } }
.hero .sec-kicker { margin-bottom: 14px; }
.chart { margin: 0; container-type: inline-size; font-family: var(--f-head); font-weight: 400; text-transform: uppercase; line-height: 0.88; letter-spacing: 0.005em; }
.chart span { display: block; white-space: nowrap; }
.chart .r1 { font-size: 22vw; font-size: calc(100cqw * 0.436); }
.chart .r2 { font-size: 12vw; font-size: calc(100cqw * 0.245); }
.chart .r3 { font-size: 7.4vw; font-size: calc(100cqw * 0.151); }
.chart .r4 { font-size: 3.4vw; font-size: calc(100cqw * 0.0695); }
.lede { margin: 26px 0 0; font-size: clamp(1.125rem, 0.9vw + 0.95rem, 1.375rem); line-height: 1.5; max-width: 36em; }
.hero-card { background: var(--paper); border: 4px solid var(--ink); padding: clamp(20px, 3vw, 30px); box-shadow: 10px 10px 0 var(--ink); }
.hero-card .sec-kicker { margin-bottom: 8px; }
.phone-big { display: block; margin-bottom: 18px; font: 400 clamp(1.75rem, 7vw, 2.6rem)/1 var(--f-head); text-decoration: none; white-space: nowrap; }
.phone-big:hover { text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 6px; }
.hours-mini { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 0; font-size: 1rem; line-height: 1.35; }
.hours-mini dt { padding-right: 14px; font-weight: 600; }
.hours-mini dd { margin: 0; text-align: right; }
.hours-mini .early { background: var(--mustard); }
.hours-mini dt.early { padding-left: 6px; margin-left: -6px; }
.hours-mini dd.early { padding-right: 6px; margin-right: -6px; }
.addr { margin: 18px 0 0; padding-top: 14px; border-top: 2px solid var(--ink); font-size: 0.9375rem; }
.btns { display: flex; gap: 12px; margin-top: 20px; }
.btn { flex: 1 1 0; min-width: 0; display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 10px 12px; background: var(--rust); color: #fff; border: 3px solid var(--ink); font: 400 0.95rem/1.15 var(--f-head); text-align: center; text-transform: uppercase; letter-spacing: 0.03em; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--rust-deep); }
.btn.alt { background: var(--paper); color: var(--ink); }
.btn.alt:hover { background: var(--mustard); }
.chart-strip { display: flex; align-items: flex-end; justify-content: space-between; margin: clamp(32px, 5vw, 60px) 0 0; padding-top: 12px; border-top: 4px solid var(--ink); font-family: var(--f-head); line-height: 1; --u: clamp(0.6rem, 1.45vw, 1rem); }
.chart-strip span:nth-child(1) { font-size: calc(var(--u) * 7); }
.chart-strip span:nth-child(2) { font-size: calc(var(--u) * 5.6); }
.chart-strip span:nth-child(3) { font-size: calc(var(--u) * 4.4); }
.chart-strip span:nth-child(4) { font-size: calc(var(--u) * 3.4); }
.chart-strip span:nth-child(5) { font-size: calc(var(--u) * 2.6); }
.chart-strip span:nth-child(6) { font-size: calc(var(--u) * 2); }
.chart-strip span:nth-child(7) { font-size: calc(var(--u) * 1.5); }
.chart-strip span:nth-child(8) { font-size: calc(var(--u) * 1.1); }

/* ---------- services: stacked rows ---------- */
.svc { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--paper); }
.svc li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px 36px; padding: 26px 0; border-bottom: 3px solid var(--paper); }
.svc h3 { font-size: clamp(1.75rem, 4.6vw, 3.25rem); line-height: 1; }
.svc p { margin: 0; }
.svc .fee { color: var(--mustard); font: 400 1.25rem/1.1 var(--f-head); text-transform: uppercase; }
@media (min-width: 900px) {
  .svc li { grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) minmax(0, 3fr); align-items: start; }
  .svc .fee { text-align: right; }
}
.strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 6vw, 72px); }
.strip figure { margin: 0; min-width: 0; }
.strip figure:first-child { grid-column: 1 / -1; }
.strip img { width: 100%; height: 190px; object-fit: cover; }
.strip figure:first-child img { height: 230px; }
.strip figcaption { margin-top: 10px; font-size: 0.9375rem; line-height: 1.4; color: #E4E0D6; }
@media (min-width: 800px) {
  .strip { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); gap: 24px; }
  .strip figure:first-child { grid-column: auto; }
  .strip img, .strip figure:first-child img { height: clamp(260px, 30vw, 380px); }
}

/* ---------- fees: a printed price board ---------- */
.fees-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; }
@media (min-width: 960px) { .fees-grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 64px; align-items: start; } }
.board { background: var(--paper); border: 4px solid var(--ink); padding: 6px; box-shadow: 12px 12px 0 var(--ink); }
.board-in { border: 2px solid var(--ink); }
.board-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; background: var(--ink); color: var(--mustard); font: 400 clamp(1.1rem, 3vw, 1.75rem)/1 var(--f-head); text-transform: uppercase; letter-spacing: 0.05em; }
.board-head span { white-space: nowrap; }
.board-head small { font: 600 0.8125rem/1.2 var(--f-body); letter-spacing: 0.12em; color: var(--paper); }
.board-list { margin: 0; }
.board-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; align-items: center; padding: 16px 20px; border-top: 2px solid var(--ink); }
.board-row:first-child { border-top: 0; }
.board-row dt { grid-column: 1; grid-row: 1; font: 600 1.0625rem/1.25 var(--f-body); text-transform: uppercase; letter-spacing: 0.05em; }
.board-row .note { grid-column: 1; grid-row: 2; margin: 0; font-size: 0.9375rem; line-height: 1.4; color: #3A3A3A; }
.board-row .fr { margin-right: 2px; font: 600 0.8125rem/1 var(--f-body); letter-spacing: 0.1em; text-transform: uppercase; }
.board-row .price { grid-column: 2; grid-row: 1 / span 2; margin: 0; font: 400 clamp(1.75rem, 4.5vw, 2.75rem)/1 var(--f-head); text-align: right; white-space: nowrap; }
.board-foot { margin: 0; padding: 14px 20px; border-top: 2px solid var(--ink); font-size: 0.9375rem; line-height: 1.45; }
.aside-note { border-top: 4px solid var(--ink); padding-top: 18px; }
.aside-note h3 { margin-bottom: 10px; font-size: 1.5rem; }
.reveal-pending { transform: translateY(18px); }
.reveal-in { transform: none; transition: transform 0.6s ease; }

/* ---------- what to bring ---------- */
.bring { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 64px; border-bottom: 3px solid var(--ink); }
.bring li { position: relative; padding: 22px 0 22px 54px; border-top: 3px solid var(--ink); }
.bring li::before { content: ""; position: absolute; left: 0; top: 24px; width: 32px; height: 32px; border: 3px solid var(--ink); background: #fff; }
.bring strong { display: block; margin-bottom: 4px; font: 400 clamp(1.2rem, 2.4vw, 1.55rem)/1.15 var(--f-head); text-transform: uppercase; }
.bring li span { display: block; }
@media (min-width: 860px) { .bring { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bring li:nth-last-child(2) { border-bottom: 0; } }

/* ---------- how a visit goes ---------- */
.visit-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; }
@media (min-width: 960px) { .visit-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; } }
.visit-photo { margin: 0 14px 0 0; }
.visit-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; box-shadow: 14px 14px 0 var(--mustard); }
.visit-photo figcaption { padding: 28px 0 0; font-size: 0.9375rem; color: #E4E0D6; }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 0 18px; padding: 20px 0; border-top: 2px solid rgba(250, 247, 240, 0.4); }
.steps li:first-child { border-top: 0; padding-top: 0; }
.steps li::before { content: counter(s, decimal-leading-zero); font: 400 2rem/1 var(--f-head); color: var(--mustard); }
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; }

/* ---------- hours and parking ---------- */
.hp-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
@media (min-width: 960px) { .hp-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; } }
.hours-panel { background: var(--paper); border: 4px solid var(--ink); }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: 14px 14px; border-top: 2px solid var(--ink); text-align: left; font-weight: 600; font-size: 1.0625rem; line-height: 1.3; vertical-align: baseline; }
.hours tr:first-child th, .hours tr:first-child td { border-top: 0; }
.hours td { text-align: right; white-space: nowrap; }
.hours .early th, .hours .early td { background: var(--mustard); }
.hours small { display: block; font-weight: 400; font-size: 0.875rem; }
.road { margin: 0 0 22px; }
.road img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border: 4px solid var(--ink); }
.road figcaption { margin-top: 10px; font-size: 0.9375rem; }
.parking h3 { margin-bottom: 8px; }

/* ---------- faq ---------- */
.faq { border-bottom: 3px solid var(--ink); }
.faq details { border-top: 3px solid var(--ink); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 76px; padding: 14px 0; list-style: none; cursor: pointer; font: 400 clamp(1.2rem, 2.6vw, 1.8rem)/1.15 var(--f-head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 3px solid var(--ink); font: 400 1.75rem/1 var(--f-head); }
.faq details[open] summary::after { content: "\2212"; background: var(--ink); color: var(--paper); }
.faq .ans { max-width: 46rem; padding: 0 0 26px; }
.faq .ans p:last-child { margin-bottom: 0; }

/* ---------- request form ---------- */
.req-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
@media (min-width: 960px) { .req-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; } }
.req-copy p { font-size: 1.1875rem; }
.req-lines { margin: 22px 0 0; padding: 18px 0 0; border-top: 4px solid var(--ink); list-style: none; }
.req-lines li { margin: 0 0 6px; }
.req-lines a { font-weight: 600; }
.form { background: var(--paper); border: 4px solid var(--ink); padding: clamp(20px, 4vw, 36px); box-shadow: 12px 12px 0 var(--ink); }
.field { margin: 0 0 20px; min-width: 0; }
.field > label, .field legend { display: block; margin-bottom: 8px; padding: 0; font-weight: 600; }
.opt { font-weight: 400; font-size: 0.9375rem; }
.hint { margin: 6px 0 0; font-size: 0.9375rem; line-height: 1.4; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"] { width: 100%; min-height: 52px; padding: 10px 12px; border: 3px solid var(--ink); border-radius: 0; background: #fff; color: var(--ink); font: inherit; }
fieldset.field { border: 0; padding: 0; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.choice { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 12px; border: 3px solid var(--ink); background: #fff; font-weight: 600; line-height: 1.2; cursor: pointer; }
.choice input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--rust); }
.choice:has(input:checked) { background: var(--mustard); }
.form .btn { width: 100%; flex: none; }
.notice { margin: 18px 0 0; padding: 12px 14px; border: 2px solid var(--ink); font-size: 0.9375rem; line-height: 1.45; }

/* ---------- footer ---------- */
.site-foot { background: var(--ink); color: var(--paper); padding: clamp(40px, 6vw, 72px) 0 32px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
@media (min-width: 860px) { .foot-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 3fr) minmax(0, 2fr); gap: 40px; } }
.site-foot .brand { color: var(--paper); }
.site-foot h2 { margin: 0 0 10px; font: 600 0.8125rem/1.2 var(--f-body); letter-spacing: 0.14em; color: var(--mustard); }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot a { display: inline-flex; align-items: center; min-height: 44px; }
.site-foot p { margin: 0 0 8px; }
.foot-fine { margin-top: 36px; padding-top: 20px; border-top: 2px solid rgba(250, 247, 240, 0.35); font-size: 0.9375rem; }

/* ---------- accessibility statement ---------- */
.page-hero { background: var(--mustard); padding: clamp(40px, 7vw, 88px) 0 clamp(28px, 4vw, 48px); border-bottom: 3px solid var(--ink); }
.page-hero h1 { margin: 0 0 16px; font: 400 clamp(2.25rem, 8vw, 6rem)/0.95 var(--f-head); text-transform: uppercase; }
.page-hero .lede { margin: 0; }
.statement { max-width: 50rem; }
.statement h2 { margin: 1.6em 0 0.5em; font: 400 clamp(1.4rem, 3vw, 1.9rem)/1.1 var(--f-head); }
.statement h2:first-child { margin-top: 0; }
.statement li { margin-bottom: 0.4em; }
.reviewed { margin-top: 2em; font-size: 0.9375rem; }
