/* Concepts Nail Studio — palette taken from the watercolor polish bottles on the business card. */
:root {
  color-scheme: light;

  --paper: #fbf8f6;
  --hero-paper: #fdf1f2;
  --surface: #ffffff;
  --tint: #f7eef1;
  --ink: #2d2129;
  --ink-soft: #6b5a64;
  --line: #ecdfe4;

  --rose: #b23a5e;
  --rose-deep: #9a2f50;
  --open: #2f7d55;
  --blush: #fbe3ea;
  --coral: #ef9466;
  --mauve: #9b7bb3;
  --sage: #7f9e8c;

  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;
  --font-zh: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;

  --radius: 18px;
  --shadow: 0 10px 30px -18px rgba(58, 36, 51, 0.45);
  --gutter: clamp(16px, 4vw, 32px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Chinese: the Latin fonts have no CJK glyphs, so the CJK stack must come before any generic family. */
html:lang(zh) body {
  font-family: "Jost", var(--font-zh);
}

html:lang(zh) h1,
html:lang(zh) h2,
html:lang(zh) h3 {
  font-family: "Cormorant Garamond", var(--font-zh);
}

img,
svg,
iframe {
  display: block;
  max-width: 100%;
}

a {
  color: var(--rose);
}

a:hover {
  color: var(--rose-deep);
}

:focus-visible {
  outline: 3px solid var(--rose);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.9rem);
}

h3 {
  font-size: 1.55rem;
}

p {
  margin: 0 0 1em;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 0.75em;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rose);
}

html:lang(zh) .eyebrow,
html:lang(zh) .details dt,
html:lang(zh) .phone-label,
html:lang(zh) .hours-subtitle {
  font-size: 0.875rem;
  letter-spacing: 0.08em;
}

.section-lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 34em;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: inherit;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary {
  background: var(--rose);
  color: #fff;
}

.btn-primary:hover {
  background: var(--rose-deep);
  color: #fff;
}

.btn-ghost {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--rose);
  color: var(--rose-deep);
}

.btn-small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.95rem;
}

.btn svg {
  width: 18px;
  height: 18px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 244, 245, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
  min-width: 0;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  width: 32px;
  height: 32px;
  flex: none;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  gap: 28px;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
}

/* Narrow desktops: tighter link spacing so the nav (with Admin) fits on one line. */
@media (max-width: 1100px) {
  .site-nav {
    gap: 18px;
  }
}

.site-nav a:hover {
  color: var(--rose);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: inline-flex;
  padding: 3px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.lang-switch button {
  min-width: 44px;
  min-height: 34px;
  padding: 0 10px;
  white-space: nowrap;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
}

.lang-switch button:lang(zh) {
  font-family: var(--font-zh);
}

.lang-switch button:hover {
  color: var(--ink);
}

.lang-switch button[aria-pressed="true"] {
  background: var(--rose);
  color: #fff;
}

/* Section links only in the phone menu; the inline nav keeps three. */
.nav-extra {
  display: none;
}

/* Staff link to /admin: muted, with a lock icon. */
.site-nav .nav-admin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-soft);
}

.nav-admin svg {
  flex: none;
  width: 18px;
  height: 18px;
}

.menu-toggle {
  display: none;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle svg {
  width: 26px;
  height: 26px;
}

/* Hero: follows the design mockup (reference/hero-mockup.png). Wider screens place the
   bottles and the blossom as separate pieces around the text; phones (max-width: 760px,
   below) use the whole watercolor as the background with positions in vw, as drawn. */
.hero {
  position: relative;
  overflow: hidden;
  padding: 0 0 clamp(40px, 6vw, 72px);
  background:
    radial-gradient(40% 45% at 100% 62%, rgba(236, 140, 170, 0.16), transparent 70%),
    radial-gradient(35% 40% at 0% 92%, rgba(236, 140, 170, 0.14), transparent 70%),
    linear-gradient(var(--hero-paper) 72%, var(--paper));
}

.hero-stage {
  position: relative;
  max-width: 1240px;
  min-height: 600px;
  margin: 0 auto;
}

.hero-bottles,
.hero-blossom {
  position: absolute;
  height: auto;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.hero-bottles {
  top: 0;
  left: 0;
  width: min(54%, 660px);
}

.hero-blossom {
  right: 0;
  bottom: 0;
  width: min(22%, 270px);
}

.hero-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 52%;
  margin-left: auto;
  padding: clamp(56px, 7vw, 96px) var(--gutter) 64px;
  text-align: center;
}

.hero-brand {
  margin: 0;
  font-size: inherit;
  line-height: 1;
}

.hero-name {
  display: block;
  font-family: "Cormorant Garamond", var(--font-display);
  font-size: clamp(3.4rem, 6.4vw, 5.6rem);
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #2a1b23;
}

/* —— STUDIO —— : lines either side; the right line's margin cancels the trailing letter space. */
.hero-studio {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9em;
  margin-top: 0.45em;
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.7vw, 1.4rem);
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--rose);
}

.hero-studio::before,
.hero-studio::after {
  content: "";
  width: 3.2em;
  height: 1.5px;
  background: currentColor;
}

.hero-studio::after {
  margin-left: -0.42em;
}

.hero-tagline {
  margin: 0.75em 0 0;
  font-family: "Cormorant Garamond", var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-style: italic;
  font-weight: 600;
  line-height: 1.18;
  color: #2a1b23;
}

.hero-tagline span {
  display: block;
}

.hero-tagline span:first-child {
  padding-right: 1.8em;
}

.hero-tagline span:last-child {
  padding-left: 1.8em;
}

html:lang(zh) .hero-tagline {
  font-family: "Noto Serif SC", var(--font-zh);
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  letter-spacing: 0.04em;
}

.hero-swash {
  width: min(78%, 370px);
  height: 14px;
  margin-top: 10px;
  transform: translateX(6%);
}

.hero-services {
  margin: 1.4em 0 0;
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  font-weight: 500;
  letter-spacing: 0.16em;
  word-spacing: 0.25em;
  color: var(--rose);
}

.btn-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: min(100%, 320px);
  min-height: 64px;
  margin-top: 26px;
  padding: 8px 28px;
  border-radius: 999px;
  background: linear-gradient(180deg, #c4426d, #a8335a);
  box-shadow: 0 14px 26px -14px rgba(154, 47, 80, 0.8);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-book:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 18px 30px -14px rgba(154, 47, 80, 0.9);
}

.btn-book svg {
  flex: none;
  width: 26px;
  height: 26px;
}

.btn-book .btn-book-arrow {
  width: 20px;
  height: 20px;
  margin-left: 6px;
}

/* "Book Now" over the phone number it calls. */
.btn-book-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  text-align: left;
}

.btn-book-phone {
  font-size: 0.74em;
  font-weight: 400;
  letter-spacing: 0.04em;
  opacity: 0.92;
}

.hero-address {
  display: inline-flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 20px;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.4;
  text-align: left;
  text-decoration: none;
}

.hero-address:hover {
  color: var(--ink);
}

.hero-address:hover span {
  text-decoration: underline;
}

.hero-address svg {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 3px;
  color: var(--rose);
}

.hero .status-chip {
  margin: 16px 0 0;
}

/* Service shortcuts and the photo slider under the hero text. */
.hero-extras {
  position: relative;
  display: grid;
  gap: 24px;
  max-width: 1000px;
}

.quick-services {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(8px, 2vw, 20px);
}

.quick-services a {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 16px 8px 14px;
  border: 1px solid rgba(236, 207, 216, 0.95);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 10px 24px -18px rgba(154, 47, 80, 0.45);
  color: var(--ink);
  text-align: center;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}

.quick-services a:hover {
  border-color: var(--rose);
  color: var(--ink);
  transform: translateY(-2px);
}

.quick-services svg {
  width: 42px;
  height: 42px;
  margin-bottom: 6px;
  fill: none;
  stroke: #c8417a;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quick-name {
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.3;
}

/* English under the Chinese name, as in the mockup; other languages show one name. */
.quick-sub {
  display: none;
  font-size: 0.95rem;
  line-height: 1.25;
  color: var(--ink-soft);
}

html:lang(zh) .quick-sub {
  display: block;
}

.slides {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: var(--tint);
  box-shadow: var(--shadow);
}

.slides-track {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.slides-track::-webkit-scrollbar {
  display: none;
}

/* overflow: hidden keeps tall photos from stretching a slide past its ratio. */
.slide {
  position: relative;
  flex: 0 0 100%;
  aspect-ratio: 945 / 300;
  overflow: hidden;
  scroll-snap-align: start;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-photos img {
  position: absolute;
  inset: 0;
}

/* Customer photos, three to a slide; a tap opens the gallery viewer. */
.slide-photos {
  display: grid;
  gap: 3px;
  background: #fff;
}

.slide-tile {
  position: relative;
  min-width: 0;
  padding: 0;
  border: 0;
  background: var(--tint);
  cursor: zoom-in;
}

.slide-tile:focus-visible {
  outline-offset: -3px;
}


.slides-dots {
  position: absolute;
  left: 50%;
  bottom: 4px;
  display: flex;
  transform: translateX(-50%);
}

/* 10px dots with a 26px tap area; the faint ring keeps a white dot visible on light photos. */
.slides-dots button {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.slides-dots button::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 0 1px rgba(42, 27, 35, 0.28);
}

.slides-dots button[aria-current="true"]::before {
  background: var(--rose);
}

/* Many photos: 6px dots so a row of them fits on a 320px phone. */
.slides-dots.is-compact button {
  width: 14px;
  height: 24px;
}

.slides-dots.is-compact button::before {
  width: 6px;
  height: 6px;
}

/* Sections */
.section {
  padding: clamp(56px, 8vw, 104px) 0;
}

.section-tint {
  background: var(--tint);
}

.section-head {
  margin-bottom: 40px;
}

.service-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 20px;
}

.service-card {
  position: relative;
  padding: 28px 24px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-card p {
  margin: 0;
  color: var(--ink-soft);
}

.swatch {
  display: block;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: 0 0 0 5px #fff, 0 0 0 6.5px color-mix(in srgb, var(--swatch) 35%, #fff);
}

.note {
  margin: 32px 0 0;
  color: var(--ink-soft);
  font-style: italic;
}

html:lang(zh) .note {
  font-style: normal;
}

/* "Our work": photos uploaded at /admin (index.php renders them), and the full-size viewer. */
.gallery {
  margin-top: 56px;
}

.gallery h3 {
  margin: 0 0 6px;
}

.gallery-lead {
  margin: 0;
  color: var(--ink-soft);
}

.gallery-grid {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
  gap: 20px;
}

.gallery-grid figure {
  margin: 0;
}

.gallery-item {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--tint);
  box-shadow: var(--shadow);
  cursor: zoom-in;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-item:focus-visible {
  outline: 3px solid var(--rose);
  outline-offset: 3px;
}

.gallery-grid figcaption {
  margin-top: 10px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.lightbox {
  width: auto;
  max-width: 100vw;
  max-height: 100vh;
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

.lightbox::backdrop {
  background: rgba(30, 18, 26, 0.88);
}

.lightbox figure {
  margin: 0;
  text-align: center;
}

.lightbox img {
  display: block;
  max-width: min(92vw, 1200px);
  max-height: calc(100vh - 120px);
  width: auto;
  height: auto;
  margin: 0 auto;
  border-radius: 12px;
}

.lightbox figcaption {
  margin-top: 12px;
  color: #fff;
}

.lightbox-btn {
  position: fixed;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  cursor: pointer;
}

.lightbox-btn:hover,
.lightbox-btn:focus-visible {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-btn svg {
  width: 24px;
  height: 24px;
}

.lightbox-close {
  top: 16px;
  right: 16px;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 12px;
}

.lightbox-next {
  right: 12px;
}

/* Visit */
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.details {
  margin: 8px 0 28px;
  display: grid;
  gap: 18px;
}

.details dt {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.details dd {
  margin: 2px 0 0;
  font-size: 1.1rem;
}

.details address {
  font-style: normal;
}

.details a {
  font-weight: 500;
  text-decoration: none;
}

.map-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Store hours */
.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  padding: 6px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
}

.status-chip::before {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink-soft);
}

.status-chip[data-open="true"]::before {
  background: var(--open);
  box-shadow: 0 0 0 4px rgba(47, 125, 85, 0.18);
}

.details dd .status-chip {
  margin: 6px 0 10px;
}

.hours-table {
  width: 100%;
  max-width: 380px;
  border-collapse: collapse;
  font-size: 1rem;
}

.hours-table th,
.hours-table td {
  padding: 6px 0;
  border-bottom: 1px dashed var(--line);
  font-weight: 400;
  text-align: left;
}

.hours-table td {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* One line per open range (a partial closure gives two); a range never breaks inside. */
.hours-range {
  display: block;
}

.hours-range > span:first-child {
  white-space: nowrap;
}

.hours-table tr[data-today] th,
.hours-table tr[data-today] td {
  color: var(--rose-deep);
  font-weight: 600;
}

.is-closed {
  color: var(--ink-soft);
}

.hours-special {
  max-width: 380px;
}

.hours-subtitle {
  margin: 18px 0 2px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.hours-schedule > .hours-subtitle:first-child {
  margin-top: 4px;
}

.hours-tag {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--blush);
  color: var(--rose-deep);
  font-size: 0.75rem;
  font-weight: 500;
  vertical-align: 1px;
}

.hours-special ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hours-special li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 0;
}

.hours-special li > span:last-child {
  text-align: right;
}

/* Notification about upcoming special dates (hours.js). It closes after the time set at
   /admin; the bar along the bottom shows the time left and stops while it is paused. */
.notice {
  position: fixed;
  z-index: 60;
  right: 16px;
  bottom: 16px;
  width: min(380px, calc(100vw - 32px));
  padding: 14px 18px 18px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 40px -16px rgba(58, 36, 51, 0.5);
  animation: notice-in 0.35s ease-out;
}

.notice-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.notice-icon {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--rose);
}

.notice-title {
  flex: 1;
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
}

html:lang(zh) .notice-title {
  font-family: "Cormorant Garamond", var(--font-zh);
  font-size: 1.15rem;
}

.notice-close {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  margin: -4px -8px -4px 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
}

.notice-close:hover {
  background: var(--tint);
  color: var(--ink);
}

.notice-close svg {
  width: 20px;
  height: 20px;
}

.notice-list {
  display: grid;
  gap: 4px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
}

.notice-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.notice-list li > span:last-child {
  text-align: right;
}

.notice-list .is-closed {
  color: var(--rose-deep);
  font-weight: 500;
}

.notice-more {
  margin: 4px 0 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.notice-link {
  display: inline-block;
  margin-top: 10px;
  font-weight: 500;
}

.notice-timer {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--rose);
  transform-origin: left;
  animation: notice-timer var(--notice-seconds, 30s) linear forwards;
}

.notice.is-paused .notice-timer {
  animation-play-state: paused;
}

@keyframes reload-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes notice-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

@keyframes notice-timer {
  to {
    transform: scaleX(0);
  }
}

.hours-fallback {
  margin: 0;
}

/* FAQ */
.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
}

.faq-item {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.faq-item h3 {
  margin-bottom: 8px;
  font-size: 1.4rem;
}

.faq-item p {
  margin: 0;
  color: var(--ink-soft);
}

/* App install and QR code */
.app-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.install-help {
  max-width: 32em;
  margin: 16px 0 0;
  color: var(--ink-soft);
}

.qr-card {
  justify-self: center;
  margin: 0;
  padding: 24px 24px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.qr-card img {
  width: 200px;
  height: 200px;
  margin: 0 auto 12px;
}

.qr-card figcaption {
  display: grid;
  gap: 2px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.qr-card strong {
  color: var(--ink);
  font-weight: 500;
}

.map-frame {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--surface);
}

.map-frame iframe {
  width: 100%;
  height: 420px;
  border: 0;
}

/* Contact */
.contact-inner {
  text-align: center;
}

.contact .section-lead {
  margin-left: auto;
  margin-right: auto;
}

.phone-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.phone-card {
  display: grid;
  gap: 2px;
  min-width: 240px;
  padding: 20px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}

.phone-card:hover {
  border-color: var(--rose);
  color: var(--ink);
  transform: translateY(-2px);
}

.phone-label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.phone-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--rose);
  font-variant-numeric: lining-nums;
}

/* Footer */
.site-footer {
  padding: 40px 0;
  background: var(--ink);
  color: #e9dfe4;
  font-size: 0.95rem;
}

.footer-inner p {
  margin: 0 0 4px;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
}

.footer-inner .footer-powered {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.875rem;
  color: #b9aab3;
}

.footer-powered a {
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.footer-powered a:hover {
  color: #fff;
  border-bottom-color: #fff;
}

/* Responsive */
@media (max-width: 900px) {
  .site-nav {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .menu-open .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 4px var(--gutter) 12px;
    background: rgba(253, 244, 245, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 24px -20px rgba(58, 36, 51, 0.45);
  }

  .menu-open .site-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }

  .menu-open .site-nav a:last-child {
    border-bottom: 0;
  }

  .menu-open .nav-extra {
    display: block;
  }

  .menu-open .site-nav .nav-admin {
    display: flex;
  }

  /* Reload is a button; it looks like the links around it. */
  .menu-open .site-nav .nav-reload {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 12px 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: none;
    color: var(--ink);
    font: inherit;
    font-size: 1.05rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
  }

  .nav-reload svg {
    width: 18px;
    height: 18px;
  }

  .nav-reload.is-busy svg {
    animation: reload-spin 0.9s linear infinite;
  }

  .visit-grid,
  .app-grid,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .map-frame iframe {
    height: 320px;
  }
}

/* Phones: the mockup's layout, scaled with the screen width (1vw = 10.24px of the mockup). */
@media (max-width: 760px) {
  .hero {
    padding-bottom: 28px;
    background:
      url("../img/hero/hero-mobile.webp?v=20261108T035122Z-1736987") center top / 100% auto no-repeat,
      linear-gradient(var(--hero-paper) 82%, var(--paper));
  }

  .hero-bottles,
  .hero-blossom {
    display: none;
  }

  .hero-stage {
    min-height: 79.5vw;
  }

  .hero-copy {
    align-items: stretch;
    width: auto;
    margin: 0;
    padding: 13.4vw 0 0;
  }

  .hero-brand {
    margin: 0 3vw 0 45vw;
  }

  .hero-name {
    font-size: 10.2vw;
  }

  .hero-studio {
    gap: 2.4vw;
    margin-top: 2.4vw;
    font-size: 3.1vw;
  }

  .hero-studio::before,
  .hero-studio::after {
    width: 7vw;
  }

  .hero-tagline {
    margin-top: 3.2vw;
    font-size: 7.4vw;
    line-height: 1.04;
    text-align: left;
  }

  .hero-tagline span:first-child {
    margin-left: 38vw;
    padding: 0;
  }

  .hero-tagline span:last-child {
    margin-right: 13vw;
    padding: 0;
    text-align: right;
  }

  html:lang(zh) .hero-tagline {
    font-size: 6.45vw;
    line-height: 1.2;
    letter-spacing: 0.02em;
  }

  .hero-swash {
    width: 36vw;
    height: 2vw;
    margin: 1.4vw 0 0 47vw;
    transform: none;
  }

  .hero-services {
    margin-top: 4.4vw;
    font-size: max(12px, 3vw);
    letter-spacing: 0.12em;
    word-spacing: 0.2em;
  }

  .btn-book {
    align-self: center;
    gap: 2.6vw;
    min-width: 47vw;
    min-height: max(52px, 7.8vw);
    margin-top: 4.4vw;
    padding: 1.4vw 5vw;
    font-size: max(16px, 4.4vw);
  }

  .btn-book svg {
    width: max(20px, 5.6vw);
    height: max(20px, 5.6vw);
  }

  .btn-book .btn-book-arrow {
    width: max(16px, 4.2vw);
    height: max(16px, 4.2vw);
    margin-left: 1vw;
  }

  .hero-address {
    align-self: center;
    gap: 2.6vw;
    margin-top: 2.8vw;
    font-size: max(13px, 3.1vw);
    line-height: 1.35;
  }

  .hero-address svg {
    width: max(16px, 4vw);
    height: max(16px, 4vw);
    margin-top: 0.4vw;
  }

  .hero .status-chip {
    align-self: center;
    gap: 8px;
    margin-top: 8px;
    padding: 2px 12px;
    background: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
  }

  .hero-extras {
    gap: 4vw;
    margin-top: 4vw;
  }

  .quick-services {
    gap: 2vw;
  }

  .quick-services a {
    padding: 2.6vw 1vw 2.2vw;
    border-radius: 14px;
  }

  .quick-services svg {
    width: max(26px, 7vw);
    height: max(26px, 7vw);
    margin-bottom: 1vw;
  }

  .quick-name {
    font-size: max(13px, 3.6vw);
  }

  .quick-sub {
    font-size: max(11px, 3vw);
  }

  .slides {
    border-radius: 16px;
  }
}

@media (max-width: 560px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 12px;
  }

  .header-inner {
    gap: 6px;
  }

  /* The full wordmark always shows; the buttons beside it are sized to fit. */
  .brand {
    flex: none;
    gap: 8px;
  }

  /* Stack the wordmark so the full name fits beside the language switch. */
  .brand-name {
    display: grid;
    font-size: 1.25rem;
    line-height: 1;
  }

  .brand-sub {
    margin-top: 3px;
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--rose);
  }

  .brand-mark {
    width: 26px;
    height: 26px;
  }

  /* Keep the phone icon only; the hero's Book Now button also calls. */
  .header-call {
    width: 36px;
    min-height: 36px;
    padding: 0;
  }

  .menu-toggle {
    width: 34px;
    height: 36px;
  }

  .header-call span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .lang-switch {
    padding: 2px;
  }

  .lang-switch button {
    min-width: 32px;
    min-height: 30px;
    padding: 0 5px;
    font-size: 0.82rem;
  }

  .map-links .btn {
    flex: 1 1 100%;
  }

  .phone-card {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 380px) {
  .brand-mark {
    display: none;
  }
}

/* Smallest phones: the hero's Book Now button is the call button. */
@media (max-width: 340px) {
  .header-call {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .phone-card {
    transition: none;
  }

  .phone-card:hover,
  .gallery-item:hover img,
  .btn-book:hover,
  .quick-services a:hover {
    transform: none;
  }

  .btn-book,
  .quick-services a {
    transition: none;
  }

  .notice,
  .nav-reload.is-busy svg {
    animation: none;
  }

  .gallery-item img {
    transition: none;
  }
}
