/* Elevate Dental Studio — home page
   Palette is taken from the studio itself: black walls, gold lettering,
   warm plaster, greige stone. One typeface throughout. */

:root {
  --ink: #0c0b09;
  --ink-2: #181613;
  --plaster: #f5f2ec;
  --stone: #e7e1d7;
  --gold: #d9be5a;
  --gold-deep: #7a5e16;

  --text: #1a1815;
  --text-soft: #5a554c;
  --text-on-ink: #f5f2ec;
  --text-on-ink-soft: #b5afa3;
  --line: rgba(26, 24, 21, .16);
  --line-on-ink: rgba(245, 242, 236, .18);

  --font: 'Albert Sans', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --font-heading: 'Hedvig Letters Serif', Georgia, 'Times New Roman', serif;
  --h1: clamp(2.75rem, 5.5vw, 5.75rem);
  --h2: clamp(2.125rem, 1.5rem + 2.5vw, 4rem);
  --h3: clamp(1.375rem, 1.25rem + .5vw, 1.75rem);
  --body: 1.0625rem;
  --heading-spacing: -.03em; /* -3% on every heading */
  --heading-leading: 1.2; /* 120% on every heading */
  --text-spacing: -.03em; /* -3% on every description */
  --heading-gap: .75rem; /* Heading to its description, every section and screen size */
  --lead: clamp(1.25rem, 1.15rem + .5vw, 1.625rem);

  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --space: clamp(4.5rem, 3rem + 7vw, 9.5rem);
  --head-h: 5.25rem;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 1rem); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--plaster);
  color: var(--text);
  font: 400 var(--body)/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
figure { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--font-heading); font-weight: 400; line-height: var(--heading-leading); letter-spacing: var(--heading-spacing); text-wrap: balance; }
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }
p { margin: 0; letter-spacing: var(--text-spacing); text-wrap: pretty; }
strong { font-weight: 500; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.wrap { width: 100%; max-width: 92rem; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--space); }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .75rem 1rem; background: var(--gold); color: var(--ink); }
.skip:focus { top: 1rem; }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.5rem; padding: .75rem 1.75rem;
  border: 1px solid transparent; border-radius: 2px;
  font: 500 1rem/1.2 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
.btn--sm { min-height: 2.875rem; padding: .5rem 1.25rem; font-size: .9375rem; }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #e7d07a; }
.btn--line { border-color: var(--line-on-ink); color: var(--text-on-ink); }
.btn--line:hover { border-color: var(--gold); color: var(--gold); }
.btn--ink { background: var(--ink); color: var(--text-on-ink); }
.btn--ink:hover { background: #2b2822; }

.more {
  display: inline-block; padding-bottom: .15rem;
  color: var(--gold-deep); font-weight: 500; text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: color .2s;
}
.more:hover { color: var(--text); }
.more--light { color: var(--gold); }
.more--light:hover { color: var(--text-on-ink); }

/* Promo */
.promo {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .15rem .9rem;
  padding: .55rem var(--gutter);
  background: var(--ink); color: var(--text-on-ink-soft);
  border-bottom: 1px solid var(--line-on-ink);
  font-size: .875rem; line-height: 1.5; text-align: center;
}
.promo a { color: var(--gold); text-underline-offset: 3px; }

/* Header */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink); color: var(--text-on-ink);
  transition: box-shadow .3s;
}
.site-head.is-stuck { box-shadow: 0 1px 0 var(--line-on-ink); }
.site-head__row { display: flex; align-items: center; gap: 2rem; height: var(--head-h); }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand__mark { width: 40px; height: auto; }
.brand__word { width: 145px; height: auto; }
.nav { display: flex; gap: 2.25rem; margin-left: auto; font-size: .9375rem; }
.nav a { text-decoration: none; color: var(--text-on-ink-soft); transition: color .2s; }
.nav a:hover { color: var(--text-on-ink); }
.site-head__cta { display: flex; align-items: center; gap: 1.5rem; margin-left: 1rem; }
.phone-link { font-size: .9375rem; text-decoration: none; white-space: nowrap; }
.phone-link:hover { color: var(--gold); }
.menu-btn { display: none; }

/* Hero */
.hero {
  position: relative; overflow: clip;
  background: var(--ink); color: var(--text-on-ink);
}
.hero__stage { position: relative; }
.hero__pin, .hero__sticky { position: relative; }
#toothCanvas, .hero__intro { display: none; }
.rays { overflow: visible; }
.hero__rays { display: none; } /* Stays in the page: both hero stories build their tooth from it */
.rays path { opacity: .9; }
.js .rays path {
  opacity: 0; transform: translateY(3.5rem); transform-box: fill-box;
  animation: ray-in 1.2s var(--ease) forwards;
  animation-delay: calc(var(--i) * 70ms + 150ms);
}
@keyframes ray-in { to { opacity: .9; transform: none; } }
.hero__copy {
  position: relative; z-index: 1;
  padding-block: clamp(2.5rem, 4vw, 3.75rem) clamp(2.5rem, 4vw, 3.5rem);
}
.hero__side { display: grid; gap: 1.5rem; margin-top: var(--heading-gap); max-width: 34rem; }
.hero__side p { color: var(--text-on-ink-soft); font-size: 1.125rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__media { position: relative; z-index: 1; overflow: hidden; background: var(--ink-2); }
.hero__media video { width: 100%; height: 100%; object-fit: cover; }
.video-toggle {
  position: absolute; right: 1rem; bottom: 1rem;
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem;
  border: 0; border-radius: 2px; background: rgba(12, 11, 9, .72); color: var(--text-on-ink); cursor: pointer;
}
.video-toggle svg { fill: currentColor; }
.video-toggle .i-play { display: none; }
.video-toggle[aria-pressed="true"] .i-play { display: block; }
.video-toggle[aria-pressed="true"] .i-pause { display: none; }

/* Still hero for visitors who ask for less motion, or whose device has no WebGL:
   the joined tooth above the heading, with no scroll story and no video */
html:not(.has-3d):not(.has-2d) .hero__sticky {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 100svh; padding-block: clamp(2rem, 5vh, 4rem); text-align: center;
}
html:not(.has-3d):not(.has-2d) .hero__stage { order: -1; }
html:not(.has-3d):not(.has-2d) .hero__rays { display: block; width: clamp(6rem, 15vh, 11rem); height: auto; margin-inline: auto; }
html:not(.has-3d):not(.has-2d) .hero__media { display: none; }
html:not(.has-3d):not(.has-2d) .hero__copy { padding-block: 1.5rem 0; }
html:not(.has-3d):not(.has-2d) h1 { font-size: min(var(--h1), 3.75rem); }
html:not(.has-3d):not(.has-2d) .hero__side { justify-items: center; margin-inline: auto; }
html:not(.has-3d):not(.has-2d) .actions { justify-content: center; }

/* Scroll story: rays join, the tooth turns and opens into the full-page video,
   then the next section slides up over it */
.hero__scene { position: relative; }
.hero__bar { display: none; }
br.only-3d { display: none; }
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }

@media (min-width: 761px) {
  .has-3d .hero { background: var(--ink); margin-top: calc(var(--head-h) * -1); }
  .has-3d .hero__pin { height: 470vh; }
  .has-3d .hero__sticky {
    position: sticky; top: 0;
    display: flex; align-items: center;
    height: 100vh; padding-top: var(--head-h); overflow: hidden;
    background: var(--ink);
  }
  .has-3d #toothCanvas {
    display: block; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    width: 100%; height: 100%; opacity: 0; transition: opacity 1s;
  }
  .has-3d #toothCanvas.is-ready { opacity: 1; }
  .has-3d #toothCanvas.is-driven { transition: none; }
  .has-3d .hero__copy { position: absolute; inset: 0; z-index: 2; max-width: none; padding: 0; pointer-events: none; }
  .has-3d .hero__copy.is-gone { visibility: hidden; }
  /* The heading splits around the tooth and reads straight through it */
  .has-3d .hero__copy h1 {
    position: absolute; left: var(--gutter); right: var(--gutter); top: var(--tooth-y, 50%); translate: 0 -50%;
    display: grid; align-items: center;
    grid-template-columns: minmax(0, 1fr) calc(var(--tooth-w, 26vw) + 5vw) minmax(0, 1fr);
    font-size: min(4.1vw, 5.25rem);
  }
  .has-3d .hero__copy h1 > br { display: none; }
  .has-3d br.only-3d { display: inline; }
  .has-3d .hero__half { display: block; white-space: nowrap; opacity: 0; will-change: transform, opacity, filter; }
  .has-3d .hero__half--l { grid-column: 1; text-align: right; }
  .has-3d .hero__half--r { grid-column: 3; text-align: left; }
  .has-3d .hero__side {
    position: absolute; left: 50%; bottom: clamp(2rem, 7vh, 4.5rem); translate: -50% 0;
    width: min(44rem, 88vw); margin: 0; gap: 1.25rem; justify-items: center; text-align: center;
    opacity: 0; pointer-events: auto; will-change: transform, opacity;
  }
  .has-3d .hero__side.is-gone { visibility: hidden; }
  .has-3d .hero__side .actions { justify-content: center; }
  .has-3d .hero__stage { position: absolute; inset: 0; z-index: 0; max-width: none; padding: 0; }
  .has-3d .hero__scene { position: absolute; inset: 0; }
  .has-3d .hero__rays { display: none; }
  .has-3d .hero__media { position: absolute; inset: 0; aspect-ratio: auto; visibility: hidden; transform-origin: 50% 40%; will-change: transform; }
  .has-3d .hero__media.is-live { visibility: visible; }
  .has-3d .hero__media::after {
    content: ''; position: absolute; inset: 0 0 auto; height: 13rem; pointer-events: none;
    background: linear-gradient(rgba(12, 11, 9, .78), rgba(12, 11, 9, 0));
  }
  .has-3d .video-toggle { z-index: 3; bottom: 1.5rem; right: var(--gutter); opacity: 0; pointer-events: none; transition: opacity .4s; }
  .has-3d .hero__media.is-full .video-toggle { opacity: 1; pointer-events: auto; }
  .has-3d .hero__bar {
    display: block; position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 2px;
    background: var(--gold); transform: scaleX(0); transform-origin: 0 50%;
  }
  .has-3d .site-head { transition: background-color .45s, box-shadow .3s; }
  .has-3d .site-head.is-clear { background: transparent; box-shadow: none; }
  .has-3d .site-head.is-clear .nav a { color: var(--text-on-ink); }
  .has-3d #care { margin-top: -100vh; }
}
.has-3d #care, .has-2d #care { position: relative; z-index: 2; }
@keyframes cue { from { transform: translateY(-100%); } to { transform: translateY(200%); } }

/* Opening screen: service questions pop up around the rays. Each one links to
   that service. They only exist while the scroll story is running */
.has-3d .hero__intro, .has-2d .hero__intro {
  display: block; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  transition: opacity .45s, visibility .45s;
}
.hero__intro.is-gone { opacity: 0; visibility: hidden; }
.hero__intro.is-gone .q { pointer-events: none; }
.hero__questions { position: absolute; inset: 0; }
.q {
  position: absolute; max-width: 14em; visibility: hidden; opacity: 0;
  color: var(--text-on-ink); font-weight: 300; line-height: 1.2; letter-spacing: -.012em;
  text-decoration: none; pointer-events: auto;
}
.q:hover { color: var(--gold); }
.hero__hint {
  position: fixed; left: 50%; bottom: 1rem; translate: -50% 0;
  display: grid; justify-items: center; gap: .5rem;
  color: var(--text-on-ink-soft); font-size: .9375rem; white-space: nowrap;
}
.hero__hint span { display: block; width: 1px; height: 2.25rem; overflow: hidden; background: var(--line-on-ink); }
.hero__hint span::after {
  content: ''; display: block; width: 100%; height: 50%; background: var(--gold);
  animation: cue 2.2s var(--ease) infinite;
}

@keyframes q-pop {
  0% { visibility: visible; opacity: 0; transform: translateY(.75rem) scale(.94); filter: blur(6px); }
  7%, 34% { visibility: visible; opacity: 1; transform: none; filter: blur(0); }
  43% { visibility: visible; opacity: 0; transform: translateY(-.5rem); filter: blur(4px); }
  44%, 100% { visibility: hidden; opacity: 0; }
}
@keyframes q-one {
  0% { visibility: visible; opacity: 0; transform: translateY(.5rem); }
  2.5%, 10% { visibility: visible; opacity: 1; transform: none; }
  12.2% { visibility: visible; opacity: 0; transform: translateY(-.35rem); }
  12.5%, 100% { visibility: hidden; opacity: 0; }
}

@media (min-width: 761px) {
  .has-3d .q { animation: q-pop 12s linear infinite; animation-delay: calc(var(--n) * 1.5s + .9s); }
  .q--a { left: 8%; top: 23%; font-size: clamp(1.25rem, 1.9vw, 1.875rem); }
  .q--b { right: 8%; top: 20%; font-size: clamp(1.125rem, 1.5vw, 1.5rem); }
  .q--c { left: 5%; top: 50%; font-size: clamp(1.125rem, 1.5vw, 1.5rem); }
  .q--d { right: 11%; top: 44%; font-size: clamp(1.25rem, 1.9vw, 1.875rem); }
  .q--e { left: 13%; top: 73%; font-size: clamp(1.0625rem, 1.3vw, 1.3125rem); }
  .q--f { right: 5%; top: 67%; font-size: clamp(1.125rem, 1.5vw, 1.5rem); }
  .q--g { left: 21%; top: 13%; font-size: clamp(1.0625rem, 1.3vw, 1.3125rem); }
  .q--h { right: 19%; top: 80%; font-size: clamp(1.0625rem, 1.3vw, 1.3125rem); }
}

/* Phone: one question at a time, just above the scroll line */
@media (max-width: 760px) {
  .has-2d .q {
    position: fixed; left: 50%; right: auto; bottom: 5.5rem; top: auto; translate: -50% 0;
    width: max-content; max-width: 92vw; padding: .4rem .8rem; border-radius: 2px;
    background: rgba(12, 11, 9, .86); font-size: 1.1875rem; text-align: center;
    animation: q-one 19.2s linear infinite; animation-delay: calc(var(--n) * 2.4s + .6s);
  }
  .has-2d .hero__hint { gap: 0; padding: .3rem .7rem 0; border-radius: 2px; background: rgba(12, 11, 9, .86); color: var(--text-on-ink); }
  .has-2d .hero__hint span { height: 1.25rem; margin-top: .25rem; }
}
@media (max-width: 760px) and (max-height: 760px) {
  .has-2d .hero__intro { display: none; }
}

.hero__story { display: none; }

/* Phone: same story as desktop in light 2D. Text and tooth share the first
   screen, then the tooth opens onto the video through its own rays */
@media (max-width: 760px) {
  .has-2d .hero { background: var(--ink); margin-top: calc(var(--head-h) * -1); }
  .has-2d .hero__pin { height: 400svh; }
  .has-2d .hero__sticky {
    position: sticky; top: 0;
    height: 100svh; padding-top: var(--head-h); overflow: hidden;
    background: var(--ink);
  }
  .has-2d .hero__copy { padding-block: 1.75rem 0; z-index: 2; will-change: opacity, filter; }
  .has-2d .hero__copy.is-gone { visibility: hidden; }
  .has-2d .hero__copy .btn--line { background: var(--ink); }
  .has-2d .hero__stage { position: absolute; inset: 0; z-index: 0; max-width: none; padding: 0; }
  .has-2d .hero__scene { position: absolute; inset: 0; }
  .has-2d .hero__rays { display: none; }
  .has-2d .hero__media {
    position: absolute; inset: 0; aspect-ratio: auto; margin: 0;
    visibility: hidden; transform-origin: 50% 40%; will-change: transform;
  }
  .has-2d .hero__media.is-live { visibility: visible; }
  .has-2d .hero__story {
    display: block; position: absolute; inset: 0; z-index: 1;
    width: 100%; height: 100%; overflow: hidden; pointer-events: none;
  }
  .hero__shade { fill: var(--ink); fill-rule: evenodd; }
  .hero__gold path {
    stroke: var(--gold); stroke-width: 1.5; vector-effect: non-scaling-stroke;
    transform-box: fill-box; transform-origin: center; will-change: transform;
  }
  .has-2d .video-toggle { opacity: 0; pointer-events: none; transition: opacity .4s; }
  .has-2d .hero__media.is-full .video-toggle { opacity: 1; pointer-events: auto; bottom: 5rem; }
  .has-2d #care { margin-top: -100svh; }
}

/* Section heads */
.head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--heading-gap) clamp(2rem, 6vw, 6rem); align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4.75rem); }
.head p { color: var(--text-soft); font-size: 1.125rem; max-width: 30em; }
.head--center { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.head--dark p { color: var(--text-on-ink-soft); }
.head--tight { display: block; margin-bottom: 0; }
.head--tight p { margin-top: var(--heading-gap); }
.head--tight .more { margin-top: 1.75rem; }

/* What brings you in: light cards with a line icon in a circle. On hover the
   circle grows to fill the card in black, echoing the tooth opening in the hero */
.care { background: var(--plaster); }
.cards {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.75rem, 1.2vw, 1.25rem); padding-bottom: clamp(2rem, 3.5vw, 3.25rem);
}
.card {
  --dot: 4.75rem;
  position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start;
  padding: clamp(1.5rem, 2.2vw, 2.25rem); background: #fff; border: 1px solid var(--line);
  transition: color .35s, border-color .35s;
}
/* Staggered columns keep the grid from feeling like a template */
.card:nth-child(even) { translate: 0 clamp(1.5rem, 3vw, 3rem); }
.card::before {
  content: ''; position: absolute; z-index: 0;
  left: clamp(1.5rem, 2.2vw, 2.25rem); top: clamp(1.5rem, 2.2vw, 2.25rem);
  width: var(--dot); height: var(--dot); border-radius: 50%; background: var(--ink);
  transform: scale(0); transition: transform .7s var(--ease);
}
.card::after {
  content: ''; position: absolute; right: -2.25rem; bottom: -2.25rem; width: 10rem; height: 10rem; z-index: 0;
  background: url(../brand/tooth-gold.svg) center / contain no-repeat;
  opacity: 0; transform: translateY(1rem); transition: opacity .5s, transform .7s var(--ease);
}
.card > * { position: relative; z-index: 1; }
.js .card[data-reveal] { transition: opacity .9s var(--ease), transform .9s var(--ease), color .35s, border-color .35s; }
.card__icon {
  display: grid; place-items: center; width: var(--dot); height: var(--dot); margin-bottom: 1.5rem;
  border: 1px solid var(--gold); border-radius: 50%; color: var(--text);
  transition: color .35s, background-color .35s;
}
.card__icon i { font-size: 1.75rem; line-height: 1; }
.card h3 { font-size: clamp(1.3125rem, 1.15rem + .4vw, 1.625rem); }
.card p { flex: 1; margin-top: .7rem; color: var(--text-soft); font-size: 1rem; line-height: 1.55; transition: color .35s; }
.card .more { position: static; margin-top: 1.25rem; transition: color .35s; }
.card .more::before { content: ''; position: absolute; inset: 0; z-index: 2; }

.card:hover, .card:focus-within, .card.is-lit { color: var(--text-on-ink); border-color: var(--ink); }
.card:hover::before, .card:focus-within::before, .card.is-lit::before { transform: scale(15); }
.card:hover::after, .card:focus-within::after, .card.is-lit::after { opacity: .16; transform: none; }
.card:hover .card__icon, .card:focus-within .card__icon, .card.is-lit .card__icon { color: var(--gold); }
.card:hover p, .card:focus-within p, .card.is-lit p { color: var(--text-on-ink-soft); }
.card:hover .more, .card:focus-within .more, .card.is-lit .more { color: var(--gold); }

/* Doctor: full width, with the photo fading into the dark content side */
.doctor > .wrap { max-width: none; padding-inline: 0; }
.doctor__panel {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
  min-height: clamp(38rem, 86vh, 54rem); background: var(--ink); color: var(--text-on-ink);
}
/* The logo sits faintly behind the text on larger screens */
.doctor__panel::after {
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  right: -4rem; top: 50%; width: clamp(26rem, 40vw, 44rem); aspect-ratio: 685 / 675; translate: 0 -50%;
  background: url(../brand/tooth-gold.svg) center / contain no-repeat; opacity: .08;
}
.doctor__photo { position: absolute; inset: 0 auto 0 0; width: 68%; }
.doctor__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 16% 10%; }
.doctor__photo::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(rgba(12, 11, 9, 0) 74%, var(--ink) 100%),
    linear-gradient(90deg, rgba(12, 11, 9, 0) 40%, rgba(12, 11, 9, .86) 62%, var(--ink) 76%);
}
.doctor__copy {
  position: relative; z-index: 1; grid-column: 2; align-self: center;
  display: flex; flex-direction: column; gap: 1.1rem;
  padding: clamp(2.5rem, 4.5vw, 4.5rem) max(var(--gutter), calc((100vw - 92rem) / 2 + var(--gutter))) clamp(2.5rem, 4.5vw, 4.5rem) 0;
}
.doctor__copy h2 { margin-bottom: calc(var(--heading-gap) - 1.1rem); }
.doctor__copy .lead { font-size: var(--lead); line-height: 1.35; font-weight: 300; }
.doctor__copy > p:not(.lead) { color: var(--text-on-ink-soft); }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin-top: .9rem; }
.values li {
  padding: 1.1rem 1.15rem 1.25rem; background: rgba(245, 242, 236, .055);
  border: 1px solid var(--line-on-ink);
}
.values h3 { font-size: 1.125rem; }
.values p { margin-top: .45rem; color: var(--text-on-ink-soft); font-size: .9375rem; line-height: 1.45; }

/* Results: one large before and after slider with arrows below it */
.results { background: #fff; }

.compare {
  position: relative; overflow: hidden; height: clamp(24rem, 74vh, 46rem); background: var(--stone);
  cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare.is-sample .compare__before { filter: sepia(.45) saturate(.7) brightness(.9) contrast(.95); } /* Dummy effect only: remove with the sample photos */
.compare__sample {
  position: absolute; left: 50%; bottom: 1rem; z-index: 2; translate: -50% 0; display: none; padding: .25rem .6rem; border-radius: 2px;
  background: rgba(255, 255, 255, .86); color: var(--text); font-size: .8125rem; line-height: 1.3; pointer-events: none; white-space: nowrap;
}
.compare.is-sample .compare__sample { display: block; }
.compare__tag {
  position: absolute; top: 1rem; z-index: 2; padding: .3rem .7rem; border-radius: 2px;
  background: rgba(12, 11, 9, .82); color: var(--text-on-ink); font-size: .9375rem; line-height: 1.3; pointer-events: none;
}
.compare__tag--before { left: 1rem; }
.compare__tag--after { right: 1rem; }
.compare__line { position: absolute; z-index: 3; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--gold); pointer-events: none; }
.compare__handle {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border: 1px solid var(--gold); border-radius: 50%;
  background: var(--ink); color: var(--gold); font-size: 1.125rem; transition: scale .2s;
}
.compare.is-dragging .compare__handle { scale: 1.08; }
.compare__range { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.compare:has(.compare__range:focus-visible) { outline: 2px solid var(--gold); outline-offset: 3px; }

.results__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; }
.results__caption { color: var(--text-soft); font-size: 1rem; text-align: center; }
.results__arrow {
  flex: none; display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border: 1px solid var(--gold); border-radius: 50%;
  background: none; color: var(--text); font-size: 1.0625rem; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s;
}
.results__arrow:hover { background: var(--ink); border-color: var(--ink); color: var(--gold); }

/* Reviews: the logo's rays light up as a rating gauge beside two rows of real
   reviews that drift slowly in opposite directions and never run out */
.reviews { background: var(--stone); overflow: clip; }
.reviews__stage { --card: clamp(19rem, 27vw, 23rem); --gap: clamp(.625rem, 1vw, 1rem); position: relative; min-height: 30.5rem; }
.rating {
  position: absolute; left: 0; top: 0; bottom: 0; z-index: 2; width: var(--card); overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 1.75rem 1.75rem 1.5rem; color: var(--text-on-ink);
  background: radial-gradient(90% 62% at 50% 22%, rgba(217, 190, 90, .2), rgba(217, 190, 90, 0) 72%), var(--ink);
  box-shadow: 1.25rem 0 2.5rem -1rem rgba(12, 11, 9, .3);
}
.rating__fan { width: 62%; height: auto; overflow: visible; fill: url(#fanGold); }
.rating__fan path { opacity: .9; }
.js .rating__fan path { opacity: .12; transition: opacity .6s; transition-delay: calc(var(--i) * 70ms); }
.js .reviews.is-in .rating__fan path { opacity: 1; }
.rating__score { margin-top: -2.75rem; font-size: clamp(5rem, 3.5rem + 3.4vw, 6.75rem); font-weight: 200; line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; text-shadow: 0 0 1.5rem var(--ink), 0 0 .5rem var(--ink); }
.reviews__stars { display: flex; gap: .3rem; margin-top: .6rem; color: var(--gold); font-size: 1rem; }
.js .reviews__stars i { opacity: .16; transition: opacity .5s; transition-delay: calc(var(--n) * .14s + .7s); }
.js .reviews.is-in .reviews__stars i { opacity: 1; }
.rating__count { margin-top: .75rem; color: var(--text-on-ink-soft); font-size: .9375rem; line-height: 1.4; max-width: 15rem; }
.rating__count strong { color: var(--text-on-ink); font-weight: 500; }
.rating__cta {
  display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.1rem; padding-bottom: .15rem;
  border-bottom: 1px solid currentColor; color: var(--gold); font-weight: 500; text-decoration: none; transition: gap .25s var(--ease), color .2s;
}
.rating__cta i { font-size: .875rem; }
.rating__cta:hover { gap: .95rem; color: var(--text-on-ink); }

.reviews__rail { display: flex; gap: var(--gap); overflow-x: auto; padding-left: calc(var(--card) + var(--gap)); }
.js .has-reviews .reviews__rail { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); padding: 0; }
.reviews__rows {
  display: none; position: absolute; inset: 0 calc(var(--gutter) * -1) 0 0; overflow: hidden;
  flex-direction: column; justify-content: space-between; gap: var(--gap);
  -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent);
}
.has-reviews .reviews__rows { display: flex; }
.reviews__row { display: flex; flex: 1 1 0; gap: var(--gap); width: max-content; will-change: transform; }
.rcard {
  flex: 0 0 clamp(18rem, 24vw, 21rem); display: flex; flex-direction: column; list-style: none;
  padding: 1.25rem 1.5rem; background: #fff;
}
.rcard__mark { align-self: flex-start; color: var(--gold); font-size: 1.125rem; }
.rcard blockquote { flex: 1; margin: .6rem 0 .75rem; font-size: clamp(1.1875rem, 1.1rem + .3vw, 1.375rem); font-weight: 300; line-height: 1.24; letter-spacing: var(--heading-spacing); }
.rcard footer { display: flex; align-items: center; gap: .6rem; color: var(--text-soft); font-size: .875rem; line-height: 1.3; }
.rcard footer strong { display: block; color: var(--text); font-size: .9375rem; font-weight: 500; }
.rcard__dot { flex: none; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold-deep); font-size: .9375rem; }
.reviews__more { margin-top: 1.5rem; text-align: right; }

/* In the news: the article as a clipped page laid over a team photo */
.press { background: var(--plaster); }
.press__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 1fr; column-gap: clamp(.75rem, 1.5vw, 1.5rem); }
.press__head { grid-column: 1 / span 5; grid-row: 1; align-self: start; padding-bottom: 2rem; }
.press__head p { margin-top: var(--heading-gap); color: var(--text-soft); font-size: 1.125rem; max-width: 26em; }
.press__photo { grid-column: 6 / span 7; grid-row: 1 / span 2; aspect-ratio: 5 / 4; overflow: hidden; background: var(--stone); }
.press__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.clipping {
  position: relative; z-index: 1; grid-column: 1 / span 6; grid-row: 2; align-self: end; margin-bottom: clamp(1.5rem, 3vw, 3rem);
  padding: clamp(1.5rem, 2.5vw, 2.5rem); background: #fff; rotate: -1.6deg;
  box-shadow: 0 1.25rem 2.5rem rgba(26, 24, 21, .12), 0 .125rem .375rem rgba(26, 24, 21, .08);
  transition: rotate .5s var(--ease), box-shadow .5s;
}
.clipping:hover { rotate: 0deg; box-shadow: 0 1.75rem 3.25rem rgba(26, 24, 21, .16), 0 .125rem .375rem rgba(26, 24, 21, .08); }
.js .clipping[data-reveal] { transition: opacity .9s var(--ease), transform .9s var(--ease), rotate .5s var(--ease), box-shadow .5s; }
.clipping__clip { position: absolute; top: -.85rem; right: 1.75rem; color: var(--gold-deep); font-size: 2rem; rotate: 12deg; }
.clipping__masthead {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; padding-bottom: .6rem; margin-bottom: 1rem;
  border-top: 3px solid var(--ink); border-bottom: 1px solid var(--ink); padding-top: .5rem; font-size: .9375rem;
}
.clipping h3 { font-size: clamp(1.625rem, 1.3rem + 1.05vw, 2.25rem); }
.clipping__by { margin-top: .6rem; color: var(--text-soft); font-size: .9375rem; }
.clipping p:not(.clipping__by) { margin-top: .85rem; color: var(--text-soft); line-height: 1.55; }
.clipping .more { margin-top: 1.1rem; }

/* Cost: a wall of plan logos, with the in-network plan as the anchor tile */
.cost { background: var(--stone); }
.cost .head h2 { max-width: none; }
.plans { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: minmax(9rem, auto); gap: clamp(.5rem, .8vw, .75rem); }
/* Rows only exist on phones, where each becomes a swipeable strip */
.plans__row { display: contents; }
.plan {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem;
  padding: 1rem; background: #fff; text-align: center; text-decoration: none;
  transition: translate .3s var(--ease), box-shadow .3s;
}
.plan:hover { translate: 0 -3px; box-shadow: 0 .75rem 1.5rem rgba(26, 24, 21, .1), inset 0 0 0 1px var(--gold); }
.plan img { width: auto; max-width: 78%; height: 2.5rem; object-fit: contain; }
.plan span { color: var(--text-soft); font-size: .875rem; line-height: 1.2; }
.plan--main { grid-column: span 2; grid-row: span 2; gap: 1rem; box-shadow: inset 0 0 0 1px var(--gold); }
.plan--main img { height: 4.25rem; max-width: 84%; }
.plan--main span { display: inline-flex; align-items: center; gap: .4rem; color: var(--text); font-size: 1.125rem; font-weight: 500; }
.plan--main i { color: var(--gold-deep); }
.plan--ask {
  grid-column: span 3; overflow: hidden; align-items: flex-start; gap: .35rem; padding: 1rem clamp(1.25rem, 2vw, 2rem);
  background: var(--ink); color: var(--text-on-ink); text-align: left;
}
/* The logo's rays rise from the corner. On hover gold floods the card from them */
.plan--ask::before {
  content: ''; position: absolute; right: clamp(3.5rem, 5vw, 5rem); top: 50%; width: 3rem; height: 3rem; margin-top: -1.5rem; border-radius: 50%;
  background: var(--gold); transform: scale(0); transition: transform .75s var(--ease);
}
.plan--ask::after {
  content: ''; position: absolute; right: clamp(1.5rem, 3vw, 3rem); top: 50%; width: 6.75rem; aspect-ratio: 685 / 675; translate: 0 -50%;
  background: url(../brand/tooth-gold.svg) center / contain no-repeat;
  transition: transform .75s var(--ease), filter .4s, opacity .4s;
}
.plan--ask > * { position: relative; z-index: 1; }
.plan--ask span { color: var(--text-on-ink); font-family: var(--font-heading); font-size: clamp(1.5rem, 1.25rem + .8vw, 2rem); font-weight: 400; line-height: var(--heading-leading); letter-spacing: var(--heading-spacing); transition: color .35s; }
.plan--ask strong { color: var(--gold); font-size: 1.0625rem; font-weight: 500; transition: color .35s; }
.plan--ask:hover { box-shadow: none; }
.plan--ask:hover::before { transform: scale(32); }
.plan--ask:hover::after { filter: brightness(0); opacity: .22; transform: scale(1.1) rotate(-6deg); }
.plan--ask:hover span, .plan--ask:hover strong { color: var(--ink); }
.pay { grid-column: span 3; display: flex; flex-direction: column; justify-content: center; gap: .75rem; padding: 1.25rem 1.5rem; background: #fff; }
.pay img { width: auto; height: 2.25rem; object-fit: contain; object-position: left; }
.pay p { color: var(--text-soft); font-size: .9375rem; line-height: 1.45; }

/* Urgent */
.urgent { background: var(--ink); color: var(--text-on-ink); }
.urgent__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; padding-block: clamp(3rem, 6vw, 5.5rem); }
.urgent p { margin-top: var(--heading-gap); font-size: 1.125rem; color: var(--text-on-ink-soft); }
.urgent__tel { color: var(--gold); font-size: clamp(2.25rem, 1.5rem + 3.2vw, 4.75rem); font-weight: 300; letter-spacing: -.03em; line-height: 1; text-decoration: none; white-space: nowrap; }
.urgent__tel:hover { color: var(--text-on-ink); }

/* FAQ */
.faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.5rem clamp(2.5rem, 7vw, 7rem); }
.faq__list details { border-top: 1px solid var(--line); }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq__list summary {
  position: relative; padding: 1.3rem 2.5rem 1.3rem 0; cursor: pointer; list-style: none;
  font-size: 1.1875rem; line-height: 1.35;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::before, .faq__list summary::after {
  content: ''; position: absolute; right: .25rem; top: 50%; width: 14px; height: 1px; background: currentColor;
  transition: transform .3s var(--ease);
}
.faq__list summary::after { transform: rotate(90deg); }
.faq__list details[open] summary::after { transform: rotate(0); }
.faq__list details p { padding: 0 2.5rem 1.5rem 0; color: var(--text-soft); max-width: 38em; }

/* Visit */
.visit__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.visit__info { background: var(--stone); padding: var(--space) var(--gutter); display: flex; justify-content: flex-end; }
.visit__copy { width: 100%; max-width: 36rem; }
.visit__copy > p { margin-top: var(--heading-gap); color: var(--text-soft); font-size: 1.125rem; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1.5rem; margin-top: 2.5rem; }
.form label { display: grid; gap: .3rem; font-size: .9375rem; color: var(--text-soft); }
.form input, .form select {
  width: 100%; height: 3rem; padding: 0; border: 0; border-bottom: 1px solid rgba(26, 24, 21, .4); border-radius: 0;
  background: transparent; color: var(--text); font: 400 1.0625rem/1.2 var(--font);
  -webkit-appearance: none; appearance: none;
  transition: border-color .2s;
}
.form select {
  padding-right: 1.5rem; cursor: pointer;
  background: no-repeat right .2rem center / .65rem url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231a1815' stroke-width='1.2'/%3E%3C/svg%3E");
}
.form input:focus, .form select:focus { outline: 0; border-bottom-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.form .btn { justify-self: start; margin-top: .5rem; }
.form__note { grid-column: 1 / -1; color: var(--text); }
.form__note:empty { display: none; }
.visit__place { display: flex; flex-direction: column; background: var(--ink); color: var(--text-on-ink); }
.visit__place iframe { width: 100%; flex: 1 1 auto; min-height: 22rem; border: 0; filter: grayscale(1) contrast(.95); }
.visit__place address { display: grid; gap: .6rem; padding: clamp(2rem, 4vw, 3rem) var(--gutter); font-style: normal; color: var(--text-on-ink-soft); }
.visit__place strong { color: var(--text-on-ink); font-size: 1.375rem; font-weight: 400; line-height: 1.25; letter-spacing: -.01em; }
.visit__place .more { justify-self: start; margin-top: .5rem; }

/* Footer */
.foot { background: var(--ink); color: var(--text-on-ink-soft); padding-block: clamp(3.5rem, 6vw, 5.5rem) 2rem; font-size: .9375rem; border-top: 1px solid var(--line-on-ink); }
.foot__top { display: grid; grid-template-columns: minmax(0, 5fr) repeat(2, minmax(0, 2fr)) minmax(0, 3fr); gap: 2.5rem clamp(1.5rem, 3vw, 3rem); }
.brand--foot { align-self: start; gap: 1rem; }
.brand--foot .brand__mark { width: 52px; }
.brand--foot .brand__word { width: 188px; }
.foot h2 { min-height: 1.5rem; margin-bottom: 1rem; color: var(--text-on-ink); font-family: var(--font); font-size: 1rem; font-weight: 500; line-height: 1.5; }
.foot .vh { position: static; width: auto; height: 1.5rem; clip-path: none; color: transparent; }
.foot nav, .foot__contact { display: grid; gap: .55rem; align-content: start; justify-items: start; }
.foot a { text-decoration: none; transition: color .2s; }
.foot a:hover { color: var(--gold); }
.foot__social { display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin-top: .5rem; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; margin-top: clamp(3rem, 5vw, 4.5rem); padding-top: 1.5rem; font-size: .875rem; }
.foot__legal { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }

.mobile-bar { display: none; }

/* Reveal */
.js [data-reveal] { opacity: 0; transform: translateY(1.25rem); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Tablet */
@media (max-width: 1120px) {
  .nav { display: none; }
  .site-head__cta { margin-left: auto; }
  .menu-btn {
    display: grid; gap: 6px; width: 2.75rem; height: 2.75rem; place-content: center;
    border: 0; background: none; color: inherit; cursor: pointer;
  }
  .menu-btn span { display: block; width: 22px; height: 1px; background: currentColor; transition: transform .25s; }
  .menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .nav.is-open {
    display: grid; gap: 0; position: absolute; left: 0; right: 0; top: 100%; margin: 0;
    padding: .5rem var(--gutter) 1.5rem; background: var(--ink); border-top: 1px solid var(--line-on-ink);
  }
  .nav.is-open a { padding-block: .85rem; font-size: 1.25rem; color: var(--text-on-ink); border-bottom: 1px solid var(--line-on-ink); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Photo sits on top and fades down into the dark content */
  .doctor__panel { display: block; min-height: 0; }
  .doctor__photo { position: relative; width: 100%; height: clamp(20rem, 52vw, 30rem); }
  .doctor__photo img { object-position: 22% 26%; }
  .doctor__photo::after { background: linear-gradient(rgba(12, 11, 9, 0) 52%, var(--ink) 98%); }
  .doctor__copy { padding: 0 var(--gutter) clamp(2rem, 5vw, 3rem); margin-top: -1.5rem; }
  .plans { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pay { grid-column: span 2; }
  .foot__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brand--foot { grid-column: 1 / -1; }
}

/* Phone */
@media (max-width: 760px) {
  :root { --head-h: 4.25rem; }
  body { padding-bottom: 3.75rem; }
  .brand__mark { width: 32px; }
  .brand__word { width: 112px; }
  .site-head__cta { display: none; }
  .menu-btn { margin-left: auto; margin-right: -.6rem; }
  .promo { font-size: .8125rem; }
  h1 br { display: none; }
  .hero__side p { font-size: 1.0625rem; }
  .actions .btn { flex: 1 1 100%; }
  .head { grid-template-columns: minmax(0, 1fr); }
  .doctor__panel::after { display: none; }
  .compare { height: auto; aspect-ratio: 5 / 4; margin-inline: calc(var(--gutter) * -1); }
  .compare__handle { width: 3rem; height: 3rem; }
  .values { grid-template-columns: minmax(0, 1fr); }
  .cards { grid-template-columns: minmax(0, 1fr); padding-bottom: 0; }
  .card:nth-child(even) { translate: none; }
  .card { --dot: 3.5rem; display: grid; grid-template-columns: var(--dot) minmax(0, 1fr); column-gap: 1rem; padding: 1.25rem; }
  .card__icon { grid-row: 1 / span 3; margin: 0; }
  .card__icon i { font-size: 1.375rem; }
  .card::before { left: 1.25rem; top: 1.25rem; }
  .card:hover::before, .card:focus-within::before, .card.is-lit::before { transform: scale(26); }
  .card h3, .card p, .card .more { grid-column: 2; }
  .card .more { justify-self: start; margin-top: .75rem; }
  .faq__grid, .visit__grid { grid-template-columns: minmax(0, 1fr); }
  .reviews__stage { min-height: 0; }
  .rating { position: relative; width: auto; box-shadow: none; padding-block: 2rem 1.75rem; }
  .rating__fan { width: 12rem; }
  .reviews__rail { padding-left: 0; margin-top: .75rem; }
  .reviews__rows { position: relative; inset: auto; height: 28rem; margin: .75rem calc(var(--gutter) * -1) 0; -webkit-mask-image: none; mask-image: none; }
  .rcard { flex-basis: 17rem; }
  .reviews__more { text-align: center; }
  .plans { display: flex; flex-direction: column; gap: .75rem; }
  .plans__row {
    display: flex; gap: .75rem; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none;
  }
  .plans__row::-webkit-scrollbar { display: none; }
  .plans__row > * { flex: 0 0 min(15rem, 68vw); scroll-snap-align: start; }
  .plans__row .plan { min-height: 9rem; }
  .plans__row .plan img { width: 10rem; max-width: 100%; height: 3rem; }
  .plans__row .plan:hover { translate: none; box-shadow: none; }
  .plan--main { gap: .6rem; }
  .plan--main span { font-size: .875rem; }
  .plans__row .plan--main:hover { box-shadow: inset 0 0 0 1px var(--gold); }
  .plans__row--pay > * { flex-basis: min(19rem, 80vw); }
  .plan--ask { order: 1; min-height: 7rem; }
  .plan--ask::after { right: 1rem; width: 5.25rem; }
  .plan--ask::before { right: 2.5rem; }
  .plan--ask span { font-size: 1.375rem; }
  .press__grid { display: block; }
  .press__photo { aspect-ratio: 4 / 3; margin-inline: calc(var(--gutter) * -1); }
  .clipping { margin: -3rem 0 0; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .form .btn { justify-self: stretch; }
  .visit__info { justify-content: flex-start; }
  .visit__place iframe { flex: 0 0 18rem; min-height: 18rem; }
  .foot__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__contact { grid-column: 1 / -1; }
  .mobile-bar {
    transform: translateY(100%); transition: transform .35s var(--ease);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: 2fr 3fr;
    padding-bottom: env(safe-area-inset-bottom); background: var(--ink);
  }
  .mobile-bar.is-on { transform: none; }
  .mobile-bar a { display: grid; place-items: center; height: 3.75rem; font-weight: 500; text-decoration: none; color: var(--text-on-ink); }
  .mobile-bar a:last-child { background: var(--gold); color: var(--ink); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal], .js .rays path { opacity: 1; transform: none; transition: none; animation: none; }
  .js .rays path { opacity: .9; }
  .hero__intro, .hero__bar { display: none !important; }
}
