/* ============================================================
   小胖毛 — Homepage sections
   ============================================================ */

/* ---- HERO ---- */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 78% 38%, color-mix(in srgb, var(--accent) 13%, transparent) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 12% 88%, rgba(110,151,184,0.10) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(40px, 6vw, 86px) clamp(18px, 4vw, 40px) clamp(48px, 6vw, 92px);
  position: relative; z-index: 1;
}
.hero-meta {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-bottom: 26px;
}
.hero-meta .m {
  font-family: var(--mono); font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute);
}
.hero-meta .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--line); transform: rotate(45deg); }
.hero-title { margin-bottom: 26px; }
.hero-title .pre {
  display: block; font-family: var(--sans); font-weight: 700;
  font-size: clamp(1.05rem, 2vw, 1.4rem); color: var(--ink-soft);
  margin-bottom: 10px; letter-spacing: 0.01em;
}
.hero-title .big {
  display: block; font-family: var(--serif); font-style: italic;
  font-size: clamp(3rem, 7.2vw, 6rem); color: var(--ink);
  line-height: 0.98; letter-spacing: -0.015em;
}
.hero-title .resolve {
  display: block; font-family: var(--serif); font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2.3rem); color: var(--ink-soft);
  line-height: 1.32; margin-top: 16px;
}
.hero-sub {
  font-size: 15.5px; line-height: 1.95; color: var(--ink-soft);
  max-width: 430px; margin-bottom: 36px;
}
.hero-sub b { color: var(--ink); font-weight: 800; }
.hero-ctas { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

/* hero stage — refined floating tiles around the mascot */
.hero-stage {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 420px;
}
.hero-orbit {
  position: absolute; width: 376px; height: 376px;
  border-radius: 50%; border: 1.5px dashed color-mix(in srgb, var(--accent) 36%, transparent);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  pointer-events: none;
  animation: spin 60s linear infinite;
}
.hero-orbit.b { width: 460px; height: 460px; border-color: var(--line); animation-duration: 90s; animation-direction: reverse; }
@keyframes spin { to { transform: translate(-50%,-50%) rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero-orbit { animation: none; } }

.hero-cat {
  position: relative; z-index: 2;
  width: clamp(230px, 30vw, 300px); height: clamp(230px, 30vw, 300px);
  border-radius: 50%;
  object-fit: cover;
  background: var(--paper-2);
  border: 4px solid var(--paper-3);
  box-shadow: var(--shadow-lg);
}
.hero-stamp {
  position: absolute; z-index: 3;
  top: 4%; left: 50%; transform: translateX(-50%) rotate(-4deg);
  font-family: var(--mono); font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent-ink); background: var(--paper-3);
  border: 1.5px solid var(--accent); border-radius: 999px;
  padding: 5px 13px; box-shadow: var(--shadow-sm);
}

/* tool tiles */
.hero-tiles { display: contents; }
.htile {
  position: absolute; z-index: 4;
  background: var(--paper-3);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 11px 14px 11px 11px;
  display: flex; align-items: center; gap: 11px;
  box-shadow: var(--shadow);
  text-decoration: none; color: var(--ink);
  white-space: nowrap;
  transition: transform .28s cubic-bezier(.34,1.56,.64,1), box-shadow .2s;
}
.htile:hover { transform: translateY(-5px) rotate(0deg) !important; box-shadow: var(--shadow-lg); }
.htile .swatch {
  width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.htile .swatch svg { width: 19px; height: 19px; }
.htile b { display: block; font-family: var(--serif); font-style: italic; font-size: 15px; line-height: 1; color: var(--ink); }
.htile span { display: block; font-size: 11px; color: var(--ink-mute); margin-top: 3px; }

.htile-1 { top: 8%;  right: -8%;  transform: rotate(2.5deg);  animation: bob 5s ease-in-out infinite; }
.htile-2 { top: 40%; right: -14%; transform: rotate(-2deg);   animation: bob 5.6s ease-in-out infinite .6s; }
.htile-3 { bottom: 10%; right: 2%; transform: rotate(3deg);   animation: bob 5.2s ease-in-out infinite 1.1s; }
.htile-4 { top: 16%; left: -12%;  transform: rotate(-3deg);   animation: bob 5.8s ease-in-out infinite .3s; }
.htile-5 { bottom: 14%; left: -8%; transform: rotate(2deg);   animation: bob 5.4s ease-in-out infinite 1.4s; }
@keyframes bob { 0%,100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@media (prefers-reduced-motion: reduce) { .htile { animation: none !important; } }

/* swatch color fills */
.sw-moment { background: linear-gradient(150deg, #3a2415, #6b4226); }
.sw-mbti   { background: linear-gradient(150deg, var(--accent), var(--accent-deep)); }
.sw-memo   { background: linear-gradient(150deg, #8fae84, var(--sage)); }
.sw-manual { background: linear-gradient(150deg, #8fb0cb, var(--sky)); }
.sw-bake   { background: linear-gradient(150deg, #d68a52, var(--clay)); }

/* hero layout: ORBIT (tidy, evenly placed on the ring) */
.hero[data-hero="orbit"] .htile { left: 50%; top: 50%; right: auto; bottom: auto; }
.hero[data-hero="orbit"] .htile-1 { transform: translate(calc(-50% + 198px), calc(-50% - 66px)) rotate(2deg); }
.hero[data-hero="orbit"] .htile-2 { transform: translate(calc(-50% + 124px), calc(-50% + 168px)) rotate(-2deg); }
.hero[data-hero="orbit"] .htile-3 { transform: translate(calc(-50% + 4px),   calc(-50% - 208px)) rotate(2deg); }
.hero[data-hero="orbit"] .htile-4 { transform: translate(calc(-50% - 198px), calc(-50% - 66px)) rotate(-2deg); }
.hero[data-hero="orbit"] .htile-5 { transform: translate(calc(-50% - 124px), calc(-50% + 168px)) rotate(2deg); }
@media (max-width: 1040px) {
  .hero[data-hero="orbit"] .htile-1 { transform: translate(calc(-50% + 150px), calc(-50% - 60px)) rotate(2deg); }
  .hero[data-hero="orbit"] .htile-2 { transform: translate(calc(-50% + 96px),  calc(-50% + 150px)) rotate(-2deg); }
  .hero[data-hero="orbit"] .htile-3 { transform: translate(calc(-50% + 4px),   calc(-50% - 188px)) rotate(2deg); }
  .hero[data-hero="orbit"] .htile-4 { transform: translate(calc(-50% - 150px), calc(-50% - 60px)) rotate(-2deg); }
  .hero[data-hero="orbit"] .htile-5 { transform: translate(calc(-50% - 96px),  calc(-50% + 150px)) rotate(2deg); }
}

/* motion off */
body[data-motion="off"] .hero-orbit,
body[data-motion="off"] .htile,
body[data-motion="off"] .marquee-track,
body[data-motion="off"] .next .pulse { animation: none !important; }

/* ---- MARQUEE ---- */
.marquee {
  background: var(--ink); overflow: hidden;
  padding: 13px 0; user-select: none;
  border-top: 1px solid rgba(247,232,210,0.08);
  border-bottom: 1px solid rgba(247,232,210,0.08);
}
.marquee-track { display: flex; width: max-content; animation: scroll 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
.marquee-item {
  display: inline-flex; align-items: center; gap: 22px;
  padding: 0 22px;
  font-family: var(--mono); font-size: 12px; font-weight: 400;
  letter-spacing: 0.1em; color: var(--paper); text-transform: uppercase;
  flex-shrink: 0;
}
.marquee-item .dia { width: 5px; height: 5px; background: var(--accent); transform: rotate(45deg); flex-shrink: 0; }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---- SECTION SHELL ---- */
.section { padding: clamp(56px, 8vw, 104px) clamp(18px, 4vw, 40px); }
.section-head { margin-bottom: clamp(34px, 5vw, 52px); }
.section-head .title {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(2rem, 4.2vw, 3.2rem); color: var(--ink);
  line-height: 1.12; margin-top: 16px; letter-spacing: -0.01em;
}
.section-head .lead {
  margin-top: 16px; font-size: 15px; color: var(--ink-soft);
  line-height: 1.8; max-width: 540px;
}

/* ---- BRAND STORY ---- */
.story { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.story-inner {
  max-width: 1020px; margin: 0 auto;
  display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(36px, 5vw, 64px);
  align-items: center;
}
.story-h {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(2rem, 4.4vw, 3.3rem); color: var(--ink);
  line-height: 1.16; margin: 18px 0 24px; letter-spacing: -0.01em;
}
.story-body p { font-size: 15px; line-height: 2; color: var(--ink-soft); margin-bottom: 16px; }
.story-body p.drop::first-letter {
  font-family: var(--serif); font-style: italic;
  font-size: 3.4em; float: left; line-height: 0.72;
  margin: 8px 12px 0 0; color: var(--accent);
}
.story-quote {
  margin: 22px 0; padding: 16px 20px;
  background: var(--accent-wash);
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  font-family: var(--serif); font-style: italic;
  font-size: 17px; line-height: 1.6; color: var(--accent-ink);
}
.story-photo-wrap { position: relative; justify-self: center; }
.story-photo {
  width: clamp(240px, 30vw, 300px); aspect-ratio: 4/5;
  border-radius: 22px; overflow: hidden;
  border: 5px solid var(--paper-3);
  box-shadow: var(--shadow-lg);
  transform: rotate(-1.5deg);
}
.story-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.story-tag {
  position: absolute; bottom: -14px; right: -10px;
  background: var(--accent); color: #fff;
  font-family: var(--serif); font-style: italic; font-size: 14px;
  padding: 8px 18px; border-radius: 999px;
  box-shadow: 0 8px 22px rgba(217,122,43,0.4);
  transform: rotate(3deg);
}
.story-stats {
  display: flex; gap: clamp(20px, 3vw, 38px);
  margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line);
}
.stat .n { font-family: var(--serif); font-style: italic; font-size: clamp(28px, 4vw, 36px); color: var(--ink); line-height: 1; }
.stat .l { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); margin-top: 7px; }

/* ---- TEAM (the board) ---- */
.team { background: var(--paper); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 26px); }
.tcard {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 26px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s;
  position: relative; overflow: hidden;
}
.tcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tcard-no {
  position: absolute; top: 18px; right: 22px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--ink-mute);
}
.tcard-portrait {
  width: 124px; height: 124px; border-radius: 22px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.tp-mao { background: radial-gradient(circle at 50% 40%, #dcebf6, #c4ddee); }
.tp-caramel { background: radial-gradient(circle at 50% 40%, #f7 e7d6, #f0dcc4); }
.tp-caramel { background: radial-gradient(circle at 50% 40%, #f7e7d6, #f0dcc4); }
.tp-latte { background: radial-gradient(circle at 50% 40%, #efe6da, #e2d2bd); }
.tcard-portrait img { width: 112px; height: 112px; object-fit: contain; }
.tcard h3 { font-family: var(--serif); font-style: italic; font-size: 23px; color: var(--ink); line-height: 1; }
.tcard .role {
  display: inline-block; margin: 10px 0 14px;
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent-ink); background: var(--accent-wash);
  padding: 4px 11px; border-radius: 999px;
}
.tcard p { font-size: 13.5px; line-height: 1.85; color: var(--ink-soft); }

/* ---- TOOLS ---- */
.tools { background: var(--paper-2); border-top: 1px solid var(--line); }
.tools-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2.2vw, 24px); }
.tool {
  display: flex; flex-direction: column;
  background: var(--paper-3);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden; text-decoration: none; color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .3s ease;
  will-change: transform;
}
.tool.feature { grid-column: 1 / -1; }
.tool-preview { height: 150px; position: relative; overflow: hidden; flex-shrink: 0; }
.tool.feature .tool-preview { height: 190px; }
.tool-body { padding: 22px 24px 22px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.tool-top { display: flex; align-items: center; gap: 12px; }
.tool-ico {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.tool-ico svg { width: 20px; height: 20px; }
.tool-no { margin-left: auto; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--ink-mute); }
.tool-name { font-family: var(--serif); font-style: italic; font-size: 25px; color: var(--ink); line-height: 1; }
.tool-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tool-desc { font-size: 13.5px; line-height: 1.8; color: var(--ink-soft); flex: 1; }
.tool-cta-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 800; font-size: 13.5px; color: var(--ink); padding-top: 4px;
  transition: gap .2s;
}
.tool:hover .tool-cta-link { gap: 12px; color: var(--accent-deep); }

/* feature tool: preview left, body right on desktop */
@media (min-width: 760px) {
  .tool.feature { flex-direction: row; }
  .tool.feature .tool-preview { width: 46%; height: auto; min-height: 230px; }
  .tool.feature .tool-body { flex: 1; justify-content: center; padding: 32px 34px; }
  .tool.feature .tool-name { font-size: 30px; }
  .tool.feature .tool-desc { max-width: 440px; font-size: 14.5px; }
}

/* preview styles (kept on-brand, refined) */
.pv-moment {
  position: absolute; inset: 0; background: #130802;
  display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr;
  gap: 4px; padding: 9px;
}
.pv-moment .t { border-radius: 7px; overflow: hidden; }
.pv-moment .t img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pv-moment .live {
  position: absolute; top: 10px; left: 12px; z-index: 2;
  font-family: var(--mono); font-size: 9.5px; font-weight: 700; letter-spacing: 0.12em;
  color: #fff; background: var(--accent); padding: 3px 9px; border-radius: 999px;
}
.pv-mbti, .pv-manual, .pv-bake, .pv-memo { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; }
.pv-mbti  { background: linear-gradient(150deg, #fdefd6, var(--accent-wash)); }
.pv-manual{ background: linear-gradient(150deg, #eef4fa, #d9e8f5); }
.pv-bake  { background: linear-gradient(150deg, #f6e6d4, #ecd2b8); }
.pv-memo  { background: #eaf3e6; }

.mini-card {
  background: var(--paper-3); border-radius: 14px; padding: 13px 15px;
  box-shadow: var(--shadow-sm); text-align: center; border: 1px solid var(--line-soft);
  min-width: 92px;
}
.mini-card .type { font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--ink); line-height: 1; }
.mini-card .breed { font-family: var(--mono); font-size: 9px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-mute); margin-top: 6px; }
.mini-card.tinted-mbti { border-top: 3px solid var(--accent); }
.mini-card.tinted-manual { border-top: 3px solid var(--sky); }
.mini-card .dim { font-family: var(--mono); font-size: 8px; color: var(--ink-mute); line-height: 1.7; margin-top: 8px; border-top: 1px solid var(--line-soft); padding-top: 7px; }

.bake-card { background: var(--paper-3); border: 2px solid var(--clay); border-radius: 14px; box-shadow: 0 4px 0 var(--clay); padding: 13px 15px; width: 150px; }
.bake-card .bt { font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--clay); margin-bottom: 8px; }
.bake-row { display: flex; justify-content: space-between; font-size: 10px; color: var(--ink); padding: 3px 0; border-bottom: 1px solid var(--line-soft); }
.bake-row:last-of-type { border: none; }
.bake-row b { color: var(--clay); font-family: var(--mono); }
.bake-result { margin-top: 9px; background: var(--clay); color: #fff; border-radius: 8px; padding: 6px; text-align: center; font-size: 10px; font-weight: 800; }

.memo-grid {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(132,153,111,0.18) 1px, transparent 1px) 0 0 / 26px 26px,
    linear-gradient(rgba(132,153,111,0.18) 1px, transparent 1px) 0 0 / 26px 26px;
}
.memo-road { position: absolute; background: var(--paper-3); border-radius: 3px; }
.memo-pin { position: absolute; width: 12px; height: 12px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--clay); border: 2px solid var(--paper-3); }
.memo-pin.sel { background: var(--accent); width: 15px; height: 15px; }
.memo-float {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  background: var(--paper-3); border: 1px solid var(--line); border-radius: 10px;
  padding: 7px 11px; font-size: 10px; font-weight: 800; color: var(--ink);
  box-shadow: var(--shadow-sm); white-space: nowrap; text-align: center;
}
.memo-float span { display: block; font-family: var(--mono); font-size: 8px; font-weight: 400; color: var(--ink-mute); margin-top: 2px; }

/* index link blocks */
.index-block {
  margin-top: 26px; padding: 24px 26px;
  background: var(--paper-3); border: 1px solid var(--line); border-radius: var(--r);
}
.index-block.warm { background: var(--accent-wash); border-color: color-mix(in srgb, var(--accent) 30%, transparent); }
.index-block .ih { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 6px; }
.index-block .id { font-size: 13.5px; color: var(--ink-soft); line-height: 1.7; margin-bottom: 16px; max-width: 640px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  font-size: 13px; font-weight: 700; color: var(--ink-soft); text-decoration: none;
  padding: 8px 15px; border-radius: 999px; background: var(--paper-2);
  border: 1px solid var(--line); transition: border-color .2s, color .2s, transform .2s;
}
.chip:hover { border-color: var(--accent); color: var(--accent-deep); transform: translateY(-2px); }
.chip.solid { background: var(--accent); color: #fff; border-color: var(--accent); }
.chip.solid:hover { color: #fff; }

/* next teaser */
.next {
  margin-top: 22px; padding: 30px 34px;
  border: 1.5px dashed color-mix(in srgb, var(--accent) 42%, var(--line));
  border-radius: var(--r-lg); background: transparent;
  display: flex; align-items: center; gap: 28px;
}
.next-dot { width: 56px; height: 56px; border-radius: 16px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--accent-wash); color: var(--accent-deep); }
.next-dot svg { width: 26px; height: 26px; }
.next h3 { font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--ink-soft); margin-bottom: 6px; }
.next p { font-size: 13.5px; color: var(--ink-mute); line-height: 1.75; }
.next .pill { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--accent-deep); }
.next .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.6); } }

/* ---- PHILOSOPHY (dark) ---- */
.philo { background: var(--ink); color: var(--paper-3); }
.philo-inner { max-width: 1000px; margin: 0 auto; }
.philo-title { font-family: var(--serif); font-style: italic; font-size: clamp(2rem, 4.2vw, 3.2rem); color: var(--paper-3); line-height: 1.14; margin: 16px 0 52px; }
.philo-item { display: grid; grid-template-columns: 84px 1fr; gap: 30px; align-items: start; padding: 30px 0; border-top: 1px solid rgba(247,232,210,0.1); }
.philo-item:last-child { border-bottom: 1px solid rgba(247,232,210,0.1); }
.philo-num { font-family: var(--serif); font-style: italic; font-size: 50px; color: color-mix(in srgb, var(--accent) 60%, transparent); line-height: 1; }
.philo-item h3 { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--paper-3); margin-bottom: 8px; }
.philo-item p { font-size: 14.5px; line-height: 1.85; color: rgba(247,232,210,0.55); max-width: 620px; }

/* ---- FEEDBACK CTA ---- */
.feedback { background: var(--paper); border-top: 1px solid var(--line); text-align: center; }
.feedback-inner { max-width: 580px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.feedback h2 { font-family: var(--serif); font-style: italic; font-size: clamp(1.7rem, 3.4vw, 2.5rem); color: var(--ink); line-height: 1.22; }
.feedback p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.8; max-width: 440px; }
.feedback .btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }

/* ---- RESPONSIVE ---- */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 52px; }
  .hero-meta, .hero-ctas { justify-content: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-stage { min-height: 360px; }
  .story-inner { grid-template-columns: 1fr; gap: 48px; }
  .story-body, .story-h { text-align: left; }
  .team-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: 1fr; }
  .tool.feature { flex-direction: column; }
  .tool.feature .tool-preview { width: 100%; min-height: 0; height: 170px; }
}
@media (max-width: 560px) {
  .nav-link { display: none; }
  .hero-title .big { font-size: clamp(2.6rem, 13vw, 3.6rem); }
  /* 服務小卡：手機改成貓咪下方的 2 欄網格（不浮動、不重疊） */
  .hero-stage { flex-direction: column; gap: 26px; min-height: 0; }
  .hero-orbit, .hero-orbit.b { display: none; }
  .hero-tiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
  }
  .htile-1, .htile-2, .htile-3, .htile-4, .htile-5 {
    position: static;
    transform: none !important;
    animation: none !important;
    top: auto; right: auto; bottom: auto; left: auto;
    white-space: normal;
  }
  /* 5 個卡奇數，最後一張橫跨兩欄置中 */
  .htile-5 { grid-column: 1 / -1; }
  .next { flex-direction: column; align-items: flex-start; gap: 16px; }
  .philo-item { grid-template-columns: 56px 1fr; gap: 18px; }
}
