/* =============================================================
   一起玩到大 ・ PLAY AND GROW
   Warm editorial stylesheet
   ============================================================= */


/* ---- jf-openhuninn 粉圓體 2.1（SIL OFL，justfont 開源，2.1MB woff2） ---- */
@font-face {
  font-family: 'Huninn';
  src: url('../fonts/jf-openhuninn.woff2') format('woff2');
  font-display: swap;
  font-weight: 400;
  font-style: normal;
}

/* =============================================================
   TOKENS
   ============================================================= */
:root {
  /* Warm earth palette */
  --cream:       #F5EFE6;
  --cream-deep: #EFE6D6;
  --oat:         #E8DFD0;
  --linen:       #EDE4D3;
  --paper:       #FBF7EF;

  --wood:        #C9A884;
  --wood-dark:   #9E8060;
  --clay:        #D67D5C;
  --clay-dark:   #B25A3A;
  --sage:        #9CAA8B;
  --sage-dark:   #72825F;

  --ink:         #2B2620;
  --ink-soft:    #5C5248;
  --ink-mute:    #8A7F72;
  --ink-line:    rgba(43, 38, 32, 0.12);

  /* Fonts */
  --font-hand:    'Huninn', 'Noto Sans TC', cursive;
  --font-display: 'Fraunces', 'Huninn', Georgia, serif;
  --font-serif:   'Huninn', 'Noto Sans TC', serif;
  --font-sans:    'Huninn', 'Noto Sans TC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Sizing */
  --max:       1340px;
  --gutter:    clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4.5rem, 9vw, 8.5rem);

  /* Motion */
  --ease:     cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* =============================================================
   RESET & BASE
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.75;
  color: var(--ink);
  background: var(--cream);
  letter-spacing: 0.01em;
  overflow-x: hidden;

  /* subtle paper grain */
  background-image:
    radial-gradient(ellipse at 10% 0%, rgba(214, 125, 92, 0.05), transparent 50%),
    radial-gradient(ellipse at 90% 100%, rgba(156, 170, 139, 0.06), transparent 55%);
}

/* Very subtle grain overlay via noise */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
  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.17  0 0 0 0 0.15  0 0 0 0 0.13  0 0 0 0.09 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
  border-radius: 3px;
}

h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p  { margin: 0; }

::selection { background: var(--clay); color: var(--paper); }

/* Utility: 手寫字體 */
.zh-hand { font-family: var(--font-hand); letter-spacing: 0.04em; }

/* =============================================================
   NAV
   ============================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem var(--gutter);
  background: rgba(245, 239, 230, 0.7);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), padding 0.4s var(--ease);
}
.nav.is-scrolled {
  background: rgba(245, 239, 230, 0.92);
  border-bottom-color: var(--ink-line);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.nav__brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 0.15rem;
}
.nav__brand-zh {
  font-family: var(--font-hand);
  font-size: 1.35rem;
  color: var(--ink);
  letter-spacing: 0.08em;
}
.nav__brand-en {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--clay);
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  font-family: var(--font-serif);
  font-size: 0.95rem;
}
.nav__links a {
  position: relative;
  padding: 0.25rem 0;
  color: var(--ink-soft);
  transition: color 0.3s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  height: 1px;
  width: 0;
  background: var(--clay);
  transition: width 0.4s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }

.nav__cta {
  padding: 0.55rem 1.1rem !important;
  background: var(--ink);
  color: var(--paper) !important;
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  transition: background 0.3s var(--ease);
}
.nav__cta:hover { background: var(--clay) !important; }
.nav__cta::after { display: none; }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px; height: 22px;
  background: none; border: 0; padding: 0;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
  transform-origin: center;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  background: var(--cream);
  padding: 5rem 2rem 2rem;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--ink);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu a {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.mobile-menu.is-open a {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu.is-open a:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.is-open a:nth-child(2) { transition-delay: 0.10s; }
.mobile-menu.is-open a:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu.is-open a:nth-child(4) { transition-delay: 0.20s; }
.mobile-menu.is-open a:nth-child(5) { transition-delay: 0.25s; }
.mobile-menu.is-open a:nth-child(6) { transition-delay: 0.30s; }
.mobile-menu.is-open a:nth-child(7) { transition-delay: 0.35s; }

/* =============================================================
   HERO
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  overflow: hidden;
  isolation: isolate;
}

.hero__photo {
  position: relative;
  order: 2;
  overflow: hidden;
}
.hero__photo img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  animation: kenBurns 18s var(--ease) both;
}
@keyframes kenBurns {
  from { transform: scale(1.08); }
  to   { transform: scale(1.00); }
}
.hero__photo-mask {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, var(--cream) 0%, rgba(245, 239, 230, 0.2) 25%, transparent 45%),
    linear-gradient(0deg, rgba(43, 38, 32, 0.08), transparent 40%);
  pointer-events: none;
}

.hero__content {
  order: 1;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7rem var(--gutter) 4rem clamp(2rem, 7vw, 6rem);
  max-width: 820px;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--clay);
  letter-spacing: 0.08em;
  margin-bottom: 2.5rem;
}
.hero__eyebrow-line {
  display: block;
  width: 48px;
  height: 1px;
  background: var(--clay);
}

.hero__title {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2.25rem;
}
.hero__title-zh {
  font-family: var(--font-hand);
  font-size: clamp(3.5rem, 10vw, 8rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.hero__dot {
  display: inline-block;
  color: var(--clay);
  transform: translateY(-0.12em);
  font-size: 0.9em;
  margin: 0 0.05em;
}
.hero__title-en {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--wood-dark);
}
.hero__title-en em {
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--clay);
  text-transform: lowercase;
}

.hero__tag {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: 1.9;
  color: var(--ink-soft);
  max-width: 28em;
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* Decorative leaf in hero */
.hero__leaf {
  position: absolute;
  top: 62%;
  left: calc(50% - 30px);
  width: 60px; height: 100px;
  color: var(--wood);
  opacity: 0.35;
  z-index: 3;
  transform: rotate(-12deg);
  pointer-events: none;
}

.hero__scroll {
  position: absolute;
  left: clamp(2rem, 7vw, 6rem);
  bottom: 2rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--ink-mute);
  text-transform: uppercase;
  animation: fadeBreath 3s ease-in-out 2s infinite alternate both;
}
@keyframes fadeBreath {
  from { opacity: 0.5; transform: translateY(0); }
  to   { opacity: 1;   transform: translateY(6px); }
}
.hero__scroll-line {
  display: block;
  width: 40px; height: 1px;
  background: currentColor;
}

/* =============================================================
   BUTTONS
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.8rem;
  font-family: var(--font-serif);
  font-size: 1rem;
  letter-spacing: 0.05em;
  border-radius: 999px;
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s, box-shadow 0.3s;
  cursor: pointer;
  will-change: transform;
}
.btn--primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 8px 24px -12px rgba(43, 38, 32, 0.5);
}
.btn--primary:hover {
  background: var(--clay);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -12px rgba(178, 90, 58, 0.55);
}
.btn--ghost {
  color: var(--ink-soft);
  border: 1px solid var(--ink-line);
  background: transparent;
}
.btn--ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: rgba(255,255,255,0.4);
}

/* =============================================================
   SECTION HELPERS
   ============================================================= */
.section__eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--clay);
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

.section__title {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  line-height: 1.15;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.section__title em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--clay);
  font-weight: 500;
}

/* =============================================================
   PHILOSOPHY
   ============================================================= */
.philosophy {
  padding: var(--section-y) var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: clamp(3rem, 6vw, 6rem);
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.philosophy__quote {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 2rem;
  letter-spacing: 0.01em;
}
.philosophy__lead {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 2;
  color: var(--ink-soft);
  max-width: 32em;
}

.pillars {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.5rem;
}
.pillar {
  position: relative;
  padding: 2.25rem 2rem 2rem;
  background: var(--paper);
  border: 1px solid var(--ink-line);
  border-radius: 18px;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), background 0.4s;
}
.pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px -25px rgba(43, 38, 32, 0.25);
  background: #fff;
}
.pillar__no {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--clay);
  letter-spacing: 0.15em;
  display: block;
  margin-bottom: 0.75rem;
}
.pillar__title {
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--ink);
}
.pillar__title span {
  color: var(--clay);
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
}
.pillar__text {
  font-family: var(--font-serif);
  line-height: 1.95;
  color: var(--ink-soft);
}

/* =============================================================
   ABOUT
   ============================================================= */
.about {
  background: var(--oat);
  padding: var(--section-y) var(--gutter);
  position: relative;
  overflow: hidden;
}
.about::before {
  content: "";
  position: absolute;
  top: -80px; right: -80px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 125, 92, 0.18), transparent 70%);
  pointer-events: none;
}
.about__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
  position: relative;
}

.about__text .section__title {
  margin-bottom: 2rem;
}
.about__text .section__title em {
  font-family: var(--font-hand);
  font-style: normal;
  color: var(--clay);
  display: inline-block;
  transform: rotate(-1.5deg);
}

.about__body p {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  line-height: 2.05;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}
.about__body strong {
  color: var(--ink);
  font-weight: 500;
  background: linear-gradient(transparent 60%, rgba(214, 125, 92, 0.25) 60%);
  padding: 0 2px;
}
.about__highlight {
  font-family: var(--font-hand) !important;
  font-size: 1.8rem !important;
  line-height: 1.6 !important;
  color: var(--clay) !important;
  padding: 1.25rem 0;
  border-top: 1px dashed var(--ink-line);
  border-bottom: 1px dashed var(--ink-line);
  margin: 2rem 0 !important;
  text-align: center;
}
.about__signature {
  font-size: 1.15rem !important;
  color: var(--ink-mute) !important;
  margin-top: 2rem !important;
}

.about__mark {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}
.about__logo-frame {
  width: 240px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--paper);
  padding: 14px;
  box-shadow:
    0 30px 60px -30px rgba(43, 38, 32, 0.25),
    inset 0 0 0 1px rgba(43, 38, 32, 0.08);
}
.about__logo-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.about__facts {
  margin: 0;
  width: 100%;
  max-width: 320px;
  background: var(--paper);
  padding: 1.75rem 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--ink-line);
}
.about__facts > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px dashed var(--ink-line);
}
.about__facts > div:last-child { border-bottom: 0; }
.about__facts dt {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--clay);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}
.about__facts dd {
  margin: 0;
  font-family: var(--font-serif);
  color: var(--ink);
  font-size: 0.95rem;
}

/* =============================================================
   SPACE
   ============================================================= */
.space {
  padding: var(--section-y) var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
.space__head {
  max-width: 720px;
  margin-bottom: clamp(3rem, 5vw, 5rem);
}
.space__lead {
  margin-top: 1.5rem;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  line-height: 2;
  color: var(--ink-soft);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 14rem;
  gap: 1rem;
}
.gallery__item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  grid-column: span 2;
  grid-row: span 1;
  background: var(--oat);
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out), filter 0.6s;
}
.gallery__item:hover img {
  transform: scale(1.04);
  filter: brightness(0.85);
}
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 4; }

.gallery__item figcaption {
  position: absolute;
  left: 1.25rem; right: 1.25rem; bottom: 1.25rem;
  padding: 0.65rem 1rem;
  background: rgba(251, 247, 239, 0.92);
  color: var(--ink);
  font-size: 0.95rem;
  border-radius: 6px;
  transform: translateY(8px);
  opacity: 0;
  transition: transform 0.4s var(--ease-out), opacity 0.4s;
  backdrop-filter: blur(6px);
}
.gallery__item:hover figcaption {
  transform: translateY(0);
  opacity: 1;
}

/* =============================================================
   DAY / TIMELINE
   ============================================================= */
.day {
  background: linear-gradient(180deg, var(--cream) 0%, var(--linen) 100%);
  padding: var(--section-y) var(--gutter);
}
.day__head {
  max-width: var(--max);
  margin: 0 auto clamp(3rem, 5vw, 5rem);
  text-align: center;
}
.day__head .section__eyebrow { display: block; }
.day__head .section__title {
  margin: 0 auto;
  max-width: 14ch;
}
.day__lead {
  margin: 1.5rem auto 0;
  max-width: 40em;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.95;
  color: var(--ink-soft);
}

.timeline {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 980px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 8.5rem;
  top: 1.5rem; bottom: 1.5rem;
  width: 1px;
  background: repeating-linear-gradient(to bottom, var(--wood) 0, var(--wood) 4px, transparent 4px, transparent 10px);
}
.timeline__item {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 3.5rem;
  padding: 1.75rem 0;
  position: relative;
}
.timeline__item::before {
  content: "";
  position: absolute;
  left: 8.2rem; top: 2.5rem;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--clay);
  z-index: 1;
}
.timeline__time {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  font-style: italic;
  color: var(--clay);
  letter-spacing: 0.02em;
  line-height: 1;
  padding-top: 0.35rem;
}
.timeline__title {
  font-size: 1.65rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
  grid-column: 2;
}
.timeline__item p {
  font-family: var(--font-serif);
  color: var(--ink-soft);
  line-height: 1.9;
  font-size: 1rem;
  grid-column: 2;
}

.timeline__footnote {
  margin: 3rem auto 0;
  max-width: 980px;
  padding-left: 11.5rem;
  color: var(--ink-mute);
  font-size: 1.1rem;
}

/* =============================================================
   SERVICES
   ============================================================= */
.services {
  padding: var(--section-y) var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
.services__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(3rem, 5vw, 5rem);
}
.services__head .section__title em {
  font-family: var(--font-hand);
  font-style: normal;
  display: inline-block;
  transform: rotate(-1deg);
}
.services__lead {
  margin-top: 1.5rem;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.95;
  color: var(--ink-soft);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2.5rem 2rem 2.25rem;
  background: var(--paper);
  border: 1px solid var(--ink-line);
  border-radius: 22px;
  overflow: hidden;
  transition: transform 0.55s var(--ease-out), box-shadow 0.55s var(--ease-out), background 0.4s;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--wood), var(--clay));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -30px rgba(43, 38, 32, 0.3);
}
.service-card:hover::before {
  transform: scaleX(1);
}

.service-card--feature {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.service-card--feature::before {
  background: linear-gradient(90deg, var(--clay), var(--wood));
  transform: scaleX(1);
}
.service-card--feature .service-card__no,
.service-card--feature .service-card__title {
  color: var(--cream);
}
.service-card--feature .service-card__desc,
.service-card--feature .service-card__en {
  color: rgba(245, 239, 230, 0.75);
}
.service-card--feature .service-card__tags li {
  border-color: rgba(245, 239, 230, 0.25);
  color: rgba(245, 239, 230, 0.9);
}
.service-card--feature .service-card__link {
  color: var(--clay);
}
.service-card--feature .service-card__svg {
  color: var(--clay);
}

.service-card__ribbon {
  position: absolute;
  top: 1.25rem;
  right: -2.5rem;
  transform: rotate(35deg);
  background: var(--clay);
  color: var(--paper);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  padding: 0.3rem 3rem;
  box-shadow: 0 4px 12px rgba(178, 90, 58, 0.35);
  z-index: 2;
}

.service-card__no {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--clay);
  margin-bottom: 1.5rem;
}
.service-card__no > span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
}
.service-card__svg {
  width: 48px;
  height: 48px;
  color: var(--wood-dark);
}

.service-card__title {
  font-size: 2rem;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.service-card__en {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--wood-dark);
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}
.service-card__desc {
  font-family: var(--font-serif);
  color: var(--ink-soft);
  line-height: 1.95;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-card__tags {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.service-card__tags li {
  font-family: var(--font-serif);
  font-size: 0.82rem;
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--ink-line);
  border-radius: 999px;
  color: var(--ink-soft);
  letter-spacing: 0.03em;
}

.service-card__link {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--clay);
  align-self: flex-start;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.service-card__link:hover {
  border-color: currentColor;
  transform: translateX(4px);
}

/* =============================================================
   VALUES (小卡片)
   ============================================================= */
.values {
  padding: var(--section-y) var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
.values__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.value-card {
  padding: 3rem 2.5rem;
  background: var(--paper);
  border: 1px solid var(--ink-line);
  border-radius: 20px;
  text-align: center;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -30px rgba(43, 38, 32, 0.25);
}
.value-card__icon {
  width: 90px; height: 90px;
  margin: 0 auto 1.5rem;
  object-fit: contain;
}
.value-card__title {
  font-size: 1.9rem;
  margin-bottom: 1rem;
}
.value-card p {
  font-family: var(--font-serif);
  color: var(--ink-soft);
  line-height: 1.95;
  max-width: 22em;
  margin: 0 auto;
}

/* =============================================================
   FAQ
   ============================================================= */
.faq {
  background: var(--oat);
  padding: var(--section-y) var(--gutter);
}
.faq__head {
  max-width: var(--max);
  margin: 0 auto clamp(2.5rem, 4vw, 4rem);
  text-align: center;
}
.faq__list {
  max-width: 820px;
  margin: 0 auto;
}
.faq__item {
  border-bottom: 1px solid var(--ink-line);
  transition: background 0.3s;
}
.faq__item[open] {
  background: rgba(251, 247, 239, 0.6);
}
.faq__item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.5rem 0.5rem;
  cursor: pointer;
  transition: color 0.25s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover .faq__q { color: var(--clay); }
.faq__q {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--ink);
  transition: color 0.25s;
}
.faq__plus {
  position: relative;
  flex-shrink: 0;
  width: 24px; height: 24px;
}
.faq__plus::before, .faq__plus::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease);
}
.faq__plus::before { width: 16px; height: 1.5px; }
.faq__plus::after  { height: 16px; width: 1.5px; }
.faq__item[open] .faq__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__a {
  padding: 0 0.5rem 1.75rem;
}
.faq__a p {
  font-family: var(--font-serif);
  color: var(--ink-soft);
  line-height: 2;
}

/* =============================================================
   CONTACT
   ============================================================= */
.contact {
  padding: var(--section-y) var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}
.contact__intro .section__title em {
  font-family: var(--font-hand);
  font-style: normal;
  display: inline-block;
  transform: rotate(-1deg);
}
.contact__lead {
  margin-top: 1.75rem;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  line-height: 2;
  color: var(--ink-soft);
}
.contact__address {
  margin-top: 2.5rem;
  font-size: 1.5rem;
  color: var(--clay);
}

.contact__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.qr-card {
  background: var(--paper);
  border: 1px solid var(--ink-line);
  border-radius: 22px;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s;
}
.qr-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 55px -25px rgba(43, 38, 32, 0.3);
}
.qr-card__label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}
.qr-card__label > span:first-child {
  font-size: 1.6rem;
  color: var(--ink);
  letter-spacing: 0.08em;
}
.qr-card__sub {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--clay);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}
.qr-card__img {
  width: 180px; height: 180px;
  border-radius: 12px;
  background: #fff;
  padding: 10px;
  margin-bottom: 1.25rem;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px var(--ink-line);
}
.qr-card__img img {
  width: 100%; height: 100%;
  object-fit: contain;
}
.qr-card__note {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}
.qr-card__link {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--clay);
  font-size: 0.95rem;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: color 0.25s, border-color 0.25s;
}
.qr-card__link:hover {
  color: var(--ink);
}

/* =============================================================
   FOOTER
   ============================================================= */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(3rem, 6vw, 5rem) var(--gutter) 2rem;
  position: relative;
  z-index: 2;
}
.footer__main {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2.5rem;
  align-items: center;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.footer__logo {
  width: 58px; height: 58px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--paper);
  padding: 3px;
}
.footer__logo img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.footer__name {
  font-family: var(--font-hand);
  font-size: 1.35rem;
  color: var(--paper);
  letter-spacing: 0.08em;
  margin-bottom: 0.15rem;
}
.footer__en {
  font-family: var(--font-display);
  color: var(--wood);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin: 0;
}
.footer__tagline {
  font-family: var(--font-serif);
  color: rgba(245, 239, 230, 0.7);
  line-height: 1.95;
  font-size: 0.95rem;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: flex-end;
  font-family: var(--font-serif);
  font-size: 0.95rem;
}
.footer__links a {
  color: rgba(245, 239, 230, 0.7);
  transition: color 0.25s;
}
.footer__links a:hover { color: var(--clay); }

.footer__copy {
  max-width: var(--max);
  margin: 3rem auto 0;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(245, 239, 230, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(245, 239, 230, 0.45);
  letter-spacing: 0.05em;
}

/* =============================================================
   REVEAL ANIMATION
   ============================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: calc(var(--rd, 0) * 1ms);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero__photo img { animation: none; }
  .hero__scroll { animation: none; }
}

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; }
  .hero__photo { order: 1; min-height: 55vh; position: relative; }
  .hero__photo img { position: absolute; }
  .hero__photo-mask {
    background:
      linear-gradient(0deg, var(--cream) 0%, rgba(245, 239, 230, 0.3) 30%, transparent 60%);
  }
  .hero__content {
    order: 2;
    padding: 3rem var(--gutter) 5rem;
    margin-top: -4rem;
    background: var(--cream);
    border-radius: 24px 24px 0 0;
    position: relative;
    z-index: 2;
  }
  .hero__leaf { top: 45%; left: auto; right: 6%; opacity: 0.25; }
  .hero__scroll { display: none; }

  .philosophy { grid-template-columns: 1fr; }
  .about__grid { grid-template-columns: 1fr; }
  .about__mark { order: -1; }
  .contact { grid-template-columns: 1fr; }

  .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 12rem; }
  .gallery__item--wide { grid-column: span 4; }
  .gallery__item--tall { grid-row: span 2; }

  .services__grid { grid-template-columns: 1fr; gap: 1.25rem; }
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }

  .hero__content { padding-top: 2.5rem; }
  .hero__tag br { display: none; }

  .pillars { grid-template-columns: 1fr; }
  .values__grid { grid-template-columns: 1fr; }
  .contact__cards { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; }
  .timeline__footnote { padding-left: 4.5rem; font-size: 1rem; }

  .timeline::before { left: 2.3rem; }
  .timeline__item {
    grid-template-columns: 4.5rem 1fr;
    gap: 1.75rem;
  }
  .timeline__item::before { left: 2rem; top: 2.25rem; }
  .timeline__time { font-size: 1.25rem; }
  .timeline__title { font-size: 1.35rem; }

  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 10rem; }
  .gallery__item { grid-column: span 1; }
  .gallery__item--tall { grid-row: span 2; }
  .gallery__item--wide { grid-column: span 2; }

  .footer__main {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .footer__links { justify-content: flex-start; }
  .footer__copy { justify-content: flex-start; }
}

@media (max-width: 520px) {
  .hero__title-zh { font-size: 4.2rem; }
  .philosophy__quote { font-size: 2.2rem; }
  .about__highlight { font-size: 1.45rem !important; }
  .qr-card__img { width: 160px; height: 160px; }
}

/* Print */
@media print {
  .nav, .mobile-menu, .hero__scroll, body::before { display: none; }
  body { background: #fff; }
}
