@font-face {
  font-family: "Newsreader";
  src: url("assets/newsreader.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Rethink Sans";
  src: url("assets/rethink-sans.ttf") format("truetype");
  font-weight: 400 800;
  font-display: swap;
}
:root {
  --cases-surface: #0e2632;
  --care-surface: #e5efed;
  color-scheme: light;
  --paper: #f6f4ef;
  --white: #ffffff;
  --ink: #142c38;
  --muted: #41545d;
  --blue: #075ba3;
  --blue-dark: #084679;
  --mist: #e8eff4;
  --line: #c8d1d8;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Rethink Sans", Arial, sans-serif;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --section-space: clamp(4rem, 6.4vw, 6.75rem);
  --nav-top: clamp(.65rem, 2.3svh, 1.35rem);
  --nav-fill: rgb(8 47 62 / .74);
  --nav-stroke: rgb(224 245 255 / .28);
  --nav-accent: rgb(232 246 255 / .15);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font: 1rem/1.55 var(--sans); }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.04em; line-height: 1.06; }
h2 { font-size: clamp(2.45rem, 4.25vw, 4.25rem); text-wrap: balance; }
a { color: inherit; text-underline-offset: .25em; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
[hidden] { display: none !important; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), 73rem); margin-inline: auto; }
main > section[id] { scroll-margin-top: 5.6rem; }
#inicio { scroll-margin-top: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.skip-link { position: fixed; z-index: 8; top: .5rem; left: var(--gutter); translate: 0 -160%; background: var(--white); padding: .65rem 1rem; }
.skip-link:focus { translate: 0; }
.logo-reveal { display: none; pointer-events: none; }

.logo-reveal-backdrop { position: absolute; inset: 0; background: #fff; }
.logo-reveal-mark { position: absolute; inset: 0; margin: auto; width: clamp(4.5rem, 8vw, 6rem); aspect-ratio: 1; height: max-content; }
.logo-reveal-mark img { width: 100%; height: auto; }
.logo-reveal-ring {
  position: absolute;
  inset: -.6rem;
  border: 2px solid #dcecf7;
  border-top-color: var(--blue);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}

.site-header {
  position: fixed;
  z-index: 5;
  inset: var(--nav-top) 0 auto;
  padding-inline: clamp(.75rem, 2.6vw, 2rem);
  pointer-events: none;
}
.header-inner {
  position: relative;
  width: min(100%, 46rem);
  min-height: 3.05rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(.45rem, 1.25vw, .9rem);
  margin-inline: auto;
  padding: .38rem .42rem .38rem .48rem;
  background: var(--nav-fill);
  color: var(--white);
  border: 1px solid var(--nav-stroke);
  border-radius: 99rem;
  box-shadow: 0 .18rem .8rem rgb(15 36 56 / .065);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  pointer-events: auto;
  transition: background-color 230ms ease, box-shadow 230ms ease;
}
.site-header.is-scrolled .header-inner { background: rgb(8 47 62 / .82); }
.site-header :focus-visible { outline-color: #b9e5ff; outline-offset: 2px; }
.brand { display: inline-flex; align-items: center; width: max-content; min-height: 2.75rem; }
.brand img { width: 9.5rem; height: auto; mix-blend-mode: multiply; }
.nav-brand { display: inline-flex; align-items: center; gap: .52rem; width: max-content; min-height: 2.3rem; padding-right: .4rem; border-radius: 99rem; font-size: .86rem; font-weight: 700; letter-spacing: -.035em; text-decoration: none; white-space: nowrap; }
.nav-emblem { display: grid; place-items: center; width: 2.12rem; aspect-ratio: 1; background: #f7fbff; border: 1px solid rgb(14 91 158 / .14); border-radius: 50%; }
.nav-mark { width: 1.43rem; height: auto; }
.navigation { position: relative; isolation: isolate; display: flex; align-items: center; gap: .15rem; }
.navigation a, .text-link {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 2.75rem;
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
}
.text-link:hover { text-decoration: underline; }
.navigation a[href^="#"] { position: relative; padding: 0 .65rem; min-height: 2.32rem; font-size: .8rem; border-radius: 99rem; white-space: nowrap; }
.navigation a:hover, .navigation a[aria-current] { color: #d8efff; }
.nav-indicator { position: absolute; z-index: -1; inset: 0 auto auto 0; background: var(--nav-accent); border-radius: 99rem; opacity: 0; pointer-events: none; transition: transform 290ms cubic-bezier(.2,.7,.25,1), width 290ms cubic-bezier(.2,.7,.25,1), height 290ms cubic-bezier(.2,.7,.25,1), opacity 150ms ease; }
.nav-indicator.is-visible { opacity: 1; }
.header-action { justify-self: end; white-space: nowrap; }
.header-inner .header-action, .header-inner .mobile-action { min-height: 2.32rem; padding: .45rem .75rem; font-size: .8rem; border-radius: 99rem; }
.navigation .mobile-action { display: none; }
.menu-toggle { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.1rem;
  padding: .8rem 1.05rem;
  border: 1px solid transparent;
  border-radius: .25rem;
  font-size: .91rem;
  font-weight: 600;
  line-height: 1.28;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, translate 160ms ease;
}
.button > span { font-size: 1.05rem; }
.button:hover { translate: 0 -2px; }
.button:active { translate: 0 1px; }
.button-solid { background: var(--blue); color: white; }
.button-solid:hover { background: var(--blue-dark); }

.hero {
  position: relative;
  color: #f5f9fa;
  background:
    linear-gradient(180deg, transparent 58%, rgb(14 38 50 / .5) 82%, var(--cases-surface) 100%),
    linear-gradient(95deg, rgb(8 26 38 / .97) 8%, rgb(8 26 38 / .93) 32%, rgb(10 32 46 / .76) 70%, rgb(10 32 46 / .75)),
    url("assets/fundo-hero-odontologia.webp") right 50% / cover #071520;
}
.hero-grid {
  --hero-gutter: clamp(1rem, 2.2vw, 2.75rem);
  width: calc(100% - 2 * var(--hero-gutter));
  min-height: 100svh;
  display: grid;
  align-items: center;
  margin-inline: auto;
  padding-block: clamp(5.5rem, 10vh, 7rem) clamp(2.6rem, 6vh, 4rem);
}
.hero-copy { min-width: 0; max-width: 52rem; }
.hero :focus-visible { outline-color: #9ddcf5; }
.hero-location {
  margin-bottom: 1.15rem;
  color: #a9d9e8;
  font-size: .77rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(3rem, 5.35vw, 5.55rem);
  font-weight: 400;
  line-height: .97;
  letter-spacing: -.025em;
}
.hero-title-line { display: block; }
.hero-title-line + .hero-title-line { color: #b6dfed; }
.hero-word { display: inline-block; }
.hero-description {
  max-width: 31rem;
  margin-top: 1.35rem;
  color: #d6e2e7;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.62;
}
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem 1.3rem; margin-top: 1.65rem; }
.hero-actions .hero-booking {
  min-height: 3rem;
  padding-inline: 1rem;
  border-radius: .4rem;
  background: #bce7f5;
  color: #0a2536;
}
.hero-actions .hero-booking:hover { background: #e2f7ff; }
.hero-action {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: .55rem;
  color: #f5f9fa;
  font-size: .92rem;
  font-weight: 700;
  text-decoration-color: rgb(188 231 245 / .5);
}
.hero-action:hover { text-decoration-color: currentColor; }
@media (max-width: 800px) {
  .hero-grid {
    min-height: min(100svh, 42rem);
    padding-block: 6.65rem 3rem;
  }
  .hero h1 { font-size: clamp(2.6rem, 10vw, 4.65rem); }
}
.photo { display: block; overflow: hidden; background: var(--mist); border-radius: .35rem; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.section { padding-block: var(--section-space); background: var(--white); }
.text-link { color: var(--blue-dark); }

@media (prefers-reduced-motion: no-preference) {
  html[data-logo-reveal] { scroll-behavior: auto; }
  [data-logo-reveal]:not([data-hero-revealing]) .hero-grid { visibility: hidden; }
  .hero-copy.is-entering .hero-word {
    animation: hero-word-appear .8s ease-out both;
  }
  .hero-copy.is-entering .hero-title-line:first-child .hero-word:nth-child(2) { animation-delay: 100ms; }
  .hero-copy.is-entering .hero-title-line:first-child .hero-word:nth-child(3) { animation-delay: 190ms; }
  .hero-copy.is-entering .hero-title-line:nth-child(2) .hero-word:first-child { animation-delay: 280ms; }
  .hero-copy.is-entering .hero-title-line:nth-child(2) .hero-word:nth-child(2) { animation-delay: 350ms; }
  .hero-copy.is-entering .hero-title-line:nth-child(2) .hero-word:nth-child(3) { animation-delay: 420ms; }
  .hero-copy.is-entering .hero-title-line:nth-child(2) .hero-word:nth-child(4) { animation-delay: 490ms; }
  .hero-copy.is-entering :is(.hero-location, .hero-description, .hero-actions) {
    animation: hero-text-appear .55s ease-out both;
  }
  .hero-copy.is-entering .hero-description { animation-delay: 560ms; }
  .hero-copy.is-entering .hero-actions:not(:focus-within) { animation-delay: 660ms; }
  @keyframes hero-word-appear {
    0% { opacity: 0; transform: translateY(30px) scale(.8); filter: blur(10px); }
    50% { opacity: .8; transform: translateY(10px) scale(.95); filter: blur(2px); }
    100% { opacity: 1; transform: none; filter: none; }
  }
  @keyframes hero-text-appear {
    from { opacity: 0; transform: translateY(.45rem); }
    to { opacity: 1; transform: none; }
  }
  [data-enter] { animation: enter 420ms cubic-bezier(.2,.64,.35,1) backwards; }
  .logo-reveal { position: fixed; inset: 0; z-index: 7; }
  [data-logo-reveal] .logo-reveal { display: block; }
  [data-logo-reveal] .site-header .nav-mark { opacity: 0; }
  @keyframes enter { from { opacity: .7; translate: 0 .45rem; } to { opacity: 1; translate: 0; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media (max-width: 760px) {
  .header-inner { min-height: 3.5rem; grid-template-columns: 1fr auto; padding-right: .55rem; }
  .brand img { width: 8.5rem; }
  .header-action { display: none; }
  .menu-toggle { display: flex; gap: .6rem; align-items: center; min-height: 2.75rem; padding: .45rem .65rem; border: 0; border-radius: 99rem; background: transparent; cursor: pointer; font-size: .89rem; font-weight: 600; }
  .menu-lines { display: grid; width: 1rem; height: .58rem; align-content: space-between; }
  .menu-lines::before, .menu-lines::after { content: ""; height: 1px; background: currentColor; transition: transform 160ms ease; }
  .menu-toggle[aria-expanded="true"] .menu-lines::before { transform: translateY(.25rem) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-lines::after { transform: translateY(-.25rem) rotate(-45deg); }
  .navigation { grid-column: 1 / -1; flex-wrap: wrap; }
  .has-menu .navigation { display: none; }
  .has-menu .navigation.is-open { display: grid; gap: .25rem; position: absolute; top: calc(100% + .45rem); inset-inline: 0; padding: .5rem; background: #0a3344; border: 1px solid var(--nav-stroke); border-radius: 1.15rem; box-shadow: 0 .6rem 1.8rem rgb(15 36 56 / .18); }
  .navigation .mobile-action { display: flex; margin-top: .22rem; }
  .navigation a[href^="#"], .header-inner .mobile-action { min-height: 2.8rem; }

}

/* Navigation */
.header-inner {
  width: min(100%, 44rem);
  min-height: 2.65rem;
  padding: .17rem .38rem .17rem .55rem;
  background: rgb(8 36 48 / .76);
  border-color: rgb(217 242 253 / .2);
  box-shadow: none;
}
.site-header.is-scrolled .header-inner { background: rgb(8 36 48 / .9); }
.nav-brand { min-height: 2.15rem; font-weight: 650; }
.nav-emblem { width: 1.78rem; border: 0; }
.nav-mark { width: 1.28rem; }
.navigation a[href^="#"] { min-height: 2.05rem; padding-inline: .54rem; }
.header-inner .header-action {
  min-height: 2.05rem;
  padding: .27rem .55rem;
  color: #e8f9ff;
  background: transparent;
  border-color: rgb(218 245 255 / .28);
}
.header-inner .header-action:hover { background: var(--nav-accent); }
@media (max-width: 760px) {
  .header-inner { min-height: 2.9rem; }
  .header-inner .navigation a[href^="#"] { min-height: 2.75rem; }
}

/* White glass navigation */
.site-header {
  --nav-accent: rgb(24 63 85 / .11);
  --nav-ink: #132f40;
}
.site-header .header-inner,
.site-header.is-scrolled .header-inner {
  color: var(--nav-ink);
  background: rgb(255 255 255 / .76);
  border-color: rgb(255 255 255 / .68);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .83), 0 .25rem 1rem rgb(8 30 42 / .11);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  backdrop-filter: blur(16px) saturate(1.15);
}
.site-header.is-scrolled .header-inner { background: rgb(255 255 255 / .84); }
.site-header :focus-visible { outline-color: var(--blue-dark); }
.site-header .navigation a[href^="#"]:is(:hover, [aria-current]) { color: var(--blue-dark); }
.header-inner .header-action {
  color: var(--nav-ink);
  border-color: rgb(31 70 91 / .24);
}
@media (max-width: 760px) {
  .has-menu .navigation.is-open {
    background: rgb(249 253 255 / .97);
    border-color: rgb(255 255 255 / .8);
  }
}

@media (max-width: 800px) {
  .hero {
    background:
      linear-gradient(180deg, transparent 49%, rgb(14 38 50 / .48) 80%, var(--cases-surface) 100%),
      linear-gradient(95deg, rgb(8 26 38 / .94), rgb(10 32 46 / .86)),
      url("assets/fundo-hero-odontologia.webp") 60% center / cover #071520;
  }
}

/* Sections after the case folder */
.band { padding-block: clamp(4.5rem, 9vw, 8rem); }
.band:focus { outline: none; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: 1.1rem;
  color: var(--blue);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 1.6rem; height: 1px; background: currentColor; }
.band h2 { text-wrap: balance; }
.band-lead { margin-top: 1.15rem; max-width: 44ch; color: var(--muted); font-size: 1.06rem; line-height: 1.65; }
.band h3 { font-weight: 650; }

/* Treatments */
.care { background: linear-gradient(180deg, var(--cases-surface) 0, var(--paper) clamp(4rem, 8vw, 6rem)) var(--paper); }
.band-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  grid-template-areas: "eyebrow eyebrow" "title lead";
  align-items: end;
  gap: 0 var(--gutter);
}
.band-head .eyebrow { grid-area: eyebrow; }
.band-head h2 { grid-area: title; max-width: 12ch; }
.band-head .band-lead { grid-area: lead; justify-self: end; margin: 0; max-width: 36ch; }
.care-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: .6rem;
  overflow: hidden;
}
.care-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 16rem;
  padding: clamp(1.5rem, 2.4vw, 2.1rem);
  background: var(--paper);
  transition: background-color 220ms ease;
}
.care-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms cubic-bezier(.2,.7,.25,1);
}
.care-card:hover { background: var(--white); }
.care-card:hover::before { transform: scaleX(1); }
.care-meta { display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.care-meta span { color: var(--blue); font: .78rem ui-monospace, monospace; letter-spacing: 0; }
.care-card h3 { margin: auto 0 .65rem; padding-top: 2.5rem; font-family: var(--serif); font-size: clamp(1.45rem, 2.1vw, 1.8rem); font-weight: 400; line-height: 1.12; letter-spacing: -.02em; }
.care-card > p:last-child { color: var(--muted); font-size: .95rem; }
.care-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-top: 1.25rem;
  padding: clamp(1.4rem, 2.6vw, 1.9rem) clamp(1.4rem, 2.8vw, 2.25rem);
  background: var(--ink);
  color: #f2f8fa;
  border-radius: .6rem;
}
.care-cta p { max-width: 34ch; font-family: var(--serif); font-size: clamp(1.25rem, 1.9vw, 1.55rem); line-height: 1.25; letter-spacing: -.015em; }
.care-cta .button { flex: none; background: #bce7f5; color: #0a2536; }
.care-cta .button:hover { background: #e2f7ff; }
.care-cta :focus-visible { outline-color: #9ddcf5; }

/* Footer */
.site-footer { padding-block: clamp(2.5rem, 5vw, 3.5rem) 1.5rem; background: var(--cases-surface); color: #b9cad1; }
.site-footer :focus-visible { outline-color: #9ddcf5; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgb(255 255 255 / .12); }
.footer-brand { display: inline-flex; align-items: center; gap: .85rem; color: #fff; font-size: 1.05rem; font-weight: 650; }
.site-footer .footer-brand:hover { text-decoration: none; }
.footer-brand small { display: block; color: #9fb5bd; font-size: .8rem; font-weight: 400; }
.footer-emblem { display: grid; place-items: center; width: 2.75rem; aspect-ratio: 1; background: #f7fbff; border-radius: 50%; }
.footer-emblem img { width: 1.8rem; height: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: .2rem 1.5rem; }
.footer-links a { display: inline-block; padding-block: .65rem; color: #dbe8ec; font-size: .9rem; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; padding-top: 1.25rem; font-size: .85rem; }
.footer-bottom a { color: #dbe8ec; display: inline-flex; align-items: center; min-height: 2.75rem; }

/* Entrance of the later sections */
@media (prefers-reduced-motion: no-preference) {
  .js-reveal [data-reveal] { opacity: 0; translate: 0 1.4rem; transition: opacity 700ms ease, translate 700ms cubic-bezier(.2,.7,.25,1); }
  .js-reveal [data-reveal].is-visible { opacity: 1; translate: none; }
}

@media (max-width: 960px) {
  .care-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .band-head { grid-template-columns: 1fr; grid-template-areas: "eyebrow" "title" "lead"; }
  .band-head .band-lead { justify-self: start; margin-top: 1rem; }
  .care-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .care-grid { grid-template-columns: 1fr; }
  .care-card { min-height: 0; }
  .care-card h3 { padding-top: 1.5rem; }
  .step-num { font-size: 1.9rem; }
  .footer-top, .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* Hero composition */
.hero { overflow: hidden; isolation: isolate; }
.hero .hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2rem, 5vw, 5rem);
  width: min(calc(100% - 2 * var(--hero-gutter)), 82rem);
  padding-bottom: clamp(5.5rem, 12vh, 7.5rem);
}
.hero-visual {
  --mx: 0;
  --my: 0;
  position: relative;
  justify-self: center;
  width: min(100%, 34rem);
  aspect-ratio: 1 / 1.08;
}
.hero-layer { translate: calc(var(--mx) * var(--depth) * 12px) calc(var(--my) * var(--depth) * 12px); transition: translate 600ms cubic-bezier(.2,.7,.25,1); }
.hero-orbit { position: absolute; inset: 2% 0 auto 14%; width: 86%; overflow: visible; fill: none; stroke: rgb(188 231 245 / .32); stroke-width: .5; stroke-dasharray: 2 5; }
.hero-portrait {
  position: absolute;
  inset: 4% 4% 0 22%;
  overflow: hidden;
  border-radius: 999px 999px 1.25rem 1.25rem;
  background: #0d2a37;
  box-shadow: 0 2rem 4rem rgb(0 10 18 / .45), inset 0 0 0 1px rgb(255 255 255 / .12);
}
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgb(8 26 38 / .45)); }
.hero-snap {
  position: absolute;
  left: 0;
  bottom: 8%;
  width: 34%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 5px solid #f4f8f9;
  border-radius: 1rem;
  rotate: -5deg;
  box-shadow: 0 1.2rem 2.6rem rgb(0 10 18 / .5);
}
.hero-snap img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.hero-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .7rem .95rem;
  color: #0e2632;
  background: rgb(255 255 255 / .9);
  border: 1px solid rgb(255 255 255 / .7);
  border-radius: .9rem;
  box-shadow: 0 .9rem 2.2rem rgb(0 10 18 / .3);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: .78rem;
  line-height: 1.3;
}
.hero-badge strong { display: block; font-size: .86rem; }
.hero-badge-award { top: 12%; right: -4%; max-width: 15rem; }
.hero-badge-icon { display: grid; place-items: center; flex: none; width: 2.1rem; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(140deg, #f6dc8c, #c5932f); color: #4a3205; font-size: .95rem; }
.hero-badge-care { right: 2%; bottom: 14%; font-weight: 650; border-radius: 99rem; padding: .6rem 1rem; }
.hero-pulse { position: relative; width: .55rem; height: .55rem; border-radius: 50%; background: #22a06b; }
.hero-pulse::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: inherit; }
.hero-marquee {
  position: absolute;
  inset: auto 0 0;
  overflow: hidden;
  padding-block: 1.05rem;
  border-top: 1px solid rgb(188 231 245 / .14);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.hero-marquee-track { display: flex; width: max-content; }
.hero-marquee-track span { display: inline-flex; align-items: center; gap: 2.2rem; padding-right: 2.2rem; color: #a9cbd7; font-family: var(--serif); font-size: clamp(1.05rem, 1.5vw, 1.3rem); white-space: nowrap; }
.hero-marquee-track span::after { content: "✦"; color: #6fbfdc; font-size: .7em; }

@media (prefers-reduced-motion: no-preference) {
  [data-logo-reveal]:not([data-hero-revealing]) .hero-marquee { visibility: hidden; }
  .hero-portrait img { animation: hero-kenburns 16s ease-in-out infinite alternate; }
  .hero-orbit { animation: hero-spin 60s linear infinite; }
  .hero-badge-award { animation: hero-float 6s ease-in-out infinite; }
  .hero-badge-care { animation: hero-float 7s ease-in-out -2s infinite; }
  .hero-pulse::after { animation: hero-ping 2s ease-out infinite; }

@media (max-width: 900px) {
  .hero .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 6rem; min-height: 0; }
  .hero-visual { width: min(100%, 26rem); }
}
@media (max-width: 520px) {
  .hero-visual { width: 100%; }
  .hero-badge { font-size: .72rem; padding: .55rem .7rem; }
  .hero-badge strong { font-size: .78rem; }
  .hero-badge-award { right: -1%; max-width: 12.5rem; }
  .hero-badge-icon { width: 1.8rem; }
}

/* Results: stacked card deck */
.results { background: var(--white); overflow: hidden; }
.results-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(2.5rem, 6vw, 6rem); }
.results-copy h2 { max-width: 11ch; }
.deck-controls { display: flex; align-items: center; gap: 1rem; margin: 2rem 0 1.25rem; }
.deck-button {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
  font-size: 1.1rem;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}
.deck-button:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.deck-count { min-width: 4.5rem; text-align: center; color: var(--muted); font-variant-numeric: tabular-nums; }
.deck-count [data-deck-current] { color: var(--ink); font-family: var(--serif); font-size: 1.5rem; }
.deck {
  position: relative;
  width: min(100%, 27rem);
  aspect-ratio: 4 / 5;
  justify-self: center;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.deck:focus-visible { outline-offset: 1.25rem; border-radius: 1rem; }
.deck-card {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: .7rem .7rem 0;
  background: #fffdf9;
  border-radius: .5rem;
  box-shadow: 0 1px 2px rgb(20 44 56 / .08), 0 1.25rem 2.5rem rgb(20 44 56 / .16);
  cursor: grab;
  transform-origin: 50% 80%;
  will-change: transform;
}
.deck-card:active { cursor: grabbing; }
.deck-card img { flex: 1; min-height: 0; width: 100%; object-fit: cover; border-radius: .25rem; pointer-events: none; background: var(--mist); }
.deck-card figcaption { padding: .85rem .2rem 1rem; color: var(--muted); font-size: .82rem; font-weight: 600; letter-spacing: .02em; }
.deck-card[aria-hidden="true"] { cursor: default; }

@media (max-width: 800px) {
  .results-grid { grid-template-columns: 1fr; }
  .results-copy h2 { max-width: 14ch; }
  .deck { width: min(86%, 24rem); }
}

/* Wider frame for the sections after the folder */
.band .wrap { width: min(calc(100% - 2 * clamp(1.25rem, 3.6vw, 3.5rem)), 92rem); }
.band-head { grid-template-areas: "title lead"; }
.band h2 { font-size: clamp(2.5rem, 4.4vw, 4.6rem); }
.split-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: end; gap: 1.25rem clamp(2rem, 6vw, 6rem); margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.split-head h2 { max-width: 13ch; }
.split-head .band-lead { margin-top: 0; max-width: 46ch; font-size: clamp(1.06rem, 1.25vw, 1.2rem); color: var(--ink); }
.split-head .text-link { margin-top: .6rem; }
.band-lead { font-size: clamp(1.06rem, 1.25vw, 1.2rem); }

/* First appointment */
.first { background: var(--cases-surface); color: #eef6f8; }
.first :focus-visible { outline-color: #9ddcf5; }
.first-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: clamp(2.5rem, 6vw, 6rem); }
.first-copy h2 { max-width: 14ch; }
.first-copy .band-lead { color: #d3e1e6; max-width: 48ch; }
.first-steps { margin: 2.25rem 0 2.25rem; padding: 0; list-style: none; display: grid; gap: .6rem; }
.first-steps li { padding: 1.15rem 1.35rem; background: rgb(255 255 255 / .06); border-radius: .6rem; transition: background-color 200ms ease; }
.first-steps li:hover { background: rgb(255 255 255 / .1); }
.first-steps h3 { font-family: var(--serif); font-size: clamp(1.25rem, 1.7vw, 1.5rem); font-weight: 400; letter-spacing: -.015em; color: #fff; }
.first-steps p { margin-top: .35rem; color: #c3d3d9; font-size: 1rem; }
.first-button { background: #bce7f5; color: #0a2536; }
.first-button:hover { background: #e2f7ff; }
.first-mosaic { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr 1fr; gap: .75rem; height: clamp(30rem, 46vw, 42rem); }
.first-photo { overflow: hidden; border-radius: .6rem; background: #0b1f29; }
.first-photo img { width: 100%; height: 100%; object-fit: cover; transition: scale 700ms cubic-bezier(.2,.7,.25,1); }
.first-photo:hover img { scale: 1.04; }
.first-photo-main { grid-row: 1 / 3; }
.first-photo-main img { object-position: 45% center; }
.first-photo:nth-child(2) img { object-position: center 42%; }

/* Team */
.team { background: var(--white); }
.team-board { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(.75rem, 1.5vw, 1.25rem); align-items: stretch; }
.team-photo { position: relative; overflow: hidden; border-radius: .6rem; }
.team-photo img { width: 100%; height: 100%; min-height: 100%; object-fit: cover; }
.team-photo figcaption { position: absolute; left: 1rem; bottom: 1rem; padding: .45rem .75rem; background: rgb(255 255 255 / .92); border-radius: .4rem; color: var(--ink); font-size: .85rem; font-weight: 600; }
.team-person { display: flex; flex-direction: column; padding: .6rem .6rem 1.3rem; background: var(--paper); border-radius: .6rem; }
.team-person img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 15%; border-radius: .4rem; transition: scale 600ms ease; }
.team-person h3 { margin: 1.1rem .5rem 0; font-family: var(--serif); font-size: clamp(1.35rem, 1.8vw, 1.7rem); font-weight: 400; letter-spacing: -.015em; }
.team-person p { margin: .3rem .5rem 0; color: var(--muted); font-size: .95rem; }

/* Awards */
.awards { background: var(--paper); }
.awards-years { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); margin: 0; padding: 0; list-style: none; }
.award-year img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: .6rem; transition: translate 300ms ease; }
.award-year a:hover img { translate: 0 -4px; }
.award-date { margin-top: 1.2rem; color: var(--blue); font-family: var(--serif); font-size: clamp(2.4rem, 3.6vw, 3.4rem); line-height: 1; letter-spacing: -.03em; }
.award-year p:not(.award-date) { margin-top: .6rem; max-width: 34ch; font-size: 1.02rem; }
.award-year .text-link { min-height: 2.75rem; margin-left: .3rem; }

/* Questions */
.faq { background: var(--white); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq-side h2 { max-width: 12ch; }
.faq-photo { position: relative; margin-top: 2rem; overflow: hidden; border-radius: .6rem; }
.faq-photo img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: center 20%; }
.faq-contact { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; display: grid; gap: .15rem; padding: 1rem 1.2rem; background: var(--ink); color: #fff; border-radius: .5rem; text-decoration: none; transition: background-color 180ms ease; }
.faq-contact span:first-child { color: #b9cad1; font-size: .88rem; }
.faq-contact strong { font-size: 1.05rem; }
.faq-contact:hover { background: var(--blue-dark); }
.faq-contact:focus-visible { outline-color: var(--blue); }
.faq-list { padding-top: .5rem; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 5rem; padding: 1.1rem .25rem; cursor: pointer; list-style: none; font-family: var(--serif); font-size: clamp(1.3rem, 1.9vw, 1.65rem); letter-spacing: -.015em; transition: color 160ms ease; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--blue-dark); }
.faq-icon { position: relative; flex: none; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--paper); transition: background-color 200ms ease, color 200ms ease; }
.faq-list details[open] .faq-icon { background: var(--blue); color: #fff; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; inset: 50% auto auto 50%; width: .8rem; height: 1.5px; background: currentColor; translate: -50% -50%; transition: rotate 220ms ease; }
.faq-icon::after { rotate: 90deg; }
.faq-list details[open] .faq-icon::after { rotate: 0deg; }
.faq-list details p { max-width: 60ch; padding: 0 .25rem 1.5rem; font-size: 1.05rem; }
.faq-list details a { color: var(--blue-dark); }
@supports selector(details::details-content) and (interpolate-size: allow-keywords) {
  .faq-list details { interpolate-size: allow-keywords; }
  .faq-list details::details-content { block-size: 0; overflow: clip; opacity: 0; transition: block-size 300ms ease, opacity 250ms ease, content-visibility 300ms allow-discrete; }
  .faq-list details[open]::details-content { block-size: auto; opacity: 1; }
}

/* Directions */
.place { background: var(--care-surface); padding-top: 0; }
.place-stage { position: relative; min-height: clamp(34rem, 52vw, 46rem); display: grid; align-items: end; overflow: hidden; }
.place-facade { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.place-stage::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgb(8 26 38 / .18); }
.place-frame { position: relative; z-index: 2; padding-block: clamp(1.5rem, 4vw, 3.5rem); }
.place-card { width: min(31rem, 100%); padding: clamp(1.5rem, 2.8vw, 2.4rem); background: var(--white); border-radius: .6rem; }
.place-card h2 { font-size: clamp(2.2rem, 3.4vw, 3.3rem); max-width: 12ch; }
.place-lead { margin-top: 1rem; font-size: 1.05rem; }
.place-card address { margin-top: 1rem; color: var(--muted); font-style: normal; }
.place-card address a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--blue-dark); font-weight: 650; }
.place-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; margin-top: .6rem; }
.place-row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(1rem, 2vw, 1.75rem); margin-top: clamp(1rem, 2vw, 1.75rem); }
.place-door { overflow: hidden; border-radius: .6rem; background: var(--white); }
.place-door img { width: 100%; aspect-ratio: 2.1 / 1; object-fit: cover; }
.place-door figcaption { padding: .9rem 1.1rem 1rem; color: var(--muted); font-size: .92rem; }
.place-more { display: grid; align-content: start; gap: 1rem; }
.place-interior { display: grid; grid-template-columns: 6rem 1fr; align-items: center; gap: 1.1rem; padding: .75rem; background: var(--white); border-radius: .6rem; color: var(--ink); text-decoration: none; transition: translate 200ms ease; }
.place-interior:hover { translate: 0 -3px; }
.place-interior img { width: 6rem; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 38%; border-radius: .4rem; }
.place-interior strong { display: block; font-family: var(--serif); font-size: 1.35rem; font-weight: 400; }
.place-interior span span { color: var(--blue-dark); }
.place-interior > span { color: var(--blue-dark); font-weight: 600; font-size: .95rem; }
.place-interior > span strong { color: var(--ink); margin-bottom: .2rem; }
.place-street { padding: .25rem 1rem; background: var(--white); border-radius: .6rem; }
.place-street summary { cursor: pointer; min-height: 2.75rem; display: flex; align-items: center; color: var(--blue-dark); font-weight: 650; }
.place-street-frame { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; margin-bottom: .75rem; border: 0; border-radius: .4rem; background: var(--mist); }

@media (prefers-reduced-motion: no-preference) {
  .js-reveal .first-steps li:nth-child(2) { transition-delay: 80ms; }
  .js-reveal .first-steps li:nth-child(3) { transition-delay: 160ms; }
  .js-reveal .first-mosaic > :nth-child(2), .js-reveal .team-board > :nth-child(2), .js-reveal .awards-years > :nth-child(2) { transition-delay: 90ms; }
  .js-reveal .first-mosaic > :nth-child(3), .js-reveal .team-board > :nth-child(3), .js-reveal .awards-years > :nth-child(3) { transition-delay: 180ms; }
}

@media (max-width: 960px) {
  .first-grid, .faq-grid { grid-template-columns: 1fr; }
  .first-mosaic { height: clamp(24rem, 70vw, 34rem); }
  .team-board { grid-template-columns: 1fr 1fr; }
  .team-photo { grid-column: 1 / -1; }
  .faq-photo img { aspect-ratio: 16 / 10; object-position: center 25%; }
  .place-row { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .split-head { grid-template-columns: 1fr; }
  .awards-years { grid-template-columns: 1fr; gap: 2.25rem; }
  .award-year img { aspect-ratio: 4 / 4.2; }
}
@media (max-width: 600px) {
  .first-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 1.4fr 1fr; height: 30rem; }
  .first-photo-main { grid-row: auto; grid-column: 1 / -1; }
  .team-person h3 { font-size: 1.15rem; margin-inline: .25rem; }
  .team-person p { margin-inline: .25rem; font-size: .85rem; }
  .place-stage { min-height: 0; display: block; }
  .place-facade { position: relative; height: 16rem; }
  .place-stage::before { display: none; }
  .place-frame { margin-top: -3rem; padding-block: 0; }
  .place-card { width: 100%; }
  .place-interior { grid-template-columns: 4.5rem 1fr; }
  .place-interior img { width: 4.5rem; }
}

/* Hero: two-line title, slideshow in the arch, scroll depth */
.hero .hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); width: min(calc(100% - 2 * var(--hero-gutter)), 96rem); }
.hero h1 { font-size: clamp(3rem, 4.9vw, 6rem); }
.hero-visual { width: min(100%, 36rem); translate: 0 calc(var(--hero-scroll, 0) * -70px); }
.hero-copy { translate: 0 calc(var(--hero-scroll, 0) * 40px); opacity: calc(1 - var(--hero-scroll, 0) * .6); }
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; opacity: 0; transition: opacity 1.4s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide:first-child { position: relative; }
.hero-dots { position: absolute; left: 50%; bottom: 1rem; z-index: 2; display: flex; gap: .4rem; translate: -50% 0; }
.hero-dots button { width: 2.75rem; height: 2.75rem; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.hero-dots button::before { content: ""; width: .55rem; height: .55rem; border-radius: 99rem; background: rgb(255 255 255 / .55); transition: width 300ms ease, background-color 300ms ease; }
.hero-dots button[aria-pressed="true"]::before { width: 1.6rem; background: #fff; }
.hero-dots button:focus-visible { outline: 2px solid #fff; outline-offset: -6px; border-radius: 99rem; }
.hero-portrait::after { z-index: 1; pointer-events: none; }
.hero-orbit-dot { fill: #bce7f5; stroke: none; }
.hero-badge-award { overflow: hidden; }
.hero-badge-award::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgb(255 255 255 / .75) 50%, transparent 65%); translate: -120% 0; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .hero-slide.is-active { animation: hero-kenburns 9s ease-out both; }
  .hero-portrait img.hero-slide { animation-iteration-count: 1; }
  .hero-badge-award::after { animation: hero-shine 5.5s ease-in-out 2.4s infinite; }
  .hero-snap img { animation: hero-kenburns 12s ease-in-out infinite alternate; }
  @keyframes hero-shine { 0% { translate: -120% 0; } 30%, 100% { translate: 120% 0; } }
}
@media (prefers-reduced-motion: reduce) {
  .hero-visual, .hero-copy { translate: none; opacity: 1; }
}
@media (max-width: 900px) {
  .hero-copy { opacity: 1; translate: none; }
  .hero h1 { font-size: clamp(2.6rem, 10vw, 4.65rem); }
}

/* Inspector fixes: one frame, filled surfaces, no rules or outlines */
.hero .hero-grid { --hero-gutter: clamp(1.25rem, 3.6vw, 3.5rem); width: min(calc(100% - 2 * var(--hero-gutter)), 92rem); }
.hero-location { color: #bce7f5; font-size: 1rem; font-weight: 600; letter-spacing: 0; text-transform: none; }
.hero-badge-icon { background: #e0b24f; color: #4a3205; }
.hero-badge-award::after { display: none; }
.hero-marquee { border-top: 0; background: rgb(255 255 255 / .04); }
.care-grid { gap: .75rem; background: none; border: 0; border-radius: 0; overflow: visible; }
.care-card { background: var(--white); border-radius: .6rem; min-height: 14rem; }
.care-card h3 { padding-top: 0; margin: 0 0 .35rem; }
.care-area { margin-bottom: 1.6rem; color: var(--blue-dark); font-size: .95rem; font-weight: 600; }
.care-card > p:last-child { margin-top: auto; color: var(--ink); font-size: 1rem; }
.deck-button { border: 0; background: var(--paper); }
.faq-list { display: grid; gap: .6rem; padding-top: 0; }
.faq-list details { border: 0; background: var(--paper); border-radius: .6rem; padding-inline: 1rem; }
.faq-list details[open] { background: #ecefe9; }
.faq-icon { background: var(--white); }
.footer-top { border-bottom: 0; }
.footer-bottom { margin-top: 1rem; padding: 1rem 1.25rem; background: rgb(255 255 255 / .05); border-radius: .5rem; }
@media (max-width: 900px) {
  .hero .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.3rem, 8.6vw, 4.2rem); }
}
@media (max-width: 600px) {
  .care-card { min-height: 0; }
}

.team-person img { flex: none; height: auto; min-height: 0; }
.faq-photo img { height: auto; }
@media (max-width: 800px) {
  .awards-years { grid-template-columns: repeat(3, minmax(15rem, 1fr)); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; margin-inline: calc(-1 * clamp(1.25rem, 3.6vw, 3.5rem)); padding-inline: clamp(1.25rem, 3.6vw, 3.5rem); scroll-padding-inline: clamp(1.25rem, 3.6vw, 3.5rem); }
  .award-year { scroll-snap-align: start; }
  .award-year img { aspect-ratio: 4 / 5; }
}
@media (max-width: 600px) {
  .awards-years { grid-template-columns: repeat(3, 78%); }
  .faq-photo img { aspect-ratio: 4 / 3.4; }
}

.place-door img, .award-year img, .place-interior img { height: auto; }

/* Adaptation to the design-taste house rules: plain bar, flat fills, no shadows at rest */
:root { --paper: #f1f3f2; }

/* Hero: one flat scrim over the photograph, no shadows */
.hero { background: url("assets/fundo-hero-odontologia.webp") right 50% / cover #071520; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(8 26 38 / .86); }
.hero-portrait { box-shadow: none; }
.hero-snap { box-shadow: none; }
.hero-badge { box-shadow: none; background: #fff; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; font-size: .86rem; }
.hero-badge strong { font-size: .92rem; }
.hero-marquee { background: var(--cases-surface); -webkit-mask-image: none; mask-image: none; }
.hero-description { font-size: clamp(1.05rem, 1.25vw, 1.2rem); }
@media (max-width: 800px) {
  .hero { background: url("assets/fundo-hero-odontologia.webp") 60% center / cover #071520; }
}
@media (max-width: 520px) {
  .hero-badge { font-size: .82rem; }
  .hero-badge strong { font-size: .86rem; }
}

/* Results deck: prints separated by tone, not shadow */
.results { background: #e4eaec; }
.deck-card { box-shadow: none; background: #fff; }
.deck-button { background: #fff; }

/* Awards: stacked on phones instead of a sideways row */
@media (max-width: 800px) {
  .awards-years { grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; margin-inline: 0; padding-inline: 0; scroll-snap-type: none; }
}
@media (max-width: 600px) {
  .awards-years { grid-template-columns: 1fr; gap: 2rem; }
  .award-year img { aspect-ratio: 16 / 11; object-position: center 30%; }
}

/* Small print raised to a readable size */
.team-photo figcaption, .care-area, .faq-contact span:first-child, .footer-brand small, .place-door figcaption { font-size: .9rem; }
.deck-card figcaption { font-size: .9rem; }


.care { background: var(--paper); }

/* Floating dental models */
.model-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.band { position: relative; overflow-x: clip; }
.band > .wrap { position: relative; z-index: 1; }
.float-model {
  --size: 6rem;
  --tilt: 0deg;
  position: absolute;
  z-index: 0;
  width: var(--size);
  aspect-ratio: var(--ratio, 120 / 140);
  pointer-events: none;
  rotate: var(--tilt);
}
.float-model svg { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 1.1rem 1.1rem rgb(6 30 48 / .28)) drop-shadow(0 .25rem .35rem rgb(6 30 48 / .18)); }
.float-model::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: -22%;
  height: 12%;
  border-radius: 50%;
  background: rgb(6 30 48 / .22);
  filter: blur(8px);
}
.fm-hero-tooth { --size: clamp(4rem, 6vw, 6.5rem); --tilt: -14deg; right: 3%; bottom: 20%; z-index: 2; }
.fm-hero-spark { --size: 1.6rem; --ratio: 1; left: 50%; top: 22%; z-index: 2; }
.fm-hero-spark2 { --size: 1rem; --ratio: 1; right: 8%; top: 18%; z-index: 2; }
.fm-hero-spark::after, .fm-hero-spark2::after, .fm-results-spark::after { display: none; }
.fm-hero-spark svg, .fm-hero-spark2 svg, .fm-results-spark svg { filter: drop-shadow(0 0 .6rem rgb(191 233 248 / .8)); }
.fm-care-implant { --size: clamp(3.5rem, 5vw, 5.5rem); --ratio: 100 / 170; --tilt: 12deg; right: 4%; top: 2.5rem; }
.fm-care-brush { --size: clamp(8rem, 13vw, 13rem); --ratio: 200 / 60; --tilt: -18deg; left: -1.5rem; bottom: 5rem; }
.fm-results-tooth { --size: clamp(4rem, 6vw, 6rem); --tilt: 16deg; right: 6%; top: 3rem; }
.fm-results-spark { --size: 1.4rem; --ratio: 1; right: 14%; top: 9rem; }
.fm-first-implant { --size: clamp(3.5rem, 5vw, 5rem); --ratio: 100 / 170; --tilt: -10deg; left: 46%; bottom: 2.5rem; }
.fm-faq-brush { --size: clamp(7rem, 11vw, 11rem); --ratio: 200 / 60; --tilt: 14deg; right: -1rem; top: 2.5rem; }
.fm-faq-tooth { --size: clamp(3.5rem, 4.5vw, 5rem); --tilt: -8deg; left: 2%; bottom: 3rem; }
.float-model:nth-of-type(2n) svg { animation-delay: -2.5s; }
@media (prefers-reduced-motion: no-preference) {
  .float-model svg { animation: model-float 7s ease-in-out infinite; }
  .float-model::after { animation: model-shadow 7s ease-in-out infinite; }
  .fm-care-brush svg, .fm-faq-brush svg, .fm-care-brush::after, .fm-faq-brush::after { animation-duration: 9s; }
  .fm-care-implant svg, .fm-first-implant svg, .fm-care-implant::after, .fm-first-implant::after { animation-duration: 8s; animation-delay: -3s; }
  .fm-hero-spark svg, .fm-hero-spark2 svg, .fm-results-spark svg { animation: model-twinkle 3.2s ease-in-out infinite; }
  .fm-hero-spark2 svg { animation-delay: -1.6s; }
  @keyframes model-float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-14px) rotate(4deg); } }
  @keyframes model-shadow { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.78); opacity: .65; } }
  @keyframes model-twinkle { 0%, 100% { transform: scale(.6) rotate(0deg); opacity: .5; } 50% { transform: scale(1.1) rotate(45deg); opacity: 1; } }
}
@media (max-width: 760px) {
  .fm-care-brush, .fm-faq-tooth, .fm-first-implant, .fm-results-spark { display: none; }
  .fm-hero-tooth { --size: 3.4rem; right: 2%; bottom: 12%; }
  .fm-care-implant { --size: 2.8rem; top: 1.5rem; right: 1.25rem; }
  .fm-results-tooth { --size: 3rem; top: 1.5rem; right: 1.25rem; }
  .fm-faq-brush { --size: 6rem; top: 1rem; right: -1.5rem; }
}

/* People framing */
.hero-slide:nth-child(2) { object-position: 38% 18%; }
.hero-slide:nth-child(3) { object-position: 50% 20%; }
.first-mosaic { grid-template-columns: 1.6fr 1fr; }
.first-photo-main img { object-position: 42% 30%; }
.first-photo:nth-child(2) img { object-position: 55% 40%; }
.first-photo:nth-child(3) img { object-position: 50% 30%; }
.team-person img { aspect-ratio: 4 / 5; object-position: 50% 30%; }
.team-person:last-child img { object-position: 42% 20%; }
.team-photo img { object-position: 50% 35%; }
.faq-photo img { object-position: 60% 25%; }

/* Directions: video card and street view side by side */
.place-row { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: stretch; }
.place-video { display: grid; grid-template-columns: minmax(9rem, 14rem) 1fr; gap: clamp(1rem, 2.5vw, 2rem); align-items: center; padding: clamp(.75rem, 1.5vw, 1rem); background: var(--white); border-radius: .6rem; color: var(--ink); text-decoration: none; }
.place-video img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 35%; border-radius: .4rem; transition: scale 400ms ease; }
.place-video:hover img { scale: 1.03; }
.place-video-copy { display: grid; gap: .6rem; padding-right: 1rem; }
.place-video-copy strong { font-family: var(--serif); font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 400; line-height: 1.1; letter-spacing: -.015em; }
.place-video-copy > span { color: var(--muted); }
.place-video-copy em { color: var(--blue-dark); font-style: normal; font-weight: 650; }
.place-map { display: grid; align-content: start; gap: .7rem; padding: clamp(1.25rem, 2.5vw, 2rem); background: var(--white); border-radius: .6rem; }
.place-map h3 { font-family: var(--serif); font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 400; letter-spacing: -.015em; }
.place-map > p { color: var(--muted); }
.place-map .place-street { padding: 0; background: var(--paper); }
.place-map .place-street summary { padding-inline: 1rem; }
.place-map .place-street-frame { margin: 0; border-radius: 0 0 .5rem .5rem; }
@media (max-width: 960px) { .place-row { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .place-video { grid-template-columns: 1fr; }
  .place-video img { aspect-ratio: 16 / 10; }
  .place-video-copy { padding: 0 .25rem .5rem; }
}

.fm-care-brush { left: 38%; bottom: auto; top: 2.5rem; }

/* 3D models (Fluent Emoji 3D, MIT) and treatment symbols */
.float-model { aspect-ratio: 1; }
.float-model img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 1.2rem 1.1rem rgb(6 30 48 / .3)) drop-shadow(0 .3rem .4rem rgb(6 30 48 / .18)); }
.fm-care-implant, .fm-first-implant { --ratio: 1; }
.fm-care-brush, .fm-faq-brush { --size: clamp(5rem, 7vw, 7rem); }
.fm-care-brush { --tilt: -8deg; }
.fm-faq-brush { --tilt: 12deg; right: 2%; }
.fm-hero-spark img, .fm-hero-spark2 img, .fm-results-spark img { filter: drop-shadow(0 0 .7rem rgb(255 214 130 / .55)); }
.fm-hero-spark, .fm-results-spark { --size: 2.4rem; }
.fm-hero-spark2 { --size: 1.6rem; }
@media (prefers-reduced-motion: no-preference) {
  .float-model img { animation: model-float 7s ease-in-out infinite; }
  .float-model:nth-of-type(2n) img { animation-delay: -2.5s; }
  .fm-care-brush img, .fm-faq-brush img { animation-duration: 9s; }
  .fm-care-implant img, .fm-first-implant img { animation-duration: 8s; animation-delay: -3s; }
  .fm-hero-spark img, .fm-hero-spark2 img, .fm-results-spark img { animation: model-twinkle 3.2s ease-in-out infinite; }
  .fm-hero-spark2 img { animation-delay: -1.6s; }
}
.care-icon { width: 3.4rem; height: 3.4rem; margin-bottom: 1.2rem; object-fit: contain; filter: drop-shadow(0 .5rem .6rem rgb(6 30 48 / .18)); transition: transform 300ms cubic-bezier(.2,.7,.25,1); }
.care-card:hover .care-icon { transform: translateY(-4px) rotate(-6deg) scale(1.06); }

/* Framing of the swapped photos */
.hero-slide:nth-child(2) { object-position: 62% 20%; }
.hero-slide:nth-child(3) { object-position: 50% 12%; }
.first-photo:nth-child(2) img { object-position: 50% 30%; }
.team-person:nth-of-type(1) img { object-position: 50% 10%; }
.award-year:first-child img { object-position: 50% 20%; }
.faq-photo img { object-position: 50% 18%; }

@media (max-width: 800px) {
  .band-head { grid-template-columns: 1fr; grid-template-areas: "title" "lead"; }
  .band-head .band-lead { justify-self: start; margin-top: 1rem; max-width: none; }
}

/* Minimal symbols: one round badge per treatment, glass orbs floating with the same line icons */
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.care-dot {
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  background: #e8f2f8;
  color: var(--blue);
  box-shadow: inset 0 0 0 1px rgb(7 91 163 / .12);
  transition: background-color 260ms ease, color 260ms ease, transform 300ms cubic-bezier(.2,.7,.25,1);
}
.care-dot svg, .orb svg { width: 52%; height: 52%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.care-card:hover .care-dot { background: var(--blue); color: #fff; transform: translateY(-3px); }
.float-model { --ratio: 1; }
.orb {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  color: #1b78b8;
  background: rgb(255 255 255 / .55);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / .95),
    inset 0 -10px 18px rgb(120 190 225 / .22),
    0 1.2rem 1.6rem rgb(6 30 48 / .2),
    0 .3rem .5rem rgb(6 30 48 / .12);
}
.orb::before { content: ""; position: absolute; top: 10%; left: 18%; width: 38%; height: 22%; border-radius: 50%; background: rgb(255 255 255 / .75); filter: blur(3px); }
.hero .orb { background: rgb(255 255 255 / .14); color: #bfe9f8; box-shadow: inset 0 1px 0 rgb(255 255 255 / .45), inset 0 -10px 18px rgb(120 200 235 / .18), 0 1.2rem 1.6rem rgb(0 10 18 / .35); }
.hero .orb::before { background: rgb(255 255 255 / .35); }
.fm-hero-tooth, .fm-results-tooth, .fm-care-implant { --size: clamp(3.6rem, 5vw, 5rem); }
.fm-care-brush, .fm-faq-brush { --size: clamp(3.2rem, 4.4vw, 4.4rem); --tilt: 0deg; }
.fm-hero-spark, .fm-results-spark, .fm-hero-spark2 { --size: 2.2rem; }
.fm-faq-tooth, .fm-first-implant { --size: 3.2rem; }
.float-model > .orb { filter: none; }
@media (prefers-reduced-motion: no-preference) {
  .float-model > .orb { animation: model-float 7s ease-in-out infinite; }
  .float-model:nth-of-type(2n) > .orb { animation-delay: -2.5s; animation-duration: 8.5s; }
}

.first-mosaic { grid-template-columns: 1.5fr 1fr; }
.first-mosaic > .first-photo:nth-child(2) { grid-row: 1 / 3; }
.first-mosaic > .first-photo:nth-child(2) img { object-position: 22% 30%; }
@media (max-width: 600px) { .first-mosaic { grid-template-columns: 1fr; grid-template-rows: auto auto; height: auto; } .first-mosaic > .first-photo:nth-child(2) { grid-row: auto; } .first-photo img { aspect-ratio: 4 / 3; height: auto; } }

/* Rendered 3D dental models (modelled and rendered for this site in three.js) */
.float-model > img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 1.4rem 1.2rem rgb(6 30 48 / .28)) drop-shadow(0 .35rem .45rem rgb(6 30 48 / .16)); }
.float-model.fm-molar, .float-model.fm-implant, .float-model.fm-mirror { --ratio: .72; }
.float-model.fm-brush { --ratio: 2.45; }
.fm-hero-tooth { --size: clamp(4.5rem, 6.5vw, 6.8rem); --tilt: -8deg; }
.fm-care-implant { --size: clamp(3.2rem, 4.2vw, 4.4rem); --tilt: 10deg; }
.fm-care-brush { --size: clamp(8rem, 11vw, 11.5rem); --tilt: -6deg; }
.fm-results-tooth { --size: clamp(4.2rem, 5.6vw, 5.8rem); --tilt: 14deg; }
.fm-first-implant { --size: clamp(3.6rem, 4.6vw, 4.8rem); --tilt: -6deg; }
.fm-faq-brush { --size: clamp(7rem, 9.5vw, 10rem); --tilt: 8deg; }
.fm-faq-tooth { --size: clamp(3rem, 3.8vw, 4rem); --tilt: 6deg; }
.float-model::after { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .float-model > img { animation: model-float 7s ease-in-out infinite; }
  .float-model:nth-of-type(2n) > img { animation-delay: -2.5s; animation-duration: 8.5s; }
}
@media (max-width: 760px) {
  .fm-hero-tooth { --size: 3.6rem; }
  .fm-care-implant { --size: 2.6rem; }
  .fm-results-tooth { --size: 3rem; }
  .fm-faq-brush { --size: 5.5rem; }
}

.float-model.fm-molar, .float-model.fm-implant, .float-model.fm-mirror, .float-model.fm-brush { aspect-ratio: var(--ratio); }

.fm-faq-brush { right: 5%; top: 3rem; }

/* First appointment: two photos shown whole, stacked beside the steps */
.first-grid { align-items: start; }
.first-mosaic { display: grid; grid-template-columns: 1fr; grid-template-rows: none; gap: .9rem; height: auto; }
.first-mosaic > .first-photo, .first-mosaic > .first-photo:nth-child(2) { grid-row: auto; grid-column: auto; }
.first-mosaic .first-photo img { width: 100%; height: auto; aspect-ratio: auto; object-fit: cover; }
.first-mosaic > .first-photo-main img { aspect-ratio: 16 / 11; object-position: 50% 35%; }
.first-mosaic > .first-photo:nth-child(2) img { aspect-ratio: 16 / 9; object-position: 50% 40%; }
@media (min-width: 961px) { .first-mosaic { margin-top: clamp(3rem, 6vw, 5.5rem); } }

/* Team: whole group photo with two profile chips */
.team-stage { position: relative; width: min(100%, 52rem); margin: clamp(1rem, 3vw, 2rem) auto 0; padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1rem, 6vw, 5rem); }
.team-stage .team-photo { position: relative; margin: 0; overflow: hidden; border-radius: 1rem; }
.team-stage .team-photo img { display: block; width: 100%; height: auto; min-height: 0; object-fit: initial; }
.team-stage .team-photo figcaption { left: 50%; bottom: 1rem; translate: -50% 0; white-space: nowrap; }
.profile-chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .85rem;
  max-width: min(22rem, 78%);
  padding: .7rem 1.2rem .7rem .7rem;
  background: rgb(255 255 255 / .94);
  border-radius: 99rem;
  box-shadow: 0 1rem 2.4rem rgb(8 30 42 / .16), 0 0 0 1px rgb(8 30 42 / .05);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.profile-chip strong { display: block; font-family: var(--serif); font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-weight: 400; letter-spacing: -.01em; color: var(--ink); }
.profile-chip span { display: block; margin-top: .1rem; color: var(--muted); font-size: .86rem; line-height: 1.35; }
.chip-avatar { flex: none; width: 3.6rem; height: 3.6rem; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px rgb(31 136 203 / .45); }
.chip-jose { top: 0; right: 0; }
.chip-joyce { left: 0; bottom: 0; }

/* Questions: compact contact card instead of a large photo */
.faq-ask { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; padding: .9rem 1.2rem .9rem .9rem; background: var(--paper); border-radius: 99rem; color: var(--ink); text-decoration: none; transition: background-color 220ms ease, translate 220ms ease; }
.faq-ask:hover { background: #e6eef2; translate: 0 -2px; }
.faq-ask-copy strong { display: block; font-family: var(--serif); font-size: 1.2rem; font-weight: 400; }
.faq-ask-copy span { color: var(--muted); font-size: .92rem; }
.faq-ask-go { margin-left: auto; display: grid; place-items: center; flex: none; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--blue); color: #fff; }
.faq-side { position: sticky; top: 6rem; align-self: start; }

/* Awards: photos shown whole on a drawn timeline */
.awards-years { position: relative; padding-top: 2.4rem; align-items: start; }
.awards-years::before { content: ""; position: absolute; top: .55rem; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--blue), rgb(31 136 203 / .15)); transform-origin: left; }
.award-year { position: relative; }
.award-year::before { content: ""; position: absolute; top: -2.25rem; left: 0; width: .9rem; height: .9rem; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px rgb(31 136 203 / .18); }
.award-year img, .award-year a img { aspect-ratio: auto; height: auto; object-fit: initial; }

/* First appointment: steps on a drawn line, photos uncropped */
.first-steps { position: relative; }
.first-steps::before { content: ""; position: absolute; left: -.9rem; top: .4rem; bottom: .4rem; width: 2px; background: linear-gradient(180deg, #7cc4de, rgb(124 196 222 / .1)); transform-origin: top; }
.first-mosaic .first-photo img, .first-mosaic > .first-photo-main img, .first-mosaic > .first-photo:nth-child(2) img { aspect-ratio: auto; }
.first-mosaic { width: min(100%, 34rem); justify-self: end; }

/* One entrance per section */
@media (prefers-reduced-motion: no-preference) {
  .js-reveal [data-reveal] { transition: opacity 760ms cubic-bezier(.2,.7,.25,1), translate 760ms cubic-bezier(.2,.7,.25,1), scale 760ms cubic-bezier(.2,.7,.25,1), clip-path 900ms cubic-bezier(.2,.7,.25,1); transition-delay: calc(var(--i, 0) * 90ms); }
  .js-reveal [data-reveal="left"] { translate: -2.5rem 0; }
  .js-reveal [data-reveal="right"] { translate: 2.5rem 0; }
  .js-reveal [data-reveal="scale"] { translate: none; scale: .94; clip-path: inset(8% 8% 8% 8% round 1rem); }
  .js-reveal [data-reveal="zoom"] { translate: none; opacity: 1; }
  .js-reveal [data-reveal="zoom"] .place-facade { scale: 1.12; transition: scale 1.6s cubic-bezier(.2,.7,.25,1); }
  .js-reveal [data-reveal="zoom"].is-visible .place-facade { scale: 1; }
  .js-reveal [data-reveal="line"] { translate: none; opacity: 1; }
  .js-reveal [data-reveal="line"]::before { scale: 0 1; transition: scale 1.2s cubic-bezier(.2,.7,.25,1) .15s; }
  .js-reveal .first-steps[data-reveal="line"]::before { scale: 1 0; }
  .js-reveal [data-reveal="line"].is-visible::before { scale: 1 1; }
  .js-reveal [data-reveal].is-visible { opacity: 1; translate: none; scale: 1; }
  .js-reveal [data-reveal="scale"].is-visible { clip-path: inset(0 0 0 0 round 1rem); }
  .js-reveal .chip-jose { transition-delay: .35s; }
  .js-reveal .chip-joyce { transition-delay: .55s; }
  .profile-chip.is-visible { animation: chip-float 6s ease-in-out 1.4s infinite; }
  .chip-joyce.is-visible { animation-delay: 2.4s; }
  .award-year::before { transition: scale 500ms cubic-bezier(.3,1.6,.5,1); transition-delay: calc(.3s + var(--i, 0) * 200ms); }
  .js-reveal .award-year:not(.is-visible)::before { scale: 0; }
  .care-dot { transition-delay: calc(var(--i, 0) * 90ms + 250ms); }
  .js-reveal .care-card:not(.is-visible) .care-dot { scale: .4; opacity: 0; }
  .care-card .care-dot { transition: scale 500ms cubic-bezier(.3,1.6,.5,1), opacity 300ms ease, background-color 260ms ease, color 260ms ease, transform 300ms ease; }
  @keyframes chip-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
}

@media (max-width: 800px) {
  .team-stage { padding: 0; }
  .profile-chip { position: relative; inset: auto; max-width: none; margin-top: .75rem; }
  .chip-jose { margin-top: -1.5rem; margin-left: auto; width: fit-content; }
  .chip-joyce { width: fit-content; }
  .faq-side { position: static; }
  .first-mosaic { width: 100%; justify-self: stretch; }
}

.team-stage .team-photo figcaption { top: auto; bottom: 1rem; left: auto; right: 1rem; translate: none; }
@media (max-width: 800px) { .team-stage .team-photo figcaption { right: .75rem; bottom: .75rem; font-size: .8rem; white-space: normal; } }

@media (max-width: 600px) { .awards-years { padding-top: 0; } .awards-years::before, .award-year::before { display: none; } }

/* Clinic: copy and facts beside the photo */
.team-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.team-head { display: block; margin: 0; }
.team-head h2 { max-width: 12ch; }
.team-head .band-lead { margin-top: 1.2rem; }
.team-facts { display: grid; gap: .7rem; margin: 1.8rem 0 0; padding: 0; list-style: none; }
.team-facts li { display: grid; gap: .15rem; padding: .95rem 1.1rem .95rem 1.4rem; background: var(--paper); border-radius: .7rem; position: relative; }
.team-facts li::before { content: ""; position: absolute; left: .7rem; top: 1.25rem; width: .35rem; height: .35rem; border-radius: 50%; background: var(--blue); }
.team-facts strong { font-family: var(--serif); font-size: 1.15rem; font-weight: 400; }
.team-facts span { color: var(--muted); font-size: .94rem; }
.team-layout .team-stage { width: 100%; margin: 0; padding: clamp(2.2rem, 4vw, 3rem) clamp(1rem, 3vw, 2.5rem); }

/* Results: larger deck and a strip to pick a case */
.results-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.deck { width: min(100%, 33rem); }
.deck-thumbs { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0 0 1.4rem; max-width: 30rem; }
.deck-thumb { width: 3.4rem; height: 3.4rem; padding: 0; border: 0; border-radius: .55rem; overflow: hidden; cursor: pointer; background: var(--mist); opacity: .55; transition: opacity 200ms ease, translate 200ms ease, box-shadow 200ms ease; }
.deck-thumb img { width: 100%; height: 100%; object-fit: cover; }
.deck-thumb:hover { opacity: .9; translate: 0 -2px; }
.deck-thumb[aria-current] { opacity: 1; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--blue); }

@media (max-width: 960px) {
  .team-layout { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .results-grid { grid-template-columns: 1fr; }
  .deck { width: min(88%, 26rem); }
  .deck-thumb { width: 2.9rem; height: 2.9rem; }
}

/* Lock scrolling while the logo intro plays */
html[data-logo-reveal] { overflow: hidden; overscroll-behavior: none; touch-action: none; }
