/*
 * Naxdor concept template "Hantverk", design "Klar" (founder's choice 2026-10-25 for dental clinics: "for a
 * dental, whiter template looks even better"). Built to the founder's Framer reference Dentora and measured
 * against it at 1440 px: a white page with a 24 px gutter, Inter with optical sizes (headlines 52 px, section
 * headings 38 px, card titles 18 px, interface text 14 px), a full-screen photo with glass buttons, light grey
 * cards with 12 px corners, questions on black, about 88 px between sections, and a teal-grey footer. Dentora's
 * #718D93 is darkened a little so white text on it meets WCAG AA. Our first-screen photo is lighter than Dentora's,
 * so its text is dark on a soft white wash (white text failed AA there).
 * Per page, <html> sets --brand, --on-brand, --brand-strong and --brand-wash (the clinic's colour).
 * Font: Inter (variable, with the optical size axis), SIL Open Font License, self-hosted. No scripts.
 */
@font-face { font-family: "Inter Variable"; font-weight: 100 900; font-style: normal; font-display: swap; src: url("fonts/inter-opsz.woff2") format("woff2"); }

:root {
  --page: #ffffff;
  --ink: #111316;
  --muted: #5c6366;
  --grey: #f4f5f5;
  --line: rgb(17 19 22 / 0.1);
  --foot: #55737a;
  --sans: "Inter Variable", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 1.7vw, 24px);
  --bar-h: 56px;
  --head-h: 72px;
  --brand: #3e6e6a;
  --on-brand: #ffffff;
  --brand-strong: #3e6e6a;
  --brand-wash: #e6ece9;
  color-scheme: light;
}
.is-example { --bar-h: 37px; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 16px/1.5 var(--sans); font-optical-sizing: auto; letter-spacing: -0.01em; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.02em; text-wrap: balance; }
/* The packs mark a phrase with *stars* for Nordisk's italic; here it reads as one line. */
h1 em, h2 em { font-style: normal; }
p { margin: 0; text-wrap: pretty; }
ul, ol { list-style: none; margin: 0; padding: 0; }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.r-sr, .quote h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.r-wrap { width: min(1600px, 100% - 2 * var(--gutter)); margin-inline: auto; }
section[id] { scroll-margin-top: calc(var(--head-h) + 8px); }

/* Concept or example notice (leadmart docs/legal/texter-sv.md § D2 and § I1) */
.concept-bar { background: var(--ink); color: rgb(255 255 255 / 0.85); font: 500 13px/1.45 var(--sans); letter-spacing: 0; padding-block: 9px; }
.concept-bar .wrap { width: min(1600px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.concept-bar a { color: inherit; }

/* Shared parts */
.r-eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; color: var(--muted); font: 500 14px/1.2 var(--sans); letter-spacing: -0.02em; }
.r-eyebrow .ico { width: 16px; height: 16px; color: var(--brand-strong); }
.r-lead { color: var(--muted); font-size: 16px; line-height: 1.5; }
.r-head h2, .r-intro h2, .r-place h2, .r-faq h2, .r-contact h2 { font-size: 38px; line-height: 1.2; }
.r-head > p:not(.r-eyebrow) { max-width: 34em; margin-top: 16px; color: var(--muted); }
.r-center { text-align: center; }
.r-center .r-eyebrow { justify-content: center; }
.r-center > p:not(.r-eyebrow), .r-center h2 { margin-inline: auto; }
.r-center h2 { max-width: 14em; }
.r-sec { padding-block: 88px; }
.r-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 41px; padding: 0 14px; border: 0; border-radius: 8px; font: 500 14px/1 var(--sans); letter-spacing: -0.02em; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color 0.2s ease, box-shadow 0.2s ease; }
.r-btn .ico { width: 16px; height: 16px; }
.r-btn-glass { background: rgb(0 0 0 / 0.2); color: #ffffff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.r-btn-glass-light { background: rgb(255 255 255 / 0.16); color: #ffffff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.r-btn-frost { background: rgb(255 255 255 / 0.62); color: var(--ink); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.r-btn-square { width: 41px; padding: 0; }
.r-btn-solid { background: var(--foot); color: #ffffff; }
.r-btn-line { background: var(--page); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.r-ico { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--grey); color: var(--brand-strong); }
.r-ico .ico { width: 19px; height: 19px; }
.r-checks { display: grid; gap: 10px; font-size: 15px; line-height: 1.3; }
.r-checks li { display: flex; align-items: center; gap: 10px; }
.r-checks .ico { width: 16px; height: 16px; color: var(--brand-strong); stroke-width: 2; }

/* Header: over the photo at first, white once you scroll (where the browser can tie that to scrolling) */
.r-stage { position: relative; }
.r-top { position: absolute; top: 0; left: 0; right: 0; z-index: 20; color: var(--ink); }
.r-top-in { display: flex; align-items: center; gap: 24px; width: min(1600px, 100% - 2 * var(--gutter)); min-height: var(--head-h); margin-inline: auto; }
.r-mark { font: 600 20px/1.1 var(--sans); letter-spacing: -0.03em; text-decoration: none; }
.r-nav { display: flex; gap: 2px; margin-inline: auto; font: 500 14px/1.2 var(--sans); letter-spacing: -0.02em; }
.r-nav a { padding: 10px 12px; border-radius: 6px; text-decoration: none; white-space: nowrap; }
.r-menu { display: none; position: relative; margin-left: auto; }
.r-menu summary { display: grid; place-items: center; width: 41px; height: 41px; border-radius: 8px; background: rgb(255 255 255 / 0.62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); cursor: pointer; list-style: none; }
.r-menu summary::-webkit-details-marker { display: none; }
.r-burger { display: grid; gap: 4px; width: 16px; }
.r-burger i { display: block; height: 1.5px; border-radius: 1px; background: currentColor; }
.r-menu nav { position: absolute; right: 0; top: calc(100% + 8px); z-index: 5; display: grid; min-width: 220px; padding: 6px; border-radius: 12px; background: var(--page); color: var(--ink); box-shadow: 0 18px 40px -18px rgb(0 0 0 / 0.35), 0 0 0 1px var(--line); }
.r-menu nav a { padding: 12px 14px; border-radius: 8px; font: 500 15px/1.2 var(--sans); text-decoration: none; }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .r-top { position: sticky; margin-bottom: calc(-1 * var(--head-h)); animation: r-top-solid linear both; animation-timeline: scroll(root); animation-range: calc(100svh - var(--bar-h) - 140px) calc(100svh - var(--bar-h) - 60px); }
  }
}
@keyframes r-top-solid { to { background: rgb(255 255 255 / 0.92); box-shadow: 0 1px 0 var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); } }

/* First screen: one full photo, the headline at the bottom left, the treatments at the bottom right */
.r-hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: calc(100vh - var(--bar-h)); min-height: calc(100svh - var(--bar-h)); padding-block: calc(var(--head-h) + 48px) 48px; color: var(--ink); background: #e8eaeb; }
.r-hero-photo { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.r-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.r-hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(255 255 255 / 0.55) 0%, rgb(255 255 255 / 0.22) 46%, rgb(255 255 255 / 0) 70%), linear-gradient(180deg, rgb(255 255 255 / 0.5) 0%, rgb(255 255 255 / 0) 18%); }
.r-hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 557px); align-items: end; gap: 40px; width: min(1600px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.r-hero-text { margin-bottom: clamp(0px, 20vh, 184px); }
.r-hero .r-eyebrow { color: #3d4447; }
.r-steps .r-eyebrow, .r-faq .r-eyebrow { color: rgb(255 255 255 / 0.86); }
.r-steps .r-eyebrow .ico, .r-faq .r-eyebrow .ico { color: #ffffff; }
.r-hero h1 { max-width: 9.5em; font-size: 52px; font-weight: 600; line-height: 1; letter-spacing: -0.01em; }
.r-hero .r-lead { max-width: 23em; margin-top: 18px; color: #3d4447; }
.r-actions { display: flex; gap: 3px; margin-top: 24px; }
/* A light frost keeps the list readable where it crosses the photo's subject. */
.r-hero-list { padding: 4px 18px; border-radius: 12px; background: rgb(255 255 255 / 0.5); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font: 500 14px/1.2 var(--sans); letter-spacing: -0.02em; }
.r-hero-list li:last-child a { border-bottom: 0; }
.r-hero-list a { display: flex; align-items: center; gap: 8px; padding: 16px 0 15px; border-bottom: 1px solid rgb(17 19 22 / 0.16); text-decoration: none; }
.r-hero-list .ico { width: 16px; height: 16px; color: var(--brand-strong); }

/* Our promise beside the clinic's own words */
.r-intro { border-bottom: 1px solid var(--line); }
.r-intro-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.r-intro-in > div:first-child { padding-block: 48px 64px; padding-right: 40px; }
.r-intro h2 { max-width: 14em; }
.r-intro-side { display: grid; align-content: start; gap: 28px; padding: 48px 0 64px 24px; border-left: 1px solid var(--line); }
.r-intro-side p { max-width: 34em; font-size: 20px; line-height: 1.45; letter-spacing: -0.02em; }

/* Treatments: light grey cards, three to a row */
.r-svc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 48px; }
.r-svc li { display: flex; flex-direction: column; padding: 12px; border-radius: 12px; background: var(--grey); }
.r-svc figure { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 12px; background: #e3e6e7; }
.r-svc img { width: 100%; height: 100%; object-fit: cover; }
.r-svc h3 { margin-top: 24px; padding-inline: 12px; font-size: 18px; line-height: 1.2; }
.r-svc p { margin-top: 8px; padding: 0 12px 12px; color: var(--muted); font-size: 14px; line-height: 1.45; }

/* The clinic: the text, then small photos beside one large one */
.r-place-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: start; }
.r-place .r-lead { max-width: 30em; margin-top: 18px; }
.r-benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; max-width: 640px; margin: 40px 0; }
.r-benefits li { display: flex; gap: 14px; align-items: flex-start; }
.r-benefits h3 { font-size: 16px; line-height: 1.3; letter-spacing: -0.01em; }
.r-benefits p { margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.r-place-media { display: flex; gap: 12px; align-items: start; }
.r-thumbs { display: grid; gap: 12px; }
.r-thumbs li { width: 64px; height: 64px; overflow: hidden; border-radius: 8px; background: var(--grey); }
.r-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.r-place-photo { width: min(608px, 42vw); aspect-ratio: 608 / 622; overflow: hidden; border-radius: 12px; background: var(--grey); }
.r-place-photo img { width: 100%; height: 100%; object-fit: cover; }

/* The visit: four glass cards over one photo */
.r-steps { position: relative; isolation: isolate; padding-block: 120px; color: #ffffff; background: #2a3033; }
.r-steps-photo { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.r-steps-photo img { width: 100%; height: 100%; object-fit: cover; }
.r-steps-photo::after { content: ""; position: absolute; inset: 0; background: rgb(10 14 16 / 0.5); }
.r-steps h2 { color: #ffffff; }
.r-step-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 56px; }
.r-step-list li { padding: 24px; border-radius: 12px; background: rgb(255 255 255 / 0.12); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.18); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.r-step-top { display: flex; align-items: center; justify-content: space-between; }
.r-steps .r-ico { background: rgb(255 255 255 / 0.16); color: #ffffff; }
.r-num { color: rgb(255 255 255 / 0.7); font: 500 14px/1 var(--sans); }
.r-step-list h3 { margin-top: 40px; font-size: 18px; line-height: 1.2; }
.r-step-list p { margin-top: 8px; color: rgb(255 255 255 / 0.82); font-size: 14px; line-height: 1.45; }

/* Tips */
.r-tips-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 40px; }
.r-tips-list li { padding: 28px 24px; border-radius: 12px; background: var(--grey); }
.r-tips-list h3 { font-size: 18px; line-height: 1.25; }
.r-tips-list p { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.5; }

/* Questions on black: the head on the left, the answers on the right; one open at a time */
.r-faq { padding-block: 88px; background: #000000; color: #ffffff; }
.r-faq-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 672px); gap: 40px 48px; align-items: start; }
.r-faq-head p:not(.r-eyebrow) { max-width: 24em; margin-top: 16px; color: rgb(255 255 255 / 0.72); }
.r-faq-head .r-btn { margin-top: 28px; }
.r-faq-list details { border-bottom: 1px solid rgb(255 255 255 / 0.28); }
.r-faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 0; cursor: pointer; list-style: none; font: 500 24px/1.2 var(--sans); letter-spacing: -0.04em; }
.r-faq-list summary::-webkit-details-marker { display: none; }
.r-faq-list p { max-width: 36em; padding: 0 0 20px; color: rgb(255 255 255 / 0.75); }
.r-plus { position: relative; flex: none; width: 14px; height: 14px; }
.r-plus::before, .r-plus::after { content: ""; position: absolute; left: 0; top: 6.25px; width: 14px; height: 1.5px; background: currentColor; transition: transform 0.25s ease; }
.r-plus::after { transform: rotate(90deg); }
details[open] > summary .r-plus::after { transform: rotate(0deg); }

/* Contact: a photo beside the sample booking form */
.r-contact-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; align-items: start; }
.r-contact-photo { aspect-ratio: 684 / 636; overflow: hidden; border-radius: 12px; background: var(--grey); }
.r-contact-photo img { width: 100%; height: 100%; object-fit: cover; }
.r-contact-text { padding-top: 8px; }
.r-contact .r-lead { max-width: 28em; margin-top: 16px; }
.r-quick { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 20px; font: 500 15px/1.3 var(--sans); }
.r-quick a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.r-quick .ico { width: 16px; height: 16px; color: var(--brand-strong); }
.quote { margin-top: 32px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
.fields label { display: grid; gap: 7px; font: 500 14px/1.2 var(--sans); letter-spacing: -0.02em; }
.fields .wide { grid-column: 1 / -1; }
.fields input, .fields select, .fields textarea { width: 100%; min-height: 40px; padding: 10px 12px; border: 1px solid transparent; border-radius: 8px; background: var(--grey); color: var(--ink); font: 400 15px/1.3 var(--sans); }
.fields textarea { min-height: 96px; resize: vertical; }
.fields input:focus, .fields select:focus, .fields textarea:focus { outline: 2px solid var(--brand); outline-offset: 0; background: var(--page); }
.quote button { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 41px; margin-top: 18px; border: 0; border-radius: 8px; background: var(--foot); color: #ffffff; font: 600 14px/1 var(--sans); letter-spacing: -0.02em; cursor: pointer; }
.quote button .ico { width: 16px; height: 16px; }
.form-note { margin-top: 12px; color: var(--muted); font-size: 13px; text-align: center; }

/* Footer: teal-grey, the clinic's name and four columns */
.r-foot { padding-block: 88px 24px; background: var(--foot); color: #ffffff; }
.r-foot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; }
.r-foot .r-mark { font-size: 22px; }
.r-foot-brand p:not(.r-mark) { margin-top: 10px; color: rgb(255 255 255 / 0.85); font-size: 14px; }
.r-foot .r-social { display: flex; gap: 8px; margin-top: 20px; }
.r-social li { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.35); }
.r-social .ico { width: 16px; height: 16px; }
.r-foot h3 { font: 600 14px/1.2 var(--sans); letter-spacing: -0.02em; }
.r-foot ul:not(.r-social) { display: grid; gap: 10px; margin-top: 16px; color: rgb(255 255 255 / 0.88); font: 500 14px/1.35 var(--sans); letter-spacing: -0.02em; }
.r-foot li a { text-decoration: none; }
.r-foot-contact li, .r-foot-contact a { display: flex; align-items: flex-start; gap: 8px; }
.r-foot-contact .ico { width: 15px; height: 15px; margin-top: 1px; }
.r-foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; margin-top: 72px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / 0.22); color: rgb(255 255 255 / 0.85); }
.r-foot-base small { font-size: 13px; }

/* Back to top and the phone call bar */
.to-top { position: fixed; right: max(20px, env(safe-area-inset-right, 0px)); bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 15; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--ink); color: #ffffff; box-shadow: 0 14px 30px -14px rgb(0 0 0 / 0.6); transition: transform 0.25s ease; }
.to-top .ico { width: 18px; height: 18px; stroke-width: 2; }
@supports (animation-timeline: scroll()) {
  .to-top { animation: r-to-top linear both; animation-timeline: scroll(root); animation-range: 500px 760px; }
}
@keyframes r-to-top { from { opacity: 0; translate: 0 18px; visibility: hidden; } to { opacity: 1; translate: 0 0; visibility: visible; } }
.actionbar { display: none; }

/* Motion: one calm entrance and sections that ease in; nothing moves under reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .r-hero-text > *, .r-hero-list { animation: r-rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .r-hero-text > :nth-child(2) { animation-delay: 0.08s; }
  .r-hero-text > :nth-child(3) { animation-delay: 0.16s; }
  .r-hero-text > :nth-child(4) { animation-delay: 0.24s; }
  .r-hero-list { animation-delay: 0.32s; }
  .r-hero-photo img { animation: r-settle 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  @supports (animation-timeline: view()) {
    .r-head, .r-intro-in > *, .r-svc li, .r-place-text, .r-place-media, .r-step-list li, .r-tips-list li, .r-faq-head, .r-faq-list, .r-contact-in > *, .r-foot-grid > * {
      animation: r-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 55%;
    }
  }
}
@keyframes r-rise { from { opacity: 0; translate: 0 20px; } }
@keyframes r-settle { from { scale: 1.05; } }

/* Hover, for mouse and trackpad only */
@media (hover: hover) {
  .r-nav a:hover { background: rgb(17 19 22 / 0.06); }
  .r-btn-glass:hover { background: rgb(0 0 0 / 0.32); }
  .r-btn-frost:hover, .r-menu summary:hover { background: rgb(255 255 255 / 0.85); }
  .r-btn-glass-light:hover { background: rgb(255 255 255 / 0.26); }
  .r-btn-solid:hover, .quote button:hover { background: #48646a; }
  .r-btn-line:hover { box-shadow: inset 0 0 0 1px var(--ink); }
  .r-hero-list a:hover { border-bottom-color: var(--ink); }
  .r-menu nav a:hover { background: var(--grey); }
  .r-faq-list summary:hover { color: rgb(255 255 255 / 0.75); }
  .r-foot li a:hover, .r-quick a:hover { text-decoration: underline; text-underline-offset: 4px; }
  .r-svc img { transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .r-svc li:hover img { transform: scale(1.03); }
  .to-top:hover { transform: translateY(-3px); }
}

/* Narrower laptops: the menu folds behind a button */
@media (max-width: 1180px) {
  .r-nav { display: none; }
  .r-top-cta { margin-left: auto; }
  .r-menu { display: block; margin-left: 0; }
  .r-hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); }
  .r-step-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .r-place-in { grid-template-columns: minmax(0, 1fr); }
  .r-place-media { flex-direction: column-reverse; }
  .r-thumbs { grid-auto-flow: column; justify-content: start; }
  .r-place-photo { width: 100%; aspect-ratio: 16 / 10; }
}

/* Tablets */
@media (max-width: 960px) {
  .r-hero-in { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .r-hero-text { margin-bottom: 0; }
  .r-hero-list { max-width: 420px; }
  .r-intro-in { grid-template-columns: minmax(0, 1fr); }
  .r-intro-in > div:first-child { padding: 56px 0 32px; }
  .r-intro-side { padding: 32px 0 56px; border-left: 0; border-top: 1px solid var(--line); }
  .r-svc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .r-tips-list { grid-template-columns: minmax(0, 1fr); }
  .r-faq-in, .r-contact-in { grid-template-columns: minmax(0, 1fr); }
  .r-foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .r-foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) { .is-example { --bar-h: 56px; } }

/* Phones */
@media (max-width: 720px) {
  :root { --bar-h: 86px; --head-h: 64px; }
  .is-example { --bar-h: 68px; }
  body { font-size: 15.5px; }
  .concept-bar { font-size: 12px; padding-block: 8px; }
  .r-top-cta { display: none; }
  .r-menu { margin-left: auto; }
  .r-sec { padding-block: 64px; }
  /* Room at the bottom for the call bar, so both buttons show in the first screen. */
  .r-hero { padding-block: calc(var(--head-h) + 32px) 100px; }
  .r-hero h1 { font-size: 40px; line-height: 1.02; }
  /* Portrait crops keep the subject, which sits right of centre. */
  .r-hero-photo img { object-position: 60% 50%; }
  .r-hero-list { display: none; }
  .r-head h2, .r-intro h2, .r-place h2, .r-faq h2, .r-contact h2 { font-size: 30px; line-height: 1.15; }
  .r-intro-side p { font-size: 18px; }
  .r-svc, .r-step-list, .r-benefits { grid-template-columns: minmax(0, 1fr); }
  .r-svc { margin-top: 32px; }
  .r-steps { padding-block: 72px; }
  .r-faq { padding-block: 64px; }
  .r-faq-list summary { font-size: 19px; letter-spacing: -0.03em; }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .r-foot { padding-top: 56px; }
  .r-foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 20px; }
  .r-foot-grid > div:has(> .r-foot-contact) { grid-column: 1 / -1; }
  .r-foot-base { padding-bottom: 92px; }
  .to-top { right: 14px; bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
  .actionbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: sticky; bottom: 0; z-index: 5;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--line); background: rgb(255 255 255 / 0.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  }
  .actionbar .r-btn { min-height: 46px; font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  /* The back-to-top button still waits until you have scrolled; it fades in place instead of sliding. */
  @supports (animation-timeline: scroll()) {
    .to-top { animation: r-to-top-fade linear both !important; animation-timeline: scroll(root) !important; animation-range: 500px 760px !important; }
  }
  .r-svc li:hover img, .to-top:hover { transform: none; }
}
@keyframes r-to-top-fade { from { opacity: 0; visibility: hidden; } to { opacity: 1; visibility: visible; } }

/* WebAsk (UK): the dental footer's practice details (GDC guidance on advertising), one full-width row above the base. */
.r-foot-notice { grid-column: 1 / -1; padding-top: 28px; border-top: 1px solid rgb(255 255 255 / 0.22); }
.r-foot-notice ul { max-width: 760px; }
.r-foot .r-foot-notice a { text-decoration: underline; text-underline-offset: 3px; }
/* WebAsk (UK): the footer and the solid buttons a shade darker, so the footer's 85% white text passes AA (axe; #55737a gave 4.2:1). */
:root { --foot: #4a666c; }
