/* Southern Smiles marketing pages. Same structure and motion as the IdeaXxiom site,
   in the practice's own colours: navy, brand blue, palmetto green, and the sunrise mark.
   The portal, admin and kiosks keep Tailwind + style.css; nothing here applies to them. */

@view-transition { navigation: auto; }

/* Inter, served from this site rather than Google. SIL OFL: /fonts/OFL.txt. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #0a1929;
  --ink-2: #10243a;
  --ink-3: #1a3a5c;
  --blue: #29abe2;
  --blue-2: #1a5fa8;
  --sky: #e0f4fc;
  --green: #7dc242;
  --green-2: #4e8a28;
  --gold: #f2b01e;
  --paper: #f4f2ef;
  --white: #fff;
  --dim: #9fb0c0;
  --mute: #4a6b8a;
  --line: #e3e0dc;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --max: clamp(1120px, 80vw, 1440px);
  /* The hero sun's size. Everything in the home scene is measured from it. */
  --s: min(64vw, 46svh);
  /* Nav height once scrolled, and at the very top of a page, where the logo shows large. */
  --nav: 64px;
  --nav-top: 108px;
}
@media (max-width: 700px) { :root { --nav: 56px; --nav-top: 80px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html:has(dialog[open]) { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -.011em;
  color: var(--white);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  font-optical-sizing: auto;
}
body:has(.nav[data-open]) { overflow: hidden; }
h1, h2, h3, h4, p, ol, ul, figure, fieldset, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
svg, img { display: block; }
img { max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; letter-spacing: inherit; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.light :focus-visible, .modal :focus-visible { outline-color: var(--blue-2); }

.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* main.js injects this link on every page. */
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--blue); color: var(--ink); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 10px; }

/* ---------- Type ---------- */

.display { font-size: clamp(40px, 7.4vw, 92px); line-height: 1.04; font-weight: 650; letter-spacing: -.045em; text-wrap: balance; }
.h2 { font-size: clamp(34px, 5.4vw, 64px); line-height: 1.06; font-weight: 650; letter-spacing: -.04em; text-wrap: balance; }
.h3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.15; font-weight: 600; letter-spacing: -.025em; }
.lede { font-size: clamp(19px, 2vw, 24px); line-height: 1.36; font-weight: 500; letter-spacing: -.02em; color: var(--dim); text-wrap: pretty; }
.light .lede, .light .muted { color: var(--mute); }
.muted { color: var(--dim); }
.eyebrow { display: block; margin-bottom: 14px; font-size: 17px; font-weight: 600; letter-spacing: -.01em; color: var(--blue); }
.light .eyebrow { color: var(--blue-2); }
.accent { color: var(--blue); }
.light .accent { color: var(--blue-2); }
.link { color: var(--blue); font-weight: 500; text-decoration: none; }
.link::after { content: " ›"; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }
.light .link { color: var(--blue-2); }

/* ---------- Layout ---------- */

.band { padding: clamp(96px, 14vw, 168px) var(--gutter); }
.band.tight { padding-block: clamp(72px, 9vw, 112px); }
.light { background: var(--paper); color: var(--ink); }
.light.white { background: var(--white); }
.wrap { max-width: var(--max); margin-inline: auto; }
.head { max-width: 860px; margin: 0 auto clamp(48px, 7vw, 88px); text-align: center; }
.head .lede { margin-top: 20px; }
.head.flush { margin-bottom: 0; }
.head.left { margin-left: 0; text-align: left; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 36px; }
.ctas.start { justify-content: flex-start; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px; border: 0; border-radius: 999px;
  font-size: 17px; font-weight: 500; line-height: 1; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s var(--ease), color .2s, box-shadow .2s;
}
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn-blue { background: var(--blue); color: var(--ink); }
.btn-blue:hover { background: #5cc0ea; }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--ink-3); }
.btn-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn-ghost:hover { background: rgb(127 127 127 / .12); }

/* ---------- Brand mark ---------- */
/* The logo's sunrise: an arch over the horizon with the palmetto inside. Geometry is in
   the logo's own pixels, centred on the arch, so the hero, nav and page marks all match. */

mask { mask-type: alpha; }
.palm-img { mask: url("/images/palmetto.svg") center / 100% 100% no-repeat; -webkit-mask: url("/images/palmetto.svg") center / 100% 100% no-repeat; }
/* The original logo. Brightened on dark backgrounds so its dark-blue lettering reads on navy. */
.brand { display: flex; align-items: center; flex: none; }
.brand img { width: auto; height: 72px; filter: brightness(1.3) contrast(1.05); transition: height .35s var(--ease), filter .35s var(--ease); }
.nav .brand img { height: calc(var(--nav-h) - 12px); }
.nav[data-light]:not([data-open]) .brand img { filter: none; }

/* ---------- Nav ---------- */

.nav {
  --nav-h: var(--nav);
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  border-bottom: 1px solid rgb(255 255 255 / .07);
  view-transition-name: nav;
}
/* At the top of a page the bar is tall and clear, like the original site; it compacts on scroll. */
.nav[data-top] { --nav-h: var(--nav-top); }
.nav[data-top]:not([data-open]) { border-bottom-color: transparent; }
.nav[data-top]:not([data-open])::before { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
/* The blur lives on its own layer: on .nav itself, backdrop-filter would trap the
   fixed-position mobile menu inside the 52px bar. */
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgb(10 25 41 / .78);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}
.nav-inner { max-width: calc(var(--max) + 2 * var(--gutter)); height: 100%; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; align-items: center; gap: 24px; margin-left: auto; font-size: 14px; }
.nav-links a:not(.btn) { color: rgb(255 255 255 / .78); text-decoration: none; transition: color .2s; }
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { color: var(--white); }
.nav-links .btn { min-height: 32px; padding: 0 15px; font-size: 14px; }
.nav-links .nav-phone { display: none; }
.menu-btn { display: none; }
.nav, .nav::before { transition: height .35s var(--ease), background-color .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease); }
/* Over light sections the bar goes light, never while the mobile menu is open: that overlay stays dark. */
.nav[data-light]:not([data-open]) { color: var(--ink); border-bottom-color: rgb(10 25 41 / .08); }
.nav[data-light]:not([data-open])::before { background: rgb(244 242 239 / .8); }
.nav[data-light]:not([data-open]) .nav-links a:not(.btn) { color: rgb(10 25 41 / .7); }
.nav[data-light]:not([data-open]) .nav-links a:not(.btn):hover,
.nav[data-light]:not([data-open]) .nav-links a[aria-current="page"] { color: var(--ink); }
.nav[data-light]:not([data-open]) .menu-btn { color: var(--ink); }
.nav[data-light]:not([data-open]) .btn-blue { background: var(--ink); color: var(--white); }
.nav[data-light] :focus-visible { outline-color: var(--blue-2); }

@media (max-width: 1080px) {
  .menu-btn {
    display: grid; place-items: center; width: 44px; height: 44px; margin: 0 -10px 0 auto;
    background: none; border: 0; color: var(--white); cursor: pointer;
  }
  .menu-btn span { grid-area: 1 / 1; width: 18px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease); }
  .menu-btn span:first-child { transform: translateY(-4px); }
  .menu-btn span:last-child { transform: translateY(4px); }
  .nav[data-open] .menu-btn span:first-child { transform: rotate(45deg); }
  .nav[data-open] .menu-btn span:last-child { transform: rotate(-45deg); }

  .nav-links {
    position: fixed; inset: var(--nav-h) 0 0; flex-direction: column; align-items: stretch; gap: 0; overflow-y: auto;
    padding: 20px var(--gutter) 40px; background: var(--ink); font-size: 28px; font-weight: 600; letter-spacing: -.03em;
    visibility: hidden; opacity: 0; transition: opacity .3s var(--ease), visibility 0s .3s;
  }
  .nav[data-open] .nav-links { visibility: visible; opacity: 1; transition: opacity .3s var(--ease); }
  .nav-links li { opacity: 0; transform: translateY(-10px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
  .nav[data-open] .nav-links li { opacity: 1; transform: none; transition-delay: calc(var(--i) * 40ms + 60ms); }
  .nav-links a:not(.btn) { display: block; padding: 8px 0; }
  .nav-links .btn { width: 100%; min-height: 52px; margin-top: 24px; font-size: 18px; }
  .nav-links .nav-phone { display: block; }
  .nav-links .nav-phone .btn { margin-top: 12px; }
}

/* ---------- Scroll scenes ---------- */
/* main.js sets --p on each [data-scene]: 0 as it reaches the top, 1 as its end leaves. */

.scene { --p: 0; position: relative; height: var(--len, 300vh); }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.stage > * { grid-area: 1 / 1; }

/* Home hero: the sun rises behind the palmetto, then the camera flies into it and comes
   out in daylight. a = sunrise, b = title, c = the flight. */
.hero {
  --len: 380vh;
  --a: clamp(0, var(--p) / .3, 1);
  --ae: calc(var(--a) * var(--a) * (3 - 2 * var(--a)));
  --b: clamp(0, (var(--p) - .3) / .12, 1);
  --c: clamp(0, (var(--p) - .5) / .4, 1);
  /* Where the sun's centre sits on screen before the flight. The daylight glow lines up with it. */
  --lift: 9svh;
}
.hero .stage { background: var(--ink); }
.sun {
  z-index: 1; width: var(--s); height: var(--s); overflow: visible;
  translate: 0 calc(var(--lift) * -1 * (1 - var(--c)));
  scale: pow(60, var(--c));
  animation: fade-in 1.4s var(--ease) both;
}
.sun .veil, .sun .ground { fill: var(--ink); }
/* Only the still layout needs its own sky; the moving one shows the daylight behind the veil. */
.sun .glow { display: none; }
.sun .rise { transform: translateY(calc(400px * (1 - var(--ae)))); }
.sun .arch { fill: none; stroke: var(--green); stroke-width: 22; }
/* The palmetto shows up as the sun climbs behind it, and fades before the camera reaches it. */
.sun .palm { fill: var(--ink); opacity: min(clamp(0, (var(--a) - .25) / .35, 1), clamp(0, 1 - var(--c) * 5, 1)); }
.sun .horizon { fill: none; stroke: var(--green); stroke-width: 21; stroke-linecap: round; stroke-dasharray: 1; animation: draw 1.6s .2s var(--ease) both; }
/* The ground falls away as the flight starts, so all of the sun opens up. */
.sun .land { transform: translateY(calc(1200px * var(--c))); }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes fade-in { from { opacity: 0; } }

.day {
  z-index: 0; align-self: stretch; justify-self: stretch; display: grid; place-items: center;
  padding: var(--nav) var(--gutter) 0; color: var(--ink);
  /* Gold at the sun's core, sky blue through the disc, then the page's paper at the edges
     so the next section scrolls in without a seam. */
  background: radial-gradient(circle at 50% calc(50% - var(--lift)), #fffaf0 0, #fde7b0 calc(var(--s) * .12), #fbe9c6 calc(var(--s) * .2), #e3f4fc calc(var(--s) * .45), #e8f2f4 calc(var(--s) * .95), var(--paper) calc(var(--s) * 1.6));
}
.day-inner {
  display: grid; justify-items: center; gap: clamp(28px, 4svh, 44px); width: 100%; max-width: 1240px; text-align: center;
  opacity: clamp(0, (var(--c) - .45) / .3, 1);
  translate: 0 calc(48px * (1 - var(--c)));
}
.day .eyebrow { margin: 0; color: var(--blue-2); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px clamp(20px, 4vw, 56px); width: 100%; }
.stat b { display: block; font-size: clamp(40px, 5.6vw, 80px); line-height: 1; font-weight: 650; letter-spacing: -.045em; white-space: nowrap; }
.stat b[data-count] { font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 10px; font-size: 15px; font-weight: 500; color: var(--mute); }
.stat:nth-child(3) b { color: var(--blue-2); }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr 1fr; gap: 28px 32px; } }

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 860px; }
.chips li { display: flex; align-items: center; gap: 8px; padding: 8px 15px; border-radius: 999px; background: rgb(255 255 255 / .62); box-shadow: inset 0 0 0 1px rgb(10 25 41 / .08); font-size: 14px; font-weight: 500; }
.chips li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green-2); }

.hero-word, .hero-title { align-self: start; margin-top: calc(50svh - var(--lift) + var(--s) * .094 + 5svh); }
.hero-word {
  z-index: 2; font-size: clamp(18px, 2.4vw, 28px); font-weight: 600; letter-spacing: -.025em; white-space: nowrap; color: var(--dim);
  opacity: calc(1 - var(--a) * 3);
  translate: calc(var(--side) * var(--s) * .52 * (1 - var(--ae))) calc(-2svh * var(--ae));
  animation: fade-in 1s .6s var(--ease) backwards;
}
.hero-word.left { --side: -1; }
.hero-word.mid { --side: 0; }
.hero-word.right { --side: 1; }
.hero-title {
  z-index: 2; max-width: 1040px; padding: 0 var(--gutter); text-align: center;
  opacity: calc(var(--b) - clamp(0, var(--c) * 10, 1));
  translate: 0 calc(28px * (1 - var(--b)));
}
.hero-title .lede { max-width: 640px; margin: 20px auto 0; }
.hero-cue {
  z-index: 2; align-self: end; margin-bottom: 4svh; display: grid; justify-items: center; gap: 10px;
  font-size: 12px; color: var(--dim); opacity: calc(1 - var(--a) * 4);
}
.hero-cue::after { content: ""; width: 1px; height: 36px; background: linear-gradient(var(--dim), transparent); transform-origin: top; animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* Home statement: the words light up as you read down. --n and --i come from main.js. */
.statement { --len: 240vh; }
.statement .stage { padding: 0 var(--gutter); }
.words { max-width: 1000px; font-size: clamp(30px, 4.6vw, 56px); line-height: 1.14; font-weight: 650; letter-spacing: -.035em; }
.words span { opacity: calc(.16 + .84 * clamp(0, var(--p) * 1.3 * var(--n) - var(--i), 1)); }

/* ---------- Drawn UI (decorative, aria-hidden) ---------- */

.ui {
  --m-bg: var(--ink-2); --m-side: #0d2033; --m-card: #16304a; --m-text: #e8eef3; --m-dim: #8fa3b5; --m-line: rgb(255 255 255 / .07);
  display: grid; grid-template-columns: 210px 1fr; overflow: hidden; text-align: left;
  background: var(--m-bg); color: var(--m-text); font-size: 13px; line-height: 1.4; letter-spacing: -.005em;
  border-radius: 18px; box-shadow: 0 0 0 1px var(--m-line), 0 40px 120px rgb(0 0 0 / .45);
}
.ui-light {
  --m-bg: var(--white); --m-side: #f6f8fa; --m-card: var(--white); --m-text: var(--ink); --m-dim: #5d7187; --m-line: #e4e8ec;
}
.ui-side { display: flex; flex-direction: column; gap: 2px; padding: 18px 12px; background: var(--m-side); border-right: 1px solid var(--m-line); }
.ui-co { display: flex; align-items: center; gap: 10px; padding: 4px 8px 16px; font-size: 14px; font-weight: 600; }
.ui-co i { width: 26px; height: 26px; border-radius: 7px; background: var(--ink); position: relative; }
.ui-co i::after { content: ""; position: absolute; inset: 5px; background: var(--green); mask: url("/images/palmetto.svg") center / contain no-repeat; -webkit-mask: url("/images/palmetto.svg") center / contain no-repeat; }
.ui-item { position: relative; padding: 8px 10px; border-radius: 8px; color: var(--m-dim); }
.ui-item.on { background: var(--m-line); color: var(--m-text); font-weight: 500; }
.ui-item.on::before { content: ""; position: absolute; left: -12px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--blue); }
.ui-main { display: grid; grid-template-columns: 1.25fr 1fr; gap: 16px; align-content: start; padding: 22px; overflow: hidden; }
.ui-col { display: grid; gap: 16px; align-content: start; }
.ui-h { grid-column: 1 / -1; font-size: 20px; font-weight: 600; letter-spacing: -.025em; }
.m-card { display: grid; gap: 12px; padding: 16px; border-radius: 14px; background: var(--m-card); box-shadow: 0 0 0 1px var(--m-line); }
.m-row { display: flex; align-items: center; gap: 10px; }
.m-title { font-size: 14px; font-weight: 600; }
.m-name { display: block; font-weight: 600; }
.m-dim { display: block; font-size: 12px; color: var(--m-dim); }
.av { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--c, #cfe3ef); color: var(--ink); font-size: 12px; font-weight: 600; }
.cal-chip { display: grid; place-items: center; flex: none; width: 46px; height: 50px; border-radius: 12px; background: var(--ink); color: var(--white); line-height: 1; }
.cal-chip small { font-size: 10px; font-weight: 600; color: var(--blue); text-transform: uppercase; letter-spacing: .04em; }
.cal-chip b { font-size: 19px; font-weight: 650; }
.m-req { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid var(--m-line); }
.m-req b { display: block; font-weight: 600; }
.tag { flex: none; justify-self: start; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; }
.tag.ok { background: #dcf3d0; color: #2f6512; }
.tag.wait { background: #fdf0c8; color: #6b5200; }
.tag.info { background: var(--sky); color: #174f8a; }
.bubble { max-width: 84%; padding: 9px 13px; border-radius: 18px; background: var(--m-line); }
.bubble.me { justify-self: end; background: var(--blue); color: var(--ink); }
.typing { display: flex; gap: 4px; padding: 12px 14px; border-radius: 18px; background: var(--m-line); justify-self: start; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--m-dim); animation: typing 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .35; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }

@media (max-width: 700px) {
  .ui { grid-template-columns: 1fr; }
  .ui-side { display: none; }
  .ui-main { grid-template-columns: 1fr; padding: 16px; }
}

/* ---------- Home: services index ---------- */
/* A list of links on hairlines: the name, one line, and an arrow that slides on hover. */

.index { width: 100%; border-top: 1px solid var(--line); }
.index a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 32px; align-items: center; padding: 28px 0 30px; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.index h3 { transition: color .25s var(--ease); }
.index p { grid-column: 1; max-width: 56ch; color: var(--mute); }
.go { grid-column: 2; grid-row: 1 / 3; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--paper); color: var(--ink); transition: transform .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease); }
.go svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.index a:hover h3, .index a:focus-visible h3 { color: var(--blue-2); }
.index a:hover .go, .index a:focus-visible .go { background: var(--ink); color: var(--white); transform: translateX(6px); }
.head-note { margin-top: 28px; font-size: 15px; color: var(--mute); }
.head-note a { color: var(--ink); font-weight: 600; text-decoration-color: rgb(26 95 168 / .35); text-underline-offset: 3px; }

/* Scroll-linked entrances, where the browser supports them. Elsewhere things just sit still. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .quote, .principle, .rise-in {
      animation: rise linear both; animation-timeline: view(); animation-range: entry 0% cover 22%;
    }
    .timeline li, .faq details { animation: rise-row linear both; animation-timeline: view(); animation-range: entry 0% cover 18%; }
    .timeline li::after { animation: fill-line linear both; animation-timeline: --stop; animation-range: cover 35% cover 75%; }
    /* Rows and people slide up a little less: they're lines of text, not panels. */
    .list > li, .index li, .person { animation: rise-row linear both; animation-timeline: view(); animation-range: entry 0% cover 18%; }
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(56px) scale(.96); } }
@keyframes rise-row { from { opacity: 0; transform: translateY(28px); } }
@keyframes fill-line { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* ---------- Home: about ---------- */

.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); align-items: center; max-width: var(--max); margin: 0 auto; }
.pair .lede { margin-top: 20px; }
.pair p + p { margin-top: 16px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin: 32px 0 36px; }
.checks li { display: flex; gap: 10px; font-weight: 500; }
.checks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%231a5fa8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.pair-art {
  position: relative; display: grid; place-items: center; align-content: center; gap: 28px; aspect-ratio: 4 / 5; overflow: hidden;
  padding: 40px; border-radius: 32px; background: radial-gradient(circle at 50% 38%, #1d4a73 0, var(--ink-2) 55%, var(--ink) 100%); color: var(--white); text-align: center;
}
/* The full logo, brightened like the nav's so its dark-blue lettering reads on navy. */
.pair-logo { width: 80%; max-width: 440px; height: auto; filter: brightness(1.3) contrast(1.05); }
.pair-art p { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15; font-weight: 650; letter-spacing: -.035em; }
.pair-art .accent { color: var(--blue); }
.pair-art .badge { position: absolute; left: 24px; bottom: 24px; display: flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 18px; background: var(--white); color: var(--ink); font-size: 14px; text-align: left; }
.pair-art .badge b { display: block; font-size: 20px; line-height: 1; letter-spacing: -.02em; }
.pair-art .badge span:first-child { color: var(--gold); font-size: 22px; }
@media (max-width: 860px) {
  .pair { grid-template-columns: 1fr; }
  /* Phones and tablets: the card sizes to its content and the badge joins the flow,
     so nothing is cropped or overlaps. */
  .pair-art { aspect-ratio: auto; gap: 24px; padding: clamp(44px, 10vw, 72px) 24px; }
  .pair-art .badge { position: static; }
}
@media (max-width: 520px) { .checks { grid-template-columns: 1fr; } }

/* ---------- Home: portal demo ---------- */

.browser { max-width: 1080px; margin: 0 auto; border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 1px rgb(255 255 255 / .08), 0 40px 120px rgb(0 0 0 / .5); }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; background: #1b3049; }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #34506e; }
.browser-url { flex: 1; margin: 0 40px 0 24px; padding: 6px 12px; border-radius: 8px; background: #0f2236; color: var(--dim); font-size: 13px; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser .ui { border-radius: 0; box-shadow: none; min-height: 440px; }

/* ---------- Carousel ---------- */

.rail-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; max-width: var(--max); margin: 0 auto 40px; }
.rail-head .head { margin: 0; text-align: left; }
.rail-btns { display: flex; gap: 10px; flex: none; }
.round {
  display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: var(--ink-3); color: var(--white); cursor: pointer; transition: background-color .2s, opacity .2s;
}
.light .round { background: rgb(10 25 41 / .08); color: var(--ink); }
.round:hover { background: var(--ink-2); }
.light .round:hover { background: rgb(10 25 41 / .14); }
.round:disabled { opacity: .35; cursor: default; }
.round svg { width: 10px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rail {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
  margin: 0 calc(var(--gutter) * -1); padding: 8px max(var(--gutter), (100% - var(--max)) / 2 + var(--gutter));
  scroll-padding-inline: max(var(--gutter), (100% - var(--max)) / 2 + var(--gutter));
}
.rail::-webkit-scrollbar { display: none; }
.rail:focus-visible { outline-offset: -4px; border-radius: 28px; }
.rail > * { flex: 0 0 min(380px, 82vw); scroll-snap-align: start; }
.rail-foot { max-width: var(--max); margin: 40px auto 0; }

/* ---------- Editorial lists (inner pages and CMS content) ---------- */
/* No boxes: content sits on hairlines with generous space, the way a printed brochure would set it. */

/* width: 100% keeps these full-width even as a grid item, where auto margins would shrink-wrap them. */
.list, .people, .principles, .quotes { width: 100%; }

/* Sticky split: a section's header holds its place on the left while its list scrolls by on the right. */
.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px clamp(48px, 8vw, 128px); align-items: start; max-width: var(--max); margin: 0 auto; }
.split > .head { position: sticky; top: calc(var(--nav) + 48px); margin: 0; text-align: left; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split > .head { position: static; }
}

/* Numbered rows: index, name, description. The numbers come from CSS, so the CMS order is the order. */
.list { counter-reset: item; border-top: 1px solid var(--line); }
.list > li { counter-increment: item; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 10px 16px; padding: 30px 0 34px; border-bottom: 1px solid var(--line); }
.list > li::before { content: counter(item, decimal-leading-zero); grid-row: span 2; padding-top: 7px; font-size: 14px; font-weight: 600; color: var(--blue-2); font-variant-numeric: tabular-nums; }
.list > li > * { grid-column: 2; }
.list p { max-width: 62ch; color: var(--mute); }
.list img { width: 100%; max-width: 560px; margin-top: 10px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; }
.band:not(.light) .list, .band:not(.light) .list > li { border-color: rgb(255 255 255 / .1); }
.band:not(.light) .list p { color: var(--dim); }
.band:not(.light) .list > li::before { color: var(--blue); }

/* Team: one row per person, who they are on the left, their story on the right. */
.people { max-width: var(--max); margin: 0 auto; border-top: 1px solid var(--line); }
.person { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px clamp(48px, 8vw, 128px); padding: clamp(36px, 5vw, 56px) 0; border-bottom: 1px solid var(--line); }
.person-id { display: flex; align-items: center; gap: 20px; align-self: start; }
/* Long bios: the name stays in view while you read. */
.person .person-id { position: sticky; top: calc(var(--nav) + 32px); }
@media (max-width: 760px) { .person .person-id { position: static; } }
.person-id .av, .person-id img { flex: none; width: 72px; height: 72px; border-radius: 50%; }
.person-id .av { background: linear-gradient(135deg, var(--blue), var(--green)); color: var(--white); font-size: 28px; }
.person-id img { object-fit: cover; }
.person .role { margin-top: 4px; }
.bio p { color: var(--mute); }
.bio p + p { margin-top: 14px; }
@media (max-width: 760px) { .person { grid-template-columns: 1fr; } }
.role { color: var(--blue-2); font-weight: 500; }
.band:not(.light) .role { color: var(--blue); }

/* ---------- Reviews page ---------- */

/* The rating summary in the hero: average, stars, how many reviews. */
.rating { display: inline-flex; align-items: center; gap: 16px; margin-top: 40px; padding: 14px 26px 14px 22px; border-radius: 22px; background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); text-align: left; }
.rating b { font-size: 48px; line-height: 1; font-weight: 650; letter-spacing: -.04em; }
.rating > span { display: grid; gap: 4px; font-size: 14px; color: var(--dim); }
.rating .stars { font-size: 18px; }

/* One review set large, as a pull quote. */
.quote.feature, .white .quote.feature { gap: 28px; padding: 0; border-radius: 0; background: none; }
.quote.feature blockquote p { font-size: clamp(26px, 2.8vw, 38px); line-height: 1.25; font-weight: 600; letter-spacing: -.03em; text-wrap: pretty; }
.quote.feature figcaption { padding-top: 0; border-top: 0; }
.quote.feature .av { width: 52px; height: 52px; font-size: 19px; }

/* Every other review: columns of quotes on hairlines, so long and short ones pack without gaps. */
.quotes-title { margin-bottom: 8px; }
.quotes { columns: 3 300px; column-gap: clamp(32px, 4vw, 56px); }
.quotes .quote { break-inside: avoid; padding: 28px 0 36px; border-radius: 0; background: none; border-top: 1px solid var(--line); }
.quotes .quote p { font-size: 18px; }
.quotes .quote figcaption { padding-top: 0; border-top: 0; }

/* Ratings left without words: a row of names with their stars. */
.also { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.also:empty { display: none; }
.also p { margin-bottom: 16px; font-weight: 600; }
.also ul { display: flex; flex-wrap: wrap; gap: 10px; }
.also li { display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--white); font-size: 15px; font-weight: 500; }
.also .av { width: 28px; height: 28px; background: linear-gradient(135deg, var(--blue), var(--green)); color: var(--white); font-size: 12px; }
.also .stars { font-size: 12px; letter-spacing: 1px; }
.quote { display: flex; flex-direction: column; gap: 18px; padding: 32px 30px; border-radius: 24px; background: var(--white); color: var(--ink); }
.white .quote { background: var(--paper); }
.stars { color: var(--gold); font-size: 17px; letter-spacing: 2px; }
.quote p { font-size: 19px; line-height: 1.45; font-weight: 500; letter-spacing: -.018em; }
.quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.quote .av { width: 40px; height: 40px; background: linear-gradient(135deg, var(--blue), var(--green)); color: var(--white); font-size: 15px; }
.quote cite { display: block; font-style: normal; font-weight: 600; }
.quote time, .quote small { display: block; font-size: 13px; color: var(--mute); }

/* A real sequence: numbered stops joined by a line that fills in blue as you scroll past. */
.timeline { width: 100%; }
.timeline li { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 6px 24px; padding-bottom: 48px; view-timeline: --stop; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before, .timeline li::after { content: ""; position: absolute; left: 25.5px; top: 64px; bottom: 12px; width: 1px; background: var(--line); }
.timeline li::after { left: 25px; width: 2px; background: var(--blue); transform-origin: top; transform: scaleY(0); }
.timeline li:last-child::before, .timeline li:last-child::after { display: none; }
.timeline .num { grid-row: span 2; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); color: var(--blue-2); font-size: 17px; font-weight: 650; }
.white .timeline .num { background: var(--paper); }
.timeline h3, .timeline p { grid-column: 2; }
.timeline h3 { padding-top: 12px; }
.timeline p { max-width: 60ch; color: var(--mute); }

/* Long-form text set for reading: a comfortable size and line length. */
.prose { display: grid; gap: 18px; max-width: 68ch; font-size: clamp(18px, 1.5vw, 20px); line-height: 1.6; color: #2c3e50; }
/* A short bio under a hairline: who, their role, a few lines. */
.provider { display: grid; gap: 14px; margin-top: 18px; padding-top: 36px; border-top: 1px solid var(--line); font-size: 17px; line-height: 1.55; }
.provider .person-id { margin-bottom: 6px; }
.provider .av { font-size: 24px; }

/* Key numbers beside text on inner pages: a 2×2 grid under hairlines. */
.figures { display: grid; grid-template-columns: 1fr 1fr; gap: 40px clamp(24px, 4vw, 48px); width: 100%; }
.figures div { display: grid; gap: 8px; align-content: start; padding-top: 22px; border-top: 1px solid var(--line); }
.figures b { font-size: clamp(40px, 5vw, 64px); line-height: 1; font-weight: 650; letter-spacing: -.045em; white-space: nowrap; }
.figures span { font-weight: 500; color: var(--mute); }
.band:not(.light) .figures div { border-top-color: rgb(255 255 255 / .1); }
.band:not(.light) .figures span { color: var(--dim); }

/* Principles: a quiet list under a hairline. */
.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 56px clamp(32px, 5vw, 64px); max-width: var(--max); margin: 0 auto; }
.principle { display: grid; gap: 12px; align-content: start; padding-top: 28px; border-top: 1px solid var(--line); }
.band:not(.light) .principle { border-top-color: rgb(255 255 255 / .1); }
.principle p { color: var(--mute); }
.band:not(.light) .principle p { color: var(--dim); }

/* FAQ: native <details>, with an animated open where the browser can size to auto. */
.faq { width: 100%; max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.split .faq { max-width: none; }
.faq details { border-bottom: 1px solid var(--line); color: var(--ink); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0; font-size: 19px; font-weight: 600; letter-spacing: -.02em; list-style: none; cursor: pointer; transition: color .25s var(--ease); }
.faq summary:hover { color: var(--blue-2); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat; transition: rotate .3s var(--ease); }
.faq details[open] summary::after { rotate: 135deg; }
.faq details p { max-width: 64ch; padding: 0 48px 28px 0; color: var(--mute); }
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq details::details-content { height: 0; overflow: clip; transition: height .4s var(--ease), content-visibility .4s allow-discrete; }
  .faq details[open]::details-content { height: auto; }
}

/* ---------- Page heroes ---------- */

.page-hero { padding: calc(var(--nav-top) + clamp(40px, 8vw, 96px)) var(--gutter) clamp(80px, 11vw, 132px); text-align: center; }
.page-hero h1 { max-width: 1000px; margin-inline: auto; }
.page-hero .lede { max-width: 720px; margin: 24px auto 0; }
.page-hero.compact { padding-bottom: clamp(56px, 8vw, 96px); }
/* Error pages: the hero is the whole page. */
.page-hero.full { min-height: 100svh; display: grid; place-content: center; padding-block: 120px; }
.page-hero .ctas { margin-top: 40px; }
/* Key numbers as a row along the bottom of a dark hero. */
.page-hero .figures { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1040px; margin: clamp(56px, 8vw, 96px) auto 0; text-align: left; }
.page-hero .figures div { border-top-color: rgb(255 255 255 / .12); }
.page-hero .figures span { color: var(--dim); }
@media (max-width: 700px) { .page-hero .figures { grid-template-columns: 1fr 1fr; } }

/* A rounded label, e.g. the Invisalign provider tier. */
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: rgb(255 255 255 / .08); font-size: 15px; font-weight: 600; }
.pill svg { width: 18px; height: 18px; flex: none; fill: var(--blue); }
.pill svg .tick { fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.light .pill { background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.light.white .pill { background: var(--paper); }

/* A portrait or photo beside text in a .pair. Without a photo it shows the palmetto. */
.photo { display: grid; place-items: center; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 32px; background: radial-gradient(circle at 50% 38%, #1d4a73 0, var(--ink-2) 55%, var(--ink) 100%); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo .palm-img { width: 50%; aspect-ratio: 561 / 527; background: var(--green); }
.rise { animation: rise-in 1s var(--ease) both; animation-delay: calc(var(--d, 0) * 120ms + 100ms); }
@keyframes rise-in { from { opacity: 0; transform: translateY(28px); filter: blur(6px); } }

/* The sunrise drawn in: the horizon runs out from the middle, the arch traces over, the palmetto fades up. */
.draw { width: min(180px, 44vw); height: auto; margin: 0 auto 44px; overflow: visible; }
.draw .arch, .draw .horizon { fill: none; stroke: var(--green); stroke-width: 26; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw-on 1.4s var(--ease) forwards; }
.draw .arch { animation-delay: .35s; }
.draw image { opacity: 0; animation: palm-in 1s 1.1s var(--ease) forwards; transform-box: fill-box; transform-origin: 50% 100%; }
@keyframes draw-on { to { stroke-dashoffset: 0; } }
@keyframes palm-in { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
/* Further down a page the sunrise draws as it scrolls into view instead of on load. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .draw.on-scroll { view-timeline: --draw; }
    .draw.on-scroll .horizon { animation: draw-on linear forwards; animation-timeline: --draw; animation-range: entry 30% cover 45%; }
    .draw.on-scroll .arch { animation: draw-on linear forwards; animation-timeline: --draw; animation-range: entry 60% cover 55%; }
    .draw.on-scroll image { animation: palm-in linear forwards; animation-timeline: --draw; animation-range: cover 45% cover 60%; }
  }
}

/* ---------- Contact ---------- */

.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 88px); max-width: var(--max); margin: 0 auto; align-items: start; }
.info { display: grid; }
.info li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 24px 0; border-top: 1px solid var(--line); }
.info li:last-child { border-bottom: 1px solid var(--line); }
.info .ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--sky); color: var(--blue-2); }
.info .ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.info h3 { font-size: 15px; font-weight: 600; color: var(--mute); }
.info p, .info a { font-size: 19px; font-weight: 500; letter-spacing: -.015em; }
.info a { text-decoration: none; overflow-wrap: anywhere; }
.info a:hover { text-decoration: underline; text-underline-offset: 4px; }
.map { overflow: hidden; border-radius: 28px; background: var(--white); aspect-ratio: 4 / 3.4; }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* ---------- Legal pages ---------- */

.legal { max-width: 720px; margin: 0 auto; font-size: 17px; line-height: 1.6; }
.legal h2 { margin: 56px 0 14px; font-size: clamp(22px, 2.4vw, 26px); line-height: 1.2; font-weight: 600; letter-spacing: -.02em; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { margin: 28px 0 8px; font-size: 18px; font-weight: 600; letter-spacing: -.015em; }
.legal p, .legal ul, .legal ol { margin-bottom: 16px; color: #2c3e50; }
.legal ul, .legal ol { padding-left: 1.25em; list-style: disc; }
.legal ol { list-style: decimal; }
.legal li { margin-bottom: 8px; padding-left: 4px; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal a { color: var(--blue-2); text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: rgb(26 95 168 / .35); }
.short { margin-bottom: 40px; padding: 28px 32px; border-radius: 24px; background: var(--white); }

/* ---------- Booking modal (booking-modal.js) ---------- */

.modal { width: min(440px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; border: 0; border-radius: 28px; background: var(--white); color: var(--ink); box-shadow: 0 40px 120px rgb(10 25 41 / .35); }
.modal[open] { animation: rise-in .45s var(--ease) both; }
.modal::backdrop { background: rgb(10 25 41 / .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.modal-body { position: relative; display: grid; justify-items: center; gap: 10px; padding: 44px 32px 32px; text-align: center; }
.modal-body .draw { width: 96px; margin-bottom: 14px; }
.modal-body p { color: var(--mute); }
.modal-close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--paper); color: var(--ink); cursor: pointer; }
.modal-close svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.modal-actions { display: grid; gap: 10px; width: 100%; margin-top: 18px; }
.modal-actions .btn { width: 100%; }
.modal-note { margin-top: 8px; font-size: 13px; }

/* ---------- Footer ---------- */

.footer { padding: 72px var(--gutter) 40px; background: var(--ink); color: var(--dim); font-size: 15px; border-top: 1px solid rgb(255 255 255 / .06); }
.footer-inner { display: grid; grid-template-columns: 1.2fr .9fr .9fr 1.2fr; gap: 40px; max-width: var(--max); margin: 0 auto; }
.footer .brand { color: var(--white); }
.footer-about p { max-width: 34ch; margin-top: 18px; }
.footer h2 { margin-bottom: 14px; font-size: 13px; font-weight: 600; color: var(--white); }
.footer ul { display: grid; gap: 8px; }
.footer a { text-decoration: none; overflow-wrap: anywhere; transition: color .2s; }
.footer a:hover { color: var(--white); }
.footer .phone { color: var(--blue); font-weight: 600; }
.footer-legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / .06); font-size: 12px; }
.footer-legal nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-legal .admin { color: rgb(159 176 192 / .5); }
@media (max-width: 960px) { .footer-inner { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-inner { grid-template-columns: 1fr; } }

/* ---------- Page transitions ---------- */

::view-transition-old(root) { animation: .22s var(--ease) both vt-out; }
::view-transition-new(root) { animation: .5s var(--ease) both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Reduced motion: every scene settles into a still layout ---------- */

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .scene { height: auto; }
  .stage { position: relative; height: auto; display: flex; flex-direction: column; align-items: center; gap: 40px; padding: 140px var(--gutter) 100px; overflow: visible; }
  .hero .stage { padding-bottom: 0; }
  .hero { --a: 1; --ae: 1; --b: 1; --c: 0; }
  .hero-word, .hero-cue { display: none; }
  .sun, .hero-title, .day { align-self: center; margin: 0; translate: none; scale: none; opacity: 1; }
  /* Crop the square scene to the risen sun: the arch's top down to just under the horizon. */
  .sun { order: -1; overflow: hidden; margin: calc(var(--s) * -.1) 0 calc(var(--s) * -.38); }
  .sun .glow { display: inline; }
  .day { order: 1; width: calc(100% + 2 * var(--gutter)); padding: 96px var(--gutter); }
  .day-inner { opacity: 1; translate: none; }
  .statement { --p: 1; }
}
