/* Northline Orthopaedics - calm clinical precision */
:root {
  --ink: #0f2629;
  --teal: #0e4f55;
  --teal-deep: #0a3a3f;
  --mint: #8fe3c8;
  --mint-soft: #e4f6ef;
  --mint-ink: #0b5a4a;
  --grey: #f2f5f6;
  --grey-2: #e8eef0;
  --line: #d9e2e4;
  --muted: #4d6266;
  --white: #fff;
  --radius: 18px;
  --radius-sm: 10px;
  --gutter: clamp(20px, 5vw, 48px);
  --max: 1200px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
a { color: var(--teal); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--teal-deep); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.025em; line-height: 1.12; color: var(--ink); }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.5rem); letter-spacing: -0.035em; line-height: 1.03; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.85rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }

.skip {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100;
  background: var(--teal); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 12px; min-height: 72px; }
.site-header .brand { margin-inline-end: auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand svg { width: 34px; height: 34px; color: var(--teal); flex: none; }
.brand-name { font-weight: 700; font-size: 1.12rem; letter-spacing: -0.02em; line-height: 1; }
.brand-name span { display: block; font-weight: 500; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.nav { display: none; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem;
  padding: 8px 12px; border-radius: 8px; transition: background .2s, color .2s;
}
.nav a:hover { background: var(--grey); color: var(--teal); }
.nav a[aria-current="page"] { color: var(--teal); box-shadow: inset 0 -2px 0 var(--mint); border-radius: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 .98rem/1 var(--font); text-decoration: none;
  padding: 15px 22px; border-radius: var(--radius-sm); border: 1.5px solid transparent;
  background: var(--teal); color: #fff; cursor: pointer;
  transition: background .2s, transform .2s var(--ease), border-color .2s;
}
.btn:hover { background: var(--teal-deep); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-ghost { background: transparent; color: var(--teal); border-color: var(--line); }
.btn-ghost:hover { background: var(--grey); color: var(--teal-deep); border-color: var(--teal); }
.btn-mint { background: var(--mint); color: var(--teal-deep); }
.btn-mint:hover { background: #b2eedb; color: var(--teal-deep); }
.header-cta { display: none; padding: 12px 18px; }

/* Mobile menu: a <details> that works without JavaScript */
.menu { position: relative; }
.menu summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .95rem; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary .bars { width: 18px; height: 12px; position: relative; }
.menu summary .bars::before, .menu summary .bars::after {
  content: ""; position: absolute; inset-inline: 0; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), top .25s var(--ease);
}
.menu summary .bars::before { top: 2px; }
.menu summary .bars::after { top: 8px; }
.menu[open] summary .bars::before { top: 5px; transform: rotate(45deg); }
.menu[open] summary .bars::after { top: 5px; transform: rotate(-45deg); }
.menu-panel {
  position: absolute; inset-inline-end: 0; top: calc(100% + 12px); width: min(320px, calc(100vw - 40px));
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px;
  box-shadow: 0 18px 40px -18px rgba(10, 58, 63, .35);
}
.menu-panel a { display: block; padding: 12px 14px; text-decoration: none; color: var(--ink); font-weight: 500; border-radius: 8px; }
.menu-panel a:hover, .menu-panel a[aria-current="page"] { background: var(--mint-soft); color: var(--teal-deep); }
.menu-panel .btn { display: flex; margin-top: 8px; color: #fff; }
.menu-panel .btn:hover { background: var(--teal-deep); color: #fff; }

@media (min-width: 1040px) {
  .nav, .header-cta { display: inline-flex; }
  .menu { display: none; }
}

/* ---------- Shared bits ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mint-ink);
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--mint); }
.eyebrow .num { color: var(--muted); font-variant-numeric: tabular-nums; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); line-height: 1.6; color: var(--muted); max-width: 36em; }
.muted { color: var(--muted); }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-grey { background: var(--grey); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 60px); max-width: 760px; }
.section-head p { margin: 0; }
.section-head.split { max-width: none; }
@media (min-width: 900px) {
  .section-head.split { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 48px; }
}
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }
.photo { border-radius: var(--radius); overflow: hidden; background: var(--grey-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Hero (home) ---------- */
.hero { padding: clamp(36px, 6vw, 72px) 0 clamp(64px, 8vw, 104px); }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero .lead { margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.hero-meta strong { color: var(--ink); font-weight: 600; display: block; }
.hero-visual { position: relative; }
.hero-visual .photo { aspect-ratio: 4 / 5; }
.ruler {
  position: absolute; inset-inline-start: -22px; top: 8%; bottom: 8%; width: 10px; display: none;
  background: repeating-linear-gradient(to bottom, var(--line) 0 1px, transparent 1px 10px);
}
.ruler::after { content: ""; position: absolute; inset-inline: 0 -4px; top: 50%; height: 2px; background: var(--mint); }
.hero-card {
  position: absolute; inset-inline: 16px; bottom: 16px;
  display: flex; gap: 16px; align-items: center;
  background: rgba(255, 255, 255, .96); border-radius: 14px; padding: 16px 18px;
  box-shadow: 0 20px 40px -24px rgba(10, 58, 63, .45);
}
.hero-card svg { width: 56px; height: 56px; flex: none; color: var(--teal); }
.hero-card p { margin: 0; font-size: .92rem; line-height: 1.45; color: var(--muted); }
.hero-card strong { display: block; color: var(--ink); font-size: .98rem; margin-bottom: 2px; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.08fr 1fr; gap: 72px; }
  .hero-visual .photo { aspect-ratio: 5 / 6; }
  .ruler { display: block; }
  .hero-card { inset-inline: -40px auto; bottom: 40px; max-width: 330px; }
}

/* ---------- Areas of care grid ---------- */
.areas { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.area {
  position: relative; background: #fff; padding: 28px 26px 30px; text-decoration: none; color: var(--ink);
  display: grid; gap: 10px; align-content: start; transition: background .25s;
}
.area:hover { background: var(--mint-soft); color: var(--ink); }
.area .icon { width: 52px; height: 52px; color: var(--teal); margin-bottom: 10px; }
.area h3 { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.area h3 svg { width: 18px; height: 18px; color: var(--teal); opacity: .5; transition: transform .25s var(--ease), opacity .25s; }
.area:hover h3 svg { transform: translateX(4px); opacity: 1; }
.area p { margin: 0; font-size: .96rem; color: var(--muted); }
.area-feature { background: var(--teal); color: #fff; }
.area-feature:hover { background: var(--teal-deep); color: #fff; }
.area-feature h3, .area-feature h3 svg, .area-feature .icon { color: #fff; }
.area-feature p { color: #cfe6e3; }
@media (min-width: 640px) { .areas { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .areas { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Approach (steps along a line) ---------- */
.approach { display: grid; gap: 48px; align-items: center; }
.approach .photo { aspect-ratio: 4 / 3; }
.steps { list-style: none; display: grid; gap: 0; counter-reset: step; }
.steps li { position: relative; padding-block-end: 32px; padding-inline-start: 64px; }
.steps li:last-child { padding-block-end: 0; }
.steps li::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; inset-inline-start: 0; top: -2px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font-size: .85rem; font-weight: 700; color: var(--teal);
  background: #fff; border: 1.5px solid var(--teal);
}
.steps li::after { content: ""; position: absolute; inset-inline-start: 21px; top: 46px; bottom: 4px; width: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); }
@media (min-width: 900px) { .approach { grid-template-columns: 1fr 1fr; gap: 80px; } }

/* ---------- Split feature ---------- */
.split { display: grid; gap: 40px; align-items: center; }
.split .photo { aspect-ratio: 3 / 2; }
.checks { list-style: none; display: grid; gap: 14px; margin-top: 28px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.checks svg { width: 22px; height: 22px; color: var(--mint-ink); margin-top: 3px; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 80px; }
  .split.reverse > :first-child { order: 2; }
}

/* ---------- Wide statement band ---------- */
.band { position: relative; color: #fff; isolation: isolate; overflow: hidden; background: var(--teal-deep); }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(var(--band-dir, 90deg), rgba(8, 44, 48, .9) 0%, rgba(8, 44, 48, .72) 45%, rgba(8, 44, 48, .2) 100%); }
.band .wrap { padding-top: clamp(96px, 14vw, 180px); padding-bottom: clamp(96px, 14vw, 180px); }
.band p.statement { font-size: clamp(1.7rem, 3.4vw, 2.8rem); font-weight: 500; line-height: 1.2; letter-spacing: -0.025em; max-width: 17em; margin: 0 0 28px; }
.band .eyebrow { color: var(--mint); }

/* ---------- CTA block ---------- */
.cta { display: grid; gap: 32px; background: var(--mint-soft); border-radius: 24px; padding: clamp(32px, 6vw, 64px); position: relative; overflow: hidden; }
.cta h2 { max-width: none; }
.cta-side { display: grid; gap: 18px; align-content: start; }
.cta-row { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: .98rem; }
.cta-row svg { width: 20px; height: 20px; color: var(--teal); margin-top: 3px; }
.cta-row strong { display: block; }
.cta .contour { position: absolute; inset-inline-end: -60px; top: -60px; width: 320px; height: 320px; color: #c4ebdd; pointer-events: none; }
.cta > * { position: relative; }
@media (min-width: 900px) { .cta { grid-template-columns: 1.4fr 1fr; align-items: center; gap: 64px; } }

/* ---------- Page header (inner pages) ---------- */
.page-head { padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.page-head-grid { display: grid; gap: 36px; align-items: end; }
.page-head h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 20px; }
.page-head .lead { margin: 0; }
.page-head .photo { aspect-ratio: 16 / 10; }
@media (min-width: 900px) { .page-head-grid { grid-template-columns: 1.15fr 1fr; gap: 72px; } }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: var(--muted); }

/* ---------- Treatments ---------- */
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.jump a { font-size: .9rem; font-weight: 500; text-decoration: none; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: #fff; transition: border-color .2s, background .2s; }
.jump a:hover { border-color: var(--teal); background: var(--mint-soft); }
.treat { display: grid; gap: 32px; padding: clamp(56px, 7vw, 88px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.treat:last-child { border-bottom: 0; }
.treat-head .icon { width: 60px; height: 60px; color: var(--teal); margin-bottom: 20px; }
.treat-head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 14px; }
.treat-head p { color: var(--muted); max-width: 30em; }
.treat-head .photo { aspect-ratio: 3 / 2; margin-top: 24px; }
.treat-cols { display: grid; gap: 20px; align-content: start; }
.panel { background: var(--grey); border-radius: var(--radius); padding: 26px 26px 28px; }
.panel h3 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mint-ink); margin-bottom: 14px; font-weight: 700; }
.panel ul { list-style: none; display: grid; gap: 10px; }
.panel li { position: relative; padding-inline-start: 22px; }
.panel li::before { content: ""; position: absolute; inset-inline-start: 0; top: .72em; width: 10px; height: 2px; background: var(--teal); }
.panel-white { background: #fff; border: 1px solid var(--line); }
@media (min-width: 900px) {
  .treat { grid-template-columns: 1fr 1.05fr; gap: 72px; }
}

/* ---------- Your visit timeline ---------- */
.timeline { list-style: none; display: grid; gap: 0; max-width: 920px; }
.timeline li { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding-bottom: 44px; position: relative; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; inset-inline-start: 27px; top: 60px; bottom: 6px; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline .dot { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--mint-soft); color: var(--teal); }
.timeline .dot svg { width: 26px; height: 26px; }
.timeline .step-num { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mint-ink); margin-bottom: 6px; display: block; }
.timeline h3 { font-size: 1.35rem; margin-bottom: 8px; }
.timeline p { margin: 0; color: var(--muted); max-width: 40em; }
@media (min-width: 700px) { .timeline li { grid-template-columns: 88px 1fr; gap: 28px; } .timeline li::before { inset-inline-start: 27px; } }

.info-grid { display: grid; gap: 20px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.info-card .icon { width: 44px; height: 44px; color: var(--teal); margin-bottom: 18px; }
.info-card h3 { margin-bottom: 12px; }
.info-card p { color: var(--muted); }
.info-card p:last-child { margin-bottom: 0; }
.info-card ul { list-style: none; display: grid; gap: 10px; margin-top: 4px; }
.info-card li { position: relative; padding-inline-start: 22px; color: var(--muted); }
.info-card li::before { content: ""; position: absolute; inset-inline-start: 0; top: .72em; width: 10px; height: 2px; background: var(--mint-ink); }
@media (min-width: 900px) { .info-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Clinicians ---------- */
.people { display: grid; gap: 24px; }
.person { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; display: grid; grid-template-rows: auto 1fr; }
.person-art { position: relative; aspect-ratio: 5 / 3; background: var(--teal); color: rgba(143, 227, 200, .35); display: grid; place-items: center; overflow: hidden; }
.person-art .contour { position: absolute; inset: 0; width: 100%; height: 100%; }
.person-art .mono {
  position: relative; width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--teal); font-weight: 700; font-size: 2rem; letter-spacing: -0.02em;
  box-shadow: 0 0 0 8px rgba(143, 227, 200, .3);
}
.person:nth-child(2) .person-art { background: #2f6b6a; }
.person:nth-child(3) .person-art { background: var(--mint-soft); color: rgba(14, 79, 85, .14); }
.person:nth-child(3) .person-art .mono { box-shadow: 0 0 0 8px rgba(14, 79, 85, .08); }
.person-body { padding: 28px 28px 30px; display: grid; gap: 12px; align-content: start; }
.role { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mint-ink); }
.person h2 { font-size: 1.5rem; }
.person p { margin: 0; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 6px; }
.tags li { font-size: .85rem; padding: 5px 12px; border-radius: 999px; background: var(--grey); color: var(--ink); }
@media (min-width: 760px) { .people { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .people { grid-template-columns: repeat(3, 1fr); } }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; gap: 48px; align-items: start; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group > h2 { font-size: 1.05rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mint-ink); margin-bottom: 8px; font-weight: 700; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; font-weight: 600; font-size: 1.12rem; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1.5px solid var(--line); transition: background .2s, border-color .2s; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: var(--teal); transform: translate(-50%, -50%); transition: transform .25s var(--ease); }
.faq summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary .pm { background: var(--teal); border-color: var(--teal); }
.faq details[open] summary .pm::before, .faq details[open] summary .pm::after { background: #fff; }
.faq details[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq summary:hover { color: var(--teal); }
.faq .answer { padding-block: 0 24px; padding-inline-end: 52px; color: var(--muted); }
.faq .answer p:last-child { margin-bottom: 0; }
.aside-card { background: var(--grey); border-radius: var(--radius); padding: 30px; }
.aside-card .photo { aspect-ratio: 4 / 3; margin: -30px -30px 26px; border-radius: var(--radius) var(--radius) 0 0; }
.aside-card h2 { font-size: 1.45rem; margin-bottom: 10px; }
@media (min-width: 960px) { .faq-layout { grid-template-columns: 1.6fr 1fr; gap: 80px; } .faq-aside { position: sticky; top: 100px; } }

/* ---------- Book ---------- */
.book-grid { display: grid; gap: 40px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(26px, 4vw, 44px); box-shadow: 0 30px 60px -40px rgba(10, 58, 63, .35); }
.form-card h2 { font-size: 1.7rem; margin-bottom: 8px; }
.form-grid { display: grid; gap: 18px; margin-top: 26px; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 600; font-size: .95rem; }
.field .hint { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); width: 100%;
  padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--grey);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: #b9c8cb; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(14, 79, 85, .14); }
.notice { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: .92rem; color: var(--muted); background: var(--mint-soft); border-radius: var(--radius-sm); padding: 14px 16px; margin: 0; }
.notice svg { width: 20px; height: 20px; color: var(--mint-ink); margin-top: 2px; }
.form-card .btn { width: 100%; }
[data-sd-status] { margin: 0; font-size: .95rem; font-weight: 500; color: var(--teal); min-height: 1.4em; }
.visit-side { display: grid; gap: 20px; }
.hours { list-style: none; display: grid; gap: 0; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: .98rem; }
.hours li:last-child { border-bottom: 0; }
.hours li span:last-child { font-weight: 600; font-variant-numeric: tabular-nums; }
.hours li.closed span:last-child { color: var(--muted); font-weight: 500; }
.map { border-radius: var(--radius); overflow: hidden; background: var(--grey); border: 1px solid var(--line); }
.map svg { width: 100%; height: auto; display: block; }
/* Street and water names are page text (so they're translated), placed over the drawing. */
.map-art { position: relative; }
.map-label { position: absolute; font-size: .72rem; line-height: 1; white-space: nowrap; transform: translate(-50%, -50%); }
.map-label--street { left: 86%; top: 42%; color: #4d6266; rotate: -6deg; }
.map-label--water { left: 78%; top: 87%; color: #0b5a4a; }
.map-caption { padding: 18px 22px; background: #fff; border-top: 1px solid var(--line); font-size: .95rem; }
.map-caption strong { display: block; }
@media (min-width: 960px) { .book-grid { grid-template-columns: 1.25fr 1fr; gap: 64px; } }
@media (min-width: 560px) { .form-grid .two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; } }
.form-grid .two { display: grid; gap: 18px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-deep); color: #cfe2e0; padding: clamp(56px, 7vw, 88px) 0 32px; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--mint); text-decoration: underline; }
.foot-grid { display: grid; gap: 40px; }
.foot-brand .brand { color: #fff; }
.foot-brand .brand svg { color: var(--mint); }
.foot-brand .brand-name span { color: #a9c7c4; }
.foot-brand p { margin-top: 18px; max-width: 26em; }
.site-footer h2 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mint); margin-bottom: 16px; font-weight: 700; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer address { font-style: normal; line-height: 1.7; }
.disclaimer { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); display: grid; gap: 14px; font-size: .86rem; color: #a9c7c4; }
.disclaimer p { margin: 0; max-width: 62em; }
.legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.hero-visual .photo img { animation: settle 1.6s var(--ease) both; }
@keyframes settle { from { transform: scale(1.06); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Phones: keep the photo in the first screen */
@media (max-width: 599px) {
  .hero { padding-top: 28px; }
  .hero h1 { font-size: 2.35rem; margin-bottom: 16px; }
  .hero .lead { font-size: 1.05rem; margin-bottom: 24px; }
  .hero-actions .btn { flex: 1 1 auto; padding: 14px 16px; }
  .hero-meta { display: none; }
  .hero-visual .photo { aspect-ratio: 4 / 3; }
  .hero-card { position: relative; inset: auto; margin: -36px 12px 0; }
  .eyebrow { font-size: .72rem; letter-spacing: .12em; }
}

/* Your visit: intro beside the timeline */
.visit-grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 960px) {
  .visit-grid { grid-template-columns: 1fr 1.5fr; gap: 80px; }
  .visit-intro { position: sticky; top: 110px; }
}
.info-card .hours li { padding-inline-start: 0; color: var(--ink); }
.info-card .hours li::before { display: none; }

/* ---------- Language dropdown (platform switcher goes in [data-sd-languages]) ---------- */
.lang { position: relative; }
.lang summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 8px 12px; border-radius: var(--radius-sm); border: 1.5px solid transparent;
  font-weight: 500; font-size: .95rem; color: var(--ink); transition: background .2s, border-color .2s;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { background: var(--grey); color: var(--teal); }
.lang summary > svg { width: 20px; height: 20px; color: var(--teal); flex: none; }
.lang summary .chev { width: 12px; height: 12px; transition: transform .25s var(--ease); }
.lang[open] summary .chev { transform: rotate(180deg); }
.lang-panel {
  position: absolute; inset-inline-end: 0; top: calc(100% + 12px); z-index: 60; min-width: 210px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px;
  box-shadow: 0 18px 40px -18px rgba(10, 58, 63, .35);
}
.lang-panel .sd-langs { display: grid !important; gap: 2px !important; padding: 0 !important; font-size: .95rem !important; }
.lang-panel .sd-langs a, .lang-panel .sd-langs strong {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 500; text-align: start;
}
.lang-panel .sd-langs a:hover { background: var(--grey); color: var(--teal); }
.lang-panel .sd-langs strong { background: var(--mint-soft); color: var(--teal-deep); font-weight: 600; }
.lang-panel .sd-langs strong::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint-ink); }
.lang-label { white-space: nowrap; }
@media (max-width: 1199px) {
  .lang-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .lang summary .chev { display: none; }
  .lang summary { padding: 8px 10px; border-color: var(--line); }
}
@media (min-width: 1040px) and (max-width: 1199px) { .lang summary { border-color: transparent; } }

/* ---------- Right-to-left ---------- */
[dir="rtl"] .btn svg, [dir="rtl"] .link-arrow svg, [dir="rtl"] .area h3 svg { transform: scaleX(-1); }
[dir="rtl"] .btn:hover svg, [dir="rtl"] .link-arrow:hover svg { transform: scaleX(-1) translateX(3px); }
[dir="rtl"] .area:hover h3 svg { transform: scaleX(-1) translateX(4px); }
[dir="rtl"] .band { --band-dir: 270deg; }
[dir="rtl"] .band img { transform: scaleX(-1); }

/* ---------- Scripts: Hebrew, Arabic, CJK; long German words ---------- */
:root:lang(he) { --font: "Plus Jakarta Sans", "Heebo", "Arial Hebrew", system-ui, sans-serif; }
:root:lang(ar) { --font: "Plus Jakarta Sans", "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif; }
:root:lang(ja) { --font: "Plus Jakarta Sans", "Hiragino Sans", "Yu Gothic UI", "Meiryo", "Noto Sans JP", sans-serif; }
:root:lang(zh) { --font: "Plus Jakarta Sans", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif; }
:root:lang(ko) { --font: "Plus Jakarta Sans", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif; }
/* Tracking breaks Arabic joining and crowds Hebrew/CJK; uppercase labels don't exist there */
:root:is(:lang(he), :lang(ar), :lang(ja), :lang(zh), :lang(ko)) body * { letter-spacing: 0 !important; }
:root:is(:lang(he), :lang(ar)) .eyebrow, :root:is(:lang(he), :lang(ar)) .role,
:root:is(:lang(he), :lang(ar)) .panel h3, :root:is(:lang(he), :lang(ar)) .site-footer h2 { font-size: .9rem; }
:root:is(:lang(he), :lang(ar), :lang(ja), :lang(zh), :lang(ko)) :is(h1, h2, h3) { line-height: 1.3; }
:root:lang(ar) body { line-height: 1.8; }
:root:lang(ko) body { word-break: keep-all; }
h1, h2, h3 { overflow-wrap: break-word; }
:root:lang(de) :is(h2, h3, .area p, .panel li, .info-card li) { hyphens: auto; }

/* Header fit for long nav labels (de, fr, es, pt) */
.site-header .wrap { max-width: 1360px; }
.nav a, .header-cta, .lang summary { white-space: nowrap; }
@media (min-width: 1040px) and (max-width: 1279px) {
  :root:is(:lang(de), :lang(fr), :lang(es), :lang(pt)) .nav,
  :root:is(:lang(de), :lang(fr), :lang(es), :lang(pt)) .header-cta { display: none; }
  :root:is(:lang(de), :lang(fr), :lang(es), :lang(pt)) .menu { display: block; }
  :root:is(:lang(de), :lang(fr), :lang(es), :lang(pt)) .lang summary { border-color: var(--line); }
}
@media (min-width: 1280px) and (max-width: 1439px) {
  :root:is(:lang(de), :lang(fr), :lang(es), :lang(pt)) .lang-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  :root:is(:lang(de), :lang(fr), :lang(es), :lang(pt)) .lang summary .chev { display: none; }
}

/* Phone numbers stay in their own order inside right-to-left text */
a[href^="tel:"] { direction: ltr; unicode-bidi: isolate; }

/* Accessibility statement */
.statement-doc { max-width: 68ch; }
.statement-doc h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-block: 2em 0.6em; }
.statement-doc h2:first-child { margin-block-start: 0; }
.statement-doc p { margin-block: 0 1em; }
.statement-doc ul { list-style: disc; padding-inline-start: 1.25em; margin-block: 0 1.2em; }
.statement-doc li + li { margin-block-start: 0.5em; }
.statement-doc .reviewed { margin-block-start: 3em; color: var(--muted); }

/* Logo text in Hebrew, Arabic and CJK: no letter-spacing (it breaks Arabic joining and reads as gaps in Hebrew). */
:is(:lang(he), :lang(ar), :lang(ja), :lang(zh), :lang(ko)) .brand, :is(:lang(he), :lang(ar), :lang(ja), :lang(zh), :lang(ko)) .brand * { letter-spacing: 0 !important; }

/* Button pairs share a row on a phone (owner, 2026-10-16). */
@media (max-width:480px){
.hero-actions:has(>:nth-child(2):last-child){flex-wrap:nowrap;gap:10px}
.hero-actions:has(>:nth-child(2):last-child)>*{flex:1 1 0;min-width:0;justify-content:center;text-align:center;white-space:normal;overflow-wrap:anywhere;padding-inline:12px;}
}
