/*
  收纳 Shouna — shouna.co.uk prototype
  Concept: a measured before/after is the proof; typography stays quiet around it.
  Palette: locked bottle-green / warm paper / oxide (wayfinding only).
  Bilingual: body[data-lang] toggles .lang-en / .lang-zh.
*/
:root {
  --ink: #19231e;
  --paper: #f3f0e8;
  --parchment: #f8f4e9;
  --cream: #fffdf7;
  --oxide: #974c35;
  --brass: #d09a83;
  --brand: #173c34;
  --brand-dark: #0f2d27;
  --green: #39664b;
  --muted: #666b63;
  --line: #d8d1c4;
  --line-soft: #e3dccc;
  --serif: "Fraunces", Georgia, serif;
  --cn: "Noto Serif SC", "Songti SC", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; }
body { background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.65; }
::selection { background: var(--brass); color: var(--brand-dark); }
a { color: inherit; }

body[data-lang="zh"] .lang-en { display: none !important; }
body:not([data-lang="zh"]) .lang-zh { display: none !important; }
body[data-lang="zh"] em { font-style: normal; }
body[data-lang="zh"] { font-family: var(--sans); }
.zh-serif { font-family: var(--cn); font-weight: 300; }

.wrap { max-width: 960px; margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: 10px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--oxide); }
.eyebrow.lang-zh { font-family: var(--cn); font-weight: 400; letter-spacing: 0.4em; text-transform: none; }

/* ---------- header ---------- */
.view { display: none; }
.view.on { display: block; }

.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243, 240, 232, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.site-head .wrap { max-width: 960px; display: flex; align-items: center; justify-content: space-between; height: 66px; }
.wordmark {
  display: inline-flex; align-items: center; gap: 11px;
  text-decoration: none; line-height: 1; color: var(--ink);
  transition: opacity 0.2s ease;
}
.wordmark:hover { opacity: 0.85; }
.wordmark .logo-icon {
  display: block; width: 27px; height: 25px;
  color: var(--brand); flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.wordmark:hover .logo-icon { transform: translateY(-1px) scale(1.05); }
.wordmark-text {
  display: inline-flex; align-items: center; gap: 8px; line-height: 1;
}
.wordmark .brand-cn {
  font-family: var(--cn); font-weight: 400; font-size: 21px;
  color: var(--ink); letter-spacing: 0.1em; line-height: 1;
}
.wordmark .brand-en {
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink); line-height: 1;
  position: relative; top: 0px;
}
.head-right { display: flex; align-items: center; gap: 24px; }
.tabs { display: flex; align-items: center; gap: 24px; }
.tabs a {
  position: relative; text-decoration: none;
  font-size: 13.5px; font-weight: 500; letter-spacing: 0.01em; line-height: 1;
  color: var(--muted); cursor: pointer; padding: 6px 0;
  transition: color 0.15s ease;
}
.tabs a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px;
  border-radius: 1px; background: transparent; transform: scaleX(0);
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.tabs a:hover { color: var(--ink); }
.tabs a.on { color: var(--ink); font-weight: 600; }
.tabs a.on::after { background: var(--oxide); transform: scaleX(1); }
.lang-toggle {
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255, 253, 247, 0.7);
  font-family: var(--sans); font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em; line-height: 1; color: var(--ink);
  padding: 6px 14px; cursor: pointer;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.lang-toggle:hover {
  border-color: var(--brand); color: var(--brand);
  background: var(--cream);
  box-shadow: 0 1px 3px rgba(23, 60, 52, 0.06);
}
.lang-toggle:active { transform: scale(0.96); }
@media (max-width: 760px) { .tabs { display: none; } }

/* mobile tab bar (bottom) for small screens */
.mobile-tabs { display: none; }
@media (max-width: 760px) {
  .mobile-tabs {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
    background: var(--cream); border-top: 1px solid var(--line-soft);
  }
  .mobile-tabs a { flex: 1; text-align: center; padding: 13px 0; font-size: 12px; font-weight: 600; color: var(--muted); text-decoration: none; }
  .mobile-tabs a.on { color: var(--brand); }
  body { padding-bottom: 44px; }
}

/* ---------- home hero ---------- */
.hero { background: linear-gradient(170deg, #1b443a 0%, var(--brand) 55%, var(--brand-dark) 100%); color: var(--cream); }
.hero .wrap { padding-top: 92px; padding-bottom: 104px; }
.hero-emblem {
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 22px; color: var(--brass); opacity: 0.9;
  transition: transform 0.3s ease;
}
.hero-emblem:hover { transform: scale(1.06); }
.hero-emblem svg { width: 42px; height: 35px; display: block; }
.hero .eyebrow { color: rgba(223,231,223,0.7); }
.hero .eyebrow.lang-zh { color: rgba(223,231,223,0.7); }
.hero h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(44px, 6.6vw, 72px); line-height: 1.05; letter-spacing: -0.015em; max-width: 12ch; }
.hero h1 em { font-style: italic; color: var(--brass); }
.hero h1.lang-zh { font-family: var(--cn); font-weight: 300; letter-spacing: 0.02em; max-width: none; }
.hero .sub { margin-top: 22px; font-size: 16px; color: rgba(255,253,247,0.75); max-width: 44ch; }
.hero .sub.lang-zh { font-family: var(--cn); font-weight: 300; letter-spacing: 0.04em; }
.hero .cta { display: inline-block; margin-top: 40px; font-size: 14px; font-weight: 600; color: var(--cream); text-decoration: none; border-bottom: 1px solid rgba(255,253,247,0.5); padding-bottom: 4px; }
.hero .cta:hover { border-color: var(--cream); }

/* ---------- the proof: measured before/after ---------- */
.proof { padding: 96px 0; }
.proof-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap; }
.proof-head h2, .page h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(26px, 4vw, 38px); line-height: 1.15; letter-spacing: -0.01em; margin-top: 14px; max-width: 24ch; }
.proof-head h2 { max-width: none; white-space: nowrap; }
@media (max-width: 860px) { .proof-head h2 { white-space: normal; } }
.page h2.two-line { font-size: clamp(24px, 3.4vw, 34px); max-width: none; }
.proof-head h2 em, .page h2 em { font-style: italic; color: var(--oxide); }
h2.lang-zh { font-family: var(--cn); font-weight: 300; letter-spacing: 0.02em; }
.diptych { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.panel { background: var(--cream); border: 1px solid var(--line-soft); border-radius: 4px; padding: 18px 18px 14px; }
.panel .tag { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.panel .tag .t { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.panel.after .tag .t { color: var(--green); }
.panel.later .tag .t { color: var(--oxide); }
.client-line { margin-top: 26px; font-size: 13.5px; color: var(--muted); max-width: 56ch; }
.client-line b { color: var(--ink); font-weight: 600; }
.panel .tag .m { font-size: 10px; color: var(--muted); font-variant-numeric: tabular-nums; }
.panel svg { display: block; width: 100%; height: auto; }
.diptych-cap { margin-top: 20px; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 19px; color: var(--ink); }
.diptych-cap.lang-zh { font-family: var(--cn); font-style: normal; letter-spacing: 0.03em; }
@media (max-width: 860px) { .diptych { grid-template-columns: 1fr; } }

/* revolving-door proof (progressive enhancement of .diptych) */
.revolver { display: none; margin-top: 44px; --ww: min(440px, 100%); }
.revolver.on { display: block; }
.diptych.moved { display: none; }
.rev-scene { position: relative; perspective: 1200px; display: flex; justify-content: center; padding: 10px 0 8px; overflow: visible; }
.rev-door {
  position: relative; width: var(--ww);
  transform-style: preserve-3d; -webkit-transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}
.rev-door .panel {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  box-sizing: border-box;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  transform-style: flat;
}
.rev-foot { margin-top: 28px; display: flex; justify-content: center; }
.rev-tags { display: flex; gap: 4px; flex-wrap: wrap; justify-content: center; }
.rev-tags button {
  border: none; background: transparent; font-family: var(--sans); font-size: 10px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
  padding: 6px 10px 5px; cursor: pointer; border-bottom: 1px solid transparent;
}
.rev-tags button:hover { color: var(--ink); }
.rev-tags button.on { color: var(--ink); border-bottom-color: var(--oxide); }

/* outcomes */
.outcomes { border-top: 1px solid var(--line-soft); padding: 64px 0 96px; }
.outcomes .row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.outcome .o { font-family: var(--serif); font-weight: 300; font-size: 24px; line-height: 1.2; }
.outcome .o.lang-zh { font-family: var(--cn); letter-spacing: 0.04em; }
.outcome .d { margin-top: 8px; font-size: 13px; color: var(--muted); }
@media (max-width: 720px) { .outcomes .row { grid-template-columns: 1fr; gap: 24px; } }

/* home about strip */
.about-strip { border-top: 1px solid var(--line-soft); padding: 64px 0; }
.about-strip p { max-width: 52ch; font-size: 15px; }
.about-strip .line-cn { margin-top: 24px; font-family: var(--cn); font-weight: 300; font-size: 17px; letter-spacing: 0.06em; color: var(--brand); }
.about-strip .line-en { margin-top: 6px; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 16px; color: var(--muted); }

/* ---------- inner pages ---------- */
.page { padding: 88px 0 96px; }
.page .lede { margin-top: 14px; color: var(--muted); max-width: 50ch; }

/* steps with figures */
.steps { margin-top: 52px; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 40px 56px; }
.step { border-top: 1px solid var(--line); padding-top: 20px; }
.step .fig { height: 76px; margin-bottom: 16px; }
.step .n { font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--oxide); }
.step h3 { margin-top: 6px; font-weight: 600; font-size: 15.5px; }
.step h3.lang-zh { font-family: var(--cn); font-weight: 400; letter-spacing: 0.03em; }
.step p { margin-top: 6px; font-size: 13.5px; color: var(--muted); max-width: 38ch; }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } }
.principle { margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--line); font-family: var(--serif); font-weight: 300; font-size: clamp(21px, 3vw, 28px); line-height: 1.35; max-width: 26ch; }
.principle em { font-style: italic; color: var(--oxide); }
.principle.lang-zh { font-family: var(--cn); letter-spacing: 0.04em; max-width: none; }

/* services + pricing */
.svc { margin-top: 48px; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.svc li { background: var(--cream); border: 1px solid var(--line-soft); border-radius: 6px; padding: 22px; }
.svc .s-name { display: block; font-family: var(--serif); font-weight: 400; font-size: 20px; }
.svc .s-name.lang-zh { font-family: var(--cn); font-weight: 300; letter-spacing: 0.04em; }
.svc .s-desc { display: block; margin-top: 8px; font-size: 13px; line-height: 1.6; color: var(--muted); }
@media (max-width: 560px) { .svc { grid-template-columns: 1fr; } }
.svc a.svc-fill { display: block; margin: -22px; padding: 22px; text-decoration: none; color: inherit; border-radius: 6px; }
.svc a.svc-fill:hover { background: var(--parchment); }
.svc a.svc-fill .s-name { color: var(--brand); }
.pricing { margin-top: 56px; }
.pricing .rate { font-family: var(--serif); font-weight: 300; font-size: clamp(26px, 3.6vw, 36px); line-height: 1.2; }
.pricing .rate.lang-zh { font-family: var(--cn); letter-spacing: 0.03em; }
.pricing .rate em { font-style: italic; color: var(--oxide); }
.price-rows { margin-top: 28px; }
.price-rows .r { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line-soft); font-size: 15px; }
.price-rows .r:last-child { border-bottom: 1px solid var(--line-soft); }
.price-rows .p { font-family: var(--serif); font-size: 19px; font-variant-numeric: tabular-nums; }
.price-rows small { display: block; font-size: 12px; color: var(--muted); }
.fine { margin-top: 20px; font-size: 12.5px; color: var(--muted); line-height: 1.75; max-width: 58ch; }

/* ---------- booking ---------- */
#book.page { padding: 64px 0 80px; }
#book .lede { margin-top: 12px; max-width: 42ch; }
.book-grid { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; }
@media (max-width: 720px) { .book-grid { grid-template-columns: 1fr; } }
.book-panel {
  background: var(--cream); border: 1px solid var(--line-soft); border-radius: 6px;
  padding: 24px; display: flex; flex-direction: column;
}
.book-panel > .lede { margin-top: 10px; margin-bottom: 22px; font-size: 13.5px; }
.qr-strip { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line-soft); display: flex; align-items: center; gap: 12px; }
.qr-strip .qr-frame { width: 64px; height: 64px; margin-top: 0; flex: none; padding: 5px; }
.qr-strip .qt { font-size: 13px; font-weight: 600; }
.qr-strip .qr-url { margin-top: 2px; font-size: 11px; }
.cal { margin-top: 16px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-head .m { font-family: var(--serif); font-size: 18px; }
.cal-nav { display: flex; gap: 4px; }
.cal-nav button { width: 28px; height: 28px; border-radius: 5px; border: 1px solid var(--line); background: var(--cream); cursor: pointer; }
.cal-nav button:hover { background: var(--parchment); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-grid .dow { text-align: center; font-size: 9px; font-weight: 600; letter-spacing: 0.12em; color: var(--muted); padding: 2px 0 6px; text-transform: uppercase; }
.day { height: 34px; border-radius: 4px; border: 1px solid transparent; background: transparent; font-family: var(--sans); font-size: 12.5px; color: var(--ink); display: flex; align-items: center; justify-content: center; font-variant-numeric: tabular-nums; }
.day.off { color: #c3bdaf; }
.day.avail { border-color: var(--line); cursor: pointer; font-weight: 600; position: relative; }
.day.avail::after { content: ""; position: absolute; bottom: 4px; width: 3px; height: 3px; border-radius: 2px; background: var(--green); }
.day.avail:hover { background: var(--parchment); border-color: var(--brand); }
.day.sel { background: var(--brand); color: var(--cream); border-color: var(--brand); }
.day.sel::after { background: var(--brass); }
.slots { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-soft); display: none; }
.slots.on { display: block; }
.slot-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.slot {
  display: flex; flex-direction: column; align-items: flex-start; gap: 3px;
  width: 100%; padding: 12px 14px; border-radius: 5px; border: 1px solid var(--line);
  background: var(--parchment); cursor: pointer; font-family: var(--sans); text-align: left;
}
.slot .slot-t { font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); line-height: 1.2; }
.slot .slot-k { font-size: 11px; font-weight: 500; color: var(--muted); }
.slot:hover { border-color: var(--brand); background: var(--cream); }
.slot.sel { background: var(--brand); border-color: var(--brand); }
.slot.sel .slot-t { color: var(--cream); }
.slot.sel .slot-k { color: rgba(255,253,247,0.7); }
.bookbar { margin-top: 12px; display: none; align-items: center; justify-content: space-between; gap: 12px; background: var(--parchment); border-radius: 5px; padding: 10px 12px; font-size: 13px; }
.bookbar.on { display: flex; }
.bookbar button { flex: none; border: none; background: var(--brand); color: var(--cream); font-family: var(--sans); font-weight: 600; font-size: 12px; border-radius: 5px; padding: 8px 14px; cursor: pointer; }
.bookbar button:hover { background: var(--brand-dark); }
.bookdone { margin-top: 12px; display: none; font-size: 13px; padding: 10px 12px; border-radius: 5px; background: rgba(57,102,75,0.08); border: 1px solid rgba(57,102,75,0.3); }
.bookdone.on { display: block; }
.bookdone b { color: var(--green); }

.qr-frame { background: var(--cream); border: 1px solid var(--line-soft); border-radius: 4px; display: flex; align-items: center; justify-content: center; }
.qr-fallback { width: 100%; height: 100%; border: 1.5px dashed var(--line); border-radius: 4px; display: flex; align-items: center; justify-content: center; color: var(--muted); }
.qr-url { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; color: var(--oxide); }

/* enquiry */
.enq .field { margin-bottom: 16px; }
.enq label { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.enq input, .enq select, .enq textarea {
  width: 100%; border: none; border-bottom: 1px solid var(--line); background: transparent;
  font-family: var(--sans); font-size: 15px; color: var(--ink); padding: 6px 0 8px; outline: none; border-radius: 0;
}
.enq textarea { min-height: 72px; resize: vertical; }
.enq input:focus, .enq select:focus, .enq textarea:focus { border-bottom-color: var(--brand); }
.enq .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .enq .row2 { grid-template-columns: 1fr; } }
.enq button { margin-top: 4px; border: none; background: var(--brand); color: var(--cream); font-family: var(--sans); font-weight: 600; font-size: 14px; border-radius: 6px; padding: 12px 20px; cursor: pointer; }
.enq button:hover { background: var(--brand-dark); }
.enq .photos { font-size: 12.5px; color: var(--muted); margin-top: 12px; max-width: 42ch; }
.enq-done { display: none; margin-top: 24px; }
.enq-done.on { display: block; }
.enq-done h3 { font-family: var(--serif); font-weight: 300; font-size: 24px; }
.enq-done p { margin-top: 8px; font-size: 13.5px; color: var(--muted); }

/* footer */
footer { border-top: 1px solid var(--line-soft); padding: 48px 0 56px; }
footer .wrap { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap; }
footer .fw { font-weight: 400; }
footer .footer-brand { display: inline-flex; align-items: center; gap: 8px; line-height: 1; }
footer .footer-brand .footer-logo { width: 21px; height: 19px; color: var(--brand); display: block; flex-shrink: 0; }
footer .footer-brand .brand-cn { font-family: var(--cn); font-size: 19px; letter-spacing: 0.1em; color: var(--ink); line-height: 1; }
footer .footer-brand .brand-en { font-family: var(--sans); font-size: 12.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); line-height: 1; }
footer .byline { margin-top: 10px; font-family: var(--sans); font-size: 12px; font-weight: 400; letter-spacing: 0; line-height: 1.4; color: var(--ink); text-transform: none; }
footer .fm { font-size: 13px; color: var(--muted); line-height: 1; }
footer .fm a { color: var(--brand); text-decoration: none; border-bottom: 1px solid var(--line); }
