/* Eye Associates of Miami: styles shared by every patient page (index.html, careers.html). */
/* Font hosted on this site (no calls to Google when the page loads) */
@font-face {
  font-family: Manrope;
  src: url(fonts/manrope-latin.woff2) format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
:root {
  --bg: #ffffff;
  --bg-2: #f3f7fa;
  --sky: #e6f0f6;
  --ink: #1d2730;
  --soft: #5d6b76;
  --line: #e3e9ee;
  --card: #ffffff;
  --accent: #7a2a3c;
  --accent-hover: #5f1f2e;
  --accent-ink: #ffffff;
  --accent-tint: #f6ecee;
  --sky-line: #8fb4cc;   /* edge + bullets on sky-blue boxes */
  --sky-ink: #4b7896;
  --shadow: 0 8px 24px rgba(29, 39, 48, .07);
}
:root { color-scheme: light; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.65 Manrope, system-ui, -apple-system, sans-serif; }
a { color: var(--accent); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Header: nav left, logo centered, call button right */
header { background: #fff; border-bottom: 1px solid #e3e9ee; position: sticky; top: 0; z-index: 10; }
header .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 104px; gap: 20px; }
header .btn { justify-self: end; }
.logo { width: 230px; aspect-ratio: 960 / 372; overflow: hidden; display: block; }
.logo img { width: 100%; height: auto; display: block; }

/* Accessibility: visible keyboard focus + skip link */
:focus-visible { outline: 3px solid #1f6fb2; outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: #1d2730; color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
nav { display: flex; gap: 24px; }
nav a { color: #5d6b76; font-weight: 600; font-size: 15px; text-decoration: none; }
nav a:hover { color: #7a2a3c; }

.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); padding: 12px 22px; border-radius: 10px; font-weight: 700; text-decoration: none; transition: background .15s; }
.btn:hover { background: var(--accent-hover); }
header .btn { background: #7a2a3c; color: #fff; padding: 10px 18px; font-size: 15px; }
header .btn:hover { background: #5f1f2e; }
.ghost { background: var(--card); color: var(--ink); border: 1px solid var(--line); }
.ghost:hover { background: var(--bg-2); }

/* Hero */
.hero { background: linear-gradient(180deg, var(--sky), var(--bg)); }
.hero .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; padding-top: 80px; padding-bottom: 72px; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.06; letter-spacing: -.025em; margin: 0 0 18px; font-weight: 800; }
.hero p { color: var(--soft); font-size: 18px; margin: 0 0 28px; max-width: 32em; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.info { background: var(--card); border-radius: 18px; box-shadow: var(--shadow); padding: 8px 26px; }
.info h2 { font-size: 16px; margin: 14px 0 0; letter-spacing: 0; }
.info .row { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.info .row:last-child { border-bottom: 0; }
.info span { color: var(--soft); }
.info strong { text-align: right; }

/* Sections */
section { padding: 76px 0; scroll-margin-top: 118px; }
/* Word placement: headings break into even lines; paragraphs avoid a lone last word */
h1, h2, h3, summary { text-wrap: balance; }
p, li, dd, .sub { text-wrap: pretty; }
h3 { line-height: 1.3; }
h2 { font-size: clamp(28px, 3.4vw, 36px); letter-spacing: -.015em; line-height: 1.15; margin: 0 0 10px; font-weight: 800; }
.sub { color: var(--soft); margin: 0 0 36px; max-width: 34em; }
.alt { background: var(--bg-2); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile { background: var(--bg-2); border-radius: 16px; padding: 26px; }
.alt .tile { background: var(--card); box-shadow: var(--shadow); }
.tile h3 { margin: 0 0 6px; font-size: 18px; }
.tile p { margin: 0; color: var(--soft); font-size: 15px; }
.services { grid-template-columns: repeat(2, 1fr); }
.list { margin: 8px 0 0; padding-left: 18px; color: var(--soft); font-size: 15px; }
.list li { padding: 2px 0; }
.list li::marker { color: var(--accent); }
.tile .note { margin-top: 12px; color: var(--ink); font-weight: 600; }
.doc h3 { font-size: 20px; }
.doc .doc-bio { margin-top: 12px; color: var(--ink); font-size: 15px; line-height: 1.55; }
.doc .initials { width: 56px; height: 56px; border-radius: 50%; background: var(--sky); color: var(--ink); display: grid; place-items: center; font-weight: 800; margin-bottom: 16px; }

.ins { display: grid; grid-template-columns: 1fr; gap: 20px; }
.ins .sub { max-width: 640px; }
/* Desktop: title + intro on top, plan groups in two columns below (phones: one column) */
.ins ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ins li { background: var(--bg-2); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: 15px; }
/* Insurance groups + notes (filled from the admin feed) */
.grp { border-top: 1px solid var(--line); padding: 14px 0; }
.grp:first-child { border-top: 0; padding-top: 0; }
.grp h3 { margin: 0 0 8px; font-size: 16px; color: var(--accent); font-weight: 800; }
.grp h3 .hint { display: block; font-size: 13px; font-weight: 600; color: var(--soft); margin-top: 1px; }
.ins .fine { margin: 8px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--soft); }
.ins-note { margin-top: 16px; background: #fbf3f5; border-left: 4px solid var(--accent); border-radius: 10px; padding: 12px 14px; }
.ins-note h3 { margin: 0 0 4px; font-size: 16px; color: var(--accent); }
.ins-note p { margin: 0; font-size: 14.5px; line-height: 1.5; }
.ins-note p + p, .ins-note ul + p, .ins-note p + ul { margin-top: 8px; }
.ins .ins-note ul { display: block; margin: 6px 0 0; padding-left: 18px; list-style: disc; font-size: 14.5px; line-height: 1.5; }
.ins .ins-note li { background: none; border-radius: 0; padding: 0; margin-bottom: 4px; font-weight: 500; font-size: inherit; }
.ins-note.why { background: var(--bg-2); border-left-color: var(--soft); }
.ins-note.why h3 { color: var(--ink); }
/* Desktop: one row per group, name on the left, plans as a line of text on the right;
   explainer boxes side by side below. Phones keep the compact bubbles. */
@media (min-width: 861px) {
  .ins { gap: 28px; }
  .ins h2 { margin-bottom: 12px; }
  .ins .sub { font-size: 17px; line-height: 1.6; }
  .ins-groups { border-top: 1px solid var(--line); }
  .ins-groups .grp { display: grid; grid-template-columns: 280px minmax(0, 760px); column-gap: 56px; padding: 26px 0; border-top: 0; border-bottom: 1px solid var(--line); }
  .ins-groups .grp h3 { grid-column: 1; grid-row: 1 / span 2; margin: 0; font-size: 17px; line-height: 1.4; }
  .ins-groups .grp h3 .hint { margin-top: 6px; font-size: 14px; line-height: 1.4; }
  .ins .ins-groups ul { grid-column: 2; display: block; font-size: 16.5px; line-height: 1.6; }
  .ins .ins-groups li { display: inline-block; white-space: nowrap; background: none; border-radius: 0; padding: 2px 0; font-weight: 500; font-size: inherit; }
  .ins .ins-groups li:not(:last-child)::after { content: "\00b7"; color: var(--soft); margin: 0 .8em; }
  .ins-groups .grp .fine { grid-column: 2; margin-top: 10px; font-size: 14.5px; line-height: 1.5; max-width: 640px; }
  .ins-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 48px; align-items: stretch; }
  .ins-notes .ins-note { margin-top: 0; padding: 24px 28px; border-radius: 14px; }
  .ins-notes .ins-note h3 { font-size: 18px; margin-bottom: 10px; }
  .ins-notes .ins-note p, .ins .ins-notes .ins-note ul { font-size: 15.5px; line-height: 1.6; }
  .ins .ins-notes .ins-note li { margin-bottom: 8px; }
  .ins-notes .ins-note p + p, .ins-notes .ins-note ul + p, .ins-notes .ins-note p + ul { margin-top: 12px; }
  /* just one box: it spans the full width, its words in two columns (heading across the top) so it doesn't read as one long strip */
  /* (counted by boxes, not children: the holiday peeker sits in this row too). Left: the opening line and the list;
     right: the paragraphs after the list, starting level with the list (John), with a short divider line between */
  .ins-notes:not(:has(.ins-note ~ .ins-note)) .ins-note { grid-column: 1 / -1; position: relative; display: grid; grid-template-columns: 1fr 1fr; column-gap: 72px; align-content: start; padding: 28px 36px; }
  .ins-notes:not(:has(.ins-note ~ .ins-note)) .ins-note > * { grid-column: 1; margin-top: 0; }
  .ins-notes:not(:has(.ins-note ~ .ins-note)) .ins-note > h3 { grid-column: 1 / -1; }
  .ins-notes:not(:has(.ins-note ~ .ins-note)) .ins-note > ul { grid-row: 3 / span 8; align-self: start; margin-top: 12px; }
  .ins-notes:not(:has(.ins-note ~ .ins-note)) .ins-note > ul ~ p { grid-column: 2; }
  .ins-notes:not(:has(.ins-note ~ .ins-note)) .ins-note > ul + p { grid-row: 3; margin-top: 12px; }
  .ins-notes:not(:has(.ins-note ~ .ins-note)) .ins-note > ul + p + p { grid-row: 4; margin-top: 12px; }
  .ins-notes:not(:has(.ins-note ~ .ins-note)) .ins-note > ul + p + p + p { grid-row: 5; margin-top: 12px; }
  .ins-notes:not(:has(.ins-note ~ .ins-note)) .ins-note > ul + p + p + p + p { grid-row: 6; margin-top: 12px; }
  .ins-notes:not(:has(.ins-note ~ .ins-note)) .ins-note:has(> ul ~ p)::after { content: ""; position: absolute; left: calc(50% + 2px); top: 96px; bottom: 36px; width: 1px; background: rgba(122, 42, 60, .22); }
}

.find { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: stretch; }
#find { border-top: 1px solid var(--line); }
.find p { margin: 0 0 14px; }
.find-addr { display: flex; gap: 10px; align-items: flex-start; font-size: 17px; line-height: 1.5; }
.find-addr svg { flex: none; color: var(--accent); margin-top: 3px; }
.find-addr span { flex: 1; min-width: 0; }   /* take the card's width (iPhone Safari squeezed it to one word per line) */
.map-box { position: relative; min-height: 340px; display: flex; flex-direction: column; }
.map-box .map { flex: 1; }
.map { width: 100%; min-height: 340px; height: 100%; border: 0; border-radius: 16px; box-shadow: var(--shadow); display: block; background: var(--card); }

.cta { padding: 76px 0; }
/* "Ready for your next exam?": big two-tone heading left, the number right, on maroon with a corner glow (Dr. Gray picked 2026-11-24) */
.cta .box { background: radial-gradient(circle at 100% 0%, #a64a60 0%, rgba(166, 74, 96, 0) 55%), #6b2234; color: #fff; border-radius: 22px; padding: 52px 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px 48px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(40px, 4.8vw, 60px); line-height: 1; letter-spacing: -.035em; margin: 0; }
.cta h2 span { display: block; color: #f3c6d0; }
.cta-call { text-align: right; }
.cta-lbl { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #f3c6d0; margin: 0 0 4px; }
.cta-num { font-size: clamp(38px, 4.2vw, 54px); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; color: #fff; text-decoration: none; white-space: nowrap; }
.cta-num:hover { color: #f3c6d0; }

/* Closure / weather strip (filled in by script) */
.notice { display: none; font-size: 15px; font-weight: 600; }
.notice.on { display: block; }
.notice .wrap { display: flex; align-items: center; justify-content: center; gap: 12px; padding-top: 11px; padding-bottom: 11px; text-align: center; }
.notice.weather { --base: #fff1c7; --flash: #ffc929; background: var(--base); color: #4d3800; }
.notice.holiday { --base: #dcebf5; --flash: #8fc3e6; background: var(--base); color: #12364d; }
.notice.notice-info { --base: #eceff2; --flash: #c3cbd2; background: var(--base); color: #1d2730; }
/* Flash a few times on page load to catch the eye */
.notice.on { animation: notice-flash .6s ease-in-out 5; }
/* First visit only (no copy from a last visit yet): the banner and hiring card fade in softly after the download */
@keyframes soft-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.first-visit .notice.on { animation: soft-in .45s ease-out, notice-flash .6s ease-in-out .45s 5; }
.first-visit .hiring-strip:not([hidden]) { animation: soft-in .45s ease-out; }
/* Painted from last visit's copy: the job name holds its space but stays hidden until the eyes type it */
.hiring-strip.pre .hs-what { visibility: hidden; }
@keyframes notice-flash {
  0%, 100% { background: var(--base); }
  50% { background: var(--flash); }
}
@media (prefers-reduced-motion: reduce) { .notice.on, .first-visit .notice.on, .first-visit .hiring-strip:not([hidden]) { animation: none; } }
@media (max-width: 600px) { .notice { font-size: 14px; line-height: 1.4; } .notice .wrap { padding-top: 8px; padding-bottom: 8px; gap: 8px; } }   /* phones: keep the banner short */
.notice-greet { white-space: nowrap; }
.notice button { background: none; border: 0; font: inherit; font-size: 20px; line-height: 1; cursor: pointer; color: inherit; opacity: .6; padding: 0 4px; }

.reorder { display: inline-block; margin-top: 14px; font-weight: 700; text-decoration: none; }
.reorder:hover { text-decoration: underline; }

/* Hiring (hidden unless a job is listed) */
/* Main page: "We're hiring" card under the headline (only while a job is on), in the holiday-banner blue:
   the job, then "Join our team" (Careers page) and "Share this job" */
.hiring-strip { --hire-bg: #dcebf5; --hire-ink: #12364d; display: flex; align-items: center; justify-content: space-between; gap: 10px 14px; flex-wrap: wrap; max-width: 640px; margin: 0 0 6px; padding: 12px 12px 12px 18px; background: var(--hire-bg); color: var(--hire-ink); border-radius: 16px; }
.hiring-strip[hidden] { display: none; }
.hs-info { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 7px; }   /* "We're hiring: Patient Flow" on one line, centered against the buttons */
/* "We're hiring:" bold, the job name right beside it */
.hs-tag { font-size: 22px; font-weight: 800; line-height: 1.15; letter-spacing: -.01em; }
.hs-tag::after { content: ":"; }
.hs-what { font-size: 18px; font-weight: 600; line-height: 1.15; letter-spacing: -.01em; opacity: .85; }
.hs-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hs-join, .hs-share { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 10px; font: inherit; font-size: 14.5px; font-weight: 700; white-space: nowrap; cursor: pointer; text-decoration: none; }
.hs-join { background: var(--hire-ink); color: #fff; }
.hs-join:hover { background: #0b2536; }
.hs-share { background: #fff; color: var(--hire-ink); border: 1px solid rgba(18, 54, 77, .18); }
.hs-share:hover { border-color: var(--hire-ink); }
.hs-msg { flex-basis: 100%; font-size: 14px; font-weight: 600; }
/* The peeking eyes on the hiring card (hiring-eyes.js): only the eyes show above the card's top-right edge */
.hiring-strip { position: relative; }
.hiring-strip.has-eyes { margin-top: 54px; }
.hours-card { position: relative; }
.hours-card.has-eyes { margin-top: 54px; }   /* no job posted: he peeks over the Hours card */   /* room for the eyes above it (paragraph margin collapses into this) */
.hire-eyes { position: absolute; top: -50px; right: 26px; width: 66px; height: 50px; overflow: hidden; pointer-events: none; }   /* 8px headroom above the brows for the lift + bounce */
.hire-eyes svg { position: absolute; left: 0; bottom: -48px; width: 66px; height: 46px; transition: bottom .45s cubic-bezier(.3, 1.5, .5, 1); }
.hire-eyes.up svg { bottom: -4px; }
/* roaming spots: he peeks over the top-right of whatever he's sitting on */
.eyes-spot { position: relative; }
.callbar .hire-eyes { right: 14px; }
.he-lid { transform-box: fill-box; transform-origin: center top; transform: scaleY(0); transition: transform .08s; }
/* moods (hiring-eyes.js): closed = relaxed half-lids; night = asleep with floating z's */
.hire-eyes.drowsy .he-lid { transform: scaleY(.5); transition: transform .5s ease; }
.hire-eyes.asleep .he-lid { transform: scaleY(1.05); transition: transform .6s ease; }
.hire-eyes.asleep svg { bottom: -8px; }
.hire-eyes.blink .he-lid { transform: scaleY(1); }
.he-z { position: absolute; z-index: 2; color: #12364d; font-weight: 800; font-size: 13px; pointer-events: none; animation: he-z 2.6s ease-out forwards; }
@keyframes he-z { from { opacity: 0; transform: translate(0, 0) scale(.7); } 20% { opacity: .9; } to { opacity: 0; transform: translate(14px, -34px) scale(1.25); } }
.he-happy { opacity: 0; transition: opacity .15s; }
.he-smile { opacity: 0; transition: opacity .2s; } .hire-eyes.talk .he-smile { opacity: 1; }
.hire-eyes.glad .he-happy { opacity: 1; }
.hire-eyes.glad .he-open { opacity: 0; }
.he-brow { transition: transform .25s; }
.hire-eyes.lift .he-brow { transform: translateY(-2px); }
/* Join our team: the pupils dilate + a little bounce (stays tucked; the head never rises) */
.he-iris { transform-box: fill-box; transform-origin: center; transition: transform .22s cubic-bezier(.3, 1.6, .5, 1); }
.hire-eyes.wide .he-iris { transform: scale(1.5); }
.hire-eyes.bob svg { animation: he-bob .45s ease-in-out 2; }
@keyframes he-bob { 50% { transform: translateY(-3px); } }
/* the nod (hovering Join): the head tips down and comes back up, eyes and brows dropping with it */
.hire-eyes svg { transform-origin: 50% 100%; }
.hire-eyes.dip svg { transform: translateY(6px) scaleY(.94); transition: bottom .45s cubic-bezier(.3, 1.5, .5, 1), transform .3s cubic-bezier(.45, 0, .55, 1); }
.hire-eyes svg { transition: bottom .45s cubic-bezier(.3, 1.5, .5, 1), transform .32s cubic-bezier(.45, 0, .55, 1); }
.hire-eyes.dip .he-brow { transform: translateY(1.5px); }
.hire-eyes .he-headset { opacity: 0; transform: translateY(-18px); transition: transform .35s cubic-bezier(.3,1.5,.5,1), opacity .2s; }
.hire-eyes .he-headset.on { opacity: 1; transform: none; } .hire-eyes .he-headset.off { opacity: 0; transition: opacity .25s; }
.he-say { position: absolute; z-index: 4; max-width: 290px; transform-origin: 100% 50%; padding: 11px 15px; border-radius: 16px; background: #fff; color: #7a2a3c; font-size: 16px; font-weight: 800; line-height: 1.35; box-shadow: 0 4px 14px rgba(29,39,48,.16); pointer-events: none; animation: he-say .35s cubic-bezier(.3,1.5,.5,1) both; }
.he-say::after { content: ""; position: absolute; right: -6px; top: 50%; margin-top: -7px; border: 7px solid transparent; border-left-color: #fff; border-right: 0; }
.he-say.out { opacity: 0; transform: translateY(-6px); transition: opacity .25s, transform .25s; }
@keyframes he-say { from { opacity: 0; transform: scale(.6) translateX(10px); } to { opacity: 1; transform: none; } }
.he-phone { position: absolute; z-index: 3; width: 34px; height: 34px; pointer-events: none; animation: he-phone 1.4s ease-out both; }
.he-phone svg { width: 34px; height: 34px; display: block; }
.he-phone .he-handset { transform-box: fill-box; transform-origin: 50% 50%; animation: he-jiggle .14s ease-in-out 6 alternate; }
.he-phone .he-ring path { animation: he-ringp .5s ease-out infinite; } .he-phone .he-ring path + path { animation-delay: .15s; }
@keyframes he-phone { from { opacity: 0; transform: scale(.4) translateY(6px); } 15% { opacity: 1; transform: scale(1.1); } 30% { transform: scale(1); } 80% { opacity: 1; } to { opacity: 0; transform: translateY(-10px); } }
@keyframes he-jiggle { from { transform: rotate(-14deg); } to { transform: rotate(14deg); } }
@keyframes he-ringp { 0% { opacity: 0; } 40% { opacity: 1; } 100% { opacity: 0; } }
.he-heart { position: absolute; z-index: 2; color: #7a2a3c; font-size: 15px; line-height: 1; pointer-events: none; animation: he-heart 1.1s ease-out both; }
@keyframes he-heart { from { opacity: 0; transform: translate(0, 0) scale(.5); } 20% { opacity: 1; } to { opacity: 0; transform: translate(var(--hx), -40px) scale(1.15); } }
.hs-what { display: inline-block; white-space: nowrap; }
.he-cursor { display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -.15em; background: currentColor; animation: he-cursor .9s steps(1) infinite; }
@keyframes he-cursor { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hire-eyes svg, .he-lid, .he-brow, .he-iris { transition: none; } .hire-eyes.bob svg, .he-heart, .he-z { animation: none; } .hire-eyes svg { transition: none; } .he-heart { display: none; } .he-phone, .he-phone *, .he-say { animation: none !important; } }
.hs-msg:empty { display: none; }

/* Careers page (careers.html) */
.careers-hero { background: linear-gradient(180deg, var(--sky), var(--bg)); }
.careers-hero .wrap { padding-top: 64px; padding-bottom: 8px; }
.careers-hero h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.06; letter-spacing: -.03em; font-weight: 800; margin: 0 0 12px; }
.careers-hero p { color: var(--soft); font-size: 18px; margin: 0; max-width: 36em; }
.careers-list { padding-top: 36px; }
.careers-list .jobs { gap: 20px; }
.job:target, .job.lit { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.careers-list .job { padding: 26px 28px; scroll-margin-top: 100px; }
.careers-list .job h2 { margin: 0; font-size: 24px; }
.job-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.job-actions .btn { font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
.job-actions .share-msg { align-self: center; font-size: 14px; font-weight: 600; color: var(--soft); }
.no-jobs { background: var(--bg-2); border-radius: 16px; padding: 22px 24px; color: var(--soft); }
.no-jobs[hidden] { display: none; }
.careers-apply { scroll-margin-top: 100px; }
.careers-apply[hidden] { display: none; }
.careers-apply h2 { margin-top: 8px; }
.careers-apply .apply-box > summary { display: none; }   /* the form is already open here; each job's "Apply now" jumps to it */
/* Careers page: why work here, and what happens after you apply */
.perks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.perks li { background: var(--card); border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow); }
.perks strong { display: block; font-size: 16px; margin-bottom: 4px; }
.perks span { display: block; color: var(--soft); font-size: 14.5px; line-height: 1.5; }
/* a small light-blue icon circle, like the numbered steps */
.perks .perk-ico { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 10px; border-radius: 50%; background: #dcebf5; color: #12364d; }   /* the hiring card blue */
.perks .perk-ico svg { width: 18px; height: 18px; }
/* each icon flips to the next idea every few seconds (careers.js); without JS the first one shows */
.perks .perk-ico { perspective: 120px; }
.perks .perk-ico .pi { grid-area: 1 / 1; opacity: 0; transform: rotateY(90deg); transition: transform .45s cubic-bezier(.3, 1.4, .5, 1), opacity .2s ease; }
.perks .perk-ico .pi.on { opacity: 1; transform: rotateY(0); }
/* story frames (No nights or weekends): the car drives in, pauses, and drives off; the house slides in behind it */
.perks .perk-ico.story { overflow: hidden; }
.perks .perk-ico .pi.drive { transform: translateX(-24px); transition: none; }   /* no fade back on the left when it leaves */
.perks .perk-ico .pi.drive.on { animation: pi-drive 2s cubic-bezier(.4, 0, .3, 1) forwards; }
@keyframes pi-drive {
  0% { transform: translateX(-24px); opacity: 0; } 10% { opacity: 1; }
  28%, 62% { transform: translateX(0); opacity: 1; }
  92% { opacity: 1; } 100% { transform: translateX(26px); opacity: 0; }   /* already gone on the right when the house arrives */
}
.perks .perk-ico .pi.slidein { transform: translateX(22px); transition: opacity .25s ease, transform 0s linear .3s; }   /* leaving: fades in place, then resets */
.perks .perk-ico .pi.slidein.on { transform: translateX(0); transition: transform .45s cubic-bezier(.2, .8, .2, 1), opacity .2s; }   /* arriving: slides in from the right */
.perks .perk-ico .pi.zz.on { animation: pi-zz 1.2s ease-in-out infinite; }
@keyframes pi-zz { 50% { transform: translateY(-1.5px); } }
@media (prefers-reduced-motion: reduce) { .perks .perk-ico .pi { transition: none; } .perks .perk-ico .pi.on, .perks .perk-ico .pi.on * { animation: none !important; } }
.steps-h { margin: 44px 0 14px; font-size: clamp(22px, 2.6vw, 28px); }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.steps li { counter-increment: step; position: relative; padding: 16px 18px 16px 58px; background: var(--bg-2); border-radius: 14px; }
.steps li::before { content: counter(step); position: absolute; left: 16px; top: 15px; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; font-size: 15px; display: grid; place-items: center; }
.steps strong { display: block; font-size: 16px; margin-bottom: 2px; }
.steps span { display: block; color: var(--soft); font-size: 14.5px; line-height: 1.5; }
@media (max-width: 1000px) { .perks { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) {
  /* taller cards with more room, so each one stays in the spotlight longer as you scroll */
  .perks { grid-template-columns: 1fr; gap: 22px; margin-top: 24px; }
  .perks li { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 230px; padding: 30px 24px 30px 70px; border-radius: 20px; }
  .perks .perk-ico { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; margin: 0; }
  .perks .perk-ico svg { width: 19px; height: 19px; }
  .perks strong { font-size: 20px; line-height: 1.25; margin-bottom: 10px; letter-spacing: -.01em; }
  .perks span { font-size: 17px; line-height: 1.55; text-wrap: wrap; }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .steps li { display: flex; flex-direction: column; justify-content: center; min-height: 200px; padding: 30px 24px 30px 70px; border-radius: 20px; }
  .steps li::before { width: 36px; height: 36px; font-size: 17px; }
  .steps li::before { top: 50%; transform: translateY(-50%); left: 20px; }
  .steps strong { font-size: 19px; line-height: 1.25; margin-bottom: 6px; letter-spacing: -.01em; }
  .steps span { font-size: 16.5px; line-height: 1.55; text-wrap: wrap; }
  .steps-h { margin-top: 30px; }
}

/* Careers page on computers: the perk cards take turns lifting forward (careers.js spotlight tour) */
@media (min-width: 861px) and (prefers-reduced-motion: no-preference) {
  .spot-desk .perks li { transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s ease; }
  .spot-desk .perks li.spot { transform: translateY(-6px) scale(1.04); box-shadow: 0 18px 40px rgba(29, 39, 48, .16); position: relative; z-index: 1; }
}

/* Careers page on phones: the card nearest the middle of the screen comes forward (careers.js spotlight) */
@media (max-width: 860px) and (prefers-reduced-motion: no-preference) {
  .spot-on .perks li, .spot-on .steps li, .spot-on .careers-list .job {
    transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease, opacity .35s ease, background-color .35s ease;
    transform: scale(.965); opacity: .72; will-change: transform;
  }
  .spot-on .careers-list .job { transform: scale(.985); }
  .spot-on .perks li.spot, .spot-on .steps li.spot, .spot-on .careers-list .job.spot {
    transform: scale(1.02); opacity: 1; box-shadow: 0 14px 34px rgba(29, 39, 48, .16); position: relative; z-index: 1;
  }
  .spot-on .careers-list .job.spot { transform: scale(1); }
  .spot-on .steps li.spot { background: var(--card); }
}

/* Application page (apply.html) */
.apply-hero .wrap { padding-bottom: 0; }
.back-link { display: inline-block; margin-bottom: 14px; font-weight: 700; font-size: 15px; text-decoration: none; }
.applying { margin: 0; }
.applying strong { color: var(--ink); }
.apply-page { padding-top: 24px; }
.apply-page .apply-box { margin-top: 0; }
.apply-page .apply-box > summary { display: none; }   /* the form is open on this page */
.jobs { display: grid; gap: 14px; margin-bottom: 18px; }
.job { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; }
.job h3 { margin: 0; font-size: 18px; }
.job .hours { display: inline-block; margin: 4px 0 8px; font-size: 13px; font-weight: 700; color: var(--soft); text-transform: uppercase; letter-spacing: .06em; }
.job p { margin: 0; color: var(--soft); font-size: 15px; }
/* Job details: same simple formatting as the insurance boxes (lines, "- " bullets, **bold**) */
.job-details { margin-top: 4px; color: var(--soft); font-size: 15px; }
.job-details p { margin: 0 0 10px; }
.job-details p b, .job-details li b { color: var(--ink); }
.job-details ul { margin: 0 0 14px; padding-left: 20px; }
.job-details li { margin-bottom: 4px; }
.job-details > :last-child { margin-bottom: 0; }
.apply { font-weight: 600; color: var(--soft); font-size: 15px; }

/* Apply-online form */
.apply-box { margin: 6px 0 16px; }
.apply-box > summary { list-style: none; cursor: pointer; }
.apply-box > summary::-webkit-details-marker { display: none; }
.apply-box[open] > summary { display: none; }
.apply-form { display: grid; gap: 14px; max-width: 640px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.apply-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.apply-form .field { display: grid; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.apply-form label, .apply-form legend { font-weight: 600; font-size: 15px; padding: 0; }
.apply-form legend { margin-bottom: 6px; }
.apply-form .req { color: var(--accent); }
.apply-form .hint { display: block; font-weight: 500; color: var(--soft); font-size: 13px; }
.apply-form .choices { display: flex; gap: 10px; flex-wrap: wrap; }
.apply-form .choice { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid #cdd7de; border-radius: 10px; font-weight: 600; cursor: pointer; }
.apply-form .choice input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
.apply-form .field-err { margin: 0; color: #b42318; font-weight: 600; font-size: 14px; }
.apply-form .field-err:empty { display: none; }
.apply-form [aria-invalid=true] { border-color: #b42318; box-shadow: 0 0 0 1px #b42318; }
.apply-form input, .apply-form select, .apply-form textarea {
  font: inherit; font-weight: 500; font-size: 16px; padding: 12px 14px; border-radius: 10px; border: 1px solid #cdd7de; background: #fff; color: var(--ink); width: 100%; }
.apply-form input[type=file] { padding: 10px; background: var(--bg-2); max-width: 100%; font-size: 15px; }
.apply-form textarea { resize: vertical; }
.apply-form .trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.apply-form .fine { margin: 0; color: var(--soft); font-size: 13px; }
.apply-form button { border: 0; cursor: pointer; font: inherit; font-weight: 700; justify-self: start; }
.apply-form button[disabled] { opacity: .6; cursor: wait; }
.form-msg { margin: 0; font-weight: 600; font-size: 15px; }
.form-msg:empty { display: none; }
.form-msg.err { color: #b42318; }
.form-msg.ok { color: #1f7a3f; }
.apply-form .form-msg.ok { color: #14532d; background: #eaf6ee; border: 1px solid #c4e5cf; border-radius: 10px; padding: 12px 14px; }
.apply-done { background: #eaf6ee; border: 1px solid #c4e5cf; color: #14532d; border-radius: 16px; padding: 22px; font-weight: 600; }
.apply-done p { margin: 0; }
.apply-done p + p { margin-top: 10px; font-weight: 500; }
@media (max-width: 860px) {
  .apply-form { padding: 16px; }
  .apply-form .two { grid-template-columns: 1fr; }
  .apply-box:not([open]) > summary.btn { display: block; text-align: center; }
  .apply-form button { justify-self: stretch; }
}
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: flex-start; }
.foot-links a { color: var(--soft); white-space: nowrap; }
.foot-links a[hidden] { display: none; }
/* Staff-only link, nearly invisible on purpose (Dr. Gray); still focusable with a visible outline */
footer .admin-link { font: inherit; color: #f7f9fa; text-decoration: none; } /* next to the copyright line, same type, very light gray */
footer .admin-link:focus-visible { color: var(--soft); outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }

/* Fold-down sections (always open on desktop) */
details.fold > summary { list-style: none; cursor: default; }
details.fold > summary::-webkit-details-marker { display: none; }
.fold-plain > summary { display: none; }
/* Map-app chooser (iPhone/iPad only, first Directions tap; directions.js) */
.maps-pref { margin: 10px 0 0; font-size: 14px; color: var(--soft); }
.maps-pref[hidden] { display: none; }
.maps-pref button { font: inherit; color: var(--accent); background: none; border: 0; padding: 4px 2px; text-decoration: underline; cursor: pointer; }
.maps-chooser { border: 0; border-radius: 20px; padding: 22px 20px 16px; width: min(92vw, 380px); box-shadow: 0 20px 50px rgba(29, 39, 48, .25); color: var(--ink); }
.maps-chooser::backdrop { background: rgba(29, 39, 48, .45); }
.maps-chooser h2 { margin: 0 0 4px; font-size: 20px; }
.maps-chooser p { margin: 0 0 16px; color: var(--soft); font-size: 14.5px; }
.maps-apps { display: grid; gap: 10px; }
.maps-apps a { display: block; text-align: center; padding: 14px; border-radius: 12px; background: var(--bg-2); color: var(--ink); font-weight: 800; text-decoration: none; border: 1px solid var(--line); }
.maps-apps a:active { background: var(--accent-tint); }
.maps-cancel { display: block; width: 100%; margin-top: 8px; padding: 12px; font: inherit; font-weight: 700; color: var(--soft); background: none; border: 0; cursor: pointer; }
.callbar { display: none; }

/* "Share this site" just above the footer, on every page */
.share-site { padding: 40px 0 44px; text-align: center; border-top: 1px solid var(--line); }
.share-site p { margin: 0 0 14px; font-size: 18px; font-weight: 700; color: var(--ink); }
.share-site-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; font: inherit; font-size: 16px; font-weight: 700; color: #12364d; background: #dcebf5; border: 0; border-radius: 999px; cursor: pointer; transition: background .15s; }
.share-site-btn:hover { background: #cfe2ef; }
.share-site-msg { display: block; margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--soft); }
.share-site-msg:empty { display: none; }
.share-toast { position: fixed; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 30; max-width: calc(100% - 32px); padding: 10px 16px; border-radius: 12px; background: #12364d; color: #fff; font-size: 14px; font-weight: 600; text-align: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); }
.share-toast:empty { display: none; }
@media (max-width: 860px) { .share-site { padding: 30px 0 34px; } .share-site p { font-size: 17px; } }

/* Footer: who and where + links on top, the copyright line at the very bottom */
footer { border-top: 1px solid var(--line); padding: 36px 0 28px; color: var(--soft); font-size: 14px; }
.foot-top { display: flex; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; }
.foot-contact { margin: 0; line-height: 1.6; }
.foot-contact strong { color: var(--ink); }
.foot-contact a { color: var(--soft); }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; }
.fc-sep { display: none; }
/* Desktop: one centered column (name, address · phone, links, then the copyright line) */
@media (min-width: 861px) {
  .foot-top { flex-direction: column; align-items: center; gap: 14px; text-align: center; }
  .fc-br { display: none; }
  .fc-sep { display: inline; }
  .foot-links { justify-content: center; }
  .foot-bottom { justify-content: center; gap: 18px; }
}


/* Top section: three paths */
.hero { background: linear-gradient(180deg, var(--sky), var(--bg)); }
.hero .wrap { display: block; padding-top: 72px; padding-bottom: 64px; }
.hero .top { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; margin-bottom: 30px; }
.hero h1 { font-size: clamp(34px, 5.4vw, 58px); line-height: 1.04; letter-spacing: -.03em; font-weight: 800; margin: 0 0 16px; }
.hero p { color: var(--soft); font-size: 18px; margin: 0 0 26px; max-width: 32em; }
.desk-br { display: none; }   /* desktop: "Our mission" starts the second line */
@media (min-width: 861px) { .desk-br { display: inline; } }
/* Hours card (hero, right side on desktop): the week, a live open/closed line, and "Coming up" closings */
.hours-card { background: var(--card); border-radius: 18px; box-shadow: var(--shadow); padding: 22px 24px 20px; }
.hc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.hc-head h2 { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }
.hc-now { font-size: 14px; font-weight: 700; color: var(--soft); text-align: right; }
.hc-now::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; margin-right: 7px; vertical-align: 1px; }
.hc-now.open { color: #2f7d4f; }
/* open/closed strip pinned under the header */
.hdr-bar { border-top: 1px solid #eef2f5; background: #f7f9fb; }
.hb-in { max-width: 1120px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.hb-addr, .hb-fax { display: inline-flex; align-items: center; gap: 7px; padding: 5px 0 6px; color: var(--soft); font-family: inherit; font-size: 13.5px; font-weight: 600; line-height: 1.35; text-decoration: none; white-space: nowrap; }
.hb-addr { justify-self: start; }
.hb-fax { justify-self: end; background: none; border: 0; cursor: pointer; }
.hb-addr svg, .hb-fax svg { width: 15px; height: 15px; flex: none; color: var(--accent); }
.hb-addr:hover, .hb-fax:hover { color: var(--ink); }
.hb-fax.copied { color: #2f7d4f; }
.hdr-now { display: block; padding: 5px 16px 6px; color: var(--soft); font-size: 13.5px; font-weight: 700; line-height: 1.35; text-align: center; text-wrap: balance; text-decoration: none; }
.hdr-now[hidden] { display: none; }
.hdr-now::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; margin-right: 7px; vertical-align: 1px; }
.hdr-now.open { color: #2f7d4f; }
@media (max-width: 860px) {
  .hc-head .hc-now { display: none; }
  .hb-addr, .hb-fax, .hdr-bar.hb-desk { display: none; }     /* phones: only open/closed, for now */
  .hb-in { display: block; padding: 0; }
  .hdr-bar:has(.hdr-now[hidden]) { display: none; }
}
@media (min-width: 861px) and (max-width: 1040px) { .hb-addr, .hb-fax { font-size: 12.5px; } }
.hc-week { margin: 0; }
.hc-week > div { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 16px; }
.hc-week > div:first-child { border-top: 0; }
.hc-week dt { font-weight: 700; color: var(--ink); }
.hc-week dd { margin: 0; color: var(--ink); font-variant-numeric: tabular-nums; text-align: right; }
.hc-week dd.closed { color: var(--soft); }
.hc-addr { margin: 12px 0 0 !important; font-size: 14px !important; color: var(--soft); }
/* "Coming up": closings / late openings / early closes in the next 60 days (from the feed) */
.coming { margin-top: 16px; padding: 14px 16px; background: var(--accent-tint); border-radius: 12px; font-size: 14.5px; line-height: 1.5; color: var(--ink); }
.coming[hidden] { display: none; }
.coming-h { margin: 0 0 8px; font-size: 12px; font-weight: 800; color: var(--accent); text-transform: uppercase; letter-spacing: .1em; }
.coming ul { list-style: none; margin: 0; padding: 0; }
.coming li { margin: 0; padding: 6px 0; border-top: 1px solid rgba(122, 42, 60, .12); overflow-wrap: anywhere; }
.coming li:first-child { border-top: 0; padding-top: 0; }
.coming li b { display: block; font-weight: 700; }
.coming li span { color: var(--soft); }

@media (max-width: 860px) {
  header .wrap { grid-template-columns: 1fr; justify-items: center; height: 76px; }
  header nav, header .btn { display: none; }
  .logo { width: 160px; }
  section { padding: 52px 0; scroll-margin-top: 100px; }
  .hero .wrap, .grid, .ins, .find { grid-template-columns: 1fr; }
  .ins { gap: 8px; }


  /* Top section on phones: all three paths visible without scrolling */
  .hero .wrap { padding-top: 24px; padding-bottom: 24px; }
  .hero .top { grid-template-columns: 1fr; gap: 0; }
  .hero h1 { font-size: 30px; margin-bottom: 10px; }
  .hero p { font-size: 15px; margin-bottom: 12px; }
  .hero .top { margin-bottom: 0; }
  .hours-card { padding: 14px 16px 12px; border-radius: 14px; margin: 2px 0 12px; }
  .hc-head { flex-direction: column; align-items: flex-start; gap: 2px; margin-bottom: 4px; }
  .hc-now { text-align: left; font-size: 13.5px; }
  .hc-week > div { padding: 4px 0; font-size: 15px; }
  .hc-addr { display: none; }   /* the address is in Find us; keep the paths on the first screen */
  .coming { margin-top: 10px; padding: 10px 12px; font-size: 13.5px; }
  .coming-h { margin-bottom: 4px; }
  .coming li { padding: 4px 0; border-top: 0; }

  /* ---- Phones: keep the page short ---- */
  body { padding-bottom: calc(86px + env(safe-area-inset-bottom)); }   /* room for the floating bottom bar */
  section { padding: 36px 0; }
  h2 { font-size: 26px; }
  .sub { margin-bottom: 18px; font-size: 15px; }

  .info { padding: 4px 18px; }
  .info h2 { display: none; }
  .info .row { padding: 9px 0; font-size: 14px; }

  /* Services fold into tappable rows */
  .services { gap: 10px; }
  details.fold.tile { padding: 0; }
  details.fold > summary { cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; }
  details.fold > summary::after { content: "+"; font-size: 22px; font-weight: 600; color: var(--accent); line-height: 1; }
  details.fold[open] > summary::after { content: "–"; }
  details.fold.tile > summary h3 { margin: 0; font-size: 17px; }
  details.fold.tile > :not(summary) { margin-left: 18px; margin-right: 18px; }
  details.fold.tile[open] { padding-bottom: 16px; }
  .tile .note { margin-top: 8px; }

  /* Doctors as a compact list */
  #doctors .grid { gap: 0; background: var(--card); border-radius: 16px; box-shadow: var(--shadow); }
  #doctors .tile { display: flex; align-items: center; gap: 14px; background: none; box-shadow: none; border-radius: 0; padding: 12px 16px; border-top: 1px solid var(--line); }
  #doctors .tile:first-child { border-top: 0; }
  .doc .initials { width: 40px; height: 40px; margin: 0; font-size: 14px; flex-shrink: 0; }
  .doc h3 { font-size: 17px; margin: 0; }
  .doc p { display: none; }
  #doctors .tile.has-bio { flex-wrap: wrap; }
  .doc p.doc-bio { display: block; flex-basis: 100%; margin: 2px 0 4px 54px; font-size: 14.5px; }

  /* Insurance folds behind one tap */
  .fold-plain > summary { display: flex; padding: 14px 16px; background: var(--bg-2); border-radius: 12px; font-weight: 700; }
  .fold-plain[open] > summary { margin-bottom: 12px; }
  .ins li { padding: 6px 12px; font-size: 14px; }
  .ins .ins-note li { padding: 0; }

  /* Find us on phones: a small map under the address (Get directions still opens the maps app) */
  /* Come see us on phones: the map first, edge to edge; the address on a card over its bottom edge */
  #find { padding-top: 0; }
  .find { display: flex; flex-direction: column; gap: 0; }
  .map-box { order: -1; min-height: 0; margin: 0 -20px; }
  .find-card { position: relative; z-index: 1; margin-top: -20px; background: var(--card); border-radius: 16px; box-shadow: 0 10px 26px rgba(29, 39, 48, .14); padding: 14px 18px; }
  .find-card h2 { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); margin: 0 0 6px; }
  .find-card .find-addr { margin: 0; font-size: 18px; }
  .find-card .maps-pref { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
  .map-box .map { flex: none; min-height: 0; height: 210px; border-radius: 0; box-shadow: none; }   /* live map: two fingers to move, pinch to zoom */
  .find-go { display: none; }   /* the bottom bar's Directions does this on phones */
  .find p { margin-bottom: 10px; }

  /* Bottom banner replaced by the call bar on phones */
  .cta { display: none; }
  footer { padding: 26px 0 20px; }
  .foot-top { flex-direction: column; gap: 16px; }
  .foot-bottom { margin-top: 20px; }

  .maps-chooser { margin: auto auto 0; width: 100%; max-width: 100%; border-radius: 20px 20px 0 0; padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
  /* Bottom bar on phones, in the page's own style: a white rounded card with the Hours card's soft shadow,
     floating just above the bottom; maroon Call, Directions like "Share this job", light-blue Share like the perk icons */
  .callbar { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; position: fixed; z-index: 20;
    left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); padding: 8px;
    background: var(--card); border-radius: 18px; box-shadow: 0 10px 30px rgba(29, 39, 48, .16), 0 0 0 1px rgba(29, 39, 48, .04); }
  .callbar a, .callbar .callbar-share { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 12px; border-radius: 12px; font: inherit; font-size: 15.5px; font-weight: 800; text-decoration: none; }
  .callbar a svg, .callbar button svg { width: 20px; height: 20px; flex: none; }   /* the bar's icons only, not the little guy when he peeks over the bar */
  .callbar .cb-call { background: var(--accent); color: #fff; }
  .callbar .cb-dir { background: #fff; color: #12364d; border: 1px solid rgba(18, 54, 77, .18); }
  .callbar .callbar-share { width: 48px; padding: 0; border: 0; background: #dcebf5; color: #12364d; cursor: pointer; }
  .callbar .callbar-share svg { width: 21px; height: 21px; }
  .share-site { display: none; }   /* phones: Share lives in the bottom bar */
}

/* Phones: hiring strip and Careers page */
@media (max-width: 860px) {
  .hiring-strip { padding: 14px 16px; margin: 2px 0 12px; gap: 10px; }
  .hs-actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .hs-join, .hs-share { justify-content: center; padding: 10px 8px; }
  .careers-hero .wrap { padding-top: 28px; }
  .careers-hero p { font-size: 15.5px; }
  .careers-list { padding-top: 20px; }
  .careers-list .job { padding: 18px; }
  .careers-list .job h2 { font-size: 21px; }
  .job-actions .btn { flex: 1 1 auto; text-align: center; }
}

/* Holiday peekers (holiday.js): characters pop up from behind tiles, chin hidden behind the tile's top edge */
.hol-peek { position: absolute; top: -70px; width: 58px; height: 70px; overflow: hidden; pointer-events: none; transition: translate .3s ease-out; }
.hol-peek svg { position: absolute; left: 0; width: 58px; height: 72px; bottom: -76px; overflow: visible; transition: bottom .5s cubic-bezier(.3, 1.5, .5, 1); }
.hol-peek.up svg { bottom: -3px; }
.hol-peek .pp { transition: transform .3s ease-out; }
.hol-peek .jingle { transform-box: view-box; transform-origin: 46px -24px; animation: hol-jingle 2.6s ease-in-out infinite; }
@keyframes hol-jingle { 0%, 70%, 100% { transform: rotate(0); } 78% { transform: rotate(9deg); } 86% { transform: rotate(-6deg); } 93% { transform: rotate(3deg); } }
.hol-peek .glow { animation: hol-glow 1.6s ease-in-out infinite; }
@keyframes hol-glow { 50% { fill: #ff8a8a; } }
.hol-peek .snow circle { animation: hol-fall 3s linear infinite; }
.hol-peek .snow circle:nth-child(2) { animation-delay: -1s; } .hol-peek .snow circle:nth-child(3) { animation-delay: -2s; }
@keyframes hol-fall { from { transform: translateY(-6px); opacity: 0; } 30% { opacity: 1; } to { transform: translateY(26px); opacity: 0; } }
@media (max-width: 599px) { .hol-peek { top: -46px; width: 40px; height: 46px; } .hol-peek svg { width: 40px; height: 50px; bottom: -52px; } .hol-peek.up svg { bottom: -3px; } }
@media (prefers-reduced-motion: reduce) { .hol-peek svg { transition: none; } .hol-peek .jingle, .hol-peek .glow, .hol-peek .snow circle { animation: none; } }
.hol-peek .fan { transform-box: view-box; transform-origin: 33px 30px; animation: hol-fan 3.2s ease-in-out infinite; }
@keyframes hol-fan { 0%, 60%, 100% { transform: scale(1); } 70% { transform: scale(1.08); } 80% { transform: scale(.97); } }
@media (prefers-reduced-motion: reduce) { .hol-peek .fan { animation: none; } }

/* Hiring-card guy in a holiday outfit (taller: tail feathers / Santa hat) */
.hire-eyes.themed { top: -78px; height: 78px; width: 86px; right: 16px; }   /* wider box so the whole feather fan fits (even when it puffs out) */
.hire-eyes.themed svg { width: 86px; height: 76px; bottom: -80px; }
.hire-eyes.themed.up svg { bottom: -4px; }
.hire-eyes.themed.wx { width: 112px; height: 78px; top: -78px; right: 6px; }   /* snow/ice: room for his CLOSED sign */
.hire-eyes.themed.wx svg { width: 112px; height: 75px; }
.hiring-strip.has-eyes.themed-room, .hours-card.has-eyes.themed-room { margin-top: 82px; }
.hire-eyes .he-fan { transform-box: view-box; transform-origin: 33px 30px; animation: hol-fan2 3.2s ease-in-out infinite; }
@keyframes hol-fan2 { 0%, 60%, 100% { transform: scale(1); } 70% { transform: scale(1.04); } 80% { transform: scale(.98); } }
@media (prefers-reduced-motion: reduce) { .hire-eyes .he-fan { animation: none; } }
/* Christmas tree peeker: twinkling lights, star, brows */
.hol-peek .bulb { animation: hol-tw 1.6s ease-in-out infinite; } .hol-peek .bulb.b1 { animation-delay: -.5s; } .hol-peek .bulb.b2 { animation-delay: -1.1s; }
@keyframes hol-tw { 50% { opacity: .35; } }
.hol-peek .star { transform-box: view-box; transform-origin: 33px -33px; animation: hol-star 2.4s ease-in-out infinite; }
.hire-eyes .bulb { animation: hol-tw 1.6s ease-in-out infinite; } .hire-eyes .bulb.b1 { animation-delay: -.5s; } .hire-eyes .bulb.b2 { animation-delay: -1.1s; }   /* the hiring guy as the tree */
.hire-eyes .star { transform-box: fill-box; transform-origin: 50% 50%; animation: hol-star 2.4s ease-in-out infinite; }
@keyframes hol-star { 50% { transform: scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .hol-peek .bulb, .hol-peek .star, .hire-eyes .bulb, .hire-eyes .star { animation: none; } }
/* Thanksgiving football (holiday.js): across the share band; near end on the bottom line, far end on the top line */
.share-site { position: relative; }
.foot-bottom.has-football { position: relative; margin-top: 78px; }
.foot-bottom > .hol-field { top: -1px; bottom: auto; height: 0; width: min(1200px, calc(100vw - 24px)); }
.hol-field { position: absolute; top: 0; bottom: 0; left: 50%; width: min(1200px, 100%); transform: translateX(-50%); overflow: visible; pointer-events: none; z-index: 1; }
.hol-field .hf-ball { position: absolute; left: 0; bottom: -4px; width: 70px; height: 58px; z-index: 2; will-change: transform; }
.hol-field .hf-sz { width: 70px; height: 58px; transform-origin: 0 100%; }
.hol-field .hf-spin { width: 70px; height: 58px; } .hol-field .hf-spin svg { width: 70px; height: 58px; display: block; overflow: visible; }
.hol-field .hf-shadow { position: absolute; left: 0; bottom: -6px; width: 62px; height: 12px; z-index: 1; background: radial-gradient(ellipse at center, rgba(29,39,48,.6) 0, rgba(29,39,48,.28) 45%, transparent 72%); }
.hol-field .hf-puff { position: absolute; bottom: -4px; left: 0; width: 70px; height: 20px; opacity: 0; background: radial-gradient(circle at 20% 70%, #e7dccb 0 6px, transparent 7px), radial-gradient(circle at 50% 80%, #e7dccb 0 8px, transparent 9px), radial-gradient(circle at 80% 70%, #e7dccb 0 6px, transparent 7px); }
.hol-field .hf-puff.go { animation: hf-puff .6s ease-out; } @keyframes hf-puff { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.4) translateY(-6px); } }
.hol-field .hf-swoosh { position: absolute; bottom: 6px; width: 40px; height: 40px; opacity: 0; transform-origin: 50% 100%; }
.hol-field .hf-swoosh svg { width: 40px; height: 40px; display: block; }
.hol-field .hf-swoosh.go { animation: hf-swoosh .45s ease-out; } @keyframes hf-swoosh { 0% { opacity: 0; } 20% { opacity: 1; } 100% { opacity: 0; } }
/* Pull "Eye care for the whole family" up so its heading peeks into the first screen: people can see there's more below */
@media (min-width: 861px) {
  .hero .wrap { padding-top: 32px; padding-bottom: 20px; }
  .hero .wrap:has(.hours-card.has-eyes) { padding-top: 0; }   /* no job: the guy's room above the Hours card is the top gap */
  .hero .top { margin-bottom: 0; }
  .hero + #care { padding-top: 28px; }
}
@media (max-width: 860px) {
  .hero .wrap { padding-bottom: 16px; }
  .hero + #care { padding-top: 24px; }
}
/* Holiday characters answering Call / Directions (holiday.js responder) */
.he-say.right { transform-origin: 0 50%; }
.he-say.right::after { right: auto; left: -6px; border-left-color: transparent; border-right: 7px solid #fff; border-left: 0; }
.hol-peek.talking svg { animation: hol-talk .5s cubic-bezier(.3,1.6,.5,1); }
@keyframes hol-talk { 40% { transform: translateY(-6px); } }
.hol-peek .hol-headset { animation: hol-hs .35s cubic-bezier(.3,1.5,.5,1) both; }
@keyframes hol-hs { from { opacity: 0; transform-origin: center; } to { opacity: 1; } }

.he-say small { display: block; margin-top: 6px; font-size: 13.5px; font-weight: 700; line-height: 1.3; color: #5d6b76; }
@media (max-width: 600px) { .he-say { max-width: 250px; font-size: 15px; } }
.he-say .he-map { pointer-events: auto; display: inline-flex; align-items: center; gap: 3px; color: #12364d; font-weight: 800; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.he-say .he-map svg { flex: none; }
.he-say .he-map:hover { color: #7a2a3c; }

/* "Loved your visit?" review card (index.html, under Come see us) */
.review-cta { max-width: 620px; margin: 44px auto 0; padding: 36px 32px 30px; border-radius: 22px; text-align: center; background: radial-gradient(circle at 50% 0%, #fff 0%, rgba(255, 255, 255, 0) 60%), #fdf1d3; box-shadow: 0 14px 34px rgba(227, 165, 26, .18); }   /* bigger gold card (Dr. Gray picked 2026-11-24) */
.review-cta[hidden] { display: none; }
.rc-q { margin: 0; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.05; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.rc-q span { display: block; color: var(--accent); }
.rc-go { margin-top: 62px; }   /* room above the stars for the little guy to peek */
.rc-stars { display: inline-flex; gap: 2px; line-height: 1.1; }
.rc-star { color: #f2ecdd !important; text-decoration: none; display: inline-block; padding: 0 2px; transition: color .15s, transform .15s; }
.rc-star.on { color: #e3a51a !important; animation: rc-pop .45s cubic-bezier(.3,1.6,.5,1); }
.rc-star.hot { color: #f0b52a !important; transform: scale(1.18); }
@keyframes rc-pop { from { transform: scale(.3); } to { transform: none; } }
.rc-hint { margin: 6px 0 0; font-size: 14px; font-weight: 700; color: var(--soft); }
.rc-go { position: relative; display: inline-block; }
.rc-btn { display: inline-block; padding: 11px 20px; border-radius: 999px; background: #12364d; color: #fff !important; font-weight: 800; font-size: 15px; text-decoration: none; }
.rc-btn:hover { background: #0d2a3d; }
.rc-guy { position: absolute; left: 50%; bottom: 100%; width: 54px; height: 38px; margin-left: -27px; overflow: hidden; pointer-events: none; }
.rc-guy svg { position: absolute; left: 0; bottom: -40px; width: 54px; height: 38px; transition: bottom .45s cubic-bezier(.3,1.5,.5,1); }
.rc-go.up .rc-guy svg { bottom: -4px; }
.rc-br { transition: transform .2s; } .rc-go.lift .rc-br { transform: translateY(-3px); }
.rc-say { position: absolute; z-index: 1; left: calc(50% + 30px); bottom: calc(100% + 14px); background: #fff; border-radius: 12px; padding: 4px 10px; font-size: 13px; font-weight: 800; color: #7a2a3c; box-shadow: 0 3px 10px rgba(29,39,48,.15); white-space: nowrap; opacity: 0; transform: scale(.7); transform-origin: 0 100%; transition: opacity .25s, transform .3s cubic-bezier(.3,1.5,.5,1); pointer-events: none; }
.rc-go.talk .rc-say { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rc-star { color: #e3a51a !important; } .rc-star.on { animation: none; } .rc-guy svg { transition: none; } }
/* the 5th star the little guy hints at */
.rc-star.wish { color: #e3a51a !important; animation: rc-wish .5s ease-in-out 4 alternate; }
@keyframes rc-wish { from { transform: scale(1); text-shadow: none; } to { transform: scale(1.35) rotate(12deg); text-shadow: 0 0 10px rgba(227,165,26,.7); } }
.rc-guy { transition: transform .56s cubic-bezier(.4,0,.2,1); }
.rc-go.five .rc-guy { transform: translateX(var(--to5, 60px)); }   /* the card's own guy (holidays) hops over to star 5... */
.rc-go.five .rc-guy svg { animation: rc-hop .56s ease-in-out; }
@keyframes rc-hop { 12% { transform: translateY(3px) scale(1.05,.93); } 50% { transform: translateY(-12px); } 85% { transform: translateY(2px); } }
.rc-pu { transition: transform .3s .5s; } .rc-go.five .rc-pu { transform: translate(1.5px, 3px); }   /* ...and looks down at it */
.rc-go.five.back .rc-pu { transform: translate(0, -4px); transition-delay: 0s; }   /* ...then back up at you */
/* speech bubbles size to their text (not to whatever small box he's sitting on), wrap normally, read left-aligned */
.he-say { width: max-content; max-width: 290px; white-space: normal; text-align: left; }
@media (max-width: 600px) {
  /* phones: a bigger bubble, easier to read, and a bigger target on the urgent care / ER map link */
  .he-say { max-width: 280px; padding: 12px 16px; font-size: 16px; border-radius: 16px; }
  .he-say small { margin-top: 6px; font-size: 14px; }
  .he-say .he-map { padding: 6px 0; }
}
/* bubble over / under him (no room beside him): the tail points at him */
.he-say.above::after, .he-say.below::after { right: auto; top: auto; margin-top: 0; left: var(--tail, 20px); border: 7px solid transparent; }
.he-say.above::after { bottom: -13px; border-top-color: #fff; }
.he-say.below::after { top: -13px; border-bottom-color: #fff; }
.he-say.above, .he-say.below { transform-origin: 50% 100%; }
/* holiday outfit on the review card's own little guy */
.rc-guy.themed { width: 76px; height: 76px; margin-left: -38px; }
.rc-guy.themed svg { width: 76px; height: 74px; bottom: -78px; }
.rc-go.up .rc-guy.themed svg { bottom: -7px; }
.rc-guy.themed .pp { transition: transform .3s .5s; } .rc-go.five .rc-guy.themed .pp { transform: translate(1.5px, 3px); }
.rc-go.five.back .rc-guy.themed .pp { transform: translate(0, -4px); transition-delay: 0s; }
.review-cta .rc-go:has(.rc-guy.themed) { margin-top: 78px; }
/* weather days: the card's guy is the plain little guy (index.html themeGuy), at his own size */
.rc-guy.themed.plain { width: 54px; height: 38px; margin-left: -27px; }
.rc-guy.themed.plain svg { width: 54px; height: 38px; bottom: -40px; }
.rc-go.up .rc-guy.themed.plain svg { bottom: -4px; }
.review-cta .rc-go:has(.rc-guy.plain) { margin-top: 62px; }
.rc-go.track .rc-guy.plain .rc-pu { transform: translate(var(--lx, 0px), 3px) !important; transition: transform .22s ease-out !important; transition-delay: 0s !important; }
/* the card's own guy (holidays) nods over the 5th star */
/* holiday card guy: "no" head-shake when hovering stars 1-3 (and a glance over at them) */
.rc-go.ahead .rc-pu, .rc-go.ahead .rc-guy.themed .pp { transform: none !important; transition-delay: 0s !important; }   /* straight ahead at you (the "no") */
.rc-go.lookl .rc-pu, .rc-go.lookl .rc-guy.themed .pp { transform: translate(-3px, 3px) !important; transition-delay: 0s !important; }
.rc-go.lookr .rc-pu, .rc-go.lookr .rc-guy.themed .pp { transform: translate(3.5px, 1px) !important; transition-delay: 0s !important; }

/* "Call us right away." in the Urgent eye care tile: a red, underlined call link */
.note .call-now { color: #7a2a3c; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
/* Phones: a little perch at the bottom right of the Eye exams / Urgent eye care tiles where the little guy can peek */
.eyes-perch { display: block; position: absolute; left: 0; right: 0; bottom: 0; height: 0; }   /* computers too: he can hop in to answer a Call tap */
details.fold.tile:has(.eyes-perch) { position: relative; }
@media (max-width: 860px) {
  .eyes-perch { display: block; position: relative; height: 0; margin: 0 -18px; }
  details.fold.tile:has(.eyes-perch) .note { padding-right: 76px; }   /* the last line wraps before his spot */
  details.fold.tile:has(.eyes-perch) .eyes-perch { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; }
}
@media (max-width: 860px) {   /* the eye care tiles always stay open on phones: no +/- and nothing to tap */
  details.fold.tile > summary { cursor: default; }
  details.fold.tile > summary::after { content: none; }
}
/* a bold phrase in the insurance intro ("Not every plan has a card.") stays on one line */
#ins-intro b, #ins-intro strong { white-space: nowrap; }
/* Computers: the buttons always sit on the right of the hiring card; a long job name ("Patient Flow Coordinator")
   tucks under "We're hiring:" instead of pushing the buttons down to the left */
@media (min-width: 861px) {
  .hs-info { flex: 1 1 0; min-width: 200px; }   /* basis 0: the buttons always fit beside it ("Link copied" still gets its own line) */
  .hs-actions { flex: none; margin-left: auto; flex-wrap: nowrap; }
}
/* review card's own (holiday) little guy: a happy bounce while he smiles before Google reviews opens */
.rc-go .rc-guy .rc-hid { visibility: hidden; }
.rc-go.glad .rc-guy svg { animation: rc-glad .5s ease-out; }
@keyframes rc-glad { 0% { transform: none; } 40% { transform: translateY(-6px) scale(1.04); } 100% { transform: none; } }
/* his fallback spots when nothing on the page is clear: over the bottom Call bar (phones), or up from the
   bottom-right corner of the screen (computers). They stay fixed (an .eyes-spot is otherwise position: relative). */
.callbar.eyes-spot { position: fixed; }
.eyes-dock { position: fixed; left: 0; right: 0; bottom: 0; height: 0; z-index: 30; pointer-events: none; }
.eyes-dock.eyes-spot { position: fixed; }

/* After hours, while the "Tap Call again for voicemail" bubble is up: the Call buttons (bottom bar, header) pulse
   by growing and glowing (hiring-eyes.js adds .call-armed on <html>; it comes off when the bubble goes away). */
.call-armed .callbar .cb-call, .call-armed header .btn[href^="tel:"] { position: relative; z-index: 2; animation: call-grow 1.2s ease-in-out infinite; }
@keyframes call-grow { 0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(122,42,60,0); } 50% { transform: scale(1.1); box-shadow: 0 0 22px 6px rgba(122,42,60,.55); } }
@media (prefers-reduced-motion: reduce) { .call-armed .callbar .cb-call, .call-armed header .btn[href^="tel:"] { animation: none; box-shadow: 0 0 0 4px rgba(122,42,60,.35); } }
/* headsets: the ear cups sit on the very sides of the head, a little past the box; let them show side to side
   while the box still hides him below (ducking) */
.hire-eyes, .hol-peek, .rc-guy { overflow: visible; clip-path: inset(-60px -8px 0 -8px); }
.hire-eyes svg, .rc-guy svg { overflow: visible; }
/* review card: the holiday guy's eyes follow the stars as they light up (index.html sets --lx per star) */
.rc-go.track .rc-guy.themed .pp { transform: translate(var(--lx, 0px), 3px) !important; transition: transform .22s ease-out !important; transition-delay: 0s !important; }

/* Our hometown doctors: small tiles, three across on every screen (name, then O.D.), and a strip under them:
   Oklahoma with a star on Miami + "All our doctors grew up in Miami, OK" */
#doctors h2 { margin-bottom: 18px; }
#doctors .grid { grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 560px; background: none; box-shadow: none; border-radius: 0; }
#doctors .tile { display: block; text-align: center; background: var(--card); box-shadow: var(--shadow); border-radius: 14px; padding: 16px 6px 14px; border-top: 0; }
#doctors .doc .initials { width: 44px; height: 44px; margin: 0 auto 8px; font-size: 15px; }
#doctors .doc h3 { margin: 0; font-size: 16px; line-height: 1.25; white-space: nowrap; }
#doctors .doc p { display: block; margin: 2px 0 0; font-size: 13px; color: var(--soft); }
#doctors .tile.has-bio { grid-column: 1 / -1; text-align: left; padding: 16px; }
#doctors .tile.has-bio .initials { margin: 0 0 8px; }
#doctors .doc p.doc-bio { margin: 8px 0 0; color: var(--ink); font-size: 14.5px; line-height: 1.55; }
.doc-home { display: flex; align-items: center; gap: 14px; max-width: 560px; margin-top: 10px; background: var(--card); border-radius: 14px; box-shadow: var(--shadow); padding: 12px 16px; }
.doc-home svg { display: block; width: 200px; flex: none; }
.doc-home p { margin: 0; font-size: 16px; font-weight: 800; line-height: 1.35; }
@media (max-width: 600px) {
  #doctors .grid { gap: 8px; }
  #doctors .tile { padding: 14px 3px 12px; }
  #doctors .doc .initials { width: 40px; height: 40px; font-size: 14px; }
  #doctors .doc h3 { font-size: clamp(11.5px, 3.5vw, 14px); }   /* "Clark McQuigg" stays on one line, even on a small phone */
  .doc-home svg { width: 140px; }
  .doc-home p { font-size: 15.5px; }
}
/* review card: "Loved your visit?" / "Tell us why!" on two lines, big stars on a white pill */
.rc-stars { background: #fff; border-radius: 999px; padding: 5px 30px; font-size: clamp(38px, 11vw, 48px); }   /* wide enough that the little guy over star 5 stays on it */
/* computers: two columns, the heading with the Oklahoma strip under it on the left, the doctors on the right
   (phones and tablets keep heading, tiles, strip stacked) */
@media (min-width: 1000px) {
  #doctors .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "h t" "s t"; column-gap: 56px; row-gap: 20px; align-items: start; }
  #doctors h2 { grid-area: h; align-self: start; margin: 0; }
  #doctors .grid { grid-area: t; max-width: none; }
  #doctors .doc-home { grid-area: s; align-self: start; max-width: none; margin: 0; }
}

/* bigger doctor tiles (to match the bigger Oklahoma), and the heading sits higher in the section */
#doctors { padding-top: 48px; }
#doctors .grid { max-width: 640px; gap: 12px; }
#doctors .tile { padding: 22px 8px 20px; border-radius: 16px; }
#doctors .doc .initials { width: 56px; height: 56px; margin-bottom: 10px; font-size: 18px; }
#doctors .doc h3 { font-size: 18px; }
#doctors .doc p { font-size: 14px; margin-top: 3px; }
.doc-home { max-width: 640px; padding: 14px 18px; }
.doc-home p { font-size: 17px; }
@media (max-width: 600px) {
  #doctors { padding-top: 28px; }
  #doctors .grid { gap: 8px; }
  #doctors .tile { padding: 18px 3px 16px; }
  #doctors .doc .initials { width: 48px; height: 48px; font-size: 16px; }
  #doctors .doc h3 { font-size: clamp(11.5px, 3.6vw, 15px); }
  #doctors .doc p { font-size: 13.5px; }
  .doc-home { padding: 12px 14px; }
  .doc-home p { font-size: 15.5px; }
}
/* computers: the doctor tiles run the full height of the heading + Oklahoma column, so the two sides line up */
@media (min-width: 1000px) {
  #doctors .grid { align-self: stretch; }
  #doctors .tile { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 0; }
  #doctors .doc .initials { width: 64px; height: 64px; font-size: 20px; margin-bottom: 14px; }
  #doctors .doc h3 { font-size: 19px; }
}
/* computers: the heading on its own line on top; under it, the Oklahoma card and the three doctor cards in one row, all the same height */
@media (min-width: 1000px) {
  #doctors .wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "h h" "s t"; column-gap: 20px; row-gap: 22px; align-items: stretch; }
  #doctors h2 { align-self: end; }
  #doctors .grid { align-self: stretch; }
  #doctors .doc-home { align-self: stretch; }
}
/* phones and tablets: the Oklahoma card is as tall as the doctor cards (skipped once a doctor has a bio) */
@media (max-width: 999px) {
  #doctors .wrap:not(:has(.has-bio)) .tile,
  #doctors .wrap:not(:has(.has-bio)) .doc-home { min-height: 170px; }
  #doctors .wrap:not(:has(.has-bio)) .tile { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 0; }
}
@media (max-width: 600px) {
  #doctors .wrap:not(:has(.has-bio)) .tile,
  #doctors .wrap:not(:has(.has-bio)) .doc-home { min-height: 148px; }
}
/* doctors, art option 1 (maroon monogram): maroon initials inside a soft pink ring that gently pulses (one doctor after
   another), a short gold line under each name; Oklahoma on a soft sky-blue wash, white state, and the star on Miami pulses */
#doctors .doc .initials { position: relative; background: var(--accent); color: #fff; box-shadow: 0 0 0 4px #fff; }
#doctors .doc h3::after { content: ""; display: block; width: 26px; height: 2.5px; border-radius: 2px; background: #e3a51a; margin: 7px auto 0; }
#doctors .tile.has-bio h3::after { margin-left: 0; }
#doctors .doc p { margin-top: 5px; }
.doc-home { background: linear-gradient(160deg, #eef5fa 0%, #dceaf4 100%); }
.doc-home svg { overflow: visible; }
.doc-home svg path:first-child { fill: #fff; }
.doc-home svg path:last-child { transform-box: fill-box; transform-origin: center; animation: ok-star 1.5s ease-in-out infinite; }
@keyframes ok-star { 0%, 100% { transform: scale(.8); } 50% { transform: scale(.98); filter: drop-shadow(0 0 5px rgba(227, 165, 26, .75)); } }
@media (prefers-reduced-motion: reduce) { .doc-home svg path:last-child { animation: none; transform: scale(.8); } }
/* a soft blue shadow under the Oklahoma outline */
.doc-home svg path:first-child { filter: drop-shadow(0 8px 8px rgba(44, 110, 158, .45)); }
@media (max-width: 600px) { .doc-home svg { width: 124px; } .doc-home p { font-size: 15px; } }
/* doctor monograms: white circle, maroon outline, maroon initials (site font) */
#doctors .doc .initials { background: #fff; color: var(--accent); box-shadow: none; border: 2.5px solid var(--accent); }
/* only ever one little guy on the review card: when the main one is there, the card's own spare one stays hidden */
.rc-go:has(.hire-eyes) .rc-guy { display: none; }
/* weather closed: the snow / ice guy holds a CLOSED sign, so his peek box is wider; a little shiver now and then */
.hol-peek.wx { top: -96px; width: 120px; height: 96px; }
.hol-peek.wx svg { width: 120px; height: 84px; bottom: -88px; }
.hol-peek.wx.up svg { bottom: -3px; }
@media (max-width: 599px) { .hol-peek.wx { top: -66px; width: 84px; height: 66px; } .hol-peek.wx svg { width: 84px; height: 59px; bottom: -62px; } .hol-peek.wx.up svg { bottom: -2px; } }
.hol-peek .shiver, .rc-guy .shiver { transform-box: view-box; animation: wx-shiver 3.4s ease-in-out infinite; }
@keyframes wx-shiver { 0%, 84%, 100% { transform: none; } 86%, 90%, 94% { transform: translateX(-1.2px); } 88%, 92%, 96% { transform: translateX(1.2px); } }
@media (prefers-reduced-motion: reduce) { .hol-peek .shiver, .rc-guy .shiver { animation: none; } }
/* the tree's drawing ends a little above its box: tuck him down so he pokes up from behind the tile, not floats */
.hol-peek[data-ch="tree"].up svg { bottom: -6px; }
@media (max-width: 599px) { .hol-peek[data-ch="tree"].up svg { bottom: -5px; } }
/* Urgent eye care tile: the little guy with the sore pink eye (urgent-guy.js). He lives in a band along the
   tile's bottom edge (clipped by it): pops up from the edge, scoots out the right side, comes back happy. */
#care .tile:has(.urg-strip) { position: relative; }
#care .tile:has(.urg-strip) .note { padding-right: 76px; }
.urg-strip { position: absolute; left: 0; right: 0; bottom: 0; height: 46px; clip-path: inset(-60px 0 0 0 round 0 0 16px 16px); pointer-events: none; }   /* clipped at the bottom and sides only: his brows can rise above it */
.urg-guy { position: absolute; left: 0; top: 0; width: 62px; cursor: pointer; pointer-events: auto; -webkit-tap-highlight-color: transparent; transform: translate(0, 60px); }
.urg-guy svg { display: block; width: 100%; height: auto; }
.urg-guy .ug-pp { transition: transform .12s ease-out; }
.urg-guy.sore .ug-sorei { fill: #ffb3bd; }
.urg-guy .ug-sorei { transition: fill .2s; }
.urg-guy.sore .ug-glad, .urg-guy.sore .ug-smile,
.urg-guy.happy .ug-sad, .urg-guy.happy .ug-flat, .urg-guy.happy .ug-tear { display: none; }
.urg-guy .ug-joy { opacity: 0; transition: opacity .15s; }
.urg-guy.joy .ug-joy { opacity: 1; }
.urg-guy .ug-open { transition: opacity .15s; }
.urg-guy.joy .ug-open { opacity: 0; }
.urg-guy .ug-lid circle { transform-box: fill-box; transform-origin: 50% 0; transform: scaleY(0); }
.urg-guy.blink .ug-lid circle { animation: ug-blink .32s ease-in-out; }
@keyframes ug-blink { 0%, 100% { transform: scaleY(0); } 50% { transform: scaleY(1); } }
.urg-guy .ug-tear { opacity: 0; }
.urg-guy.tearing .ug-tear { animation: ug-tear 1.4s ease-in infinite; }
@keyframes ug-tear { 0% { opacity: 0; transform: translateY(0) scale(.6); } 15% { opacity: 1; transform: translateY(0) scale(1); } 85% { opacity: 1; transform: translateY(10px); } 100% { opacity: 0; transform: translateY(14px); } }
/* how he travels (urgent-guy.js MOVES); .back = coming back in, heading left */
.urg-guy svg { transform-origin: 50% 90%; }
.urg-guy.mv-waddle svg { animation: ug-waddle .28s ease-in-out infinite alternate; }
@keyframes ug-waddle { from { transform: translateY(0) rotate(-3deg); } to { transform: translateY(-3px) rotate(3deg); } }
.urg-guy.mv-hop svg { animation: ug-hop2 .34s cubic-bezier(.3,0,.7,1) infinite; }
.urg-guy.mv-hop svg { --lean: 7deg; }
.urg-guy.mv-hop.back svg { --lean: -7deg; }
@keyframes ug-hop2 { 0%, 100% { transform: translateY(0) rotate(var(--lean)) scale(1.06, .94); } 15% { transform: translateY(0) rotate(var(--lean)); } 50% { transform: translateY(-12px) rotate(var(--lean)) scale(.97, 1.03); } 85% { transform: translateY(0) rotate(var(--lean)); } }
.urg-guy.mv-glide svg { transform: rotate(9deg); transition: transform .25s; }
.urg-guy.mv-glide.back svg { transform: rotate(-9deg); }
.urg-guy.mv-sneak svg { animation: ug-sneak .5s ease-in-out infinite alternate; }
@keyframes ug-sneak { from { transform: translateY(18px) rotate(-2deg); } to { transform: translateY(15px) rotate(2deg); } }
.urg-guy.mv-dash.wind svg { transform: rotate(-12deg) scale(.96, 1.04) translateX(-4px); transition: transform .3s ease-out; }
.urg-guy.mv-dash:not(.wind) svg { transform: scale(1.18, .88) rotate(6deg); transition: transform .12s; }
.urg-guy.mv-dash.back svg { transform: scale(1.12, .92) rotate(-6deg); }
.urg-guy.mv-roll svg { animation: ug-roll .55s linear infinite; transform-origin: 50% 55%; }
.urg-guy.mv-roll.back svg { animation-direction: reverse; }
@keyframes ug-roll { to { transform: rotate(360deg); } }
.urg-guy.mv-bounce svg { animation: ug-bounce .7s cubic-bezier(.3,0,.7,1) infinite; }
@keyframes ug-bounce { 0%, 100% { transform: translateY(0) scale(1.1, .9); } 12% { transform: translateY(0) scale(1); } 50% { transform: translateY(-26px) rotate(8deg); } 88% { transform: translateY(0) scale(1); } }
.urg-guy.mv-bounce.back svg { animation-name: ug-bounce-b; }
@keyframes ug-bounce-b { 0%, 100% { transform: translateY(0) scale(1.1, .9); } 12% { transform: translateY(0) scale(1); } 50% { transform: translateY(-26px) rotate(-8deg); } 88% { transform: translateY(0) scale(1); } }
.urg-guy.cheer svg { animation: ug-cheer .6s cubic-bezier(.3,1.6,.5,1); }
@keyframes ug-cheer { 40% { transform: translateY(-6px); } }
@media (max-width: 860px) {
  .urg-strip { height: 39px; clip-path: inset(-60px 0 0 0 round 0 0 14px 14px); }
  .urg-guy { width: 52px; }
  #care .tile:has(.urg-strip) .note { padding-right: 66px; }
}
@media (prefers-reduced-motion: reduce) { .urg-guy .ug-pp { transition: none; } .urg-guy svg { animation: none !important; } }

/* Come see us! on computers: one light blue box holding the words and the map, with the same big two-tone heading as
   "Ready for your next exam?" below it (Dr. Gray picked it 2026-11-24). Phones keep the address card over the map,
   in the same light blue. */
.find h2 span { color: var(--accent); }
.find-now[hidden] { display: none; }
@media (max-width: 860px) { .find-now { display: none; } }
@media (min-width: 861px) {
  .find { align-items: center; background: var(--sky); border-radius: 22px; padding: 16px; gap: 16px; }
  .find-card { padding: 28px 32px; }
  .find-card h2 { font-size: clamp(40px, 4.8vw, 60px); line-height: 1; letter-spacing: -.035em; margin: 0 0 28px; }
  .find-card h2 span { display: block; }
  .find-card .find-addr { display: block; font-size: 18px; line-height: 1.45; color: var(--soft); margin: 0; }
  .find-card .find-addr svg { display: none; }
  .find-card .find-addr strong { display: block; color: var(--ink); font-size: clamp(26px, 2.6vw, 32px); font-weight: 800; letter-spacing: -.025em; line-height: 1.15; margin-bottom: 2px; }
  .find-card .find-addr br { display: none; }
  .find-card .find-now { display: flex; width: fit-content; align-items: center; gap: 8px; margin: 20px 0 22px; font-size: 15px; font-weight: 700; color: var(--soft); }
  .find-now::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
  .find-now.open { color: #2f7d4f; }
  .find-now.open::before { box-shadow: 0 0 0 4px rgba(47, 125, 79, .15); }
  .find-card .find-go { margin: 0; }
  .find .map { box-shadow: none; border-radius: 14px; }
}
/* phones: the address card over the map, light blue to match */
@media (max-width: 860px) {
  .find-card { background: var(--sky); }
  .find-card h2 span { color: inherit; }
}

/* Eye care topic pages (scripts/build-eye-pages.py): same hero as Careers, then easy-reading text */
.topic .topic-crumb { margin: 0 0 8px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.topic .topic-crumb a { color: var(--accent); text-decoration: none; }
.topic-body { max-width: 760px; padding: 28px 0 64px; }
.topic-body h2 { font-size: 24px; letter-spacing: -.015em; margin: 32px 0 10px; }
.topic-body p { color: var(--soft); font-size: 17px; line-height: 1.65; margin: 0 0 12px; }
.topic-body p b, .topic-body li b { color: var(--ink); }
.topic-body ul { margin: 0 0 12px; padding-left: 20px; color: var(--soft); font-size: 17px; line-height: 1.6; }
.topic-body li { margin-bottom: 6px; }
.topic-body li::marker { color: var(--accent); }
.topic-body a { color: var(--accent); font-weight: 700; }
.topic-body a[href^="tel:"] { white-space: nowrap; }   /* keep the phone number on one line */
.topic .careers-hero .wrap { padding-bottom: 4px; }
.topic .careers-hero p:not(.topic-back) { color: var(--ink); }
/* section headings: short maroon bar on the left */
.topic-body > h2 { position: relative; padding-left: 20px; }
.topic-body > h2::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 4px; border-radius: 2px; background: var(--accent); }
/* Urgent box, two panels: "Eye emergency?" on soft maroon, "Other urgent eye problems?" on sky blue.
   The box's own children carry the backgrounds, so the builder's HTML stays one plain list of parts. */
.topic-alert { margin: 12px 0 24px; }
.topic-alert p { font-size: 16px; }
.topic-body .topic-alert > * { margin: 0; padding: 0 20px 10px; background: var(--accent-tint); }
.topic-body .topic-alert > ul { padding: 6px 20px 10px 40px; }
.topic-alert > :first-child { padding-top: 18px; border-top: 4px solid var(--accent); border-radius: 16px 16px 0 0; }
.topic-body .topic-alert > p:has(+ .topic-alert-h) { margin-bottom: 14px; padding-bottom: 18px; border-radius: 0 0 16px 16px; }
/* back button above the heading: topic page -> its overview page, overview page -> home */
.topic .topic-back { margin: 0 0 14px; }
.topic .topic-back a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px 0 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--ink); font-size: 15px; font-weight: 700; text-decoration: none; }
.topic .topic-back a span { color: var(--accent); font-size: 22px; line-height: 1; margin-top: -2px; }
.topic .topic-back a:hover { border-color: var(--accent); }
.topic-alert .topic-alert-h { color: var(--ink); font-weight: 800; }
.topic-alert ul { font-size: 16px; }
.topic-body .topic-alert * + .topic-alert-h, .topic-body .topic-alert * + .topic-alert-h ~ * { background: var(--sky); }
.topic-alert * + .topic-alert-h { padding-top: 18px; border-top: 4px solid var(--sky-line); border-radius: 16px 16px 0 0; }
.topic-alert * + .topic-alert-h ~ ul li::marker { color: var(--sky-ink); }
.topic-alert > :last-child { padding-bottom: 18px; border-radius: 0 0 16px 16px; }
/* Calmer urgent box (Dr. Gray: the solid maroon felt overpowering): white panels with a thin outline and a
   colored top edge instead of filled backgrounds. */
.topic-body .topic-alert > *, .topic-body .topic-alert * + .topic-alert-h, .topic-body .topic-alert * + .topic-alert-h ~ * {
  background: var(--card); border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.topic-alert > :first-child { border-top-width: 3px; }
.topic-alert * + .topic-alert-h { border-top-width: 3px; }
.topic-body .topic-alert > p:has(+ .topic-alert-h), .topic-alert > :last-child { border-bottom: 1px solid var(--line); }
.topic-body .topic-alert { margin-top: 28px; }
/* highlighted box inside a page (e.g. daily disposables on Contact lenses) */
.topic-callout { background: var(--sky); border-radius: 14px; padding: 16px 20px; margin: 18px 0; }
.topic-callout p { color: var(--ink); margin: 0; }
.topic-callout .topic-callout-h { font-weight: 800; font-size: 18px; margin-bottom: 4px; }
/* overview pages (Urgent / Routine / Medical eye care): one row per topic */
.topic-index { list-style: none; padding: 0 !important; margin: 24px 0 0 !important; }
.topic-index li { position: relative; margin: 0; border-bottom: 1px solid var(--line); }
.topic-body .topic-index a { display: block; padding: 16px 34px 16px 0; text-decoration: none; font-weight: 400; }
.topic-index a::after { content: "›"; content: "›" / ""; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 26px; }
.topic-index b { display: block; color: var(--accent); font-size: 18px; }
.topic-index span { color: var(--soft); font-size: 15px; }
.topic-call { margin-top: 40px; background: var(--sky); border-radius: 18px; padding: 24px 26px; }
.topic-body .topic-call h2 { margin-top: 0; }
.topic-call .btn, .topic-body .topic-call a.btn { margin-top: 4px; color: var(--accent-ink); text-decoration: none; }
.topic-related { margin-top: 32px; }
.topic-related h2 { font-size: 18px; margin-top: 0; }
.topic-related ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.topic-related li { margin: 0; }
.topic-related a { display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); text-decoration: none; font-size: 15px; }
.topic-related a:hover { border-color: var(--accent); }
@media (max-width: 600px) { .topic-body { padding-top: 16px; } .topic-body h2 { font-size: 21px; } .topic-body p, .topic-body ul { font-size: 16px; } .topic-call { padding: 20px; } }
/* home page Eye care cards: the items link to their topic pages, quietly (same text color, a faint underline) */
.list a, .tile p a.soft-link { color: inherit; text-decoration: underline; text-decoration-color: rgba(122, 42, 60, .28); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.list a:hover, .tile p a.soft-link:hover { color: var(--accent); text-decoration-color: currentColor; }
