@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;600;700&family=Architects+Daughter&family=Noto+Sans+Hebrew:wght@300;400;500;600;700;800&family=Suez+One&display=swap');

:root {
  --ink: #1a1a1a;
  --ink-soft: #3a3a3a;
  --ink-light: #6a6a6a;
  --paper: #faf7f1;
  --paper-soft: #f3eee2;
  --paper-warm: #f6f0e0;
  --pencil: #888577;
  --red: #c41e3a;
  --red-deep: #9a1730;
  --gold: #b48a3d;

  --he: 'Noto Sans Hebrew', system-ui, sans-serif;
  --serif: 'Suez One', 'David', serif;
  --hand: 'Caveat', cursive;
  --hand-en: 'Architects Daughter', cursive;

  --maxw: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --section-y: clamp(72px, 9vw, 130px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { background: var(--paper); color: var(--ink); font-family: var(--he); -webkit-font-smoothing: antialiased; }
body { line-height: 1.5; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }

/* ===========================================
   HEADER (sticky)
   =========================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 247, 241, 0);
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.header.scrolled {
  background: rgba(250, 247, 241, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(26,26,26,0.08);
}
.header__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  gap: 24px;
  transition: padding 0.25s ease;
}
.header.scrolled .header__inner { padding-top: 12px; padding-bottom: 12px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand__logo { width: 44px; height: 44px; object-fit: contain; transition: transform 0.3s ease; }
.brand:hover .brand__logo { transform: rotate(-8deg) scale(1.06); }
.brand__name { font-weight: 800; font-size: 14px; line-height: 1.15; }
.brand__sub  { font-family: var(--hand-en); font-size: 10px; opacity: 0.65; letter-spacing: 1.5px; margin-top: 1px; }
.header.on-hero:not(.scrolled) .brand { color: #faf7f1; }
.header.on-hero:not(.scrolled) .brand__logo { filter: brightness(0) invert(1); }

.nav { display: flex; gap: 4px; align-items: center; margin-inline-start: auto; }
.nav__item { position: relative; }
.nav__link {
  font-size: 14px; font-weight: 600;
  padding: 10px 14px;
  color: inherit; text-decoration: none;
  background: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 4px;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.header.on-hero:not(.scrolled) .nav__link { color: #faf7f1; }
.nav__link:hover { color: var(--red); }
.header.on-hero:not(.scrolled) .nav__link:hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav__caret { font-size: 9px; opacity: 0.55; transition: transform 0.2s ease; }
.nav__item.open .nav__caret { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 6px); inset-inline-end: 0;
  min-width: 220px;
  background: var(--paper);
  border: 1px solid rgba(26,26,26,0.12);
  box-shadow: 0 12px 36px rgba(26,26,26,0.18);
  border-radius: 8px;
  padding: 8px;
  opacity: 0; pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.nav__item.open .dropdown { opacity: 1; pointer-events: auto; transform: translateY(0); }
.dropdown__item {
  display: block;
  padding: 9px 14px;
  font-size: 13px; font-weight: 600;
  color: var(--ink); text-decoration: none;
  border-radius: 5px;
  transition: background 0.15s ease, color 0.15s ease;
}
.dropdown__item:hover { background: var(--paper-soft); color: var(--red); }
.dropdown__item--meta { font-family: var(--hand-en); font-size: 10px; opacity: 0.55; letter-spacing: 1.5px; padding: 12px 14px 4px; pointer-events: none; }

.cta-phone {
  margin-inline-start: 10px;
  font-size: 13px; font-weight: 700;
  padding: 10px 16px;
  background: var(--red); color: #fff;
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}
.cta-phone:hover { background: var(--red-deep); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(196,30,58,0.35); }
.cta-phone__icon { width: 16px; height: 16px; display: inline-flex; align-items: center; justify-content: center; }

.hamburger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: currentColor; margin: 4px 0; transition: transform 0.25s ease, opacity 0.25s ease; }
.header.on-hero:not(.scrolled) .hamburger { color: #faf7f1; }
.header.menu-open .hamburger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.header.menu-open .hamburger span:nth-child(2) { opacity: 0; }
.header.menu-open .hamburger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav, .cta-phone { display: none; }
  .hamburger { display: block; margin-inline-start: auto; }
  .header.menu-open { background: var(--paper); box-shadow: 0 1px 0 rgba(26,26,26,0.08); }
  .mobile-drawer {
    position: fixed; top: 0; right: 0;
    width: min(320px, 84vw); height: 100vh;
    background: var(--paper);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -8px 0 40px rgba(0,0,0,0.18);
    z-index: 99;
    overflow-y: auto;
    padding: 84px 20px 40px;
  }
  .header.menu-open ~ .mobile-drawer { transform: translateX(0); }
  .mobile-drawer__group { border-bottom: 1px solid rgba(26,26,26,0.08); padding: 6px 0; }
  .mobile-drawer__group summary { font-size: 16px; font-weight: 700; padding: 14px 8px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
  .mobile-drawer__group summary::-webkit-details-marker { display: none; }
  .mobile-drawer__group summary::after { content: '▾'; font-size: 12px; opacity: 0.5; transition: transform 0.2s ease; }
  .mobile-drawer__group[open] summary::after { transform: rotate(180deg); }
  .mobile-drawer__group a { display: block; padding: 10px 18px; font-size: 14px; color: var(--ink-soft); text-decoration: none; }
  .mobile-drawer__group a:hover { color: var(--red); }
  .mobile-drawer__link { display: block; padding: 14px 8px; font-size: 16px; font-weight: 700; text-decoration: none; color: var(--ink); border-bottom: 1px solid rgba(26,26,26,0.08); }
  .mobile-drawer .cta-phone { display: inline-flex; margin: 20px 0 0; }
}
@media (min-width: 961px) { .mobile-drawer { display: none; } }

.scrim { position: fixed; inset: 0; background: rgba(26,26,26,0.5); z-index: 98; opacity: 0; pointer-events: none; transition: opacity 0.25s ease; }
.header.menu-open ~ .scrim { opacity: 1; pointer-events: auto; }

/* ===========================================
   HERO
   =========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #faf7f1;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0;
  background-image: url('assets/sifu-hero.jpg');
  background-size: cover;
  background-position: center;
  z-index: -2;
  transform: scale(1.04);
  animation: hero-zoom 18s ease-out forwards;
}
@keyframes hero-zoom { to { transform: scale(1.0); } }
/* On narrow viewports the cover-crop hides the hands; shift right to keep them in frame */
@media (max-width: 720px) {
  .hero__bg { background-position: 58% center; }
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(15,15,15,0.85) 0%, rgba(15,15,15,0.55) 40%, rgba(15,15,15,0.3) 100%),
    linear-gradient(180deg, rgba(15,15,15,0.45) 0%, transparent 30%, rgba(15,15,15,0.4) 100%);
  z-index: -1;
}
.hero__stamp {
  position: absolute;
  inset-inline-start: clamp(20px, 5vw, 80px);
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-size: clamp(180px, 28vw, 440px);
  line-height: 0.85;
  color: rgba(255,255,255,0.06);
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 0.05em;
  user-select: none;
  pointer-events: none;
}

/* === Founder-since-2010 seal (Chinese-style 印章) — square stamp, bottom-right === */
.hero__seal {
  position: absolute;
  bottom: clamp(70px, 8vw, 120px);
  inset-inline-end: clamp(28px, 6vw, 90px);
  width: clamp(130px, 12.5vw, 168px);
  height: clamp(130px, 12.5vw, 168px);
  z-index: 2;
  transform: rotate(-6deg);
  opacity: 0;
  animation: seal-stamp 1.1s 1.4s cubic-bezier(0.25, 1.5, 0.5, 1) forwards;
  pointer-events: none;
  user-select: none;
  /* Real-stamp ink-bleed effect */
  filter:
    drop-shadow(0 0 0.6px rgba(122,15,30,0.45))
    drop-shadow(0 1px 2px rgba(0,0,0,0.12));
}
@keyframes seal-stamp {
  0%   { opacity: 0; transform: rotate(-22deg) scale(0.35); }
  55%  { opacity: 1; transform: rotate(-4deg) scale(1.1); }
  100% { opacity: 0.96; transform: rotate(-6deg) scale(1); }
}
/* Outer red square — slightly irregular edges (like carved stone, hand-stamped) */
.hero__seal::before {
  content: '';
  position: absolute; inset: 0;
  background: #b8182f;
  /* squarish-but-organic edges (carved stone irregularity) */
  border-radius: 6% 5% 7% 5% / 5% 6% 5% 7%;
  /* inner white frame is part of the seal carving */
  box-shadow:
    inset 0 0 0 4px #b8182f,
    inset 0 0 0 6px rgba(250,247,241,0.95),
    inset 0 0 0 9px #b8182f;
}
/* Ink-bleed texture overlay — patchy paper-color spots, mimicking imperfect ink coverage */
.hero__seal::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 6% 5% 7% 5% / 5% 6% 5% 7%;
  background:
    radial-gradient(circle at 15% 22%, rgba(250,247,241,0.18) 0%, transparent 8%),
    radial-gradient(circle at 82% 18%, rgba(250,247,241,0.14) 0%, transparent 6%),
    radial-gradient(circle at 28% 75%, rgba(250,247,241,0.16) 0%, transparent 7%),
    radial-gradient(circle at 78% 88%, rgba(250,247,241,0.12) 0%, transparent 6%),
    radial-gradient(circle at 50% 50%, rgba(250,247,241,0.08) 0%, transparent 12%),
    radial-gradient(ellipse at 95% 50%, rgba(184,24,47,0.4) 0%, transparent 8%),
    radial-gradient(ellipse at 5% 50%, rgba(184,24,47,0.4) 0%, transparent 8%);
  mix-blend-mode: screen;
  opacity: 0.85;
  pointer-events: none;
}

.hero__seal-inner {
  position: absolute; inset: 9px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: clamp(3px, 0.4vw, 6px);
  color: var(--paper);
  text-align: center;
  padding: 10% 6%;
  z-index: 1;
}
.hero__seal-line1 {
  font-family: var(--he);
  font-size: clamp(11px, 1.05vw, 13px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0;
  text-shadow: 0 1px 0 rgba(0,0,0,0.18);
}
.hero__seal-line2 {
  font-family: var(--he);
  font-size: clamp(10px, 0.95vw, 12px);
  font-weight: 600;
  line-height: 1.1;
  opacity: 0.95;
  text-shadow: 0 1px 0 rgba(0,0,0,0.15);
}
.hero__seal-year {
  font-family: var(--serif);
  font-size: clamp(34px, 3.6vw, 46px);
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-top: clamp(2px, 0.4vw, 5px);
  text-shadow: 0 1px 0 rgba(0,0,0,0.18);
}

@media (max-width: 720px) {
  .hero__seal {
    width: 118px; height: 118px;
    bottom: 96px;
    inset-inline-end: 16px;
    transform: rotate(-5deg) scale(0.9);
  }
}

.hero__content {
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
  padding: 140px var(--gutter) 80px;
  position: relative;
}
.hero__kicker {
  font-family: var(--hand-en);
  font-size: 13px;
  letter-spacing: 5px;
  color: #f8d4dc;
  text-transform: uppercase;
  margin-bottom: 22px;
  display: flex; align-items: center; gap: 14px;
  opacity: 0; transform: translateY(20px);
  animation: fade-in 0.9s 0.2s ease-out forwards;
}
.hero__kicker::before, .hero__kicker::after {
  content: ''; flex: 0 0 36px; height: 1px; background: rgba(248,212,220,0.6);
}
.hero__title {
  font-family: var(--serif);
  font-size: clamp(48px, 7.5vw, 110px);
  line-height: 0.95;
  font-weight: normal;
  letter-spacing: -0.01em;
  opacity: 0; transform: translateY(20px);
  animation: fade-in 1s 0.35s ease-out forwards;
  max-width: 720px;
}
.hero__title-row {
  display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap;
}
.hero__title-cn {
  font-family: var(--serif);
  color: var(--red);
  font-size: 0.7em;
  opacity: 0.9;
}
.hero__sub {
  margin-top: 26px;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.65;
  max-width: 540px;
  color: rgba(250,247,241,0.86);
  opacity: 0; transform: translateY(20px);
  animation: fade-in 1s 0.55s ease-out forwards;
}
.hero__ctas {
  margin-top: 42px;
  display: flex; gap: 14px; flex-wrap: wrap;
  opacity: 0; transform: translateY(20px);
  animation: fade-in 1s 0.75s ease-out forwards;
}
@keyframes fade-in { to { opacity: 1; transform: translateY(0); } }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 700;
  padding: 14px 26px;
  text-decoration: none;
  border-radius: 4px;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  border: 1.5px solid transparent;
  cursor: pointer;
  letter-spacing: 0.02em;
}
.btn--primary { background: var(--red); color: #fff; border-color: var(--red); }
.btn--primary:hover { background: var(--red-deep); border-color: var(--red-deep); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(196,30,58,0.32); }
.btn--ghost { color: #faf7f1; border-color: rgba(250,247,241,0.5); background: rgba(255,255,255,0.04); }
.btn--ghost:hover { background: rgba(255,255,255,0.12); border-color: #faf7f1; transform: translateY(-2px); }
.btn--ink { background: var(--ink); color: #faf7f1; border-color: var(--ink); }
.btn--ink:hover { background: #000; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.18); }
.btn--outline { color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--paper); }

.hero__scroll {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--hand-en);
  font-size: 11px;
  letter-spacing: 3px;
  color: rgba(250,247,241,0.6);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-decoration: none;
  animation: scroll-bob 2.4s ease-in-out infinite;
}
.hero__scroll::after { content: ''; width: 1px; height: 36px; background: rgba(250,247,241,0.4); }
@keyframes scroll-bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ===========================================
   Common section primitives
   =========================================== */
.section { padding: var(--section-y) var(--gutter); position: relative; }
.section__inner { max-width: var(--maxw); margin: 0 auto; }
.section--warm { background: var(--paper-warm); }
.section--soft { background: var(--paper-soft); }
.section--ink { background: var(--ink); color: #faf7f1; }
.eyebrow {
  font-family: var(--hand-en);
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--red); }
.eyebrow.center { justify-content: center; }
.eyebrow.center::before, .eyebrow.center::after { content: ''; width: 28px; height: 1px; background: var(--red); }
.h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  font-weight: normal;
}
.h3 {
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.15;
  font-weight: normal;
}
.lead { font-size: 18px; line-height: 1.75; color: var(--ink-soft); max-width: 620px; }

/* ===========================================
   INTRO section
   =========================================== */
.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.intro__text > p { margin-top: 16px; font-size: 17px; line-height: 1.85; color: var(--ink-soft); }
.intro__link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 32px;
  color: var(--red);
  font-weight: 700;
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1.5px solid currentColor;
  transition: gap 0.18s ease;
}
.intro__link:hover { gap: 14px; }
.intro__media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--paper-soft);
  border-radius: 2px;
  overflow: hidden;
}
.intro__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.intro__media:hover img { transform: scale(1.04); }
.intro__media::before {
  content: '武';
  position: absolute;
  bottom: -30px; left: -30px;
  font-family: var(--serif);
  font-size: 220px;
  color: var(--red);
  opacity: 0.92;
  z-index: 2;
  line-height: 0.8;
  text-shadow: 0 4px 22px rgba(196,30,58,0.35);
}
@media (max-width: 720px) {
  .intro { grid-template-columns: 1fr; gap: 40px; }
  .intro__media { aspect-ratio: 4/3; }
}

/* ===========================================
   PILLARS
   =========================================== */
.pillars-head { text-align: center; margin-bottom: 56px; max-width: 700px; margin-inline: auto; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); }
.pillar {
  text-align: center;
  padding: 24px 16px;
}
.pillar__media {
  position: relative;
  width: clamp(170px, 18vw, 210px); height: clamp(170px, 18vw, 210px);
  margin: 0 auto 24px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(26,26,26,0.12);
  background: var(--paper-soft);
}
.pillar__media::before {
  content: ''; position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: grayscale(0.18) brightness(0.92);
  transition: transform 0.6s ease, filter 0.4s ease;
}
.pillar:hover .pillar__media::before { transform: scale(1.08); filter: grayscale(0) brightness(1); }
.pillar--wushu   .pillar__media::before { background-image: url('assets/pillar-wushu.jpg'); }
.pillar--qigong  .pillar__media::before { background-image: url('assets/pillar-qigong.jpg'); }
.pillar--weapons .pillar__media::before { background-image: url('assets/pillar-weapons.jpg'); }
.pillar__ch {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: clamp(70px, 8vw, 96px);
  color: var(--red);
  text-shadow: 0 2px 12px rgba(250,247,241,0.6);
  line-height: 1;
  pointer-events: none;
}
.pillar__en { font-family: var(--hand-en); font-size: 11px; letter-spacing: 3px; color: var(--pencil); }
.pillar__he { font-family: var(--serif); font-size: clamp(20px, 2vw, 26px); margin-top: 8px; line-height: 1.2; }
.pillar__divider { width: 32px; height: 1.5px; background: var(--ink); margin: 16px auto; opacity: 0.7; }
.pillar__body { font-size: 15px; line-height: 1.75; color: var(--ink-soft); max-width: 320px; margin: 0 auto; }
@media (max-width: 800px) { .pillars { grid-template-columns: 1fr; gap: 12px; } }

/* ===========================================
   SCHEDULE
   =========================================== */
.schedule-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
  margin-top: 44px;
}
.sched {
  background: var(--paper);
  border: 1px solid rgba(26,26,26,0.1);
  border-radius: 4px;
  overflow: hidden;
}
.sched__head {
  background: var(--ink);
  color: rgba(250,247,241,0.55);
  display: grid;
  grid-template-columns: 56px 1fr 1fr 1.4fr 1.2fr;
  gap: 12px;
  padding: 12px 20px;
  font-family: var(--hand-en);
  font-size: 10px;
  letter-spacing: 2.5px;
}
.sched__row {
  display: grid;
  grid-template-columns: 56px 1fr 1fr 1.4fr 1.2fr;
  gap: 12px;
  padding: 18px 20px;
  align-items: center;
  border-top: 1px solid rgba(26,26,26,0.06);
  transition: background 0.2s ease;
}
.sched__row:hover { background: var(--paper-warm); }
.sched__stamp {
  width: 44px; height: 44px;
  background: var(--red);
  color: #faf7f1;
  font-family: var(--serif);
  font-size: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 4px;
  letter-spacing: 0;
}
.sched__day { font-weight: 700; font-size: 15px; }
.sched__time { font-family: var(--hand-en); font-weight: 700; color: var(--red); font-size: 15px; letter-spacing: 1px; }
.sched__cls { font-size: 14px; color: var(--ink-soft); }
.sched__loc { font-size: 13px; }
.sched__loc a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; padding-bottom: 2px; border-bottom: 1px dotted currentColor; transition: color 0.18s ease; }
.sched__loc a:hover { color: var(--red); }
.sched__loc .pin { font-size: 14px; }

.private {
  background: var(--paper-warm);
  border: 1px solid rgba(26,26,26,0.1);
  padding: 28px;
  border-radius: 4px;
  position: relative;
}
.private__eye { font-family: var(--hand-en); font-size: 11px; letter-spacing: 3px; color: var(--red); margin-bottom: 10px; }
.private__title { font-family: var(--serif); font-size: 22px; line-height: 1.2; }
.private__sub { font-size: 14px; color: var(--ink-soft); margin-top: 8px; line-height: 1.6; }
.private__cta { margin-top: 20px; display: inline-flex; }

@media (max-width: 900px) {
  .schedule-grid { grid-template-columns: 1fr; }
  .sched__head { display: none; }
  .sched__row {
    grid-template-columns: 44px 1fr;
    grid-template-areas: 'stamp day' 'stamp time' 'stamp cls' 'stamp loc';
    gap: 4px 14px;
    padding: 16px;
  }
  .sched__stamp { grid-area: stamp; align-self: start; }
  .sched__day { grid-area: day; }
  .sched__time { grid-area: time; }
  .sched__cls { grid-area: cls; }
  .sched__loc { grid-area: loc; margin-top: 4px; }
}

/* ===========================================
   LINEAGE
   =========================================== */
.lineage-head { text-align: center; margin-bottom: 60px; }
.lineage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.lineage::before {
  content: '';
  position: absolute;
  top: 70px; left: 8%; right: 8%; height: 1px;
  background: repeating-linear-gradient(90deg, rgba(26,26,26,0.4) 0 6px, transparent 6px 12px);
  z-index: 0;
}
.lineage__node { position: relative; z-index: 1; text-align: center; padding: 0 8px; }
.lineage__node--featured { transform: translateY(-12px); }
.lineage__portrait {
  width: 140px; height: 140px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 1px rgba(26,26,26,0.12), 0 6px 20px rgba(26,26,26,0.12);
  background: var(--paper-soft);
  background-size: cover;
  background-position: center 28%;
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.lineage__node:hover .lineage__portrait {
  transform: translateY(-4px);
  box-shadow: 0 0 0 1px var(--red), 0 12px 28px rgba(196,30,58,0.22);
}
.lineage__node--featured .lineage__portrait {
  width: 160px; height: 160px;
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(196,30,58,0.15), 0 10px 30px rgba(196,30,58,0.25);
}
.lineage__gen { font-family: var(--hand-en); font-size: 11px; letter-spacing: 2.5px; color: var(--pencil); margin-top: 16px; }
.lineage__name { font-family: var(--serif); font-size: clamp(17px, 1.6vw, 21px); margin-top: 6px; line-height: 1.15; }
.lineage__date { font-size: 12px; color: var(--ink-light); margin-top: 4px; font-family: var(--hand-en); letter-spacing: 1px; }
.lineage__cta { text-align: center; margin-top: 56px; }

@media (max-width: 800px) {
  .lineage { grid-template-columns: 1fr 1fr; gap: 28px 14px; }
  .lineage::before { display: none; }
  .lineage__portrait { width: 110px; height: 110px; }
  .lineage__node--featured { transform: none; grid-column: span 2; }
  .lineage__node--featured .lineage__portrait { width: 140px; height: 140px; }
}

/* ===========================================
   SIFU section
   =========================================== */
.sifu-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.sifu__portrait { position: relative; }
.sifu__portrait img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: 2px;
}
.sifu__portrait::after {
  content: '';
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--red);
  z-index: -1;
  border-radius: 2px;
}
.sifu__body p { margin-top: 14px; font-size: 16px; line-height: 1.8; color: var(--ink-soft); }
.sifu__credentials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.sifu__credentials span {
  font-size: 12px;
  padding: 6px 12px;
  border: 1px solid rgba(26,26,26,0.18);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-soft);
  font-weight: 600;
}
.sifu__ctas { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
@media (max-width: 800px) {
  .sifu-grid { grid-template-columns: 1fr; }
  .sifu__portrait { max-width: 320px; margin-inline: auto; }
}

/* ===========================================
   INSTAGRAM strip
   =========================================== */
.ig-head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 20px; margin-bottom: 28px; }
.ig-handle { font-family: var(--hand-en); font-size: 13px; letter-spacing: 2px; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.ig-handle:hover { color: var(--red); }
.ig-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.ig-tile {
  aspect-ratio: 1;
  background: var(--paper-soft);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  cursor: pointer;
  display: block;
}
.ig-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.ig-tile::after {
  content: '⌕';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  color: #faf7f1;
  background: rgba(196,30,58,0.7);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.ig-tile:hover img { transform: scale(1.1); }
.ig-tile:hover::after { opacity: 1; }
@media (max-width: 720px) { .ig-grid { grid-template-columns: repeat(3, 1fr); } }

/* ===========================================
   BIG CTA BAND
   =========================================== */
.ctaband {
  background: var(--ink);
  color: #faf7f1;
  position: relative;
  overflow: hidden;
}
.ctaband__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(60px, 8vw, 110px) var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.ctaband::before {
  content: '五';
  position: absolute;
  top: 50%; right: -40px;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-size: 420px;
  color: rgba(250,247,241,0.04);
  line-height: 0.8;
  pointer-events: none;
}
.ctaband__title { font-family: var(--serif); font-size: clamp(28px, 3.6vw, 44px); line-height: 1.15; max-width: 640px; }
.ctaband__sub { font-size: 16px; opacity: 0.7; margin-top: 12px; line-height: 1.6; max-width: 540px; }
.ctaband__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 760px) { .ctaband__inner { grid-template-columns: 1fr; } }

/* ===========================================
   FOOTER
   =========================================== */
.footer { background: #0f0f0f; color: rgba(250,247,241,0.75); padding: 64px var(--gutter) 32px; position: relative; overflow: hidden; }
.footer::before {
  content: '梅';
  position: absolute;
  bottom: -60px; left: -30px;
  font-family: var(--serif);
  font-size: 320px;
  color: rgba(250,247,241,0.04);
  pointer-events: none;
}
.footer__inner { max-width: var(--maxw); margin: 0 auto; position: relative; }
.footer__grid { display: grid; grid-template-columns: 1.2fr 2fr 1.2fr; gap: 40px; }
.footer__brand-name { font-weight: 800; color: #faf7f1; font-size: 17px; margin-top: 10px; }
.footer__brand-sub { font-family: var(--hand-en); font-size: 11px; opacity: 0.55; letter-spacing: 2px; margin-top: 4px; }
.footer__brand-desc { font-size: 13px; opacity: 0.7; line-height: 1.7; margin-top: 14px; max-width: 280px; }
.footer__brand-logo { width: 64px; height: 64px; background: var(--red); -webkit-mask-image: url('assets/wumei-logo-white-transparent.png'); mask-image: url('assets/wumei-logo-white-transparent.png'); -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; }
.footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.footer__col-head { font-family: var(--hand-en); font-size: 11px; letter-spacing: 2.5px; opacity: 0.5; margin-bottom: 14px; }
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer__col a { color: rgba(250,247,241,0.78); font-size: 13px; text-decoration: none; transition: color 0.18s ease; }
.footer__col a:hover { color: var(--red); }
.footer__phone { font-size: 22px; font-weight: 700; color: #faf7f1; text-decoration: none; }
.footer__phone:hover { color: var(--red); }
.footer__mail, .footer__addr { display: block; font-size: 13px; color: rgba(250,247,241,0.7); text-decoration: none; margin-top: 8px; }
.footer__mail:hover, .footer__addr:hover { color: var(--red); }
.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.footer__social a {
  width: 38px; height: 38px;
  border: 1.5px solid rgba(250,247,241,0.4);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none;
  font-family: var(--hand-en);
  font-size: 11px;
  color: rgba(250,247,241,0.7);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.footer__social a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.footer__legal {
  margin-top: 40px; padding-top: 18px;
  border-top: 1px dashed rgba(250,247,241,0.18);
  font-family: var(--hand-en);
  font-size: 11px;
  letter-spacing: 1.5px;
  opacity: 0.5;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr; } }

/* ===========================================
   SCROLL REVEAL
   =========================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0.0s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.24s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.36s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.48s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.60s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ===========================================
   STICKY WHATSAPP BUTTON (mobile)
   =========================================== */
.fab-wa {
  position: fixed;
  bottom: 22px; left: 22px;
  z-index: 60;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  font-size: 26px;
  transition: transform 0.2s ease;
}
.fab-wa:hover { transform: scale(1.06); }
@media (min-width: 961px) { .fab-wa { display: none; } }
