/*
Theme Name: Qingsha Figurine Studio
Theme URI: http://qingshaart.com/
Author: Qingsha Zhiyu Cultural Creative
Description: A refined one-page WordPress theme for 3D custom human figurine showcases.
Version: 2.3.2
Text Domain: qingsha
*/

:root {
  --ink: #2d2924;
  --soft-ink: #544a40;
  --paper: #fff9f2;
  --porcelain: #fffefa;
  --warm: #ffe9dc;
  --jade: #6fb7a6;
  --deep-jade: #2f7468;
  --moss: #4a8f82;
  --brass: #efbd62;
  --brass-soft: #ffe8b8;
  --rosewood: #ef806d;
  --muted: #746b61;
  --line: rgba(38, 35, 29, 0.12);
  --line-light: rgba(255, 255, 255, 0.22);
  --shadow: 0 24px 76px rgba(118, 83, 48, 0.12);
  --soft-shadow: 0 16px 42px rgba(119, 86, 54, 0.09);
  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
  --font-display: "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
.site-shell { overflow: hidden; background: radial-gradient(circle at 10% 10%, rgba(255, 205, 121, 0.24), transparent 28%), radial-gradient(circle at 86% 30%, rgba(111, 183, 166, 0.2), transparent 32%), radial-gradient(circle at 78% 78%, rgba(239, 128, 109, 0.13), transparent 28%), linear-gradient(180deg, #fff9f2 0%, #fffefa 44%, #fff5ee 100%); }

.nav {
  position: fixed;
  z-index: 20;
  top: 16px;
  left: clamp(14px, 4vw, 54px);
  right: clamp(14px, 4vw, 54px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 10px 14px 10px 16px;
  color: var(--ink);
  border: 1px solid rgba(111, 183, 166, 0.28);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.76);
  box-shadow: 0 18px 46px rgba(111, 84, 54, 0.14);
  backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; }
.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  color: #2c2215;
  background: linear-gradient(135deg, #fff0c8, #efbd62);
  font-weight: 700;
}
.nav-links { display: flex; gap: clamp(16px, 2.2vw, 34px); align-items: center; font-family: var(--font-sans); font-size: 17px; font-weight: 600; }
.nav-links a { display: inline-flex; align-items: center; min-height: 42px; padding: 0 12px; border: 1px solid transparent; border-radius: 999px; color: rgba(45, 41, 36, 0.78); transition: color 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
.nav-links a:hover { color: #1f5f55; border-color: rgba(111,183,166,.42); background: rgba(255,255,255,.5); box-shadow: 0 10px 24px rgba(45,41,36,.08); }
.nav-links a:focus-visible, .button:focus-visible { outline: 3px solid rgba(239,189,98,.72); outline-offset: 3px; }
.nav-cta, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  border: 1px solid rgba(111, 183, 166, 0.34);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.54);
  font-family: var(--font-sans);
  font-weight: 650;
  font-size: 17px;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.button:hover, .nav-cta:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(0,0,0,.16); }
.button.primary { border-color: #efbd62; color: #2f2417; background: linear-gradient(135deg, #ffe8b8, #efbd62); }
.button.ghost { border-color: rgba(255,255,255,.62); color: #fff; background: rgba(255,255,255,.12); }

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: center;
  padding: 138px clamp(22px, 6vw, 86px) 84px;
  color: #fff;
  background: #18231f;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 18% 26%, rgba(255, 218, 139, 0.26), transparent 30%),
    linear-gradient(90deg, rgba(18, 27, 24, .76) 0%, rgba(48, 76, 66, .44) 44%, rgba(255, 249, 242, 0.04) 82%);
  pointer-events: none;
}
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  animation: heroFade 18s infinite;
}
.hero-slide.slide-one { background-image: url("assets/hero-five-categories-web.jpg"); animation-delay: 0s; }
.hero-slide.slide-two { background-image: url("assets/hero-process-studio-safe.jpg"); animation-delay: 6s; }
.hero-slide.slide-three { background-image: url("assets/hero-gallery-display-safe.jpg"); animation-delay: 12s; }
@keyframes heroFade {
  0% { opacity: 0; transform: scale(1.04); }
  8% { opacity: 1; }
  32% { opacity: 1; }
  42% { opacity: 0; transform: scale(1.09); }
  100% { opacity: 0; transform: scale(1.09); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { animation: none; opacity: 0; transform: none; }
  .hero-slide.slide-one { opacity: 1; }
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 150px;
  background: linear-gradient(180deg, transparent 10%, #fff9f2);
  pointer-events: none;
  z-index: 2;
}
.hero-content { position: relative; z-index: 3; width: min(760px, 100%); }
.hero .eyebrow { font-size: 19px; font-weight: 800; text-shadow: 0 2px 14px rgba(0,0,0,.22); }
.eyebrow {
  margin: 0 0 18px;
  color: #d96f55;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 26px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4.1vw, 54px);
  font-weight: 620;
  line-height: 1.18;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 span {
  display: block;
}
.hero-lead {
  max-width: 650px;
  margin-bottom: 34px;
  color: rgba(255,255,255,.84);
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.82;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 42px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 720px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 8px;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(14px);
}
.stat { padding: 20px 22px; border-right: 1px solid rgba(255,255,255,.15); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; margin-bottom: 4px; color: #fff; font-family: var(--font-display); font-size: 26px; font-weight: 650; line-height: 1; }
.stat span { color: rgba(255,255,255,.78); font-family: var(--font-sans); font-size: 15px; }

.section { padding: clamp(76px, 9vw, 124px) clamp(22px, 6vw, 86px); }
.section.alt { background: linear-gradient(135deg, #fffefa 0%, #fff1e7 58%, #f2fbf8 100%); }
.section.dark { color: var(--ink); background: radial-gradient(circle at 18% 8%, rgba(255,203,118,.34), transparent 32%), radial-gradient(circle at 86% 18%, rgba(111,183,166,.28), transparent 30%), linear-gradient(135deg, #fff7ec, #e8f8f3); }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(280px, .54fr);
  gap: 46px;
  align-items: end;
  margin-bottom: 48px;
}
.section h2 { max-width: 880px; margin-bottom: 0; font-family: var(--font-display); font-size: clamp(26px, 2.7vw, 38px); font-weight: 650; line-height: 1.28; letter-spacing: 0; text-wrap: balance; }
.section-head p, .feature p, .case p, .spec-list span, .contact-band p { color: var(--muted); font-family: var(--font-sans); font-size: 16px; line-height: 1.82; }
.dark .section-head p { color: var(--muted); }
.cases-head { align-items: center; margin-bottom: 34px; }
.cases-head h2 { max-width: 720px; }
.cases-head p { max-width: 620px; justify-self: end; }

.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.feature {
  min-height: 250px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,248,238,.78));
  box-shadow: var(--soft-shadow);
}
.feature:hover { transform: translateY(-2px); transition: transform 180ms ease; }
.feature b, .process-step b { display: inline-flex; margin-bottom: 14px; color: #d96f55; font-family: var(--font-sans); font-size: 13px; font-weight: 700; }
.feature b { font-size: 18px; font-weight: 800; letter-spacing: .02em; }
.feature h3, .process-step h3, .case h3 { margin-bottom: 12px; font-family: var(--font-display); font-size: 20px; font-weight: 650; line-height: 1.42; }

.video-section {
  background: linear-gradient(135deg, #fffaf2 0%, #edf8f4 100%);
}
.video-layout {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(420px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.video-copy p {
  max-width: 640px;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.82;
}
.video-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.video-points span {
  padding: 9px 14px;
  border: 1px solid rgba(111,183,166,.34);
  border-radius: 999px;
  background: rgba(255,255,255,.62);
  color: var(--soft-ink);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
}
.video-player-card {
  overflow: hidden;
  border: 1px solid rgba(45,41,36,.1);
  border-radius: 8px;
  background: rgba(255,255,255,.72);
  box-shadow: var(--shadow);
}
.intro-video-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #15221e;
  object-fit: cover;
}
.intro-reel {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border: 1px solid rgba(45,41,36,.1);
  border-radius: 8px;
  background: #15221e;
  box-shadow: var(--shadow);
}
.reel-frame {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.03);
  animation: introReel 30s infinite;
}
.reel-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.reel-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,24,21,.05), rgba(15,24,21,.72));
}
.reel-frame div {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 26px;
  z-index: 1;
  color: #fff;
}
.reel-frame strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.3vw, 34px);
  line-height: 1.18;
}
.reel-frame span {
  display: block;
  max-width: 560px;
  color: rgba(255,255,255,.84);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
}
.reel-two { animation-delay: 6s; }
.reel-three { animation-delay: 12s; }
.reel-four { animation-delay: 18s; }
.reel-five { animation-delay: 24s; }
.reel-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  height: 4px;
  width: 100%;
  transform-origin: left center;
  background: linear-gradient(90deg, #d96f55, #efbd62, #6fb7a6);
  animation: reelProgress 30s linear infinite;
}
@keyframes introReel {
  0% { opacity: 0; transform: scale(1.03); }
  4% { opacity: 1; }
  18% { opacity: 1; }
  22% { opacity: 0; transform: scale(1.09); }
  100% { opacity: 0; transform: scale(1.09); }
}
@keyframes reelProgress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@media (prefers-reduced-motion: reduce) {
  .reel-frame, .reel-progress { animation: none; }
  .reel-frame { opacity: 0; transform: none; }
  .reel-one { opacity: 1; }
}
.showcase { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(420px, .97fr); gap: clamp(26px, 4.2vw, 58px); align-items: stretch; }
.showcase-visual {
  min-height: 600px;
  border: 10px solid rgba(255, 255, 255, 0.82);
  border-radius: 8px;
  background: linear-gradient(150deg, rgba(255, 247, 236, 0.04), rgba(75, 139, 123, 0.18)), url("assets/hero-cultural-v2-web.jpg") center / cover;
  height: 100%;
  box-shadow: 0 20px 58px rgba(34, 47, 42, 0.13);
}
.showcase-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 600px;
  padding: clamp(28px, 3vw, 42px);
  border: 1px solid rgba(92, 128, 116, .16);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255,255,255,.66), rgba(255,249,241,.48));
  box-shadow: 0 18px 52px rgba(51, 72, 66, .07);
}
.showcase-copy .eyebrow { margin-bottom: 14px; }
.showcase-copy h2 { max-width: 620px; font-size: clamp(30px, 2.55vw, 40px); line-height: 1.24; }
.showcase-lead { max-width: 680px; margin-top: 16px; color: var(--muted); font-family: var(--font-sans); font-size: 16px; line-height: 1.78; }
.spec-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.spec-list li { min-height: 122px; padding: 18px 20px; border: 1px solid rgba(92, 128, 116, .15); border-radius: 8px; background: rgba(255,255,255,.62); box-shadow: 0 10px 28px rgba(51, 72, 66, .055); }
.spec-list strong { display: block; margin-bottom: 8px; color: var(--moss); font-family: var(--font-display); font-size: 19px; font-weight: 700; line-height: 1.35; }
.spec-list span { display: block; font-size: 15px; line-height: 1.66; }


.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.portfolio-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,248,238,.9));
  box-shadow: var(--soft-shadow);
}

.portfolio-media {
  min-height: 210px;
  background:
    linear-gradient(150deg, rgba(23, 32, 30, 0.18), rgba(197, 155, 95, 0.26)),
    url("assets/hero-cultural-v2-web.jpg") center / cover;
}

.portfolio-media.family { background-position: 58% 50%; }
.portfolio-media.career { background-position: 70% 44%; }
.portfolio-media.culture { background-position: 46% 52%; }

.portfolio-copy {
  padding: 28px;
}

.portfolio-copy b {
  display: inline-flex;
  margin-bottom: 10px;
  color: #d96f55;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
}

.portfolio-copy h3 {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 650;
  line-height: 1.38;
}

.portfolio-copy p {
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.76;
}
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.process-step {
  min-height: 280px;
  padding: 30px;
  border: 1px solid rgba(111,183,166,.24);
  border-radius: 8px;
  background: rgba(255,255,255,.7);
}
.process-step p { color: var(--muted); font-family: var(--font-sans); }
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.case {
  min-height: 320px;
  padding: 30px;
  border-radius: 8px;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--soft-shadow);
  background: linear-gradient(150deg, #6fb7a6, #efbd62);
}
.case:nth-child(2) { background: linear-gradient(150deg, #7fc5d6, #6fb7a6); }
.case:nth-child(3) { background: linear-gradient(150deg, #ef806d, #efbd62); }
.case p { color: rgba(255,255,255,.78); }
.case.case-photo {
  min-height: 0;
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,248,238,.9));
  display: block;
}


.case-qstyle-real .qstyle-showcase {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #fff8ee, #eef8f4);
}
.case-qstyle-real .qstyle-after {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  padding: 14px;
}
.qstyle-before {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 24%;
  margin: 0;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,.92);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(0,0,0,.16);
}
.qstyle-before img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.qstyle-before figcaption,
.qstyle-badge {
  position: absolute;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(0,0,0,.1);
}
.qstyle-before figcaption { left: 7px; top: 7px; }
.qstyle-badge { left: 12px; top: 12px; color: #d96f55; }
.case-anime-real .anime-showcase {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 14px;
  padding: 14px;
  background: linear-gradient(135deg, #fff8ee, #eef8f4);
}
.case-anime-real .anime-panel {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(45,41,36,.08);
  border-radius: 8px;
  background: rgba(255,255,255,.72);
}
.case-anime-real .anime-panel img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  padding: 10px;
  object-fit: contain;
  object-position: center center;
  aspect-ratio: auto;
}
.case-anime-real .anime-after img {
  padding: 8px 12px;
}
.case-anime-real .anime-before img {
  object-fit: contain;
  object-position: center 47%;
  padding: 4px;
  transform: scale(1.58);
}
.case-anime-real .anime-panel span {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 750;
  box-shadow: 0 8px 18px rgba(45,41,36,.08);
}
.case-anime-real .anime-after span {
  color: #d96f55;
}
.case.case-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.case.case-photo .anime-showcase {
  padding: 14px;
}
.case.case-photo .anime-panel {
  padding: 0;
}
.case.case-photo .anime-panel img {
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center center;
}
.case-qstyle-real .qstyle-after { aspect-ratio: 16 / 10; }
.case-qstyle-real .qstyle-before img { aspect-ratio: 1 / 1; }
.case.case-photo .qstyle-after {
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center center;
  padding: 18px;
  background: linear-gradient(135deg, #fff8ee, #eef8f4);
}

.case.case-photo div {
  padding: 28px;
}

.case.case-photo p {
  color: var(--muted);
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  padding: clamp(36px, 5vw, 60px);
  border-radius: 8px;
  color: var(--ink);
  background: linear-gradient(135deg, #fff1df, #dff7f0 42%, #ffd9cf 74%, #ffe5a7);
  box-shadow: var(--shadow);
}
.contact-band h2 { margin-bottom: 12px; }
.contact-band p { color: var(--muted); }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 24px; }
.contact-actions span { color: var(--muted); font-family: var(--font-sans); font-size: 15px; }
.contact-actions .button { white-space: normal; }
.contact-details { display: grid; gap: 10px; margin-top: 22px; color: var(--ink); font-family: var(--font-sans); }
.contact-details span { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; }
.contact-details strong { color: #4a8f82; font-weight: 700; }
.contact-details a { color: var(--ink); font-weight: 700; }
.footer { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; justify-content: center; padding: 28px clamp(22px, 6vw, 86px); color: rgba(255,255,255,.72); background: #101413; font-family: var(--font-sans); font-size: 15px; }
.footer a { color: rgba(255,255,255,.82); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .section-head, .showcase, .contact-band, .video-layout { grid-template-columns: 1fr; }
  .feature-grid, .portfolio-grid, .process, .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .nav {
    top: 10px;
    left: 10px;
    right: 10px;
    padding: 10px 12px;
    gap: 10px;
  }
  .brand { min-width: 0; }
  .brand span:last-child { white-space: normal; line-height: 1.2; }
  .nav-cta { padding: 10px 12px; font-size: 14px; }
  .hero {
    min-height: auto;
    padding: 112px 18px 48px;
  }
  .hero::before {
    background: linear-gradient(90deg, rgba(18, 27, 24, .86) 0%, rgba(36, 55, 48, .62) 58%, rgba(36, 55, 48, .24) 100%);
  }
  .hero-slide { background-position: 66% center; }
  .hero::after { height: 80px; }
  .hero .eyebrow { margin-bottom: 14px; font-size: 17px; line-height: 1.35; }
  h1 { margin-bottom: 18px; font-size: clamp(32px, 10vw, 40px); line-height: 1.16; }
  .hero-lead { margin-bottom: 24px; font-size: 16px; line-height: 1.72; }
  .hero-actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 24px; }
  .button { justify-content: center; width: 100%; padding: 13px 16px; }
  .hero-stats, .feature-grid, .portfolio-grid, .process, .case-grid { grid-template-columns: 1fr; }
  .hero-stats { max-width: none; backdrop-filter: blur(10px); }
  .stat { padding: 14px 16px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .stat:last-child { border-bottom: 0; }
  .stat strong { font-size: 22px; }
  .stat span { font-size: 14px; line-height: 1.55; }
  .section { padding: 58px 18px; }
  .section-head { gap: 14px; margin-bottom: 28px; }
  .cases-head { margin-bottom: 24px; }
  .cases-head p { justify-self: start; }
  .section h2 { font-size: clamp(25px, 7vw, 32px); line-height: 1.24; }
  .section-head p, .feature p, .case p, .spec-list span, .contact-band p, .video-copy p { font-size: 15px; line-height: 1.72; }
  .feature, .process-step { min-height: auto; padding: 28px; }
  .feature b { font-size: 17px; }
  .feature h3, .process-step h3, .case h3, .portfolio-copy h3 { font-size: 20px; }
  .intro-reel { min-height: 270px; }
  .reel-frame div { left: 20px; right: 20px; bottom: 20px; }
  .reel-frame span { font-size: 14px; }
  .video-points { gap: 8px; }
  .video-points span { font-size: 13px; padding: 8px 12px; }
  .showcase-copy { min-height: auto; padding: 24px; }
  .showcase-copy h2 { font-size: 27px; }
  .showcase-lead { font-size: 15px; line-height: 1.72; }
  .showcase-visual { height: auto; min-height: 300px; border-width: 6px; background-position: 58% center; }
  .spec-list { grid-template-columns: 1fr; gap: 10px; }
  .spec-list li { min-height: auto; padding: 18px; }
  .spec-list li, .contact-details span { grid-template-columns: 1fr; gap: 4px; }
  .portfolio-media { min-height: 180px; }
  .portfolio-copy, .case.case-photo div { padding: 22px; }
  .case.case-photo img { aspect-ratio: 16 / 10; }
  .case.case-photo .qstyle-after { aspect-ratio: 4 / 3; object-fit: contain; object-position: center center; padding: 12px; background: linear-gradient(135deg, #fff8ee, #eef8f4); }
  .case-qstyle-real .qstyle-before img { aspect-ratio: 1 / 1; }
  .case.case-photo .anime-showcase { grid-template-columns: 1fr; gap: 10px; padding: 12px; }
  .case.case-photo .anime-panel { padding: 0; min-height: 280px; }
  .case.case-photo .anime-panel img { min-height: 280px; aspect-ratio: auto; object-fit: contain; object-position: center center; }
  .process { gap: 12px; }
  .contact-band { gap: 22px; padding: 28px 22px; }
  .contact-actions { display: grid; grid-template-columns: 1fr; align-items: stretch; }
  .contact-actions span { font-size: 14px; }
  .contact-details { gap: 12px; }
  .footer { padding: 22px 18px; font-size: 13px; line-height: 1.6; }
}

@media (max-width: 420px) {
  .hero-slide { background-position: 70% center; }
  .hero .eyebrow { max-width: 280px; }
  .contact-details a { word-break: break-word; }
}
