/* ============================================
   Chill Flow × 品牌联名页
   ============================================ */

/* ===== HERO ===== */
.collab-hero {
  position: relative;
  padding: 140px 48px 100px;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(184, 212, 227, 0.4) 0%, transparent 60%),
    linear-gradient(180deg, #F3EEDF 0%, #E6DCBE 45%, #BFCBBA 100%);
  overflow: hidden;
  text-align: center;
}
.collab-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.collab-hero__ripples {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  width: 100%;
  height: 60%;
  animation: ripples-drift 15s ease-in-out infinite alternate;
}
@keyframes ripples-drift {
  from { transform: translateX(0); }
  to { transform: translateX(-40px); }
}

.collab-hero__inner {
  max-width: 900px;
  margin: 0 auto 60px;
  position: relative;
  z-index: 2;
}

.collab-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.2vw, 56px);
  font-weight: 500;
  line-height: 1.25;
  margin: 16px 0 24px;
  color: var(--ink);
  word-break: keep-all;
  overflow-wrap: break-word;
}
.collab-hero__title em {
  font-style: normal;
  font-family: var(--font-script);
  color: var(--sage-deep);
  white-space: nowrap;
  display: inline-block;
}

.collab-hero__sub {
  font-size: 18px;
  line-height: 1.9;
  color: var(--ink-soft);
}
.collab-hero__sub strong {
  color: var(--ink);
  font-weight: 500;
  border-bottom: 2px solid var(--sage);
  padding-bottom: 2px;
}

.collab-hero__visual {
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding: 0 20px;
}
.collab-hero__visual img {
  width: 100%;
  height: auto;
  display: block;
  /* 现已使用透明 PNG，不再需要 blend-mode 擦白底 */
  filter: drop-shadow(0 30px 60px -20px rgba(93, 111, 82, 0.35));
  animation: visual-float 6s ease-in-out infinite;
}
@keyframes visual-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ===== 联名哲学 ===== */
.collab-philosophy {
  padding: 100px 48px;
  background: var(--cream);
}
.collab-philosophy__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
}
.collab-philosophy__title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 8px 0 56px;
  line-height: 1.2;
}
.collab-philosophy__title .highlight {
  font-family: var(--font-script);
  color: var(--sage-deep);
  position: relative;
  white-space: nowrap;
}
.collab-philosophy__title .highlight::after {
  content: '';
  position: absolute;
  left: -4px; right: -4px; bottom: 6px;
  height: 10px;
  background: rgba(184, 212, 227, 0.5);
  z-index: -1;
  transform: skewX(-8deg);
}

.principles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  text-align: left;
}
.principle {
  padding: 32px 28px;
  background: var(--cream-warm);
  border-radius: 18px;
  border: 1.5px solid rgba(42, 51, 41, 0.1);
  transition: transform 0.4s var(--ease-water), border-color 0.3s;
}
.principle:hover {
  transform: translateY(-4px);
  border-color: var(--sage);
}
.principle__num {
  display: inline-block;
  font-family: var(--font-script);
  font-size: 40px;
  color: var(--sage);
  line-height: 1;
  margin-bottom: 8px;
}
.principle h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 10px;
}
.principle p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* ===== 案例主体 ===== */
.collab-case {
  padding: 100px 48px;
  background:
    radial-gradient(ellipse 100% 30% at 50% 0%, rgba(156, 174, 147, 0.18) 0%, transparent 70%),
    var(--cream-warm);
}
.collab-case__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

/* 案例头 */
.collab-case__head {
  text-align: center;
  margin-bottom: 80px;
}
.collab-brandmark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin: 24px 0 40px;
  flex-wrap: wrap;
}
.collab-brandmark__a,
.collab-brandmark__b {
  height: 52px;
  max-width: 280px;
  width: auto;
  object-fit: contain;
}
.collab-brandmark__b { height: 40px; }
.collab-brandmark__x {
  font-family: var(--font-serif);
  font-size: 40px;
  color: var(--ink-soft);
  font-weight: 300;
}

.collab-case__title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 20px;
}
.collab-case__title em {
  font-style: normal;
  font-family: var(--font-script);
  color: var(--sage-deep);
  white-space: nowrap;
}

.collab-case__lead {
  font-size: 18px;
  line-height: 1.9;
  color: var(--ink-soft);
  max-width: 720px;
  margin: 0 auto;
}
.collab-case__lead strong {
  color: var(--ink);
  font-weight: 500;
}
.collab-tag {
  display: inline-block;
  padding: 2px 10px;
  background: var(--sage);
  color: var(--cream);
  font-size: 14px;
  border-radius: 100px;
  font-weight: 500;
  white-space: nowrap;
}

/* 地缘叙事（左文右卡） */
.collab-story {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 80px;
}
.collab-story__text {
  padding: 0 4px;
}
.collab-story__text h3 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 24px;
  line-height: 1.3;
}
.collab-story__text p {
  font-size: 16px;
  line-height: 2;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.collab-story__text strong {
  color: var(--ink);
  font-weight: 500;
}
.collab-story__text em {
  font-style: normal;
  font-family: var(--font-script);
  color: var(--sage-deep);
  font-size: 1.2em;
}
.collab-pill {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(184, 212, 227, 0.5);
  border-radius: 4px;
  font-weight: 500;
}
.collab-callout {
  margin-top: 32px !important;
  padding: 24px 28px;
  background: var(--cream);
  border-left: 4px solid var(--sage);
  border-radius: 0 12px 12px 0;
  font-size: 17px !important;
  line-height: 1.8 !important;
  color: var(--ink) !important;
}
.collab-callout strong {
  color: var(--sage-deep) !important;
  font-family: var(--font-serif);
}

/* 上川集 logo 释义卡（sticky） */
.collab-story__aside {
  position: sticky;
  top: 100px;
}
.aside-card {
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 6px 8px 0 var(--sage-deep);
}
.aside-card__logo {
  width: 100%;
  max-width: 200px;
  margin: 0 auto 20px;
  display: block;
}
.aside-card__body { text-align: left; }
.aside-card__title {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}
.aside-card__meta {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px dashed rgba(42, 51, 41, 0.2);
}
.aside-card__desc {
  font-size: 13px;
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.aside-card__desc--quote {
  padding-top: 12px;
  border-top: 1px dashed rgba(42, 51, 41, 0.2);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 13px;
  color: var(--ink);
}

/* 一起做的具体的事 */
.collab-doing {
  margin-bottom: 60px;
}
.collab-doing__title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 500;
  color: var(--ink);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}
.collab-doing__title em {
  font-style: normal;
  font-family: var(--font-script);
  color: var(--sage-deep);
}
.doing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.doing-card {
  padding: 28px 26px;
  background: var(--cream);
  border: 1.5px solid rgba(42, 51, 41, 0.12);
  border-radius: 16px;
  transition: transform 0.4s var(--ease-water), border-color 0.3s, box-shadow 0.4s;
}
.doing-card:hover {
  transform: translateY(-4px);
  border-color: var(--sage);
  box-shadow: 0 20px 30px -16px rgba(93, 111, 82, 0.3);
}
.doing-card--featured {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--sage) 0%, var(--sage-deep) 100%);
  color: var(--cream);
  border-color: var(--ink);
}
.doing-card--featured:hover {
  border-color: var(--ink);
}
.doing-card--upcoming {
  background: var(--cream-warm);
  border-style: dashed;
}
.doing-card__tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  background: var(--ink);
  color: var(--cream);
  border-radius: 100px;
  margin-bottom: 14px;
}
.doing-card--featured .doing-card__tag {
  background: var(--cream);
  color: var(--sage-deep);
}
.doing-card--upcoming .doing-card__tag {
  background: var(--cocoa);
}
.doing-card h4 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 12px;
  line-height: 1.3;
}
.doing-card p {
  font-size: 14px;
  line-height: 1.8;
  opacity: 0.88;
  margin-bottom: 10px;
}
.doing-card p:last-child { margin-bottom: 0; }
.doing-card--featured p { opacity: 0.92; }
.doing-card strong { font-weight: 600; }
.doing-card__chillrole {
  padding-top: 12px;
  margin-top: 4px !important;
  border-top: 1px solid rgba(245, 241, 232, 0.3);
}

/* 引言 */
.collab-quote {
  max-width: 720px;
  margin: 80px auto 0;
  padding: 40px 32px;
  background: var(--cream);
  border-radius: 18px;
  border: 2px dashed rgba(156, 174, 147, 0.6);
  text-align: center;
  position: relative;
}
.collab-quote::before {
  content: '"';
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  background: var(--sage);
  color: var(--cream);
  border-radius: 50%;
  font-family: var(--font-serif);
  font-size: 42px;
  line-height: 50px;
}
.collab-quote p {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.8;
  color: var(--ink);
  font-style: italic;
  margin-bottom: 16px;
}
.collab-quote cite {
  font-family: var(--font-script);
  font-size: 18px;
  color: var(--sage-deep);
  font-style: normal;
}

/* ===== 未来伙伴 ===== */
.collab-future {
  padding: 100px 48px;
  background: var(--cream);
}
.collab-future__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
}
.collab-future__title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
  margin: 8px 0 48px;
}
.collab-future__title em {
  font-style: normal;
  font-family: var(--font-script);
  color: var(--sage-deep);
}

.future-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.future-slot {
  aspect-ratio: 4/3;
  background: var(--cream-warm);
  border: 2px dashed rgba(42, 51, 41, 0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s, transform 0.3s var(--ease-water);
}
.future-slot:hover {
  border-color: var(--sage);
  transform: translateY(-3px);
}
.future-slot__inner {
  text-align: center;
  padding: 20px;
}
.future-slot__num {
  display: block;
  font-family: var(--font-script);
  font-size: 42px;
  color: var(--sage);
  margin-bottom: 8px;
}
.future-slot__hint {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
}
.future-slot--empty {
  background: var(--cream);
  border-style: dashed;
  border-color: var(--sage);
}
.future-slot__plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--cream);
  font-size: 28px;
  font-weight: 300;
  margin-bottom: 12px;
  transition: transform 0.4s var(--ease-water);
}
.future-slot--empty:hover .future-slot__plus {
  transform: rotate(90deg) scale(1.1);
}

/* ===== 联名 CTA ===== */
.collab-cta {
  padding: 100px 48px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-warm) 100%);
}
.collab-cta__card {
  max-width: 980px;
  margin: 0 auto;
  padding: 56px 56px 48px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 28px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(42, 51, 41, 0.5);
}
.collab-cta__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 40%, rgba(156, 174, 147, 0.25) 0%, transparent 50%),
    repeating-linear-gradient(45deg, transparent 0 40px, rgba(245, 241, 232, 0.02) 40px 42px);
}
.collab-cta__ollie {
  width: 100%;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.3));
  position: relative;
  z-index: 2;
  animation: visual-float 5s ease-in-out infinite;
}
.collab-cta__body {
  position: relative;
  z-index: 2;
}
.collab-cta__body .booking-section__kicker {
  color: var(--sage);
  text-align: left;
  margin-bottom: 4px;
}
.collab-cta__body h2 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 16px;
}
.collab-cta__body h2 em {
  font-style: normal;
  font-family: var(--font-script);
  color: var(--sage);
}
.collab-cta__desc {
  font-size: 15px;
  line-height: 1.85;
  opacity: 0.85;
  margin-bottom: 28px;
}
.collab-cta__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.collab-cta .btn--primary {
  background: var(--sage);
  color: var(--cream);
}
.collab-cta .btn--primary:hover { background: var(--sage-deep); }
.collab-cta .btn--ghost {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid rgba(245, 241, 232, 0.5);
}
.collab-cta .btn--ghost:hover {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}

/* ============ 响应式 ============ */
@media (max-width: 960px) {
  .collab-hero { padding: 100px 20px 56px; }
  .collab-philosophy,
  .collab-case,
  .collab-future,
  .collab-cta { padding: 64px 20px; }

  .collab-story {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .collab-story__aside { position: static; order: -1; }
  .aside-card { padding: 20px; }

  .doing-grid { gap: 14px; }
  .doing-card--featured { grid-column: auto; }

  .future-grid { grid-template-columns: 1fr; gap: 14px; }
  .future-slot { aspect-ratio: 16/9; }

  .collab-cta__card {
    grid-template-columns: 1fr;
    padding: 40px 28px;
    gap: 20px;
    text-align: center;
  }
  .collab-cta__ollie { max-width: 140px; margin: 0 auto; }
  .collab-cta__body .booking-section__kicker { text-align: center; }
  .collab-cta__actions { justify-content: center; }

  .collab-brandmark { gap: 16px; }
  .collab-brandmark__a { height: 40px; }
  .collab-brandmark__b { height: 32px; }
}
