/* CURVE — brand blue from the logo, a deep ink, soft blue-white surfaces */
:root {
  --bg: #f6f8fc;
  --white: #ffffff;
  --soft: #e9eef8;
  --ink: #0e1a33;
  --muted: #5b6680;
  --accent: #4c6db4;
  --accent-deep: #34528f;
  --accent-light: #dfe7f6;

  --radius: 28px;
  --radius-sm: 18px;
  --shadow: 0 20px 50px -24px rgba(14, 26, 51, .28);
  --shadow-lg: 0 40px 80px -30px rgba(14, 26, 51, .35);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --font: "Readex Pro", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.7; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { line-height: 1.2; font-weight: 600; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--accent); color: #fff; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.section { padding-block: clamp(72px, 9vw, 120px); }
.section-head { max-width: 640px; margin-bottom: 48px; }
h2 { font-size: clamp(28px, 3vw, 42px); }
h3 { font-size: 20px; }
.kicker {
  display: inline-block; font-size: 14px; font-weight: 500; color: var(--accent-deep);
  background: var(--accent-light); padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.kicker-light { background: rgba(255, 255, 255, .16); color: #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 500; font-size: 15px;
  transition: transform .3s var(--ease), background-color .3s, box-shadow .3s, color .3s;
  border: 0; cursor: pointer;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 44px; padding: 0 20px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 12px 30px -12px rgba(76, 109, 180, .8); }
.btn-primary:hover { background: var(--accent-deep); box-shadow: 0 18px 36px -12px rgba(76, 109, 180, .9); }
.btn-ghost { background: rgba(255, 255, 255, .7); color: var(--ink); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: #fff; }
.btn-white { background: #fff; color: var(--accent-deep); }
.btn-outline-white { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6); }
.btn-outline-white:hover { background: rgba(255, 255, 255, .12); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding-block: 16px; transition: padding .3s, background-color .3s, box-shadow .3s; }
.nav.scrolled { padding-block: 10px; background: rgba(246, 248, 252, .82); backdrop-filter: blur(14px); box-shadow: 0 8px 30px -20px rgba(14, 26, 51, .4); }
.nav-inner { display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .08em; font-size: 15px; }
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.nav-links { display: flex; gap: 6px; margin-inline-start: auto; background: rgba(255, 255, 255, .7); backdrop-filter: blur(10px); padding: 6px; border-radius: 999px; }
.nav-links a { padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; transition: background-color .25s, color .25s; }
.nav-links a:hover { background: var(--accent-light); color: var(--accent-deep); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang { font: inherit; font-weight: 600; font-size: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .8); color: var(--ink); cursor: pointer; transition: background-color .2s, transform .2s; }
.lang:hover { background: #fff; transform: rotate(-8deg); }

/* ---------- hero: the film inside the name ---------- */
.hero-pin { position: relative; height: 320vh; }
.stage { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--ink); }
.stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.spotlight { position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(420px circle at var(--mx, 70%) var(--my, 40%), rgba(255, 255, 255, .28), transparent 60%); mix-blend-mode: soft-light; }
/* white page with black letters, screened over the film: the film shows only through the letters */
.mask { position: absolute; inset: 0; z-index: 2; background: var(--bg); mix-blend-mode: screen; display: grid; place-items: center; will-change: opacity; }
.mask span { display: flex; font-size: 30vw; font-weight: 700; line-height: .8; letter-spacing: -.05em; color: #000; direction: ltr; white-space: nowrap; transform-origin: 46.5% 52%; will-change: transform; }
.mask b { display: inline-block; font-weight: 700; }
.intro { position: absolute; z-index: 3; inset: auto 0 8vh; display: flex; justify-content: space-between; align-items: end; gap: 24px; padding-inline: clamp(20px, 4vw, 56px); }
.intro p { font-size: 18px; max-width: 32ch; font-weight: 500; }
.intro-cue { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.intro-cue i { position: relative; width: 26px; height: 42px; border-radius: 20px; box-shadow: inset 0 0 0 2px var(--muted); }
.intro-cue i::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--ink); animation: cue 1.6s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
.hero-shade { position: absolute; inset: 0; z-index: 1; opacity: 0; pointer-events: none;
  background: linear-gradient(270deg, rgba(14, 26, 51, 0) 38%, rgba(14, 26, 51, .78) 100%); }
.hero-inner { position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; margin-inline: auto; padding-top: 70px; }
.js .hero-inner, .js .preview { visibility: hidden; }
[dir="rtl"] .hero-inner { justify-content: flex-end; }
.hero-content { max-width: 540px; color: #fff; }
.hero-content > p { margin-top: 18px; font-size: 17px; color: rgba(255, 255, 255, .86); max-width: 46ch; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: #fff; background: rgba(255, 255, 255, .16); backdrop-filter: blur(10px); padding: 8px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3fbf7f; box-shadow: 0 0 0 4px rgba(63, 191, 127, .25); animation: pulse 2s infinite; }
.hero-title { font-size: clamp(36px, 4.4vw, 62px); margin-top: 22px; line-height: 1.18; }
.hero-title .w { display: inline-block; }
.hero-title .accent { color: #b9cbf2; position: relative; }
.hero-title .accent::after { content: ""; position: absolute; inset-inline: 0; bottom: -.12em; height: .22em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 24' preserveAspectRatio='none'%3E%3Cpath d='M4 4 C 60 24, 140 24, 196 4' fill='none' stroke='%23b9cbf2' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  transform: scaleX(var(--u, 1)); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.doc-card { display: none; }

/* ---------- hero interactive layer ---------- */
.switcher { position: relative; display: inline-flex; flex-wrap: wrap; gap: 4px; margin-top: 30px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .14); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.tab { position: relative; z-index: 1; font: inherit; font-size: 14px; font-weight: 500; border: 0; background: transparent; color: #fff; padding: 9px 16px; border-radius: 999px; cursor: pointer; transition: color .3s, background-color .3s; overflow: hidden; }
.tab:hover { background: rgba(255, 255, 255, .12); }
.tab.is-on { background: #fff; color: var(--accent-deep); }
.tab.is-on::after { content: ""; position: absolute; inset-inline: 14px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--accent); transform-origin: right; transform: scaleX(var(--t, 0)); }
[dir="ltr"] .tab.is-on::after { transform-origin: left; }
.tab-progress { display: none; }
.preview {
  position: absolute; z-index: 4; right: 6%; bottom: 12%; width: 300px;
  display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 22px; box-shadow: var(--shadow-lg);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.preview:hover { transform: translateY(-4px) scale(1.02); }
.preview img { width: 76px; height: 76px; border-radius: 16px; object-fit: cover; flex: none; }
.preview strong { display: block; font-size: 15px; }
.preview span { display: block; font-size: 13px; color: var(--muted); line-height: 1.5; }
.preview-arrow { font-style: normal; margin-inline-start: auto; width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; font-size: 15px; }
[dir="ltr"] .preview-arrow { transform: scaleX(-1); }
.play { position: absolute; z-index: 4; bottom: 28px; right: 28px; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow); transition: transform .3s var(--ease); }
.play:hover { transform: scale(1.08); }
.play svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.play .i-play { display: none; fill: var(--ink); }
.play[aria-pressed="true"] .i-play { display: block; }
.play[aria-pressed="true"] .i-pause { display: none; }
.scroll-cue { position: absolute; z-index: 3; bottom: 28px; left: 50%; translate: -50% 0; width: 28px; height: 46px; border-radius: 20px; box-shadow: inset 0 0 0 2px rgba(14, 26, 51, .35); }
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 4px; height: 9px; margin-left: -2px; border-radius: 2px; background: var(--ink); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- site-wide extras ---------- */
.loader { position: fixed; inset: 0; z-index: 100; display: grid; place-content: center; justify-items: center; gap: 14px; background: var(--bg); }
.loader img { width: 84px; height: 84px; border-radius: 50%; }
.loader svg { width: 160px; }
.loader path { fill: none; stroke: var(--accent); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 230; stroke-dashoffset: 230; animation: loaderDraw 1s var(--ease) .1s forwards; }
@keyframes loaderDraw { to { stroke-dashoffset: 0; } }
.progress { position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 60; background: var(--accent); transform-origin: right; transform: scaleX(0); }
[dir="ltr"] .progress { transform-origin: left; }
.cursor { position: fixed; z-index: 90; top: 0; left: 0; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; pointer-events: none;
  box-shadow: inset 0 0 0 1.5px var(--accent); transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background-color .3s; display: none; }
.cursor.is-big { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(76, 109, 180, .12); }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }
.wa-float { position: fixed; z-index: 55; bottom: 22px; right: 22px; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.1) rotate(-6deg); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); animation: ring 2.4s infinite; }
@keyframes ring { 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

/* ---------- marquee ---------- */
.marquee { background: var(--accent); color: #fff; overflow: hidden; contain: paint; padding-block: 18px; }
.marquee-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 32s linear infinite; font-size: 18px; font-weight: 500; white-space: nowrap; }
.marquee-track i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .5); }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-visual { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.orb { position: absolute; inset: 6%; border-radius: 50%; background: var(--accent-light); }
.orb::after { content: ""; position: absolute; inset: -6%; border-radius: 50%; border: 2px dashed rgba(76, 109, 180, .25); animation: spin 40s linear infinite; }
.tooth { position: relative; width: 78%; border-radius: 50%; mix-blend-mode: multiply; }
.about-text h2 { margin-bottom: 16px; }
.about-text > p { color: var(--muted); font-size: 17px; }
.features { display: grid; gap: 14px; margin-top: 28px; }
.features li { display: flex; gap: 14px; align-items: flex-start; background: #fff; padding: 16px 18px; border-radius: var(--radius-sm); box-shadow: 0 10px 30px -22px rgba(14, 26, 51, .35); transition: transform .3s var(--ease); }
.features li:hover { transform: translateX(-6px); }
[dir="ltr"] .features li:hover { transform: translateX(6px); }
.features strong { display: block; font-size: 16px; }
.features small { color: var(--muted); font-size: 14px; }
.ico { flex: none; width: 44px; height: 44px; border-radius: 14px; background: var(--accent-light); display: grid; place-items: center; }
.ico svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico-lg { width: 56px; height: 56px; border-radius: 18px; margin-bottom: auto; }
.ico-lg svg { width: 28px; height: 28px; }

/* ---------- treatments bento ---------- */
.treatments { background: var(--white); border-radius: 48px 48px 0 0; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; gap: 18px; }
.card {
  position: relative; overflow: hidden; border-radius: var(--radius); background: var(--soft);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; color: #fff;
  transform-style: preserve-3d; transition: box-shadow .4s var(--ease);
}
.card:hover { box-shadow: var(--shadow-lg); }
.card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover > img { transform: scale(1.07); }
.card > img + .card-body::before { content: ""; position: absolute; inset: -60% -24px -24px; background: linear-gradient(to top, rgba(14, 26, 51, .78), rgba(14, 26, 51, 0)); z-index: -1; }
.card-body { position: relative; z-index: 1; }
.card-body p { font-size: 14px; opacity: .9; margin-top: 4px; }
.card-lg { grid-column: span 2; grid-row: span 2; }
.card:nth-child(2), .card:nth-child(3) { grid-row: span 2; }
.card-blue { background: var(--accent); }
.card-blue .ico { background: rgba(255, 255, 255, .16); }
.card-blue .ico svg { stroke: #fff; }
.card-soft { background: var(--soft); color: var(--ink); }
.card-blue, .card-soft { grid-column: span 2; }
.card-blue p, .card-soft p { font-size: 14px; opacity: .85; margin-top: 4px; }

/* ---------- AI smile analysis ---------- */
.ai-card {
  position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center;
  background: var(--ink); color: #fff; border-radius: 40px; padding: clamp(18px, 3vw, 36px); overflow: hidden; isolation: isolate;
}
.ai-card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .45; background-image: radial-gradient(rgba(159, 181, 230, .2) 1px, transparent 1px); background-size: 22px 22px; }
.ai-card::after { content: ""; position: absolute; z-index: -1; width: 600px; height: 600px; left: -160px; bottom: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(76, 109, 180, .55), transparent 65%); }
.ai-stage { position: relative; border-radius: 30px; overflow: hidden; aspect-ratio: 760 / 570; background: #0b1530; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.ai-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ai-hud { position: absolute; inset: 14px 14px auto; display: flex; justify-content: space-between; gap: 10px; pointer-events: none; }
.ai-chip { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; padding: 7px 12px; border-radius: 999px; background: rgba(14, 26, 51, .62); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.ai-chip i { width: 8px; height: 8px; border-radius: 50%; background: #7ea0ff; box-shadow: 0 0 0 0 rgba(126, 160, 255, .7); animation: aipulse 1.4s infinite; }
.ai-chip.done i { background: #4fc28a; animation: none; }
.ai-chip-r { opacity: .8; }
@keyframes aipulse { 70% { box-shadow: 0 0 0 8px rgba(126, 160, 255, 0); } }
.ai-tag { position: absolute; padding: 9px 13px; border-radius: 14px; background: rgba(14, 26, 51, .66); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), 0 12px 30px -12px rgba(0, 0, 0, .6); opacity: 0; pointer-events: none; direction: rtl; }
[dir="ltr"] .ai-tag { direction: ltr; }
.ai-tag small { display: block; font-size: 11px; color: rgba(255, 255, 255, .7); }
.ai-tag b { font-size: 18px; color: #b9cbf2; font-variant-numeric: tabular-nums; }
.ai-compare { position: absolute; bottom: 14px; left: 50%; translate: -50% 0; display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(14, 26, 51, .66); backdrop-filter: blur(10px); }
.ai-compare button { font: inherit; font-size: 13px; color: #fff; border: 0; background: transparent; padding: 7px 16px; border-radius: 999px; cursor: pointer; }
.ai-compare button.is-on { background: #fff; color: var(--accent-deep); }
.ai-dot { fill: #fff; }
.ai-ring { fill: none; stroke: #7ea0ff; stroke-width: 2; }
#aiArc { filter: drop-shadow(0 0 8px rgba(126, 160, 255, .9)); }
.ai-panel h2 { font-size: clamp(28px, 3vw, 40px); margin-top: 4px; }
.ai-panel > p { color: rgba(255, 255, 255, .72); margin-top: 12px; max-width: 46ch; }
.ai-steps { display: grid; gap: 8px; margin-top: 24px; }
.ai-steps li { display: flex; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .04); transition: background-color .35s, transform .35s var(--ease); cursor: pointer; }
.ai-steps li i { flex: none; width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .25); position: relative; transition: background-color .3s, box-shadow .3s; }
.ai-steps li.is-done i { background: #4fc28a; box-shadow: none; }
.ai-steps li.is-done i::after { content: ""; position: absolute; left: 9px; top: 6px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ai-steps li.is-active { background: rgba(126, 160, 255, .16); transform: translateX(-6px); }
[dir="ltr"] .ai-steps li.is-active { transform: translateX(6px); }
.ai-steps li.is-active i { box-shadow: inset 0 0 0 2px #7ea0ff; }
.ai-steps b { display: block; font-size: 15px; }
.ai-steps small { color: rgba(255, 255, 255, .6); font-size: 13px; }
.ai-bar { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .1); margin-top: 14px; overflow: hidden; }
.ai-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #7ea0ff, #4fc28a); border-radius: inherit; }
.shades { display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
.shades button { font: inherit; font-size: 13px; font-weight: 600; color: #fff; display: inline-flex; align-items: center; gap: 8px; border: 0; padding: 7px 14px 7px 8px; border-radius: 999px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); cursor: pointer; transition: background-color .25s, transform .25s var(--ease); direction: ltr; }
.shades button:hover { transform: translateY(-2px); }
.shades button i { width: 20px; height: 20px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.shades button.is-on { background: #fff; color: var(--ink); }
.ai-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }

/* ---------- before / after ---------- */
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center p { color: var(--muted); }
.compare-wrap { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: center; }
.compare { position: relative; aspect-ratio: 4 / 3; border-radius: 32px; overflow: hidden; background: var(--soft); box-shadow: var(--shadow-lg); touch-action: pan-y; user-select: none; }
.cmp-after, .cmp-before { position: absolute; inset: 0; background-size: cover; background-position: center; }
.cmp-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.cmp-after img, .cmp-before img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cmp-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, .3); pointer-events: none; }
.cmp-handle span { position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--accent); display: grid; place-items: center; font-size: 20px; font-weight: 700; box-shadow: var(--shadow); letter-spacing: 2px; }
.cmp-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; direction: ltr; }
.cmp-tag { position: absolute; top: 18px; font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 999px; background: rgba(14, 26, 51, .6); color: #fff; backdrop-filter: blur(8px); pointer-events: none; }
.tag-before { left: 18px; }
.tag-after { right: 18px; background: var(--accent); }
.demo-badge { position: absolute; bottom: 16px; left: 50%; translate: -50% 0; font-size: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .9); color: var(--ink); white-space: nowrap; pointer-events: none; }
.case-info h3 { font-size: 24px; margin-top: 18px; }
.case-info p { color: var(--muted); margin: 8px 0 22px; }
.case-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.case-tabs button { font: inherit; font-size: 13px; border: 0; padding: 8px 14px; border-radius: 999px; background: var(--soft); color: var(--ink); cursor: pointer; }
.case-tabs button.is-on { background: var(--accent); color: #fff; }

.case-embeds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.case-embeds .feed-item { width: auto; min-height: 520px; background: var(--white); box-shadow: var(--shadow); border-radius: 22px; overflow: hidden; }
.case-embeds .instagram-media { min-width: 0 !important; width: 100% !important; margin: 0 !important; border: 0 !important; box-shadow: none !important; border-radius: 22px !important; }
.cases-more { display: flex; justify-content: center; margin-top: 36px; }
.compare-wrap { margin-bottom: 48px; }
.about-cred { font-size: 14px !important; color: var(--accent-deep) !important; background: var(--accent-light); padding: 10px 16px; border-radius: 16px; margin-bottom: 14px; line-height: 1.6; }

/* ---------- instagram: a simple photo grid ---------- */
.insta { background: var(--white); }
.insta-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.insta-me { display: flex; align-items: center; gap: 14px; }
.insta-ring { width: 68px; height: 68px; border-radius: 50%; padding: 3px; background: conic-gradient(from 200deg, #f9ce34, #ee2a7b, #6228d7, #f9ce34); }
.insta-ring img { width: 100%; height: 100%; border-radius: 50%; border: 3px solid #fff; }
.insta-me strong { display: block; font-size: clamp(20px, 2vw, 26px); }
.insta-me small { color: var(--muted); font-size: 14px; }
.btn-insta { color: #fff; background: linear-gradient(90deg, #f58529, #dd2a7b 50%, #8134af); }
.ig-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
/* each tile shows only the photo of an official Instagram embed: the embed's header and footer are cropped away */
.ig-tile { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: var(--soft); }
.ig-crop { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.ig-crop .instagram-media, .ig-crop iframe { position: absolute !important; left: -1px !important; top: var(--ig-head, -55px) !important; width: calc(100% + 2px) !important; min-width: 0 !important; max-width: none !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.ig-tile::after { content: ""; position: absolute; inset: 0; background: rgba(14, 26, 51, 0); transition: background-color .3s; }
.ig-tile:hover::after { background: rgba(14, 26, 51, .35); }
.ig-icon { position: absolute; z-index: 1; top: 50%; left: 50%; translate: -50% -50%; width: 44px; height: 44px; opacity: 0; transform: scale(.8); transition: opacity .3s, transform .3s var(--ease); }
.ig-icon svg { width: 100%; height: 100%; fill: none; stroke: #fff; stroke-width: 1.8; }
.ig-tile:hover .ig-icon { opacity: 1; transform: scale(1); }

/* ---------- clinic ---------- */
.clinic-frame { position: relative; border-radius: 40px; overflow: hidden; height: clamp(380px, 52vw, 620px); }
.clinic-frame img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; }
.glass { background: rgba(255, 255, 255, .78); backdrop-filter: blur(16px); }
.clinic-note { position: absolute; bottom: 28px; inset-inline-start: 28px; max-width: 380px; padding: 24px 26px; border-radius: 24px; box-shadow: var(--shadow); }
.clinic-note h2 { font-size: 24px; margin-bottom: 6px; }
.clinic-note p { color: var(--muted); font-size: 15px; }

/* ---------- visit steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { position: relative; background: #fff; border-radius: var(--radius); padding: 28px 24px; box-shadow: 0 14px 40px -28px rgba(14, 26, 51, .4); transition: transform .35s var(--ease), background-color .35s, color .35s; }
.step:hover { transform: translateY(-8px); background: var(--accent); color: #fff; }
.step:hover p { color: rgba(255, 255, 255, .85); }
.step:hover b { color: #fff; background: rgba(255, 255, 255, .18); }
.step b { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: var(--accent-light); color: var(--accent); font-size: 16px; margin-bottom: 20px; transition: inherit; }
.step p { color: var(--muted); font-size: 15px; margin-top: 6px; transition: color .35s; }

/* ---------- faq ---------- */
.faq { background: var(--white); }
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-side p { color: var(--muted); margin: 12px 0 24px; }
.faq-list { display: grid; gap: 12px; }
.faq details { background: var(--bg); border-radius: var(--radius-sm); padding: 4px 22px; transition: background-color .3s, box-shadow .3s; }
.faq details[open] { background: #fff; box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 16px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent-light); color: var(--accent); font-size: 20px; transition: transform .3s var(--ease), background-color .3s, color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--accent); color: #fff; }
.faq details p { color: var(--muted); padding-bottom: 18px; font-size: 15px; }

/* ---------- contact CTA ---------- */
.cta {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center;
  background: var(--accent); color: #fff; border-radius: 40px; padding: clamp(32px, 5vw, 64px);
}
.cta h2 { font-size: clamp(30px, 3.4vw, 46px); }
.cta-text p { color: rgba(255, 255, 255, .85); margin-top: 12px; max-width: 44ch; }
.cta-info { display: grid; gap: 12px; position: relative; z-index: 1; }
.cta-info li { background: rgba(255, 255, 255, .12); border-radius: 18px; padding: 14px 18px; }
.cta-info small { display: block; font-size: 13px; opacity: .75; }
.cta-curve { position: absolute; width: 60%; left: -8%; bottom: -10%; opacity: .25; }
.cta-curve path { fill: none; stroke: #fff; stroke-width: 10; stroke-linecap: round; }

/* ---------- footer ---------- */
.footer { position: relative; overflow: hidden; background: var(--ink); color: rgba(255, 255, 255, .72); padding-top: clamp(56px, 7vw, 90px); }
.footer-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  padding: clamp(28px, 4vw, 44px); border-radius: 32px; background: var(--accent); color: #fff; }
.footer-cta h2 { font-size: clamp(26px, 2.8vw, 38px); }
.footer-cta p { margin-top: 6px; color: rgba(255, 255, 255, .85); }
.footer-cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: clamp(28px, 4vw, 56px); padding-block: clamp(48px, 6vw, 72px); }
.f-brand p { margin-top: 18px; font-size: 14px; line-height: 1.9; max-width: 36ch; }
.f-social { display: flex; gap: 10px; margin-top: 22px; }
.f-social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .08); transition: background-color .25s, transform .25s var(--ease); }
.f-social a:hover { background: var(--accent); transform: translateY(-3px); }
.f-social svg { width: 20px; height: 20px; }
.f-col { display: grid; gap: 12px; align-content: start; font-size: 14px; }
.f-col h3 { color: #fff; font-size: 16px; margin-bottom: 6px; }
.f-col a { width: fit-content; transition: color .2s, transform .25s var(--ease); }
.f-col a:hover { color: #fff; transform: translateX(-4px); }
[dir="ltr"] .f-col a:hover { transform: translateX(4px); }
.f-contact p { display: flex; align-items: center; gap: 10px; }
.f-ico { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #b9cbf2; }
.f-ico svg { width: 18px; height: 18px; }
.f-map { margin-top: 6px; border-radius: 18px; overflow: hidden; height: 150px; background: rgba(255, 255, 255, .06); }
.f-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }
.footer-bottom { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px; font-size: 13px; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { color: inherit; opacity: .75; text-decoration: none; }
.footer-legal a:hover, .to-top:hover { color: #fff; opacity: 1; }
.footer-word { margin: 0; text-align: center; font-size: 24vw; font-weight: 700; line-height: .78; letter-spacing: -.05em; direction: ltr; color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .1); transform: translateY(14%); user-select: none; pointer-events: none; }
.brand-light { color: #fff; }
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .footer-grid { grid-template-columns: 1fr; } .footer-cta-btns .btn { flex: 1; } }

/* ---------- motion ---------- */
.float-y { animation: floatY 6s ease-in-out infinite; }
@keyframes floatY { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@keyframes marquee { to { transform: translateX(50%); } }
[dir="ltr"] .marquee-track { animation-name: marqueeLtr; }
@keyframes marqueeLtr { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(63, 191, 127, 0); } }
.js .reveal { opacity: 0; }
.js .mask b { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
  .js .reveal, .js .mask b { opacity: 1; }
  .loader { display: none; }
}

/* ---------- tablet ---------- */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-actions { margin-inline-start: auto; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
  .card-lg { grid-column: span 2; }
  .card-blue, .card-soft { grid-column: span 1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .try-card, .ai-card, .cta, .compare-wrap { grid-template-columns: 1fr; }
  .ig-grid { grid-template-columns: repeat(3, 1fr); }
  .case-embeds { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- phone ---------- */
@media (max-width: 680px) {
  .hero-pin { height: 240vh; }
  .mask span { font-size: 26vw; }
  .intro { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hero-shade { background: linear-gradient(0deg, rgba(14, 26, 51, .88) 12%, rgba(14, 26, 51, 0) 68%); }
  .hero-inner { align-items: flex-end; padding-bottom: 7vh; }
  .hero-title { font-size: 32px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .switcher { display: flex; justify-content: space-between; border-radius: 22px; }
  .tab { padding: 8px 12px; font-size: 13px; }
  .preview { display: none; }
  .play { top: 84px; right: auto; left: 16px; bottom: auto; width: 40px; height: 40px; display: none; }
  .wa-float { bottom: 16px; right: 16px; }
  .about-grid, .faq-grid { grid-template-columns: 1fr; }
  .about-visual { max-width: 360px; margin-inline: auto; width: 100%; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: 300px; }
  .card-lg, .card-blue, .card-soft, .card:nth-child(2), .card:nth-child(3) { grid-column: span 1; grid-row: span 1; }
  .card-blue, .card-soft { min-height: 220px; }
  .steps { grid-template-columns: 1fr; }
  .case-embeds { grid-template-columns: 1fr; }
  .case-embeds .feed-item { width: 100%; }
  .ig-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .insta-top { flex-wrap: wrap; }
  .compare { aspect-ratio: 1; }
  .ai-stage { aspect-ratio: 1; }
  .ai-tag { padding: 6px 9px; }
  .ai-tag b { font-size: 14px; }
  .ai-tag small { font-size: 10px; }
  #tagGum, #tagRatio, .ai-hud .ai-chip-r { display: none; }
  #tagMid { left: auto !important; right: 12px; top: 54px !important; }
  #tagCurve { left: auto !important; right: 12px; top: auto !important; bottom: 64px; }
  .clinic-note { inset-inline: 16px; bottom: 16px; max-width: none; }
  .treatments { border-radius: 32px 32px 0 0; }
}

/* ---------- online booking window ---------- */
.bk { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(14, 26, 51, .5); backdrop-filter: blur(4px); }
.bk-card { position: relative; width: min(520px, 100%); max-height: 92svh; overflow-y: auto; background: #fff; border-radius: 28px; padding: clamp(22px, 4vw, 32px); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); animation: bkIn .35s var(--ease); }
@keyframes bkIn { from { transform: translateY(24px) scale(.97); opacity: 0; } }
.bk-x { position: absolute; top: 14px; left: 14px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--soft); font-size: 22px; cursor: pointer; }
[dir="ltr"] .bk-x { left: auto; right: 14px; }
.bk h2 { font-size: 24px; }
.bk h3 { font-size: 16px; margin: 18px 0 12px; }
.bk-muted { color: var(--muted); }
.bk-steps { display: flex; gap: 6px; list-style: none; padding: 0; margin: 14px 0 0; }
.bk-steps li { flex: 1; height: 4px; border-radius: 4px; background: var(--soft); }
.bk-steps li.done, .bk-steps li.on { background: var(--accent); }
.bk-steps li.on { opacity: .5; }
.bk-back { margin-top: 12px; border: 0; background: none; color: var(--accent); cursor: pointer; padding: 0; font: inherit; }
.bk-sum { font-size: 13px; color: var(--muted); }
.bk-chips, .bk-days, .bk-times { display: flex; flex-wrap: wrap; gap: 8px; }
.bk-chips button, .bk-days button, .bk-times button { font: inherit; font-size: 14px; border: 0; padding: 10px 16px; border-radius: 14px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--soft); cursor: pointer; transition: background-color .2s, color .2s, transform .2s var(--ease); }
.bk-chips button:hover, .bk-days button:hover, .bk-times button:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.bk-times button { min-width: 76px; font-variant-numeric: tabular-nums; direction: ltr; }
.bk-form { display: grid; gap: 12px; }
.bk-form label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.bk-form input, .bk-form textarea { font: inherit; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--soft); background: var(--bg); outline: none; }
.bk-form input:focus, .bk-form textarea:focus { border-color: var(--accent); }
.bk-hp { position: absolute; left: -9999px; }
.bk-err { color: #d94848; min-height: 1.2em; font-size: 13px; }
.bk-done { text-align: center; display: grid; gap: 12px; justify-items: center; padding-block: 10px; }
.bk-done span { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #e3f5ec; color: #22a06b; font-size: 30px; }
.bk[hidden] { display: none; }

/* ---------- instagram viewer ---------- */
.igv { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(8, 14, 30, .88); backdrop-filter: blur(6px); padding: 56px 72px 64px; }
.igv[hidden] { display: none; }
.igv-stage { width: min(460px, 100%); max-height: calc(100svh - 120px); overflow-y: auto; border-radius: 18px; background: #fff; scrollbar-width: none; }
.igv-stage .instagram-media { min-width: 0 !important; width: 100% !important; max-width: none !important; margin: 0 !important; border: 0 !important; border-radius: 18px !important; box-shadow: none !important; }
.igv-x { position: absolute; top: 14px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-size: 26px; cursor: pointer; }
.igv-nav { position: absolute; top: 50%; translate: 0 -50%; width: 52px; height: 52px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 28px; cursor: pointer; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); transition: transform .2s var(--ease); }
.igv-nav:hover { transform: scale(1.08); }
.igv-prev { right: 18px; }
.igv-next { left: 18px; }
[dir="ltr"] .igv-prev { right: auto; left: 18px; }
[dir="ltr"] .igv-next { left: auto; right: 18px; }
.igv-bar { position: absolute; bottom: 16px; left: 0; right: 0; display: flex; justify-content: center; gap: 18px; color: rgba(255, 255, 255, .8); font-size: 14px; }
.igv-bar a { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.ig-tile { cursor: zoom-in; }
@media (max-width: 680px) { .igv { padding: 60px 10px 56px; } .igv-nav { width: 42px; height: 42px; font-size: 22px; top: auto; bottom: 8px; translate: 0 0; } }

/* ---------- our own Instagram gallery: swipe in the tile, open big on the site ---------- */
.g-tile { position: relative; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: var(--soft); cursor: zoom-in; outline-offset: 3px; }
.g-strip { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.g-strip::-webkit-scrollbar { display: none; }
.g-slide { flex: 0 0 100%; height: 100%; scroll-snap-align: center; }
.g-slide img, .g-slide video, .g-video { width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; }
.g-video { position: relative; }
.g-video img, .g-video video { width: 100%; height: 100%; object-fit: cover; }
.g-video i { position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: rgba(14, 26, 51, .55); color: #fff; font-style: normal; font-size: 20px; backdrop-filter: blur(6px); }
.g-dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 5px; pointer-events: none; direction: ltr; }
.g-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .55); transition: width .25s, background-color .25s; }
.g-dots i.on { width: 16px; border-radius: 3px; background: #fff; }
.g-count { position: absolute; top: 10px; left: 10px; font-size: 12px; padding: 3px 8px; border-radius: 999px; background: rgba(14, 26, 51, .55); color: #fff; direction: ltr; }
.g-arrow { position: absolute; top: 50%; translate: 0 -50%; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: var(--ink); font-size: 20px; cursor: pointer; opacity: 0; transition: opacity .25s; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .4); }
.g-prev { left: 10px; } .g-next { right: 10px; }
[dir="rtl"] .g-prev { left: auto; right: 10px; } [dir="rtl"] .g-next { right: auto; left: 10px; }
.g-tile:hover .g-arrow { opacity: 1; }
@media (hover: none) { .g-arrow { display: none; } }
.igv-stage.is-gallery { background: transparent; width: min(560px, 100%); overflow: visible; }
.gv { display: grid; gap: 12px; }
.gv-strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 18px; background: #000; max-height: calc(100svh - 200px); }
.gv-strip::-webkit-scrollbar { display: none; }
.gv-slide { flex: 0 0 100%; scroll-snap-align: center; display: grid; place-items: center; }
.gv-slide img, .gv-slide video { width: 100%; max-height: calc(100svh - 200px); object-fit: contain; display: block; }
.gv-dots { position: static; }
.gv-cap { color: rgba(255, 255, 255, .9); font-size: 14px; line-height: 1.7; max-height: 5.2em; overflow-y: auto; white-space: pre-line; }

/* Instagram embeds in the grid: their own arrows swipe the carousel in place */
.ig-live { cursor: default; }
.ig-live .ig-crop { pointer-events: auto; }
.ig-live::after { display: none; }

.bk-consent { display: flex !important; flex-direction: row; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--ink) !important; line-height: 1.7; }
.bk-consent input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--accent); padding: 0 !important; }
.bk-consent a { color: var(--accent); text-decoration: underline; }

/* ---------- the doctors (written by seo/build.mjs from seo/content.mjs) ---------- */
.team .team-lead { color: var(--muted); font-size: 17px; margin-top: 12px; }
.team-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.doc { width: calc((100% - 44px) / 3); display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.doc:hover, .doc:focus-within { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.doc-media { position: relative; aspect-ratio: 4 / 5; background: var(--white); overflow: hidden; }
.doc-media video { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.doc-today { position: absolute; top: 16px; inset-inline-start: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px;
  border-radius: 999px; background: rgba(255, 255, 255, .92); box-shadow: 0 8px 20px -10px rgba(14, 26, 51, .35); font-size: 13px; font-weight: 500; }
.doc-today[hidden] { display: none; }
.doc-today::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #3fbf7f; box-shadow: 0 0 0 4px rgba(63, 191, 127, .18); }
.doc-body { display: flex; flex-direction: column; flex: 1; padding: 6px 26px 26px; margin-top: -24px; position: relative; }
.doc-role { align-self: flex-start; font-size: 13px; font-weight: 500; color: #fff; background: var(--ink); padding: 4px 12px; border-radius: 999px; margin-bottom: 10px; }
.doc-name { font-size: 22px; margin-bottom: 8px; }
.doc-spec { align-self: flex-start; background: var(--accent-light); color: var(--accent-deep); font-size: 14px; font-weight: 500; padding: 5px 13px; border-radius: 999px; margin-bottom: 18px; }
.doc-week { display: flex; gap: 6px; margin-bottom: 10px; }
.doc-week li { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; color: #a3abbd; background: var(--bg); }
.doc-week li.on { background: var(--accent); color: #fff; }
.doc-week li.today { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--ink); }
.doc-days { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); font-size: 14.5px; line-height: 1.6; margin-bottom: 20px; }
.doc-days svg { flex: none; width: 18px; height: 18px; margin-top: 2px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; }
.doc-actions { margin-top: auto; display: flex; gap: 10px; align-items: center; }
.doc-actions .btn { flex: 1; }
.doc-wa { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #1fa855; background: #e9f8ef; transition: background .2s, transform .2s var(--ease); }
.doc-wa:hover { background: #d5f2e0; transform: scale(1.06); }
.doc-wa svg { width: 22px; height: 22px; }
/* the founder: across the whole row, the video beside his details */
.doc-lead { width: 100%; flex-direction: row; }
.doc-lead .doc-media { flex: none; width: min(42%, 440px); }
.doc-lead .doc-body { justify-content: center; margin-top: 0; padding: 48px clamp(28px, 4vw, 64px); }
.doc-lead .doc-name { font-size: clamp(28px, 3vw, 38px); }
.doc-bio { color: var(--muted); font-size: 15.5px; line-height: 1.8; max-width: 52ch; margin-bottom: 22px; }
.doc-lead .doc-actions { margin-top: 8px; max-width: 420px; }
@media (max-width: 1024px) {
  .doc { width: calc((100% - 22px) / 2); }
  .doc-lead { width: 100%; }
}
@media (max-width: 760px) and (min-width: 681px) {
  .doc-lead { flex-direction: column; }
  .doc-lead .doc-media { width: 100%; aspect-ratio: 16 / 11; }
}
/* phones: one row to swipe through */
@media (max-width: 680px) {
  .team-grid { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: -20px; padding: 6px 20px 22px; scrollbar-width: none; }
  .team-grid::-webkit-scrollbar { display: none; }
  .doc, .doc-lead { flex: 0 0 84%; width: auto; scroll-snap-align: center; flex-direction: column; }
  .doc:hover, .doc:focus-within { transform: none; }
  .doc-lead .doc-media { width: 100%; aspect-ratio: 4 / 5; }
  .doc-lead .doc-body, .doc-body { padding: 6px 22px 24px; margin-top: -24px; }
  .doc-lead .doc-name { font-size: 24px; }
  .doc-bio { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) { .doc, .doc:hover { transition: none; transform: none; } }
.bk-doc { display: block; font-size: 15px; font-weight: 500; color: var(--accent-deep); margin-top: 4px; }
.doc-more { align-self: flex-start; margin: -6px 0 18px; font-weight: 500; color: var(--accent-deep); border-bottom: 1.5px solid var(--accent-light); }
.doc-more:hover { border-color: var(--accent); }

/* ---------- articles and activities (articles.js) ---------- */
.articles-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; max-width: none; flex-wrap: wrap; }
.articles-all { font-weight: 500; color: var(--accent-deep); border-bottom: 1.5px solid var(--accent-light); }
.articles-all:hover { border-color: var(--accent); }
.articles-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.article-card { display: flex; flex-direction: column; gap: 8px; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  padding-bottom: 22px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.article-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.article-card img, .article-noimg { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.article-noimg { background: linear-gradient(135deg, var(--accent-light), var(--soft)); }
.article-card .article-meta, .article-card h3, .article-card p { padding-inline: 22px; }
.article-meta { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.article-meta b { color: var(--accent-deep); font-weight: 600; }
.article-card h3 { font-size: 19px; }
.article-card p { color: var(--muted); font-size: 15px; line-height: 1.7; }
@media (max-width: 1024px) { .articles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .articles-grid { grid-template-columns: 1fr; } }
