/* Amy's Beauty Spa — palette from the brief:
   ivory #F7F4EE · champagne #D8C7B2 · gold #B39A70 · coffee #33302C
   --gold-ink is a darker gold used for text so it stays readable (WCAG AA). */
:root {
  --ivory: #F7F4EE;
  --ivory-2: #EFE8DD;
  --champagne: #D8C7B2;
  --gold: #B39A70;
  --gold-ink: #7A6443;
  --coffee: #33302C;
  --coffee-2: #5B554E;
  --line: #E2D8CA;
  --white: #FFFDF9;
  --radius: 14px;
  --serif: "Cormorant Garamond", "Songti SC", "Noto Serif SC", "Noto Serif TC", serif;
  --sans: "Jost", -apple-system, "Helvetica Neue", "PingFang SC", "Noto Sans SC", sans-serif;
  --wrap: 1160px;
}
:lang(zh-Hans) { --sans: "Jost", -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif; --serif: "Cormorant Garamond", "Songti SC", "Noto Serif SC", "STSong", serif; }
:lang(zh-Hant-HK) { --sans: "Jost", -apple-system, "PingFang HK", "Microsoft JhengHei", "Noto Sans HK", "Noto Sans TC", sans-serif; --serif: "Cormorant Garamond", "Songti TC", "Noto Serif TC", serif; }
:lang(zh-Hant-TW) { --sans: "Jost", -apple-system, "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", sans-serif; --serif: "Cormorant Garamond", "Songti TC", "Noto Serif TC", serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ivory); color: var(--coffee);
  font: 300 17px/1.7 var(--sans); letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
}
html[data-lang="sc"] body, html[data-lang="hk"] body, html[data-lang="tc"] body { font-weight: 400; letter-spacing: .04em; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.2; margin: 0 0 .5em; letter-spacing: 0; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.35rem; }
html:not([data-lang="en"]) h1, html:not([data-lang="en"]) h2, html:not([data-lang="en"]) h3 { font-weight: 600; letter-spacing: .06em; }
html:not([data-lang="en"]) h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--coffee-2); }
.eyebrow { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 1.2em; font-weight: 400; }
.lead { font-size: 1.12rem; color: var(--coffee-2); max-width: 38em; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--coffee); color: var(--ivory); padding: 8px 14px; }
:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 3px; }

.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.25em; }
.icon-sm { width: 1em; height: 1em; vertical-align: -.15em; }
.icon-lg { width: 40px; height: 40px; color: var(--gold); }

/* ---------------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55em; justify-content: center;
  background: var(--coffee); color: var(--ivory); text-decoration: none;
  padding: .9em 1.8em; border-radius: 999px; border: 1px solid var(--coffee);
  font: 400 .82rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  transition: background .25s, color .25s, border-color .25s;
}
html:not([data-lang="en"]) .btn { font-size: .95rem; letter-spacing: .12em; }
.btn:hover { background: var(--gold-ink); border-color: var(--gold-ink); }
.btn-ghost { background: transparent; color: var(--coffee); border-color: var(--champagne); }
.btn-ghost:hover { background: var(--white); color: var(--coffee); border-color: var(--gold); }
.btn-sm { padding: .7em 1.3em; font-size: .72rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.8em 0 0; }
.btn-row.center { justify-content: center; }
.link { color: var(--gold-ink); text-decoration: none; border-bottom: 1px solid var(--champagne); padding-bottom: 2px; font-weight: 400; }
.link:hover { border-color: var(--gold-ink); }

/* ---------------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247,244,238,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { width: 40px; height: 40px; }
.brand-name { font: 500 1.4rem/1 "Cormorant Garamond", serif; letter-spacing: .02em; }
.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav a:not(.btn) { text-decoration: none; font-size: .92rem; color: var(--coffee-2); position: relative; padding: 4px 0; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--coffee); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--gold); }
.header-tools { display: flex; align-items: center; gap: 8px; }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--coffee-2); padding: 8px 10px; border-radius: 999px; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { background: var(--ivory-2); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 6px; min-width: 190px; box-shadow: 0 12px 40px rgba(51,48,44,.10); }
.lang-menu a { display: block; padding: 9px 14px; border-radius: 8px; text-decoration: none; font-size: .95rem; }
.lang-menu a:hover { background: var(--ivory); }
.lang-menu a[aria-current="true"] { color: var(--gold-ink); font-weight: 500; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--coffee); transition: transform .25s; }
.menu-btn span:first-child { top: 17px; } .menu-btn span:last-child { top: 26px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

@media (max-width: 980px) {
  .lang summary span { display: none; }
  .menu-btn { display: block; }
  .header-tools { margin-left: auto; }
  .nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--ivory); border-bottom: 1px solid var(--line); padding: 8px 24px 24px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .25s; margin: 0; }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a[aria-current="page"]::after { display: none; }
  .nav-book { margin-top: 18px; }
}

/* ---------------- hero */
.hero { padding: clamp(56px, 9vw, 120px) 0 clamp(56px, 8vw, 100px); overflow: hidden; background: radial-gradient(1200px 600px at 85% 30%, var(--white), transparent 60%), var(--ivory); }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
.hero h1 span { display: block; }
.hero h1 span:last-child { color: var(--gold-ink); font-style: italic; }
html:not([data-lang="en"]) .hero h1 span:last-child { font-style: normal; }
.hero-mark { position: relative; aspect-ratio: 1; max-width: 440px; justify-self: center; width: 100%; display: grid; place-items: center; }
.hero-mark .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--champagne); background: radial-gradient(circle, var(--white) 0%, var(--ivory-2) 70%); }
.hero-mark .ring::after { content: ""; position: absolute; inset: 18px; border-radius: 50%; border: 1px solid rgba(179,154,112,.45); }
.hero-mark img { position: relative; width: 62%; height: auto; }
.status { display: inline-flex; align-items: center; gap: 10px; margin: 28px 0 0; font-size: .9rem; color: var(--coffee-2); }
.status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--champagne); }
.status.is-open .dot { background: #6F9F7E; box-shadow: 0 0 0 4px rgba(111,159,126,.18); }
.status.is-soon .dot { background: var(--gold); }
.status:empty, .status .status-text:empty { display: none; }
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-mark { max-width: 240px; order: -1; }
}

/* ---------------- sections */
.section { padding: clamp(64px, 8vw, 110px) 0; }
.section-alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head.left { text-align: left; margin-left: 0; }
.page-head { padding: clamp(56px, 7vw, 96px) 0 clamp(24px, 3vw, 40px); text-align: center; }
.page-head .lead { margin: 0 auto; }
.note { font-size: .92rem; color: var(--coffee-2); text-align: center; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 8px; }

/* ---------------- treatment cards */
.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px; }
.tgrid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1060px) { .tgrid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tgrid-4 { grid-template-columns: 1fr; } }
.tcard { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; scroll-margin-top: 96px; }
.tcard:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(51,48,44,.08); }
.tcard-media { aspect-ratio: 4 / 3; overflow: hidden; }
.tcard-media img { width: 100%; height: 100%; object-fit: cover; }
.art { height: 100%; position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 20px 22px; color: var(--gold-ink);
  background: linear-gradient(135deg, var(--ivory-2), var(--champagne)); }
.art::before { content: ""; position: absolute; right: -30%; top: -40%; width: 90%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255,253,249,.8); }
.art::after { content: ""; position: absolute; right: -18%; top: -22%; width: 62%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(179,154,112,.5); }
.art-facial { background: linear-gradient(135deg, var(--white), var(--ivory-2) 50%, #E6D9C6); }
.art-body { background: linear-gradient(135deg, #E9DFD1, #CDB99C); }
.art-num { font: 400 3.4rem/1 "Cormorant Garamond", serif; position: relative; }
.art-word { font: italic 500 1.25rem/1.2 "Cormorant Garamond", serif; color: var(--coffee); position: relative; max-width: 85%; }
.tcard-body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.tcard-body h3 { font-size: 1.35rem; }
html:not([data-lang="en"]) .tcard-body h3 { font-size: 1.15rem; }
.tcard-body p { color: var(--coffee-2); font-size: .95rem; }
.tcard-tag { font-size: .74rem !important; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink) !important; margin-bottom: .6em; }
.tcard-body .link { margin-top: auto; align-self: flex-start; font-size: .9rem; }

.tabs { position: sticky; top: 72px; z-index: 10; background: rgba(247,244,238,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.tabs .wrap { display: flex; justify-content: center; gap: 8px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; }
.tabs a { white-space: nowrap; text-decoration: none; padding: 8px 18px; border-radius: 999px; font-size: .92rem; color: var(--coffee-2); border: 1px solid transparent; }
.tabs a:hover { border-color: var(--champagne); color: var(--coffee); background: var(--white); }
.cat { scroll-margin-top: 130px; }
.cat + .cat { padding-top: 0; }

/* ---------------- why */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; text-align: center; }
.why-item h3 { margin-top: 18px; }
.why-item p { color: var(--coffee-2); font-size: .95rem; max-width: 22em; margin: 0 auto; }
@media (max-width: 900px) { .why { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .why { grid-template-columns: 1fr; } }

/* ---------------- story / about */
.story { text-align: center; }
.story p { color: var(--coffee-2); font-size: 1.05rem; }
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: center; }
.about-text p { color: var(--coffee-2); font-size: 1.05rem; }
.about-mark { position: relative; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--white), var(--ivory-2) 70%); border: 1px solid var(--champagne); display: grid; place-items: center; max-width: 380px; width: 100%; justify-self: center; }
.about-mark img { width: 55%; }
.years { position: absolute; right: 2%; bottom: 6%; background: var(--coffee); color: var(--ivory); width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; font: 500 2.4rem/1 "Cormorant Garamond", serif; }
.years sup { font-size: .5em; }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } .about-mark { max-width: 260px; order: -1; } }

/* ---------------- CTA band */
.cta-band { background: var(--coffee); color: var(--ivory); padding: clamp(56px, 7vw, 90px) 0; }
.cta-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: center; }
.cta-band p { color: #D9D1C5; max-width: 34em; }
.cta-band .btn { background: var(--ivory); color: var(--coffee); border-color: var(--ivory); }
.cta-band .btn:hover { background: var(--champagne); border-color: var(--champagne); }
.cta-band .btn-ghost { background: transparent; color: var(--ivory); border-color: rgba(247,244,238,.35); }
.cta-band .btn-ghost:hover { background: rgba(247,244,238,.08); color: var(--ivory); }
@media (max-width: 820px) { .cta-grid { grid-template-columns: 1fr; } }

/* ---------------- WeChat */
.wechat { display: flex; align-items: center; gap: 20px; background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; color: var(--coffee); margin: 24px 0; }
.wechat-compact { margin: 0; justify-self: end; }
.qr { width: 132px; height: 132px; border-radius: 10px; flex: none; background: var(--white); object-fit: contain; }
.qr-placeholder { display: grid; place-content: center; justify-items: center; gap: 4px; border: 1px dashed var(--champagne); color: var(--gold-ink); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.qr-placeholder .icon { width: 30px; height: 30px; }
.wechat-label { margin: 0; font-weight: 400; display: flex; gap: 8px; align-items: center; }
.wechat-label .icon { color: #5E9F6E; }
.wechat-id { margin: 8px 0 0; font-size: .95rem; }
.copy { margin-left: 6px; font: inherit; font-size: .8rem; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--champagne); background: var(--white); cursor: pointer; color: var(--coffee); }
@media (max-width: 820px) { .wechat-compact { justify-self: start; } }

/* ---------------- contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }
.card h2 { font-size: 1.8rem; }
.card h2.mt { margin-top: 1.4em; }
.steps { padding-left: 1.3em; color: var(--coffee-2); margin: 0; }
.steps li { margin-bottom: .5em; }
.steps li::marker { color: var(--gold-ink); font-family: "Cormorant Garamond", serif; font-weight: 600; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon { color: var(--gold); margin-top: 4px; }
.contact-list .label { display: block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.contact-list a { text-decoration: none; font-size: 1.08rem; }
.hours { margin: 0 0 6px; display: grid; gap: 6px; }
.hours div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px dashed var(--line); padding: 6px 0; }
.hours dt { color: var(--coffee-2); } .hours dd { margin: 0; font-variant-numeric: tabular-nums; }
.card .status { margin-top: 14px; }
.address { display: flex; gap: 12px; } .address .icon { color: var(--gold); margin-top: 5px; }
.map { margin-top: 28px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 7; background: var(--ivory-2); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.35) sepia(.12); }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } .map { aspect-ratio: 4 / 3; } }

/* ---------------- promotions / gallery */
.empty { text-align: center; max-width: 560px; margin: 0 auto; color: var(--coffee-2); }
.empty .wechat { justify-content: center; text-align: left; display: inline-flex; }
.empty-after { margin-top: 56px; }
.promo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.promo { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.promo figcaption { padding: 14px 18px; display: flex; flex-direction: column; gap: 2px; }
.promo figcaption span { font-size: .85rem; color: var(--gold-ink); }
.gallery-grid { columns: 3 280px; column-gap: 20px; }
.gallery-grid figure { margin: 0 0 20px; break-inside: avoid; }
.gallery-grid img { border-radius: var(--radius); }
.gallery-grid figcaption { font-size: .88rem; color: var(--coffee-2); padding: 8px 2px; }

/* ---------------- footer */
.site-footer { background: var(--ivory-2); border-top: 1px solid var(--line); padding: 64px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr .8fr; gap: 40px; }
.site-footer h3 { font-family: var(--sans); font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); font-weight: 500; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gold-ink); }
.site-footer nav { display: flex; flex-direction: column; gap: 8px; }
.brand-footer { margin-bottom: 14px; }
.site-footer .hours div { border-color: var(--champagne); }
.footer-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--champagne); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; color: var(--coffee-2); }
.footer-bottom p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* fixes */
h1, h2, h3, .art-num, .years { font-variant-numeric: lining-nums; }
.cta-band .wechat p { color: var(--coffee); }
.tgrid + .center { margin-top: 36px; }
.page-head + .section, .page-head + .tabs + .section { padding-top: clamp(32px, 4vw, 56px); }
.steps li::marker { font-variant-numeric: lining-nums; }
@media (max-width: 560px) { .tcard-media { aspect-ratio: 16 / 8; } .art-num { font-size: 2.6rem; } }
.btn-wechat { margin-top: 12px; background: #4F9A63; border-color: #4F9A63; color: #fff; }
.btn-wechat:hover { background: #3F8553; border-color: #3F8553; }
.cta-band .btn-wechat { background: #4F9A63; border-color: #4F9A63; color: #fff; }
.wechat-hint { margin: 10px 0 0; font-size: .88rem; color: var(--gold-ink) !important; }
/* weixin:// only works on phones with WeChat installed */
@media (hover: hover) and (pointer: fine) { .btn-wechat { display: none; } }
@media (max-width: 480px) { .wechat { flex-direction: column; align-items: flex-start; } .qr { width: 150px; height: 150px; } }

/* ================================================================ motion
   Quiet, slow and gold: effects support the content, never compete with it.
   Everything here is switched off for prefers-reduced-motion (end of file). */
:root { --ease: cubic-bezier(.22,.61,.36,1); }

/* Scroll reveal (only when JS runs, so content is never hidden without it) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* Hero: staggered entrance + slowly turning rings */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-copy > * { animation: rise 1s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .1s; } .hero-copy > :nth-child(3) { animation-delay: .2s; }
.hero-copy > :nth-child(4) { animation-delay: .3s; } .hero-copy > :nth-child(5) { animation-delay: .4s; }
.hero-mark { animation: rise 1.2s .15s var(--ease) both; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-mark .ring::after { border-style: dashed; border-color: rgba(179,154,112,.4); animation: spin 90s linear infinite; }
.orbit { position: absolute; inset: -14px; border-radius: 50%; animation: spin 24s linear infinite; pointer-events: none; }
.orbit i { position: absolute; top: 50%; left: -4px; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 6px rgba(179,154,112,.15), 0 0 18px 4px rgba(179,154,112,.35); }
@keyframes breathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.025); } }
.hero-mark img { animation: breathe 7s ease-in-out infinite; }

/* Treatment cards: lift, slow image zoom, gold light sweep, cursor spotlight */
.tcard { position: relative; transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .6s; }
.tcard:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -12px rgba(51,48,44,.18); border-color: var(--champagne); }
.tcard-media { position: relative; }
.tcard-media img { transition: transform 1.4s var(--ease), filter 1.4s var(--ease); }
.tcard:hover .tcard-media img { transform: scale(1.07); filter: saturate(1.06) brightness(1.03); }
.tcard-media::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255,246,228,.45) 50%, transparent 65%);
  transform: translateX(-120%); }
.tcard:hover .tcard-media::after { transform: translateX(120%); transition: transform 1.1s var(--ease); }
.tcard::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .5s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(216,199,178,.22), transparent 45%); }
.tcard:hover::before { opacity: 1; }
.tcard h3 { transition: color .4s; }
.tcard:hover h3 { color: var(--gold-ink); }
.tcard-tag { transition: letter-spacing .6s var(--ease); }
.tcard:hover .tcard-tag { letter-spacing: .22em; }

/* Buttons: soft shimmer */
.btn { position: relative; overflow: hidden; isolation: isolate; transition: background .35s, color .35s, border-color .35s, transform .35s var(--ease), box-shadow .35s; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%); transform: translateX(-110%); }
.btn:hover::after { transform: translateX(110%); transition: transform .9s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(51,48,44,.45); }
.btn:active { transform: translateY(0); }

/* Links with arrows: arrow glides; underline fills in gold */
.link { background: linear-gradient(var(--gold-ink), var(--gold-ink)) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease), border-color .3s; }
.link:hover { background-size: 100% 1px; }
.link .icon, .btn .icon { transition: transform .4s var(--ease); }
.link:hover .icon, .btn:hover .icon { transform: translateX(4px); }

/* Nav: underline grows from the centre */
@media (min-width: 981px) {
  .nav a:not(.btn)::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: -2px; height: 1px; background: var(--gold); transition: left .4s var(--ease), right .4s var(--ease); }
  .nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { left: 0; right: 0; }
}

/* Header gains depth once the page scrolls */
.site-header { transition: box-shadow .4s, background .4s; }
.site-header.scrolled { box-shadow: 0 8px 30px -18px rgba(51,48,44,.35); background: rgba(247,244,238,.97); }

/* Why-choose-us icons: halo on hover */
.why-item .icon-lg { transition: transform .6s var(--ease), color .4s; }
.why-item { position: relative; }
.why-item::before { content: ""; position: absolute; left: 50%; top: -10px; width: 64px; height: 64px; margin-left: -32px; border-radius: 50%;
  border: 1px solid var(--champagne); transform: scale(.6); opacity: 0; transition: transform .7s var(--ease), opacity .7s; }
.why-item:hover::before { transform: scale(1); opacity: 1; }
.why-item:hover .icon-lg { transform: translateY(-3px) rotate(-6deg); color: var(--gold-ink); }

/* Category tabs and language menu */
.tabs a { transition: background .3s, border-color .3s, color .3s; }
.lang-menu { transform-origin: top right; animation: pop .25s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } }

/* Years badge gently floats */
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.years { animation: float 6s ease-in-out infinite; box-shadow: 0 14px 30px -12px rgba(51,48,44,.5); }

/* Touch screens: no hover, so keep cards still (tap goes straight through) */
@media (hover: none) {
  .tcard:hover { transform: none; box-shadow: none; }
  .tcard:hover .tcard-media img { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .tcard-media::after { display: none; }
}

/* fixes: about logo aspect, "11+" on one line, category tabs on small screens */
.about-mark img { height: auto; }
.years { display: flex; align-items: center; justify-content: center; white-space: nowrap; line-height: 1; }
.years sup { line-height: 1; margin-left: 1px; position: relative; top: -.55em; font-size: .55em; }
.tabs .wrap { justify-content: safe center; flex-wrap: wrap; }
@media (max-width: 560px) {
  .tabs .wrap { gap: 4px; padding-left: 12px; padding-right: 12px; }
  .tabs a { padding: 7px 11px; font-size: .84rem; }
}

/* ================================================================ chosen effects: 01 tilt · 10 gold dust · 15 stacked cards */

/* 01: treatment cards tilt toward the cursor with a soft glare (mouse only) */
.tcard-media::after { display: none; }
.tcard::before { background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.55), transparent 50%); mix-blend-mode: soft-light; z-index: 2; }
.tcard:hover .tcard-media img { transform: scale(1.03); filter: none; }
@media (hover: hover) and (pointer: fine) {
  .tcard { transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s; will-change: transform; }
  .tcard.tilting { transition: transform .12s linear, box-shadow .5s var(--ease), border-color .5s; }
  .tcard:hover { box-shadow: 0 30px 60px -22px rgba(51,48,44,.32); }
}

/* 10: gold dust drifting in the hero */
.hero { position: relative; isolation: isolate; }
.hero-dust { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

/* 15: signature treatments stack while scrolling */
.stack { position: relative; max-width: 980px; margin: 0 auto; }
.scard { position: sticky; top: 100px; display: grid; grid-template-columns: 1.15fr 1fr; min-height: 380px; margin-bottom: 36px;
  background: var(--white); border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  box-shadow: 0 -18px 40px -30px rgba(51,48,44,.35); transform-origin: 50% 0; }
.scard:nth-child(2) { top: 118px; } .scard:nth-child(3) { top: 136px; } .scard:nth-child(4) { top: 154px; }
.scard:last-child { margin-bottom: 0; }
.scard-media { display: block; overflow: hidden; }
.scard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.scard:hover .scard-media img { transform: scale(1.04); }
.scard-body { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.scard-body h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: .2em 0 .5em; }
.scard-body h3 a { text-decoration: none; }
.scard-body h3 a:hover { color: var(--gold-ink); }
.scard-body p { color: var(--coffee-2); }
.scard-num { font: 500 1.1em/1 "Cormorant Garamond", serif; font-variant-numeric: lining-nums; }
.stack + .center { margin-top: 44px; }
@media (max-width: 760px) {
  .scard { grid-template-columns: 1fr; min-height: 0; top: 84px; margin-bottom: 24px; }
  .scard:nth-child(2) { top: 96px; } .scard:nth-child(3) { top: 108px; } .scard:nth-child(4) { top: 120px; }
  .scard-media { aspect-ratio: 16 / 10; }
  .scard-body { padding: 20px 22px 24px; }
  .scard-body p:last-child { margin-bottom: 0; }
}

/* 15 + 01: the sticky .scard handles stacking (scale); its inner .scard-in carries the look and the tilt */
.scard { display: block; min-height: 0; background: none; border: 0; border-radius: 0; overflow: visible; box-shadow: none; }
.scard-in { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; min-height: 380px;
  background: var(--white); border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  box-shadow: 0 -18px 40px -30px rgba(51,48,44,.35); }
.scard-in::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.5), transparent 45%); mix-blend-mode: soft-light; }
.scard-in:hover::before { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  .scard-in { transition: transform .6s var(--ease), box-shadow .6s var(--ease); will-change: transform; }
  .scard-in.tilting { transition: transform .12s linear, box-shadow .6s var(--ease); }
  .scard-in:hover { box-shadow: 0 34px 70px -28px rgba(51,48,44,.35); }
}
@media (max-width: 760px) { .scard-in { grid-template-columns: 1fr; min-height: 0; } }

/* Each sentence of short display text on its own line; balanced wrapping avoids one-word/one-character last lines */
.ln { display: block; }
h1, h2, h3, .lead, .section-head p, .cta-band p, .empty p, .scard-body p, .why-item p { text-wrap: balance; }
.about-text p, .story p, .tcard-body p { text-wrap: pretty; }

/* Card hover: only the title grows; tag and colours stay as they are */
.tcard:hover .tcard-tag { letter-spacing: .16em; }
.tcard:hover h3, .scard-body h3 a:hover { color: inherit; }
.tcard h3, .scard-body h3 { transform-origin: 0 50%; transition: transform .5s var(--ease); }
.tcard:hover h3, .scard-in:hover .scard-body h3 { transform: scale(1.08); }

/* Page transitions (Chrome/Edge, Safari 18.2+; other browsers simply load the page).
   The header stays put; the page content fades out and the new one drifts up into place. */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-group(site-header) { animation-duration: .35s; }
::view-transition-old(root) { animation: vt-out .25s cubic-bezier(.4,0,1,1) both; }
::view-transition-new(root) { animation: vt-in .55s cubic-bezier(.22,.61,.36,1) .05s both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(16px); } }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}

/* Hero logo: a coin that springs in and flips (with overshoot) to reveal the logo, after the
   original site's intro. Without JS or with reduced motion it simply shows the logo. */
.hero-mark { animation: none; }
.hero-mark > img { display: none; }
.coin-wrap { position: relative; width: 62%; aspect-ratio: 1; perspective: 1100px; animation: breathe 7s ease-in-out 3s infinite; }
.coin { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateY(180deg); cursor: pointer; }
.coin-front, .coin-back { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.coin-front { background: radial-gradient(circle at 35% 30%, #B7D6BF, #88B698 60%, #6FA181); box-shadow: inset 0 0 0 6px rgba(255,255,255,.35), 0 18px 40px -18px rgba(51,48,44,.35); }
.coin-back { transform: rotateY(180deg); animation: none; box-shadow: 0 18px 40px -20px rgba(51,48,44,.3); }
.js .hero-mark:not(.ready) { opacity: 0; animation: hero-fallback 0s 2.5s forwards; }
@keyframes hero-fallback { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .js .hero-mark:not(.ready) { opacity: 1; } }
.hero-mark .coin-back { position: absolute; width: 100%; height: 100%; animation: none; }

/* WeChat block: keep each line on one line so the font swap (system font → Jost) can't re-wrap it */
.wechat p { text-wrap: wrap; }
.wechat-label, .wechat-id { white-space: nowrap; }
@media (max-width: 400px) { .wechat-label, .wechat-id { white-space: normal; } }

/* WeChat: QR only (no ID). The save-and-scan hint only shows on touch screens. */
.qr { width: 150px; height: 150px; border-radius: 12px; background: none; }
.qr-hint-touch { display: none; margin: 8px 0 0; font-size: .85rem; color: var(--coffee-2); max-width: 22em; white-space: normal; }
@media (hover: none) { .qr-hint-touch { display: block; } }
@media (max-width: 480px) { .qr { width: 180px; height: 180px; } }

/* QR: click to open a large version */
.qr-hint-touch { display: none !important; }
.qr-open { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 12px; flex: none; transition: transform .4s var(--ease); }
.qr-open:hover { transform: scale(1.04); }
.qr-dialog { border: 0; padding: 0; background: none; max-width: none; max-height: none; overflow: visible; }
.qr-dialog::backdrop { background: rgba(51,48,44,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.qr-dialog img { width: min(82vw, 82vh, 480px); height: auto; border-radius: 20px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.5); cursor: zoom-out; }
.qr-dialog .qr-close { position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--white); color: var(--coffee); font-size: 22px; line-height: 1; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.2); }
.qr-dialog[open] { animation: qr-in .45s var(--ease); }
.qr-dialog[open]::backdrop { animation: qr-fade .3s ease; }
@keyframes qr-in { from { opacity: 0; transform: scale(.85); } }
@keyframes qr-fade { from { opacity: 0; } }
