/* ID Eye & Aesthetics site styles */
:root {
  --ink: #26241F;
  --paper: #F4F1EC;
  --band: #E9E3D7;
  --card: #FFFFFF;
  --muted: #57524A;
  --on-dark: #D9D1C0;
  --rule: rgba(38, 36, 31, 0.2);
  --rule-strong: rgba(38, 36, 31, 0.32);
  --serif: 'Newsreader', Georgia, serif;
  --sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1200px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: var(--muted); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--card); padding: 8px 14px; }

/* Type */
.kicker {
  font-size: 13px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  margin: 0 0 20px;
}
.kicker.small { font-size: 12px; letter-spacing: 0.16em; color: var(--muted); margin-bottom: 10px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; margin: 0; }
h1 { font-size: clamp(42px, 5.2vw, 72px); line-height: 1.05; letter-spacing: -0.015em; margin-bottom: 24px; }
h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.1; margin-bottom: 20px; }
h3 { font-size: 25px; line-height: 1.2; }
h1 em, h2 em, .address em { font-style: italic; font-weight: 500; }
.lead { font-size: 20px; color: var(--muted); max-width: 640px; margin: 0 0 32px; }
.muted { color: var(--muted); }
p { margin: 0 0 16px; }
.small { font-size: 15px; }

/* Buttons */
.btns { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border-radius: 2px;
  font-weight: 600; font-size: 17px; text-decoration: none; line-height: 1.2;
  border: 1.5px solid var(--ink);
}
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: #3b3830; color: var(--paper); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: var(--band); color: var(--ink); border-color: var(--band); }
.btn-light:hover { background: var(--paper); color: var(--ink); }
.btn-ghost-light { background: transparent; color: var(--band); border-color: var(--band); }
.btn-ghost-light:hover { background: var(--band); color: var(--ink); }
.textlink { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; }

/* Top strip and header */
.topstrip { background: var(--ink); color: var(--band); font-size: 14px; letter-spacing: 0.02em; }
.topstrip .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-top: 10px; padding-bottom: 10px; }
.topstrip a { color: var(--band); text-decoration: none; font-weight: 600; }
.site-header { border-bottom: 1px solid var(--rule); background: var(--paper); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 18px; padding-bottom: 18px; }
.logo { display: block; line-height: 0; flex: none; }
.logo img { height: 46px; width: auto; }
.menu-btn { display: none; }
.nav { display: flex; align-items: center; gap: 8px 26px; font-size: 16px; font-weight: 500; }
.nav > a, .nav .drop > a { text-decoration: none; padding: 8px 0; }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.drop { position: relative; }
.drop-menu {
  display: none; position: absolute; top: 100%; left: -18px; z-index: 20;
  background: var(--card); border: 1px solid var(--rule); min-width: 240px; padding: 8px 0;
  box-shadow: 0 10px 24px rgba(38, 36, 31, 0.08);
}
.drop:hover .drop-menu, .drop:focus-within .drop-menu { display: block; }
.drop-menu a { display: block; padding: 10px 18px; text-decoration: none; }
.drop-menu a:hover { background: var(--band); }
.nav .btn { min-height: 48px; padding: 0 22px; font-size: 16px; }

@media (max-width: 980px) {
  .site-header .wrap { flex-wrap: wrap; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px;
    background: transparent; border: 1.5px solid var(--ink); border-radius: 2px;
    font: 600 16px var(--sans); color: var(--ink); cursor: pointer;
  }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 4px; }
  .nav.open { display: flex; }
  .nav > a, .nav .drop > a { display: block; padding: 14px 0; border-top: 1px solid var(--rule); font-size: 18px; }
  .drop-menu { display: block; position: static; border: 0; box-shadow: none; background: transparent; padding: 0 0 8px 16px; min-width: 0; }
  .drop-menu a { padding: 10px 0; font-size: 17px; color: var(--muted); }
  .nav .btn { margin-top: 12px; }
}

/* Sections */
.section { padding: 88px 0; }
.section.tight { padding: 64px 0; }
.section.top { padding: 56px 0 72px; }
.band { background: var(--band); }
.dark { background: var(--ink); color: var(--band); }
.dark h2, .dark h3, .dark h1 { color: var(--band); }
.dark .muted, .dark p.muted { color: var(--on-dark); }
.dark .kicker { color: var(--on-dark); }
.dark a { color: var(--band); }
.split { display: flex; flex-wrap: wrap; gap: 48px 72px; }
.split > .main { flex: 1 1 520px; min-width: 0; }
.split > .side { flex: 1 1 340px; min-width: 0; }
.split.center { align-items: center; }
.breadcrumb { font-size: 15px; color: var(--muted); margin-bottom: 36px; }
.breadcrumb a { color: var(--muted); }

/* Hero */
.hero { padding: 64px 0 80px; }
.hero .split { align-items: center; }
.hero figure { margin: 0; }
.hero figcaption { margin-top: 12px; font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--muted); }
.photo { width: 100%; height: auto; object-fit: cover; border-radius: 2px; }
.ratio-45 { aspect-ratio: 4 / 5; }
.ratio-43 { aspect-ratio: 4 / 3; }
.ratio-169 { aspect-ratio: 16 / 9; }
.ratio-11 { aspect-ratio: 1 / 1; }

/* Lists */
.dlist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); column-gap: 40px; }
.dlist li { padding: 14px 0 14px 24px; border-top: 1px solid var(--rule); position: relative; }
.dlist li::before { content: "\25C7"; position: absolute; left: 0; top: 14px; }
.dlist.one { grid-template-columns: 1fr; }
.dlist.plain li { border-top: 0; padding-top: 6px; padding-bottom: 6px; }
.dlist.plain li::before { top: 6px; }
.numbered { list-style: none; margin: 0; padding: 0; }
.numbered li { display: flex; gap: 20px; align-items: baseline; padding: 18px 0; border-top: 1px solid var(--rule); }
.numbered li:last-child { border-bottom: 1px solid var(--rule); }
.numbered .n { font-family: var(--serif); font-style: italic; font-size: 24px; min-width: 32px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; }
.steps li { border-top: 2px solid var(--ink); padding-top: 24px; }
.steps .n { display: block; font-family: var(--serif); font-style: italic; font-size: 40px; line-height: 1; margin-bottom: 18px; }
.steps h3 { font-size: 26px; margin-bottom: 10px; }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.grid.wide { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card {
  display: flex; flex-direction: column; gap: 10px; padding: 28px 26px 22px; min-height: 230px;
  background: var(--card); border: 1px solid var(--rule-strong); text-decoration: none; color: var(--ink);
}
a.card:hover { border-color: var(--ink); color: var(--ink); }
.card .label { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.card h3 { font-size: 25px; }
.card p { margin: 0; flex-grow: 1; font-size: 16px; color: var(--muted); }
.card .more { font-size: 15px; font-weight: 600; }
.card .links { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 15px; font-weight: 600; }
.card .links a { display: inline-flex; align-items: center; min-height: 44px; }
.card.dark-card { background: var(--ink); border-color: var(--ink); color: var(--band); }
.card.dark-card h3 { color: var(--band); }
.card.dark-card p, .card.dark-card .label { color: var(--on-dark); }
.card.dark-card .more, .card.dark-card a { color: var(--band); }
.card.outline { background: transparent; border: 1.5px dashed var(--rule-strong); }
.card.short { min-height: 140px; }
.box { background: var(--card); border: 1px solid var(--rule-strong); padding: 26px; }
.box h3 { font-family: var(--sans); font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.box p { margin: 0; font-size: 16px; color: var(--muted); }
.box.dark-box { background: var(--ink); border-color: var(--ink); }
.box.dark-box h3 { color: var(--band); }
.box.dark-box p { color: var(--on-dark); }

/* Labeled rows (condition pages) */
.row { display: flex; flex-wrap: wrap; gap: 12px 48px; padding: 28px 0; border-top: 1px solid var(--rule-strong); }
.row:last-child { border-bottom: 1px solid var(--rule-strong); }
.row > h2 { flex: 0 1 220px; font-size: 22px; font-style: italic; font-weight: 500; margin: 0; }
.row > .body { flex: 1 1 560px; min-width: 0; }
.row .body p:last-child { margin-bottom: 0; }

/* At a glance */
.glance { background: var(--ink); color: var(--band); padding: 32px 30px; }
.glance .kicker { color: var(--on-dark); font-size: 12px; margin-bottom: 14px; }
.glance .big { font-family: var(--serif); font-size: 26px; font-style: italic; font-weight: 500; line-height: 1.25; margin: 0 0 16px; }
.glance .rest { margin: 0; padding-top: 16px; border-top: 1px solid rgba(244,241,236,0.25); font-size: 16px; color: var(--on-dark); }

/* Address card */
.address-card { font-style: normal; display: block; background: var(--ink); color: var(--band); padding: 32px 30px 30px; margin: 0 0 28px; }
.address-card .pin { display: flex; gap: 16px; align-items: flex-start; }
.address-card svg { flex: none; margin-top: 6px; }
.address-card .label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 8px; }
.address-card .street { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 2.6vw, 36px); line-height: 1.2; }
.address-card .city { display: block; font-family: var(--serif); font-weight: 500; font-style: italic; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.3; }
.address-card .note { margin: 20px 0 24px; padding-top: 18px; border-top: 1px solid rgba(244,241,236,0.25); font-size: 17px; color: var(--on-dark); }
.hours { margin: 0 0 28px; display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; }

/* Facts strip */
.facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; border-top: 1px solid var(--rule); padding-top: 20px; }
.facts dt { font-size: 13px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-family: var(--serif); font-size: 24px; font-weight: 600; line-height: 1.25; }

/* Quote band */
.quote { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.25; margin: 0 0 24px; }

/* CTA band */
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
.cta .text { flex: 1 1 460px; min-width: 0; }
.cta h2 { font-size: clamp(30px, 3vw, 40px); margin-bottom: 10px; }
.cta p { margin: 0; }

/* Related links */
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.related a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px;
  padding: 16px 22px; border: 1px solid var(--rule-strong); background: var(--card); text-decoration: none; font-weight: 600;
}
.related a:hover { border-color: var(--ink); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; margin-bottom: 32px; }
.section-head h2 { margin-bottom: 0; }

/* Table */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 17px; }
th, td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-top: 1px solid var(--rule-strong); }
th { font-weight: 600; }
thead th { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); border-top: 0; }

/* Procedure rows */
.proc { list-style: none; margin: 0; padding: 0; }
.proc li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding: 20px 0; border-top: 1px solid var(--rule-strong); }
.proc li:last-child { border-bottom: 1px solid var(--rule-strong); }
.proc .name { font-family: var(--serif); font-weight: 600; font-size: 22px; }
.proc .acts { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 15px; font-weight: 600; }
.proc .acts a { display: inline-flex; align-items: center; min-height: 44px; }

/* Pills */
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pills a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--rule-strong); border-radius: 22px; text-decoration: none; font-size: 16px; font-weight: 500; background: var(--card); }
.pills a:hover { border-color: var(--ink); }

/* Doctors */
.docs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.docs figure { margin: 0; }
.docs figcaption { margin-top: 14px; }
.docs .name { display: block; font-family: var(--serif); font-weight: 600; font-size: 22px; }
.docs .cred { display: block; font-size: 14px; letter-spacing: 0.04em; color: var(--muted); }
.dark .docs .cred { color: var(--on-dark); }

/* Map */
.map { width: 100%; aspect-ratio: 16 / 10; border: 0; border-radius: 2px; background: var(--band); }

/* FAQ */
.faq { border-top: 1px solid var(--rule-strong); }
.faq details { border-bottom: 1px solid var(--rule-strong); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-weight: 600; font-size: 19px; }
.bio-label { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; margin: 32px 0 8px; }
.reviewed { font-size: 14px; color: var(--muted); margin: 28px 0 0; }
.reviewed a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-family: var(--serif); font-size: 28px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 20px; color: var(--muted); max-width: 760px; }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-dark); padding: 64px 0 32px; font-size: 16px; }
.site-footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(244,241,236,0.2); }
.site-footer h2 { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--band); margin: 0 0 12px; }
.site-footer a { color: var(--band); }
.site-footer p { margin: 0; }
.site-footer nav { display: flex; flex-direction: column; gap: 6px; }
.site-footer .logo img { height: 48px; margin-bottom: 18px; }
.site-footer .legal { margin: 24px 0 0; font-size: 14px; }

/* Mobile call and book bar */
.callbar { display: none; }
@media (max-width: 760px) {
  body { font-size: 17px; padding-bottom: 72px; }
  .section { padding: 64px 0; }
  .hero { padding: 40px 0 56px; }
  .lead { font-size: 18px; }
  h3, .card h3 { font-size: 22px; }
  .docs { gap: 14px; }
  .btns .btn { width: 100%; }
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: var(--ink); border-top: 1px solid rgba(244,241,236,0.2);
  }
  .callbar a { display: flex; align-items: center; justify-content: center; min-height: 60px; color: var(--band); font-weight: 600; text-decoration: none; }
  .callbar a + a { background: var(--band); color: var(--ink); }
}

@media (max-width: 480px) {
  .address-card { padding: 26px 22px 24px; }
  .address-card .street { font-size: 27px; }
  .address-card .city { font-size: 23px; }
  .facts dd { font-size: 21px; }
}

/* Nov 2: visit chooser, symptom checker, phone hero crop */
.box .label { display:block; font-size:12px; font-weight:600; letter-spacing:0.16em; text-transform:uppercase; color:var(--muted); margin-bottom:10px; }
.chooser .box { display:flex; flex-direction:column; }
.chooser .box h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.chooser .box p { flex-grow:1; margin-bottom: 18px; }
.chooser .btns { margin: 0; }
.checker { border: 0; margin: 0; padding: 0; min-width: 0; }
.checker legend { font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; padding: 0; }
.check { display:flex; gap:12px; align-items:flex-start; padding:12px 0; border-top:1px solid var(--rule); cursor:pointer; font-size:17px; }
.check input { width:20px; height:20px; margin-top:3px; accent-color: var(--ink); flex-shrink:0; }
.checker-result { margin: 18px 0 12px; font-weight: 600; }
@media (max-width: 760px) { .hero-drs { aspect-ratio: 4 / 3; object-position: 50% 30% !important; } }
.clin { display:block; font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--muted); margin-top: 6px; font-style: normal; }
.dark-card .clin { color: var(--on-dark); }
.checker-result { margin: 18px 0 12px; }
.checker-result p { margin: 0 0 8px; }
.checker-count { font-weight: 600; }
.checker-tier a { text-decoration: underline; }
.checker-tips { list-style: none; padding: 0; margin: 4px 0 0; }
.checker-tips li { font-size: 15px; color: var(--muted); padding-left: 18px; position: relative; margin-bottom: 6px; }
.checker-tips li::before { content: "\25C7"; position: absolute; left: 0; font-size: 12px; top: 2px; }

.prices { width: 100%; border-collapse: collapse; max-width: 520px; }
.prices th, .prices td { text-align: left; padding: 10px 0; border-top: 1px solid var(--rule); font-weight: 400; }
.prices td { text-align: right; font-weight: 600; white-space: nowrap; padding-left: 16px; }

/* Referred patient page (/referred): phone first, big tap targets */
.ref-top h1 { margin-bottom: 14px; }
.ref-start { font-size: 18px; max-width: 640px; margin: 0 0 22px; }
.ref-h2 { font-family: var(--serif); font-size: clamp(26px, 5vw, 34px); font-weight: 600; margin: 0 0 8px; text-wrap: balance; }
.ref-sub { color: var(--muted); margin: 0 0 22px; }
.ref-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ref-block { display: flex; flex-direction: column; }
.ref-block h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.ref-check { flex: 0 0 auto; width: 20px; height: 20px; border: 2px solid var(--ink); border-radius: 2px; }
.ref-block p { flex-grow: 1; margin-bottom: 18px; }
.ref-block .btns { margin: 0; }
.ref-unsure { margin: 22px 0 0; font-size: 17px; }
.ref-info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.ref-address { font-size: 18px; line-height: 1.6; margin: 0 0 20px; }
.ref-close { font-size: 18px; margin: 0; }
.ref-top .btn, .ref-block .btn, .ref-address + .btns .btn { min-height: 56px; }
@media (max-width: 760px) {
  .ref-grid, .ref-info { grid-template-columns: 1fr; }
  .ref-info { gap: 28px; }
}

