/* Theme «ديفي» / Devy: made for Devy Beauty Clinic only (THEMES.devy.only in server/lib/website.mjs). Built from its
   logo: the deep plum of the mark, a four-point sparkle over lotus petals, and a high-contrast serif wordmark. A plum
   night for the first screen with the mark drawn large and the name set huge behind the portrait in its arch; cream and
   blush below, with gold hairlines; Bodoni Moda for Latin words and numbers, Noto Kufi Arabic (light) for Arabic.
   site/themes/devy.js adds the mark, the name, the band of services and the picture that follows the pointer over the
   services; site/themes/premium.js the entrances and --hero-p / --space-p. */
:root {
  --plum: #2a1636; --plum-2: #3b2149; --night: #1b0d24;
  --blush: #f4e6ec; --blush-2: #ead3de; --cream: #fbf7f4; --lilac: #e6dbef; --gold: #c8a27a; --gold-2: #e3c9a8;
  --bg: var(--cream); --card: #fff; --ink: #2a1636; --ink-2: #5b4766; --muted: #8a7891; --line: rgba(42, 22, 54, .12);
  --r-sm: 14px; --r: 22px; --r-lg: 32px;
  --shadow-sm: 0 8px 24px -16px rgba(42, 22, 54, .35); --shadow: 0 28px 70px -36px rgba(42, 22, 54, .45); --shadow-lg: 0 50px 110px -50px rgba(27, 13, 36, .7);
  --font: 'Noto Kufi Arabic', system-ui, sans-serif;
  --serif: 'Bodoni Moda', 'Noto Kufi Arabic', Georgia, serif;
  --display: 'Bodoni Moda', 'Noto Kufi Arabic', Georgia, serif;
  --silk: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
}
/* the clinic's colour is Devy's plum whatever was saved: the logo decides it */
body { --brand: var(--plum); --on-brand: #fff; --brand-text: var(--plum); --accent: var(--gold);
  font-family: var(--font); font-weight: 300; font-size: 16.5px; line-height: 1.9; background: var(--cream); color: var(--ink); }
h1, h2, h3 { font-family: var(--display); font-weight: 300; letter-spacing: -.01em; line-height: 1.25; }
.blob, .grid-dots, .hero-bg, .art, .book-bg, .cta-art, .about-art > svg, .t-ico, .step-ico, .d-badge, .avatars, .f-ico { display: none !important; }
::selection { background: var(--plum); color: var(--blush); }
.wrap { max-width: 1280px; }
.muted { color: var(--muted); }
:focus-visible { outline-color: var(--gold); }

/* the mark (site/themes/devy.js draws it wherever it is used) */
.dv-mark { display: block; width: 100%; height: 100%; color: currentColor; }
.dv-mark .dv-star { transform-box: fill-box; transform-origin: center; animation: dv-twinkle 4.5s ease-in-out infinite; }
@keyframes dv-twinkle { 0%, 100% { transform: scale(1) rotate(0); } 45% { transform: scale(1.12) rotate(45deg); } 55% { transform: scale(1.12) rotate(45deg); } }

/* buttons: pills; the main one blush on plum, gold under the pointer */
.btn { border-radius: 999px; font-weight: 400; letter-spacing: .01em; box-shadow: none; transition: background-color .4s var(--silk), color .4s, transform .5s var(--silk), box-shadow .5s; }
.btn-lg { min-height: 58px; padding: 0 34px; }
.btn-brand { background: var(--plum); color: var(--cream); }
.btn-brand:hover { background: var(--gold); color: var(--night); transform: translateY(-2px); box-shadow: 0 20px 44px -22px rgba(200, 162, 122, .9); }
.btn-ghost { background: transparent; color: var(--plum); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--plum); background: transparent; transform: translateY(-2px); }
.btn:active { transform: scale(.97); }

/* header: clear over the plum first screen, cream glass once the page moves */
.top { position: fixed; inset: 0 0 auto; background: transparent; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; transition: background-color .5s, box-shadow .5s; }
.top-in { height: 84px; }
.top .brand, .top .nav a, .top .lang-switch { color: var(--cream); }
.top .top-cta { background: var(--blush); color: var(--plum); }
.top .top-cta:hover { background: var(--gold); color: var(--night); }
.top.scrolled { background: rgba(251, 247, 244, .82); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); box-shadow: 0 1px 0 var(--line); }
.top.scrolled .brand, .top.scrolled .nav a, .top.scrolled .lang-switch { color: var(--plum); }
.top.scrolled .top-cta { background: var(--plum); color: var(--cream); }
.brand-logo { width: 42px; height: 42px; border: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible; }
.brand-logo.dv-has-mark img { display: none; }
.brand-name { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; letter-spacing: .01em; }
.nav a { border-radius: 999px; font-weight: 300; opacity: .88; }
.nav a:hover { background: transparent; opacity: 1; color: inherit; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 8px; }
.lang-switch { border: 0; font-family: var(--serif); font-style: italic; }

/* ---------------- the first screen ---------------- */
.hero { position: relative; overflow: hidden; color: var(--cream); padding: 150px 0 110px; min-height: 100svh; display: flex; align-items: center;
  background: radial-gradient(60vmax 50vmax at 80% 30%, rgba(160, 92, 160, .35), transparent 62%), radial-gradient(50vmax 40vmax at 0% 100%, rgba(200, 162, 122, .18), transparent 60%), linear-gradient(180deg, var(--night), var(--plum) 70%); }
/* the name, huge, behind everything (devy.js) */
.dv-name { position: absolute; z-index: 0; inset-inline: 0; bottom: -.18em; text-align: center; pointer-events: none; direction: ltr; white-space: nowrap;
  font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(160px, 30vw, 520px); line-height: 1; letter-spacing: -.03em;
  color: transparent; -webkit-text-stroke: 1px rgba(244, 230, 236, .16); background: linear-gradient(180deg, rgba(244, 230, 236, .1), rgba(244, 230, 236, 0) 70%); -webkit-background-clip: text; background-clip: text;
  transform: translateY(calc(var(--hero-p, 0) * 18%)); }
.hero .hero-in { position: relative; z-index: 1; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 6vw, 110px); align-items: center; }
.status-pill { background: rgba(244, 230, 236, .08); border: 1px solid rgba(244, 230, 236, .2); color: var(--blush); box-shadow: none; border-radius: 999px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-weight: 300; }
.hero-title { font-size: clamp(2.8rem, 5.6vw, 5.6rem); font-weight: 200; line-height: 1.1; letter-spacing: -.02em; color: var(--cream); }
.hero-title span { background: linear-gradient(100deg, var(--cream) 30%, var(--gold-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-tag { margin-top: 22px; color: rgba(244, 230, 236, .78); font-size: clamp(1.05rem, 1.4vw, 1.3rem); font-weight: 300; max-width: 30em; }
.hero-actions { margin-top: 36px; }
.hero .btn-brand { background: var(--blush); color: var(--plum); }
.hero .btn-brand:hover { background: var(--gold); color: var(--night); }
.hero .btn-ghost { color: var(--cream); border-color: rgba(244, 230, 236, .3); }
.hero .btn-ghost:hover { border-color: var(--cream); }
.hero-points { margin-top: 30px; color: rgba(244, 230, 236, .66); gap: 8px 26px; font-size: .92rem; }
.hero-points svg { color: var(--gold); }
/* the portrait in a tall arch, a gold line around it, the mark sealed on its shoulder, a close-up in a circle */
.hero-art { position: relative; max-width: 500px; width: 100%; aspect-ratio: 4 / 5.6; justify-self: center; background: none; }
.hero-art::before { content: ""; position: absolute; inset: -16px; border: 1px solid rgba(227, 201, 168, .55); border-radius: 999px 999px 30px 30px; pointer-events: none; }
.hero-photo { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 999px 999px 24px 24px; overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(27, 13, 36, .55), transparent 40%); display: block; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.06 + var(--hero-p, 0) * .1)); will-change: transform; }
.dv-seal { position: absolute; z-index: 3; top: 4%; inset-inline-end: -9%; width: 128px; height: 128px; border-radius: 50%; color: var(--plum); background: var(--blush);
  box-shadow: 0 0 0 8px rgba(244, 230, 236, .12), var(--shadow); }
.dv-seal svg { display: block; width: 100%; height: 100%; direction: ltr; }
.dv-seal text { font-family: var(--serif); font-weight: 500; }
.dv-seal .dv-ring-g { transform-box: view-box; transform-origin: 50px 50px; animation: dv-spin 26s linear infinite; }
@keyframes dv-spin { to { transform: rotate(360deg); } }
.pm-detail { position: absolute; z-index: 2; inset-inline-start: -12%; bottom: 8%; width: 36%; aspect-ratio: 1; margin: 0; border-radius: 50%; overflow: hidden; border: 5px solid var(--plum); box-shadow: var(--shadow-lg); }
.pm-detail img { width: 100%; height: 100%; object-fit: cover; }
.float { z-index: 3; background: rgba(251, 247, 244, .1); color: var(--cream); border: 1px solid rgba(244, 230, 236, .22); border-radius: 18px; box-shadow: none;
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); animation: dv-bob 7s ease-in-out infinite; }
.float small { color: rgba(244, 230, 236, .7); }
.float b { font-weight: 500; color: var(--cream); }
.float.f2 { animation-delay: -2.4s; } .float.f3 { animation-delay: -4.6s; }
@keyframes dv-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* the band of services under the first screen (devy.js) */
.dv-band { background: var(--plum); color: var(--blush); overflow: hidden; border-block: 1px solid rgba(227, 201, 168, .25); padding: 22px 0; direction: ltr; }
.dv-band-track { display: flex; width: max-content; gap: 0; animation: dv-marquee 42s linear infinite; }
.dv-band span { display: inline-flex; align-items: center; gap: 34px; padding-inline-end: 34px; font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.4vw, 2.2rem); white-space: nowrap; }
.dv-band span::after { content: "✦"; font-style: normal; font-size: .6em; color: var(--gold); }
@keyframes dv-marquee { to { transform: translateX(-50%); } }

/* ---------------- sections ---------------- */
.sec { padding: clamp(90px, 10vw, 150px) 0; background: transparent; }
.sec-tint { background: var(--blush); border: 0; }
.sec-head { margin-bottom: 56px; max-width: 780px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--gold); font-weight: 400; letter-spacing: .06em; font-size: .88rem; }
.eyebrow::before { content: "✦"; width: auto; height: auto; background: none; color: var(--gold); font-size: .85em; }
.sec h2 { font-size: clamp(2.2rem, 4.6vw, 4rem); font-weight: 200; color: var(--plum); }
.sec-lead { color: var(--ink-2); font-weight: 300; font-size: 1.08rem; }

/* services: an editorial list; the row turns plum under the pointer and a picture follows it (devy.js) */
.tgrid { counter-reset: s; grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--line); }
.tcard { counter-increment: s; display: grid; grid-template-columns: 90px minmax(0, 1.1fr) minmax(0, 1fr) auto; column-gap: 32px; align-items: center; padding: 34px 26px;
  background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; position: relative; overflow: hidden; transition: color .5s var(--silk), padding .6s var(--silk); }
.tcard::before { content: counter(s, decimal-leading-zero); font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--gold); }
.tcard::after { content: ""; display: block; position: absolute; z-index: -1; inset: 0; width: auto; height: auto; border-radius: 0; background: var(--plum); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--silk); }
/* site.js staggers the cards with an inline delay: here the row answers the pointer at once */
.tcard { isolation: isolate; transition-delay: 0s !important; }
.tcard:hover { transform: none; box-shadow: none; color: var(--cream); padding-inline: 40px; }
.tcard:hover::after { transform: scaleY(1); }
.tcard h3 { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2.3rem); font-weight: 200; color: inherit; }
.tcard p { color: var(--ink-2); font-size: .98rem; transition: color .5s; }
.tcard:hover p { color: rgba(244, 230, 236, .78); }
.t-go { color: var(--plum); font-weight: 400; white-space: nowrap; transition: color .5s; }
.tcard:hover .t-go { color: var(--gold-2); }
.dv-peek { position: fixed; z-index: 60; left: 0; top: 0; width: 240px; aspect-ratio: 4 / 5; border-radius: 120px 120px 18px 18px; overflow: hidden; pointer-events: none;
  opacity: 0; transform: translate(-50%, -60%) scale(.7) rotate(-4deg); transition: opacity .35s, transform .5s var(--silk); box-shadow: var(--shadow-lg); }
.dv-peek.on { opacity: 1; transform: translate(-50%, -60%) scale(1) rotate(0); }
.dv-peek img { width: 100%; height: 100%; object-fit: cover; }

/* the three steps */
.steps { gap: 18px; counter-reset: st; }
.steps li { counter-increment: st; background: var(--cream); border: 1px solid rgba(42, 22, 54, .08); border-radius: 160px 160px var(--r) var(--r); box-shadow: none; padding: 70px 34px 40px; text-align: center; }
.steps li::before { content: counter(st); display: block; margin-bottom: 18px; font-family: var(--serif); font-style: italic; font-size: 3.4rem; line-height: 1; color: var(--gold); }
.step-n { display: none; }
.steps h3 { font-size: 1.4rem; font-weight: 300; color: var(--plum); }
.steps p { color: var(--ink-2); }

/* the wide picture, rounded at the top like the arch, opening as it passes */
.pm-space { padding: 0 20px; background: transparent; }
.pm-space figure { margin: 0 auto; max-width: 1280px; aspect-ratio: 21 / 9; overflow: hidden; border-radius: 340px 340px var(--r-lg) var(--r-lg); box-shadow: var(--shadow); transform: scale(calc(.92 + var(--space-p, .5) * .08)); will-change: transform; }
.pm-space img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.16 - var(--space-p, .5) * .14)); will-change: transform; }

/* team: arch portraits */
.dgrid { gap: 22px; }
.dcard { background: transparent; border: 0; border-radius: 0; box-shadow: none; padding: 0; text-align: center; }
.dcard:hover { transform: none; box-shadow: none; }
.d-photo { aspect-ratio: 4 / 5; border-radius: 999px 999px var(--r) var(--r); background: var(--blush); margin-bottom: 20px; overflow: hidden; }
.d-photo svg { display: none; }
.d-photo .ini { position: absolute; inset: 0; width: auto; height: auto; margin: 0; border-radius: 0; background: none; box-shadow: none; color: var(--plum); font-family: var(--serif); font-style: italic; font-size: 4rem; font-weight: 400; display: grid; place-items: center; }
.d-photo .ini::after { display: none; }
.dcard.has-photo .d-photo img { transition: transform 1.2s var(--silk); }
.dcard:hover .d-photo img { transform: scale(1.05); }
.dcard h3 { font-size: 1.25rem; font-weight: 400; color: var(--plum); }
.dcard p { color: var(--muted); }

/* about: the photograph in the arch, the mark large and faint behind the words */
.about { gap: clamp(40px, 7vw, 120px); align-items: center; position: relative; }
.about-art { background: none; }
.about-photo { aspect-ratio: 4 / 5; border-radius: 999px 999px var(--r-lg) var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.about-copy { position: relative; }
.dv-ghost { position: absolute; z-index: 0; left: 50%; top: 50%; translate: -50% -50%; width: min(440px, 90%); aspect-ratio: 1; color: rgba(42, 22, 54, .05); pointer-events: none; }
.about-copy > * { position: relative; z-index: 1; }
.about-copy h2 span { color: var(--plum); font-family: var(--serif); font-style: italic; }
.about-text { color: var(--ink-2); font-size: 1.05rem; }
.pillars li { background: var(--cream); border: 1px solid rgba(42, 22, 54, .1); border-radius: 999px; padding: 8px 18px; color: var(--plum); }
.pillars li > span:first-child { display: none; }

/* articles, before/after */
.arcard, .case { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: none; overflow: hidden; }
.arcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.arcard-meta b, .more-link { color: var(--plum); }
.more-link { border-radius: 999px; }

/* booking: a plum card */
.book-sec { background: transparent; }
.book { background: var(--plum); color: var(--cream); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.book-side { background: var(--night); border-color: rgba(244, 230, 236, .1); }
.book h2, .book h3, .book .sec-lead { color: var(--cream); }
.sum div, .chip-link { background: rgba(244, 230, 236, .06); border: 1px solid rgba(244, 230, 236, .14); border-radius: 16px; color: var(--cream); }
.chip-link { border-radius: 999px; }
.chip-link:hover { background: rgba(244, 230, 236, .12); }
.stepper li { border-color: rgba(244, 230, 236, .14); color: rgba(244, 230, 236, .6); }
.stepper li.on { border-color: var(--gold); color: var(--cream); }
.stepper span { border-radius: 50%; background: rgba(244, 230, 236, .1); border: 0; color: var(--cream); }
.stepper li.on span, .stepper li.done span { background: var(--gold); color: var(--night); }
.pick { background: rgba(244, 230, 236, .06); border: 1px solid rgba(244, 230, 236, .16); border-radius: 999px; color: var(--cream); }
.pick:hover { background: rgba(244, 230, 236, .12); border-color: rgba(244, 230, 236, .3); }
.pick[aria-pressed="true"] { background: var(--blush); color: var(--plum); border-color: var(--blush); box-shadow: none; }
.pick small, .pick-day small { color: inherit; opacity: .7; }
.pick-day { border-radius: 18px; }
.field > span { color: rgba(244, 230, 236, .75); }
.field input, .field textarea { background: rgba(244, 230, 236, .06); border: 1px solid rgba(244, 230, 236, .18); border-radius: 16px; color: var(--cream); }
.field input::placeholder, .field textarea::placeholder { color: rgba(244, 230, 236, .4); }
.field input:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(200, 162, 122, .18); }
.book .btn-brand { background: var(--blush); color: var(--plum); }
.book .btn-brand:hover { background: var(--gold); color: var(--night); }
.note, .ticket, .online-note { background: rgba(244, 230, 236, .06); color: rgba(244, 230, 236, .8); border-color: rgba(244, 230, 236, .14); border-radius: 16px; }
.recap span { background: rgba(244, 230, 236, .08); border: 0; border-radius: 999px; color: var(--cream); }
.more, .back { border-radius: 999px; color: var(--gold-2); border-color: rgba(244, 230, 236, .2); }
.more:hover, .back:hover { background: rgba(244, 230, 236, .08); }
.loading span { background: linear-gradient(90deg, rgba(244, 230, 236, .06), rgba(244, 230, 236, .14), rgba(244, 230, 236, .06)); background-size: 200% 100%; border-radius: 999px; }
.consent, .consent a { color: rgba(244, 230, 236, .75); }
.done-ico { background: var(--gold); color: var(--night); }

/* hours and contact */
.hc { gap: 20px; }
.hours-card, .contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: none; padding: 40px 36px; }
.ch-ico, .c-ico { background: var(--blush); color: var(--plum); border-radius: 50%; }
.hours tr.today > * { background: var(--blush); }
.hours tr.today th { color: var(--plum); }
.hours .badge { border-radius: 999px; background: var(--plum); color: var(--cream); }
.hours td { font-family: var(--serif); }
.clist a, .clist .citem { background: var(--cream); border: 1px solid rgba(42, 22, 54, .08); border-radius: 18px; }
.clist a:hover { border-color: var(--plum); transform: translateY(-2px); }
.socials a { border-radius: 50%; border: 1px solid var(--line); background: #fff; }
.map { border-radius: var(--r-lg); border: 0; overflow: hidden; box-shadow: var(--shadow); }
.map iframe { filter: grayscale(.4) sepia(.15) hue-rotate(250deg) saturate(.8); }
.map-open { border-radius: 999px; background: var(--plum); color: var(--cream); }

/* the closing line: plum, the mark turning slowly */
.cta-band { background: transparent; padding: 0 20px clamp(80px, 9vw, 130px); }
.cta-in { position: relative; overflow: hidden; max-width: 1280px; border-radius: 300px 300px var(--r-lg) var(--r-lg); background: radial-gradient(50vmax 40vmax at 50% 0%, rgba(160, 92, 160, .4), transparent 60%), var(--plum); color: var(--cream); box-shadow: var(--shadow-lg); padding: clamp(90px, 11vw, 150px) 24px clamp(64px, 8vw, 100px); text-align: center; }
.dv-cta-mark { display: block; width: 70px; height: 70px; margin: 0 auto 26px; color: var(--gold-2); }
.cta-in { flex-direction: column; justify-content: center; align-items: center; gap: 30px; }
.cta-in h2 { font-size: clamp(2.2rem, 4.6vw, 4rem); font-weight: 200; color: var(--cream); }
.cta-in p { color: rgba(244, 230, 236, .75); }
.cta-in .btn-light, .cta-in .btn-brand { background: var(--blush); color: var(--plum); }
.cta-in .btn-light:hover, .cta-in .btn-brand:hover { background: var(--gold); color: var(--night); }

/* footer: the name very large */
.foot { background: var(--night); color: rgba(244, 230, 236, .7); padding: 100px 0 36px; }
.foot-brand { flex-direction: column; align-items: flex-start; gap: 14px; }
.foot-brand .brand-logo { width: 54px; height: 54px; color: var(--gold-2); }
.foot-brand b { color: var(--cream); font-family: var(--serif); font-weight: 400; font-style: italic; font-size: clamp(3rem, 9vw, 8rem); line-height: 1; letter-spacing: -.02em; }
.foot-brand small { color: rgba(244, 230, 236, .55); }
.foot-links a { color: rgba(244, 230, 236, .7); }
.foot-links a:hover { color: var(--gold-2); }
.copy { border-color: rgba(244, 230, 236, .12); color: rgba(244, 230, 236, .45); }
.mbar { border-radius: 999px; background: rgba(251, 247, 244, .9); box-shadow: var(--shadow); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }

@media (max-width: 1080px) { .nav { display: none; } }
@media (max-width: 900px) {
  .hero { padding: 120px 0 80px; }
  .hero .hero-in { grid-template-columns: minmax(0, 1fr); }
  .hero-art { max-width: 340px; margin-top: 30px; }
  .dv-seal { width: 100px; height: 100px; inset-inline-end: -6%; }
  .tcard { grid-template-columns: 54px minmax(0, 1fr) auto; row-gap: 6px; padding: 26px 8px; }
  .tcard p { grid-column: 2 / -1; grid-row: 2; }
  .tcard:hover { padding-inline: 16px; }
  .about { grid-template-columns: minmax(0, 1fr); }
  .about-art { max-width: 380px; margin-inline: auto; width: 100%; }
  .pm-space figure { aspect-ratio: 16 / 10; border-radius: 200px 200px var(--r) var(--r); }
}
@media (max-width: 640px) {
  .top-in { height: 68px; }
  .hero-title { font-size: clamp(2.3rem, 10.5vw, 3.2rem); }
  .hero-art { max-width: 280px; }
  .tcard { grid-template-columns: 44px minmax(0, 1fr); }
  .tcard .t-go { grid-column: 2; }
  .tcard::before { font-size: 1.2rem; }
  .steps li { border-radius: 120px 120px var(--r) var(--r); padding: 56px 24px 32px; }
  .hours-card, .contact-card { padding: 28px 20px; }
  .pm-space { padding: 0 12px; } .pm-space figure { aspect-ratio: 4 / 5; transform: none; border-radius: 160px 160px var(--r) var(--r); }
  .cta-band { padding-inline: 12px; } .cta-in { border-radius: 180px 180px var(--r) var(--r); }
  .dv-band span { font-size: 1.3rem; }
}

/* motion (site/themes/premium.js): parts rise softly, one after another */
.pm-motion .reveal { opacity: 1; transform: none; transition: none; }
.pm-motion .pm-r { opacity: 0; transform: translateY(36px); transition: opacity 1.1s var(--silk), transform 1.1s var(--silk); transition-delay: calc(var(--i, 0) * 80ms); }
.pm-motion .pm-on .pm-r { opacity: 1; transform: none; }
.pm-motion .tcard.pm-r { transition: opacity 1.1s var(--silk), transform 1.1s var(--silk), color .5s var(--silk), padding .6s var(--silk); }
.pm-motion .hero-title { animation: dv-up 1.3s var(--silk) both; }
.pm-motion .status-pill { animation: dv-up 1.1s var(--silk) both; }
.pm-motion .hero-tag { animation: dv-up 1.3s var(--silk) .15s both; }
.pm-motion .hero-actions { animation: dv-up 1.3s var(--silk) .3s both; }
.pm-motion .hero-points { animation: dv-up 1.3s var(--silk) .42s both; }
.pm-motion .hero-photo { animation: dv-arch 1.8s var(--silk) .1s both; }
.pm-motion .hero-art::before { animation: dv-fade 2s var(--silk) .8s both; }
.pm-motion .dv-seal { animation: dv-pop 1.2s var(--silk) 1s both; }
.pm-motion .dv-name { animation: dv-name 2.2s var(--silk) .2s both; }
@keyframes dv-up { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes dv-arch { from { clip-path: inset(100% 0 0 0 round 999px 999px 24px 24px); } to { clip-path: inset(0 0 0 0 round 999px 999px 24px 24px); } }
@keyframes dv-fade { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@keyframes dv-pop { from { opacity: 0; transform: scale(.4) rotate(-90deg); } to { opacity: 1; transform: none; } }
@keyframes dv-name { from { opacity: 0; letter-spacing: .1em; } to { opacity: 1; letter-spacing: -.03em; } }
@media (prefers-reduced-motion: reduce) {
  .dv-mark .dv-star, .dv-seal .dv-ring-g, .float, .dv-band-track { animation: none !important; }
  .hero-photo img, .pm-space figure, .pm-space img, .dv-name { transform: none !important; }
  .dv-peek { display: none; }
}
