/* ================================================
   Art Fest Canada 2026 - Shared Stylesheet
   Fluid-responsive with CSS variables + clamp()
   ================================================ */

/* ============= CSS VARIABLES (全站统一) ============= */
:root {
  /* Brand colors */
  --brand-navy: #0F2A4A;
  --brand-navy-deep: #0A1F3A;
  --brand-orange: #F58634;
  --brand-orange-dark: #E3721F;
  --icon-red: #E94B3C;
  --icon-blue: #3B7BB8;
  --icon-green: #7AB348;
  --icon-purple: #7C3AED;
  --leaf-red: #E63946;
  --text-muted: #475569;
  --text-soft: #64748B;
  --text-dim: #94A3B8;
  --bg-light: #f8fafc;
  --bg-mint: #E0F2F1;
  --border-soft: #cbd5e1;
  --border-dim: #e2e8f0;

  /* 流体排版 — min | preferred (vw) | max */
  --fs-display:    clamp(2.25rem, 4.5vw, 3.5rem);    /* h1 大标题 */
  --fs-h1-mobile:  clamp(1.75rem, 7vw, 2.25rem);
  --fs-h1:         clamp(2rem, 3.6vw, 3rem);          /* 32-48px，避免大屏换行 */
  --fs-h2:         clamp(1.5rem, 3.2vw, 2.25rem);
  --fs-h3:         clamp(1.25rem, 2.2vw, 1.625rem);
  --fs-xl:         clamp(1.05rem, 1.6vw, 1.25rem);
  --fs-base:       clamp(0.9rem, 1.2vw, 1rem);
  --fs-sm:         clamp(0.75rem, 1vw, 0.875rem);
  --fs-xs:         clamp(0.7rem, 0.9vw, 0.8rem);

  /* 流体间距 — 跟随屏幕缩放 */
  --space-section:   clamp(36px, 6vw, 72px);
  --space-lg:        clamp(24px, 4vw, 48px);
  --space-md:        clamp(16px, 2.5vw, 28px);
  --space-sm:        clamp(10px, 1.5vw, 18px);
  --space-xs:        clamp(6px, 0.8vw, 10px);

  /* 容器宽度 */
  --container-max:   1280px;
  --container-pad:   clamp(16px, 4vw, 32px);

  /* 圆角 */
  --radius-sm:       clamp(4px, 0.5vw, 6px);
  --radius-md:       clamp(8px, 1vw, 14px);
  --radius-lg:       clamp(12px, 1.5vw, 18px);
  --radius-xl:       clamp(16px, 2vw, 24px);

  /* Hero 高度 */
  --hero-min-h:      clamp(420px, 50vw, 540px);
  --hero-card-min-h: clamp(220px, 30vw, 320px);

  /* 字体 */
  --ff-sans: 'Inter', system-ui, sans-serif;
  --ff-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
}

/* ============= RESET & BASE ============= */
*, *::before, *::after { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  width: 100%;
  overflow-x: hidden;
  font-family: var(--ff-sans);
  color: var(--brand-navy);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.5;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; line-height: 1.1; }
p { margin: 0; }
ul { list-style: none; padding: 0; margin: 0; }

.font-display { font-family: var(--ff-display); }

/* ============= CONTAINER ============= */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* ============= NAV ============= */
.site-nav {
  background: var(--brand-navy);
  color: #fff;
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-sm) var(--container-pad);
  gap: var(--space-md);
}
.brand-logo {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  line-height: 1;
  color: var(--brand-orange);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.brand-logo small { display: block; font-size: 0.65em; color: #fff; margin-top: 2px; }
.brand-logo .leaf { color: var(--leaf-red); }

.nav-menu {
  display: flex; gap: clamp(14px, 2vw, 28px); align-items: center;
}
.nav-menu a {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
}
.nav-menu a:hover, .nav-menu a.active { color: #fff; border-bottom-color: var(--brand-orange); }

.btn-join {
  background: var(--brand-orange);
  color: #fff;
  padding: clamp(8px, 1vw, 10px) clamp(16px, 2vw, 22px);
  border-radius: 999px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background-color .2s, transform .2s;
  white-space: nowrap;
}
.btn-join:hover { background: var(--brand-orange-dark); transform: translateY(-1px); }

/* 移动端导航：菜单折叠到汉堡按钮 */
.nav-toggle {
  display: none;
  width: clamp(36px, 4vw, 44px); height: clamp(36px, 4vw, 44px);
  color: #fff;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 6px;
  cursor: pointer;
  transition: background-color .2s, border-color .2s;
  flex-shrink: 0;
}
.nav-toggle:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle.open .icon-menu { display: none; }
.nav-toggle.open .icon-close { display: block; }

.nav-inner { position: relative; }

@media (max-width: 960px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--brand-navy);
    flex-direction: column;
    padding: var(--space-sm) var(--container-pad);
    border-top: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    z-index: 99;
    gap: 0;
  }
  .nav-menu.open { display: flex; }
  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-menu li:last-child { border-bottom: none; }
  .nav-menu a {
    display: block;
    padding: clamp(10px, 1.2vw, 14px) 0;
    border-bottom: none;
  }
  .nav-toggle { display: flex; }
  .btn-join { display: none; }
}

/* ============= HERO BANNER ============= */
.hero {
  background: var(--brand-navy);
  color: #fff;
  display: grid;
  grid-template-columns: minmax(0, 36%) 1fr;
  min-height: var(--hero-min-h);
  position: relative;
  overflow: hidden;
}
.hero-left {
  padding: clamp(32px, 4vw, 60px) clamp(20px, 3vw, 40px) clamp(32px, 4vw, 60px) clamp(24px, 4vw, 60px);
  display: flex; flex-direction: column; justify-content: center;
  position: relative; z-index: 2;
}
.hero-left::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(245,134,52,0.10) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(245,134,52,0.06) 0%, transparent 50%);
  pointer-events: none;
}
.tag-event {
  display: inline-block;
  background: var(--brand-orange);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: clamp(4px, 0.6vw, 6px) clamp(10px, 1.2vw, 14px);
  border-radius: var(--radius-sm);
  margin-bottom: clamp(16px, 2vw, 28px);
  align-self: flex-start;
}
.hero h1 {
  font-family: var(--ff-display);
  font-size: var(--fs-h1);
  font-weight: 800;
  margin: 0 0 clamp(12px, 1.8vw, 24px) 0;
  letter-spacing: -0.02em;
}
.hero-sub { font-size: var(--fs-xl); font-weight: 700; margin: 0 0 var(--space-xs) 0; }
.hero-desc { font-size: var(--fs-base); color: rgba(255,255,255,0.85); line-height: 1.6; margin: 0 0 var(--space-md) 0; max-width: 380px; }
.hero-info { display: flex; flex-direction: column; gap: clamp(8px, 1.2vw, 14px); font-size: var(--fs-base); margin: 0 0 var(--space-md) 0; }
.hero-info li { display: flex; align-items: flex-start; gap: clamp(8px, 1vw, 12px); }
.hero-info svg { width: clamp(16px, 1.5vw, 20px); height: clamp(16px, 1.5vw, 20px); flex-shrink: 0; color: rgba(255,255,255,0.9); margin-top: 2px; }
.hero-info .secondary { color: rgba(255,255,255,0.7); }

.hero-cta { display: flex; gap: clamp(10px, 1.2vw, 14px); flex-wrap: wrap; }
.btn-primary {
  background: var(--brand-orange);
  color: #fff;
  padding: clamp(10px, 1.2vw, 14px) clamp(20px, 2.4vw, 28px);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: var(--fs-xs);
  border-radius: var(--radius-sm);
  display: inline-flex; align-items: center; gap: clamp(6px, 0.8vw, 10px);
  transition: background-color .2s, transform .2s, box-shadow .2s;
}
.btn-primary:hover { background: var(--brand-orange-dark); transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(245,134,52,0.6); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.5);
  padding: clamp(10px, 1.2vw, 14px) clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: var(--fs-xs);
  border-radius: var(--radius-sm);
  display: inline-flex; align-items: center; gap: clamp(6px, 0.8vw, 10px);
  transition: border-color .2s, background-color .2s;
}
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

.hero-right {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.hero-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(16px, 2vw, 30px) clamp(14px, 1.8vw, 24px);
  color: #fff;
  min-height: var(--hero-min-h);
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: transform .3s;
}
.hero-card:hover { transform: scale(1.02); }
.hero-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.78) 100%);
}
.hero-card > * { position: relative; z-index: 1; }
.hero-card h3 {
  font-family: var(--ff-display);
  font-size: clamp(1rem, 1.6vw, 1.625rem);
  font-weight: 800;
  margin: 0 0 clamp(8px, 1vw, 12px) 0; line-height: 1.1; text-transform: uppercase;
  letter-spacing: 0.02em;
}
.hero-card p { font-size: var(--fs-sm); line-height: 1.5; color: rgba(255,255,255,0.9); }
.hero-card .arrow-btn {
  margin-top: clamp(12px, 1.5vw, 18px);
  width: clamp(32px, 3vw, 40px); height: clamp(32px, 3vw, 40px);
  border: 1.5px solid rgba(255,255,255,0.6);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background-color .2s, border-color .2s;
}
.hero-card:hover .arrow-btn { background: var(--brand-orange); border-color: var(--brand-orange); }

/* Hero 箭头 */
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: clamp(28px, 3vw, 36px); height: clamp(28px, 3vw, 36px);
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  cursor: pointer;
  z-index: 5;
  transition: background-color .2s;
}
.hero-arrow:hover { background: rgba(255,255,255,0.3); }
.hero-arrow.left { left: 12px; }
.hero-arrow.right { right: 12px; }

/* 手机端：单列堆叠 */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero-left { padding: var(--space-lg) var(--container-pad); }
  .hero h1 { font-size: var(--fs-h1-mobile); }
  .hero-right { grid-template-columns: repeat(2, 1fr); min-height: 0; }
  .hero-card { min-height: var(--hero-card-min-h); }
}
@media (max-width: 480px) {
  .hero-right { grid-template-columns: 1fr; }
  .hero-card { min-height: clamp(280px, 60vw, 360px); }
}

/* ============= TRAILER SECTION ============= */
.trailer {
  /* 顶部 padding 比底部大，确保 hero 跟 trailer 之间有明显空隙 */
  padding: clamp(56px, 8vw, 100px) 0 clamp(36px, 6vw, 72px);
  position: relative;
  width: 100%;
}
.trailer::before {
  /* 装饰分隔线 */
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: clamp(40px, 5vw, 80px);
  height: 3px;
  background: var(--brand-orange);
  border-radius: 2px;
}
.trailer-inner {
  /* 全宽，跟 hero 对齐；grid 1.3fr 1fr 让 video 占 56%，features 占 44% */
  max-width: none;
  padding: 0 var(--container-pad);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(12px, 1.5vw, 20px);
  align-items: center;
}
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 75vh;  /* 大屏下视频高度不超 75vh */
  background: var(--brand-navy);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px -15px rgba(0,0,0,0.3);
}
.video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.35); pointer-events: none; }
.play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: clamp(56px, 6vw, 96px);
  height: clamp(56px, 6vw, 96px);
  background: #fff; color: var(--brand-navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  z-index: 10;
  animation: pulse 2.4s ease-out infinite;
  transition: transform .2s;
}
.play-btn:hover { transform: translate(-50%, -50%) scale(1.1); }
.play-btn svg { width: clamp(24px, 2.5vw, 36px); height: clamp(24px, 2.5vw, 36px); margin-left: 4px; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.5); }
  50%      { box-shadow: 0 0 0 18px rgba(255,255,255,0); }
}
.video-caption {
  position: absolute; bottom: clamp(14px, 2vw, 24px); left: 0; right: 0; text-align: center;
  color: #fff; padding: 0 var(--container-pad); z-index: 10;
}
.video-caption p {
  font-family: var(--ff-display);
  font-weight: 800; font-size: clamp(0.95rem, 1.6vw, 1.25rem);
  letter-spacing: 0.18em; text-transform: uppercase;
  margin: 0; text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.features {
  padding: 0 clamp(12px, 2vw, 32px);
  max-width: 640px;  /* 文字可读宽度限制 */
  width: 100%;
  justify-self: start;  /* 靠左对齐，不居中 */
}
.features .eyebrow { font-size: var(--fs-sm); font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 var(--space-xs) 0; }
.features h2 {
  font-family: var(--ff-display);
  font-size: var(--fs-h2);
  font-weight: 800; line-height: 1.08;
  margin: 0 0 var(--space-md) 0; color: var(--brand-navy);
}
.features h2 .accent { color: var(--brand-orange); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(8px, 1.2vw, 16px); }
.feature { text-align: center; }
.feature-icon { width: clamp(32px, 4vw, 48px); height: clamp(32px, 4vw, 48px); margin: 0 auto clamp(6px, 0.8vw, 12px); }
.feature p { margin: 0; }
.feature .title { font-family: var(--ff-display); font-weight: 700; font-size: var(--fs-sm); color: var(--brand-navy); }
.feature .sub { font-size: var(--fs-xs); color: var(--text-soft); margin-top: clamp(2px, 0.3vw, 4px); }

@media (max-width: 960px) {
  .trailer-inner { grid-template-columns: 1fr; gap: var(--space-md); }
  .features { padding: 0; max-width: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============= SECTION TITLES ============= */
.section-title {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: var(--fs-h2);
  color: var(--brand-navy);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.section-title .accent { color: var(--brand-orange); }
.section-eyebrow { font-size: var(--fs-sm); font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 var(--space-xs) 0; }
.section-header { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); margin-bottom: var(--space-md); flex-wrap: wrap; }
.view-all {
  color: var(--brand-orange);
  font-size: var(--fs-sm); font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: clamp(4px, 0.6vw, 8px);
}
.view-all:hover { text-decoration: underline; }

/* ============= 18 EXPERIENCES ============= */
.experiences { padding: var(--space-section) var(--container-pad); }
.experiences .container, .experiences-inner { max-width: var(--container-max); margin: 0 auto; }
.experience-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(8px, 1.2vw, 16px); }
.exp-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 6px 20px -10px rgba(0,0,0,0.15);
  transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.exp-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px -10px rgba(0,0,0,0.2); }
.exp-card-img { aspect-ratio: 4 / 3; overflow: hidden; }
.exp-card-img img { width: 100%; height: 100%; object-fit: cover; }
.exp-card-body { padding: clamp(10px, 1.2vw, 16px); display: flex; align-items: center; gap: clamp(8px, 1vw, 12px); }
.exp-card-icon { width: clamp(28px, 3vw, 36px); height: clamp(28px, 3vw, 36px); flex-shrink: 0; }
.exp-card-title { font-family: var(--ff-display); font-weight: 700; font-size: var(--fs-sm); color: var(--brand-navy); margin: 0; }
.exp-card-sub { font-size: var(--fs-xs); color: var(--text-soft); margin: 2px 0 0 0; }

@media (max-width: 960px) {
  .experience-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .experience-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============= COMMUNITY SPOTLIGHT ============= */
.community { background: var(--bg-mint); padding: var(--space-section) var(--container-pad); width: 100%; }
.community-inner { max-width: var(--container-max); margin: 0 auto; }
.community-grid {
  display: grid;
  /* 桌面：3 张卡 + 订阅卡（4:3 比例），中等屏：3 张卡 + 订阅竖排 */
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(12px, 1.5vw, 24px);
  align-items: stretch;
}
.story-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px, 1.2vw, 16px);
}
.story-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 6px 20px -10px rgba(0,0,0,0.12);
}
.story-tag {
  display: inline-block;
  font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase;
  padding: clamp(4px, 0.5vw, 5px) clamp(8px, 1vw, 10px); border-radius: var(--radius-sm);
  color: #fff;
  margin: clamp(12px, 1.5vw, 16px);
  align-self: flex-start;
}
.story-tag.artist { background: var(--icon-red); }
.story-tag.parent { background: var(--icon-green); }
.story-tag.student { background: var(--icon-purple); }
.story-body { padding: 0 clamp(12px, 1.5vw, 16px) clamp(12px, 1.5vw, 16px); flex: 1; display: flex; flex-direction: column; }
.story-body h4 { font-family: var(--ff-display); font-weight: 800; font-size: var(--fs-h3); color: var(--brand-navy); margin: 0 0 clamp(6px, 0.8vw, 8px) 0; line-height: 1.2; }
.story-body p { font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.5; margin: 0 0 clamp(10px, 1.2vw, 14px) 0; flex: 1; }
.story-watch { color: var(--brand-orange); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 6px; }
.story-img { aspect-ratio: 4/3; background-color: #cbd5e1; background-size: cover; background-position: center; }
.subscribe-card {
  background: var(--brand-navy);
  color: #fff;
  border-radius: var(--radius-md);
  padding: clamp(20px, 2.5vw, 32px) clamp(16px, 2vw, 24px);
  display: flex; flex-direction: column; justify-content: center;
}
.subscribe-card h4 { font-family: var(--ff-display); font-size: var(--fs-h3); font-weight: 800; margin: 0 0 clamp(8px, 1vw, 10px) 0; }
.subscribe-card p { font-size: var(--fs-sm); color: rgba(255,255,255,0.85); line-height: 1.5; margin: 0 0 var(--space-md) 0; }
.subscribe-form input {
  width: 100%;
  padding: clamp(10px, 1.2vw, 12px) clamp(12px, 1.4vw, 14px);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: var(--fs-base);
  margin-bottom: clamp(8px, 1vw, 12px);
  font-family: inherit;
}
.subscribe-form input::placeholder { color: rgba(255,255,255,0.5); }
.subscribe-form input:focus { outline: none; border-color: var(--brand-orange); }
.subscribe-form button {
  width: 100%;
  background: var(--brand-orange);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: var(--fs-xs);
  padding: clamp(10px, 1.2vw, 12px);
  border-radius: var(--radius-sm);
  transition: background-color .2s;
  font-family: inherit;
}
.subscribe-form button:hover { background: var(--brand-orange-dark); }

/* 中等屏（≤ 1200px）：community 整体单列，3 张卡保持 3 列（变窄但仍水平） */
@media (max-width: 1200px) {
  .community-grid { grid-template-columns: 1fr; }
  .story-cards { grid-template-columns: repeat(3, 1fr); }
}
/* 平板（≤ 960px）：3 张卡变 2 列 */
@media (max-width: 960px) {
  .story-cards { grid-template-columns: repeat(2, 1fr); }
}
/* 手机（≤ 600px）：3 张卡变 1 列 */
@media (max-width: 600px) {
  .story-cards { grid-template-columns: 1fr; }
}

/* ============= CAPTURING MEMORIES + PARTNERS ============= */
.memories { padding: var(--space-section) var(--container-pad); }
.memories-inner { max-width: var(--container-max); margin: 0 auto; }
.memories-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(24px, 3vw, 40px); align-items: start; }
.memory-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(8px, 1vw, 12px); }
.memory-photos .ph {
  aspect-ratio: 1; border-radius: var(--radius-md);
  background-color: #cbd5e1; background-size: cover; background-position: center;
}
.partners-row { display: flex; gap: clamp(10px, 1.2vw, 16px); align-items: center; flex-wrap: wrap; }
.partner-logo {
  width: clamp(64px, 7vw, 100px); height: clamp(64px, 7vw, 100px);
  border-radius: 50%;
  border: 1.5px solid var(--border-soft);
  background: var(--bg-light);
  display: flex; align-items: center; justify-content: center;
  font-size: clamp(9px, 0.9vw, 11px); color: var(--text-dim);
  text-align: center; line-height: 1.2;
  flex-shrink: 0;
}

@media (max-width: 960px) {
  .memories-grid { grid-template-columns: 1fr; }
  .memory-photos { grid-template-columns: repeat(2, 1fr); }
}

/* ============= BOTTOM CTA ============= */
.bottom-cta {
  background: var(--brand-navy);
  color: #fff;
  padding: var(--space-section) var(--container-pad);
  position: relative;
  overflow: hidden;
}
.bottom-cta::before, .bottom-cta::after {
  content: ''; position: absolute; width: clamp(120px, 20vw, 200px); height: clamp(120px, 20vw, 200px); border-radius: 50%; pointer-events: none;
}
.bottom-cta::before { left: -50px; bottom: -50px; background: radial-gradient(circle, var(--brand-orange) 0%, transparent 60%); opacity: 0.4; }
.bottom-cta::after { right: -50px; top: -50px; background: radial-gradient(circle, var(--leaf-red) 0%, transparent 60%); opacity: 0.3; }
.cta-inner { max-width: var(--container-max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); align-items: center; position: relative; z-index: 1; }
.cta-text h3 {
  font-family: var(--ff-display);
  font-size: var(--fs-h2);
  font-weight: 800;
  margin: 0 0 clamp(8px, 1vw, 12px) 0; text-transform: uppercase; letter-spacing: 0.02em;
}
.cta-text h3 .accent { color: var(--brand-orange); }
.cta-text p { color: rgba(255,255,255,0.85); font-size: var(--fs-base); margin: 0; max-width: 420px; }
.cta-buttons { display: flex; flex-direction: column; gap: clamp(8px, 1vw, 14px); }
.cta-btn {
  display: flex; align-items: center; gap: clamp(10px, 1.2vw, 14px);
  padding: clamp(12px, 1.4vw, 16px) clamp(16px, 2vw, 22px);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  color: #fff;
  font-family: var(--ff-display);
  font-weight: 700; font-size: var(--fs-sm);
  letter-spacing: 0.08em; text-transform: uppercase;
  transition: background-color .2s, transform .2s;
  text-align: left;
}
.cta-btn:hover { background: rgba(255,255,255,0.1); transform: translateX(4px); }
.cta-btn svg { width: clamp(18px, 2vw, 22px); height: clamp(18px, 2vw, 22px); flex-shrink: 0; }

@media (max-width: 960px) { .cta-inner { grid-template-columns: 1fr; } }

/* ============= FOOTER ============= */
.site-footer {
  background: var(--brand-navy-deep);
  color: #fff;
  padding: clamp(32px, 4vw, 50px) var(--container-pad) clamp(20px, 3vw, 30px);
}
.footer-inner { max-width: var(--container-max); margin: 0 auto; display: grid; grid-template-columns: 1fr 2fr 1fr 1fr; gap: clamp(24px, 3vw, 40px); }
.footer-brand .brand-logo { font-size: clamp(1.2rem, 1.8vw, 1.6rem); }
.footer-brand small { font-size: 0.65em; }
.footer h5 { font-family: var(--ff-display); font-size: var(--fs-sm); font-weight: 800; margin: 0 0 var(--space-sm) 0; letter-spacing: 0.14em; text-transform: uppercase; }
.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(4px, 0.6vw, 8px) clamp(12px, 1.5vw, 24px);
}
.footer-links li { margin: 0; }
.footer-links a { font-size: var(--fs-sm); color: rgba(255,255,255,0.7); transition: color .2s; }
.footer-links a:hover { color: #fff; }

@media (max-width: 480px) {
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}
.footer-social { display: flex; gap: clamp(8px, 1vw, 12px); }
.footer-social a {
  width: clamp(32px, 3.5vw, 40px); height: clamp(32px, 3.5vw, 40px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: background-color .2s, border-color .2s;
}
.footer-social a:hover { background: var(--brand-orange); border-color: var(--brand-orange); }
.footer-social svg { width: clamp(14px, 1.6vw, 18px); height: clamp(14px, 1.6vw, 18px); }
.footer-qr { text-align: center; }
.qr-box {
  width: clamp(72px, 8vw, 100px); height: clamp(72px, 8vw, 100px);
  background: #fff;
  border-radius: var(--radius-sm);
  margin: 0 auto var(--space-xs);
  display: flex; align-items: center; justify-content: center;
  font-size: var(--fs-xs); color: var(--text-muted);
}
.footer-qr small { font-size: var(--fs-xs); color: rgba(255,255,255,0.7); }
.copyright { max-width: var(--container-max); margin: clamp(20px, 3vw, 30px) auto 0; padding-top: clamp(16px, 2vw, 20px); border-top: 1px solid rgba(255,255,255,0.1); text-align: center; font-size: var(--fs-sm); color: rgba(255,255,255,0.5); }

@media (max-width: 960px) { .footer-inner { grid-template-columns: 1fr 1fr; gap: var(--space-md); } }
@media (max-width: 600px) { .footer-inner { grid-template-columns: 1fr; } }

/* ============= INNER PAGE (subpage) ============= */
.page-hero {
  background: var(--brand-navy);
  color: #fff;
  padding: var(--space-section) var(--container-pad);
  text-align: center;
}
.page-hero h1 { font-family: var(--ff-display); font-size: var(--fs-h1); font-weight: 800; margin: 0 0 var(--space-sm) 0; }
.page-hero p { color: rgba(255,255,255,0.85); font-size: var(--fs-base); margin: 0 auto; max-width: 600px; }
.page-body { padding: var(--space-section) var(--container-pad); max-width: 1100px; margin: 0 auto; min-height: 400px; }
.page-body h2 { font-family: var(--ff-display); font-size: var(--fs-h2); color: var(--brand-navy); margin: 0 0 var(--space-sm) 0; }
.page-body p { color: var(--text-muted); font-size: var(--fs-base); line-height: 1.7; }
.placeholder-box {
  border: 2px dashed var(--border-soft);
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: var(--space-section) var(--container-pad);
  text-align: center;
  color: var(--text-dim);
  font-size: var(--fs-sm);
  margin: var(--space-md) 0;
}

/* ============= UTILITY ============= */
.text-center { text-align: center; }

/* Hero 与 Trailer 之间间距修复：之前贴在一起 */
.hero {
  margin-bottom: 0;
  /* 加 box-shadow 让 hero 底部有阴影区分 */
  box-shadow: 0 8px 24px -8px rgba(0,0,0,0.25);
  position: relative;
  z-index: 1;
}
