/* ============================================================
   COCO Bakery — 首页样式（home.css）完整最终版
   含：首屏 / 品牌故事 / 理念 / 产品网格 / 概念 / 数字 / 新闻 / 图墙(Swiper) / CTA
   首屏动画 keyframes 自带，首页样式自包含。
   窄屏结构塌缩（双列→单列等）由 responsive.css 统一处理，本文件不重复。
   ============================================================ */

/* ============ 首屏 ============ */
.hero {
  position: relative;
  padding: clamp(48px, 7vw, 96px) 0 clamp(60px, 8vw, 100px);
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  right: -12%;
  top: -18%;
  width: 60vw;
  height: 60vw;
  max-width: 760px;
  background: radial-gradient(circle at 50% 50%, rgba(200, 118, 60, 0.22), rgba(200, 118, 60, 0) 62%);
  filter: blur(8px);
  z-index: 0;
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

.hero__copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
  line-height: 1.2;
  margin: 1rem 0 1.3rem;
  max-width: 16ch;
}

.hero h1 .ln2 {
  color: var(--brown);
  display: block;
}

.hero h1 .scribble {
  position: relative;
  display: inline-block;
}

.hero h1 .scribble svg {
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: -0.18em;
  width: 108%;
  height: 0.4em;
  color: var(--oven);
}

.hero .lede {
  margin-bottom: 2.2rem;
  max-width: 42ch;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__meta {
  display: flex;
  gap: clamp(20px, 4vw, 46px);
  margin-top: 3rem;
  flex-wrap: wrap;
}

.hero__meta div {
  border-left: 2px solid var(--line);
  padding-left: 14px;
}

.hero__meta b {
  font-family: var(--disp-lat);
  font-size: 1.5rem;
  color: var(--brown-deep);
  display: block;
  line-height: 1;
}

.hero__meta span {
  font-size: 0.82rem;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

.hero__stage {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 360px;
}

.hero__photo {
  position: relative;
  width: min(92%, 460px);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px -28px rgba(79, 48, 25, 0.55);
  transform: rotate(-1.5deg);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero__photo:hover {
  transform: rotate(0deg) translateY(-4px);
}

.hero__photo img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}

.hero__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--brown);
  color: var(--cream);
  font-family: var(--disp-jp);
  font-weight: 700;
  font-size: 0.72rem;
  line-height: 1.3;
  text-align: center;
  padding: 8px 12px;
  border-radius: 12px;
  box-shadow: 0 8px 18px -8px rgba(79, 48, 25, 0.6);
}

.hero__mascot {
  position: absolute;
  left: -4%;
  bottom: -6%;
  width: 42%;
  max-width: 180px;
  z-index: 2;
}

.hero__mascot .bread-hero {
  width: 100%;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 18px 22px rgba(79, 48, 25, 0.28));
}

.bread-hero .crust {
  fill: var(--cream);
  stroke: var(--brown);
  stroke-width: 5;
  stroke-linejoin: round;
}

.bread-hero .score {
  fill: none;
  stroke: var(--brown);
  stroke-width: 5;
  stroke-linecap: round;
}

.bread-hero .eye {
  fill: var(--brown-deep);
  transform-box: fill-box;
  transform-origin: center;
  animation: blink 5.5s infinite;
}

.bread-hero .mouth {
  fill: none;
  stroke: var(--brown-deep);
  stroke-width: 5;
  stroke-linecap: round;
}

.steam {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  z-index: 0;
  pointer-events: none;
}

.steam path {
  fill: none;
  stroke: var(--oven);
  stroke-width: 4;
  stroke-linecap: round;
  opacity: 0;
  animation: rise 3.6s ease-in-out infinite;
}

.steam path:nth-child(2) {
  animation-delay: 1.2s;
}

.steam path:nth-child(3) {
  animation-delay: 2.4s;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--brown-mid);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  font-family: var(--disp-lat);
}

.scroll-cue i {
  width: 22px;
  height: 36px;
  border: 2px solid var(--brown-mid);
  border-radius: 14px;
  position: relative;
}

.scroll-cue i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 7px;
  width: 3px;
  height: 7px;
  background: var(--brown-mid);
  border-radius: 3px;
  transform: translateX(-50%);
  animation: wheel 1.6s infinite;
}

/* ============ 品牌故事（编辑式错位） ============ */
.story {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: start;
}

.story__aside {
  position: sticky;
  top: 110px;
}

.story__big {
  font-family: var(--disp-jp);
  font-weight: 900;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.25;
  color: var(--brown-deep);
}

.story__big em {
  font-style: normal;
  color: var(--brown);
}

.story__stamp {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.8em;
  border: 2px dashed var(--brown-mid);
  border-radius: 999px;
  padding: 0.6em 1.3em;
  color: var(--brown);
  font-family: var(--disp-jp);
  font-weight: 700;
}

.story__stamp .bread-hero {
  width: 30px;
  height: 30px;
}

.story__body p {
  font-size: clamp(1.02rem, 1.3vw, 1.2rem);
  margin-bottom: 1.3em;
  color: var(--ink);
}

.story__body p:first-child::first-letter {
  font-family: var(--disp-lat);
  font-weight: 600;
  font-size: 3.4em;
  line-height: 0.8;
  float: left;
  margin: 0.05em 0.12em 0 0;
  color: var(--brown);
}

.story__verse {
  border-left: 3px solid var(--oven);
  padding-left: 1.2em;
  margin: 1.6em 0;
  color: var(--brown-deep);
  font-family: var(--disp-jp);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 2;
}

/* ============ 理念（编号交错行） ============ */
.philo {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.philo__row {
  display: grid;
  grid-template-columns: 90px 1fr 1.2fr;
  gap: clamp(16px, 3vw, 40px);
  align-items: center;
  padding: clamp(22px, 3vw, 38px) clamp(14px, 2vw, 26px);
  border-bottom: 1px solid var(--line);
  border-radius: 14px;
  transition: background 0.4s, color 0.4s, padding 0.4s;
}

.philo__row:hover {
  background: var(--brown);
  color: var(--cream);
  padding-inline: clamp(22px, 3vw, 40px);
}

.philo__row:hover .philo__num,
.philo__row:hover .philo__t {
  color: var(--cream);
}

.philo__row:hover .philo__d {
  color: rgba(251, 246, 236, 0.82);
}

.philo__row:hover .philo__ic svg {
  stroke: var(--cream);
}

.philo__num {
  font-family: var(--disp-lat);
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--brown-mid);
  transition: color 0.4s;
}

.philo__ic {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
}

.philo__ic svg {
  width: 42px;
  height: 42px;
  stroke: var(--brown);
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.4s;
}

.philo__mid {
  display: flex;
  align-items: center;
  gap: 18px;
}

.philo__t {
  font-family: var(--disp-jp);
  font-weight: 900;
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  color: var(--brown-deep);
  transition: color 0.4s;
}

.philo__d {
  color: var(--ink-soft);
  transition: color 0.4s;
  max-width: 52ch;
}

/* ============ 产品预览网格 ============ */
.hp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.hp-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s;
  display: flex;
  flex-direction: column;
}

.hp-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.hp-card__top {
  height: 140px;
  display: grid;
  place-items: center;
  position: relative;
  background: radial-gradient(120% 120% at 30% 20%, #fff 0%, var(--beige) 72%);
}

.hp-card__emoji {
  font-size: 3.6rem;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hp-card:hover .hp-card__emoji {
  transform: rotate(-8deg) scale(1.1);
}

.hp-card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--disp-lat);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  background: var(--brown-deep);
  color: var(--cream);
  padding: 0.3em 0.7em;
  border-radius: 999px;
}

.hp-card__body {
  padding: 18px 20px 22px;
}

.hp-card__body h3 {
  font-family: var(--disp-jp);
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--brown-deep);
  margin-bottom: 6px;
}

.hp-card__body p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.hp-card--cta {
  background: var(--brown);
  border-color: var(--brown);
  color: var(--cream);
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
  padding: 24px;
  min-height: 220px;
}

.hp-card--cta:hover {
  background: var(--brown-deep);
}

.hp-card--cta span {
  font-family: var(--disp-jp);
  font-weight: 900;
  font-size: 1.5rem;
  line-height: 1.3;
}

.hp-card--cta svg {
  width: 30px;
  height: 30px;
  stroke: var(--cream);
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.35s;
}

.hp-card--cta:hover svg {
  transform: translateX(6px);
}

/* ============ 概念图标流 ============ */
.concept {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(14px, 2.4vw, 26px);
  justify-content: center;
}

.concept__pill {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 14px 26px 14px 14px;
  transition: 0.4s;
  position: relative;
  overflow: hidden;
}

.concept__pill::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brown);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 0;
}

.concept__pill:hover::before {
  transform: scaleX(1);
}

.concept__pill:hover {
  color: var(--cream);
  border-color: var(--brown);
}

.concept__pill:hover .concept__ic {
  background: var(--cream);
}

.concept__pill:hover .concept__ic svg {
  stroke: var(--brown);
}

.concept__pill > * {
  position: relative;
  z-index: 1;
}

.concept__ic {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--beige);
  display: grid;
  place-items: center;
  flex: none;
  transition: 0.4s;
}

.concept__ic svg {
  width: 26px;
  height: 26px;
  stroke: var(--brown);
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: 0.4s;
}

.concept__pill b {
  font-family: var(--disp-jp);
  font-weight: 700;
  font-size: 1rem;
}

/* ============ 数字亮点（带图标 + 质感 + 软分隔） ============ */
.stats-sec {
  position: relative;
  overflow: hidden;
}

.stats-sec__glow {
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 90%;
  background: radial-gradient(ellipse at 50% 0%, rgba(200, 118, 60, 0.28), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.stats-sec__ghost {
  position: absolute;
  right: -3%;
  bottom: -28%;
  width: clamp(220px, 30vw, 420px);
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}

.stats-sec__ghost .crust,
.stats-sec__ghost .score {
  stroke: var(--cream);
}

.stats-sec__ghost .eye,
.stats-sec__ghost .mouth {
  stroke: var(--cream);
  fill: var(--cream);
}

.stats-sec::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

.stats-sec .wrap {
  position: relative;
  z-index: 1;
}

.stats-sec .sec-head .eyebrow {
  color: var(--beige);
}

.stats-sec .sec-head .eyebrow::before {
  background: var(--oven);
}

.stats-sec .sec-head .h-display {
  color: var(--cream);
}

.stats-sec .sec-head .lede {
  color: rgba(244, 233, 214, 0.72);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 3vw, 40px);
}

.stat {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(18px, 2.4vw, 30px) 12px;
  border-radius: 18px;
  transition: background 0.4s, transform 0.4s;
}

.stat:hover {
  background: rgba(244, 233, 214, 0.06);
  transform: translateY(-4px);
}

.stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: calc(clamp(16px, 3vw, 40px) / -2);
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--oven);
  box-shadow: 0 0 12px rgba(200, 118, 60, 0.7);
  transform: translateY(-50%);
}

.stat__ic {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: rgba(200, 118, 60, 0.14);
  border: 1.5px solid rgba(200, 118, 60, 0.4);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.4s;
}

.stat:hover .stat__ic {
  transform: translateY(-4px) rotate(-6deg);
  background: rgba(200, 118, 60, 0.26);
}

.stat__ic svg {
  width: 28px;
  height: 28px;
  stroke: var(--oven);
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stat b {
  font-family: var(--disp-lat);
  font-weight: 600;
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  color: var(--cream);
  display: block;
  line-height: 1;
  letter-spacing: 0.01em;
}

.stat > span:last-child {
  margin-top: 10px;
  font-size: 0.86rem;
  color: rgba(244, 233, 214, 0.74);
  letter-spacing: 0.06em;
}

.stat::before {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--oven);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.stat:hover::before {
  width: 38px;
}

/* ============ 新闻 ============ */
.news {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news__card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px;
  transition: 0.4s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.news__card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-soft);
  border-color: var(--brown-mid);
}

.news__date {
  font-family: var(--disp-lat);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--brown-mid);
}

.news__cat {
  font-family: var(--disp-jp);
  font-weight: 700;
  font-size: 0.72rem;
  background: var(--beige);
  color: var(--brown);
  padding: 0.25em 0.8em;
  border-radius: 999px;
  align-self: flex-start;
}

.news__card h3 {
  font-family: var(--disp-jp);
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--brown-deep);
  line-height: 1.5;
}

.news__card p {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* ============ 日常风景 图墙（Swiper 自动轮播） ============ */
.scene__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  max-width: none;
  margin-bottom: clamp(30px, 4vw, 52px);
}

.scene__head > div:first-child {
  max-width: 60ch;
}

.scene__head .h-display {
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  margin: 0.7rem 0 0.9rem;
}

/* 轮播箭头 */
.scene-nav {
  display: flex;
  gap: 10px;
}

.scene-nav button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  color: var(--brown);
  background: var(--paper);
  display: grid;
  place-items: center;
  transition: 0.3s;
}

.scene-nav button:hover {
  background: var(--brown);
  color: var(--cream);
  border-color: var(--brown);
}

.scene-nav button.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
}

.scene-nav svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Swiper 容器：上下留白容纳 hover 位移/阴影 + 圆点，无滚动条 */
.scene-swiper {
  padding: 22px 6px 56px;
  overflow: hidden;
}

.scene-swiper .swiper-slide {
  height: auto;
}

/* 陈列卡：米白卡 + 圆角 + 阴影，图完整展示 */
.scene__card {
  margin: 0;
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.45s;
  height: 100%;
}

.scene__card:hover {
  transform: translateY(-8px) rotate(-0.6deg);
  box-shadow: 0 26px 56px -26px rgba(79, 48, 25, 0.5);
}

.scene__frame {
  aspect-ratio: 1 / 1;
  background: var(--cream);
  display: grid;
  place-items: center;
  padding: 14px;
  overflow: hidden;
}

.scene__frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.scene__card:hover .scene__frame img {
  transform: scale(1.06);
}

.scene__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-family: var(--disp-lat);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: var(--cream);
  background: var(--brown);
  padding: 0.35em 0.8em;
  border-radius: 999px;
  box-shadow: 0 6px 14px -6px rgba(79, 48, 25, 0.6);
}

.scene__card figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px 18px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.scene__no {
  font-family: var(--disp-lat);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--oven);
  flex: none;
}

.scene__card figcaption b {
  font-family: var(--disp-jp);
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--brown-deep);
  position: relative;
}

.scene__card figcaption b::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: var(--oven);
  border-radius: 2px;
  transition: width 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.scene__card:hover figcaption b::after {
  width: 100%;
}

/* 分页圆点：棕半透 → 激活暖橙加宽 */
.scene-swiper .swiper-pagination {
  bottom: 16px;
}

.scene-swiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: var(--brown-mid);
  opacity: 0.4;
  transition: width 0.35s, opacity 0.35s, background 0.35s;
}

.scene-swiper .swiper-pagination-bullet-active {
  width: 26px;
  border-radius: 4px;
  background: var(--oven);
  opacity: 1;
}

/* ============ CTA 横幅 ============ */
.cta-band {
  position: relative;
  text-align: center;
  padding: clamp(60px, 8vw, 110px) 0;
  overflow: hidden;
}

.cta-band .ghost-bread {
  position: absolute;
  opacity: 0.07;
  width: 340px;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
}

.cta-band .h-display {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  margin-bottom: 1rem;
}

.cta-band .lede {
  margin: 0 auto 2rem;
  text-align: center;
}

.cta-band .hero__cta {
  justify-content: center;
}

.hp-card__top {
  position: relative;
}

/* emoji 退到底层，作兜底 */
.hp-card__emoji {
  position: relative;
  z-index: 0;
}

/* 角标提到最上，不被图盖住 */
.hp-card__tag {
  z-index: 2;
}

/* 真实图：绝对居中叠层，multiply 溶白底 */
.hp-card__img {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 80%;
  height: 80%;
  object-fit: contain;
  mix-blend-mode: multiply;
  z-index: 1;
  pointer-events: none;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hp-card:hover .hp-card__img {
  transform: scale(1.1) rotate(-2deg);
}

.scene__frame {
  padding: 0;
}

.scene__frame img {
  object-fit: cover;
}

/* ---- 理念：左文+列表 / 右倾斜照片卡 ---- */
.philo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}

.philo-visual {
  position: sticky;
  top: 110px;
  display: grid;
  place-items: center;
}

.philo-photo {
  position: relative;
  margin: 0;
  width: min(92%, 400px);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px -28px rgba(79, 48, 25, 0.55);
  transform: rotate(1.5deg);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.philo-photo:hover {
  transform: rotate(0deg) translateY(-4px);
}

.philo-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.philo-photo__tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--brown);
  color: var(--cream);
  font-family: var(--disp-jp);
  font-weight: 700;
  font-size: 0.72rem;
  line-height: 1.3;
  padding: 8px 12px;
  border-radius: 12px;
  box-shadow: 0 8px 18px -8px rgba(79, 48, 25, 0.6);
}

/* ---- 三端适配 ---- */
@media (max-width: 1024px) {
  .philo-layout {
    grid-template-columns: 1fr;
  }

  /* 平板/手机：照片卡移到列表上方，摆正 */
  .philo-visual {
    position: static;
    order: -1;
    margin-bottom: 8px;
  }

  .philo-photo {
    transform: rotate(0deg);
  }
}

/* 触屏回退 */
@media (hover: none) and (pointer: coarse) {
  .philo-photo:hover {
    transform: rotate(0deg);
  }

  .philo-photo:active {
    transform: translateY(-3px);
  }
}

/* 触屏回退 */
@media (hover: none) and (pointer: coarse) {
  .hp-card:hover .hp-card__img {
    transform: none;
  }

  .hp-card:active .hp-card__img {
    transform: scale(1.06);
  }
}

/* ============ 首页三端适配（仅首页自有模块） ============ */
@media (max-width: 1024px) {
  .hp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .hp-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .hp-card__top {
    height: 110px;
  }

  .hp-card__emoji {
    font-size: 2.8rem;
  }

  .hp-card__body {
    padding: 12px 14px 16px;
  }

  .hp-card__body h3 {
    font-size: 1rem;
  }

  .hp-card__body p {
    font-size: 0.78rem;
  }

  .hp-card--cta {
    min-height: 0;
    grid-column: 1 / -1;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .stat:not(:last-child)::after {
    display: none;
  }

  .stat {
    background: rgba(244, 233, 214, 0.05);
  }

  .stat__ic {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
  }

  .stat__ic svg {
    width: 24px;
    height: 24px;
  }

  /* 图墙：手机隐藏箭头（手指滑即可），圆点居中 */
  .scene-nav {
    display: none;
  }

  .scene__head {
    display: block;
  }

  .hero__photo {
    transform: rotate(0deg);
  }
}

@media (max-width: 380px) {
  .hp-grid {
    grid-template-columns: 1fr;
  }
}

/* 触屏回退 */
@media (hover: none) and (pointer: coarse) {
  .hp-card:hover,
  .scene__card:hover,
  .scene__card:hover .scene__frame img {
    transform: none;
  }

  .hp-card:active {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
  }

  .scene__card:active {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
  }

  .scene__card:active .scene__frame img {
    transform: scale(1.04);
  }

  .scene__card:active figcaption b::after {
    width: 100%;
  }

  .hero__photo:hover {
    transform: rotate(-1.5deg);
  }

  .stat:hover {
    background: transparent;
    transform: none;
  }

  .stat:hover .stat__ic {
    transform: none;
    background: rgba(200, 118, 60, 0.14);
  }

  .stat:hover::before {
    width: 0;
  }

  .stat:active {
    background: rgba(244, 233, 214, 0.1);
    transform: translateY(-2px);
  }

  .stat:active .stat__ic {
    transform: translateY(-3px) rotate(-6deg);
    background: rgba(200, 118, 60, 0.26);
  }

  .stat:active::before {
    width: 38px;
  }

  .philo__row:hover {
    background: transparent;
    color: inherit;
    padding-inline: clamp(14px, 2vw, 26px);
  }

  .philo__row:hover .philo__num {
    color: var(--brown-mid);
  }

  .philo__row:hover .philo__t {
    color: var(--brown-deep);
  }

  .philo__row:hover .philo__d {
    color: var(--ink-soft);
  }

  .philo__row:hover .philo__ic svg {
    stroke: var(--brown);
  }

  .philo__row:active {
    background: var(--brown);
    color: var(--cream);
  }

  .philo__row:active .philo__num,
  .philo__row:active .philo__t {
    color: var(--cream);
  }

  .philo__row:active .philo__d {
    color: rgba(251, 246, 236, 0.85);
  }

  .philo__row:active .philo__ic svg {
    stroke: var(--cream);
  }

  .concept__pill:hover::before {
    transform: scaleX(0);
  }

  .concept__pill:hover {
    color: inherit;
    border-color: var(--line);
  }

  .concept__pill:hover .concept__ic {
    background: var(--beige);
  }

  .concept__pill:hover .concept__ic svg {
    stroke: var(--brown);
  }

  .concept__pill:active::before {
    transform: scaleX(1);
  }

  .concept__pill:active {
    color: var(--cream);
  }

  .concept__pill:active .concept__ic {
    background: var(--cream);
  }

  .concept__pill:active .concept__ic svg {
    stroke: var(--brown);
  }

  .news__card:hover {
    transform: none;
    box-shadow: none;
  }

  .news__card:active {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
  }
}

/* ============ 首屏动画 keyframes（自包含，不依赖 motion.css） ============ */
@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-16px) rotate(1deg);
  }
}

@keyframes blink {
  0%,
  92%,
  100% {
    transform: scaleY(1);
  }
  96% {
    transform: scaleY(0.1);
  }
}

@keyframes rise {
  0% {
    opacity: 0;
    transform: translateY(10px) scaleY(0.7);
  }
  30% {
    opacity: 0.55;
  }
  100% {
    opacity: 0;
    transform: translateY(-46px) scaleY(1.1);
  }
}

@keyframes wheel {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  40% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 12px);
  }
}

/* 深棕底：整图反白成奶白 */
.site-footer .bread-img,
.sec--brown .bread-img,
.bv-cell--brand .bread-img,
.prod-card--cta .bread-img,
.home-cta-bar .bread-img,
.prod-cta-bar .bread-img,
.stats-sec .bread-img {
  filter: brightness(0) invert(1) !important;
}

/* 深底幽灵装饰：反白 + 降淡成若隐若现 */
.home-cta-bar__ghost .bread-img,
.prod-cta-bar__ghost .bread-img,
.stats-sec__ghost .bread-img {
  filter: brightness(0) invert(1) !important;
  opacity: 0.1;
}


/* ============================================================
   末尾追加总块：照片墙满铺 + 理念右照片卡 + 新闻(红框图+卡顶图)
   纯追加，靠"后写者胜"覆盖中间旧规则；新 class 与既有样式不冲突。
   ============================================================ */

/* ---------- 照片墙：场景图满铺 ---------- */
.scene__frame {
  padding: 0;
}

.scene__frame img {
  object-fit: cover;
}

/* ---------- 理念：左文+列表 / 右倾斜照片卡 ---------- */
.philo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}

.philo-visual {
  position: sticky;
  top: 110px;
  display: grid;
  place-items: center;
}

.philo-photo {
  position: relative;
  margin: 0;
  width: min(92%, 400px);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px -28px rgba(79, 48, 25, 0.55);
  transform: rotate(1.5deg);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.philo-photo:hover {
  transform: rotate(0deg) translateY(-4px);
}

.philo-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.philo-photo__tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--brown);
  color: var(--cream);
  font-family: var(--disp-jp);
  font-weight: 700;
  font-size: 0.72rem;
  line-height: 1.3;
  padding: 8px 12px;
  border-radius: 12px;
  box-shadow: 0 8px 18px -8px rgba(79, 48, 25, 0.6);
}

/* ---------- 新闻：标题右红框照片卡 ---------- */
.news-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  margin-bottom: clamp(28px, 3.4vw, 44px);
}

.news-head__copy {
  min-width: 0;
}

.news-head__copy .h-display {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  margin: 0.7rem 0 0.9rem;
}

.news-head__media {
  position: relative;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  background: var(--beige);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 16 / 10;
  transform: rotate(-1.5deg);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.news-head__media:hover {
  transform: rotate(0deg) translateY(-4px);
}

.news-head__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s;
}

.news-head__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--brown);
  color: var(--cream);
  font-family: var(--disp-jp);
  font-weight: 700;
  font-size: 0.72rem;
  padding: 7px 12px;
  border-radius: 12px;
  box-shadow: 0 8px 18px -8px rgba(79, 48, 25, 0.6);
}

/* ---------- 新闻卡：顶部出血图 ---------- */
.news__card {
  overflow: hidden;
  padding-top: 0;
}

/* 负 margin 顶到卡边，被卡圆角裁切；下方间距靠 flex gap */
.news__media {
  margin: 0 -26px 4px;
  height: 180px;
  overflow: hidden;
  background: var(--beige);
}

.news__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.news__card:hover .news__media img {
  transform: scale(1.06);
}

/* ---------- 三端适配 ---------- */
@media (max-width: 1024px) {
  .philo-layout,
  .news-head {
    grid-template-columns: 1fr;
  }

  .philo-visual {
    position: static;
    order: -1;
    margin-bottom: 8px;
  }

  .philo-photo {
    transform: rotate(0deg);
  }

  /* 红框图移到标题下方、摆正 */
  .news-head__media {
    transform: rotate(0deg);
    aspect-ratio: 16 / 9;
  }
}

/* 触屏回退 */
@media (hover: none) and (pointer: coarse) {
  .philo-photo:hover,
  .news-head__media:hover {
    transform: rotate(0deg);
  }

  .philo-photo:active,
  .news-head__media:active {
    transform: translateY(-3px);
  }

  .news__card:hover .news__media img {
    transform: none;
  }

  .news__card:active .news__media img {
    transform: scale(1.05);
  }
}