/* =========================================================
   Generated pages: Clinical care, Answers, Eyewear, Team.
   Builds on style.css (tokens, header, footer, buttons, people).
   ========================================================= */

.site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.mobile-menu nav a[aria-current="page"] { color: var(--gold); }

/* ---------- breadcrumbs ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 13px; letter-spacing: .04em; color: var(--muted-light); margin-bottom: 22px; }
.crumbs li + li::before { content: "/"; margin-right: 10px; opacity: .6; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--cream-text); text-decoration: underline; text-underline-offset: 4px; }
.crumbs [aria-current] { max-width: 42ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ahero .crumbs ol { color: var(--muted-dark); }
.ahero .crumbs a:hover { color: var(--ink); }
.ahero .phero__kicker { color: var(--sunset); }

/* ---------- poster hero ---------- */
.phero {
  position: relative; min-height: min(86svh, 860px); display: flex; align-items: flex-end;
  background: var(--ink); color: var(--cream-text); overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + var(--notice-h) + 60px) 0 clamp(48px, 7vw, 96px);
}
.phero--tall { min-height: 94svh; }
.phero__media { position: absolute; inset: 0; z-index: -2; }
.phero__shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(20,30,38,.5) 0%, rgba(20,30,38,.22) 45%, rgba(20,30,38,0) 72%),
  linear-gradient(to top, rgba(20,30,38,.9) 0%, rgba(20,30,38,.6) 40%, rgba(20,30,38,.32) 70%, rgba(20,30,38,.5) 100%); }
.phero .crumbs ol { color: rgba(246,239,226,.84); }
.phero__kicker { font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.phero__title { font-family: var(--serif); font-weight: var(--serif-wght); font-synthesis: none; font-size: clamp(50px, 8vw, 136px); line-height: 1.04; letter-spacing: -.016em; max-width: 14ch; }
.phero__title em { color: var(--gold); }
.phero__title--dark { color: var(--ink); }
.phero__title--dark em { color: var(--sunset); }
.phero__title--q { font-size: clamp(40px, 5.6vw, 92px); max-width: 18ch; line-height: 1.04; }
.phero__lede { max-width: 54ch; margin-top: 24px; font-size: clamp(17px, 1.3vw, 21px); color: rgba(246,239,226,.86); }
.phero .actions { margin-top: 30px; }

/* ---------- sections ---------- */
.psection { padding: clamp(80px, 10vw, 150px) 0; }
.psection--tint { background: var(--paper-2); }
.psection--flush { padding-top: clamp(24px, 3vw, 40px); }
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.split .display-s { margin-bottom: 18px; }
.actions--end { justify-content: flex-end; align-self: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .actions--end { justify-content: flex-start; } }
.muted-light { color: var(--muted-light); }
.disclaimer { margin-top: 40px; max-width: 60ch; }

/* ---------- service cards (postcards) ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 40px); margin-bottom: clamp(56px, 7vw, 90px); }
@media (max-width: 1000px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } }
.svc-card a { position: relative; display: flex; flex-direction: column; height: 100%; text-decoration: none; background: #f8f2e6; padding: clamp(26px, 2.6vw, 38px) clamp(24px, 2.4vw, 34px) clamp(24px, 2.4vw, 32px); border-radius: 6px; border-top: 3px solid rgba(20,30,38,.12); box-shadow: 0 30px 60px -38px rgba(20,30,38,.55); transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .6s var(--ease); }
.svc-card a:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: 0 40px 70px -36px rgba(20,30,38,.6); border-top-color: var(--sunset); }
.svc-card--urgent a { border-top-color: var(--sunset); }
/* Sits in the corner so every card's title lines up. */
.svc-card__no { position: absolute; top: clamp(26px, 2.6vw, 38px); right: clamp(24px, 2.4vw, 34px); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--sunset); line-height: 1.6; }
.svc-card__title { font-family: var(--serif); font-weight: var(--serif-wght); font-synthesis: none; font-size: clamp(28px, 2.4vw, 38px); line-height: 1.02; margin: 0 0 14px; padding-right: 0; }
.svc-card--urgent .svc-card__title { padding-right: 96px; }
.svc-card__text { color: var(--muted-dark); font-size: .95em; flex: 1; }
.svc-card__more { margin-top: 24px; font-weight: 600; font-size: 14px; }
.svc-card__more i { display: inline-block; font-style: normal; transition: transform .4s var(--ease); }
.svc-card a:hover .svc-card__more i { transform: translateX(6px); }

/* ---------- detail layout ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.detail__aside { position: sticky; top: calc(var(--header-h) + var(--notice-h) + 24px); display: grid; gap: 20px; }
@media (max-width: 900px) { .detail { grid-template-columns: 1fr; } .detail__aside { position: static; } }
.detail__main .mini { margin-top: 8px; }
.detail__main .notice { margin-bottom: 40px; }
.ticks { display: grid; gap: 12px; margin-bottom: 48px; }
.ticks li { position: relative; padding-left: 34px; font-size: 1.05em; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 18px; height: 10px; border-left: 2px solid var(--sunset); border-bottom: 2px solid var(--sunset); transform: rotate(-45deg) translateY(-4px); }
.steps { counter-reset: step; display: grid; gap: 0; margin-bottom: 48px; border-top: 1px solid rgba(20,30,38,.2); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(20,30,38,.2); }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--serif); font-weight: var(--serif-wght); font-synthesis: none; font-size: 30px; line-height: 1; color: var(--sunset); }
.prose p { max-width: 64ch; margin-bottom: 1.1em; }
.prose--policy { max-width: 72ch; padding-bottom: clamp(60px, 8vw, 120px); }
.prose--policy h2 { font-family: var(--serif); font-weight: var(--serif-wght); font-synthesis: none; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; margin: 1.8em 0 .5em; }
.prose--policy h2:first-child { margin-top: 0; }
.prose--policy h2.prose__sub { font-size: clamp(21px, 1.8vw, 25px); margin-top: 1.5em; }
.prose--policy address { font-style: normal; margin: 0 0 1.1em; padding-left: 18px; border-left: 2px solid var(--sunset); }
.prose--policy ul { max-width: 64ch; margin: 0 0 1.1em; padding-left: 1.2em; }
.prose--policy li { margin-bottom: .45em; }
.prose--policy li::marker { color: var(--sunset); }
.prose--policy a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.policy-table { margin: .4em 0 1.4em; }
.policy-table table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.policy-table th { text-align: left; font-weight: 600; padding: 0 12px 10px 0; border-bottom: 2px solid currentColor; vertical-align: bottom; }
.policy-table td { padding: 12px 12px 12px 0; border-bottom: 1px solid rgba(127,127,127,.35); vertical-align: top; }
.policy-table td:first-child { font-weight: 600; }
@media (max-width: 720px) {
  .policy-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .policy-table table, .policy-table tbody, .policy-table tr, .policy-table td { display: block; }
  .policy-table tr { padding: 14px 0; border-bottom: 1px solid rgba(127,127,127,.35); }
  .policy-table td { border: 0; padding: 2px 0; }
  .policy-table td:not(:first-child)::before { content: attr(data-label) ": "; font-weight: 600; }
}
.aside-card { background: #f8f2e6; border-radius: 10px; padding: 24px 24px 26px; box-shadow: 0 30px 60px -44px rgba(20,30,38,.5); }
.aside-card--plain { background: transparent; box-shadow: none; border: 1px solid rgba(20,30,38,.2); }
.aside-card .arrow-link { margin-top: 18px; }
.aside-poster { display: grid; gap: 6px; text-decoration: none; background: #f8f2e6; padding: 12px 12px 20px; border-radius: 6px; box-shadow: 0 30px 60px -40px rgba(20,30,38,.55); }
.aside-poster__img { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 3px; margin-bottom: 12px; }
.aside-poster .mini, .aside-poster strong, .aside-poster .arrow-link { margin-left: 8px; justify-self: start; }
.aside-poster strong { font-family: var(--serif); font-weight: var(--serif-wght); font-synthesis: none; font-size: 30px; line-height: 1; }
.aside-poster .mini { margin-bottom: 0; color: var(--sunset); }
.aside-poster--text { padding-top: 22px; }

/* question link lists */
.qlist { border-top: 1px solid rgba(20,30,38,.2); }
.qlist a { display: flex; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px solid rgba(20,30,38,.2); text-decoration: none; font-weight: 500; }
.qlist i { font-style: normal; transition: transform .4s var(--ease); }
.qlist a:hover i { transform: translateX(6px); }
.qlist a:hover span { text-decoration: underline; text-underline-offset: 4px; }

.chip-list { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-list a { display: inline-block; padding: 12px 20px; border: 1px solid rgba(20,30,38,.35); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px; transition: background .4s var(--ease), color .4s var(--ease); }
.chip-list a:hover { background: var(--ink); color: var(--paper); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: var(--cream-text); padding: clamp(70px, 9vw, 130px) 0; }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 32px; }
.cta-band .display-s { font-size: clamp(44px, 5.4vw, 92px); line-height: .95; }
.cta-band .display-s em { color: var(--gold); }

/* ---------- answers ---------- */
.ahero { padding: calc(var(--header-h) + var(--notice-h) + clamp(40px, 6vw, 90px)) 0 clamp(50px, 6vw, 90px); }
.ahero__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.ahero__lede { max-width: 52ch; margin: 24px 0 32px; font-size: clamp(17px, 1.3vw, 21px); }
.ahero__chart { justify-self: center; width: min(100%, 380px); background: #fbf7ef; padding: 14px; border-radius: 4px; box-shadow: 0 50px 90px -50px rgba(20,30,38,.6); transform: rotate(2deg); }
.ahero__img { width: 100%; }
@media (max-width: 900px) { .ahero__grid { grid-template-columns: 1fr; } .ahero__chart { width: min(70%, 300px); } }
.ahero--q { padding-bottom: clamp(30px, 4vw, 50px); }
.qgroup { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 24px clamp(32px, 5vw, 80px); padding: 40px 0 56px; border-top: 1px solid rgba(20,30,38,.25); }
.qgroup__title { font-family: var(--serif); font-weight: var(--serif-wght); font-synthesis: none; font-size: clamp(32px, 3vw, 48px); line-height: 1; }
.qgroup__items { display: grid; gap: 40px; }
.qa h3 { font-family: var(--serif); font-weight: var(--serif-wght); font-synthesis: none; font-size: clamp(26px, 2.2vw, 34px); line-height: 1.08; margin-bottom: 10px; }
.qa h3 a { text-decoration: none; }
.qa h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.qa p { max-width: 64ch; color: var(--muted-dark); }
@media (max-width: 800px) { .qgroup { grid-template-columns: 1fr; } }
.direct { font-family: var(--serif); font-weight: var(--serif-wght); font-synthesis: none; font-size: clamp(26px, 2.5vw, 38px); line-height: 1.22; margin-bottom: 36px; padding-left: 22px; border-left: 3px solid var(--sunset); }

/* ---------- eyewear ---------- */
.lab { max-width: 1100px; margin-bottom: clamp(60px, 8vw, 110px); }
.lab__text { font-family: var(--serif); font-weight: var(--serif-wght); font-synthesis: none; font-size: clamp(32px, 3.8vw, 64px); line-height: 1.05; letter-spacing: -.01em; }
.lab__text em { color: var(--sunset); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(24px, 4vw, 60px); }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }
.feature { padding: 26px 0 34px; border-top: 1px solid rgba(20,30,38,.25); }
.feature__no { font-size: 12px; font-weight: 700; letter-spacing: .18em; color: var(--sunset); }
.feature__title { font-family: var(--serif); font-weight: var(--serif-wght); font-synthesis: none; font-size: clamp(26px, 2.2vw, 34px); line-height: 1.05; margin: 8px 0 10px; }
.feature p { color: var(--muted-dark); }
.brands-band { background: var(--ink); color: var(--cream-text); padding: clamp(90px, 11vw, 160px) 0; }
.brand-wall { display: flex; flex-wrap: wrap; gap: 6px clamp(18px, 2.4vw, 40px); margin-bottom: 32px; }
.brand-wall li { font-family: var(--serif); font-weight: var(--serif-wght); font-synthesis: none; font-size: clamp(34px, 4.6vw, 76px); line-height: 1.1; color: rgba(246,239,226,.9); transition: color .4s var(--ease); }
.brand-wall li:nth-child(odd) { font-style: italic; }
.brand-wall li:hover { color: var(--gold); }
.brand-wall .brand-wall__more { align-self: flex-end; font-style: italic; font-size: clamp(20px,2vw,30px); padding-bottom: .35em; color: rgba(246,239,226,.6); }
.brand-wall .brand-wall__more:hover { color: rgba(246,239,226,.6); }
.team__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: clamp(36px, 5vw, 64px); }
.team__head .label { margin-bottom: 0; width: 100%; }

/* ---------- team ---------- */
.doc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: clamp(28px, 5vw, 90px); align-items: start; padding: clamp(40px, 5vw, 70px) 0; border-top: 1px solid rgba(20,30,38,.22); }
.doc:first-of-type { border-top: 0; padding-top: 0; }
.doc__photo { max-width: 420px; }
.doc__name { font-family: var(--serif); font-weight: var(--serif-wght); font-synthesis: none; font-size: clamp(40px, 4.4vw, 72px); line-height: .95; letter-spacing: -.015em; }
.doc__text > .person__role { margin: 8px 0 22px; }
.doc__text > p:not(.person__role) { max-width: 62ch; margin-bottom: 1em; }
@media (max-width: 760px) { .doc { grid-template-columns: 1fr; } .doc__photo { max-width: 300px; } }

/* ---------- footer on subpages ---------- */
.footer--page { padding-top: clamp(90px, 11vw, 160px); }
.footer--page .footer__bottom { margin-top: clamp(60px, 8vw, 110px); }
.footer--quiet { padding-top: clamp(56px, 7vw, 96px); }
.footer--quiet .footer__bottom { margin-top: 0; padding-top: 0; border-top: 0; }
.footer__small a { text-decoration: none; }

/* =========================================================
   Motion (JS-only initial states; reduced motion shows everything)
   ========================================================= */
html.js:not(.reduced) .page { --hero-delay: .05s; }
html.js:not(.reduced).plate-in .page { --hero-delay: .5s; }
html.js:not(.reduced) .phero .layer--sharp { animation: hero-focus 2.2s cubic-bezier(.45, 0, .2, 1) calc(var(--hero-delay) + .15s) both; }
html.js:not(.reduced) .phero .layer--blur { animation: hero-settle 2.6s cubic-bezier(.2, .7, .1, 1) var(--hero-delay) both; }
html.js:not(.reduced) .page .phero__title { animation: hero-in 1.2s cubic-bezier(.16, 1, .3, 1) calc(var(--hero-delay) + .2s) both; }
html.js:not(.reduced) .page .phero__lede[data-hero-in],
html.js:not(.reduced) .page .ahero__lede[data-hero-in] { animation-delay: calc(var(--hero-delay) + .4s); }
html.js:not(.reduced) .page .actions[data-hero-in],
html.js:not(.reduced) .page .direct[data-hero-in] { animation-delay: calc(var(--hero-delay) + .5s); }
html.js:not(.reduced) .page .ahero__chart[data-hero-in] { animation: chart-in 1.6s cubic-bezier(.16, 1, .3, 1) calc(var(--hero-delay) + .3s) both; }
@keyframes chart-in { from { opacity: 0; transform: rotate(6deg) translateY(40px); filter: blur(10px); } to { opacity: 1; transform: rotate(2deg); filter: blur(0); } }

html.js:not(.reduced) [data-reveal] { opacity: 0; transform: translateY(40px); }
html.js:not(.reduced) [data-reveal].is-in { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
/* Postcards pull into focus as they arrive */
html.js:not(.reduced) [data-reveal] .layer--sharp { opacity: 0; }
html.js:not(.reduced) [data-reveal].is-in .layer--sharp { opacity: 1; transition: opacity 1.4s var(--ease) .25s, transform 1.2s var(--ease); }

/* ---------- phones ---------- */
@media (max-width: 600px) {
  /* Busy illustrations: show only a one-tap link back to the parent page, and darken the shade. */
  .phero .crumbs li { display: none; }
  .phero .crumbs li:nth-last-child(2) { display: block; }
  .phero .crumbs li:nth-last-child(2)::before { content: "←"; margin-right: 8px; opacity: 1; }
  .phero .crumbs a { display: inline-block; padding: 10px 0; }
  .phero .crumbs ol { margin-bottom: 8px; }
  .phero__shade { background: linear-gradient(to top, rgba(20,30,38,.94) 0%, rgba(20,30,38,.78) 45%, rgba(20,30,38,.35) 75%, rgba(20,30,38,.5) 100%); }
  .aside-poster__img { aspect-ratio: 16 / 9; }
}

/* ---------- web forms (/request-appointment/, /order-contacts/) ---------- */
.form { display: grid; gap: clamp(28px, 3vw, 40px); margin-top: 8px; }
.form__section { border: 0; margin: 0; padding: 0; min-width: 0; }
.form__section > legend { padding: 0; margin-bottom: 18px; color: var(--sunset); }
.form__section[hidden] { display: none; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 18px; }
.field { grid-column: 1 / -1; display: grid; gap: 7px; min-width: 0; border: 0; margin: 0; padding: 0; }
.field--half { grid-column: span 1; }
@media (max-width: 560px) { .form__grid { grid-template-columns: 1fr; } .field--half { grid-column: 1 / -1; } }
.field[hidden] { display: none; }
.field__label { font-weight: 600; font-size: 16px; line-height: 1.35; padding: 0; }
.field__opt { font-weight: 400; color: var(--muted-dark); }
.field__hint { font-size: 15px; color: var(--muted-dark); margin-top: -2px; }
.field input:not([type="radio"]):not([type="checkbox"]), .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px;
  font: 400 17px/1.4 var(--sans); color: var(--ink);
  background: #fbf7ef; border: 1px solid rgba(20,30,38,.32); border-radius: 8px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 128px; resize: vertical; }
.field select { appearance: none; -webkit-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) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--sunset); box-shadow: 0 0 0 3px rgba(47,92,136,.22); border-radius: 8px; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 8px 16px 8px 12px; border: 1px solid rgba(20,30,38,.28); border-radius: 999px; background: #fbf7ef; cursor: pointer; font-size: 16px; line-height: 1.3; transition: border-color .2s, background-color .2s; }
.choice:hover { border-color: rgba(20,30,38,.55); }
.choice input { width: 20px; height: 20px; margin: 0; accent-color: var(--sunset); flex: none; }
.choice:has(input:checked) { border-color: var(--sunset); background-color: rgba(47,92,136,.08); }
.choice:has(input:focus-visible) { outline: 2px solid var(--sunset); outline-offset: 2px; }
.field.is-invalid input:not([type="radio"]):not([type="checkbox"]), .field.is-invalid select, .field.is-invalid textarea, .field.is-invalid .choice { border-color: #a3352b; }
.field__error { color: #a3352b; font-size: 15px; font-weight: 600; }
.form__status { padding: 14px 18px; border-radius: 8px; background: rgba(163,53,43,.08); border: 1px solid rgba(163,53,43,.35); color: #7d271f; font-weight: 600; }
.form__status:focus-visible { outline: 2px solid var(--sunset); }
.form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__turnstile { min-height: 65px; }
.form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.form__submit .btn[disabled] { opacity: .55; pointer-events: none; }
.form__done { padding: clamp(28px, 4vw, 48px); background: #f8f2e6; border-radius: 10px; box-shadow: 0 30px 60px -44px rgba(20,30,38,.5); display: grid; gap: 14px; }
.form__done:focus { outline: none; }
.form__done[hidden], .form[hidden], .form__status[hidden], .field__error[hidden] { display: none; }

/* ---------- answer diagrams (assets/diagrams) ---------- */
.dfig { margin: 0 0 44px; }
.dfig__plate { background: #ece2cf; border: 1px solid rgba(20,30,38,.14); border-radius: 6px; padding: clamp(14px, 2.4vw, 28px); box-shadow: inset 0 0 0 6px rgba(246,239,226,.55); }
.dfig__cap { margin-top: 14px; font-size: 15px; line-height: 1.55; color: var(--muted-dark); max-width: 62ch; }
.dfig__cap .mini { margin-right: 8px; color: var(--sunset); }
.diagram { display: block; width: 100%; height: auto; overflow: hidden; }
.diagram--narrow { display: none; max-width: 520px; margin-inline: auto; }
@media (max-width: 640px) { .diagram--wide { display: none; } .diagram--narrow { display: block; } }
.diagram .dg-l { font-family: var(--serif); font-style: italic; font-size: 17px; fill: var(--ink); }
.diagram .dg-s { font-family: var(--sans); font-size: 13px; fill: rgba(20,30,38,.7); }
.diagram .dg-k { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; fill: var(--sunset); }
.diagram .dg-leader { fill: none; stroke: var(--ink); stroke-width: 1; opacity: .6; }
.diagram .dg-leader--solid { opacity: 1; }
.diagram .dg-dot { fill: var(--ink); }
.diagram .dg-halo { fill: none; stroke: var(--cream-text); stroke-width: 3; opacity: .7; }
.diagram .dg-halo-dot { fill: var(--cream-text); }
.diagram .dg-dim { fill: none; stroke: var(--ink); stroke-width: 1.2; }
/* eye, side view */
.diagram .dg-globe { fill: var(--cream-text); stroke: var(--ink); stroke-width: 2; }
.diagram .dg-retina { fill: none; stroke: #a9473a; stroke-width: 5; stroke-linecap: round; }
.diagram .dg-nerve { fill: #e2b674; stroke: var(--ink); stroke-width: 1.6; }
.diagram .dg-iris { stroke: var(--sea); stroke-width: 6; stroke-linecap: round; }
.diagram .dg-lens { fill: var(--gold); stroke: var(--ink); stroke-width: 1.6; }
.diagram .dg-ray { fill: none; stroke: var(--sunset); stroke-width: 1.6; stroke-linejoin: round; }
.diagram .dg-focus { fill: #d9a459; stroke: var(--ink); stroke-width: 1.4; }
.diagram .dg-blur { stroke: #d9a459; stroke-width: 8; stroke-linecap: round; opacity: .85; }
/* retina, front view */
.diagram .dg-field-wide { fill: none; stroke: var(--gold); stroke-width: 3; }
.diagram .dg-field-std { fill: none; stroke: var(--cream-text); stroke-width: 2.5; stroke-dasharray: 7 6; }
.diagram .dg-key-wide { fill: #c8774c; stroke: var(--sunset); stroke-width: 3; }
.diagram .dg-key-std { fill: #c8774c; stroke: var(--cream-text); stroke-width: 2.5; stroke-dasharray: 5 4; }
/* eyelid, side view */
.diagram .dg-eye { fill: var(--cream-text); stroke: var(--ink); stroke-width: 2; }
.diagram .dg-tears { fill: none; stroke: var(--gold); stroke-width: 9; opacity: .9; }
.diagram .dg-oil { fill: none; stroke: #d9a459; stroke-width: 3; }
.diagram .dg-lid { fill: #edcfa8; stroke: var(--ink); stroke-width: 2; }
.diagram .dg-tarsus { fill: #e9dcc4; stroke: var(--ink); stroke-width: 1.2; }
.diagram .dg-duct { stroke: #d9a459; stroke-width: 6; stroke-linecap: round; }
.diagram .dg-acinus { fill: #e2b674; stroke: #8a6a3c; stroke-width: .9; }
.diagram .dg-plug { fill: #f6e7b8; stroke: var(--ink); stroke-width: 1.4; }
.diagram .dg-lash { fill: none; stroke: var(--ink); stroke-width: 3.2; stroke-linecap: round; }
.diagram .dg-follicle { fill: #c98a6e; stroke: var(--ink); stroke-width: 1.2; }
.diagram .dg-crust { fill: #e9d29a; stroke: #8a6a3c; stroke-width: 1.2; }
/* lens, macula, tear film, detachment, OCT */
.diagram .dg-cl { fill: #dbe8f2; stroke: var(--ink); stroke-width: 2; }
.diagram .dg-ring { fill: var(--gold); stroke: var(--sunset); stroke-width: .8; }
.diagram .dg-ring-alt { fill: #cfe0ee; stroke: var(--sunset); stroke-width: .8; }
.diagram .dg-clear { fill: var(--cream-text); stroke: var(--sunset); stroke-width: 1.2; }
.diagram .dg-cl-side { fill: var(--gold); stroke: var(--sunset); stroke-width: 1.2; opacity: .9; }
.diagram .dg-ray-t { fill: none; stroke: #c0782f; stroke-width: 1.6; stroke-dasharray: 5 3; }
.diagram .dg-focus-t { fill: var(--cream-text); stroke: #c0782f; stroke-width: 2; }
.diagram .dg-choroid { fill: #b5583f; }
.diagram .dg-cvessel { fill: #8a2f26; stroke: #6b2019; stroke-width: 1; }
.diagram .dg-nretina { fill: #edcfb3; stroke: var(--ink); stroke-width: 1.4; }
.diagram .dg-photo { fill: #e6bfa0; }
.diagram .dg-cone { stroke: #a9473a; stroke-width: 1.2; opacity: .55; }
.diagram .dg-rpe { fill: none; stroke: #5b3324; stroke-width: 7; }
.diagram .dg-bruch { stroke: var(--ink); stroke-width: 1.6; }
.diagram .dg-drusen { fill: #edd27c; stroke: #8a6a3c; stroke-width: 1.2; }
.diagram .dg-fluid { fill: var(--gold); stroke: var(--sunset); stroke-width: 1.2; }
.diagram .dg-blood { fill: #7a1f18; opacity: .85; }
.diagram .dg-cnv { fill: none; stroke: #8a1f18; stroke-width: 2.6; stroke-linecap: round; }
.diagram .dg-frame { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.diagram .dg-cornea { fill: #efe3cc; }
.diagram .dg-cell { fill: var(--cream-text); stroke: #8a6a3c; stroke-width: 1; }
.diagram .dg-cell-sore { fill: #e3a08c; stroke: #a9473a; stroke-width: 1.2; }
.diagram .dg-mucin { fill: #d6c7e0; }
.diagram .dg-water { fill: var(--gold); }
.diagram .dg-oil-layer { fill: #d9a459; }
.diagram .dg-evap { fill: none; stroke: var(--sunset); stroke-width: 1.6; stroke-linecap: round; }
.diagram .dg-evap-head { fill: none; stroke: var(--sunset); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.diagram .dg-wall { fill: none; stroke: #a9473a; stroke-width: 2; stroke-dasharray: 3 3; opacity: .7; }
.diagram .dg-flow { fill: none; stroke: var(--sunset); stroke-width: 1.8; stroke-dasharray: 4 3; }
.diagram .dg-floater { fill: #394956; opacity: .75; }
.diagram .dg-floater-s { fill: none; stroke: #394956; stroke-width: 1.6; opacity: .7; }
.diagram .dg-curtain { fill: var(--ink); opacity: .82; }
.diagram .dg-gel { fill: #dbe8f2; opacity: .7; }
.diagram .dg-thread { fill: none; stroke: #394956; stroke-width: 2; stroke-linecap: round; opacity: .7; }
.diagram .dg-cone-sh { fill: #394956; opacity: .14; }
.diagram .dg-shadow { fill: none; stroke: #22313d; stroke-width: 7; stroke-linecap: round; opacity: .8; }
.diagram .dg-aura-ink { fill: none; stroke: var(--ink); stroke-width: 6.5; stroke-linejoin: round; stroke-linecap: round; opacity: .45; }
.diagram .dg-aura { fill: none; stroke: var(--cream-text); stroke-width: 4; stroke-linejoin: round; stroke-linecap: round; }
.diagram .dg-aura-c0 { fill: none; stroke: #d9a459; stroke-width: 2.4; stroke-linecap: round; }
.diagram .dg-aura-c1 { fill: none; stroke: #c0782f; stroke-width: 2.4; stroke-linecap: round; }
.diagram .dg-scotoma { fill: #e4ddcf; }
.diagram .dg-fix { fill: none; stroke: var(--ink); stroke-width: 2; }
.diagram .dg-flash { fill: var(--cream-text); stroke: #d9a459; stroke-width: 1.4; }
.diagram .dg-scan { stroke: var(--cream-text); stroke-width: 3; }
.diagram .dg-scan-head { fill: none; stroke: var(--cream-text); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.diagram .dg-oct-nfl { fill: #e2b674; }
.diagram .dg-oct-inner { fill: #e3c2a6; }
.diagram .dg-oct-onl { fill: #f3e6d2; }
.diagram .dg-oct-pr { fill: #c98a6e; }
.diagram .dg-oct-surf { fill: none; stroke: var(--ink); stroke-width: 1.4; }
.diagram .dg-oct-os { fill: #f3e6d2; }
/* Phones: breadcrumb links get a comfortable tap height. */
@media (max-width: 720px) { .crumbs a { display: inline-block; padding: 10px 0; } .crumbs ol { row-gap: 0; align-items: center; } }

/* Answers index: a row of topic links under the intro. */
.topic-jump { margin-top: 28px; }
.topic-jump .chip-list { gap: 8px; }
.topic-jump .chip-list a { padding: 10px 16px; font-size: 14px; }
.qgroup { scroll-margin-top: calc(var(--header-h) + 16px); }
@media (max-width: 600px) { .ahero__chart { width: min(48%, 190px); } }

/* Urgent care hero: open or closed right now, from the same hours as the homepage. */
.hero-status { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 15px; font-weight: 600; color: var(--cream-text); }
.hero-status .record__dot { background: rgba(246,239,226,.45); }
.hero-status.is-open .record__dot { background: #3fb67a; }

/* Today's urgent appointment status (js/today.js; built-in wording until /api/today answers) */
.today { display: flex; gap: 12px; align-items: flex-start; max-width: 60ch; margin: 0 0 18px; padding: 14px 18px; border-radius: 10px; background: #f8f2e6; box-shadow: 0 24px 50px -40px rgba(20,30,38,.5); font-size: 16px; line-height: 1.5; }
.today__dot { width: 10px; height: 10px; margin-top: 7px; border-radius: 50%; flex: none; background: rgba(20,30,38,.3); }
.today[data-state="available"] .today__dot { background: #2d9a63; }
.today[data-state="limited"] .today__dot { background: #c98a12; }
.today[data-state="full"] .today__dot { background: var(--sunset); }
.today a { font-weight: 700; }
.today__sample { color: var(--muted-dark); font-size: 13px; }

/* "How soon" card on the request page (from the nightly feed) */
.soon { margin: 4px 0 14px; display: grid; }
.soon div { display: grid; gap: 2px; padding: 10px 0; border-bottom: 1px solid rgba(20,30,38,.14); }
.soon div:first-child { padding-top: 0; }
.soon dt { font-size: 13px; color: var(--muted-dark); }
.soon dd { margin: 0; font-weight: 600; }
