/* Dr. Lorena Bican. Palette drawn from tooth anatomy:
   ink = the dark of the mouth, porcelain = enamel, incisal = translucent edge, rose = soft tissue. */
:root {
  --ink: #0E1B22;
  --ink-2: #14262F;
  --ink-3: #1D3540;
  --porcelain: #F4F6F6;
  --incisal: #E4EBED;
  --white: #fff;
  --slate: #55666E;
  --line: #CDD7DA;
  --rose: #C9707A;
  --rose-soft: #E79AA3;
  --gingiva: #A34A54;
  --gingiva-deep: #8B3B45;
  --on-dark: #EEF2F2;
  --on-dark-2: #A9B9C0;
  --line-dark: rgba(255, 255, 255, .14);
  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --wrap: 1240px;
  --gut: clamp(1.25rem, 4vw, 2.75rem);
  --curve: clamp(1.75rem, 5vw, 4.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; background: var(--porcelain); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 300; line-height: 1.1; letter-spacing: -0.015em; margin: 0; text-wrap: balance; }
p { margin: 0 0 1.1rem; }
a { color: inherit; text-decoration-color: var(--gingiva); text-decoration-thickness: 1px; text-underline-offset: .22em; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 2px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.skip { position: absolute; left: 1rem; top: -4rem; background: #fff; color: var(--ink); padding: .6rem 1rem; z-index: 100; }
.skip:focus { top: 1rem; }
.todo { background: #FFF1B8; color: #5C4400; outline: 1px dashed #B58900; padding: 0 .3em; border-radius: 2px; font-weight: 500; }
.on-dark { color: var(--on-dark); }

/* ---------- progress + header */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 70; pointer-events: none; }
.progress i { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--rose), #F0C9A8); }
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 60; color: var(--on-dark); transition: transform .5s var(--ease), background-color .4s, box-shadow .4s; }
.site-header.scrolled { background: rgba(14, 27, 34, .8); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 1px 0 var(--line-dark); }
.site-header.hide { transform: translateY(-100%); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1.25rem; transition: padding .4s var(--ease); }
.scrolled .bar { padding-block: .8rem; }
.brand { display: grid; text-decoration: none; line-height: 1.15; position: relative; z-index: 2; }
.brand-name { font: 300 1.65rem/1 var(--serif); letter-spacing: -.01em; color: #fff; }
.brand-sub { font-size: .8rem; color: var(--on-dark-2); margin-top: .4rem; }
.nav { display: flex; align-items: center; gap: 1.5rem; font-size: .95rem; white-space: nowrap; }
.nav > a, .dd-btn { color: var(--on-dark); text-decoration: none; padding-block: .3rem; background: linear-gradient(var(--rose), var(--rose)) 0 100% / 0 1px no-repeat; transition: color .2s, background-size .55s var(--ease); }
.nav > a:hover, .dd-btn:hover { color: #fff; background-size: 100% 1px; }
.nav > a[aria-current="page"] { background-size: 100% 1px; }
.nav .nav-cta { background: var(--porcelain); color: var(--ink); padding: .65rem 1.2rem; border-radius: 999px; border-bottom: 0; font-weight: 600; transition: background-color .25s, transform .25s; }
.nav .nav-cta:hover { background: #fff; color: var(--ink); }
.lang { display: flex; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; font-size: .78rem; font-weight: 600; overflow: hidden; }
.lang a { text-decoration: none; padding: .35rem .7rem; color: var(--on-dark-2); }
.lang a[aria-current="true"] { background: rgba(255, 255, 255, .16); color: #fff; }
.menu-btn { display: none; font: inherit; font-weight: 600; background: none; border: 1px solid rgba(255, 255, 255, .4); border-radius: 999px; padding: .5rem 1.1rem; color: #fff; cursor: pointer; position: relative; z-index: 2; }
.dd { position: relative; }
.dd-btn { font: inherit; background-color: transparent; border: 0; padding-inline: 0; cursor: pointer; display: inline-flex; align-items: center; gap: .5rem; }
.dd-btn::after { content: ""; width: .42rem; height: .42rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.dd-list { display: none; list-style: none; margin: 0; padding: .5rem; position: absolute; top: calc(100% + 1rem); left: -1rem; min-width: 19rem; background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 18px; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .6); z-index: 30; }
.dd.open .dd-list, .no-js .dd:hover .dd-list, .no-js .dd:focus-within .dd-list { display: block; }
.dd-list a { display: block; padding: .7rem 1rem; text-decoration: none; border-radius: 12px; color: var(--on-dark); }
.dd-list a:hover { background: rgba(255, 255, 255, .08); }
.dd-list a[aria-current="page"] { box-shadow: inset 2px 0 var(--rose); }

@media (max-width: 1180px) {
  .menu-btn { display: inline-block; }
  .nav { position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: flex-start; justify-content: center; gap: .2rem; padding: 6rem var(--gut) 3rem; background: radial-gradient(120% 80% at 80% 0%, var(--ink-3), var(--ink) 70%); font-size: 1rem; white-space: normal; overflow-y: auto; }
  .js .nav { visibility: hidden; opacity: 0; transform: translateY(-12px); transition: opacity .4s var(--ease), transform .5s var(--ease), visibility 0s .5s; }
  .js .nav.nav-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .no-js .nav { position: static; padding: 1rem var(--gut); background: var(--ink); }
  .no-js .menu-btn { display: none; }
  .nav > a, .dd-btn { font: 300 clamp(1.7rem, 6vw, 2.4rem)/1.25 var(--serif); padding-block: .35rem; border: 0; }
  .nav .nav-cta { font: 600 1rem var(--sans); margin-top: 1.2rem; }
  .dd { width: 100%; }
  .dd-btn { pointer-events: none; }
  .dd-btn::after { display: none; }
  .dd-list, .js .dd-list { display: block; position: static; background: none; border: 0; box-shadow: none; padding: 0 0 .4rem 1rem; min-width: 0; }
  .dd-list a { font: 300 1.25rem/1.3 var(--serif); color: var(--on-dark-2); padding: .25rem 0; }
  .lang { margin-top: 1.5rem; }
}

/* ---------- buttons */
.btn { display: inline-block; background: linear-gradient(135deg, #B65D68, #8F3E4A); color: #fff; text-decoration: none; font-weight: 600; font-size: 1rem; line-height: 1.2; padding: 1rem 1.7rem; border: 0; border-radius: 999px; box-shadow: 0 10px 30px -12px rgba(163, 74, 84, .8); transition: transform .3s var(--ease), box-shadow .3s; will-change: transform; }
.btn:hover { box-shadow: 0 16px 36px -12px rgba(201, 112, 122, .9); }
.btn-light { background: var(--porcelain); color: var(--ink); box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .6); }
.btn-quiet { font-weight: 600; text-decoration: underline; text-decoration-color: var(--rose); text-underline-offset: .3em; }
.hero .btn-quiet, .cta .btn-quiet { color: #fff; }
.btn-quiet:hover { text-decoration-thickness: 2px; }

/* ---------- reveal + motion */
.js :is(.sec-head p, .panel, .questions li, .rows li, .prose > section, .explorer, .about-statement, .cta-grid, .foot-grid, [data-reveal]) { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease), flex-grow .7s var(--ease); transition-delay: var(--d, 0s); }
.js :is(.sec-head p, .panel, .questions li, .rows li, .prose > section, .explorer, .about-statement, .cta-grid, .foot-grid, [data-reveal]).in { opacity: 1; transform: none; }
.js [data-split]:not(.split) { visibility: hidden; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.w > span { display: inline-block; }
.js [data-split] .w > span { transform: translateY(108%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 70ms + var(--d, 0s)); }
.js [data-split].in .w > span { transform: none; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes draw { from { stroke-dashoffset: 1; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js :is(.sec-head p, .panel, .questions li, .rows li, .prose > section, .explorer, .about-statement, .cta-grid, .foot-grid, [data-reveal]), .js [data-split] .w > span { opacity: 1 !important; transform: none !important; transition: none !important; }
  *, *::before, *::after { animation: none !important; }
}

/* ---------- home hero */
.hero { position: relative; background: radial-gradient(90% 100% at 78% 25%, var(--ink-3) 0%, var(--ink) 62%); color: var(--on-dark); padding: 9.5rem 0 calc(var(--curve) + 4.5rem); border-radius: 0 0 50% 50% / 0 0 var(--curve) var(--curve); overflow: hidden; isolation: isolate; }
.hero .glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(560px circle at var(--gx, 72%) var(--gy, 38%), rgba(231, 154, 163, .17), transparent 62%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.28fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: center; }
.hero h1 { font-size: clamp(3.4rem, 6.6vw, 6.2rem); font-weight: 200; line-height: .95; letter-spacing: -.035em; color: #fff; max-width: 10ch; }
.hero-role { margin: 1.6rem 0 0; color: var(--on-dark-2); font-size: 1.05rem; }
.hero-statement { font: italic 300 clamp(1.4rem, 2.3vw, 1.85rem)/1.32 var(--serif); margin: 1.6rem 0 0; max-width: 24ch; color: #fff; }
.focus-inline { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem 1.6rem; margin: 1.8rem 0 0; padding: 0; font-size: .95rem; font-weight: 500; color: var(--on-dark); }
.focus-inline li { position: relative; padding-left: 1.1rem; }
.focus-inline li::before { content: ""; position: absolute; left: 0; top: .85em; width: .7rem; height: 1px; background: var(--rose-soft); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin: 2.3rem 0 0; }
.hero-copy > * { animation: rise 1s var(--ease) both; }
.hero-copy > *:nth-child(2) { animation-delay: .15s; } .hero-copy > *:nth-child(3) { animation-delay: .3s; } .hero-copy > *:nth-child(4) { animation-delay: .45s; } .hero-copy > *:nth-child(5) { animation-delay: .6s; }

.hero-art { position: relative; margin-right: calc(var(--gut) * -0.6); }
.smile-wrap { position: relative; }
.smile-svg { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .45)); animation: fade 1.2s .1s both; }
.smile-svg .tooth { cursor: pointer; outline: none; transform-box: fill-box; transition: transform .45s var(--ease); animation: rise 1.1s var(--ease) both; }
.smile-svg .tooth:nth-child(1) { animation-delay: .5s; } .smile-svg .tooth:nth-child(2) { animation-delay: .6s; } .smile-svg .tooth:nth-child(3) { animation-delay: .7s; } .smile-svg .tooth:nth-child(4) { animation-delay: .8s; } .smile-svg .tooth:nth-child(5) { animation-delay: .9s; } .smile-svg .tooth:nth-child(n+6) { animation-delay: .9s; }
.smile-svg .tooth:hover, .smile-svg .tooth:focus-visible, .smile-svg .tooth.on { transform: translateY(-5px); }
.smile-svg .t-line { fill: none; stroke: rgba(14, 27, 34, .42); stroke-width: 1.2; stroke-dasharray: 1; transition: stroke .3s, stroke-width .3s; }
.smile-svg .tooth:hover .t-line, .smile-svg .tooth:focus-visible .t-line, .smile-svg .tooth.on .t-line { stroke: var(--rose); stroke-width: 2.4; }
.smile-svg .t-hi { pointer-events: none; opacity: .8; }
.smile-svg .t-sheen { pointer-events: none; }
.smile-svg .sm-lips .lp { stroke-dasharray: 1; animation: draw 2.4s .1s var(--ease) both; }
.plan-guides { transition: opacity .6s var(--ease); pointer-events: none; }
.plan-guides > * { animation: fade 1s both; }
.plan-guides .g1 { animation-delay: 1.5s; } .plan-guides .g2 { animation-delay: 1.75s; } .plan-guides .g3 { animation-delay: 2s; } .plan-guides .g4, .plan-guides .g5 { animation-delay: 2.25s; } .plan-guides .lbl { animation-delay: 2.5s; }
.hero-art.plan-off .plan-guides { opacity: 0; }
.hero-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .9rem 1.5rem; margin-top: 1.25rem; animation: fade 1s 1.4s both; }
.shades { display: flex; align-items: center; gap: .6rem; }
.tools-label { font-size: .85rem; color: var(--on-dark-2); margin-right: .3rem; }
.shade { width: 1.7rem; height: 1.7rem; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: var(--c); box-shadow: inset 0 0 0 1px rgba(14, 27, 34, .25); transition: transform .3s var(--ease), box-shadow .3s; }
.shade:hover { transform: scale(1.12); }
.shade[aria-pressed="true"] { box-shadow: inset 0 0 0 1px rgba(14, 27, 34, .25), 0 0 0 2px var(--ink), 0 0 0 4px var(--rose-soft); }
.plan-toggle { font: 500 .85rem var(--sans); color: var(--on-dark); background: none; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; padding: .5rem 1rem; cursor: pointer; transition: background-color .25s, border-color .25s; }
.plan-toggle:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .5); }
.hero-info { min-height: 3.2em; margin: 1rem 0 0; font-size: .95rem; color: var(--on-dark-2); max-width: 46ch; animation: fade 1s 1.5s both; }
@media (max-width: 960px) {
  .hero { padding-top: 8rem; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { max-width: none; }
  .hero-art { margin-right: 0; }
}
@media (max-width: 560px) { .focus-inline { flex-direction: column; } .smile-svg .lbl { display: none; } }

/* ---------- home sections */
.sec { position: relative; padding-block: clamp(4.5rem, 9vw, 8rem); }
.sec-tint { background: var(--incisal); }
.sec-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.sec-head h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); font-weight: 200; letter-spacing: -.025em; }
.sec-head p { color: var(--slate); margin: 1.1rem 0 0; max-width: 58ch; font-size: 1.1rem; }

.panels { display: flex; gap: 1rem; }
.panel { position: relative; flex: 1 1 0; min-width: 0; min-height: 35rem; display: flex; flex-direction: column; color: var(--on-dark); text-decoration: none; background: linear-gradient(175deg, var(--ink-3), var(--ink) 75%); border-radius: 30px; overflow: hidden; isolation: isolate; transition: flex-grow .7s var(--ease), transform .5s var(--ease); }
.panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 25%), rgba(231, 154, 163, .2), transparent 62%); opacity: 0; transition: opacity .5s; }
.panel:hover::before, .panel:focus-visible::before { opacity: 1; }
@media (hover: hover) and (min-width: 1000px) { .panels:hover .panel { flex-grow: .85; } .panels .panel:hover { flex-grow: 1.4; } }
.panel-art { flex: 1; display: grid; place-items: center; padding: 2.25rem 2rem 0; }
.panel-art .ill { width: min(100%, 20rem); }
.panel-body { padding: 1.5rem 2rem 2.2rem; }
.panel h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); color: #fff; }
.panel p { color: var(--on-dark-2); margin: .8rem 0 1.1rem; font-size: .98rem; }
.panel .go { font-weight: 600; font-size: .95rem; color: var(--rose-soft); text-decoration: underline; text-underline-offset: .3em; }
@media (max-width: 999px) { .panels { flex-direction: column; } .panel { min-height: 0; } .panel-art { padding-top: 1.75rem; } }

/* illustrations */
.ill { display: block; height: auto; overflow: visible; }
.ill .halo { fill: rgba(231, 154, 163, .07); }
.ill .ln { fill: none; stroke: rgba(14, 27, 34, .45); stroke-width: 1.4; }
.ill .dark { fill: #160B10; }
.ill-shell, .ill-lat, .ill-full, .ill-worn, .ill-target, .ill-glue { transform-box: fill-box; transform-origin: center; transition: transform 1.1s var(--ease), opacity .9s var(--ease); }
.ill-veneer .ill-shell { transform: translate(52px, -40px) rotate(9deg); }
.ill-veneer .ill-glue { opacity: 0; }
.panel:hover .ill-veneer .ill-shell, .panel.play .ill-veneer .ill-shell { transform: none; }
.panel:hover .ill-veneer .ill-glue, .panel.play .ill-veneer .ill-glue { opacity: 1; }
.ill-gap .ill-target { opacity: 1; }
.panel:hover .ill-gap .ill-lat, .panel.play .ill-gap .ill-lat { transform: scaleX(1.42); }
.panel:hover .ill-gap .ill-target, .panel.play .ill-gap .ill-target { opacity: 0; }
.ill-wear .ill-full { opacity: 0; transform: translateY(14px); }
.panel:hover .ill-wear .ill-full, .panel.play .ill-wear .ill-full { opacity: 1; transform: none; }
.panel:hover .ill-wear .ill-worn, .panel.play .ill-wear .ill-worn { opacity: 0; }
/* page-head loops */
.page-hero-art .ill-veneer .ill-shell { animation: shell 6s var(--ease) infinite alternate; }
.page-hero-art .ill-veneer .ill-glue { animation: fadeLoop 6s var(--ease) infinite alternate; }
.page-hero-art .ill-gap .ill-lat { animation: grow 6s var(--ease) infinite alternate; }
.page-hero-art .ill-gap .ill-target { animation: fadeOutLoop 6s var(--ease) infinite alternate; }
.page-hero-art .ill-wear .ill-full { animation: fadeLoop 6s var(--ease) infinite alternate; }
.page-hero-art .ill-wear .ill-worn { animation: fadeOutLoop 6s var(--ease) infinite alternate; }
@keyframes shell { 0%, 15% { transform: translate(52px, -40px) rotate(9deg); } 85%, 100% { transform: none; } }
@keyframes grow { 0%, 15% { transform: none; } 85%, 100% { transform: scaleX(1.42); } }
@keyframes fadeLoop { 0%, 15% { opacity: 0; } 85%, 100% { opacity: 1; } }
@keyframes fadeOutLoop { 0%, 15% { opacity: 1; } 85%, 100% { opacity: 0; } }
.ill-arc { width: 100%; }
.ill-arc .arc { fill: none; stroke: var(--rose-soft); stroke-width: 1.3; stroke-dasharray: 1; animation: draw 3.2s var(--ease) both; }
.ill-arc .a0 { opacity: .85; } .ill-arc .a1 { animation-delay: .3s; opacity: .55; } .ill-arc .a2 { animation-delay: .6s; opacity: .3; }
.ill-arc .pearl { animation: rise 1.4s var(--ease) calc(.5s + var(--i) * .09s) both, float 5s ease-in-out calc(2.2s + var(--i) * .25s) infinite alternate; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .35)); }
@keyframes float { to { transform: translateY(-7px); } }

/* ---------- pinned story */
.story { position: relative; background: var(--ink); color: var(--on-dark); border-radius: 50% 50% 50% 50% / var(--curve) var(--curve) var(--curve) var(--curve); margin-block: calc(var(--curve) * -0.5); z-index: 2; }
.js .story-track { height: 420svh; }
.js .story-sticky { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; }
.no-js .story-sticky { padding-block: 5rem; }
.story-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; width: 100%; }
.story h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); font-weight: 200; letter-spacing: -.025em; color: #fff; }
.story-intro { color: var(--on-dark-2); margin: 1rem 0 0; max-width: 46ch; }
.story-steps { list-style: none; margin: 1.75rem 0 0; padding: 0; counter-reset: st; }
.story-steps li { counter-increment: st; border-top: 1px solid var(--line-dark); padding: .7rem 0; }
.story-steps li:last-child { border-bottom: 1px solid var(--line-dark); }
.story-steps h3 { font: inherit; letter-spacing: 0; }
.step-btn { all: unset; box-sizing: border-box; cursor: pointer; display: flex; gap: 1.1rem; align-items: baseline; width: 100%; font: 300 1.4rem/1.25 var(--serif); color: var(--on-dark-2); transition: color .4s; }
.step-btn::before { content: counter(st); font: 200 1.9rem/1 var(--serif); color: var(--rose); min-width: 1.6rem; opacity: .6; transition: opacity .4s; }
.step-btn:focus-visible { outline: 2px solid var(--rose); outline-offset: 4px; }
.story-steps li.on .step-btn { color: #fff; }
.story-steps li.on .step-btn::before { opacity: 1; }
.story-steps p { color: var(--on-dark-2); margin: .5rem 0 .2rem 2.7rem; font-size: .98rem; max-width: 44ch; }
.js .story-steps p { max-height: 0; opacity: 0; overflow: hidden; margin-block: 0; transition: max-height .6s var(--ease), opacity .5s, margin .5s; }
.js .story-steps li.on p { max-height: 9rem; opacity: 1; margin-block: .5rem .2rem; }
.story-art { position: relative; }
.story-svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .4)); }
.story-svg .layer { opacity: 0; transition: opacity .8s var(--ease); }
.no-js .story-svg .l0 { opacity: 1; }
.story[data-step="0"] .l0, .story[data-step="1"] .l1, .story[data-step="2"] .l2, .story[data-step="3"] .l3, .story[data-step="4"] .l4 { opacity: 1; }
.story-svg .base { transition: opacity .8s; }
.story[data-step="3"] .story-svg .base { opacity: .45; }
.story-svg .scan { animation: scan 3.8s ease-in-out infinite alternate; }
@keyframes scan { from { transform: translateY(0); } to { transform: translateY(232px); } }
.story[data-step="3"] .shells { animation: bond 3s .2s var(--ease) both; }
@keyframes bond { 0% { transform: translateY(-46px); filter: none; } 55% { transform: none; filter: none; } 75% { filter: drop-shadow(0 0 14px rgba(231, 154, 163, .9)); } 100% { transform: none; filter: drop-shadow(0 0 5px rgba(231, 154, 163, .45)); } }
@media (max-width: 900px) {
  .js .story-track { height: 380svh; }
  .story-grid { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .story-art { order: -1; max-width: 26rem; margin-inline: auto; width: 100%; }
  .story-intro { display: none; }
  .story h2 { font-size: 1.7rem; }
  .story-steps { margin-top: 1rem; }
  .step-btn { font-size: 1.15rem; }
  .story-steps li { padding: .5rem 0; }
  .story-steps p { font-size: .9rem; margin-left: 2.6rem; }
}
@media (max-width: 900px) and (max-height: 700px) { .story-art { max-width: 17rem; } }

/* ---------- questions, rows */
.questions { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.questions li { border-bottom: 1px solid var(--line); }
.questions a { position: relative; display: block; padding: 1.5rem 0; font: 300 clamp(1.4rem, 2.7vw, 2.1rem)/1.22 var(--serif); text-decoration: none; transition: padding-left .5s var(--ease), color .3s; }
.questions a::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--gingiva); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.questions a:hover, .questions a:focus-visible { padding-left: 1.1rem; color: var(--gingiva-deep); }
.questions a:hover::after, .questions a:focus-visible::after { transform: scaleX(1); }
.two-col { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: minmax(0, 1fr); } }
.about-statement { font: 200 clamp(1.7rem, 3vw, 2.6rem)/1.28 var(--serif); letter-spacing: -.015em; margin: 0 0 1.5rem; }
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.rows li { border-bottom: 1px solid var(--line); }
.rows a { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.3fr) auto; gap: .5rem 2.5rem; align-items: baseline; padding: 1.7rem 0; text-decoration: none; transition: padding-left .5s var(--ease); }
.rows a:hover { padding-left: 1rem; }
.rows h3 { font-size: clamp(1.35rem, 2.3vw, 1.85rem); transition: color .3s; }
.rows p { margin: 0; color: var(--slate); font-size: .98rem; }
.rows time { font-size: .85rem; color: var(--slate); white-space: nowrap; }
.rows a:hover h3 { color: var(--gingiva-deep); }
@media (max-width: 800px) { .rows a { grid-template-columns: minmax(0, 1fr); } }
.empty { color: var(--slate); border: 1px dashed var(--line); padding: 1.25rem 1.5rem; max-width: 46rem; border-radius: 18px; }

/* ---------- arch frame for portraits */
.portrait { margin: 0; width: 100%; max-width: 17rem; aspect-ratio: 4 / 5; border-radius: 999px 999px 26px 26px; overflow: hidden; background: var(--incisal); box-shadow: 0 30px 50px -30px rgba(14, 27, 34, .55); }
.portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.sec-head .portrait { margin-top: 2rem; }
.photo-slot { aspect-ratio: 4 / 5; background: linear-gradient(180deg, var(--incisal), #d5e0e3); border: 1px dashed var(--slate); border-radius: 999px 999px 26px 26px; display: grid; place-items: center; text-align: center; padding: 1.5rem; color: var(--slate); font-size: .9rem; margin: 0; }

/* ---------- inner page hero */
.page-hero { position: relative; background: radial-gradient(80% 130% at 88% 0%, var(--ink-3) 0%, var(--ink) 62%); color: var(--on-dark); padding: 9rem 0 calc(var(--curve) + 3.25rem); border-radius: 0 0 50% 50% / 0 0 var(--curve) var(--curve); overflow: hidden; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 3rem; align-items: center; }
.page-hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.9rem); font-weight: 200; letter-spacing: -.03em; line-height: 1.02; color: #fff; }
.page-hero .lead { font: 300 clamp(1.2rem, 2vw, 1.5rem)/1.5 var(--serif); color: #D5DEE1; max-width: 40rem; margin: 1.5rem 0 0; }
.page-hero .meta { display: flex; flex-wrap: wrap; gap: .25rem 1.75rem; font-size: .875rem; color: var(--on-dark-2); margin: 1.75rem 0 0; }
.page-hero .meta a { color: inherit; }
.page-hero-copy > * { animation: rise 1s var(--ease) both; }
.page-hero-copy > *:nth-child(2) { animation-delay: .1s; } .page-hero-copy > *:nth-child(3) { animation-delay: .25s; } .page-hero-copy > *:nth-child(4) { animation-delay: .4s; }
.page-hero-art { justify-self: end; width: min(100%, 24rem); }
.page-hero-art .ill { width: 100%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .4)); }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; } .page-hero-art { width: 12rem; justify-self: start; } .page-hero { padding-top: 7.5rem; } }
.crumbs { margin-bottom: 1.4rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .25rem .5rem; list-style: none; padding: 0; margin: 0; font-size: .875rem; color: var(--on-dark-2); }
.crumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }

.page-grid { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: clamp(2rem, 6vw, 5.5rem); padding-block: clamp(3.5rem, 6vw, 5.5rem) clamp(6rem, 9vw, 9rem); }
.page-grid.no-toc { grid-template-columns: minmax(0, 1fr); }
.toc { position: sticky; top: 6.5rem; align-self: start; font-size: .9rem; }
.toc summary { font-weight: 600; margin-bottom: .75rem; list-style: none; cursor: default; }
.toc summary::-webkit-details-marker { display: none; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: .35rem 0 .35rem 1rem; margin-left: -1px; border-left: 2px solid transparent; color: var(--slate); text-decoration: none; line-height: 1.35; transition: color .25s, border-color .25s; }
.toc a:hover, .toc a.on { color: var(--ink); border-left-color: var(--rose); }
@media (max-width: 900px) {
  .page-grid { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .toc { position: static; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1rem 1.25rem; }
  .toc summary { cursor: pointer; margin: 0; }
  .toc[open] summary { margin-bottom: .75rem; }
}

/* ---------- prose */
.prose { max-width: 100%; }
.prose > section { margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line); }
.prose > section:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h2 { font-size: clamp(1.7rem, 2.9vw, 2.4rem); font-weight: 300; margin-bottom: 1.2rem; scroll-margin-top: 6rem; max-width: 30ch; }
.prose h3 { font: 400 1.3rem/1.25 var(--serif); margin: 1.9rem 0 .6rem; }
.prose p, .prose ul, .prose ol.seq { max-width: 44rem; }
.prose .qa h2 + p { font-size: 1.15rem; }
.prose ul { padding: 0; list-style: none; margin: 0 0 1.3rem; }
.prose ul li { position: relative; padding-left: 1.5rem; margin: .6rem 0; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .82em; width: .75rem; height: 1px; background: var(--gingiva); }
.prose a { color: var(--gingiva-deep); }
.prose strong { font-weight: 600; }
.prose ol.seq { list-style: none; padding: 0; margin: 1.25rem 0 1.5rem; counter-reset: s; }
.prose ol.seq > li { counter-increment: s; display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: 0 1rem; padding: 1.1rem 0; border-top: 1px solid var(--line); }
.prose ol.seq > li:last-child { border-bottom: 1px solid var(--line); }
.prose ol.seq > li::before { content: counter(s); font: 200 2rem/1 var(--serif); color: var(--gingiva); }
.prose ol.seq p { margin: .25rem 0 0; }
.prose ol.seq strong { display: block; }
.note { border-left: 2px solid var(--gingiva); padding: .3rem 0 .3rem 1.25rem; margin: 1.6rem 0; max-width: 44rem; }
.note p { margin: 0 0 .5rem; }
.note p:last-child { margin: 0; }
.table-wrap { overflow-x: auto; margin: 1.5rem 0; max-width: 100%; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; min-width: 34rem; font-size: .95rem; }
th, td { text-align: left; vertical-align: top; padding: .85rem 1.25rem .85rem 0; border-top: 1px solid var(--line); }
thead th { font-weight: 600; border-top: 1px solid var(--ink); }
tbody th { font-weight: 600; width: 26%; }
tbody tr:last-child > * { border-bottom: 1px solid var(--line); }
.refs ol { font-size: .9rem; color: var(--slate); padding-left: 1.25rem; }
.refs li { margin: .5rem 0; }
.disclaimer { font-size: .85rem; color: var(--slate); border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 3rem; max-width: 44rem; }
.about-intro { display: grid; grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 700px) { .about-intro { grid-template-columns: minmax(0, 1fr); } .photo-slot { max-width: 16rem; } }
.pull { margin: 0; max-width: 40rem; }
.pull::before { content: ""; display: block; width: 3rem; height: 1px; background: var(--gingiva); margin-bottom: 1.4rem; }
.prose .pull p { font: italic 200 clamp(1.8rem, 3.4vw, 2.7rem)/1.25 var(--serif); letter-spacing: -.015em; margin: 0 0 1rem; max-width: none; }
.pull footer { font-size: .9rem; color: var(--slate); }
.principles { margin: 1.25rem 0 0; max-width: 44rem; }
.principles > div { padding: 1.1rem 0; border-top: 1px solid var(--line); }
.principles > div:last-child { border-bottom: 1px solid var(--line); }
.principles dt { font: 400 1.3rem/1.25 var(--serif); }
.principles dd { margin: .35rem 0 0; color: var(--slate); }
.contact-list { margin: 1.25rem 0; max-width: 44rem; }
.contact-list > div { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: .25rem 1rem; padding: .9rem 0; border-top: 1px solid var(--line); }
.contact-list > div:last-child { border-bottom: 1px solid var(--line); }
.contact-list dt { color: var(--slate); font-size: .95rem; }
.contact-list dd { margin: 0; }

/* ---------- interactive explorers */
.explorer { position: relative; margin: 2.25rem 0; padding: clamp(1.25rem, 3vw, 2.25rem); color: var(--on-dark); background: radial-gradient(90% 120% at 100% 0%, var(--ink-3), var(--ink) 65%); border-radius: 30px; max-width: 100%; overflow: hidden; }
.ex-head h3 { font: 300 clamp(1.5rem, 2.6vw, 2rem)/1.15 var(--serif); color: #fff; margin: 0 0 .6rem; letter-spacing: -.01em; }
.ex-head p { color: var(--on-dark-2); margin: 0; max-width: 56ch; font-size: .98rem; }
.ex-stage { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: center; margin-top: 1.5rem; }
.ex-stage-wide { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
.ex-art svg { display: block; width: 100%; height: auto; }
.explorer-enamel .ex-stage { grid-template-columns: minmax(0, .62fr) minmax(0, 1fr); }
.explorer-enamel .ex-art svg { width: auto; max-width: 100%; max-height: 25rem; margin-inline: auto; }
.explorer .ex-legend { list-style: none; margin: 0 0 1.25rem; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; font-size: .85rem; color: var(--on-dark-2); max-width: none; }
.explorer .ex-legend li { display: flex; align-items: center; gap: .45rem; margin: 0; padding: 0; }
.explorer .ex-legend li::before { display: none; }
.sw { width: .8rem; height: .8rem; border-radius: 50%; display: inline-block; }
.sw-enamel { background: #E6EEF2; } .sw-dentin { background: #D9BE8E; } .sw-pulp { background: #D98E8B; } .sw-veneer { background: #fff; box-shadow: inset 0 0 0 2px var(--rose-soft); } .sw-exposed { background: #F0B44A; } .sw-exposed2 { background: #D2B07E; } .sw-ghost { background: none; box-shadow: inset 0 0 0 1.5px var(--rose-soft); }
.ex-gauge { margin-bottom: 1rem; }
.ex-gauge-row { display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; color: var(--on-dark-2); margin-bottom: .4rem; }
.ex-gauge-row b { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.gbar { height: 6px; background: rgba(255, 255, 255, .12); border-radius: 99px; overflow: hidden; }
.gbar i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, #8FD0C0, #DDF3EC); transition: width .25s var(--ease); }
.gbar.warn i { background: linear-gradient(90deg, var(--rose), #F0B44A); }
.explorer .ex-msg { margin: 1.1rem 0 0; color: #fff; font-size: 1.02rem; line-height: 1.55; min-height: 5.6em; max-width: none; }
.ex-control { margin-top: 1.5rem; }
.ex-control label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: .75rem; }
.ex-ticks { display: flex; justify-content: space-between; gap: 1rem; font-size: .8rem; color: var(--on-dark-2); margin-top: .5rem; }
.explorer .ex-note { font-size: .8rem; color: var(--on-dark-2); margin: 1.25rem 0 0; max-width: none; }
.ex-stops { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.ex-stops button { font: 500 .88rem var(--sans); color: var(--on-dark); background: none; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; padding: .5rem 1rem; cursor: pointer; transition: background-color .25s, border-color .25s, color .25s; }
.ex-stops button:hover { border-color: rgba(255, 255, 255, .55); }
.ex-stops button[aria-pressed="true"] { background: var(--porcelain); color: var(--ink); border-color: var(--porcelain); }
.no-js .ex-control { display: none; }
.explorer input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: none; margin: 0; cursor: pointer; --v: 0%; }
.explorer input[type=range]::-webkit-slider-runnable-track { height: 4px; border-radius: 99px; background: linear-gradient(90deg, var(--rose) var(--v), rgba(255, 255, 255, .2) var(--v)); }
.explorer input[type=range]::-moz-range-track { height: 4px; border-radius: 99px; background: rgba(255, 255, 255, .2); }
.explorer input[type=range]::-moz-range-progress { height: 4px; border-radius: 99px; background: var(--rose); }
.explorer input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -11px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #E4EBED); border: 2px solid var(--rose); box-shadow: 0 6px 16px rgba(0, 0, 0, .45); transition: transform .2s; }
.explorer input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--rose); box-shadow: 0 6px 16px rgba(0, 0, 0, .45); }
.explorer input[type=range]:active::-webkit-slider-thumb { transform: scale(1.15); }
@media (max-width: 760px) { .ex-stage, .ex-stage-wide { grid-template-columns: minmax(0, 1fr); } .explorer .ex-msg { min-height: 0; } }

/* ---------- call to action + footer */
.cta { position: relative; background: radial-gradient(90% 140% at 15% 0%, var(--ink-3), var(--ink) 60%); color: var(--on-dark); padding: calc(var(--curve) + 3.5rem) 0 clamp(4rem, 7vw, 6rem); border-radius: 50% 50% 0 0 / var(--curve) var(--curve) 0 0; margin-top: calc(var(--curve) * -1); overflow: hidden; z-index: 3; }
.cta::before { content: ""; position: absolute; width: 60rem; height: 60rem; right: -34rem; top: -30rem; border-radius: 50%; border: 1px solid rgba(231, 154, 163, .25); box-shadow: 0 0 0 4rem rgba(231, 154, 163, .04), 0 0 0 9rem rgba(231, 154, 163, .03); pointer-events: none; }
.cta-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 2rem 4rem; align-items: center; }
.cta h2 { font-size: clamp(2rem, 4vw, 3.3rem); font-weight: 200; letter-spacing: -.025em; color: #fff; }
.cta p { color: var(--on-dark-2); max-width: 50ch; margin: 1.1rem 0 0; }
@media (max-width: 800px) { .cta-grid { grid-template-columns: minmax(0, 1fr); } .cta .btn { justify-self: start; } }
.site-footer { position: relative; background: var(--ink); color: var(--on-dark); padding: clamp(3.5rem, 6vw, 5rem) 0 2.25rem; font-size: .95rem; border-top: 1px solid var(--line-dark); }
.cta + .site-footer { border-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2.25rem; }
.foot-name { font: 200 clamp(1.7rem, 3vw, 2.3rem)/1.1 var(--serif); color: #fff; margin: 0 0 .75rem; }
.foot-h { font-weight: 600; margin: 0 0 .75rem; color: #fff; }
.foot-text { color: var(--on-dark-2); margin: 0; max-width: 34ch; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: .35rem 0; }
.site-footer a { text-decoration: none; color: var(--on-dark-2); transition: color .2s; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-legal { font-size: .8rem; color: var(--on-dark-2); max-width: 62rem; margin: 2.25rem 0 0; opacity: .85; }
.foot-legal + .foot-legal { margin-top: .75rem; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- language chooser and 404 */
.chooser { position: relative; min-height: 100svh; display: grid; align-content: center; padding-block: 5rem; background: radial-gradient(90% 100% at 80% 20%, var(--ink-3), var(--ink) 62%); color: var(--on-dark); overflow: hidden; }
.chooser-art { position: absolute; right: -5%; top: 50%; width: min(60vw, 46rem); transform: translateY(-50%); opacity: .9; pointer-events: none; }
.chooser .wrap { position: relative; }
.chooser-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.chooser-portrait { justify-self: end; max-width: 22rem; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .7); animation: rise 1.2s .3s var(--ease) both; }
.chooser-copy > * { animation: rise 1s var(--ease) both; }
.chooser-copy > :nth-child(2) { animation-delay: .1s; } .chooser-copy > :nth-child(3) { animation-delay: .2s; } .chooser-copy > :nth-child(4) { animation-delay: .3s; }
.chooser-links, .foot-social { list-style: none; margin: 2rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.chooser-links a { display: inline-flex; align-items: center; gap: .55rem; color: #fff; text-decoration: none; font-size: .95rem; font-weight: 500; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; padding: .6rem 1.15rem; transition: background-color .25s, border-color .25s; }
.chooser-links a:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .55); }
.foot-social { margin-top: 1rem; }
.site-footer .foot-social a { display: inline-flex; align-items: center; gap: .5rem; color: var(--on-dark); border: 1px solid var(--line-dark); border-radius: 999px; padding: .4rem .85rem; font-size: .88rem; }
.site-footer .foot-social a:hover { background: rgba(255, 255, 255, .08); text-decoration: none; }
.site-footer .foot-social li { margin: 0; }
@media (max-width: 860px) { .chooser-grid { grid-template-columns: minmax(0, 1fr); } .chooser-portrait { justify-self: start; max-width: 14rem; } .chooser-art { display: none; } }
.chooser h1 { font-size: clamp(3rem, 9vw, 7rem); font-weight: 200; letter-spacing: -.035em; line-height: .96; color: #fff; }
.chooser-sub { color: var(--on-dark-2); margin: 1.25rem 0 2.5rem; max-width: 40rem; }
.chooser-sub span { display: block; }
.chooser-list { list-style: none; margin: 0; padding: 0; max-width: 34rem; border-top: 1px solid var(--line-dark); }
.chooser-list li { border-bottom: 1px solid var(--line-dark); }
.chooser-list a { display: grid; padding: 1.4rem 0; text-decoration: none; transition: padding-left .5s var(--ease); }
.chooser-list a:hover { padding-left: 1rem; }
.chooser-list strong { font: 300 2rem/1.1 var(--serif); color: #fff; }
.chooser-list span { color: var(--on-dark-2); margin-top: .3rem; }

/* =====================================================================
   Motion system v2: transitions, intro, cursor, ambient, marquee, finder
   ===================================================================== */

/* ---------- page transitions (cross-document view transitions) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: .28s ease both vt-out; }
::view-transition-new(root) { animation: .65s var(--ease) both vt-in; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(16px); } }
.site-header { view-transition-name: site-header; }
.progress { view-transition-name: progress; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* ---------- intro curtain (direct landings only) */
.intro { display: none; }
.intro-on { overflow: hidden; }
.intro-on .intro { display: grid; place-items: center; position: fixed; inset: 0; z-index: 300; background: radial-gradient(90% 100% at 78% 25%, var(--ink-3), var(--ink) 62%); border-radius: 0 0 50% 50% / 0 0 var(--curve) var(--curve); transition: transform 1.15s cubic-bezier(.75, 0, .2, 1); }
.intro.out { transform: translateY(-104%); }
.intro-inner { width: min(30rem, 78vw); text-align: center; }
.intro .ill-arc { width: 100%; }
.intro-name { font: 200 clamp(2rem, 5vw, 3.4rem)/1 var(--serif); color: #fff; letter-spacing: -.02em; margin: 1.25rem 0 0; animation: rise 1s .7s var(--ease) both; }
.intro-on:not(.intro-done) .hero * { animation-play-state: paused; }

/* ---------- custom cursor (fine pointers only) */
.cursor-ring, .cursor-dot { position: fixed; left: 0; top: 0; z-index: 500; pointer-events: none; mix-blend-mode: difference; opacity: 0; transition: opacity .3s; }
.has-cursor.cursor-on .cursor-ring, .has-cursor.cursor-on .cursor-dot { opacity: 1; }
.cursor-ring { width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1.5px solid #fff; border-radius: 50%; transition: opacity .3s, width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background-color .3s; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #fff; }
.cursor-link .cursor-ring { width: 72px; height: 72px; margin: -36px 0 0 -36px; background: #fff; }
.cursor-link .cursor-dot { opacity: 0 !important; }
.cursor-press .cursor-ring { width: 26px; height: 26px; margin: -13px 0 0 -13px; }

/* ---------- ambient pearls */
canvas.ambient { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.hero canvas.ambient { z-index: -1; }
.page-hero .wrap, .cta .wrap { position: relative; z-index: 1; }

/* ---------- hero depth: scroll parallax and tilt */
.hero-copy { transform: translate3d(0, calc(var(--sy, 0) * .16px), 0); }
.hero-art { transform: translate3d(0, calc(var(--sy, 0) * -.05px), 0); }
.smile-wrap { transform: perspective(1300px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; will-change: transform; }
.smile-svg [data-px] { will-change: transform; }

/* ---------- panel art follows the pointer */
.panel-art .ill { transform: perspective(700px) translate3d(var(--px, 0px), var(--py, 0px), 0) rotateX(var(--prx, 0deg)) rotateY(var(--pry, 0deg)); transition: transform .6s var(--ease); }
.panel:hover .panel-art .ill { transition-duration: .15s; }

/* ---------- statement, lit word by word on scroll */
.statement { padding-block: clamp(4.5rem, 10vw, 9rem) clamp(6rem, 12vw, 10rem); }
.statement-text { font: 200 clamp(2.4rem, 6.4vw, 6rem)/1.08 var(--serif); letter-spacing: -.035em; max-width: 26ch; margin: 0; text-wrap: balance; color: var(--ink); }
.statement-text .q { color: var(--gingiva); }
.js .statement-text .sc { opacity: .14; }
.statement-arc { display: block; width: min(38rem, 100%); height: auto; margin-top: clamp(1.5rem, 3vw, 2.5rem); overflow: visible; }
.statement-arc path { fill: none; stroke: var(--gingiva); stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.no-js .statement-arc path { stroke-dashoffset: 0; }
.statement-by { margin: 1rem 0 0; color: var(--slate); font-size: .95rem; }
@media (prefers-reduced-motion: reduce) { .js .statement-text .sc { opacity: 1; } .statement-arc path { stroke-dashoffset: 0; } }

/* ---------- concern finder */
.finder-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.5rem; }
.chip { font: 500 .95rem var(--sans); color: var(--ink); background: transparent; border: 1px solid rgba(14, 27, 34, .3); border-radius: 999px; padding: .65rem 1.25rem; cursor: pointer; transition: background-color .3s, color .3s, border-color .3s, transform .35s var(--ease); }
.chip:hover { border-color: var(--ink); transform: translateY(-2px); }
.chip[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.finder-stage { position: relative; border-radius: 30px; overflow: hidden; background: radial-gradient(90% 120% at 100% 0%, var(--ink-3), var(--ink) 65%); color: var(--on-dark); }
.finder-item { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding: clamp(1.5rem, 4vw, 3.5rem); }
.js .finder-item { display: none; }
.js .finder-item.on { display: grid; animation: finderIn .8s var(--ease) both; }
@keyframes finderIn { from { opacity: 0; transform: translateY(18px); } }
.finder-art .ill { width: min(100%, 17rem); margin-inline: auto; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .4)); }
.finder-text h3 { font: 200 clamp(1.8rem, 3.2vw, 2.7rem)/1.1 var(--serif); color: #fff; letter-spacing: -.02em; }
.finder-text p { color: var(--on-dark-2); margin: 1rem 0 1.6rem; max-width: 46ch; font-size: 1.05rem; }
.finder-art .ill-veneer .ill-shell { animation: shell 6s var(--ease) infinite alternate; }
.finder-art .ill-veneer .ill-glue { animation: fadeLoop 6s var(--ease) infinite alternate; }
.finder-art .ill-gap .ill-lat { animation: grow 6s var(--ease) infinite alternate; }
.finder-art .ill-gap .ill-target { animation: fadeOutLoop 6s var(--ease) infinite alternate; }
.finder-art .ill-wear .ill-full { animation: fadeLoop 6s var(--ease) infinite alternate; }
.finder-art .ill-wear .ill-worn { animation: fadeOutLoop 6s var(--ease) infinite alternate; }
.ill-shade .ill-pick { animation: pick 8s var(--ease) infinite; }
@keyframes pick { 0%, 10% { transform: translateX(0); } 20%, 30% { transform: translateX(54px); } 40%, 50% { transform: translateX(108px); } 60%, 70% { transform: translateX(162px); } 80%, 90% { transform: translateX(216px); } 100% { transform: translateX(0); } }
@media (max-width: 760px) { .finder-item { grid-template-columns: minmax(0, 1fr); } .finder-art .ill { width: 11rem; } }

/* ---------- story meter and 3D */
.story-meter { display: flex; align-items: center; gap: 1.1rem; margin-top: 1.4rem; }
.story-count { font: 200 1.6rem/1 var(--serif); color: var(--on-dark-2); min-width: 4.4rem; }
.story-count b { font-weight: 200; color: #fff; }
.story-bar { flex: 1; height: 1px; background: var(--line-dark); position: relative; }
.story-bar i { position: absolute; left: 0; right: 0; top: 0; height: 1px; transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); background: linear-gradient(90deg, var(--rose), #F0C9A8); }
.story-svg { transform: perspective(1200px) rotateX(var(--srx, 0deg)) rotateY(var(--sry, 0deg)); will-change: transform; }
.story-svg .layer { transform-box: view-box; transform-origin: 50% 50%; transform: scale(.965); transition: opacity .8s var(--ease), transform 1.1s var(--ease); }
.story[data-step="0"] .l0, .story[data-step="1"] .l1, .story[data-step="2"] .l2, .story[data-step="3"] .l3, .story[data-step="4"] .l4 { transform: none; }
@media (max-width: 900px) { .story-meter { margin-top: .9rem; } }

/* ---------- side dots + sticky call to action */
.dots { position: fixed; right: 1.1rem; top: 50%; transform: translateY(-50%); z-index: 50; display: none; mix-blend-mode: difference; }
@media (min-width: 1100px) { .dots { display: block; } }
.dots ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.dots button { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; justify-content: flex-end; gap: .8rem; height: 16px; color: #fff; }
.dots button span { font: 500 .8rem var(--sans); opacity: 0; transform: translateX(8px); transition: opacity .3s, transform .45s var(--ease); white-space: nowrap; }
.dots button:hover span, .dots button:focus-visible span { opacity: 1; transform: none; }
.dots button i { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid #fff; transition: transform .45s var(--ease), background-color .3s; }
.dots button.on i { background: #fff; transform: scale(1.5); }
.dots button:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.sticky-cta { position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 55; transform: translateY(170%); opacity: 0; pointer-events: none; transition: transform .8s var(--ease), opacity .4s, box-shadow .3s; }
.sticky-cta.show { transform: none; opacity: 1; pointer-events: auto; }
@media (max-width: 560px) { .sticky-cta { left: 1rem; right: 1rem; text-align: center; } }

/* ---------- footer wordmark */
.foot-mark { font: 200 clamp(3.2rem, 12.4vw, 12rem)/.95 var(--serif); letter-spacing: -.04em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .2); margin: 3.5rem 0 0; text-align: center; user-select: none; transition: -webkit-text-stroke-color .6s; }
.foot-mark:hover { -webkit-text-stroke-color: rgba(231, 154, 163, .7); }
.js .foot-mark[data-split] .w > span { transition-duration: 1.5s; }

/* ---------- micro-interactions */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .38) 50%, transparent 70%); transform: translateX(-130%); transition: transform .9s var(--ease); }
.btn:hover::after { transform: translateX(130%); }
.rows li { position: relative; }
.rows li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--gingiva); transform: scaleY(0); transform-origin: top; transition: transform .5s var(--ease); }
.rows li:hover::before { transform: scaleY(1); }
.js .prose > section ul li::before { width: 0; transition: width .7s var(--ease) calc(var(--li, 0) * .08s + .35s); }
.js .prose > section.in ul li::before { width: .75rem; }
.js .prose > section ol.seq > li { opacity: 0; transform: translateX(-16px); transition: opacity .7s var(--ease) calc(var(--li, 0) * .1s + .25s), transform .8s var(--ease) calc(var(--li, 0) * .1s + .25s); }
.js .prose > section.in ol.seq > li { opacity: 1; transform: none; }
.toc ol { position: relative; }
.toc-bar { position: absolute; left: -1px; top: 0; width: 2px; height: 0; background: var(--rose); border-radius: 2px; transition: transform .5s var(--ease), height .5s var(--ease); pointer-events: none; }
.toc a:hover, .toc a.on { border-left-color: transparent; }
.table-wrap tbody tr { transition: background-color .3s; }
.table-wrap tbody tr:hover { background: rgba(14, 27, 34, .04); }
.note { transition: padding-left .5s var(--ease); }
.note:hover { padding-left: 1.6rem; }
.photo-slot, .portrait { transition: transform .8s var(--ease), box-shadow .8s; }
.portrait:hover { transform: translateY(-6px) rotate(-.6deg); }

/* =====================================================================
   Photography: pinned reel, gallery grid, lightbox, before/after slider
   ===================================================================== */
.reel { --h: min(52svh, 28rem); position: relative; background: var(--ink); color: var(--on-dark); border-radius: 50% 50% 50% 50% / var(--curve) var(--curve) var(--curve) var(--curve); margin-block: calc(var(--curve) * -0.5); z-index: 2; }
.reel-sticky { display: flex; flex-direction: column; gap: clamp(1.5rem, 4vh, 3rem); padding-block: clamp(5rem, 10vw, 8rem); }
.js .reel-sticky { position: sticky; top: 0; height: 100svh; justify-content: center; padding-block: 0; overflow: hidden; }
.reel-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem 4rem; }
.reel-title { max-width: 46rem; }
.reel-title h2 { font-size: clamp(1.9rem, 3.8vw, 3.2rem); font-weight: 200; letter-spacing: -.025em; color: #fff; }
.reel-title p { color: var(--on-dark-2); margin: .9rem 0 0; max-width: 52ch; }
.reel-meter { display: flex; align-items: center; gap: 1rem; width: min(20rem, 34vw); }
.reel-count { font: 200 1.6rem/1 var(--serif); color: var(--on-dark-2); white-space: nowrap; }
.reel-count b { font-weight: 200; color: #fff; }
.reel-count em { font-style: normal; }
.reel-bar { flex: 1; height: 1px; background: var(--line-dark); position: relative; }
.reel-bar i { position: absolute; left: 0; right: 0; top: 0; height: 1px; transform-origin: 0 50%; transform: scaleX(var(--rp, 0)); background: linear-gradient(90deg, var(--rose), #F0C9A8); }
.reel-strip { display: flex; gap: clamp(1rem, 2.4vw, 2rem); padding-inline: var(--gut); will-change: transform; }
.no-js .reel-strip { overflow-x: auto; }
.reel-item { flex: none; margin: 0; transform: skewX(var(--sk, 0deg)); transform-origin: 50% 100%; }
.reel-btn { all: unset; display: block; cursor: pointer; }
.reel-frame { display: block; position: relative; height: var(--h); width: calc(var(--h) * var(--ar)); overflow: hidden; border-radius: 22px; background: var(--ink-2); box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .7); }
.reel-frame img { display: block; width: 100%; height: 100%; object-fit: cover; transform: translate3d(var(--ix, 0px), 0, 0) scale(1.18); transition: transform 1s var(--ease); }
.reel-btn:hover .reel-frame img, .reel-btn:focus-visible .reel-frame img { transform: translate3d(var(--ix, 0px), 0, 0) scale(1.26); }
.reel-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .22) 50%, transparent 65%); transform: translateX(-120%); transition: transform 1.1s var(--ease); pointer-events: none; }
.reel-btn:hover .reel-frame::after { transform: translateX(120%); }
.reel-btn:focus-visible .reel-frame { outline: 2px solid var(--rose-soft); outline-offset: 4px; }
.reel-item figcaption { margin-top: .85rem; font-size: .85rem; color: var(--on-dark-2); }
@media (max-width: 900px) {
  .reel { --h: min(44svh, 19rem); }
  .js .reel-track { height: auto !important; }
  .js .reel-sticky { position: static; height: auto; padding-block: clamp(5rem, 14vw, 7rem); overflow: visible; justify-content: flex-start; }
  .reel-head { flex-direction: column; align-items: flex-start; }
  .reel-meter { display: none; }
  .reel-strip { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; scrollbar-width: none; transform: none !important; }
  .reel-strip::-webkit-scrollbar { display: none; }
  .reel-item { scroll-snap-align: center; transform: none; }
  .reel-frame img { transform: scale(1.04); }
}

.gallery-grid { list-style: none; margin: 2rem 0 0; padding: 0; columns: 2; column-gap: 1rem; max-width: none; }
@media (min-width: 1000px) { .gallery-grid { columns: 3; } }
@media (max-width: 520px) { .gallery-grid { columns: 1; } }
.prose .gallery-grid li { break-inside: avoid; margin: 0 0 1rem; padding: 0; max-width: none; }
.prose .gallery-grid li::before { display: none; }
.gallery-grid button { all: unset; display: block; position: relative; cursor: pointer; border-radius: 20px; overflow: hidden; background: var(--ink-2); width: 100%; box-sizing: border-box; }
.gallery-grid img { display: block; width: 100%; height: auto; transition: transform 1.1s var(--ease); }
.gallery-grid button:hover img, .gallery-grid button:focus-visible img { transform: scale(1.07); }
.gallery-grid .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.4rem 1.1rem .9rem; font-size: .85rem; color: #fff; background: linear-gradient(transparent, rgba(14, 27, 34, .88)); transform: translateY(102%); transition: transform .6s var(--ease); }
.gallery-grid button:hover .cap, .gallery-grid button:focus-visible .cap { transform: none; }
.gallery-grid button:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }
.js .gallery-grid li, .js .compare { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .gallery-grid li.in, .js .compare.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .gallery-grid li, .js .compare { opacity: 1 !important; transform: none !important; transition: none !important; } }

/* ---------- lightbox */
.lb { position: fixed; inset: 0; z-index: 450; display: none; }
.lb.open { display: block; }
.lb-bg { position: absolute; inset: 0; background: rgba(8, 16, 21, .94); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); opacity: 0; transition: opacity .5s var(--ease); }
.lb.show .lb-bg { opacity: 1; }
.lb-fig { position: absolute; inset: 4.5rem 5rem 5rem; margin: 0; display: grid; place-items: center; }
.lb-fig img { max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 16px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .85); }
.lb-cap { position: absolute; left: 0; right: 0; bottom: 1.7rem; margin: 0; text-align: center; color: var(--on-dark-2); font-size: .95rem; }
.lb-count { position: absolute; top: 1.5rem; left: 2rem; font: 200 1.5rem/1 var(--serif); color: #fff; }
.lb button { all: unset; box-sizing: border-box; position: absolute; width: 3rem; height: 3rem; display: grid; place-items: center; color: #fff; font: 300 1.7rem/1 var(--sans); border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; cursor: pointer; transition: background-color .3s, border-color .3s, transform .4s var(--ease); }
.lb button:hover { background: rgba(255, 255, 255, .12); border-color: #fff; transform: scale(1.08); }
.lb button:focus-visible { outline: 2px solid var(--rose-soft); outline-offset: 3px; }
.lb .lb-close { top: 1.1rem; right: 1.6rem; }
.lb .lb-prev { left: 1.3rem; top: 50%; margin-top: -1.5rem; }
.lb .lb-next { right: 1.3rem; top: 50%; margin-top: -1.5rem; }
@media (max-width: 700px) {
  .lb-fig { inset: 4.5rem .75rem 6.5rem; }
  .lb .lb-prev, .lb .lb-next { top: auto; bottom: 1.2rem; margin-top: 0; }
  .lb .lb-prev { left: 1.2rem; } .lb .lb-next { right: 1.2rem; }
  .lb-cap { bottom: 1.9rem; padding-inline: 5rem; }
}

/* ---------- before / with mock-up slider */
.compare { margin: 2rem 0; max-width: 42rem; }
.compare-stage { --pos: 50%; position: relative; aspect-ratio: 722 / 375; border-radius: 26px; overflow: hidden; background: var(--ink-2); touch-action: pan-y; box-shadow: 0 30px 50px -34px rgba(14, 27, 34, .6); }
.compare-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; -webkit-user-drag: none; }
.compare-stage .c-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 24px rgba(0, 0, 0, .45); pointer-events: none; }
.compare-handle i { position: absolute; top: 50%; left: 50%; width: 3rem; height: 3rem; margin: -1.5rem 0 0 -1.5rem; border-radius: 50%; background: rgba(255, 255, 255, .96); box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }
.compare-handle i::before, .compare-handle i::after { content: ""; position: absolute; top: 50%; width: .5rem; height: .5rem; margin-top: -.25rem; border-top: 2px solid var(--ink); border-left: 2px solid var(--ink); }
.compare-handle i::before { left: .8rem; transform: rotate(-45deg); }
.compare-handle i::after { right: .8rem; transform: rotate(135deg); }
.compare-tag { position: absolute; top: 1rem; padding: .35rem .85rem; border-radius: 999px; background: rgba(14, 27, 34, .72); color: #fff; font-size: .8rem; font-weight: 500; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); pointer-events: none; }
.tag-before { left: 1rem; }
.tag-after { right: 1rem; }
.compare-stage input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; background: none; }
.compare-stage:has(input:focus-visible) { outline: 2px solid var(--rose); outline-offset: 3px; }
.prose .compare figcaption { font-size: .85rem; color: var(--slate); margin: .9rem 0 0; max-width: 46rem; }

/* =====================================================================
   Atmosphere and depth: aurora, grain, shimmer, cues, cursor tag, reel depth
   ===================================================================== */
html.smooth { scroll-behavior: auto; }

/* slow aurora behind the dark heroes */
.page-hero { isolation: isolate; }
.hero::before, .page-hero::before { content: ""; position: absolute; inset: -20%; z-index: -1; pointer-events: none; background: radial-gradient(38% 46% at 18% 30%, rgba(201, 112, 122, .26), transparent 70%), radial-gradient(34% 44% at 82% 68%, rgba(74, 150, 182, .24), transparent 70%), radial-gradient(28% 34% at 55% 8%, rgba(240, 201, 168, .14), transparent 70%); filter: blur(26px); animation: aurora 20s ease-in-out infinite alternate; }
@keyframes aurora { 0% { transform: translate3d(-4%, -2%, 0) scale(1); } 50% { transform: translate3d(5%, 4%, 0) scale(1.1); } 100% { transform: translate3d(-2%, 5%, 0) scale(1.04) rotate(3deg); } }

/* fine film grain on the dark sections */
.hero::after, .page-hero::after, .story::after, .reel::after, .cta::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: .07; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); border-radius: inherit; }

/* light that travels across the hero name */
.hero h1 .w > span { background: linear-gradient(100deg, #fff 0%, #fff 40%, #F7D5C6 50%, #fff 60%, #fff 100%) 0 0 / 280% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; animation: shimmer 8s ease-in-out 3.2s infinite; }
@keyframes shimmer { 0% { background-position: 130% 0; } 55%, 100% { background-position: -130% 0; } }

/* scroll cue */
.scroll-cue { position: absolute; left: 50%; bottom: calc(var(--curve) + 1.2rem); transform: translateX(-50%); z-index: 2; display: grid; justify-items: center; gap: .7rem; color: var(--on-dark-2); font-size: .78rem; pointer-events: none; animation: fade 1s 2.8s both; transition: opacity .5s; }
.scroll-cue i { position: relative; overflow: hidden; width: 1px; height: 3.4rem; background: linear-gradient(var(--rose-soft), transparent); }
.scroll-cue i::after { content: ""; position: absolute; left: -1px; top: 0; width: 3px; height: 30%; border-radius: 2px; background: #fff; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { from { transform: translateY(-110%); } to { transform: translateY(400%); } }
.hero.away .scroll-cue { opacity: 0; }
@media (max-width: 960px) { .scroll-cue { display: none; } }

/* section headings draw an underline when they arrive */
.sec-head h2::after { content: ""; display: block; height: 1px; width: 4.5rem; margin-top: 1.2rem; background: var(--gingiva); transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease) .6s; }
.sec-head h2.in::after { transform: scaleX(1); }
.js [data-split] .w > span { transition-delay: calc(min(var(--i, 0), 18) * 55ms + var(--d, 0s)); }

/* cursor label */
.cursor-tag { position: fixed; left: 0; top: 0; z-index: 505; pointer-events: none; }
.cursor-tag span { display: grid; place-items: center; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%; background: linear-gradient(135deg, #C9707A, #8F3E4A); color: #fff; font: 600 .84rem var(--sans); box-shadow: 0 16px 36px -12px rgba(143, 62, 74, .8); transform: scale(.3); opacity: 0; transition: transform .5s var(--ease), opacity .3s; }
.has-label .cursor-tag span { transform: none; opacity: 1; }
.has-label .cursor-ring, .has-label .cursor-dot { opacity: 0 !important; }

/* reel: depth, curve and tilt (wide screens) */
@media (min-width: 901px) {
  .reel-item { transform: perspective(1400px) rotateY(var(--ry, 0deg)) scale(var(--sc, 1)) skewX(var(--sk, 0deg)); opacity: var(--op, 1); }
  .reel-frame { transform: perspective(900px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); transition: transform .6s var(--ease); }
  .reel { --h: min(58svh, 32rem); }
}
.reel-link { margin: 1.1rem 0 0; }
.reel-link .btn-quiet { color: #fff; }

/* hero flows straight into the photo reel */
.hero + .reel { border-radius: 0 0 50% 50% / 0 0 var(--curve) var(--curve); margin-top: calc(var(--curve) * -1.05); }
.reel-frame img { transform: translate3d(var(--ix, 0px), 0, 0) scale(1.09); }
.reel-btn:hover .reel-frame img, .reel-btn:focus-visible .reel-frame img { transform: translate3d(var(--ix, 0px), 0, 0) scale(1.17); }
.hero-copy { transform: translate3d(0, calc(var(--sy, 0) * .1px), 0); opacity: calc(1 - var(--sy, 0) / 620); }
.hero-art { opacity: calc(1 - var(--sy, 0) / 880); }
.hero::before { -webkit-mask-image: linear-gradient(#000 52%, transparent 90%); mask-image: linear-gradient(#000 52%, transparent 90%); }
