:root {
  /* Paleta marrom café em canais RGB (vale também para as transparências: rgb(var(--x-rgb) / .5)) */
  --sky-rgb: 214 182 148;
  --cobalt-rgb: 128 92 68;
  --cobalt-deep-rgb: 66 46 34;
  --night-rgb: 44 30 22;
  --shadow-rgb: 22 13 8;
  --ink-rgb: 40 29 22;
  --ink-soft: #5c4c41;
  --paper: #f7f3ee;
  --sky: rgb(var(--sky-rgb));
  --cobalt: rgb(var(--cobalt-rgb));
  --cobalt-deep: rgb(var(--cobalt-deep-rgb));
  --night: rgb(var(--night-rgb));
  --ink: rgb(var(--ink-rgb));
  --white: #ffffff;
  --mist: rgba(255, 255, 255, .78);
  --line-dark: rgba(255, 255, 255, .16);
  --line-light: rgb(var(--ink-rgb) / .12);
  --sans: "Geist", system-ui, -apple-system, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --radius: 22px;
  --gutter: clamp(16px, 4vw, 48px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; background: var(--cobalt-deep); }
body {
  background: var(--cobalt-deep);
  color: var(--white);
  font: 300 17px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
  max-width: 100vw;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-weight: 500; line-height: 1.04; letter-spacing: -.035em; }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.9rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.6rem); }
h3 { font-size: 1.45rem; letter-spacing: -.02em; line-height: 1.15; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; font-size: 1.08em; }

.eyebrow {
  font-size: .78rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--mist); margin-bottom: 1.2rem; display: inline-flex; align-items: center; gap: .7rem;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .6; }
.muted { color: var(--mist); }

/* Botões */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: 1rem 1.7rem; border-radius: 999px;
  background: var(--white); color: var(--cobalt-deep);
  font: 500 1rem var(--sans); letter-spacing: -.01em;
  box-shadow: 0 18px 40px -18px rgb(var(--shadow-rgb) / .65);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 24px 50px -18px rgb(var(--shadow-rgb) / .8); }
.btn:focus-visible, .link-arrow:focus-visible, .ba-tabs button:focus-visible, summary:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.light .btn:focus-visible, .light summary:focus-visible, .light .ba-tabs button:focus-visible { outline-color: var(--cobalt-deep); }
.btn-sm { padding: .6rem 1.2rem; font-size: .92rem; }
.btn-lg { padding: 1.2rem 2.2rem; font-size: 1.08rem; }
.link-arrow { font-weight: 500; border-bottom: 1px solid var(--line-dark); padding-bottom: 2px; transition: border-color .3s; }
.link-arrow:hover { border-color: var(--white); }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: 18px var(--gutter);
  transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s;
}
.nav.scrolled { background: rgb(var(--night-rgb) / .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-block: 12px; box-shadow: 0 1px 0 var(--line-dark); }
.brand { display: flex; flex-direction: column; font-weight: 700; font-size: 1.1rem; letter-spacing: -.03em; line-height: 1.1; }
.brand span { font-weight: 300; font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--mist); }
.nav-links { display: flex; gap: 2rem; font-size: .95rem; }
.nav-links a { opacity: .85; transition: opacity .3s; }
.nav-links a:hover { opacity: 1; }

/* Hero: centro claro do degradê fica atrás do dente, nunca atrás do texto */
.hero {
  --glow-x: 72%; --glow-y: 46%; --glow-mid: 26%;
  position: relative; min-height: 100svh;
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 2rem;
  padding: 120px var(--gutter) 80px;
  background: radial-gradient(circle at var(--glow-x) var(--glow-y), var(--sky) 0%, var(--cobalt) var(--glow-mid), var(--cobalt-deep) 72%);
  overflow: hidden;
}
/* fundo do hero desemboca exatamente no azul de Tratamentos */
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 220px; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgb(var(--cobalt-deep-rgb) / 0), var(--cobalt-deep)); }
.hero-text { position: relative; z-index: 3; max-width: 40rem; }
/* sobre o degradê o branco translúcido (--mist) cai abaixo de 4.5:1; no hero o texto é branco puro */
.hero .eyebrow, .hero .lead, .hero-stats span, .cta .eyebrow { color: var(--white); }
.hero h1 { margin-bottom: 1.6rem; }
.lead { font-size: 1.12rem; color: var(--mist); max-width: 34rem; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem; margin: 2.4rem 0 3rem; }
.hero-stats { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; max-width: 34rem; border-top: 1px solid var(--line-dark); padding-top: 1.6rem; }
.hero-stats strong { display: block; font-size: 1.7rem; font-weight: 500; letter-spacing: -.03em; }
.hero-stats span { font-size: .9rem; color: var(--mist); line-height: 1.4; display: block; }

/* Dente (canvas + imagem parada) */
.tooth-slot { position: relative; aspect-ratio: 1; width: 100%; }
.tooth-slot .tooth-still, .tooth-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.tooth-canvas { display: none; touch-action: pan-y; cursor: grab; }
.tooth-canvas:active { cursor: grabbing; }
.has-3d .tooth-canvas { display: block; }
.has-3d .tooth-still { display: none; }
.hero-visual { position: relative; align-self: stretch; min-height: 560px; margin: -40px calc(-1 * var(--gutter)) -80px 0; }
.hero-tooth { position: absolute; z-index: 2; left: -6%; bottom: 8%; width: 60%; max-width: 480px; }
.hero .drag-hint { bottom: -2%; }
.drag-hint { display: none; position: absolute; left: 50%; bottom: 4%; transform: translateX(-50%); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mist); white-space: nowrap; pointer-events: none; }
.has-3d .drag-hint { display: block; }

/* Hero: foto do consultório ocupando a direita, desembocando na cor de fundo */
.hero-photo { position: absolute; z-index: 0; top: 0; right: 0; bottom: 0; width: 54%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .35) 16%, #000 46%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .35) 16%, #000 46%); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(var(--cobalt-deep-rgb) / .45) 0%, rgb(var(--cobalt-deep-rgb) / 0) 20%), linear-gradient(90deg, rgb(var(--cobalt-rgb) / .35), rgb(var(--cobalt-rgb) / 0) 60%); }
.hero { --glow-x: 30%; --glow-y: 70%; background: radial-gradient(circle at var(--glow-x) var(--glow-y), rgb(var(--sky-rgb) / .55) 0%, var(--cobalt) 30%, var(--cobalt-deep) 75%); }
.hero-tooth { left: -22%; bottom: 4%; width: 54%; }

/* Seções */
.section { padding: clamp(90px, 12vw, 150px) var(--gutter); }
.section > * { max-width: 1240px; margin-inline: auto; }
.section-head { margin-bottom: 3.6rem; max-width: 1240px; }
.section-head h2 { max-width: 46rem; }
.section-head .muted { margin-top: 1.2rem; max-width: 38rem; }
.dark { background: var(--cobalt-deep); color: var(--white); }
.light { background: var(--paper); color: var(--ink); }
.light .eyebrow, .light .muted { color: var(--ink-soft); }
.light .btn { background: var(--cobalt-deep); color: var(--white); }

/* Tratamentos */
.treat { background: radial-gradient(ellipse 55% 40% at 18% 55%, rgb(var(--sky-rgb) / .14), transparent 70%), var(--cobalt-deep); }
.treat-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.treat-stage { display: none; }
.has-3d .treat-stage { display: block; position: sticky; top: 0; height: 100svh; }
.treat-stage .tooth-canvas { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -46%); width: min(100%, calc(100svh - 140px)); height: auto; aspect-ratio: 1; }
.treat-steps { display: grid; gap: 1.4rem; }
.has-3d .treat-steps { gap: 0; }
.treat-step { display: grid; gap: 1.2rem; align-content: center; }
.has-3d .treat-step { min-height: 64svh; opacity: .45; transition: opacity .6s var(--ease), transform .6s var(--ease); transform: translateY(10px); }
.has-3d .treat-step:last-child { min-height: 80svh; }
.has-3d .treat-step.is-active { opacity: 1; transform: none; }
.treat-step .tooth-still { position: static; width: min(320px, 70%); margin: 1rem auto 0; }
.has-3d .treat-step .tooth-still { display: none; }
.card {
  position: relative; padding: 2rem 2rem 2.2rem; border-radius: var(--radius);
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line-dark);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.num { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--sky); }
.card h3 { margin: .6rem 0 .7rem; }
.card p { color: var(--mist); }

/* Antes e depois */
.ba { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1080 / 602; user-select: none; box-shadow: 0 40px 80px -40px rgb(var(--ink-rgb) / .45); }
.ba > img, .ba-before img { width: 100%; height: 100%; object-fit: cover; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: var(--white); transform: translateX(-1px); pointer-events: none; }
.ba-handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--cobalt-deep); font-size: 1.2rem; box-shadow: 0 10px 30px -10px rgb(var(--ink-rgb) / .6); }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; }
.ba-label { position: absolute; top: 18px; padding: .4rem .9rem; border-radius: 999px; font-size: .75rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; background: rgb(var(--ink-rgb) / .72); color: var(--white); backdrop-filter: blur(8px); pointer-events: none; }
.ba-label.l { left: 18px; } .ba-label.r { right: 18px; background: var(--white); color: var(--cobalt-deep); }
.ba-tabs { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.4rem; }
.ba-tabs button {
  font: 500 .95rem var(--sans); color: var(--ink-soft); cursor: pointer;
  padding: .65rem 1.25rem; border-radius: 999px; background: transparent; border: 1px solid var(--line-light);
  transition: color .3s, border-color .3s, background .3s;
}
.ba-tabs button:hover { color: var(--ink); border-color: var(--ink-soft); }
.ba-tabs button[aria-selected="true"] { color: var(--white); background: var(--cobalt-deep); border-color: transparent; }
.ba-caption { margin-top: 1rem; font-size: 1rem; }

.pair { display: grid; grid-template-columns: .8fr 1fr 1fr; gap: 1.2rem; align-items: center; margin-top: 6rem; }
.pair-head h3, .case-text h3 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.pair-head .muted { margin-top: 1rem; }
.pair figure, .case-imgs figure { position: relative; border-radius: var(--radius); overflow: hidden; }
.pair img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pair figcaption, .case-imgs figcaption { position: absolute; top: 12px; left: 12px; padding: .3rem .75rem; border-radius: 999px; font-size: .7rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; background: rgb(var(--ink-rgb) / .72); color: var(--white); backdrop-filter: blur(8px); }
.pair figcaption.after, .case-imgs figcaption.after { background: var(--white); color: var(--cobalt-deep); }

.more-cases { margin-top: 6rem; }
.more-cases .pair-head { margin-bottom: 2.2rem; }
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.case-card { border-radius: var(--radius); padding: .8rem .8rem 1.6rem; background: var(--white); border: 1px solid var(--line-light); }
.case-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.case-imgs figure { border-radius: 14px; }
.case-imgs img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.case-card h4 { font-size: 1.3rem; margin: 1.2rem .6rem .4rem; letter-spacing: -.02em; }
.case-card p { color: var(--ink-soft); font-size: 1rem; margin: 0 .6rem; }
.case { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-top: 6rem; }
.case img { border-radius: var(--radius); }
.case-text p:not(.eyebrow) { color: var(--ink-soft); margin-top: 1.2rem; }

/* Sobre: vídeo do doutor abre a seção */
.about { background: var(--cobalt-deep); }
.about-hero { position: relative; overflow: hidden; background: var(--night); width: min(1080px, calc(100% - 2 * var(--gutter))); margin: 0 auto; border-radius: var(--radius); box-shadow: 0 40px 90px -45px rgb(var(--shadow-rgb) / .8); }
.about { padding-top: clamp(70px, 9vw, 120px); }
.about-video { display: block; width: 100%; aspect-ratio: 16 / 9; max-height: 80svh; object-fit: cover; object-position: 50% 30%; }
.about-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center;
  padding: 0 clamp(24px, 4vw, 56px); padding-right: 62%;
  background: linear-gradient(90deg, var(--cobalt-deep) 0%, rgb(var(--cobalt-deep-rgb) / .94) 31%, rgb(var(--cobalt-deep-rgb) / 0) 47%);
}
.about-overlay h2 { font-size: clamp(2rem, 3.4vw, 3.2rem); }
.about-body { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; max-width: none; }
.about-body > * { margin: 0; }
.about-media { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: end; }
.about-media figure { position: relative; border-radius: var(--radius); overflow: hidden; }
.about-media figure:first-child { margin-bottom: 3rem; }
.about-media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.tag { position: absolute; left: 12px; bottom: 12px; padding: .35rem .8rem; border-radius: 999px; font-size: .75rem; font-weight: 500; background: var(--white); color: var(--cobalt-deep); }
.about-text p { color: var(--mist); margin-bottom: 1.1rem; font-size: 1.08rem; }
.signature { font-family: var(--serif); font-style: italic; font-size: 2.2rem; margin-top: 1.4rem; color: var(--white); }

/* Consultório */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 360px; gap: 1.2rem; }
.gallery-grid figure { border-radius: var(--radius); overflow: hidden; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 1.2s var(--ease); }
.gallery-grid figure:hover img { transform: scale(1.04); }
.gallery-grid .g-wide { grid-column: span 2; }

/* Jornada */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.steps li { border-top: 1px solid var(--line-light); padding-top: 1.8rem; position: relative; }
.steps li::before { content: ""; position: absolute; top: -1px; left: 0; width: 40px; height: 2px; background: var(--cobalt); }
.steps span { font-family: var(--serif); font-style: italic; font-size: 3rem; color: var(--cobalt); line-height: 1; }
.steps h3 { margin: .8rem 0 .6rem; }
.steps p { color: var(--ink-soft); }
.wide-photo { position: relative; margin-top: 5rem; border-radius: var(--radius); overflow: hidden; }
.wide-photo img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: 60% 20%; }
.wide-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(var(--night-rgb) / .92) 0%, rgb(var(--night-rgb) / .35) 50%, transparent 70%); }
.wide-photo blockquote { position: absolute; left: 3.5rem; bottom: 3rem; z-index: 1; max-width: 26rem; color: var(--white); font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.2; }

/* Dúvidas */
.faq { padding-top: 0; }
.faq-list { max-width: 860px; }
details { border-bottom: 1px solid var(--line-light); padding: 1.5rem 0; }
summary { cursor: pointer; list-style: none; font-size: 1.3rem; font-weight: 500; letter-spacing: -.02em; display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--cobalt); font-weight: 300; font-size: 1.6rem; line-height: 1; transition: transform .3s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--ink-soft); margin-top: 1rem; max-width: 40rem; }
details a { color: var(--cobalt-deep); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

/* Chamada final */
.cta {
  --glow-x: 50%; --glow-y: 26%;
  position: relative; overflow: hidden; text-align: center;
  padding: 80px var(--gutter) 140px;
  background: radial-gradient(circle at var(--glow-x) var(--glow-y), var(--sky) 0%, var(--cobalt) 14%, var(--cobalt-deep) 58%, var(--night) 100%);
}
.cta-tooth { max-width: 380px; margin: 0 auto -2rem; }
.cta-inner { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }
.cta-inner .eyebrow::before { display: none; }
.cta-inner h2 { margin-bottom: 2.6rem; }

.footer { background: var(--night); padding: 3.5rem var(--gutter) 6rem; text-align: center; color: var(--mist); font-size: 1rem; display: grid; gap: .5rem; justify-items: center; }
.footer .brand { color: var(--white); align-items: center; margin-bottom: .8rem; }
.footer a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.credit { opacity: .75; font-size: .85rem; margin-top: 1rem; }

.fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: var(--cobalt-deep); background: var(--white); box-shadow: 0 16px 40px -12px rgb(var(--shadow-rgb) / .7); transition: transform .3s var(--ease); }
.fab:hover { transform: scale(1.08); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .gallery-grid img, .btn { transition: none; }
}

/* Responsivo */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero { --glow-x: 62%; --glow-y: 22%; --glow-mid: 16%; grid-template-columns: 1fr; align-content: start; gap: 0; }
  .hero-visual { order: -1; height: 50svh; min-height: 340px; margin: 0 0 1.6rem; }
  .hero-tooth { left: -2%; bottom: 0; width: 58%; max-width: 360px; }
  .about-body, .case { grid-template-columns: 1fr; gap: 3rem; }
  .pair { grid-template-columns: 1fr 1fr; }
  .pair-head { grid-column: 1 / -1; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 300px; }
  .gallery-grid .g-wide { grid-column: 1 / -1; }
  .cases { grid-template-columns: 1fr; max-width: 560px; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .hero {
    --glow-x: 62%; --glow-y: 22%; --glow-mid: 16%;
    grid-template-columns: 1fr; align-content: start; gap: 0;
    padding: 76px 16px 64px;
  }
  .hero-visual { height: 46svh; min-height: 300px; margin-inline: -16px; }
  .hero-tooth { left: 0; width: 60%; }
  .has-3d .drag-hint { display: none; }
  .hero h1 { margin-bottom: 1.2rem; }
  .lead { font-size: 1.05rem; }
  .hero-cta { margin: 1.8rem 0 2.2rem; gap: 1.2rem; }
  .hero-stats { gap: .8rem; }
  .hero-stats strong { font-size: 1.35rem; }
  .hero-stats span { font-size: .85rem; }
  .section { padding: 84px 16px; }
  .section-head { margin-bottom: 2.4rem; }
  .treat-layout { grid-template-columns: 1fr; gap: 0; }
  .has-3d .treat-stage { top: 60px; height: 45svh; z-index: 2; margin-inline: -16px; background: linear-gradient(180deg, var(--cobalt-deep) 82%, rgb(var(--cobalt-deep-rgb) / 0)); }
  .treat-stage .tooth-canvas { width: min(100%, 45svh); transform: translate(-50%, -50%); }
  .has-3d .treat-step { min-height: 58svh; align-content: start; padding-top: 1rem; }
  .card { padding: 1.5rem; background: rgb(var(--night-rgb) / .88); }
  .steps { grid-template-columns: 1fr; }
  .pair { gap: .8rem; margin-top: 4rem; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; gap: .8rem; }
  .about-media figure:first-child { margin-bottom: 1.5rem; }
  .about-video { aspect-ratio: 4 / 5; max-height: none; object-position: 50% 20%; }
  .about-overlay { justify-content: flex-end; padding: 0 16px 2rem; background: linear-gradient(0deg, var(--cobalt-deep) 0%, rgb(var(--cobalt-deep-rgb) / .92) 36%, rgb(var(--cobalt-deep-rgb) / 0) 64%); }
  .about-body { padding-top: 2rem; }
  .wide-photo img { aspect-ratio: 4 / 5; }
  .wide-photo::after { background: linear-gradient(0deg, rgb(var(--night-rgb) / .94) 0%, transparent 60%); }
  .wide-photo blockquote { left: 1.5rem; right: 1.5rem; bottom: 1.8rem; }
  .cta { padding: 48px 16px 110px; }
  .cta-tooth { max-width: 260px; }
  summary { font-size: 1.15rem; }
}

@media (max-width: 980px) {
  .hero-photo { width: auto; left: 0; bottom: auto; height: 62svh; -webkit-mask-image: linear-gradient(0deg, transparent 0%, rgba(0, 0, 0, .5) 22%, #000 50%); mask-image: linear-gradient(0deg, transparent 0%, rgba(0, 0, 0, .5) 22%, #000 50%); }
  .hero-visual { height: 52svh; }
  .hero-tooth { left: -4%; bottom: -6%; width: 50%; }
}
