/* Optix Berlin — v2 */

@font-face { font-family: "Newsreader"; src: url("fonts/Newsreader-normal.woff2") format("woff2"); font-style: normal; font-weight: 300 500; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("fonts/Newsreader-italic.woff2") format("woff2"); font-style: italic; font-weight: 300 500; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/InstrumentSans-normal.woff2") format("woff2"); font-style: normal; font-weight: 400 600; font-display: swap; }

:root {
  --paper: #f3f0ea;
  --paper-2: #e9e4db;
  --stone: #d8d0c4;
  --ink: #1c242b;
  --ink-2: #565d64;
  --ink-3: #888b8e;
  --line: #d6cfc4;

  --deep: #1e2b36;        /* calm blue-slate */
  --deep-2: #263744;
  --deep-line: rgba(233, 228, 219, .16);
  --mist: #b8c6d1;
  --mist-2: #8fa2b1;

  --accent: #4d6d86;
  --accent-soft: #dde4ea;
  --open: #6c9a78;
  --closed: #b07d66;

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  --wrap: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(88px, 11vw, 160px);
  --r: 6px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
figure { margin: 0; }
address { font-style: normal; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
button { font: inherit; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: var(--r); text-decoration: none; }
.skip:focus { top: 12px; }

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

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 12.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 24px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .55; }
.eyebrow-light { color: var(--mist); }
.num-inline { font-family: var(--serif); font-size: 15px; letter-spacing: .04em; color: var(--mist-2); }

.h2 {
  font-family: var(--serif);
  font-weight: 330;
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.05;
  letter-spacing: -.02em;
  font-variation-settings: "opsz" 64;
  text-wrap: balance;
}
.h3 { font-family: var(--serif); font-weight: 350; font-size: clamp(28px, 2.6vw, 36px); line-height: 1.1; letter-spacing: -.015em; }

/* ---------- Buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 24px;
  border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 500; letter-spacing: .01em; white-space: nowrap;
  text-decoration: none; cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-light { background: var(--paper); color: var(--deep); }
.btn-light:hover { background: #fff; }
.btn-line-light { border-color: rgba(243, 240, 234, .32); color: var(--paper); }
.btn-line-light:hover { border-color: var(--paper); }
.btn-dark { background: var(--deep); color: var(--paper); }
.btn-dark:hover { background: var(--accent); }
.btn-line { border-color: var(--line); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 500; text-decoration: none;
  padding-bottom: 4px; border-bottom: 1px solid currentColor;
}
.link-arrow::after { content: "→"; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(243, 240, 234, .92);
  backdrop-filter: saturate(1.3) blur(10px);
  -webkit-backdrop-filter: saturate(1.3) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 32px; height: var(--header-h); }
.brand img { width: 94px; }
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a { font-size: 15px; text-decoration: none; color: var(--ink-2); padding: 6px 0; position: relative; transition: color .25s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav a:hover, .nav a.active { color: var(--ink); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang button { font-size: 12px; font-weight: 600; letter-spacing: .08em; border: 0; background: transparent; color: var(--ink-3); padding: 5px 10px; border-radius: 999px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.header-cta {
  font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap;
  background: var(--deep); color: var(--paper); padding: 10px 18px; border-radius: 999px;
  transition: background-color .3s var(--ease);
}
.header-cta:hover { background: var(--accent); }
.menu-btn { display: none; }

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  min-height: calc(100svh - var(--header-h));
  max-height: 980px;
  background: var(--deep);
  color: var(--paper);
}
.hero-panel {
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(40px, 6vh, 80px) clamp(24px, 5vw, 80px) clamp(28px, 4vh, 44px) max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  position: relative;
}
.hero-kicker { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--mist); margin-bottom: clamp(24px, 4vh, 44px); display: flex; align-items: center; gap: 12px; }
.hero-kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.hero-title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(48px, 6.4vw, 108px);
  line-height: .94; letter-spacing: -.03em;
  font-variation-settings: "opsz" 72;
  margin-bottom: clamp(24px, 4vh, 40px);
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: block; }
.hero-title em { font-style: italic; color: var(--mist); }
.hero-lead { font-size: clamp(16px, 1.3vw, 18.5px); line-height: 1.6; color: rgba(243, 240, 234, .78); max-width: 33em; margin-bottom: 36px; }

.hero-meta {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0;
  margin: clamp(40px, 6vh, 72px) 0 0; padding-top: 22px;
  border-top: 1px solid var(--deep-line);
}
.hero-meta > div { padding-right: clamp(20px, 3vw, 44px); }
.hero-meta > div + div { padding-left: clamp(20px, 3vw, 44px); border-left: 1px solid var(--deep-line); }
.hero-meta dt { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--mist-2); margin-bottom: 6px; }
.hero-meta .status { display: grid; grid-template-columns: auto auto; column-gap: 9px; align-items: center; }
.hero-meta .status .status-detail { grid-column: 2; color: rgba(243, 240, 234, .6); font-size: 13.5px; }
.hero-meta dd { margin: 0; font-size: 14.5px; line-height: 1.5; color: rgba(243, 240, 234, .9); }

.hero-media { position: relative; overflow: hidden; background: var(--deep-2); }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.hero-media figcaption {
  position: absolute; left: 20px; bottom: 20px;
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; letter-spacing: .02em; color: var(--ink);
  background: rgba(243, 240, 234, .9); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  padding: 8px 14px; border-radius: 999px;
}
.cap-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.status { display: inline-flex; align-items: center; gap: 9px; }
.status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); flex: none; }
.status.is-open .dot { background: var(--open); box-shadow: 0 0 0 4px rgba(108, 154, 120, .2); }
.status.is-closed .dot { background: var(--closed); }

/* hero intro animation */
.js .hero-title .line > span { transform: translateY(105%); transition: transform 1.1s var(--ease-out); }
.js .hero-title .line:nth-child(2) > span { transition-delay: .08s; }
.js .hero-title .line:nth-child(3) > span { transition-delay: .16s; }
.js .hero-title .line:nth-child(4) > span { transition-delay: .24s; }
.js .hero-kicker, .js .hero-lead, .js .hero-panel .actions, .js .hero-meta { opacity: 0; transform: translateY(10px); transition: opacity .9s var(--ease) .35s, transform .9s var(--ease) .35s; }
.js .hero-media img { transform: scale(1.08); transition: transform 2.4s var(--ease-out); }
.loaded .hero-title .line > span, .loaded .hero-media img { transform: none; }
.loaded .hero-kicker, .loaded .hero-lead, .loaded .hero-panel .actions, .loaded .hero-meta { opacity: 1; transform: none; }

/* ---------- Statement ---------- */
.statement { padding: var(--section) 0 calc(var(--section) * .85); }
.statement .eyebrow { justify-content: center; }
.statement .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .55; }
.statement-text {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(30px, 4.1vw, 62px);
  line-height: 1.18; letter-spacing: -.02em;
  text-align: center; max-width: 21em; margin: 0 auto;
  font-variation-settings: "opsz" 60;
  text-wrap: balance;
}
.pill {
  display: inline-block; vertical-align: middle;
  width: 2.1em; height: .92em; margin: -.1em .08em 0;
  border-radius: 999px; overflow: hidden;
  background: var(--paper-2);
}
.pill img { width: 100%; height: 100%; object-fit: cover; }
.pill-round { width: .92em; }
.pill-round img { object-position: 30% 50%; transform: scale(1.6); }
.statement-foot {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px);
  max-width: 980px; margin: clamp(48px, 6vw, 80px) auto 0; padding-top: 36px; border-top: 1px solid var(--line);
  align-items: end;
}
.statement-foot > p:first-child { color: var(--ink-2); font-size: 18px; }
.signature { display: flex; flex-direction: column; gap: 2px; padding-left: 20px; border-left: 2px solid var(--accent); }
.sig-name { font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1.2; }
.sig-role { font-size: 14px; color: var(--ink-2); }

/* ---------- Spotlight ---------- */
.spotlight { background: var(--deep); color: var(--paper); padding: var(--section) 0; }
.spotlight-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.spotlight-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r); }
.spotlight-copy .h2 { margin-bottom: 26px; }
.spotlight-copy > p { color: rgba(243, 240, 234, .74); }
.spotlight-copy > p strong { color: var(--paper); font-weight: 600; }
.specs { list-style: none; margin: 36px 0 36px; padding: 0; border-top: 1px solid var(--deep-line); }
.specs li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--deep-line); }
.spec-k { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mist-2); padding-top: 4px; }
.spec-v { font-family: var(--serif); font-size: 21px; line-height: 1.3; }
.spotlight .link-arrow { color: var(--paper); }

/* ---------- Services ---------- */
.services { padding: var(--section) 0; }
.services-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 7vw, 120px); align-items: start; }
.services-media { position: sticky; top: calc(var(--header-h) + 40px); }
.frame { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--paper-2); }
.frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .8s var(--ease), transform 1.4s var(--ease-out); }
.frame img.is-active { opacity: 1; transform: none; }
.services-head { margin-bottom: clamp(40px, 5vw, 64px); }
.svc {
  display: grid; grid-template-columns: 64px 1fr; gap: 8px;
  padding: 34px 0; border-top: 1px solid var(--line);
  cursor: default; outline: none;
}
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc-num { font-family: var(--serif); font-size: 16px; color: var(--ink-3); padding-top: 8px; transition: color .4s var(--ease); }
.svc h3 { font-family: var(--serif); font-size: clamp(24px, 2.3vw, 32px); line-height: 1.15; letter-spacing: -.012em; margin-bottom: 12px; color: var(--ink-3); transition: color .4s var(--ease); }
.svc p { color: var(--ink-2); max-width: 34em; opacity: .55; transition: opacity .4s var(--ease); }
.svc.is-active h3, .svc:focus-visible h3 { color: var(--ink); }
.svc.is-active .svc-num { color: var(--accent); }
.svc.is-active p { opacity: 1; }
.svc-img { display: none; }

/* ---------- Brands ---------- */
.brands { padding: 0 0 var(--section); position: relative; }
.brands-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.brand-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.brand-rows li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  padding: clamp(18px, 2.4vw, 30px) 0; border-bottom: 1px solid var(--line);
  transition: padding .5s var(--ease);
}
.brand-rows li[data-img] { cursor: default; }
.b-name { font-size: clamp(36px, 6.4vw, 92px); line-height: 1; color: var(--ink); transition: color .4s var(--ease), transform .6s var(--ease); }
.b-lindberg { font-family: var(--sans); font-weight: 400; letter-spacing: .3em; font-size: clamp(26px, 4.4vw, 64px); }
.b-ic { font-family: var(--sans); font-weight: 600; letter-spacing: -.035em; }
.b-jfrey { font-family: var(--serif); font-style: italic; font-weight: 300; }
.b-goetti { font-family: var(--serif); font-weight: 300; letter-spacing: .01em; }
.b-origin { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
@media (hover: hover) {
  .brand-rows:hover .b-name { color: var(--stone); }
  .brand-rows li:hover .b-name { color: var(--ink); transform: translateX(10px); }
}
.brands-note { margin-top: 28px; color: var(--ink-2); max-width: 36em; }
.brand-preview {
  position: fixed; left: 0; top: 0; z-index: 40; pointer-events: none;
  width: 240px; aspect-ratio: 3 / 4; border-radius: var(--r); overflow: hidden;
  opacity: 0; transform: translate(-50%, -50%) scale(.92);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  box-shadow: 0 24px 60px -20px rgba(28, 36, 43, .45);
}
.brand-preview img { width: 100%; height: 100%; object-fit: cover; }
.brand-preview.show { opacity: 1; }

/* ---------- Inside strip ---------- */
.inside { background: var(--paper-2); padding: var(--section) 0; overflow: hidden; }
.inside-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4vw, 52px); }
.strip-ctrl { display: flex; gap: 8px; }
.strip-btn {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--stone); background: transparent; color: var(--ink);
  font-size: 18px; cursor: pointer; transition: background-color .3s, border-color .3s, color .3s;
}
.strip-btn:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.strip {
  display: flex; gap: clamp(14px, 1.6vw, 22px);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 0 max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  scroll-padding: 0 max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  cursor: grab;
}
.strip::-webkit-scrollbar { display: none; }
.strip.dragging { cursor: grabbing; scroll-snap-type: none; }
.strip.dragging img { pointer-events: none; }
.card { flex: none; scroll-snap-align: start; position: relative; height: clamp(380px, 56vh, 560px); }
.card img, .card video { height: calc(100% - 34px); width: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r); background: var(--stone); }
.card-tall img, .card-video video { aspect-ratio: 9 / 16; }
.card-wide img { aspect-ratio: 16 / 9; }
.card figcaption { font-size: 13px; color: var(--ink-2); margin-top: 12px; }
.video-toggle {
  position: absolute; left: 12px; top: 12px;
  font-size: 12px; font-weight: 500; color: var(--ink);
  background: rgba(243, 240, 234, .88); border: 0; border-radius: 999px; padding: 6px 12px; cursor: pointer;
}

/* ---------- Appointment ---------- */
.appt { padding: var(--section) 0; }
.appt-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.appt-intro .h2 { margin-bottom: 22px; }
.appt-text { color: var(--ink-2); max-width: 30em; }
.appt-phone { display: inline-block; margin-top: 22px; font-family: var(--serif); font-size: clamp(30px, 3vw, 40px); text-decoration: none; letter-spacing: -.01em; border-bottom: 1px solid var(--line); line-height: 1.2; }
.appt-phone:hover { border-bottom-color: var(--accent); }
.hours-card { margin-top: 44px; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; font-weight: 400; padding: 13px 0; border-bottom: 1px solid var(--line); }
.hours tr:first-child th, .hours tr:first-child td { border-top: 1px solid var(--line); }
.hours td { text-align: right; }
.hours th { color: var(--ink-2); }
.hours tr.today th, .hours tr.today td { color: var(--ink); font-weight: 600; }
.hours tr.today th::after { content: attr(data-today); margin-left: 10px; font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 3px 8px; border-radius: 999px; vertical-align: 2px; }
.hours-note { margin-top: 12px; color: var(--ink-2); font-family: var(--serif); font-style: italic; font-size: 18px; }
.status-line { margin-top: 14px; font-size: 14px; color: var(--ink-2); }

.appt-form {
  background: #fbfaf7; border: 1px solid var(--line); border-radius: 10px;
  padding: clamp(24px, 3.4vw, 44px);
  display: grid; gap: 22px;
}
.chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { font-size: 13px; color: var(--ink-2); margin-bottom: 12px; padding: 0; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span {
  display: inline-block; padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--line); font-size: 14.5px; cursor: pointer; user-select: none;
  transition: background-color .25s, border-color .25s, color .25s;
}
.chips label:hover span { border-color: var(--ink-3); }
.chips input:checked + span { background: var(--deep); border-color: var(--deep); color: var(--paper); }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field > span { font-size: 13px; color: var(--ink-2); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--stone); border-radius: 0;
  padding: 8px 0 10px; width: 100%;
  transition: border-color .25s;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23565d64' stroke-width='1.4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 2px center; padding-right: 22px; cursor: pointer; }
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--deep); }
.field input[aria-invalid="true"] { border-bottom-color: var(--closed); }
.form-foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 6px; }
.form-hint { font-size: 13px; color: var(--ink-3); max-width: 26em; line-height: 1.45; }
.form-error { font-size: 14px; color: var(--closed); }

/* ---------- Visit ---------- */
.visit { padding: 0 0 var(--section); }
.visit-grid > * { min-width: 0; }
.visit-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(16px, 2vw, 24px); align-items: stretch; }
.visit-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); min-height: 100%; }
.visit-map { position: relative; border-radius: var(--r); overflow: hidden; min-height: 620px; background: var(--paper-2); }
.map, .map img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.map img { object-fit: cover; object-position: 70% 45%; transition: transform 1.2s var(--ease-out); }
.map:hover img { transform: scale(1.02); }
.map-credit { position: absolute; right: 10px; bottom: 8px; font-size: 11px; color: var(--ink-2); background: rgba(243, 240, 234, .8); padding: 2px 8px; border-radius: 4px; }
.visit-card {
  position: absolute; left: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px);
  width: min(440px, calc(100% - 32px));
  background: rgba(243, 240, 234, .96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-radius: 10px; padding: clamp(22px, 2.6vw, 34px);
  box-shadow: 0 24px 60px -30px rgba(28, 36, 43, .4);
}
.visit-card .eyebrow { margin-bottom: 14px; }
.visit-card .h3 { margin-bottom: 14px; }
.visit-card address { color: var(--ink-2); margin-bottom: 16px; }
.transit { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 8px; font-size: 14.5px; }
.transit li { display: flex; align-items: center; gap: 10px; }
.u { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 4px; background: #1d5a9c; color: #fff; font-size: 12px; font-weight: 600; flex: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep); color: rgba(243, 240, 234, .78); padding: clamp(72px, 9vw, 120px) 0 36px; }
.footer-slogan {
  font-family: var(--serif); font-weight: 300; color: var(--paper);
  font-size: clamp(36px, 5.6vw, 84px); line-height: 1.02; letter-spacing: -.025em;
  max-width: 14em; margin-bottom: clamp(48px, 6vw, 88px); text-wrap: balance;
}
.footer-slogan em { color: var(--mist); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-top: 32px; border-top: 1px solid var(--deep-line); }
.footer-logo { width: 96px; filter: brightness(0) invert(1); opacity: .9; }
.footer-grid h4 { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--mist-2); margin-bottom: 10px; font-weight: 500; }
.footer-grid p { font-size: 15px; line-height: 1.7; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--paper); text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--deep-line); font-size: 13px; color: var(--mist-2); }

.mobile-bar { display: none; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1s var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .hero-title .line > span, .js .hero-kicker, .js .hero-lead, .js .hero-panel .actions, .js .hero-meta, .js .hero-media img { opacity: 1; transform: none; transition: none; }
  .frame img { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav { gap: 22px; }
  .header-cta { display: none; }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .brand img { width: 80px; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; margin-right: -10px; }
  .menu-icon, .menu-icon::before { display: block; width: 20px; height: 1.5px; background: var(--ink); position: relative; transition: transform .3s var(--ease); }
  .menu-icon::before { content: ""; position: absolute; top: 6px; }
  .menu-icon { transform: translateY(-3px); }
  .menu-btn[aria-expanded="true"] .menu-icon { transform: rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-icon::before { transform: translateY(-6px) rotate(-90deg); }
  .header-actions { margin-left: auto; gap: 12px; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; gap: 0; margin: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 28px;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
  }
  .nav.open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
  .nav a { font-family: var(--serif); font-size: 28px; color: var(--ink); padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }

  .hero { grid-template-columns: 1fr; min-height: 0; max-height: none; }
  .hero-media { order: -1; height: 58vh; min-height: 340px; max-height: 560px; }
  .hero-panel { padding: 40px var(--gutter) 32px; }
  .hero-meta { grid-template-columns: 1fr 1fr; }
  .hide-sm { display: none; }

  .statement-foot { grid-template-columns: 1fr; gap: 28px; }
  .spotlight-grid, .appt-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .services-media { display: none; }
  .svc { grid-template-columns: 44px 1fr; }
  .svc h3 { color: var(--ink); }
  .svc p { opacity: 1; }
  .svc .svc-num { color: var(--accent); }
  .svc-img { display: block; margin-top: 20px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }

  .visit-grid { grid-template-columns: 1fr; }
  .visit-photo { display: none; }
  .visit-map { min-height: 0; overflow: visible; background: none; }
  .map { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; }
  .map { inset: auto; height: auto; }
  .map img { object-position: 74% 45%; }
  .map img { position: absolute; }
  .visit-card { position: relative; left: 0; bottom: 0; width: 100%; margin-top: -40px; box-shadow: none; border: 1px solid var(--line); }
  .map-credit { display: none; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }

  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px;
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 70; padding: 6px; border-radius: 999px;
    background: rgba(30, 43, 54, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(243, 240, 234, .14);
    box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .5);
    transform: translateY(140%); transition: transform .45s var(--ease-out);
  }
  .mobile-bar.show { transform: none; }
  .mobile-bar a { display: grid; place-items: center; height: 46px; border-radius: 999px; font-size: 15px; font-weight: 500; text-decoration: none; color: var(--paper); }
  .mobile-bar a:last-child { background: var(--paper); color: var(--deep); }
  .site-footer { padding-bottom: 100px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .lang button { padding: 5px 8px; }
  .hero-title { font-size: clamp(44px, 12.4vw, 60px); }
  .hero-panel .actions .btn { flex: 1 1 100%; }
  .statement-text { font-size: clamp(28px, 8vw, 38px); text-align: left; }
  .statement .eyebrow { justify-content: flex-start; }
  .statement .eyebrow::after { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .card { height: 420px; }
  .strip-ctrl { display: none; }
  .specs li { grid-template-columns: 1fr; gap: 2px; }
  .b-origin { font-size: 11px; }
  .footer-bottom { flex-direction: column; }
}
