/* ───────────────────────────────────────────────────────────────
   醉里 TunLiving — Editorial homepage
   Palette: warm ivory paper, terracotta walls, sage, brass, ink
   ─────────────────────────────────────────────────────────────── */

:root {
  --paper:       #F2EADB;          /* warm ivory */
  --paper-deep:  #E8DDC7;
  --ink:         #1F1712;           /* warm near-black */
  --ink-soft:    #3A2C23;
  --muted:       #8A7864;
  --terracotta:  #A64B3D;           /* the brand wall colour */
  --terracotta-d:#7A2F25;
  --sage:        #6D7F5D;
  --brass:       #B5895F;
  --amber:       #D4A574;
  --line:        #D5C6AA;

  --serif-zh:    "Noto Serif SC", "Songti SC", "STSong", serif;
  --brush-zh:    "Ma Shan Zheng", "Noto Serif SC", serif;
  --display:     "Fraunces", "EB Garamond", Georgia, serif;
  --body-en:     "EB Garamond", Georgia, serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--serif-zh);
  color: var(--ink);
  background: var(--paper);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* paper-grain overlay for the entire page — very subtle */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.06;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.8 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }

/* ─── Layout helpers ───────────────────────────────── */
.container { max-width: 1440px; margin: 0 auto; padding: 0 clamp(24px, 5vw, 80px); }
.rule { height: 1px; background: var(--line); width: 100%; }

/* vertical Chinese label — used for section markers */
.vlabel {
  writing-mode: vertical-rl;
  font-family: var(--serif-zh);
  font-weight: 400;
  letter-spacing: 0.6em;
  font-size: clamp(22px, 2.5vw, 34px);
  color: var(--ink-soft);
  line-height: 1;
}
.vlabel-sm {
  writing-mode: vertical-rl;
  font-family: var(--display); font-style: italic;
  font-weight: 400;
  letter-spacing: 0.18em;
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
}

.eyebrow {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.h-section {
  font-family: var(--serif-zh);
  font-weight: 500;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.15;
  letter-spacing: 0.08em;
  color: var(--ink);
}

/* ─── NAV ─────────────────────────────────────────── */
nav.top {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px clamp(24px, 5vw, 60px);
  display: flex; align-items: center; justify-content: space-between;
  transition: background 500ms ease, backdrop-filter 500ms ease, border-color 500ms ease, padding 400ms ease;
  border-bottom: 1px solid transparent;
}
nav.top.scrolled {
  background: rgba(242, 234, 219, 0.88);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-bottom-color: var(--line);
  padding-top: 14px; padding-bottom: 14px;
}
.brand-mark {
  display: flex; align-items: center; gap: 14px;
}
.brand-mark .tun-mono {
  width: 40px; height: 40px;
  border: 1.5px solid var(--ink);
  display: grid; place-items: center;
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.1em;
  flex-direction: column;
  position: relative;
}
.brand-mark .tun-mono::before {
  content: "TAN";
  position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  font-size: 10px; font-family: var(--display); font-weight: 700; letter-spacing: 0.15em;
  color: var(--ink);
}
.brand-mark .tun-mono::after {
  content: "Tun";
  position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
  font-family: "Ma Shan Zheng", var(--display); font-style: italic; font-weight: 400;
  font-size: 11px; color: var(--ink);
}
.brand-mark .name {
  font-family: var(--serif-zh); font-weight: 500; font-size: 15px;
  letter-spacing: 0.3em;
}
.brand-mark .name small {
  font-family: var(--display); font-style: italic; font-weight: 400; font-size: 11px;
  letter-spacing: 0.15em; color: var(--muted); display: block; margin-top: 2px;
}
nav ul {
  display: flex; gap: clamp(20px, 2.6vw, 42px); list-style: none; align-items: center;
}
nav ul a {
  font-family: var(--serif-zh); font-weight: 400; font-size: 14px;
  letter-spacing: 0.4em;
  position: relative; padding-bottom: 4px;
  transition: color 300ms ease;
}
nav ul a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  height: 1px; width: 0%; background: var(--terracotta);
  transition: width 400ms cubic-bezier(.3,.8,.3,1);
}
nav ul a:hover { color: var(--terracotta); }
nav ul a:hover::after { width: 100%; }
@media (max-width: 800px) {
  nav ul li:nth-child(n+3) { display: none; }
}

/* ─── HERO ────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  place-items: center;
  padding: 120px 24px 60px;
  overflow: hidden;
  isolation: isolate;
}
/* atmospheric layered gradient */
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse at 78% 28%, rgba(212, 165, 116, 0.35), transparent 55%),
    radial-gradient(ellipse at 18% 82%, rgba(166, 75, 61, 0.12), transparent 60%),
    linear-gradient(180deg, #F4EBD9 0%, #EEE2CA 55%, #E8DCC0 100%);
}
/* soft spotlight */
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle at 50% 55%, transparent 0%, transparent 35%, rgba(31,23,18,0.06) 100%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  width: 100%; max-width: 1320px;
}

.hero-side-l, .hero-side-r {
  display: flex; flex-direction: column;
  gap: 14px;
  opacity: 0;
  animation: fade-in 1600ms ease 400ms forwards;
}
.hero-side-l { align-items: flex-start; }
.hero-side-r { align-items: flex-end; text-align: right; }

.hero-side-l .year {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1; letter-spacing: 0.04em;
  color: var(--terracotta);
  font-style: italic;
}
.hero-side-l .year-meta {
  font-family: var(--display); font-style: italic;
  font-size: 13px; letter-spacing: 0.3em; color: var(--muted);
  text-transform: uppercase;
}
.hero-side-l .place {
  margin-top: 18px;
  font-family: var(--serif-zh);
  font-size: 14px;
  letter-spacing: 0.4em;
  color: var(--ink-soft);
  writing-mode: vertical-rl;
}

.hero-side-r .eyebrow-small {
  font-family: var(--display); font-style: italic;
  font-size: 12px; letter-spacing: 0.3em; color: var(--muted);
  text-transform: uppercase;
}
.hero-side-r .issue {
  font-family: var(--display); font-size: 15px; font-weight: 400;
  color: var(--ink-soft); letter-spacing: 0.15em;
}

.hero-center {
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(24px, 3vw, 40px);
}

/* brush calligraphy logo — the showpiece */
.brush-logo {
  width: clamp(260px, 36vw, 460px);
  height: auto;
  opacity: 0;
  transform: translateY(14px) scale(0.98);
  animation: rise 1800ms cubic-bezier(.2,.7,.2,1) 200ms forwards;
}
.brush-logo path { fill: var(--ink); }

.hero-wordmark {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(44px, 5.5vw, 78px);
  letter-spacing: 0.02em;
  color: var(--ink);
  line-height: 1;
  opacity: 0;
  animation: fade-in 1400ms ease 800ms forwards;
}
.hero-wordmark em {
  font-style: italic; font-weight: 300;
  color: var(--terracotta);
}

.hero-tagline {
  text-align: center;
  opacity: 0;
  animation: fade-in 1400ms ease 1100ms forwards;
}
.hero-tagline .zh {
  font-family: var(--serif-zh);
  font-size: clamp(15px, 1.4vw, 18px);
  letter-spacing: 0.5em;
  color: var(--ink-soft);
  font-weight: 300;
  padding-left: 0.5em; /* offset visual from letter-spacing */
}
.hero-tagline .en {
  margin-top: 12px;
  font-family: var(--display); font-style: italic;
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.25em;
  color: var(--muted);
  text-transform: uppercase;
}

.hero-rule {
  width: 60px; height: 1px;
  background: var(--terracotta);
  opacity: 0;
  animation: grow 1200ms ease 1400ms forwards;
  transform-origin: center;
}
@keyframes grow { from { width: 0; opacity: 0; } to { width: 60px; opacity: 0.9; } }
@keyframes fade-in { to { opacity: 1; } }
@keyframes rise { to { opacity: 1; transform: translateY(0) scale(1); } }

.scroll-cue {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--display); font-style: italic; font-size: 12px;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted);
  opacity: 0; animation: fade-in 1400ms ease 1800ms forwards;
}
.scroll-cue .line {
  width: 1px; height: 40px;
  background: linear-gradient(180deg, transparent, var(--muted));
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { transform: scaleY(0.3); transform-origin: top; opacity: 0.3; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 0.9; }
}

@media (max-width: 800px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side-l, .hero-side-r { display: none; }
}

/* ─── marquee / ticker ────────────────────────────── */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--paper);
  padding: 14px 0;
}
.marquee-track {
  display: flex; gap: 48px;
  animation: ticker 60s linear infinite;
  width: max-content;
  font-family: var(--display); font-style: italic;
  font-size: 14px; letter-spacing: 0.25em;
  color: var(--ink-soft); text-transform: uppercase;
}
.marquee-track span { white-space: nowrap; }
.marquee-track .dot {
  width: 5px; height: 5px; background: var(--terracotta);
  border-radius: 50%; align-self: center;
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* ─── SECTION SHELL ───────────────────────────────── */
section.block {
  position: relative;
  padding: clamp(80px, 10vw, 140px) 0;
}

.section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(24px, 4vw, 60px);
  align-items: start;
  margin-bottom: clamp(36px, 5vw, 70px);
}
.section-head .no {
  font-family: var(--display); font-style: italic;
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 300;
  line-height: 1;
  color: var(--terracotta);
  letter-spacing: 0.02em;
}
.section-head .no sub {
  font-size: 0.28em; color: var(--muted);
  vertical-align: super;
  letter-spacing: 0.2em;
  font-style: italic;
  margin-left: 4px;
}
.section-head .title-stack { display: flex; flex-direction: column; gap: 10px; }
.section-head .eng {
  font-family: var(--display); font-style: italic; font-weight: 300;
  font-size: clamp(16px, 1.6vw, 20px);
  letter-spacing: 0.25em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ─── ABOUT / 品牌介绍 ──────────────────────────── */
.about {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: stretch;
}
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }

.about-visual {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--terracotta-d);
}
.about-visual .frame {
  position: absolute; inset: 10% 14% 14% 10%;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.1), rgba(0,0,0,0.35)),
    radial-gradient(ellipse at 50% 55%, rgba(255, 220, 180, 0.35), transparent 60%),
    linear-gradient(180deg, #A64B3D 0%, #8B3B2F 55%, #5F2620 100%);
  box-shadow: inset 0 0 80px rgba(0,0,0,0.35);
}
/* painted mirror — an evocative SVG stand-in */
.about-visual .mirror {
  position: absolute;
  top: 25%; left: 32%; width: 36%; aspect-ratio: 3/4;
  border: 3px solid rgba(30, 20, 15, 0.7);
  background:
    linear-gradient(135deg, rgba(255,220,170,0.15), rgba(100,60,40,0.25)),
    linear-gradient(180deg, #6B3F33 0%, #3A2018 100%);
  box-shadow:
    0 20px 40px rgba(0,0,0,0.4),
    inset 0 0 30px rgba(0,0,0,0.3);
}
.about-visual .pendant {
  position: absolute;
  top: 47%; left: 50%;
  width: 2px; height: 25%;
  background: rgba(30, 20, 15, 0.8);
  transform: translateX(-50%);
}
.about-visual .pendant::after {
  content: "";
  position: absolute; bottom: -14px; left: 50%; transform: translateX(-50%);
  width: 28px; height: 26px;
  border-radius: 60% 60% 20% 20%;
  background: radial-gradient(circle at 50% 35%, #F9D79A, #C78849 60%, #6A3C1F);
  box-shadow: 0 0 40px rgba(250, 200, 140, 0.7), 0 0 80px rgba(255, 200, 140, 0.35);
}
.about-visual .leaves {
  position: absolute;
  top: -5%; left: -5%; width: 45%; height: 60%;
  background: radial-gradient(ellipse at 30% 30%, rgba(40, 60, 40, 0.7), rgba(25,40,25,0.2) 50%, transparent 72%);
  filter: blur(2px);
}
.about-visual .shadow-band {
  position: absolute;
  top: 0; right: 0; width: 60%; height: 60%;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 210, 150, 0.18) 50%, transparent 70%);
  mix-blend-mode: screen;
}

.about-copy {
  position: relative;
  padding-top: 20px;
  display: flex; flex-direction: column; gap: 28px;
}
.about-copy .name-block {
  display: flex; align-items: baseline; gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.about-copy .name-block .zh {
  font-family: var(--serif-zh); font-weight: 600;
  font-size: clamp(34px, 4vw, 48px);
  letter-spacing: 0.15em;
  color: var(--ink);
}
.about-copy .name-block .en {
  font-family: var(--display); font-style: italic; font-weight: 300;
  font-size: clamp(18px, 2vw, 24px);
  color: var(--terracotta);
  letter-spacing: 0.06em;
}

.about-copy p {
  font-family: var(--serif-zh);
  font-weight: 300;
  font-size: clamp(14.5px, 1.1vw, 16.5px);
  line-height: 2;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
.about-copy p strong {
  color: var(--terracotta);
  font-weight: 500;
}

.about-quote {
  padding: 20px 0 0 28px;
  border-left: 1.5px solid var(--terracotta);
  margin-top: 10px;
}
.about-quote .zh {
  font-family: var(--brush-zh);
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.9;
  letter-spacing: 0.12em;
  color: var(--ink);
}
.about-quote .en {
  margin-top: 10px;
  font-family: var(--display); font-style: italic; font-weight: 300;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.15em;
}

/* ─── OLD OBJECTS / 收集旧物 ────────────────────── */
.relics {
  background: linear-gradient(180deg, var(--paper) 0%, #EDE1C8 100%);
  padding: clamp(90px, 10vw, 160px) 0;
  position: relative;
  overflow: hidden;
}
.relics-lead {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  margin-bottom: 60px;
  align-items: end;
}
@media (max-width: 900px) { .relics-lead { grid-template-columns: 1fr; } }

.relics-hero-card {
  aspect-ratio: 16/9;
  position: relative; overflow: hidden;
  background: #3A2820;
}
.relics-hero-card::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 75% 30%, rgba(255, 180, 100, 0.4), transparent 50%),
    radial-gradient(ellipse at 15% 80%, rgba(80, 140, 80, 0.3), transparent 45%),
    linear-gradient(135deg, #5C2F20 0%, #8B4A2D 35%, #3A2018 100%);
}
.relics-hero-card::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><g fill='rgba(20,12,8,0.55)'><!-- chair silhouettes --><path d='M40,150 L40,80 Q42,72 48,72 L58,72 Q64,72 64,80 L64,150 Z M44,80 L44,95 L60,95 L60,80 Z'/><path d='M85,150 L85,78 Q87,70 93,70 L103,70 Q109,70 109,78 L109,150 Z M89,78 L89,92 L105,92 L105,78 Z'/><path d='M130,150 L130,76 Q132,68 138,68 L148,68 Q154,68 154,76 L154,150 Z M134,76 L134,90 L150,90 L150,76 Z'/></g></svg>");
  background-size: cover; background-position: center;
  opacity: 0.85;
}
.relics-hero-card .leaves-r {
  position: absolute;
  bottom: 0; right: -10%; width: 50%; height: 70%;
  background: radial-gradient(ellipse at 50% 70%, rgba(60, 85, 55, 0.55), transparent 60%);
  filter: blur(3px);
}

.relics-lead-text { padding-bottom: 14px; }
.relics-lead-text .eyebrow { margin-bottom: 20px; }
.relics-lead-text .headline {
  font-family: var(--serif-zh); font-weight: 500;
  font-size: clamp(26px, 2.8vw, 38px);
  line-height: 1.4;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 22px;
}
.relics-lead-text .body {
  font-family: var(--serif-zh); font-weight: 300;
  font-size: 15.5px;
  line-height: 2;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

/* four-tile gallery */
.relics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 40px;
}
@media (max-width: 900px) { .relics-grid { grid-template-columns: repeat(2, 1fr); } }

.tile {
  aspect-ratio: 3/4;
  position: relative;
  overflow: hidden;
  background: #2A1812;
  transition: transform 600ms cubic-bezier(.2,.8,.2,1);
}
.tile:hover { transform: translateY(-6px); }
.tile .caption {
  position: absolute; left: 16px; bottom: 14px;
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: 13px; letter-spacing: 0.2em; color: rgba(245, 230, 200, 0.92);
  text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}
.tile .num {
  position: absolute; top: 14px; right: 16px;
  font-family: var(--display); font-style: italic;
  font-size: 13px; color: rgba(245, 230, 200, 0.7);
  letter-spacing: 0.1em;
}

/* tile 1 — vase on table */
.tile-1 {
  background:
    radial-gradient(ellipse at 40% 58%, rgba(255,210,150,0.55), transparent 40%),
    radial-gradient(ellipse at 60% 20%, rgba(60, 100, 60, 0.4), transparent 50%),
    linear-gradient(180deg, #BB6544 0%, #6B3224 100%);
}
.tile-1::before {
  content: ""; position: absolute;
  left: 42%; top: 45%; width: 14%; height: 30%;
  background: linear-gradient(180deg, rgba(245,230,200,0.25), rgba(245,230,200,0.55));
  border-radius: 40% 40% 30% 30%;
  box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

/* tile 2 — blue bottle */
.tile-2 {
  background:
    radial-gradient(circle at 48% 40%, rgba(120, 200, 230, 0.85), transparent 22%),
    radial-gradient(circle at 48% 50%, rgba(40, 140, 180, 0.9), transparent 18%),
    linear-gradient(180deg, #2A1C18 0%, #5A3A2E 100%);
}
.tile-2::before {
  content: ""; position: absolute;
  left: 44%; top: 22%; width: 10%; height: 50%;
  background: linear-gradient(180deg, rgba(80, 200, 220, 0.9), rgba(30, 120, 160, 0.9));
  border-radius: 50% 50% 45% 45%;
  box-shadow: 0 0 30px rgba(80, 200, 220, 0.5), inset 0 0 12px rgba(255,255,255,0.3);
}

/* tile 3 — lounge chair */
.tile-3 {
  background:
    radial-gradient(ellipse at 50% 40%, rgba(230, 220, 210, 0.35), transparent 50%),
    linear-gradient(170deg, #C4B8A5 0%, #7A6250 60%, #3D2E24 100%);
}
.tile-3::before {
  content: ""; position: absolute;
  left: 20%; bottom: 16%; width: 60%; height: 45%;
  background:
    radial-gradient(ellipse at 50% 25%, rgba(90,55,40,0.95), rgba(60,35,25,0.95) 60%);
  border-radius: 40% 40% 18% 18%;
  box-shadow: 0 12px 28px rgba(0,0,0,0.5);
}

/* tile 4 — spare room with cross */
.tile-4 {
  background: linear-gradient(180deg, #E2D6BD 0%, #B8A284 60%, #6B5842 100%);
}
.tile-4::before {
  content: ""; position: absolute;
  left: 44%; top: 18%; width: 12%; height: 14%;
  background:
    linear-gradient(90deg, transparent 42%, rgba(30,20,15,0.85) 42%, rgba(30,20,15,0.85) 58%, transparent 58%),
    linear-gradient(0deg, transparent 42%, rgba(30,20,15,0.85) 42%, rgba(30,20,15,0.85) 58%, transparent 58%);
}
.tile-4::after {
  content: ""; position: absolute;
  left: 25%; bottom: 12%; width: 50%; height: 35%;
  background: linear-gradient(180deg, rgba(50,35,25,0.9), rgba(30,20,15,0.95));
  border-radius: 8px 8px 4px 4px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

/* how-we-use strip */
.relics-footer {
  margin-top: 70px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.relics-footer p {
  font-family: var(--serif-zh); font-weight: 300;
  font-size: 15.5px; line-height: 1.9; color: var(--ink-soft);
  letter-spacing: 0.04em;
  max-width: 740px;
}
.relics-footer .pill {
  font-family: var(--display); font-style: italic;
  padding: 10px 22px;
  border: 1px solid var(--terracotta);
  color: var(--terracotta);
  font-size: 13px; letter-spacing: 0.3em; text-transform: uppercase;
  transition: background 400ms, color 400ms;
  cursor: pointer;
}
.relics-footer .pill:hover {
  background: var(--terracotta); color: var(--paper);
}
@media (max-width: 700px) { .relics-footer { grid-template-columns: 1fr; } }

/* ─── COFFEE / 咖啡甜点 ────────────────────────── */
.coffee {
  padding: clamp(90px, 10vw, 160px) 0;
  background: var(--paper);
}
.coffee-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
@media (max-width: 900px) { .coffee-wrap { grid-template-columns: 1fr; } }

.coffee-visual {
  aspect-ratio: 3/4;
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(255,220,160,0.4), transparent 50%),
    linear-gradient(175deg, #D8C29C 0%, #8B6A48 70%, #3F2D1D 100%);
}
.coffee-visual .menu-board {
  position: absolute;
  top: 14%; left: 12%;
  width: 30%; aspect-ratio: 3/4;
  background: linear-gradient(180deg, #2B2822 0%, #1B1814 100%);
  border: 3px solid #5A4A38;
  padding: 14px;
  font-family: "Ma Shan Zheng", cursive;
  color: #F0E4C8;
  font-size: 12px;
  line-height: 1.8;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  transform: rotate(-1.5deg);
}
.coffee-visual .menu-board .mt { font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: 0.3em; text-align: center; margin-bottom: 8px; color: #F5E9C8; }
.coffee-visual .menu-board .row { display: flex; justify-content: space-between; font-size: 11px; }
.coffee-visual .menu-board .row b { color: #E8C278; font-weight: 400; }

.coffee-visual .menu-board-2 {
  position: absolute;
  top: 18%; left: 46%;
  width: 28%; aspect-ratio: 4/5;
  background: linear-gradient(180deg, #2B2822 0%, #1B1814 100%);
  border: 3px solid #5A4A38;
  padding: 14px 10px;
  font-family: "Ma Shan Zheng", cursive;
  color: #F0E4C8;
  font-size: 11px; line-height: 1.7; text-align: center;
  transform: rotate(2deg);
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}
.coffee-visual .menu-board-2 .mt { color: #E8C278; margin-bottom: 6px; }

.coffee-visual .lamp {
  position: absolute;
  top: 30%; left: 35%;
  width: 42px; height: 28px;
  background: radial-gradient(ellipse at 50% 10%, #8BAA6E, #3A4F2C);
  border-radius: 50% 50% 20% 20%;
  box-shadow: 0 0 60px rgba(255, 200, 140, 0.7);
}
.coffee-visual .lamp::before {
  content: ""; position: absolute; bottom: -2px; left: 50%; transform: translateX(-50%);
  width: 16px; height: 16px;
  background: radial-gradient(circle, #FFEFC4, #F7C56D);
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(255, 220, 150, 0.9);
}
.coffee-visual .lamp::after {
  content: ""; position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
  width: 1.5px; height: 120px; background: rgba(30,20,15,0.7);
}

.coffee-visual .plant {
  position: absolute;
  top: -4%; left: -6%;
  width: 55%; height: 55%;
  background:
    radial-gradient(ellipse at 40% 50%, rgba(70, 110, 70, 0.45), transparent 55%);
  filter: blur(2px);
}

.coffee-visual .counter {
  position: absolute;
  left: 0; bottom: 0; right: 0; height: 25%;
  background: linear-gradient(180deg, rgba(50,35,25,0.6), rgba(25,15,10,0.9));
}

.coffee-copy { display: flex; flex-direction: column; gap: 30px; }
.coffee-copy .en-title {
  font-family: var(--display); font-style: italic;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 300;
  color: var(--terracotta);
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.coffee-copy p {
  font-family: var(--serif-zh); font-weight: 300;
  font-size: 15.5px; line-height: 2;
  color: var(--ink-soft); letter-spacing: 0.04em;
}

.menu-preview {
  margin-top: 16px;
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(166, 75, 61, 0.06), rgba(166, 75, 61, 0.02));
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 36px;
}
.menu-preview .item { display: flex; justify-content: space-between; gap: 16px; font-family: var(--serif-zh); font-size: 14px; letter-spacing: 0.1em; }
.menu-preview .item .name { color: var(--ink); }
.menu-preview .item .price { color: var(--terracotta); font-family: var(--display); font-style: italic; font-weight: 500; font-size: 15px; }
.menu-preview .heading {
  grid-column: 1 / -1;
  font-family: var(--display); font-style: italic;
  font-size: 13px; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 8px; border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
}

.dessert-row {
  display: flex; gap: 18px; align-items: center; margin-top: 12px;
}
.dessert {
  width: 64px; height: 64px; border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(31, 23, 18, 0.15);
  position: relative;
}
.dessert-1 { background: radial-gradient(circle at 40% 35%, #FFFDF5, #F2DFAD 60%, #A67B3E); }
.dessert-2 { background: radial-gradient(circle at 40% 35%, #FFECEC, #E89999 60%, #8B3A3A); }
.dessert-3 { background: radial-gradient(circle at 40% 35%, #C9DAB6, #85A668 60%, #445C2C); }
.dessert-label {
  font-family: var(--display); font-style: italic; font-size: 12px; letter-spacing: 0.25em;
  color: var(--muted); text-transform: uppercase;
}

/* ─── SERVICES / 空间合作 ────────────────────── */
.services {
  background: linear-gradient(180deg, #EDE1C8 0%, #E6D7B6 100%);
  padding: clamp(90px, 10vw, 160px) 0;
}
.services-intro {
  max-width: 760px;
  margin-bottom: 70px;
}
.services-intro p {
  font-family: var(--serif-zh); font-weight: 300;
  font-size: 16px; line-height: 2; color: var(--ink-soft); letter-spacing: 0.04em;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 180px;
  gap: 16px;
}
@media (max-width: 900px) { .service-grid { grid-auto-rows: 220px; } }

.card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  display: flex; flex-direction: column; justify-content: space-between;
  isolation: isolate;
  transition: transform 500ms cubic-bezier(.2,.8,.2,1), box-shadow 500ms;
  cursor: pointer;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(31,23,18,0.12); }
.card .kicker {
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase;
  opacity: 0.85;
}
.card .big-zh {
  font-family: var(--serif-zh); font-weight: 600;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: 0.15em; line-height: 1.1;
}
.card .arrow {
  font-family: var(--display); font-style: italic; font-size: 28px;
  transition: transform 400ms;
}
.card:hover .arrow { transform: translateX(6px); }

.card-a { grid-column: span 4; grid-row: span 2; background: #F5E8C2; color: var(--ink); }
.card-a .big-zh { color: var(--ink); }
.card-b { grid-column: span 5; grid-row: span 2; background: #6D7F5D; color: #F5EFE6; }
.card-c { grid-column: span 3; grid-row: span 2; background: #A64B3D; color: #F5EFE6; }
.card-d { grid-column: span 4; grid-row: span 2; background: #2A1F1A; color: #E8DCC0; }
.card-e { grid-column: span 8; grid-row: span 2; background: #D4A574; color: var(--ink); }

@media (max-width: 900px) {
  .card-a, .card-b, .card-c, .card-d, .card-e { grid-column: span 12; }
}

.card .mini-visual {
  position: absolute;
  right: 20px; top: 20px;
  opacity: 0.18;
  font-family: var(--brush-zh);
  font-size: 80px;
  line-height: 1;
  z-index: -1;
}

.card-e .row-content {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; height: 100%; align-items: center;
}
.card-e .lg-en {
  font-family: var(--display); font-style: italic; font-weight: 300;
  font-size: clamp(24px, 2.4vw, 34px);
  letter-spacing: 0.04em; line-height: 1.15;
}

/* ─── VISIT / 到访 ────────────────────────────── */
.visit {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(90px, 10vw, 140px) 0;
  position: relative;
  overflow: hidden;
}
.visit::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(166, 75, 61, 0.22), transparent 50%),
    radial-gradient(ellipse at 15% 90%, rgba(181, 137, 95, 0.15), transparent 55%);
}
.visit-inner { position: relative; z-index: 1; }

.visit-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
@media (max-width: 900px) { .visit-grid { grid-template-columns: 1fr; } }

.visit-main h3 {
  font-family: var(--serif-zh); font-weight: 400;
  font-size: clamp(30px, 3.6vw, 48px);
  letter-spacing: 0.12em;
  line-height: 1.4;
  color: var(--paper);
  margin-bottom: 14px;
}
.visit-main .en-sub {
  font-family: var(--display); font-style: italic; font-weight: 300;
  font-size: 18px;
  color: var(--amber);
  letter-spacing: 0.15em;
  margin-bottom: 36px;
}
.visit-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px 40px;
  padding-top: 36px;
  border-top: 1px solid rgba(245, 239, 230, 0.18);
}
@media (max-width: 700px) { .visit-details { grid-template-columns: 1fr; } }
.detail h5 {
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 10px;
}
.detail p {
  font-family: var(--serif-zh); font-weight: 300;
  font-size: 15px; line-height: 1.9; letter-spacing: 0.08em;
  color: var(--paper);
}

/* QR card stack */
.qr-stack {
  display: flex; gap: 22px; justify-content: flex-end; flex-wrap: wrap;
}
@media (max-width: 900px) { .qr-stack { justify-content: flex-start; } }
.qr-card {
  width: 160px;
  padding: 16px 14px 14px;
  background: var(--paper);
  color: var(--ink);
  text-align: center;
}
.qr-card .qr-sq {
  width: 100%; aspect-ratio: 1;
  background:
    linear-gradient(45deg, var(--ink) 25%, transparent 25%) 0 0 / 12px 12px,
    linear-gradient(-45deg, var(--ink) 25%, transparent 25%) 0 0 / 12px 12px,
    linear-gradient(45deg, transparent 75%, var(--ink) 75%) 0 0 / 12px 12px,
    linear-gradient(-45deg, transparent 75%, var(--ink) 75%) 0 0 / 12px 12px,
    var(--paper);
  position: relative;
  border: 6px solid var(--paper);
  outline: 1px solid var(--ink);
}
.qr-card .qr-sq::before {
  content: ""; position: absolute; inset: 8px;
  background:
    radial-gradient(circle at 15% 15%, var(--ink) 8%, transparent 9%),
    radial-gradient(circle at 85% 15%, var(--ink) 8%, transparent 9%),
    radial-gradient(circle at 15% 85%, var(--ink) 8%, transparent 9%),
    repeating-linear-gradient(0deg, var(--ink) 0 2px, transparent 2px 5px),
    repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 5px);
  opacity: 0.5;
}
.qr-card .label {
  margin-top: 10px;
  font-family: var(--serif-zh); font-weight: 500;
  font-size: 13px; letter-spacing: 0.3em;
}
.qr-card .label small {
  display: block;
  font-family: var(--display); font-style: italic;
  font-size: 11px; color: var(--muted);
  letter-spacing: 0.15em;
  margin-top: 2px;
  font-weight: 400;
}

/* CTA */
.cta-stack {
  margin-top: 50px;
  display: flex; gap: 18px; flex-wrap: wrap;
}
.btn {
  padding: 16px 34px;
  font-family: var(--display); font-weight: 400;
  font-size: 14px; letter-spacing: 0.25em; text-transform: uppercase;
  cursor: pointer; transition: all 400ms;
  display: inline-flex; align-items: center; gap: 12px;
}
.btn-primary {
  background: var(--terracotta); color: var(--paper); border: 1px solid var(--terracotta);
}
.btn-primary:hover { background: transparent; color: var(--terracotta); }
.btn-ghost {
  background: transparent; color: var(--paper); border: 1px solid rgba(245, 239, 230, 0.4);
}
.btn-ghost:hover { border-color: var(--paper); }

/* ─── FOOTER ──────────────────────────────────── */
footer.bottom {
  background: var(--ink);
  color: var(--muted);
  padding: 34px clamp(24px, 5vw, 60px);
  border-top: 1px solid rgba(245, 239, 230, 0.08);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: center;
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.2em;
}
@media (max-width: 700px) { footer.bottom { grid-template-columns: 1fr; text-align: center; } }
footer .brand-sig { font-family: var(--serif-zh); letter-spacing: 0.4em; color: var(--paper); font-size: 14px; }
footer .tagline { font-style: italic; text-transform: uppercase; }
footer .copy { font-style: italic; letter-spacing: 0.15em; }

/* ─── on-scroll reveal ────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1100ms cubic-bezier(.2,.8,.2,1), transform 1100ms cubic-bezier(.2,.8,.2,1);
}
.reveal.in { opacity: 1; transform: none; }
