/* Salina Creek Dental concept. Anchor: concept/DESIGN.md (Oura, adapted). */
:root {
  --paper: #FFFFFF;
  --sage-50: #F1F0E4;
  --sage: #CCCCAB;
  --olive: #AFAF6F;        /* rules and dots only, never text */
  --accent: #5D5D2A;       /* fills, links, highlight */
  --accent-strong: #4A4A20;
  --ink: #221F18;
  --muted: #4F4B3D;
  --line: #DEDCCB;
  --cream: #F5F1E6;        /* their logo cream, text on the closing photo */

  --display: "Fraunces", Georgia, serif;
  --text: "Figtree", "Helvetica Neue", Arial, sans-serif;

  --max: 1760px;
  --gutter: clamp(20px, 4vw, 64px);
  --bar-h: 92px;
  --section: clamp(88px, 10vw, 168px);
  --r: 6px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 16px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 clamp(16px, 0.35vw + 14.6px, 18px)/1.65 var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
::selection { background: #DCDBB8; color: var(--ink); }
html { scrollbar-color: #BDBB9A var(--sage-50); accent-color: var(--accent); }
input, textarea { caret-color: var(--accent); }
p { text-wrap: pretty; }
.details dd, .foot__col p, .facts, .field select { font-variant-numeric: tabular-nums; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }

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

.skip { position: fixed; left: 16px; top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--r); text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

/* ---------- type ---------- */
.h2 {
  font: 400 clamp(36px, 3.4vw + 4px, 68px)/1.04 var(--display);
  font-variation-settings: "SOFT" 100, "opsz" 144;
  letter-spacing: -0.018em;
  text-wrap: balance;
}
.h3 {
  font: 400 clamp(28px, 1.6vw + 14px, 40px)/1.1 var(--display);
  font-variation-settings: "SOFT" 100, "opsz" 72;
  letter-spacing: -0.01em;
}
.hl { color: var(--accent); }
.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 54px; padding: 0 28px;
  border-radius: 999px; border: 1px solid transparent;
  font: 600 16px/1 var(--text); letter-spacing: .005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--solid { background: var(--accent); color: #fff; }
.btn--solid:hover { background: var(--accent-strong); }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--sage); }
.btn--light:hover { background: var(--sage-50); border-color: var(--olive); }
.btn--cream { background: var(--cream); color: var(--ink); }
.btn--cream:hover { background: #fff; }
.btn--line { background: rgba(34,31,24,.28); color: var(--cream); border-color: rgba(245,241,230,.7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--line:hover { background: rgba(34,31,24,.45); border-color: var(--cream); }

/* ---------- header ---------- */
.bar {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--bar-h);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), transform .45s var(--ease);
}
.bar.is-solid { background: rgba(255,255,255,.94); box-shadow: 0 1px 0 var(--line); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); }
.bar__in { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.bar__logo { justify-self: start; display: block; }
.bar__logo img { height: 60px; width: auto; }
.bar__cta { justify-self: end; }
.nav__list { display: flex; gap: clamp(14px, 1.6vw, 34px); }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 7px; height: var(--bar-h);
  background: none; border: 0; padding: 0; cursor: pointer;
  font: 500 16.5px/1 var(--text); text-decoration: none; color: var(--ink);
  position: relative;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 28px; height: 1.5px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav__link:hover::after, .nav__link[aria-expanded="true"]::after { transform: scaleX(1); }
.caret { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .3s var(--ease); }
.nav__link[aria-expanded="true"] .caret { transform: translateY(1px) rotate(-135deg); }
.drop {
  position: absolute; top: calc(var(--bar-h) - 10px); left: -28px; min-width: 300px;
  display: flex; gap: 40px; padding: 26px 28px 28px;
  background: var(--paper); border: 1px solid var(--line); border-top: 2px solid var(--olive); border-radius: 0 0 var(--r) var(--r);
  box-shadow: 0 24px 48px -24px rgba(34,31,24,.18);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .25s var(--ease), transform .3s var(--ease), visibility 0s .3s;
}
.drop--wide { left: 50%; transform: translate(-50%, -6px); }
.has-drop.is-open .drop { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.has-drop.is-open .drop--wide { transform: translate(-50%, 0); }
.drop__col { display: flex; flex-direction: column; gap: 2px; min-width: 220px; }
.drop__col--two { display: grid; grid-template-columns: repeat(2, minmax(200px, 1fr)); column-gap: 32px; align-content: start; }
.drop__col--two .drop__head { grid-column: 1 / -1; }
.drop a { padding: 7px 0; font-size: 15.5px; text-decoration: none; color: var(--muted); transition: color .2s; white-space: nowrap; }
.drop a:hover { color: var(--accent); }
.drop .drop__head { color: var(--ink); font-weight: 600; }
.drop__head--gap { margin-top: 14px; }

.menu-btn { display: none; }

/* mobile menu */
.menu { position: fixed; inset: 0; z-index: 45; background: var(--paper); padding: calc(var(--bar-h) + 8px) var(--gutter) 28px; overflow-y: auto; }
.menu[hidden] { display: none; }
.menu__in { display: flex; flex-direction: column; min-height: 100%; gap: 32px; }
.menu__group, .menu__link { border-bottom: 1px solid var(--line); }
.menu__group summary, .menu__link { display: flex; align-items: center; justify-content: space-between; min-height: 64px; font: 400 28px/1.1 var(--display); font-variation-settings: "SOFT" 100; text-decoration: none; cursor: pointer; list-style: none; }
.menu__group summary::-webkit-details-marker { display: none; }
.menu__group summary::after { content: ""; width: 9px; height: 9px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg); margin-right: 6px; transition: transform .3s var(--ease); }
.menu__group[open] summary::after { transform: rotate(-135deg); }
.menu__group a { display: flex; align-items: center; min-height: 44px; padding-left: 2px; color: var(--muted); text-decoration: none; }
.menu__group[open] { padding-bottom: 12px; }
.menu__foot { margin-top: auto; display: grid; gap: 12px; }
.menu__meta { text-align: center; }

/* ---------- status line ---------- */
.status { display: inline-flex; align-items: center; gap: 10px; }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--olive); flex: none; }
.status[data-state="open"]::before { background: #5E8A4B; box-shadow: 0 0 0 4px rgba(94,138,75,.18); animation: pulse 2.8s ease-in-out infinite; }
.status[data-state="lunch"]::before { background: var(--olive); }
.status[data-state="closed"]::before { background: #A9A48F; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(94,138,75,0); } }
.status--block { display: flex; margin-bottom: 10px; font-weight: 600; }

/* ---------- arches ---------- */
.arch { position: relative; overflow: hidden; border-radius: 999px 999px var(--r) var(--r); background: var(--sage-50); isolation: isolate; }
.arch img, .arch video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; padding: calc(var(--bar-h) + clamp(20px, 3vw, 48px)) 0 0; overflow: hidden; }
.hero__ground { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(60% 70% at 18% 30%, #F7F6EE 0%, transparent 70%),
  radial-gradient(50% 60% at 70% 80%, #ECEBDB 0%, transparent 70%),
  #F4F3EA; }
.hero__shader { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease); }
.hero__shader.is-on { opacity: 1; }
.hero__shader canvas { width: 100% !important; height: 100% !important; display: block; }
.hero__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px);
  grid-template-rows: 1fr auto; width: 100%;
}
.hero__text { grid-column: 1 / span 6; grid-row: 1; align-self: center; padding: 24px 0 48px; }
.hero__title {
  font: 400 clamp(46px, 4.6vw + 10px, 6.25rem)/1.0 var(--display);
  font-variation-settings: "SOFT" 100, "opsz" 144;
  letter-spacing: -0.028em;
  text-wrap: balance;
  max-width: 14ch;
}
.hero__lede { margin-top: clamp(22px, 2vw, 34px); max-width: 33em; font-size: clamp(17px, .5vw + 14px, 21px); color: var(--muted); line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(26px, 2.4vw, 40px); }
.hero__media { grid-column: 8 / span 5; grid-row: 1; position: relative; align-self: stretch; display: flex; justify-content: flex-end; padding-bottom: clamp(24px, 2.4vw, 40px); }
.arch--hero { width: 100%; height: 100%; min-height: 460px; margin-left: auto; }
.hero__video { object-position: 50% 50%; }
.vid-toggle {
  position: absolute; right: 18px; bottom: calc(clamp(24px, 2.4vw, 40px) + 18px); z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.86); display: grid; place-items: center;
  transition: transform .25s var(--ease), background-color .25s;
}
.vid-toggle:hover { transform: scale(1.06); background: #fff; }
.ico { width: 16px; height: 16px; fill: currentColor; flex: none; }
.vid-toggle { color: var(--ink); }
.vid-toggle .ico--play, .vid-toggle[aria-pressed="true"] .ico--pause { display: none; }
.vid-toggle[aria-pressed="true"] .ico--play { display: block; margin-left: 2px; }

.facts {
  grid-column: 1 / -1; grid-row: 2;
  display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 16px 32px;
  border-top: 1px solid rgba(34,31,24,.16); padding: 22px 0 26px; font-size: 15.5px; font-weight: 500;
}
.facts li { display: flex; align-items: center; min-height: 28px; }
.facts__link { text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; background-image: linear-gradient(var(--accent), var(--accent)); background-size: 0 1.5px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .35s var(--ease), color .2s; padding-bottom: 2px; }
.facts__link:hover { background-size: 100% 1.5px; color: var(--accent); }
.facts__play { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.facts__play .ico { width: 13px; height: 13px; color: var(--accent); }

/* ---------- welcome (signature) ---------- */
.welcome { padding: var(--section) 0; }
@media (min-width: 901px) {
  .welcome { height: 100vh; min-height: 680px; padding: calc(var(--bar-h) + 28px) 0 40px; display: flex; align-items: center; }
  .welcome__grid { height: 100%; }
  .welcome__stage { height: 100%; min-height: 0; max-height: 860px; }
}
.welcome__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); align-items: center; }
.welcome__stage { grid-column: 1 / span 6; display: flex; align-items: stretch; justify-content: center; }
.welcome__frame {
  position: relative; width: 100%; height: 100%; overflow: hidden; background: var(--sage-50);
  clip-path: inset(0% 0% 0% 0% round 8px);
  border-radius: var(--r);
}
.welcome__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.welcome__img.is-on { opacity: 1; }
.welcome__img:nth-child(1) { object-position: 30% 50%; }
.welcome__img:nth-child(3) { object-position: 62% 30%; }
.welcome__img:nth-child(4) { object-position: 68% 18%; }
.welcome__text { grid-column: 8 / span 5; max-width: 640px; }
.welcome__doc { display: flex; flex-direction: column; margin: clamp(26px, 2.4vw, 40px) 0 18px; padding-top: 18px; border-top: 2px solid var(--olive); font-weight: 600; }
.welcome__doc span + span { font-weight: 400; color: var(--muted); }
.welcome__body { font-size: clamp(16.5px, .3vw + 13.5px, 19px); line-height: 1.62; margin-bottom: 34px; }
.welcome__body a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.welcome__body .w { transition: color .2s linear; }

/* ---------- procedures ---------- */
.procs { background: var(--sage-50); padding: var(--section) 0; }
.procs__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); }
.procs__list { grid-column: 1 / span 7; }
.procs__list .h2 { max-width: 13em; margin-bottom: clamp(36px, 3.6vw, 64px); }
.rows { border-top: 1px solid var(--line); counter-reset: r; }
.row { border-bottom: 1px solid var(--line); position: relative; }
.row a {
  display: grid; grid-template-columns: minmax(0, 1fr) 44px; grid-template-areas: "name arrow" "text arrow";
  column-gap: 16px; padding: 24px 0 24px; text-decoration: none; position: relative;
}
.row a::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: var(--olive); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.row.is-active a::before { transform: scaleX(1); }
.row__n { grid-area: n; font-size: 14px; font-weight: 600; color: var(--muted); padding-top: .55em; font-variant-numeric: tabular-nums; }
.row__name { grid-area: name; font: 400 clamp(26px, 1.4vw + 12px, 38px)/1.1 var(--display); font-variation-settings: "SOFT" 100, "opsz" 72; letter-spacing: -0.01em; transition: color .3s var(--ease), transform .4s var(--ease); }
.row__text { grid-area: text; color: var(--muted); max-width: 40em; display: grid; grid-template-rows: 0fr; overflow: hidden; transition: grid-template-rows .45s var(--ease), margin .45s var(--ease), opacity .45s var(--ease); opacity: 0; }
.row__text > span { min-height: 0; overflow: hidden; }
.row.is-active .row__text { grid-template-rows: 1fr; margin-top: 10px; opacity: 1; }
.row__arrow { grid-area: arrow; align-self: start; justify-self: end; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--sage); position: relative; transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease); }
.row__arrow::before { content: ""; position: absolute; inset: 0; margin: auto; width: 9px; height: 9px; border-top: 1.5px solid var(--ink); border-right: 1.5px solid var(--ink); transform: translateX(-1px) rotate(45deg); }
.row a:hover .row__name, .row.is-active .row__name { color: var(--accent); }
.row a:hover .row__arrow, .row.is-active .row__arrow { background: var(--accent); border-color: var(--accent); }
.row a:hover .row__arrow::before, .row.is-active .row__arrow::before { border-color: #fff; }
.row__thumb { display: none; }
.procs__view { grid-column: 9 / span 4; }
.procs__frame { position: sticky; top: calc(var(--bar-h) + 32px); aspect-ratio: 4 / 5; max-height: calc(100vh - var(--bar-h) - 64px); width: 100%; overflow: hidden; border-radius: var(--r); background: var(--sage); }
.procs__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.procs__img:not(.is-on) { clip-path: inset(100% 0 0 0); }

/* ---------- reviews ---------- */
.reviews { padding: var(--section) 0; }
.reviews__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: clamp(40px, 4vw, 72px); }
.reviews__head { grid-column: 1 / -1; display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.reviews__head .h2 { max-width: 11em; }
.score { display: flex; align-items: baseline; gap: 14px; text-decoration: none; flex: none; padding-bottom: 6px; }
.score__n { font: 400 clamp(64px, 5vw, 104px)/.9 var(--display); font-variation-settings: "SOFT" 100, "opsz" 144; color: var(--accent); letter-spacing: -0.03em; }
.score__label { font-weight: 500; max-width: 9em; line-height: 1.35; background-image: linear-gradient(var(--accent), var(--accent)); background-size: 0 1.5px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .35s var(--ease); }
.score:hover .score__label { background-size: 100% 1.5px; }
.arch--reviews { grid-column: 1 / span 4; aspect-ratio: 3 / 4; align-self: start; }
.arch--reviews img { position: absolute; left: 0; bottom: 0; height: 128%; object-position: 46% 100%; transform-origin: 50% 100%; }
.quotes { grid-column: 6 / span 7; display: flex; flex-direction: column; gap: clamp(40px, 3.6vw, 64px); }
.quote p { font: 400 clamp(19px, .5vw + 15px, 23px)/1.5 var(--display); font-variation-settings: "SOFT" 100, "opsz" 24; }
.quote--lead { padding-top: 22px; border-top: 2px solid var(--olive); }
.quote--lead p { font-size: clamp(25px, 1.3vw + 12px, 38px); line-height: 1.3; letter-spacing: -0.01em; font-variation-settings: "SOFT" 100, "opsz" 96; }
.quote footer { margin-top: 18px; font-weight: 600; font-size: 15.5px; }
.quotes__pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 3vw, 56px); }
.quotes__pair .quote { padding-top: 20px; border-top: 1px solid var(--line); }

/* ---------- visit ---------- */
.visit { padding: var(--section) 0; background: var(--paper); border-top: 1px solid var(--line); }
.visit__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 56px; align-items: start; }
.visit__info { grid-column: 1 / span 5; }
.visit__lede { margin-top: 24px; color: var(--muted); max-width: 34em; }
.details { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; border-top: 1px solid var(--line); padding-top: 28px; }
.details dt { font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.details dd { line-height: 1.6; }
.details dd a { text-decoration: none; background-image: linear-gradient(var(--accent), var(--accent)); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .35s var(--ease), color .2s; }
.details dd a:hover { background-size: 100% 1px; color: var(--accent); }
.details__hours { grid-column: 1 / -1; }
.map { margin-top: 36px; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--sage-50); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.75); }

.form-block { grid-column: 7 / span 6; background: var(--sage-50); border-radius: var(--r); padding: clamp(28px, 3.4vw, 60px); scroll-margin-top: calc(var(--bar-h) + 16px); }
.form-block__lede { margin-top: 12px; color: var(--ink); }
.form { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .choice legend { font-size: 14.5px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 15px; border-radius: var(--r);
  border: 1px solid #CFCDB6; background: var(--paper); color: var(--ink);
  font: 400 16px/1.4 var(--text); transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 104px; }
.field select:disabled { color: var(--muted); background: #FAF9F3; }
.field input:hover, .field select:hover:not(:disabled), .field textarea:hover { border-color: var(--olive); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(93,93,42,.18); }
.field.has-err input, .field.has-err select { border-color: #A2412B; }
.field__err { color: #9A3B26; font-size: 14px; min-height: 0; }
.field__err:empty { display: none; }
.choice { border: 0; padding: 0; margin: 0; display: block; min-width: 0; }
.choice legend { margin-bottom: 8px; padding: 0; width: 100%; }
.choice label { margin-right: 32px; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; font-size: 16px; }
.choice input { width: 20px; height: 20px; accent-color: var(--accent); margin: 0; }
.form__end { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 6px; }
.form__note { color: var(--muted); font-size: 15px; max-width: 30em; }
.form__note.is-ok { color: var(--ink); font-weight: 500; }

/* ---------- closing band ---------- */
.close { position: relative; min-height: min(92vh, 960px); display: flex; align-items: flex-end; overflow: hidden; color: var(--cream); isolation: isolate; }
.close__photo { position: absolute; inset: 0; z-index: -1; }
.close__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transform-origin: 50% 60%; }
.close__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(34,31,24,0) 30%, rgba(34,31,24,.5) 62%, rgba(34,31,24,.86) 100%); }
.close__in { padding-top: 160px; padding-bottom: clamp(48px, 6vw, 96px); display: flex; align-items: end; justify-content: space-between; gap: 32px 48px; flex-wrap: wrap; }
.close__title { font: 400 clamp(40px, 3.4vw + 12px, 5.25rem)/1.0 var(--display); font-variation-settings: "SOFT" 100, "opsz" 144; letter-spacing: -0.028em; max-width: 12ch; text-wrap: balance; }
.close__actions { display: flex; flex-wrap: wrap; gap: 12px; padding-bottom: 8px; }

/* ---------- footer ---------- */
.foot { background: var(--sage-50); padding: clamp(64px, 7vw, 112px) 0 28px; font-size: 15.5px; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px 32px; }
.foot__brand img { height: 72px; width: auto; }
.foot__brand p { margin-top: 20px; max-width: 26em; color: var(--muted); }
.foot__col h3 { font: 600 14px/1.3 var(--text); color: var(--muted); margin-bottom: 14px; }
.foot__col p { margin-bottom: 12px; line-height: 1.6; }
.foot__col a { display: block; width: fit-content; text-decoration: none; padding: 4px 0; background-image: linear-gradient(var(--accent), var(--accent)); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 92%; transition: background-size .35s var(--ease), color .2s; }
.foot__col p a { display: inline; padding: 0; }
.foot__col a:hover { background-size: 100% 1px; color: var(--accent); }
.foot__base { margin-top: clamp(48px, 5vw, 80px); padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; color: var(--muted); font-size: 14.5px; }
.foot__base a { color: var(--ink); }

/* ---------- dock (phones) ---------- */
.dock { display: none; }

/* ---------- film dialog ---------- */
.film { width: min(1200px, 94vw); max-width: none; padding: 0; border: 0; background: transparent; overflow: visible; }
.film::backdrop { background: rgba(24,22,17,.82); backdrop-filter: blur(4px); }
.film__box { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--r); }
.film__player, .film__player iframe { width: 100%; height: 100%; border: 0; border-radius: var(--r); display: block; }
.film__close { position: absolute; right: 0; top: -58px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--cream); cursor: pointer; }
.film__close span { position: absolute; left: 13px; right: 13px; top: 22px; height: 1.5px; background: var(--ink); transform: rotate(45deg); }
.film__close span + span { transform: rotate(-45deg); }

/* ---------- motion helpers ---------- */
.js [data-enter], .js [data-enter-media], .js .hero__title { opacity: 0; }
.line-mask { overflow: clip; overflow-clip-margin: 0.16em; padding-bottom: .04em; }

/* ---------- responsive ---------- */
@media (min-width: 1921px) {
  :root { --bar-h: 104px; }
  .bar__logo img { height: 64px; }
  .nav__link { font-size: 17.5px; }
}
@media (max-width: 1280px) {
  .nav__list { gap: 18px; }
  .nav__link { font-size: 16px; }
  .bar__cta { padding: 0 22px; }
}
@media (max-width: 1120px) {
  :root { --bar-h: 80px; }
  .nav, .bar__cta { display: none; }
  .bar__in { grid-template-columns: 1fr auto; }
  .bar__logo img { height: 52px; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; flex-direction: column; gap: 7px; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--sage); background: var(--paper); cursor: pointer; justify-self: end; }
  .menu-btn span { display: block; width: 20px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease); }
  .menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .hero__text { grid-column: 1 / span 7; }
  .hero__media { grid-column: 8 / span 5; }
  .facts { grid-template-columns: repeat(2, auto); justify-content: start; column-gap: 64px; }
  .procs__list { grid-column: 1 / span 7; }
  .procs__view { grid-column: 8 / span 5; }
  .reviews__head { flex-direction: column; align-items: start; }
  .visit__info, .form-block { grid-column: 1 / -1; }
  .visit__info { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .visit__info .h2, .visit__lede { grid-column: 1 / -1; }
  .visit__info .map { margin-top: 36px; aspect-ratio: auto; min-height: 280px; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero__grid { grid-template-rows: auto auto auto; }
  .hero__text { grid-column: 1 / -1; padding: 12px 0 36px; }
  .hero__title { max-width: 15ch; }
  .hero__media { grid-column: 1 / -1; grid-row: 2; padding-bottom: 28px; }
  .arch--hero { max-width: none; height: auto; min-height: 0; aspect-ratio: 4 / 4.4; }
  .vid-toggle { bottom: 46px; }
  .facts { grid-row: 3; }
  .welcome__grid { row-gap: 40px; }
  .welcome__text { grid-column: 1 / -1; order: -1; }
  .welcome__stage { grid-column: 1 / -1; height: auto; min-height: 0; aspect-ratio: 4 / 4.6; }
  .procs__list { grid-column: 1 / -1; }
  .procs__view { display: none; }
  .row__text { grid-template-rows: 1fr; opacity: 1; margin-top: 8px; }
  .row__thumb { display: block; width: calc(100% - 60px); margin: -6px 0 24px 0; aspect-ratio: 16 / 9; height: auto; object-fit: cover; border-radius: var(--r); }
  .arch--reviews { grid-column: 1 / span 5; }
  .quotes { grid-column: 6 / span 7; }
  .quotes__pair { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  :root { --bar-h: 72px; --section: 80px; }
  .bar__logo img { height: 46px; }
  .menu-btn { width: 48px; height: 48px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .facts { grid-template-columns: 1fr; gap: 4px; padding-bottom: 32px; }
  .facts li { min-height: 44px; }
  .facts__link { display: inline-flex; align-items: center; min-height: 44px; background-position: 0 78%; }
  .foot__col a { padding: 10px 0; }
  .row a { column-gap: 12px; padding: 20px 0; }
  .row__thumb { width: 100%; }
  .arch--reviews { display: none; }
  .quotes { grid-column: 1 / -1; }
  .visit__info { display: block; }
  .details { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .form__end .btn { width: 100%; }
  .close { min-height: 88svh; }
  .close__actions { width: 100%; }
  .close__actions .btn { flex: 1 1 100%; }
  .foot__grid { grid-template-columns: 1fr; }
  .foot { padding-bottom: 104px; }
  .dock {
    display: grid; grid-template-columns: auto 1fr; gap: 10px;
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
    padding: 8px; border-radius: 999px; background: rgba(255,255,255,.94); box-shadow: 0 10px 30px -10px rgba(34,31,24,.3), 0 0 0 1px var(--line);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    transform: translateY(140%); transition: transform .45s var(--ease);
  }
  .dock .btn { min-height: 48px; padding: 0 22px; min-width: 0; }
}
@media (max-width: 359px) {
  .dock .btn { padding: 0 12px; font-size: 14.5px; }
  .dock.is-up { transform: none; }
  .film__close { top: -56px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-enter], .js [data-enter-media], .js .hero__title { opacity: 1; }
  .hero__shader { opacity: 1; }
}
