:root {
  --paper: #fcf7ee;
  --ink: #332b28;
  --muted: #695c54;
  --line: #ded4c7;
  --forest: #315749;
  --clay: #a44f3f;
  --gold: #eeb453;
  --teal: #86b9ad;
  --coral: #e58c78;
  --pink: #e8a9b2;
  --purple: var(--forest);
  --orange: var(--clay);
  --studio-text: "Yuanti SC", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --studio-display: "Studio Joy", var(--studio-text);
}

/* Use round text for reading and hand-lettered type for headings and short labels. */
body.warm-studio,
body.warm-studio :is(button, a, p, h1, h2, h3, span, small, strong, em, address, figcaption, div, i):where(:not(.joy-unit)) {
  font-family: var(--studio-text) !important;
}

.warm-studio :is(
  h1, h2, h3, .hero-accent, .welcome-accent, .poster-kicker, .welcome-eyebrow,
  .eyebrow, .brand-signature, .project-tab-title, .hero-action
),
.warm-studio .brand > span,
.warm-studio .site-header nav a,
.warm-studio .logo-action > span:not([aria-hidden]) {
  font-family: var(--studio-display) !important;
  font-weight: 400 !important;
}

.warm-studio :is(h1, h2, h3) {
  color: #49352e;
  --joy-lean: 4deg;
  --joy-lift: .05em;
}

.app-shell {
  max-width: 1336px;
  padding-inline: clamp(22px, 5.6vw, 75px);
  grid-template-rows: 83px minmax(0, 1fr) 60px;
}

.site-header { gap: 22px; }
.brand { font-size: 21px; font-weight: 650; gap: 12px; line-height: 1.25; }
.brand img { width: 36px; height: 42px; }
.brand small { font-size: 10px; font-weight: 400; letter-spacing: .14em; margin-top: 4px; }
.site-header nav { gap: clamp(12px, 2vw, 28px); }
.site-header nav a {
  position: relative;
  padding: 12px 6px;
  border-radius: 0;
  line-height: 1.35;
  font-size: 15px;
}
.site-header nav a:hover,
.site-header nav a[aria-current="page"] { background: transparent; color: var(--forest); }
.site-header nav a[aria-current="page"] { border-radius: 0; transform: none; }
.site-header nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  inset: auto 6px 4px;
  height: 2px;
  border-radius: 99px;
  background: var(--coral);
}
.motion-toggle > span:first-child { border-color: var(--line); }

.ambient i { animation-duration: 28s; }
.ambient-one { opacity: .42 !important; background: #e3ece1; }
.ambient-two { opacity: .45 !important; background: #f2d8ca; }
.ambient-three { display: none; }

.scene { justify-content: flex-start; padding: clamp(18px, 3.8vh, 38px) 6px; }
.home-hero {
  max-width: none;
  flex: none;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  gap: clamp(36px, 6vw, 86px);
  margin: auto 0 0;
}
.home-heading { text-align: left; }
.poster-kicker, .welcome-eyebrow, .eyebrow {
  color: var(--clay);
  font-size: 15px;
  letter-spacing: .1em;
  transform: none;
}
.home-heading h1 {
  font-size: clamp(36px, 4.65vw, 68px);
  line-height: 1.22;
  letter-spacing: .045em;
  margin: 15px 0 18px;
}
.hero-accent, .welcome-accent { color: var(--clay); font-style: normal; }
.hero-accent {
  position: relative;
  isolation: isolate;
  display: inline-block;
  transform: rotate(-3deg);
}
.hero-accent::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto -3% .065em;
  height: .21em;
  background: #f4d59a;
  border-radius: 53% 40% 57% 30%;
  transform: rotate(1deg);
}
.home-sub { font-size: clamp(14px, 1.3vw, 17px); line-height: 1.82; }
.hero-action {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  min-height: 46px;
  padding: 0 21px;
  margin-top: 24px;
  border-radius: 25px;
  background: var(--forest);
  color: #fffaf2;
  font-size: 14px;
  font-weight: 550;
  transition: background .35s;
}
.hero-action:hover { background: #25483b; }
.hero-action > span { font-size: 19px; line-height: 1; }
.home-portrait {
  position: relative;
  margin: 0 16px 0 0;
  isolation: isolate;
}
.home-portrait::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 14px -12px -11px 15px;
  border-radius: 19% 11% 12% 7% / 22% 21% 14% 11%;
  background: #edd9c7;
  transform: rotate(1.6deg);
}
.home-portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.42;
  max-height: 48vh;
  object-fit: cover;
  object-position: 50% 51%;
  display: block;
  border-radius: 21% 7% 14% 5% / 27% 9% 17% 8%;
}

.portals {
  flex: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: none;
  margin: clamp(26px, 5.1vh, 47px) 0 0;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  gap: 12px;
}
.portal {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  align-items: center;
  gap: clamp(8px, 1.8vw, 24px);
  min-height: 92px;
  padding: 6px 15px 6px 8px;
  border-radius: 0;
}
.portal + .portal { border-left: 1px solid var(--line); padding-left: clamp(12px, 2vw, 28px); }
.portal:hover { transform: translateY(-4px); box-shadow: none; }
.portal-art {
  position: relative;
  inset: auto;
  width: 90px;
  height: 78px;
  margin: 0;
}
.portal-brand-mark { width: 60px; height: 70px; }
.book-art svg { width: 92px; height: auto; }
.book-art .little-star { font-size: 14px; right: 0; top: 4px; }
.warm-studio .portal .envelope-art { transform: rotate(4deg) !important; }
.envelope-art :is(.envelope-body, .envelope-fold) { width: 80px; height: 48px; bottom: 7px; }
.envelope-body { background: var(--coral); }
.envelope-fold { background: #efb5af; }
.envelope-art .paper-note { width: 62px; height: 43px; top: 7px; padding-top: 4px; color: var(--clay); font-size: 10px; }
.envelope-art .envelope-heart { bottom: 17px; font-size: 14px; }
.portal-bottom { gap: 6px; }
.portal-bottom h2 { font-size: clamp(17px, 1.65vw, 23px); line-height: 1.4; }
.portal-bottom p { font-size: 12px; line-height: 1.55; margin-top: 5px; }
.portal-arrow { border: 0; width: 22px; height: 28px; margin-top: 0; font-size: 17px; color: var(--clay); }
.home-hint.welcome-replay {
  min-height: 32px;
  margin: 10px 0 auto;
  font-size: 11px;
  letter-spacing: .04em;
}

.scene-footer { padding-right: 109px; }
.scene-position { gap: 0; }
.scene-position > span:not(.scene-track) { display: none; }
.scene-track { width: 64px; height: 2px; background: var(--line); }
.step-control { min-height: 44px; font-size: 13px; gap: 8px; }
.step-control:hover { color: var(--forest); }
.music-toggle { bottom: 11px; min-height: 37px; color: var(--forest); }
.music-bars i, .welcoming .music-bars i { background: var(--forest); }

.brand-about-layout {
  max-width: 996px;
  gap: clamp(28px, 6vw, 105px);
  flex-shrink: 0;
}
.brand-emblem { position: relative; isolation: isolate; gap: 20px; }
.brand-emblem::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -8% -5% 9%;
  border-radius: 50%;
  background: radial-gradient(ellipse, #f1dfca 0%, transparent 73%);
}
.brand-about-layout .about-copy h2 {
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1.22;
  margin: 12px 0;
}
.about-subtitle { color: var(--muted); font-size: 15px; }
.story-tabs { margin-top: 22px; gap: clamp(12px, 3vw, 31px); }
.story-tabs button { min-height: 44px; font-size: 14px; }
.brand-about-layout .story-book { min-height: 160px; }
.brand-about-layout .story-book h3 { font-size: clamp(22px, 2.5vw, 29px); }
.brand-about-layout .story-book p { line-height: 1.8; }
.brand-signature { color: var(--forest); font-size: 14px; }

.explore-heading h2 { font-size: clamp(32px, 4.4vw, 55px); line-height: 1.25; }
.explore-heading .service-intro { margin-top: 9px; font-size: 15px; color: var(--muted); }
.explore-tabs { width: min(710px, 100%); gap: 16px; margin-top: 20px; }
.explore-tabs button { padding: 3px 4px 13px; }
.explore-tabs button[aria-selected="true"]::after { height: 3px; transform: none; }
.project-tab-index { display: none; }
.practice-deck { max-width: 960px; margin-top: 23px; }
.practice-panel { padding: 10px 24px; min-height: 0; gap: clamp(20px, 5vw, 70px); }
.practice-art { position: relative; isolation: isolate; }
.practice-art::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -12% -5% -9%;
  border-radius: 50%;
  background: radial-gradient(ellipse, color-mix(in srgb, var(--project-color) 28%, var(--paper)), transparent 70%);
}
.practice-art svg { width: 280px; }
.project-art-caption { transform: none; }
.practice-copy .audience { border-radius: 10px; line-height: 1.55; }
.product-menu .practice-copy h3 { font-size: clamp(25px, 3vw, 39px); line-height: 1.25; margin: 10px 0; }
.practice-copy .service-summary { font-size: 16px; }
.practice-copy .service-takeaway { font-size: 14px; }
.service-prices { gap: 8px 20px; }
.service-prices li { padding: 0; border-radius: 0; background: none; color: var(--ink); }
.service-prices strong { font-size: 16px; color: var(--forest); }
.practice-copy .button.primary { color: var(--forest); gap: 9px; }
.video-link { margin-top: 8px; min-height: 36px; }

.contact-layout { max-width: 1020px; gap: clamp(30px, 6vw, 90px); }
.contact-intro h2 { font-size: clamp(38px, 5.3vw, 66px); line-height: 1.23; letter-spacing: 0; }
.contact-description { max-width: 24em; font-size: 16px; margin-top: 16px; }
.booking-terms { margin-top: 18px; }
.booking-terms summary { min-height: 40px; color: var(--forest); }
.contact-card {
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  margin-top: 0;
  padding: 6px 0 8px clamp(20px, 4vw, 56px);
}
.card-brand { padding-bottom: 16px; }
.contact-item { margin-top: 17px; }
.contact-label { font-size: 12px; }
.wechat-number { font-variant-numeric: tabular-nums; }
.contact-call, .text-link { color: var(--forest); }
.contact-item :is(.contact-call, .logo-action) { vertical-align: middle; }
.contact-item .logo-action { color: var(--forest); }
.booking-note { padding: 12px 13px 4px; border-top: 0; border-left: 2px solid var(--teal); background: #e8eee5; }

.welcome-screen {
  background: radial-gradient(ellipse at 31% 57%, #f4dfca 0%, transparent 56%), var(--paper);
}
.welcome-orbits i:nth-child(1) { background: #dfeade; right: -22%; top: -29%; }
.welcome-orbits i:nth-child(2) { background: #f4dad0; right: -12%; bottom: -23%; }
.welcome-orbits i:nth-child(3) { background: #f4e7c9; left: -13%; bottom: -16%; }
.welcome-orbits::after { display: none; }
.welcome-layout { max-width: 1100px; }
.welcome-copy h1 { font-size: clamp(43px, 5.4vw, 72px); line-height: 1.16; letter-spacing: .025em; }
.welcome-eyebrow { margin-bottom: 14px; }
.welcome-line { margin-top: 20px; font-size: 17px; }
.warm-studio #enter-studio.logo-action { color: var(--forest); gap: 10px; margin-top: 22px; }
#enter-studio.logo-action img { width: 44px; height: 50px; }
#enter-studio.logo-action > span { font-size: 17px; }
.welcome-music-note { font-size: 12px; margin-top: 5px; }
.welcoming .music-toggle { bottom: 16px; }

@media (max-height: 760px) and (min-width: 721px) {
  .app-shell { grid-template-rows: 70px minmax(0, 1fr) 54px; }
  .scene { padding-block: 16px; }
  .portals { margin-top: 27px; }
  .portal { min-height: 76px; }
  .portal-art { height: 66px; }
  .portal-brand-mark { width: 54px; height: 62px; }
  .explore-tabs { margin-top: 13px; }
  .practice-deck { margin-top: 15px; }
}

@media (max-width: 720px) {
  .app-shell { grid-template-rows: 106px minmax(0, 1fr) 56px; }
  .site-header { align-items: flex-start; padding-top: 13px; position: relative; }
  .brand { font-size: 18px; line-height: 1.17; gap: 9px; }
  .brand img { width: 30px; height: 36px; }
  .site-header nav {
    position: absolute;
    inset: auto 0 4px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    text-align: center;
    gap: 0;
  }
  .site-header nav a { padding: 12px 2px; font-size: 14px; white-space: nowrap; }
  .site-header nav a[aria-current="page"]::after { inset-inline: 22%; }
  .motion-toggle { min-height: 36px; }
  .scene { padding-inline: 4px; }
  .home-hero { grid-template-columns: 1fr; gap: 22px; margin-inline: auto; max-width: 520px; }
  .home-heading h1 { font-size: clamp(36px, 10vw, 47px); margin: 7px 0 10px; }
  .home-sub { font-size: 14px; line-height: 1.6; }
  .hero-action { min-height: 42px; margin-top: 14px; padding-inline: 17px; font-size: 13px; }
  .home-portrait { margin-right: 10px; }
  .home-portrait::before { inset: 8px -8px -7px 10px; }
  .home-portrait img { aspect-ratio: 1.85; max-height: 29vh; }
  .portals { max-width: 520px; margin: 23px auto 0; padding-top: 10px; gap: 2px; }
  .portal, .portal + .portal { grid-template-columns: 1fr; justify-items: center; align-content: center; gap: 4px; min-height: 70px; padding: 3px 0 6px; }
  .portal-art { width: 74px; height: 49px; }
  .portal-brand-mark { width: 41px; height: 47px; }
  .book-art svg { width: 72px; }
  .book-art .little-star { font-size: 11px; }
  .warm-studio .portal .envelope-art { transform: rotate(4deg) scale(.74) !important; }
  .envelope-art :is(.envelope-body, .envelope-fold) { bottom: 0; }
  .envelope-art .paper-note { top: -16px; }
  .envelope-art .envelope-heart { bottom: 10px; }
  .portal-bottom h2 { font-size: 14px; letter-spacing: 0; white-space: nowrap; }
  .portal-bottom p, .portal-arrow { display: none; }
  .home-hint.welcome-replay { margin-top: 5px; }
  .scene-footer { padding-right: 92px; gap: 7px; }
  .scene-track { width: 28px; }
  #next-scene.logo-action > span, .step-control { font-size: 12px; white-space: nowrap; }
  #next-scene.logo-action img { width: 20px; height: 24px; }
  .music-toggle { min-height: 34px; bottom: 10px; }
  .explore-tabs { gap: 5px; }
  .project-tab-icon { width: 43px; height: 34px; }
  .project-tab-title { font-size: 11px; }
  .contact-layout { gap: 18px; }
}

@media (max-width: 540px) {
  .brand-about-layout { display: block; max-width: 420px; position: relative; }
  .brand-emblem { position: absolute; width: 78px; top: 2px; right: 6px; }
  .brand-emblem > img { width: 100%; height: auto; }
  .brand-emblem figcaption { display: none; }
  .brand-about-layout .story-tabs { margin-top: 21px; gap: 18px; }
  .brand-about-layout .story-book { min-height: 148px; }
  .brand-about-layout .story-book p { font-size: 15px; }
  .explore-heading .service-intro { font-size: 13px; }
  .explore-tabs { margin-top: 10px; }
  .explore-tabs button { min-height: 53px; padding-inline: 0; }
  .practice-deck { margin-top: 12px; }
  .practice-panel { grid-template-columns: 1fr; padding: 0 2px; gap: 8px; }
  .practice-art::before { inset-inline: 20%; }
  .product-menu .practice-art svg { width: 127px; height: 96px; }
  .project-art-caption { display: none; }
  .practice-copy .service-summary { font-size: 14px; }
  .practice-copy .service-takeaway { font-size: 13px; }
  .contact-layout { grid-template-columns: 1fr; max-width: 420px; }
  .contact-intro .poster-kicker { font-size: 14px; }
  .contact-intro h2 { margin-top: 7px; }
  .contact-description { font-size: 14px; margin-top: 8px; }
  .booking-terms { margin-top: 6px; }
  .contact-card { padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .card-brand { display: none; }
  .card-brand + .contact-item { margin-top: 0; }
  .welcome-copy h1 { font-size: clamp(34px, 9.7vw, 47px); }
  .welcome-eyebrow { font-size: 12px; margin-bottom: 8px; }
  .welcome-line { font-size: 15px; margin-top: 12px; }
  .warm-studio #enter-studio.logo-action { margin-top: 9px; }
  .welcome-music-note { font-size: 11px; }
}

@media (max-width: 540px) and (max-height: 740px) {
  .app-shell { grid-template-rows: 94px minmax(0, 1fr) 51px; }
  .scene { padding-block: 10px; }
  .home-hero { gap: 14px; }
  .home-heading h1 { font-size: clamp(32px, 9.4vw, 39px); line-height: 1.18; margin: 5px 0 7px; }
  .home-sub { font-size: 13px; line-height: 1.55; }
  .hero-action { margin-top: 10px; }
  .home-portrait img { max-height: 22vh; }
  .portals { margin-top: 13px; padding-top: 7px; }
  .portal, .portal + .portal { min-height: 63px; }
  .portal-art { height: 41px; }
  .portal-brand-mark { width: 36px; height: 41px; }
  .home-hint.welcome-replay { margin-top: 2px; }
  .product-menu .practice-art svg { width: 95px; height: 72px; }
}
