:root {
  --bg: #f7f1e8;
  --bg-soft: #fff9f1;
  --paper: #fffdf8;
  --brown-950: #302019;
  --brown-850: #463027;
  --brown-700: #6d5040;
  --text: #443831;
  --muted: #7d6d64;
  --gold: #d89b42;
  --gold-light: #e7b968;
  --orange: #e79b55;
  --line: rgba(89, 58, 40, .13);
  --shadow: 0 24px 60px rgba(78, 48, 29, .11);
  --shadow-soft: 0 14px 35px rgba(78, 48, 29, .08);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 86% 8%, rgba(231,185,104,.17), transparent 24%),
    radial-gradient(circle at 4% 24%, rgba(231,155,85,.09), transparent 22%),
    var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.section-shell { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.section-pad { padding: 105px 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 16px 0 0;
}
.nav-shell {
  width: min(1240px, calc(100% - 40px));
  min-height: 68px;
  margin: 0 auto;
  padding: 10px 12px 10px 18px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  background: rgba(255, 250, 243, .84);
  border: 1px solid rgba(109, 80, 64, .13);
  border-radius: 20px;
  box-shadow: 0 12px 36px rgba(76, 49, 33, .08);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--brown-950); letter-spacing: .01em; }
.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #fff9ed;
  background: linear-gradient(145deg, var(--gold-light), var(--gold));
  box-shadow: inset 0 1px rgba(255,255,255,.55), 0 8px 18px rgba(216,155,66,.24);
  font-size: 18px;
}
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 700; color: #655249; }
.nav-links a { position: relative; padding: 10px 0; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 3px;
  height: 2px;
  border-radius: 99px;
  background: var(--gold);
  transition: .25s ease;
}
.nav-links a:hover::after { left: 0; right: 0; }
.nav-cta { justify-self: end; }
.nav-toggle { display: none; border: 0; background: transparent; font-size: 24px; color: var(--brown-950); cursor: pointer; }

.btn {
  min-height: 46px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #fffdf8;
  background: linear-gradient(145deg, #3c2921, #2e201b);
  box-shadow: 0 10px 24px rgba(48,32,25,.20);
}
.btn-primary:hover { box-shadow: 0 14px 30px rgba(48,32,25,.27); }
.btn-secondary {
  color: var(--brown-850);
  background: rgba(255,251,245,.76);
  border-color: rgba(70,48,39,.19);
}
.btn-secondary:hover { background: #fffdf8; border-color: rgba(216,155,66,.45); }
.btn-large { min-height: 54px; padding: 0 28px; border-radius: 16px; }

.hero {
  min-height: 710px;
  padding-top: 86px;
  padding-bottom: 88px;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: 64px;
}
.eyebrow, .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
  color: #a86f2f;
}
.eyebrow {
  padding: 7px 12px;
  border: 1px solid rgba(216,155,66,.27);
  background: rgba(255,249,241,.75);
  border-radius: 999px;
  letter-spacing: .08em;
  font-size: 13px;
}
.hero h1 {
  margin: 20px 0 22px;
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1.12;
  letter-spacing: -.045em;
  color: var(--brown-950);
}
.hero-lead { margin: 0; font-size: 19px; line-height: 1.9; color: #6f5b50; }
.tag-row { margin: 26px 0 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.tag-row span {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,251,245,.78);
  border: 1px solid var(--line);
  color: #725847;
  font-size: 13px;
  font-weight: 700;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.sticky-note {
  width: 180px;
  margin: 42px 0 0 22px;
  padding: 24px 20px 18px;
  transform: rotate(-3deg);
  background: #fff0bd;
  border: 1px solid rgba(177,125,45,.20);
  box-shadow: 0 12px 25px rgba(93,61,34,.10);
  border-radius: 4px 4px 12px 4px;
  position: relative;
  color: #75542d;
  font-size: 13px;
  line-height: 1.8;
}
.sticky-note p { margin: 0; }
.pin {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #ca754a;
  top: 9px; left: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,.2);
}

.hero-visual { position: relative; min-width: 0; }
.visual-frame {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255,255,255,.80), rgba(238,220,198,.94)),
    #ead7c1;
  border: 1px solid rgba(92,62,45,.14);
  box-shadow: var(--shadow);
}
.hero-frame { min-height: 560px; border-radius: 36px 36px 90px 36px; }
.visual-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }
.image-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 9px;
  padding: 38px;
  text-align: center;
  color: #765c4d;
  background:
    radial-gradient(circle at 28% 18%, rgba(255,255,255,.72), transparent 22%),
    linear-gradient(155deg, #f8eee0 0%, #e8d1b6 48%, #dcb68c 100%);
}
.image-fallback::before {
  content: "";
  width: 210px;
  height: 210px;
  margin-bottom: 4px;
  border-radius: 50% 50% 44% 44%;
  background:
    radial-gradient(circle at 50% 31%, #ddab82 0 20%, transparent 21%),
    linear-gradient(90deg, transparent 33%, #2f241f 34% 66%, transparent 67%) 50% 34% / 85% 18% no-repeat,
    linear-gradient(145deg, #403029, #241a16);
  box-shadow: 0 25px 35px rgba(61,40,27,.18);
  opacity: .88;
}
.image-fallback strong { font-size: 19px; color: #4b352b; }
.image-fallback span, .image-fallback small { color: #8b6c57; }
.mini-crown {
  position: absolute;
  top: 34px; right: 38px;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 18px;
  color: white;
  background: rgba(173,113,45,.7);
  font-size: 24px;
}
.image-fallback.compact::before { width: 130px; height: 130px; }
.image-fallback.compact strong { font-size: 16px; }
.image-fallback.compact span { font-size: 12px; }
.desk-glow {
  position: absolute;
  left: 11%; right: 11%; bottom: 4%;
  height: 28%;
  border-radius: 50%;
  background: rgba(255,210,144,.32);
  filter: blur(30px);
}
.floating-badge {
  position: absolute;
  z-index: 5;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 14px;
  background: rgba(255,251,245,.86);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
  color: #62483b;
  font-weight: 800;
  font-size: 12px;
}
.badge-top { top: 46px; left: -28px; }
.badge-bottom { right: -18px; bottom: 58px; }
.float-dot { position: absolute; z-index: -1; border-radius: 50%; animation: float 5s ease-in-out infinite; }
.dot-one { width: 70px; height: 70px; right: -28px; top: -28px; background: rgba(231,185,104,.35); }
.dot-two { width: 38px; height: 38px; left: -20px; bottom: 30px; background: rgba(231,155,85,.22); animation-delay: -2s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.section-heading { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section-heading h2 {
  margin: 10px 0 14px;
  color: var(--brown-950);
  font-size: clamp(30px, 3.2vw, 43px);
  line-height: 1.3;
  letter-spacing: -.025em;
}
.section-heading p { margin: 0; color: var(--muted); font-size: 16px; }

.feature-section { background: rgba(255,249,241,.62); border-top: 1px solid rgba(112,77,57,.07); border-bottom: 1px solid rgba(112,77,57,.07); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-card, .custom-card, .process-step, .gallery-card {
  border: 1px solid var(--line);
  background: rgba(255,253,248,.80);
  box-shadow: 0 10px 28px rgba(70,48,39,.055);
  transition: transform .26s ease, box-shadow .26s ease, border-color .26s ease;
}
.feature-card:hover, .custom-card:hover, .process-step:hover, .gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(70,48,39,.11);
  border-color: rgba(216,155,66,.30);
}
.feature-card {
  min-height: 240px;
  padding: 24px;
  border-radius: var(--radius-lg);
}
.card-visual {
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: linear-gradient(145deg, #fbf0df, #f1d6b4);
  border: 1px solid rgba(216,155,66,.13);
  color: #9a622b;
  font-size: 30px;
  font-weight: 900;
}
.icon-motion { font-size: 36px; }
.feature-card h3, .custom-card h3, .process-step h3 { margin: 18px 0 6px; color: var(--brown-850); font-size: 18px; }
.feature-card p, .custom-card p, .process-step p { margin: 0; color: var(--muted); font-size: 14px; }

.custom-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 28px; align-items: stretch; }
.custom-preview {
  padding: 14px;
  border-radius: 28px;
  background: rgba(255,253,248,.72);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.custom-frame { min-height: 465px; border-radius: 21px; }
.preview-label { padding: 15px 8px 3px; text-align: center; color: #765f51; font-size: 13px; font-weight: 700; }
.custom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.custom-card { border-radius: var(--radius-lg); padding: 25px; display: flex; gap: 17px; align-items: flex-start; }
.custom-card h3 { margin-top: 1px; }
.custom-icon {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: #f7e8d4;
  color: #a86f2f;
  font-size: 20px;
  font-weight: 900;
}

.gallery-strip { padding-top: 0; }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.gallery-card {
  min-height: 300px;
  overflow: hidden;
  border-radius: 26px;
  position: relative;
  background: #f3e5d5;
}
.gallery-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }
.gallery-card .image-fallback { bottom: 76px; }
.gallery-caption {
  position: absolute;
  z-index: 4;
  left: 14px; right: 14px; bottom: 14px;
  padding: 15px 17px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-radius: 15px;
  background: rgba(255,251,245,.88);
  backdrop-filter: blur(16px);
}
.gallery-caption b { color: #50392e; }
.gallery-caption span { color: #806b60; font-size: 13px; align-self: center; }

.process-section { padding-top: 90px; background: linear-gradient(180deg, transparent, rgba(255,249,241,.7)); }
.process-line { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: center; gap: 16px; }
.process-step { min-height: 225px; padding: 28px 24px; border-radius: var(--radius-lg); text-align: center; position: relative; }
.step-no {
  width: 58px; height: 58px;
  margin: 0 auto 12px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: #fffaf2;
  background: linear-gradient(145deg, #dfaa5c, #bd7d34);
  box-shadow: 0 9px 20px rgba(193,126,50,.18);
  font-weight: 900;
}
.step-arrow { color: #cda064; font-size: 26px; font-weight: 300; }

.cta-wrap { padding-top: 80px; }
.cta-panel {
  min-height: 410px;
  position: relative;
  overflow: hidden;
  padding: 66px 70px;
  border-radius: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  color: #fff8ee;
  background:
    radial-gradient(circle at 90% 12%, rgba(231,185,104,.16), transparent 34%),
    linear-gradient(140deg, #463027, #2f201a 74%);
  box-shadow: 0 28px 55px rgba(48,32,25,.20);
}
.section-kicker.light { color: #eac083; }
.cta-panel h2 { margin: 11px 0 20px; font-size: clamp(34px, 3.6vw, 49px); line-height: 1.28; letter-spacing: -.03em; }
.cta-panel p { margin: 0; color: rgba(255,248,238,.72); line-height: 1.9; }
.cta-actions { min-width: 200px; display: flex; flex-direction: column; gap: 12px; z-index: 2; }
.btn-gold { background: linear-gradient(145deg, #edc77f, #d69a43); color: #3b281f; box-shadow: 0 12px 26px rgba(0,0,0,.18); }
.btn-dark-ghost { color: #fff7eb; border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.06); }
.btn-dark-ghost:hover { background: rgba(255,255,255,.1); }
.cta-orb { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.06); }
.orb-one { width: 270px; height: 270px; right: -90px; top: -100px; background: rgba(216,155,66,.06); }
.orb-two { width: 160px; height: 160px; left: 44%; bottom: -100px; background: rgba(255,255,255,.025); }

footer { padding: 14px 0 38px; }
.footer-inner { min-height: 110px; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 24px; border-top: 1px solid var(--line); padding-top: 26px; }
.footer-inner p { text-align: center; margin: 0; color: #715e53; font-size: 13px; }
.footer-note { text-align: right; color: #998980; font-size: 12px; }
.mobile-break { display: none; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  .nav-shell { grid-template-columns: auto 1fr auto; }
  .nav-links { gap: 18px; justify-self: center; }
  .hero { gap: 38px; grid-template-columns: 1fr 1fr; }
  .hero-frame { min-height: 500px; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .custom-layout { grid-template-columns: 1fr; }
  .custom-preview { max-width: 680px; width: 100%; margin: 0 auto; }
  .custom-frame { min-height: 430px; }
  .process-line { gap: 10px; }
  .process-step { padding-left: 16px; padding-right: 16px; }
}

@media (max-width: 860px) {
  .section-shell { width: min(100% - 32px, var(--max)); }
  .section-pad { padding: 82px 0; }
  .site-header { padding-top: 10px; }
  .nav-shell { width: calc(100% - 24px); grid-template-columns: 1fr auto auto; gap: 10px; }
  .nav-toggle { display: block; grid-column: 2; }
  .nav-cta { grid-column: 3; }
  .nav-links {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    padding: 8px 6px 5px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .nav-shell.menu-open .nav-links { display: flex; }
  .nav-links a { padding: 11px 8px; border-top: 1px solid rgba(80,50,35,.07); }
  .hero { min-height: auto; padding-top: 68px; grid-template-columns: 1fr; gap: 52px; }
  .hero-copy { text-align: center; }
  .tag-row, .hero-actions { justify-content: center; }
  .sticky-note { margin-left: auto; margin-right: auto; }
  .hero-visual { width: min(680px, 100%); margin: 0 auto; }
  .badge-top { left: 12px; }
  .badge-bottom { right: 12px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .custom-grid { grid-template-columns: 1fr 1fr; }
  .process-line { grid-template-columns: 1fr; gap: 12px; }
  .step-arrow { transform: rotate(90deg); justify-self: center; line-height: 1; }
  .process-step { width: min(520px, 100%); justify-self: center; min-height: 190px; }
  .cta-panel { padding: 54px 46px; flex-direction: column; align-items: flex-start; }
  .cta-actions { width: min(330px, 100%); }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { justify-self: center; }
  .footer-note { text-align: center; }
}

@media (max-width: 600px) {
  .section-shell { width: calc(100% - 24px); }
  .nav-shell { padding-left: 12px; min-height: 62px; }
  .brand { font-size: 13px; }
  .brand-mark { width: 31px; height: 31px; }
  .nav-cta { display: none; }
  .nav-shell { grid-template-columns: 1fr auto; }
  .nav-toggle { grid-column: 2; }
  .hero { padding-top: 48px; padding-bottom: 70px; }
  .hero h1 { font-size: clamp(38px, 12vw, 52px); }
  .hero-lead { font-size: 16px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .hero-frame { min-height: 430px; border-radius: 28px 28px 58px 28px; }
  .floating-badge { font-size: 10px; }
  .feature-grid, .custom-grid, .gallery-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 220px; }
  .custom-card { padding: 21px; }
  .custom-frame { min-height: 390px; }
  .gallery-card { min-height: 275px; }
  .gallery-caption { flex-direction: column; gap: 3px; }
  .cta-panel { padding: 42px 26px; border-radius: 26px; }
  .cta-panel h2 { font-size: 33px; }
  .cta-actions { width: 100%; }
  .mobile-break { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Keep above-the-fold hero immediately visible; later sections still use reveal animation. */
.hero .reveal { opacity: 1; transform: none; }


/* Mobile hero width correction found during 390px visual QA. */
@media (max-width: 600px) {
  .hero-copy {
    min-width: 0;
    width: 100%;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(34px, 10vw, 40px);
    line-height: 1.18;
    word-break: keep-all;
  }

  .tag-row,
  .hero-actions {
    max-width: 100%;
  }

  .nav-toggle {
    min-width: 42px;
    min-height: 42px;
    display: grid;
    place-items: center;
  }
}


/* Final mobile containment fix: prevent CSS Grid min-content expansion. */
@media (max-width: 600px) {
  .nav-shell {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
  }

  .hero-copy,
  .hero-visual,
  .hero-actions,
  .tag-row {
    min-width: 0;
    width: 100%;
  }

  .hero h1 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(32px, 9.5vw, 37px);
    word-break: normal;
    overflow-wrap: break-word;
  }

  .tag-row {
    padding-inline: 2px;
  }
}


/* Small screens: decorative orbs must never contribute to page overflow. */
@media (max-width: 600px) {
  .float-dot,
  .cta-orb {
    display: none;
  }
}


/* Stage AJIANPET-LANDING-ASSET-APPLY-1 */
.feature-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.card-visual {
  height: 150px;
  overflow: hidden;
  padding: 0;
}
.card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.feature-card h3 {
  margin-top: 16px;
}
.feature-card p {
  margin-top: auto;
}

.custom-card {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.custom-card-visual {
  width: 100%;
  height: 126px;
  overflow: hidden;
  border-radius: 15px;
  background: linear-gradient(145deg, #fbf0df, #f1d6b4);
  border: 1px solid rgba(216,155,66,.13);
}
.custom-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.custom-card-visual.vector img {
  object-fit: contain;
  padding: 24px;
}
.custom-card-copy {
  padding: 0 6px 5px;
}
.custom-card-copy h3 {
  margin: 0 0 6px;
}
.custom-card-copy p {
  margin: 0;
}

@media (max-width: 1100px) {
  .card-visual { height: 160px; }
  .custom-card-visual { height: 180px; }
}
@media (max-width: 600px) {
  .card-visual { height: 220px; }
  .custom-card-visual { height: 220px; }
}


/* Stage AJIANPET-LANDING-MAIN-VISUAL-APPLY-1
   Keep the large custom preview sized by its image instead of stretching to the right grid height. */
.custom-layout {
  align-items: start;
}
.custom-preview {
  align-self: start;
  height: auto;
}
.custom-frame {
  min-height: 0;
  aspect-ratio: 1 / 1;
}
.custom-frame img {
  object-fit: cover;
}
@media (max-width: 1100px) {
  .custom-frame {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }
}
@media (max-width: 600px) {
  .custom-frame {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }
}

/* AjianPet approved scene cards: complete 4:3 artwork and always-visible copy. */
.scene-section {
  scroll-margin-top: 96px;
  background: rgba(255, 249, 241, .56);
  border-top: 1px solid rgba(112, 77, 57, .07);
  border-bottom: 1px solid rgba(112, 77, 57, .07);
}
.scene-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.scene-card {
  min-width: 0; display: flex; flex-direction: column; overflow: hidden;
  border-radius: 28px; background: #fffdf8;
  border: 1px solid rgba(105, 75, 52, .14);
  box-shadow: 0 16px 38px rgba(70, 48, 39, .075);
  transition: transform .24s ease, box-shadow .24s ease;
}
.scene-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px rgba(70, 48, 39, .12); }
.scene-media { position: relative; width: 100%; aspect-ratio: 4 / 3; flex: 0 0 auto; overflow: hidden; background: #f0ddc6; }
.scene-media img { display: block; width: 100%; height: 100%; object-fit: contain; }
.scene-pill {
  position: absolute; top: 16px; left: 16px; border-radius: 99px; padding: 7px 13px;
  font-size: 12px; font-weight: 800; color: #67452d;
  border: 1px solid rgba(255,255,255,.75); background: rgba(255,249,239,.94);
  box-shadow: 0 6px 20px rgba(57,38,26,.10);
}
.scene-body { flex: 1; display: flex; flex-direction: column; padding: 25px 28px 27px; min-width: 0; }
.scene-index { font-size: 11px; font-weight: 800; color: #966b39; letter-spacing: .11em; }
.scene-body h3 { margin: 8px 0 12px; color: var(--brown-950); font-size: 27px; line-height: 1.35; }
.scene-body .scene-tagline { margin: 0 0 10px; color: var(--brown-850); font-size: 17px; line-height: 1.65; font-weight: 800; }
.scene-body .scene-description { margin: 0; color: #725c4e; font-size: 15px; line-height: 1.9; }
.scene-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 18px; }
.scene-tags span { font-size: 12px; font-weight: 700; color: #7c5839; background: #f7ebdb; padding: 5px 11px; border-radius: 99px; }
.scene-footnote { margin: 22px auto 0; text-align: center; color: #79685b; font-size: 12px; line-height: 1.9; }
@media (max-width: 860px) {
  .scene-grid { gap: 18px; }
  .scene-body { padding: 21px; }
  .scene-body h3 { font-size: 24px; }
  .scene-body .scene-tagline { font-size: 16px; }
}
@media (max-width: 680px) {
  .scene-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .scene-card { border-radius: 23px; }
  .scene-body { padding: 21px; }
  .scene-body h3 { font-size: 24px; }
  .scene-pill { top: 12px; left: 12px; }
  .scene-footnote { padding-inline: 5px; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .scene-card { transition: none; }
  .scene-card:hover { transform: none; }
}
