/* ─── TOKENS ──────────────────────────────────────────── */
:root {
  --c-ivory:    #FDFAF6;
  --c-surface:  #F5EEE8;
  --c-border:   #EAE0D8;
  --c-rose:     #C4938A;
  --c-rose-dk:  #A67368;
  --c-taupe:    #8C7B6B;
  --c-charcoal: #2A2624;
  --c-text:     #2A2624;
  --c-muted:    #7A6B60;
  --ff-serif:   'Cormorant Garamond', Georgia, serif;
  --ff-sans:    'Montserrat', system-ui, sans-serif;
}
:root:lang(zh-Hans) {
  --ff-serif:   'Noto Sans SC', system-ui, sans-serif;
  --ff-sans:    'Noto Sans SC', system-ui, sans-serif;
}
:root {
  --nav-h:      70px;
  --radius:     4px;
  --shadow:     0 2px 24px rgba(42,38,36,.07);
  --shadow-lg:  0 8px 48px rgba(42,38,36,.12);
  --ease-out:   cubic-bezier(.22,1,.36,1);
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { display: block; width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button { cursor: pointer; background: none; border: none; font: inherit; }
input, select, textarea { font: inherit; }
body { font-family: var(--ff-sans); color: var(--c-text); background: var(--c-ivory); -webkit-font-smoothing: antialiased; overflow-x: hidden; min-width: 320px; }
h1, h2, h3 { font-family: var(--ff-serif); line-height: 1.15; }
h1 { font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 500; }
h2 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 500; }
h3 { font-size: 1.25rem; font-weight: 500; }
p  { line-height: 1.8; color: var(--c-muted); font-size: .9rem; }
.label { font-family: var(--ff-sans); font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--c-rose); margin-bottom: .75rem; }
.btn-primary { display: inline-flex; align-items: center; gap: .5rem; padding: .9rem 2.2rem; background: var(--c-charcoal); color: var(--c-ivory); font-family: var(--ff-sans); font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; border-radius: 0; transition: background .25s; }
.btn-primary:hover { background: var(--c-rose-dk); }
.btn-secondary { display: inline-flex; align-items: center; padding: .9rem 2.2rem; border: 1px solid rgba(253,250,246,.5); color: var(--c-ivory); font-size: .8rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; font-family: var(--ff-sans); transition: background .2s; }
.btn-secondary:hover { background: rgba(253,250,246,.1); }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.visible { opacity: 1; transform: none; }

/* navbar */
#navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(253,250,246,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s; }
#navbar.scrolled { border-color: var(--c-border); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; height: var(--nav-h); display: flex; align-items: center; gap: 2rem; }
.logo { display: flex; flex-direction: column; flex-shrink: 0; line-height: 1; }
.logo-name { font-family: var(--ff-serif); font-size: 1.5rem; font-weight: 500; color: var(--c-charcoal); line-height: 1; }
.logo-name em { font-style: italic; color: var(--c-rose); }
.logo-sub  { font-size: .6rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--c-taupe); margin-top: 2px; }
.nav-links { display: flex; gap: 2.2rem; margin-left: auto; }
.nav-links a { font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--c-taupe); transition: color .2s; }
.nav-links a:hover { color: var(--c-charcoal); }
.nav-actions { display: flex; align-items: center; gap: .8rem; margin-left: 1.5rem; }
#lang-select { font-size: .72rem; font-weight: 600; letter-spacing: .08em; color: var(--c-rose); border: 1px solid var(--c-border); padding: .28rem .75rem; background: transparent; appearance: none; -webkit-appearance: none; cursor: pointer; transition: background .2s, color .2s; border-radius: 4px; }
#lang-select:hover { background: var(--c-rose); color: #fff; border-color: var(--c-rose); }
#lang-select option { background: var(--c-ivory); color: var(--c-charcoal); }
.btn-pill { font-family: var(--ff-sans); font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: var(--c-charcoal); color: var(--c-ivory); padding: .5rem 1.3rem; transition: background .2s; }
.btn-pill:hover { background: var(--c-rose-dk); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; touch-action: manipulation; }
.hamburger span { display: block; width: 20px; height: 1.5px; background: var(--c-charcoal); transition: transform .25s, opacity .25s; }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.mobile-menu { display: none; flex-direction: column; padding: .5rem 2rem 1.5rem; border-top: 1px solid var(--c-border); }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: .85rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--c-charcoal); padding: .85rem 0; min-height: 44px; display: flex; align-items: center; border-bottom: 1px solid var(--c-border); }
.mobile-menu a:last-child { border-bottom: none; }

/* hero */
#hero { position: relative; min-height: 100svh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-image: url('https://images.unsplash.com/photo-1540555700478-4be289fbecef?auto=format&fit=crop&w=1920&q=80'); background-size: cover; background-position: center 30%; transform: scale(1.04); transition: transform 8s ease-out; }
#hero.loaded .hero-bg { transform: scale(1); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(42,38,36,.72) 0%, rgba(42,38,36,.35) 60%, rgba(42,38,36,.2) 100%); }
.hero-content { position: relative; z-index: 1; color: var(--c-ivory); padding: calc(var(--nav-h) + 2rem) 2rem 5rem; max-width: 1200px; width: 100%; }
.eyebrow { font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(253,250,246,.6); margin-bottom: 1.4rem; }
.hero-content h1 { color: var(--c-ivory); margin-bottom: 1.4rem; max-width: 620px; }
.hero-content h1 em { font-style: italic; color: var(--c-rose); font-style: italic; }
.hero-sub { font-size: 1rem; color: rgba(253,250,246,.7); margin-bottom: 2.5rem; max-width: 420px; line-height: 1.8; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-scroll { position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); z-index: 1; display: flex; align-items: center; justify-content: center; width: 28px; height: 44px; border: 1px solid rgba(253,250,246,.35); }
.scroll-dot { width: 4px; height: 4px; background: rgba(253,250,246,.7); border-radius: 50%; animation: scrollDot 1.8s ease-in-out infinite; }
@keyframes scrollDot { 0% { transform: translateY(-5px); opacity: 1; } 100% { transform: translateY(9px); opacity: 0; } }

/* intro strip */
.intro-strip { background: var(--c-charcoal); padding: .9rem 2rem; }
.strip-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
.strip-item { display: flex; align-items: center; gap: .5rem; font-family: var(--ff-sans); font-size: .72rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: rgba(253,250,246,.6); }
.si-icon { color: var(--c-rose); font-size: .6rem; }
.strip-div { color: rgba(253,250,246,.2); font-size: .8rem; }

/* services */
#services { background: var(--c-ivory); padding: 7rem 2rem; }
.section-wrap { max-width: 1200px; margin: 0 auto; }
.section-head { margin-bottom: 3.5rem; }
.section-head h2 { color: var(--c-charcoal); margin-bottom: .8rem; }
.section-sub { max-width: 480px; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.service-card { background: var(--c-surface); border: 1px solid var(--c-border); padding: 2rem 1.8rem; transition: box-shadow .3s, border-color .3s; }
.service-card:hover { box-shadow: var(--shadow-lg); border-color: rgba(196,147,138,.3); }
.sc-icon { font-size: 1.8rem; margin-bottom: 1rem; }
.service-card h3 { color: var(--c-charcoal); margin-bottom: 1.2rem; font-size: 1.4rem; }
.sc-list { display: flex; flex-direction: column; gap: .6rem; }
.sc-list li { display: flex; justify-content: space-between; align-items: center; font-size: .82rem; padding-bottom: .6rem; border-bottom: 1px solid var(--c-border); gap: 1rem; }
.sc-list li:last-child { border-bottom: none; padding-bottom: 0; }
.sc-list li span:first-child { color: var(--c-taupe); }
.sc-list li span:last-child  { color: var(--c-rose); font-weight: 600; white-space: nowrap; }

/* gallery */
#gallery { background: var(--c-surface); padding: 7rem 2rem; }
.gallery-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: .8rem; height: 520px; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main { grid-row: 1 / 3; }

/* team */
#team { background: var(--c-ivory); padding: 7rem 2rem; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2rem; }
.team-card { display: flex; flex-direction: column; gap: 0; }
.team-photo { aspect-ratio: 3/4; background-size: cover; background-position: top center; }
.team-info { padding: 1.4rem 0; }
.team-info h3 { font-family: var(--ff-serif); font-size: 1.6rem; color: var(--c-charcoal); margin-bottom: .2rem; }
.team-role { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--c-rose); margin-bottom: .7rem !important; display: block; }
.team-info p { font-size: .85rem; line-height: 1.7; }

/* hours */
#hours { background: var(--c-charcoal); padding: 7rem 2rem; color: var(--c-ivory); }
.hours-wrap { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.2fr; gap: 5rem; align-items: start; }
.hours-info .label { color: var(--c-rose); }
.hours-info h2 { color: var(--c-ivory); margin-bottom: 2rem; }
.hours-list { margin-bottom: 2rem; }
.hours-row { display: flex; justify-content: space-between; padding: .8rem 0; border-bottom: 1px solid rgba(253,250,246,.08); font-size: .9rem; }
.hours-row:last-child { border-bottom: none; }
.hours-row span:first-child { color: rgba(253,250,246,.6); }
.hours-row span:last-child  { color: var(--c-rose); font-weight: 600; }
.address-block { display: flex; gap: .9rem; align-items: flex-start; background: rgba(253,250,246,.04); border: 1px solid rgba(253,250,246,.08); padding: 1.2rem; }
.addr-icon { font-size: 1.2rem; flex-shrink: 0; }
.addr-text { display: flex; flex-direction: column; gap: .2rem; }
.addr-text strong { font-size: .9rem; color: var(--c-ivory); }
.addr-text span   { font-size: .82rem; color: rgba(253,250,246,.5); }
.addr-text a { font-size: .85rem; color: var(--c-rose); font-weight: 500; margin-top: .2rem; transition: color .2s; }
.addr-text a:hover { color: #fff; }
.hours-map iframe { width: 100%; height: 400px; border: none; }

/* contact */
#contact { background: var(--c-surface); padding: 7rem 2rem; }
.contact-wrap { max-width: 800px; margin: 0 auto; }
.contact-head { margin-bottom: 3rem; }
.contact-head h2 { color: var(--c-charcoal); margin-bottom: .8rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-bottom: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
label { font-family: var(--ff-sans); font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--c-rose); }
input, select, textarea { padding: .85rem 1rem; border: 1px solid var(--c-border); border-radius: 0; background: var(--c-ivory); color: var(--c-text); font-size: .9rem; outline: none; transition: border-color .2s; }
input:focus, select:focus, textarea:focus { border-color: var(--c-rose); }
textarea { resize: vertical; min-height: 90px; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C4938A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
#contact-form > .form-group { margin-bottom: 1.2rem; }
.btn-submit { display: flex; align-items: center; justify-content: center; gap: .6rem; width: 100%; padding: 1.1rem; background: var(--c-charcoal); color: var(--c-ivory); font-family: var(--ff-sans); font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; border-radius: 0; transition: background .2s; margin-top: .4rem; }
.btn-submit:hover { background: var(--c-rose-dk); }
#form-success { margin-top: 1rem; text-align: center; color: #4a8c6f; font-size: .85rem; font-weight: 500; min-height: 1.2rem; }

/* footer */
footer { background: var(--c-charcoal); padding: 2.5rem 2rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(253,250,246,.08); }
.footer-brand { display: flex; flex-direction: column; gap: .25rem; }
.footer-logo { font-family: var(--ff-serif); font-size: 1.4rem; font-weight: 500; color: var(--c-ivory); }
.footer-logo em { font-style: italic; color: var(--c-rose); }
.footer-brand p { font-size: .72rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: rgba(253,250,246,.35); }
.footer-nav { display: flex; gap: 2rem; justify-content: center; }
.footer-nav a { font-size: .72rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: rgba(253,250,246,.45); transition: color .2s; }
.footer-nav a:hover { color: var(--c-ivory); }
.footer-social { display: flex; gap: .8rem; justify-content: flex-end; align-items: center; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid rgba(253,250,246,.12); color: rgba(253,250,246,.45); transition: color .2s, border-color .2s; }
.footer-social a:hover { color: var(--c-ivory); border-color: rgba(253,250,246,.35); }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 1.5rem; text-align: center; font-size: .72rem; color: rgba(253,250,246,.25); }

@media (max-width: 960px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; }
  .gallery-main { grid-row: auto; }
  .hours-wrap { grid-template-columns: 1fr; gap: 3rem; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-nav { flex-wrap: wrap; justify-content: center; }
  .footer-social { justify-content: center; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .btn-pill  { display: none; }
  .hamburger { display: flex; }
  .form-row  { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  #services, #gallery, #team, #contact { padding: 4rem 1.5rem; }
  #hours { padding: 4rem 1.5rem; }
  .gallery-grid { grid-template-columns: 1fr; height: auto; }
  .gallery-grid img { aspect-ratio: 4/3; }
  /* Team/service card tap area */
  .team-card, .service-card { touch-action: manipulation; }
}
@media (max-width: 420px) {
  h1 { font-size: clamp(2.4rem, 9vw, 3rem); }
  .hero-btns { flex-direction: column; align-items: stretch; gap: .75rem; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  #services, #gallery, #team, #contact, #hours { padding: 3.5rem 1.25rem; }
  .service-card { padding: 1.25rem; }
}
.demo-disclaimer { margin-top: .6rem; font-size: .68rem; color: rgba(253,250,246,.25); }
.demo-disclaimer a { color: rgba(253,250,246,.45); text-decoration: underline; }
.demo-disclaimer a:hover { color: var(--c-ivory); }

/* ─── VISUAL POLISH ──────────────────────────────────────── */
/* Gallery image hover zoom */
.gallery-grid img { transition: transform .5s cubic-bezier(.22,1,.36,1), box-shadow .4s; }
.gallery-grid img:hover { transform: scale(1.03); box-shadow: 0 12px 40px rgba(42,38,36,.25); }

/* Service card image hover */
.service-card { overflow: hidden; }
.service-card img { transition: transform .5s cubic-bezier(.22,1,.36,1); }
.service-card:hover img { transform: scale(1.03); }

/* Button press state */
.btn-primary:active,
.btn-pill:active,
.btn-submit:active { transform: scale(.98); }

/* Better focus ring */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--c-rose);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ─── REDUCED MOTION ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .gallery-grid img,
  .service-card img { transition: none; }
}
