﻿:root {
  --cream: #fff8ee;
  --butter: #ffe4bd;
  --orange: #f6a24a;
  --caramel: #8b4f34;
  --blush: #e8a79a;
  --mist: #fff1eb;
  --ink: #4d4742;
  --heading: #5a514b;
  --muted: #716963;
  --paper: #fffdf9;
  --line: #eee3d7;
  --cream-soft: #fffbf4;
  --peach-soft: #fff3ed;
  --shadow-soft: 0 18px 52px rgba(139, 79, 52, 0.075);
  --shadow-lift: 0 24px 68px rgba(139, 79, 52, 0.12);
  --radius-lg: 28px;
  --radius-md: 22px;
  --font-main: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", Arial, sans-serif;
  --font-serif: "Noto Serif TC", "Source Han Serif TC", "Songti TC", "PMingLiU", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 228, 189, 0.34), transparent 27%),
    radial-gradient(circle at 88% 16%, rgba(255, 216, 207, 0.28), transparent 24%),
    linear-gradient(180deg, var(--cream-soft), var(--paper) 34%, #fffaf4);
  font-family: var(--font-main);
  line-height: 1.65;
  overflow-x: hidden;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(20px, 5vw, 64px);
  background: rgba(255, 251, 244, 0.88);
  border-bottom: 1px solid rgba(238, 227, 215, 0.72);
  backdrop-filter: blur(16px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--heading);
}

.brand-mark img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 0;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-nav a:hover {
  color: var(--heading);
}

.site-nav a {
  position: relative;
  border-radius: 999px;
  padding: 5px 10px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 1px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: opacity 220ms ease, transform 220ms ease;
}

.site-nav a:hover {
  background: var(--cream);
  transform: translateY(-1px);
}

.site-nav a:hover::after {
  opacity: 0.34;
  transform: scaleX(1);
}

.section-band,
.section-wrap {
  padding: clamp(72px, 8.5vw, 118px) clamp(20px, 6vw, 80px);
}

main > section {
  position: relative;
}

main > section + section::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(20px, 6vw, 80px);
  right: clamp(20px, 6vw, 80px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 79, 52, 0.14), transparent);
  pointer-events: none;
}

.section-heading {
  position: relative;
}

.section-heading::after {
  content: "";
  display: block;
  width: 44px;
  height: 1px;
  margin-top: 22px;
  background: rgba(139, 79, 52, 0.18);
}

.hero {
  min-height: calc(100vh - 73px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 250, 244, 0.98) 0%, rgba(255, 250, 244, 0.9) 18%, rgba(255, 250, 244, 0.42) 39%, rgba(255, 250, 244, 0.08) 57%, rgba(255, 250, 244, 0) 72%),
    url("assets/hero-pluffy-photo-mockup-small.jpg") 34% 46% / 128% auto no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 54%, rgba(255, 248, 238, 0.82), transparent 28%),
    linear-gradient(180deg, rgba(255, 253, 249, 0.08), rgba(255, 241, 235, 0.03));
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: min(760px, 58vw);
}

.hero h1 {
  margin: 0;
  color: #7a4a34;
  font-family: "Noto Serif TC", "Source Han Serif TC", "Yu Mincho", "Hiragino Mincho ProN", "Songti TC", serif;
  font-weight: 600;
  font-size: clamp(3rem, 6.3vw, 5.65rem);
  line-height: 1.18;
  letter-spacing: 0.04em;
}

.hero h1 span {
  color: var(--orange);
}

.hero .eyebrow {
  color: rgba(113, 105, 99, 0.34);
  font-size: 0.75rem;
  letter-spacing: 0.26em;
}

.hero-brand-label {
  margin: 0 0 18px;
  color: rgba(246, 162, 74, 0.78);
  font-family: "Inter", "Plus Jakarta Sans", "DM Sans", "Noto Sans TC", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 14px;
  color: rgba(113, 105, 99, 0.54);
  font-family: "Inter", "Plus Jakarta Sans", "DM Sans", "Noto Sans TC", Arial, sans-serif;
  font-size: clamp(0.75rem, 1vw, 0.86rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-style: normal;
}

.hero-subtitle {
  max-width: 540px;
  margin: 20px 0 0;
  color: rgba(113, 105, 99, 0.8);
  font-size: clamp(1.02rem, 1.32vw, 1.18rem);
  line-height: 1.7;
  white-space: nowrap;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border: 1px solid rgba(90, 81, 75, 0.24);
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(139, 79, 52, 0.12);
}

.button.primary {
  border-color: rgba(246, 162, 74, 0.42);
  background: linear-gradient(135deg, #f7b160, var(--orange));
  color: #fff;
  box-shadow: 0 14px 34px rgba(246, 162, 74, 0.26);
}

.button.secondary {
  background: rgba(255, 253, 249, 0.62);
  color: var(--caramel);
  border-color: rgba(139, 79, 52, 0.22);
}

.services-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 32px;
  padding: clamp(22px, 2.8vw, 34px);
  border: 1px solid rgba(238, 227, 215, 0.86);
  border-radius: 28px;
  background: rgba(255, 253, 249, 0.86);
  box-shadow: 0 22px 54px rgba(139, 79, 52, 0.06);
  backdrop-filter: blur(10px);
}

.services-strip::before {
  content: none;
}

.services-strip article {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-width: 0;
  padding: 0 clamp(12px, 1.8vw, 24px);
  text-align: center;
}

.services-strip article + article {
  border-left: 1px solid rgba(238, 227, 215, 0.9);
}

.services-strip span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 16px;
  background: rgba(255, 241, 235, 0.72);
  color: var(--orange);
}

.services-strip svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.services-strip h2 {
  margin: 4px 0 0;
  color: var(--heading);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
}

.services-strip p {
  max-width: 13rem;
  margin: 0;
  color: rgba(113, 105, 99, 0.7);
  font-size: 0.9rem;
  line-height: 1.8;
}

.intro {
  padding-top: 40px;
  padding-bottom: 40px;
  background: rgba(255, 248, 238, 0.74);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.intro.section-band {
  padding-top: 28px;
  padding-bottom: 28px;
}

.intro p {
  max-width: 980px;
  margin: 0 auto;
  font-size: clamp(1.04rem, 1.6vw, 1.28rem);
  font-weight: 500;
  line-height: 1.85;
  color: var(--muted);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-heading h2,
.contact-section h2 {
  margin: 0;
  color: var(--caramel);
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(1.85rem, 3.6vw, 3.35rem);
  line-height: 1.14;
  letter-spacing: 0;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 26px);
}

.work-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -10px 0 28px;
}

.work-filters span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid rgba(139, 79, 52, 0.13);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.74);
  color: rgba(90, 81, 75, 0.72);
  font-size: 0.88rem;
  font-weight: 600;
}

.work-card,
.price-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 249, 0.92);
  box-shadow: var(--shadow-soft);
}

.work-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.work-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.34) 44%, transparent 68%);
  opacity: 0;
  transform: translateX(-115%);
  transition: opacity 220ms ease, transform 720ms ease;
}

.work-card:hover {
  transform: translateY(-6px);
  border-color: rgba(246, 162, 74, 0.55);
  box-shadow: var(--shadow-lift);
}

.work-card:hover::before {
  opacity: 1;
  transform: translateX(115%);
}

.work-card.featured {
  grid-row: auto;
}

.work-media {
  min-height: 230px;
  height: 230px;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 18%, rgba(255, 228, 189, 0.5), transparent 25%),
    linear-gradient(145deg, #fff9f0, #fff1eb);
}

.work-media::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 18px;
  pointer-events: none;
}

.cms-image-media img {
  width: min(82%, 520px);
  height: auto;
  max-width: 100%;
  max-height: 74%;
  object-fit: contain;
  object-position: center;
}

.mascot-sample {
  min-height: 230px;
  height: 230px;
}

.mascot-sample img {
  width: 78%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.mascot-sample img.logo-horizontal {
  width: min(82%, 520px);
  max-height: 74%;
  aspect-ratio: auto;
}

.color-study {
  grid-template-columns: repeat(3, 64px);
  gap: 10px;
  background:
    radial-gradient(circle at 80% 18%, rgba(246, 162, 74, 0.12), transparent 24%),
    var(--mist);
}

.color-study span {
  width: 64px;
  height: 118px;
  border-radius: 14px;
  box-shadow: 0 16px 26px rgba(139, 79, 52, 0.08);
}

.color-study span:nth-child(1) {
  background: var(--butter);
}

.color-study span:nth-child(2) {
  background: var(--orange);
}

.color-study span:nth-child(3) {
  background: var(--blush);
}

.package-study {
  grid-template-columns: 108px 74px;
  gap: 18px;
  background:
    radial-gradient(circle at 22% 22%, rgba(255, 216, 207, 0.28), transparent 24%),
    #fff7ed;
}

.package-study div {
  height: 148px;
  border: 2px solid rgba(90, 81, 75, 0.72);
  border-radius: 18px;
  background: linear-gradient(var(--butter) 0 35%, #fff 35% 100%);
  box-shadow: 0 16px 28px rgba(139, 79, 52, 0.08);
}

.package-study div:nth-child(2) {
  height: 104px;
  align-self: end;
  background: linear-gradient(var(--orange) 0 42%, #fff 42% 100%);
}

.signage-study {
  position: relative;
  grid-template-rows: 76px 12px 72px;
  gap: 10px;
  background: linear-gradient(145deg, #fff8ee, #fff1eb);
}

.signage-study span,
.signage-study b,
.signage-study i {
  display: block;
  border-radius: 12px;
}

.signage-study span {
  width: min(54%, 230px);
  height: 76px;
  border-radius: 22px 22px 8px 8px;
  background: linear-gradient(180deg, var(--orange) 0 58%, #fffdf9 58% 100%);
  box-shadow: 0 12px 24px rgba(139, 79, 52, 0.1);
}

.signage-study b {
  width: min(64%, 220px);
  height: 12px;
  background: var(--caramel);
  opacity: 0.74;
}

.signage-study i {
  width: min(38%, 145px);
  height: 72px;
  border-radius: 14px 14px 8px 8px;
  border: 1px solid var(--line);
  background: #fffdf9;
}

.signage-study::before,
.signage-study::after {
  content: "";
  position: absolute;
  top: 62px;
  width: 7px;
  height: 96px;
  border-radius: 999px;
  background: var(--caramel);
  opacity: 0.78;
}

.signage-study::before {
  left: 18%;
}

.signage-study::after {
  right: 18%;
}

.illustration-study {
  position: relative;
  background: #f1f6f3;
}

.illustration-study b,
.illustration-study i {
  display: block;
  border-radius: 50%;
}

.illustration-study b {
  width: 150px;
  height: 150px;
  background: var(--orange);
  transform: translateY(18px);
}

.illustration-study i {
  position: absolute;
  width: 78px;
  height: 78px;
  transform: translate(72px, -76px);
  background: var(--butter);
}

.product-study {
  background:
    radial-gradient(circle at 72% 25%, rgba(255, 228, 189, 0.5), transparent 30%),
    linear-gradient(145deg, #fff8ee, #fff1eb);
}

.product-study span,
.product-study b,
.product-study i,
.video-study span,
.video-study b,
.interactive-study span,
.interactive-study b,
.interactive-study i {
  display: block;
  position: absolute;
  border: 1px solid rgba(139, 79, 52, 0.12);
  box-shadow: 0 16px 34px rgba(139, 79, 52, 0.08);
}

.product-study span {
  width: 44%;
  height: 32%;
  border-radius: 18px;
  background: #fffdf9;
  transform: rotate(-5deg) translate(-42px, -16px);
}

.product-study b {
  width: 34%;
  height: 24%;
  border-radius: 16px;
  background: var(--butter);
  transform: rotate(6deg) translate(62px, 34px);
}

.product-study i {
  width: 22%;
  height: 22%;
  border-radius: 999px;
  background: var(--orange);
  transform: translate(0, -54px);
  opacity: 0.88;
}

.render-study {
  position: relative;
  background:
    radial-gradient(circle at 66% 28%, rgba(255, 225, 185, 0.58), transparent 24%),
    linear-gradient(145deg, #fffaf4, #f5f7f4);
  perspective: 760px;
}

.render-study span,
.render-study b,
.render-study i {
  display: block;
  position: absolute;
  box-shadow: 0 22px 40px rgba(139, 79, 52, 0.12);
}

.render-study span {
  width: 128px;
  height: 128px;
  border-radius: 26px;
  background: linear-gradient(145deg, #fffdf9, var(--butter));
  transform: rotateX(58deg) rotateZ(-38deg) translate(-18px, -6px);
}

.render-study b {
  width: 92px;
  height: 92px;
  border-radius: 24px;
  background: linear-gradient(145deg, var(--orange), #fbd09b);
  transform: translate(62px, -32px) rotate(10deg);
}

.render-study i {
  width: 56%;
  height: 12px;
  border-radius: 999px;
  background: rgba(139, 79, 52, 0.34);
  transform: translateY(78px);
  filter: blur(1px);
}

.video-study {
  background:
    linear-gradient(rgba(139, 79, 52, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 79, 52, 0.055) 1px, transparent 1px),
    #fffaf4;
  background-size: 26px 26px;
}

.video-study span {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: #fffdf9;
}

.video-study span::after {
  content: "";
  position: absolute;
  left: 30px;
  top: 23px;
  border-left: 20px solid var(--orange);
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
}

.video-study b {
  width: 58%;
  height: 12px;
  border-radius: 999px;
  background: rgba(90, 81, 75, 0.36);
  transform: translateY(58px);
}

.youtube-work-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.youtube-work-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(45, 38, 34, 0.02), rgba(45, 38, 34, 0.18));
}

.youtube-work-cover span {
  position: relative;
  z-index: 2;
  box-shadow: 0 14px 34px rgba(139, 79, 52, 0.12);
}

.interactive-study {
  background:
    radial-gradient(circle at 30% 24%, rgba(246, 162, 74, 0.52), transparent 20%),
    linear-gradient(145deg, #fff1eb, #fffdf9);
}

.interactive-study span {
  width: 46%;
  height: 28%;
  border-radius: 20px;
  background: #fffdf9;
  transform: translate(-48px, -12px);
}

.interactive-study b {
  width: 34%;
  height: 10px;
  border-radius: 999px;
  background: rgba(139, 79, 52, 0.5);
  transform: translate(38px, 32px);
}

.interactive-study i {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: var(--orange);
  transform: rotate(12deg) translate(86px, -58px);
}

.work-info {
  padding: 22px 24px 24px;
}

.work-info span,
.tag {
  color: #c99a90;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: none;
}

.work-info h3,
.price-card h3,
.brand-panel h3 {
  margin: 7px 0 6px;
  color: var(--heading);
  font-size: 1.2rem;
  line-height: 1.38;
}

.work-info p,
.brand-panel p,
.price-card p,
.about-copy p,
.contact-section p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.8;
}

.work-info em {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
  padding: 0 14px;
  border: 1px solid rgba(139, 79, 52, 0.18);
  border-radius: 999px;
  background: rgba(255, 248, 238, 0.86);
  color: var(--caramel);
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.work-card .work-info em,
.work-card.featured .work-info em {
  margin-top: auto;
}

.work-card:hover .work-info em {
  border-color: var(--orange);
  background: linear-gradient(135deg, #f7b160, var(--orange));
  color: #fff;
}

.work-info em span,
.section-cta span {
  transform: translateY(0);
  transition: transform 180ms ease;
}

.section-cta:hover span,
.work-card:hover .work-info em span {
  transform: translateX(4px);
}

.brand-section {
  background:
    radial-gradient(circle at 92% 18%, rgba(255, 228, 189, 0.32), transparent 22%),
    linear-gradient(180deg, var(--mist), #fffaf4);
}

#work {
  background:
    radial-gradient(circle at 9% 14%, rgba(255, 216, 207, 0.16), transparent 24%),
    linear-gradient(180deg, #fffdf9, #fffaf4);
}

.brand-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(18px, 2vw, 26px);
  align-items: stretch;
}

.brand-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 4.5vw, 52px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 249, 0.86);
  box-shadow: var(--shadow-soft);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.brand-panel:hover {
  transform: translateY(-4px);
  border-color: rgba(246, 162, 74, 0.38);
  box-shadow: var(--shadow-lift);
}

.brand-position-card {
  display: grid;
  gap: 14px;
  align-content: center;
  border-color: rgba(242, 166, 90, 0.24);
  background: rgba(255, 253, 249, 0.9);
}

.brand-position-card p {
  display: grid;
  gap: 6px;
}

.brand-position-card strong {
  color: var(--caramel);
  font-size: 1.16rem;
  line-height: 1.45;
}

.brand-position-card p + p {
  padding-top: 18px;
  border-top: 1px solid rgba(185, 126, 84, 0.14);
}

.brand-position-card span {
  color: var(--muted);
  line-height: 1.8;
}

.designer-note {
  margin: 0;
}

.designer-note h4 {
  margin: 0 0 8px;
  color: var(--caramel);
  font-size: 1.12rem;
}

.designer-note p {
  font-size: 0.96rem;
}

.designer-note p + p {
  margin-top: 14px;
}

.designer-note-line {
  margin-top: 16px !important;
  padding-top: 14px;
  border-top: 1px solid rgba(185, 126, 84, 0.14);
  color: rgba(90, 81, 75, 0.54) !important;
  font-size: 0.95rem !important;
  font-weight: 600;
  line-height: 1.85;
}

.palette {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.compact-palette {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.palette span {
  min-height: 132px;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  border: 1px solid rgba(50, 37, 30, 0.1);
  border-radius: 20px;
  background: var(--swatch);
  color: var(--heading);
  font-weight: 800;
  box-shadow: 0 12px 32px rgba(139, 79, 52, 0.055);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.compact-palette span {
  min-height: 84px;
}

.palette span:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(139, 79, 52, 0.09);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 2vw, 26px);
}

.price-card {
  display: flex;
  min-height: 178px;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  position: relative;
  padding: 22px 24px;
  color: inherit;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.price-card:hover {
  transform: translateY(-2px);
  border-color: rgba(139, 79, 52, 0.16);
  box-shadow: 0 20px 48px rgba(139, 79, 52, 0.085);
}

.price-card.wide {
  grid-column: 1 / -1;
  min-height: 150px;
  flex-direction: row;
  align-items: center;
}

.price-card strong {
  color: var(--caramel);
  font-family: var(--font-main);
  font-size: clamp(1.18rem, 1.8vw, 1.5rem);
  font-weight: 700;
  line-height: 1.2;
  transform-origin: left center;
  transition: color 180ms ease, transform 220ms ease;
}

.service-list {
  display: grid;
  gap: 14px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: baseline;
  column-gap: clamp(28px, 4vw, 56px);
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
  color: var(--heading);
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.55;
}

.service-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.service-list b {
  flex: 0 0 auto;
  min-width: 132px;
  color: var(--caramel);
  font-size: 1.06rem;
  font-weight: 600;
  text-align: right;
  transform-origin: right center;
  transition: color 180ms ease, transform 220ms ease;
}

.price-card:hover .service-list b,
.price-card:hover > strong {
  color: #7a3e10;
  transform: translateX(-2px) scale(1.025);
}

.service-list b .price-subnote {
  display: block;
  margin-top: 4px;
  color: rgba(139, 79, 52, 0.48);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.45;
  white-space: nowrap;
}

.service-list small {
  display: block;
  margin-top: 4px;
  color: rgba(113, 105, 99, 0.52);
  font-size: 0.81rem;
  font-weight: 400;
  line-height: 1.5;
}

.service-note {
  display: block !important;
  width: fit-content;
  margin-top: 6px !important;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(139, 79, 52, 0.48) !important;
  font-size: 0.81rem !important;
  font-weight: 400 !important;
}

.service-list.compact {
  grid-template-columns: 1fr;
  column-gap: 28px;
}

.service-group {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px dashed rgba(238, 227, 215, 0.9);
}

.service-group + .service-group {
  margin-top: 26px;
}

.service-group h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--heading);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
}

.service-group h3::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blush);
  opacity: 0.72;
}

.service-group h3::after {
  content: none;
}

.service-group .service-list {
  margin-top: 0;
}

.pricing-note {
  margin: 18px 0 0;
  color: var(--muted);
}

#pricing {
  background:
    radial-gradient(circle at 84% 12%, rgba(255, 228, 189, 0.22), transparent 24%),
    linear-gradient(180deg, #fffaf4, #fffdf9);
}

.pricing-grid:not(.detail-pricing) > .price-card:nth-child(1) .tag::after {
  content: " 常見委託";
}

.pricing-grid:not(.detail-pricing) > .price-card:nth-child(2) .tag::after {
  content: " 品牌入門";
}

.pricing-grid:not(.detail-pricing) > .price-card:nth-child(3) .tag::after {
  content: " 適合量產";
}

.pricing-grid:not(.detail-pricing) > .price-card:nth-child(4) .tag::after {
  content: " 印刷實體";
}

.pricing-grid:not(.detail-pricing) > .price-card:nth-child(5) .tag::after {
  content: " 角色插圖";
}

.pricing-grid:not(.detail-pricing) > .price-card:nth-child(6) .tag::after {
  content: " 影音剪輯";
}

.pricing-grid:not(.detail-pricing) > .price-card:nth-child(7) .tag::after {
  content: " 加價項目";
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--heading);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.section-cta {
  width: fit-content;
  margin-top: 18px;
}

.section-cta:hover {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
}

.playground-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.75fr);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
  background:
    radial-gradient(circle at 82% 26%, rgba(255, 228, 189, 0.42), transparent 25%),
    #fffaf2;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.video-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
  background:
    radial-gradient(circle at 18% 32%, rgba(255, 216, 207, 0.28), transparent 24%),
    var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.playground-copy {
  max-width: 760px;
}

.playground-copy h2 {
  margin: 0;
  color: var(--caramel);
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(1.85rem, 3.6vw, 3.35rem);
  line-height: 1.14;
}

.playground-copy p:not(.eyebrow) {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
}

.playground-preview,
.game-cover {
  min-height: 300px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(90deg, rgba(246, 162, 74, 0.1) 1px, transparent 1px),
    linear-gradient(rgba(246, 162, 74, 0.1) 1px, transparent 1px),
    #fff;
  background-size: 28px 28px;
  box-shadow: var(--shadow-soft);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.playground-section:hover .playground-preview,
.video-section:hover .playground-preview {
  transform: translateY(-5px);
  border-color: rgba(246, 162, 74, 0.4);
  box-shadow: var(--shadow-lift);
}

.video-preview,
.video-cover {
  background:
    linear-gradient(90deg, rgba(139, 79, 52, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(139, 79, 52, 0.08) 1px, transparent 1px),
    #fff;
  background-size: 32px 32px;
}

.playground-preview span,
.game-cover span,
.game-thumb span {
  display: block;
  position: absolute;
  border-radius: 50%;
  background: var(--orange);
  animation: gentle-bob 4.8s ease-in-out infinite;
}

.playground-preview span:nth-child(2),
.game-cover span:nth-child(2) {
  animation-delay: -1.4s;
}

.playground-preview span:nth-child(1) {
  width: 92px;
  height: 92px;
  left: 18%;
  top: 22%;
}

.playground-preview span:nth-child(2) {
  width: 54px;
  height: 54px;
  right: 24%;
  top: 28%;
  background: var(--butter);
}

.playground-preview span:nth-child(3) {
  width: 44px;
  height: 44px;
  left: 40%;
  bottom: 24%;
  background: var(--blush);
}

.playground-preview b,
.game-cover b,
.game-thumb b {
  display: block;
  position: absolute;
  width: 48%;
  height: 14px;
  border-radius: 999px;
  background: var(--heading);
  opacity: 0.62;
}

.video-preview::before,
.video-cover::before,
.video-thumb::before {
  content: "";
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(139, 79, 52, 0.1);
  transition: transform 180ms ease;
}

.video-preview::after,
.video-cover::after,
.video-thumb::after {
  content: "";
  position: absolute;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 22px solid var(--orange);
  transform: translateX(4px);
}

.video-section:hover .video-preview::before,
.video-card:hover .video-thumb::before {
  transform: scale(1.06);
}

.playground-preview b {
  bottom: 30%;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.game-showcase-list {
  display: grid;
  gap: 34px;
  padding: clamp(72px, 8.5vw, 118px) clamp(20px, 6vw, 80px);
  overflow: hidden;
}

.game-longform {
  background: var(--paper);
}

.game-entry {
  border-top: 1px solid var(--line);
}

.game-banner {
  min-height: clamp(330px, 48vw, 620px);
  display: flex;
  align-items: end;
  padding: clamp(28px, 6vw, 80px);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 24%, rgba(255, 216, 207, 0.8), transparent 22%),
    radial-gradient(circle at 24% 32%, rgba(246, 162, 74, 0.58), transparent 24%),
    linear-gradient(135deg, #33213a 0%, #7b3d65 42%, #f6a24a 100%);
  color: #fff;
  background-position: center;
  background-size: cover;
}

.game-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mix-blend-mode: screen;
  animation: grid-drift 12s linear infinite;
}

.game-banner > div {
  position: relative;
  z-index: 1;
}

.game-banner .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.game-banner h2 {
  max-width: 920px;
  margin: 0;
  color: #fff;
  font-size: clamp(3rem, 9vw, 8rem);
  line-height: 0.98;
}

.game-banner-two {
  background:
    radial-gradient(circle at 72% 26%, rgba(255, 228, 189, 0.82), transparent 21%),
    radial-gradient(circle at 20% 36%, rgba(232, 167, 154, 0.68), transparent 24%),
    linear-gradient(135deg, #26324a 0%, #755379 48%, #f6a24a 100%);
}

.game-banner-three {
  background:
    radial-gradient(circle at 74% 28%, rgba(246, 162, 74, 0.55), transparent 24%),
    radial-gradient(circle at 24% 32%, rgba(255, 216, 207, 0.72), transparent 24%),
    linear-gradient(135deg, #433729 0%, #8b4f34 46%, #ffe4bd 100%);
}

.game-detail {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(0, 0.72fr);
  align-items: center;
  gap: clamp(28px, 6vw, 76px);
  background: #fff;
}

.game-video {
  min-height: 360px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #1f1b22;
  box-shadow: 0 18px 46px rgba(90, 81, 75, 0.12);
}

.game-video iframe,
.video-thumb iframe {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-thumb video {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border: 0;
  background: #1f1d1b;
}

.local-video-thumb video {
  object-position: center 42%;
}

.game-video:has(iframe)::before,
.game-video:has(iframe) span,
.video-thumb:has(iframe)::before,
.video-thumb:has(iframe)::after,
.video-thumb:has(iframe) span {
  display: none;
}

.game-video::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
}

.game-video span {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
}

.game-video span::after {
  content: "";
  margin-left: 5px;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 23px solid var(--orange);
}

.game-team {
  margin-inline: clamp(20px, 6vw, 80px);
  padding: clamp(42px, 6vw, 72px);
  display: grid;
  grid-template-columns: minmax(180px, 300px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
  background: var(--cream);
  border-top: 1px solid var(--line);
}

.team-logo {
  display: grid;
  place-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
}

.team-logo img {
  width: min(100%, 220px);
}

.game-team h2 {
  margin: 0 0 14px;
  color: var(--caramel);
  font-size: clamp(1.85rem, 3.6vw, 3.35rem);
  line-height: 1.14;
}

.game-team p:last-child {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
}

.game-showcase {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 249, 0.9);
  box-shadow: var(--shadow-soft);
}

.game-showcase.reverse .game-screen {
  order: 2;
}

.game-screen {
  min-height: 380px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background:
    linear-gradient(90deg, rgba(246, 162, 74, 0.09) 1px, transparent 1px),
    linear-gradient(rgba(246, 162, 74, 0.09) 1px, transparent 1px),
    var(--cream);
  background-size: 30px 30px;
}

.screen-window {
  width: min(84%, 520px);
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  border: 10px solid #fff;
  border-radius: 20px;
  background: linear-gradient(145deg, #fff9f0, #fff1eb);
  box-shadow: 0 18px 46px rgba(90, 81, 75, 0.11);
}

.screen-window span,
.screen-window i,
.screen-window b {
  display: block;
  position: absolute;
}

.screen-window span {
  width: 26%;
  aspect-ratio: 1;
  left: 18%;
  bottom: 22%;
  border-radius: 50%;
  background: var(--orange);
}

.screen-window i {
  width: 18%;
  aspect-ratio: 1;
  right: 20%;
  top: 22%;
  border-radius: 50%;
  background: var(--butter);
}

.screen-window b {
  width: 58%;
  height: 14px;
  left: 20%;
  bottom: 14%;
  border-radius: 999px;
  background: var(--heading);
  opacity: 0.68;
}

.game-screen-two .screen-window {
  background: linear-gradient(145deg, #fff, #ffe4bd);
}

.game-screen-two .screen-window span {
  background: var(--blush);
}

.game-screen-three .screen-window {
  background: linear-gradient(145deg, #fff8ee, #fff);
}

.game-screen-three .screen-window i {
  background: var(--blush);
}

.game-description {
  max-width: 620px;
}

.game-description h3 {
  margin: 8px 0 14px;
  color: var(--caramel);
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  line-height: 1.18;
}

.game-description p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
}

.game-description dl {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
}

.game-description dl div {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line);
}

.game-description dt {
  color: var(--blush);
  font-weight: 800;
}

.game-description dd {
  margin: 0;
  color: var(--muted);
}

.mini-cta {
  min-height: 42px;
  margin-top: 24px;
  padding: 8px 16px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.game-card,
.video-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 249, 0.92);
  box-shadow: var(--shadow-soft);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.game-card:hover,
.video-card:hover {
  transform: translateY(-5px);
  border-color: rgba(246, 162, 74, 0.44);
  box-shadow: var(--shadow-lift);
}

.game-card > div:last-child,
.video-card > div:last-child {
  padding: 20px 22px 22px;
}

.game-card h3,
.video-card h3 {
  margin: 7px 0 6px;
  color: var(--heading);
  font-size: 1.18rem;
  line-height: 1.38;
}

.game-card p,
.video-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.8;
}

.video-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--caramel);
  font-size: 0.92rem;
  font-weight: 800;
}

.game-archive-page {
  background:
    radial-gradient(circle at 78% 8%, rgba(246, 162, 74, 0.13), transparent 24%),
    linear-gradient(180deg, #fffaf4 0%, #fbf7f0 42%, #fffdf9 100%);
}

.game-archive-hero {
  min-height: 520px;
  padding: clamp(110px, 12vw, 168px) clamp(20px, 6vw, 80px) clamp(64px, 8vw, 112px);
  display: grid;
  align-content: center;
}

.game-archive-hero h1 {
  max-width: 840px;
  margin: 0;
  font-size: clamp(3rem, 6.5vw, 5.8rem);
  line-height: 1.08;
}

.game-archive-hero p:not(.eyebrow) {
  max-width: 650px;
  margin: 18px 0 0;
  font-size: clamp(1rem, 1.5vw, 1.16rem);
}

.game-archive-page .game-showcase-list {
  gap: clamp(60px, 8vw, 112px);
}

.game-archive-page .game-entry {
  border: 0;
}

.game-archive-page .game-banner {
  min-height: clamp(420px, 54vw, 720px);
  border-radius: 0;
  isolation: isolate;
}

.game-banner-wagger {
  background:
    radial-gradient(circle at 70% 30%, rgba(0, 218, 255, 0.42), transparent 14%),
    radial-gradient(circle at 28% 22%, rgba(255, 24, 144, 0.54), transparent 22%),
    radial-gradient(circle at 70% 72%, rgba(246, 162, 74, 0.44), transparent 24%),
    linear-gradient(135deg, #130c2b 0%, #39204d 38%, #0b2750 100%);
}

.game-banner-puzzle {
  background:
    radial-gradient(circle at 66% 26%, rgba(255, 228, 189, 0.78), transparent 19%),
    radial-gradient(circle at 25% 64%, rgba(232, 167, 154, 0.58), transparent 24%),
    linear-gradient(135deg, #1e293d 0%, #5d4965 48%, #f6a24a 100%);
}

.game-banner-dream {
  background:
    radial-gradient(circle at 72% 34%, rgba(246, 162, 74, 0.54), transparent 22%),
    radial-gradient(circle at 24% 38%, rgba(255, 216, 207, 0.64), transparent 24%),
    linear-gradient(135deg, #3c2b23 0%, #8b4f34 45%, #ffe4bd 100%);
}

.game-banner-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.game-banner-art span,
.game-banner-art i {
  position: absolute;
  display: block;
  border-radius: 999px;
  filter: blur(0.2px);
  animation: game-float 6s ease-in-out infinite;
}

.game-banner-art span:first-child {
  width: clamp(160px, 20vw, 290px);
  height: clamp(160px, 20vw, 290px);
  right: 12%;
  top: 18%;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.game-banner-art span:nth-child(2) {
  width: clamp(76px, 9vw, 130px);
  height: clamp(76px, 9vw, 130px);
  right: 28%;
  bottom: 20%;
  background: rgba(246, 162, 74, 0.72);
  animation-delay: -2s;
}

.game-banner-art i {
  width: clamp(220px, 34vw, 520px);
  height: 8px;
  right: 8%;
  bottom: 28%;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 0 26px rgba(255, 255, 255, 0.28);
  animation-delay: -1s;
}

.game-archive-page .game-banner > div:last-child {
  max-width: 920px;
}

.game-archive-page .game-banner h2 {
  text-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.game-archive-page .game-banner p:not(.eyebrow) {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.8;
}

.game-archive-page .game-detail {
  padding: clamp(30px, 5vw, 70px);
  border: 1px solid rgba(185, 126, 84, 0.12);
  border-top: 0;
  border-radius: 0 0 28px 28px;
  background: rgba(255, 253, 249, 0.9);
  box-shadow: var(--shadow-soft);
}

.game-detail.reverse .game-video {
  order: 2;
}

.game-archive-page .game-video {
  min-height: clamp(320px, 32vw, 480px);
  border-color: rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 35% 35%, rgba(246, 162, 74, 0.9), transparent 13%),
    radial-gradient(circle at 72% 25%, rgba(255, 228, 189, 0.72), transparent 12%),
    linear-gradient(135deg, #20172a, #352044 52%, #6f3f52);
  background-size: 36px 36px, 36px 36px, auto, auto, auto;
}

.game-video b {
  position: absolute;
  left: 22px;
  bottom: 20px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
}

.game-archive-page .game-video span {
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.game-entry:hover .game-video span {
  transform: scale(1.08);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.28);
}

.cyber-video {
  box-shadow: 0 24px 70px rgba(57, 32, 77, 0.2);
}

.puzzle-video {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 40% 35%, rgba(232, 167, 154, 0.88), transparent 16%),
    linear-gradient(135deg, #1e293d, #755379) !important;
}

.dream-video {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 48% 34%, rgba(255, 228, 189, 0.94), transparent 14%),
    linear-gradient(135deg, #3c2b23, #8b4f34) !important;
}

@keyframes game-float {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(0, -16px, 0) rotate(2deg);
  }
}

.game-thumb {
  min-height: 230px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #fff9f0, #fff1eb);
}

.video-thumb {
  min-height: 260px;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #fff9f0, #fff1eb);
  background-position: center;
  background-size: cover;
}

.video-thumb span {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(90, 81, 75, 0.1);
  border-radius: 16px;
}

.video-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.youtube-thumb::before {
  z-index: 1;
}

.youtube-thumb::after {
  z-index: 2;
}

.youtube-thumb span {
  z-index: 1;
  background: linear-gradient(180deg, rgba(45, 38, 34, 0.06), rgba(45, 38, 34, 0.18));
}

.video-thumb.alt {
  background: linear-gradient(145deg, #fff7ed, #fff);
}

.video-thumb.soft {
  background: linear-gradient(145deg, #fff, #ffe4bd);
}

.game-thumb span {
  width: 82px;
  height: 82px;
  left: 24%;
  top: 28%;
}

.game-thumb b {
  left: 24%;
  bottom: 30%;
}

.game-thumb-two span {
  background: var(--blush);
}

.game-thumb-three span {
  background: var(--butter);
}

.game-cover span:nth-child(1) {
  width: 120px;
  height: 120px;
  left: 24%;
  top: 26%;
}

.game-cover span:nth-child(2) {
  width: 62px;
  height: 62px;
  right: 22%;
  top: 24%;
  background: var(--blush);
}

.game-cover b {
  bottom: 28%;
}

.about-section {
  background: var(--mist);
}

.about-copy {
  max-width: 840px;
  display: grid;
  gap: 18px;
  font-size: 1.12rem;
}

.about-section .section-heading,
.contact-section > div {
  max-width: 840px;
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(42px, 5vw, 58px) clamp(20px, 6vw, 80px);
  background:
    radial-gradient(circle at 84% 20%, rgba(246, 162, 74, 0.16), transparent 26%),
    linear-gradient(135deg, var(--cream), #fffaf4 58%, var(--mist));
  border-top: 1px solid var(--line);
  color: var(--ink);
}

.contact-section > div {
  display: grid;
  gap: 0;
}

.contact-section .eyebrow {
  margin: 0 0 9px;
  color: rgba(113, 105, 99, 0.46);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
}

.contact-section h2 {
  color: var(--caramel);
  font-size: clamp(1.9rem, 3.7vw, 3.35rem);
}

.contact-section p:not(.eyebrow) {
  max-width: 560px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.98rem;
}

.contact-line-id {
  margin-top: 12px !important;
  color: rgba(113, 105, 99, 0.56) !important;
  font-size: 0.9rem !important;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.contact-section .eyebrow + h2 {
  margin-top: 0;
}

.contact-actions {
  display: grid;
  justify-items: end;
  gap: 18px;
  flex: 0 0 auto;
}

.contact-section .button {
  flex: 0 0 auto;
  border-color: rgba(90, 81, 75, 0.18);
  background: rgba(255, 253, 249, 0.8);
  color: var(--heading);
  box-shadow: 0 10px 28px rgba(90, 81, 75, 0.06);
}

.contact-section .line-button {
  gap: 10px;
  border-color: rgba(246, 162, 74, 0.48);
  background: linear-gradient(135deg, #f8b768, var(--orange));
  color: #fff;
  box-shadow: 0 14px 32px rgba(246, 162, 74, 0.24);
}

.contact-social svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.line-official-icon {
  display: block;
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  object-fit: contain;
}

.line-button b {
  font-size: 1rem;
  line-height: 1;
}

.line-button {
  min-height: 56px;
  min-width: 300px;
  padding: 0 34px;
  font-size: 1.06rem;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, #f7b160, var(--orange)) !important;
  border-color: rgba(246, 162, 74, 0.5) !important;
  color: #fff !important;
  box-shadow: 0 16px 36px rgba(246, 162, 74, 0.26) !important;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 16px;
  color: var(--muted);
  font-size: 0.94rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: rgba(90, 81, 75, 0.22);
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.contact-social {
  color: rgba(113, 105, 99, 0.58);
  font-size: 0.9rem;
}

.social-links a:hover {
  color: var(--caramel);
  text-decoration-color: rgba(139, 79, 52, 0.45);
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  padding: clamp(28px, 3.5vw, 38px) clamp(20px, 6vw, 80px);
  border-top: 1px solid var(--line);
  background: #fff3e6;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-main {
  display: grid;
  gap: 7px;
}

.footer-brand-text {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}

.footer-brand-text strong {
  display: block;
  color: #f2a65a;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.25;
}

.footer-brand-text span {
  color: rgba(242, 166, 90, 0.58);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer p,
.footer-side p {
  margin: 0;
}

.footer-main p {
  color: rgba(113, 105, 99, 0.66);
  line-height: 1.55;
}

.footer-side {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 16px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  position: relative;
  color: rgba(113, 105, 99, 0.66);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(113, 105, 99, 0.16);
  text-underline-offset: 5px;
}

.footer-links svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  opacity: 0.72;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.footer-links svg.threads-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: currentColor;
  stroke: none;
  opacity: 0.72;
}

.copyright {
  color: rgba(113, 105, 99, 0.5);
  font-size: 0.75rem;
}

.site-footer a:hover {
  color: var(--heading);
}

.price-hero {
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(460px, 1.18fr);
  align-items: center;
  gap: clamp(26px, 5vw, 62px);
  background: var(--cream);
  overflow: hidden;
}

.price-hero > div:first-child {
  position: relative;
  z-index: 1;
}

.price-hero h1 {
  margin: 0;
  color: var(--caramel);
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(2.8rem, 6.8vw, 4.85rem);
  line-height: 1.08;
}

.price-hero p {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.14rem);
  line-height: 1.85;
}

.price-hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  background:
    linear-gradient(90deg, rgba(255, 250, 244, 0.98) 0%, rgba(255, 250, 244, 0.9) 22%, rgba(255, 250, 244, 0.42) 43%, rgba(255, 250, 244, 0.08) 62%, rgba(255, 250, 244, 0) 78%),
    url("assets/pricing-hero-photo-mockup-small.jpg") 62% center / cover no-repeat;
  pointer-events: none;
}

.detail-pricing .price-card h2 {
  margin: 5px 0 6px;
  color: var(--heading);
  font-family: var(--font-serif);
  font-size: 1.38rem;
  font-weight: 800;
  line-height: 1.38;
}

.detail-pricing .price-card p {
  max-width: 44rem;
}

.detail-pricing {
  grid-template-areas:
    "social logo"
    "social template"
    "print print"
    "illustration editing"
    "extras extras";
  align-items: start;
}

.detail-pricing .price-card {
  min-height: 0;
}

.pricing-social {
  grid-area: social;
  align-self: stretch;
}

.pricing-logo {
  grid-area: logo;
}

.pricing-template {
  grid-area: template;
}

.pricing-print {
  grid-area: print;
}

.pricing-illustration {
  grid-area: illustration;
}

.pricing-editing {
  grid-area: editing;
  align-self: stretch;
}

.pricing-extras {
  grid-area: extras;
}

.pricing-print .service-list {
  grid-template-columns: 1fr;
  column-gap: clamp(56px, 7vw, 96px);
}

.pricing-extras .service-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-extras .service-list li {
  grid-template-columns: 1fr;
  gap: 4px;
}

.pricing-extras .service-list b {
  min-width: 0;
  text-align: left;
}

.price-card.pricing-extras:hover .service-list b {
  transform: none;
}

.process-section {
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 216, 207, 0.22), transparent 24%),
    var(--cream);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.process-grid article {
  min-height: 150px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 249, 0.9);
  box-shadow: var(--shadow-soft);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.process-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(246, 162, 74, 0.4);
  box-shadow: var(--shadow-lift);
}

.process-grid span {
  color: var(--blush);
  font-weight: 900;
}

.process-grid h3 {
  margin: 8px 0 6px;
  font-size: 1.25rem;
}

.process-grid p,
.notice-copy p {
  margin: 0;
  color: var(--muted);
}

.notice-section {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.guide-section {
  background: linear-gradient(180deg, var(--cream), #fffaf4);
}

.notice-copy {
  max-width: 760px;
}

.notice-copy h2 {
  margin: 0 0 14px;
  color: var(--caramel);
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(1.75rem, 3.3vw, 2.85rem);
  line-height: 1.14;
}

.notice-copy p + p {
  margin-top: 8px;
}

.guide-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 2vw, 24px);
  margin-top: 26px;
}

.guide-grid article {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 249, 0.9);
  box-shadow: var(--shadow-soft);
}

.guide-grid article:last-child {
  grid-column: 1 / -1;
}

.guide-grid h3 {
  margin: 0 0 6px;
  color: var(--caramel);
  font-size: 1.12rem;
  line-height: 1.4;
}

.guide-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.8;
}

.guide-section {
  padding-bottom: 0;
}

.guide-contact {
  margin-top: clamp(22px, 3vw, 34px);
  margin-bottom: 0;
  margin-right: calc(clamp(20px, 6vw, 80px) * -1);
  margin-left: calc(clamp(20px, 6vw, 80px) * -1);
  padding-right: clamp(20px, 6vw, 80px);
  padding-left: clamp(20px, 6vw, 80px);
}

.project-hero {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr);
  align-items: center;
  gap: clamp(30px, 6vw, 76px);
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
  padding-right: clamp(20px, 6vw, 80px);
  padding-left: clamp(20px, 6vw, 80px);
  padding-top: clamp(72px, 9vw, 124px);
  padding-bottom: clamp(72px, 9vw, 124px);
  background:
    radial-gradient(circle at 78% 22%, rgba(246, 162, 74, 0.14), transparent 25%),
    linear-gradient(105deg, var(--cream) 0%, #fffdf9 58%, var(--mist) 100%);
}

.project-hero .eyebrow {
  margin-bottom: 14px;
  color: rgba(113, 105, 99, 0.54);
}

.project-hero h1 {
  max-width: 840px;
  margin: 0;
  color: var(--caramel);
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(2.65rem, 6.8vw, 5rem);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.project-hero p:not(.eyebrow) {
  max-width: 650px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.85;
}

.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: clamp(34px, 5vw, 54px);
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid rgba(139, 79, 52, 0.22);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.78);
  color: var(--caramel);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(139, 79, 52, 0.06);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.back-link::before {
  content: "←";
  font-size: 1rem;
  line-height: 1;
}

.back-link:hover {
  transform: translateY(-2px);
  border-color: rgba(246, 162, 74, 0.62);
  background: #fff;
}

.project-cover {
  min-height: 360px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 249, 0.86);
  box-shadow: var(--shadow-soft);
}

.project-cover img {
  width: min(82%, 360px);
}

.project-cover img.logo-horizontal {
  width: min(88%, 720px);
}

.hero-visual-card {
  min-height: 300px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 76% 24%, rgba(255, 225, 185, 0.52), transparent 24%),
    linear-gradient(145deg, rgba(255, 253, 249, 0.9), rgba(255, 241, 235, 0.62));
  box-shadow: var(--shadow-soft);
}

.hero-visual-card span,
.hero-visual-card b,
.hero-visual-card i {
  position: absolute;
  display: block;
}

.hero-print-visual span {
  left: 24%;
  top: 22%;
  width: 42%;
  height: 50%;
  border-radius: 18px;
  background: #fffdf9;
  box-shadow: 0 18px 44px rgba(139, 79, 52, 0.08);
  transform: rotate(-5deg);
}

.hero-print-visual b {
  right: 18%;
  bottom: 22%;
  width: 34%;
  height: 30%;
  border-radius: 16px;
  background: rgba(255, 225, 185, 0.78);
  border: 1px solid rgba(242, 166, 90, 0.16);
  transform: rotate(7deg);
}

.hero-print-visual i {
  left: 18%;
  bottom: 24%;
  width: 38%;
  height: 10px;
  border-radius: 999px;
  background: rgba(140, 50, 15, 0.28);
}

.hero-store-visual span {
  left: 31%;
  top: 26%;
  width: 38%;
  height: 48%;
  border-radius: 18px 18px 22px 22px;
  background: #fffdf9;
  box-shadow: 0 18px 44px rgba(139, 79, 52, 0.08);
}

.hero-store-visual b {
  left: 28%;
  top: 20%;
  width: 44%;
  height: 18%;
  border-radius: 28px 28px 10px 10px;
  background: var(--orange);
  opacity: 0.86;
}

.hero-store-visual i {
  left: 43%;
  bottom: 24%;
  width: 14%;
  height: 28%;
  border-radius: 10px 10px 0 0;
  background: rgba(255, 225, 185, 0.86);
  border: 1px solid rgba(242, 166, 90, 0.16);
}

.hero-video-visual span {
  inset: 15% 12%;
  border-radius: 20px;
  background:
    linear-gradient(rgba(139, 79, 52, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 79, 52, 0.05) 1px, transparent 1px),
    rgba(255, 253, 249, 0.76);
  background-size: 26px 26px;
}

.hero-video-visual b {
  left: 50%;
  top: 50%;
  width: 74px;
  height: 74px;
  border-radius: 999px;
  background: #fffdf9;
  box-shadow: 0 16px 38px rgba(139, 79, 52, 0.1);
  transform: translate(-50%, -50%);
}

.hero-video-visual i {
  left: calc(50% - 8px);
  top: calc(50% - 14px);
  width: 0;
  height: 0;
  border-left: 22px solid var(--orange);
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
}

.hero-person-visual span {
  left: 50%;
  top: 22%;
  z-index: 2;
  width: 122px;
  height: 122px;
  border-radius: 50%;
  background: #ffe1b9;
  transform: translateX(-50%);
  box-shadow: 0 18px 42px rgba(139, 79, 52, 0.08);
}

.hero-person-visual b {
  left: 50%;
  bottom: 18%;
  z-index: 1;
  width: min(32%, 180px);
  height: 38%;
  border-radius: 52px 52px 26px 26px;
  background: var(--orange);
  opacity: 0.9;
  transform: translateX(-50%);
}

.hero-person-visual i {
  right: 28%;
  top: 27%;
  z-index: 3;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 225, 185, 0.86);
  border: 1px solid rgba(242, 166, 90, 0.14);
}

.hero-interactive-visual span {
  left: 18%;
  top: 30%;
  width: 46%;
  height: 24%;
  border-radius: 18px;
  background: #fffdf9;
  box-shadow: 0 18px 44px rgba(139, 79, 52, 0.08);
}

.hero-interactive-visual b {
  right: 24%;
  top: 24%;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--orange);
  opacity: 0.88;
  transform: rotate(10deg);
}

.hero-interactive-visual i {
  left: 38%;
  bottom: 30%;
  width: 38%;
  height: 10px;
  border-radius: 999px;
  background: rgba(140, 50, 15, 0.28);
}

.brand-hero-abstract {
  position: relative;
  background:
    radial-gradient(circle at 72% 28%, rgba(255, 225, 185, 0.72), transparent 24%),
    linear-gradient(145deg, rgba(255, 253, 249, 0.9), rgba(255, 241, 235, 0.72));
}

.brand-hero-abstract span,
.brand-hero-abstract b,
.brand-hero-abstract i {
  display: block;
  position: absolute;
  border-radius: 999px;
}

.brand-hero-abstract span {
  width: 46%;
  height: 30%;
  left: 18%;
  top: 32%;
  background: #fffdf9;
  box-shadow: 0 18px 38px rgba(139, 79, 52, 0.08);
  transform: rotate(-6deg);
}

.brand-hero-abstract b {
  width: 34%;
  height: 12%;
  right: 17%;
  top: 25%;
  background: var(--orange);
  opacity: 0.88;
}

.brand-hero-abstract i {
  width: 40%;
  height: 13%;
  right: 16%;
  bottom: 28%;
  background: #ffe1b9;
  border: 1px solid rgba(242, 166, 90, 0.18);
  transform: rotate(8deg);
}

.hero-social-mockup .post-top i {
  width: 34px;
  height: 34px;
  display: block;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffe1b9, var(--orange));
}

.hero-social-mockup .post-top {
  top: 24px;
  left: 34px;
  right: 34px;
  gap: 22px;
}

.hero-social-mockup .post-top span {
  width: min(42%, 280px);
}

.hero-social-mockup .post-grid {
  top: 96px;
  bottom: 34px;
}

.brand-case-section,
.brand-system-section,
.brand-tone-section,
.brand-application-section {
  padding: clamp(72px, 8.5vw, 118px) clamp(20px, 6vw, 80px);
  border-top: 1px solid var(--line);
}

.brand-case-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.1fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: end;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 216, 207, 0.22), transparent 24%),
    linear-gradient(180deg, #fffaf4, #fffdf9);
}

.brand-case-intro h2,
.brand-system-copy h2,
.brand-tone-section h2,
.brand-application-section h2 {
  margin: 0;
  color: var(--caramel);
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.4vw, 4rem);
  line-height: 1.12;
}

.brand-case-intro p:last-child,
.brand-system-copy p:last-child,
.brand-application-section p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.9;
}

.brand-case-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.brand-case-cards article {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  display: grid;
  align-content: end;
  gap: 10px;
  background: rgba(255, 253, 249, 0.88);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.brand-case-cards article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.brand-case-cards span {
  color: rgba(246, 162, 74, 0.72);
  font-family: var(--font-latin);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.brand-case-cards h3 {
  margin: 0;
  color: var(--heading);
  font-size: 1.12rem;
}

.brand-case-cards p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

.brand-system-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  background: #faf8f3;
}

.brand-logo-system {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 16px;
}

.brand-logo-system figure {
  min-height: 220px;
  margin: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  position: relative;
  background: rgba(255, 253, 249, 0.9);
  box-shadow: var(--shadow-soft);
}

.brand-logo-system figure:first-child {
  grid-row: span 2;
}

.brand-logo-system img {
  width: min(82%, 520px);
  max-height: 260px;
  object-fit: contain;
}

.brand-logo-system figure:not(:first-child) img {
  max-height: 150px;
}

.brand-logo-system figcaption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.brand-tone-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.48fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  background: #fffdf9;
}

.brand-tone-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.brand-tone-grid article {
  position: relative;
  min-height: 210px;
  padding: 20px;
  border: 1px solid rgba(185, 126, 84, 0.14);
  border-radius: var(--radius-md);
  display: grid;
  align-content: end;
  gap: 6px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.08), rgba(255, 253, 249, 0.78)),
    radial-gradient(circle at 78% 18%, rgba(255, 253, 249, 0.34), transparent 28%),
    var(--tone);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.brand-tone-grid article::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  height: 1px;
  background: linear-gradient(90deg, rgba(88, 80, 73, 0.16), transparent);
  transform: translateY(-58px);
}

.brand-tone-grid article:hover {
  transform: translateY(-6px) rotate(-0.6deg);
  border-color: rgba(185, 126, 84, 0.24);
  box-shadow: 0 18px 42px rgba(91, 68, 52, 0.075);
}

.brand-tone-grid b {
  color: var(--heading);
  font-size: 1rem;
}

.brand-tone-grid span {
  color: rgba(88, 80, 73, 0.58);
  font-size: 0.86rem;
}

.brand-tone-grid small {
  color: rgba(88, 80, 73, 0.52);
  font-family: var(--font-latin);
  font-size: 0.78rem;
  line-height: 1.5;
}

.brand-application-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  background:
    linear-gradient(115deg, rgba(255, 225, 185, 0.55) 0 36%, rgba(255, 250, 244, 0) 36%),
    radial-gradient(circle at 18% 18%, rgba(246, 162, 74, 0.24), transparent 26%),
    radial-gradient(circle at 62% 74%, rgba(140, 50, 15, 0.1), transparent 28%),
    #fffaf4;
  overflow: hidden;
}

.brand-application-section::before {
  content: "PLUFFY STUDIO";
  position: absolute;
  left: clamp(20px, 5vw, 70px);
  bottom: clamp(18px, 3vw, 42px);
  color: rgba(140, 50, 15, 0.07);
  font-size: clamp(3.2rem, 9vw, 10rem);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: 0.08em;
}

.brand-application-visual {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
  gap: clamp(18px, 3vw, 34px);
  min-height: clamp(420px, 34vw, 620px);
  isolation: isolate;
}

.brand-application-visual::before {
  content: "";
  position: absolute;
  inset: 7% auto auto 9%;
  width: 52%;
  aspect-ratio: 1.45 / 1;
  border: 1px solid rgba(185, 126, 84, 0.18);
  border-radius: 24px;
  background:
    repeating-linear-gradient(135deg, rgba(242, 166, 90, 0.18) 0 8px, transparent 8px 18px),
    rgba(255, 253, 249, 0.72);
  transform: rotate(-7deg);
  pointer-events: none;
  z-index: 0;
}

.brand-application-visual::after {
  content: "SOCIAL / LABEL / PACKAGING";
  position: absolute;
  right: 4%;
  top: 16%;
  z-index: 4;
  padding: 9px 13px;
  border-radius: 999px;
  color: #fffdf9;
  background: rgba(140, 50, 15, 0.78);
  box-shadow: 0 14px 30px rgba(91, 68, 52, 0.12);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.brand-application-visual img {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 16px 38px rgba(91, 68, 52, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  z-index: 2;
}

.brand-application-visual img:hover {
  border-color: rgba(185, 126, 84, 0.26);
  box-shadow: 0 20px 46px rgba(91, 68, 52, 0.085);
  transform: translateY(-4px) rotate(0.4deg);
}

.brand-application-visual img:nth-child(2) {
  transform: translateY(36px);
}

.brand-application-visual img:nth-child(2):hover {
  transform: translateY(28px) rotate(-0.5deg);
}

.brand-application-section ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.brand-application-section li {
  padding: 12px 16px;
  border: 1px solid rgba(185, 126, 84, 0.14);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 253, 249, 0.72);
}

.compact-heading {
  margin-bottom: 22px;
}

.project-gallery {
  padding: clamp(72px, 8.5vw, 118px) clamp(20px, 6vw, 80px);
  background: #faf8f3;
  overflow: hidden;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 22px);
}

.gallery-item {
  min-height: 280px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 249, 0.9);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.gallery-item > :not(figcaption) {
  transition: transform 220ms ease, opacity 220ms ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255, 253, 249, 0);
  pointer-events: none;
  transition: background 220ms ease;
}

.gallery-item:hover {
  transform: translateY(-3px);
  border-color: rgba(246, 162, 74, 0.42);
  box-shadow: var(--shadow-lift);
}

.gallery-item:hover > :not(figcaption) {
  transform: scale(1.02);
}

.gallery-item:hover::after {
  background: rgba(255, 253, 249, 0.16);
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 576px;
}

.illustration-gallery .gallery-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.illustration-gallery .work-set-grid {
  min-height: 260px;
}

.illustration-wall,
.render-wall {
  align-items: stretch;
}

.illustration-piece,
.render-piece {
  min-height: 0;
  background: rgba(255, 253, 249, 0.92);
}

.image-preview-button {
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 0;
  padding: 18px;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  appearance: none;
  display: grid;
  place-items: center;
}

.image-preview-button img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  border-radius: 16px;
}

.render-gallery .gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.store-gallery .gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.store-gallery .gallery-item {
  min-height: auto;
}

.store-gallery .work-set-grid {
  aspect-ratio: 4 / 3;
  min-height: 0;
}

.store-gallery .single-preview-grid img,
.store-gallery .banner-set-grid img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
}

.store-gallery .package-set-grid > .signage-mockup,
.store-gallery .package-set-grid > .banner-mockup,
.store-gallery .package-set-grid > .lightbox-mockup {
  width: 100%;
  min-height: 100%;
  border: 0;
  border-radius: 14px;
  box-shadow: none;
}

.gallery-item img {
  width: min(82%, 420px);
  max-height: 430px;
  object-fit: contain;
}

.gallery-item img.logo-horizontal {
  width: min(86%, 620px);
}

.gallery-item figcaption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 1;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  transition: color 180ms ease, transform 180ms ease;
}

.gallery-item:hover figcaption {
  color: var(--caramel);
  transform: translateY(-2px);
}

.work-set-card {
  padding: 18px;
  align-items: stretch;
}

.work-set-card figcaption {
  display: none;
}

.work-set-card:hover > :not(figcaption) {
  transform: none;
}

.work-set-preview {
  width: 100%;
  min-height: 100%;
  padding: 0;
  border: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 10px;
  color: var(--text);
  background: transparent;
  cursor: zoom-in;
  appearance: none;
}

.work-set-grid {
  min-height: 210px;
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #fff7ed;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.work-set-card:hover .work-set-grid {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(139, 79, 52, 0.08);
}

.gallery-item.large .work-set-grid {
  min-height: 470px;
}

.print-gallery .work-set-grid {
  aspect-ratio: 1 / 1;
  min-height: 0;
}

.print-gallery .gallery-item.large .work-set-grid {
  min-height: 0;
}

.social-template-gallery .gallery-grid {
  align-items: start;
}

.social-template-gallery .work-set-card {
  min-height: auto;
}

.social-template-gallery .work-set-preview {
  min-height: 0;
}

.social-template-gallery .work-set-grid {
  aspect-ratio: 1 / 1;
  min-height: 0;
}

.social-template-gallery .single-preview-grid {
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-template-gallery .single-preview-grid img {
  width: 100%;
  height: 100%;
  max-height: none;
  min-height: 0;
  object-fit: contain;
}

.work-set-grid img {
  display: none;
  width: 100%;
  height: 100%;
  min-height: 96px;
  object-fit: contain;
  border: 1px solid rgba(185, 126, 84, 0.12);
  background: rgba(255, 253, 249, 0.72);
}

.work-set-grid img:first-child {
  display: block;
  min-height: inherit;
}

.work-set-grid span {
  position: absolute;
  top: auto;
  right: 18px;
  bottom: 18px;
  width: auto;
  height: auto;
  padding: 7px 11px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fffdf9;
  background: rgba(139, 79, 52, 0.58);
  box-shadow: 0 10px 24px rgba(64, 43, 34, 0.14);
  font-weight: 800;
  font-size: 0.86rem;
  line-height: 1;
  z-index: 3;
}

.placeholder-grid {
  background:
    radial-gradient(circle at 68% 28%, rgba(255, 225, 185, 0.55), transparent 24%),
    linear-gradient(145deg, #fffdf9, #fff4ec);
}

.placeholder-grid span {
  padding: 0;
  color: transparent;
  background: linear-gradient(145deg, rgba(255, 253, 249, 0.96), rgba(255, 225, 185, 0.78));
  border: 1px solid rgba(185, 126, 84, 0.16);
  box-shadow: 0 20px 38px rgba(139, 79, 52, 0.1);
}

.placeholder-grid span:nth-child(1) {
  left: 20%;
  top: 26%;
  right: auto;
  width: 42%;
  height: 36%;
  border-radius: 22px;
  transform: rotateX(58deg) rotateZ(-36deg);
}

.placeholder-grid span:nth-child(2) {
  left: 50%;
  top: 24%;
  right: auto;
  width: 22%;
  height: 26%;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--orange), #fbd09b);
  transform: rotate(10deg);
}

.placeholder-grid span:nth-child(3) {
  left: 24%;
  top: 68%;
  right: auto;
  width: 48%;
  height: 10px;
  border-radius: 999px;
  background: rgba(139, 79, 52, 0.28);
  filter: blur(1px);
}

.package-set-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  gap: 10px;
  padding: 10px;
  background:
    linear-gradient(135deg, rgba(255, 253, 249, 0.86), rgba(255, 246, 234, 0.9)),
    #fff7ed;
}

.gallery-item.large .package-set-grid {
  min-height: 470px;
}

.package-set-grid img:first-child {
  grid-row: auto;
}

.package-set-grid img {
  display: block;
  border-radius: 14px;
  object-fit: contain;
  background: #fffdf9;
  box-shadow: 0 14px 30px rgba(139, 79, 52, 0.08);
}

.single-preview-grid {
  grid-template-columns: 1fr;
  place-items: center;
}

.single-preview-grid img {
  width: min(100%, 620px);
  height: auto;
  max-height: 100%;
}

.sticker-set-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.sticker-set-grid img {
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 8px;
  object-fit: contain;
  background: #f4f0ea;
}

.presentation-set-grid {
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
}

.presentation-set-grid img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  background: #f4f0ea;
}

.presentation-set-grid img:first-child {
  grid-row: 1 / -1;
}

.presentation-deck-preview {
  position: relative;
  min-height: 470px;
  padding: 12px;
  border-radius: 18px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 12px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 253, 249, 0.92), rgba(246, 240, 232, 0.94)),
    #f4f0ea;
  border: 1px solid rgba(185, 126, 84, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 253, 249, 0.72);
}

.deck-toolbar {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border-radius: 12px;
  color: rgba(111, 91, 78, 0.72);
  background: rgba(255, 253, 249, 0.78);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.deck-toolbar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(185, 126, 84, 0.32);
}

.deck-body {
  min-height: 0;
  display: grid;
  grid-template-columns: 122px minmax(0, 1fr);
  gap: 14px;
}

.deck-thumbs {
  min-height: 0;
  display: grid;
  grid-auto-rows: minmax(0, 1fr);
  gap: 10px;
}

.deck-thumbs img,
.deck-slide img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  object-fit: cover;
  border: 1px solid rgba(116, 93, 78, 0.12);
  background: #f4f0ea;
}

.deck-thumbs img {
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(72, 56, 44, 0.06);
}

.deck-thumbs img:first-child {
  border-color: rgba(246, 162, 74, 0.72);
  box-shadow: 0 0 0 2px rgba(246, 162, 74, 0.14);
}

.deck-slide {
  min-width: 0;
  min-height: 0;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 253, 249, 0.64);
  overflow: hidden;
}

.deck-slide img {
  border-radius: 12px;
  box-shadow: 0 18px 38px rgba(72, 56, 44, 0.12);
}

.deck-more {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 3;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fffdf9;
  background: rgba(139, 79, 52, 0.64);
  box-shadow: 0 10px 24px rgba(64, 43, 34, 0.14);
  font-weight: 800;
  font-size: 0.9rem;
  line-height: 1;
}

.social-template-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 720px) {
  .presentation-deck-preview {
    min-height: 360px;
  }

  .deck-body {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
  }

  .deck-thumbs {
    order: 2;
    grid-template-columns: repeat(auto-fit, minmax(64px, 1fr));
    grid-template-rows: 72px;
  }
}

.package-preview-mock {
  position: relative;
  min-height: 120px;
  border: 1px solid rgba(185, 126, 84, 0.12);
  border-radius: 14px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 34% 22%, rgba(246, 162, 74, 0.22), transparent 34%),
    linear-gradient(145deg, #fffaf4, #f7efe5);
  box-shadow: inset 0 0 0 1px rgba(255, 253, 249, 0.72);
}

.package-preview-mock::before {
  content: "";
  width: 56%;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  background: #fffdf9;
  border: 1px solid rgba(185, 126, 84, 0.16);
  box-shadow: 0 18px 36px rgba(139, 79, 52, 0.16);
  transform: rotate(-3deg);
}

.package-preview-mock::after {
  content: "";
  position: absolute;
  width: 38%;
  height: 16px;
  border-radius: 999px;
  background: rgba(246, 162, 74, 0.48);
  transform: translateY(42px) rotate(-3deg);
}

.package-preview-mock.label::before,
.package-preview-mock.card::before {
  aspect-ratio: 1.72 / 1;
  width: 70%;
  transform: rotate(2deg);
}

.package-preview-mock.label::after,
.package-preview-mock.card::after {
  width: 44%;
  transform: translateY(26px) rotate(2deg);
}

.package-preview-mock.print::before {
  aspect-ratio: 1 / 1.35;
  width: 52%;
}

.package-set-grid span {
  width: auto;
  height: auto;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(139, 79, 52, 0.58);
  font-size: 0.9rem;
}

.banner-set-grid {
  display: grid;
  place-items: center;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(255, 253, 249, 0.9), rgba(255, 246, 234, 0.92)),
    #fff7ed;
}

.banner-set-grid img {
  display: block;
  width: 100%;
  max-height: 150px;
  object-fit: contain;
  border-radius: 10px;
  background: #fffdf9;
  box-shadow: 0 14px 30px rgba(139, 79, 52, 0.08);
}

.banner-set-grid span {
  top: auto;
  right: 18px;
  bottom: 18px;
}

.work-set-preview em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.92rem;
  font-weight: 800;
  text-align: left;
}

.swatch-board {
  grid-template-columns: repeat(2, minmax(0, 92px));
  gap: 10px;
  background: var(--cream);
}

.swatch-board span {
  width: 92px;
  height: 92px;
  border: 1px solid rgba(139, 79, 52, 0.12);
  border-radius: 18px;
  background: var(--swatch);
}

.social-mock,
.story-mock,
.grid-mock,
.print-mock,
.card-mock,
.sticker-mock,
.package-mock,
.character-mock,
.avatar-mock {
  background: linear-gradient(145deg, #fff9f0, #fff1eb);
}

.social-mock {
  grid-template-rows: 90px 26px 56px;
  gap: 14px;
}

.social-mock i,
.story-mock i,
.card-mock i {
  width: min(72%, 220px);
  height: 90px;
  border-radius: 18px;
  background: rgba(246, 162, 74, 0.42);
}

.social-mock b,
.story-mock b,
.card-mock b {
  width: min(58%, 180px);
  height: 18px;
  border-radius: 999px;
  background: var(--heading);
  opacity: 0.72;
}

.social-mock span {
  width: min(50%, 150px);
  height: 44px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
}

.story-mock {
  min-height: 360px;
  align-content: center;
  gap: 18px;
}

.grid-mock {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.grid-mock span {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
}

.social-post-preview {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 78% 22%, rgba(246, 162, 74, 0.26), transparent 28%),
    linear-gradient(145deg, #fff9f0, #fff1eb);
}

.mini-post-card {
  width: min(78%, 420px);
  padding: 18px;
  border: 1px solid rgba(238, 227, 215, 0.9);
  border-radius: 22px;
  background: rgba(255, 253, 249, 0.92);
  box-shadow: 0 22px 48px rgba(139, 79, 52, 0.08);
}

.mini-post-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.mini-post-head img {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  object-fit: cover;
}

.mini-post-head span {
  width: 120px;
  height: 12px;
  border-radius: 999px;
  background: rgba(90, 81, 75, 0.26);
}

.mini-post-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  grid-template-rows: repeat(3, 80px);
  gap: 8px;
}

.mini-post-grid i {
  border-radius: 14px;
  background: var(--butter);
}

.mini-post-grid i:first-child {
  grid-row: span 3;
  background: #ffd9a6;
}

.mini-post-grid i:nth-child(2) {
  background: #ffe5d9;
}

.mini-post-grid i:nth-child(3) {
  background: #fff3cf;
}

.mini-post-grid i:nth-child(4) {
  background: #f6a24a;
  opacity: 0.78;
}

.social-post-gallery {
  display: block;
}

.social-post-gallery > .eyebrow {
  margin: 0 0 18px;
}

.social-post-gallery > h2 {
  margin: 0;
}

.social-post-gallery > .social-gallery-section:first-of-type {
  margin-top: clamp(26px, 3.2vw, 42px);
}

.social-gallery-section {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(42px, 5vw, 72px);
}

.social-gallery-section + .social-gallery-section {
  margin-top: clamp(58px, 6vw, 88px);
}

.social-gallery-heading {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.social-gallery-heading span {
  color: rgba(139, 79, 52, 0.42);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.social-gallery-heading h3 {
  margin: 0;
  color: var(--heading);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  letter-spacing: 0;
}

.social-category-grid {
  align-items: stretch;
}

.social-category-grid .gallery-item {
  min-height: 300px;
}

.social-category-grid .gallery-item.large {
  min-height: 440px;
}

.social-category-grid .work-set-grid {
  min-height: 230px;
}

.social-category-grid .gallery-item.large .work-set-grid {
  min-height: 340px;
}

.social-category-grid .package-set-grid:not(.single-preview-grid):not(.banner-preview-grid) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: stretch;
  min-height: 0;
  aspect-ratio: 1 / 1;
}

.social-category-grid:not(.single-post-groups) .package-set-grid:not(.single-preview-grid):not(.banner-preview-grid) {
  aspect-ratio: 1 / 1;
  grid-template-rows: minmax(0, 1.45fr) minmax(0, 1fr);
  height: auto;
  min-height: 0;
}

.social-category-grid:not(.single-post-groups) .social-preview-count-3 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  aspect-ratio: 1 / 1;
}

.social-category-grid:not(.single-post-groups) .social-preview-count-3 img:first-child {
  grid-column: 1 / 3;
}

.social-category-grid:not(.single-post-groups) .social-preview-count-3.package-set-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  aspect-ratio: 1 / 1;
  gap: 2px;
  padding: 8px;
  background: #fffdf9;
}

.social-category-grid:not(.single-post-groups) .social-preview-count-3.package-set-grid img:first-child {
  grid-column: 1 / 3;
  grid-row: 1 / 2;
}

.social-category-grid:not(.single-post-groups) .social-preview-count-3.package-set-grid img:nth-child(2) {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
}

.social-category-grid:not(.single-post-groups) .social-preview-count-3.package-set-grid img:nth-child(3) {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}

.social-category-grid:not(.single-post-groups) .social-preview-count-4.package-set-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1.45fr) minmax(0, 1fr);
  aspect-ratio: 1 / 1;
  gap: 2px;
  padding: 8px;
  background: #fffdf9;
}

.social-category-grid:not(.single-post-groups) .social-preview-count-4.package-set-grid img:first-child {
  grid-column: 1 / 4;
  grid-row: 1 / 2;
}

.social-category-grid:not(.single-post-groups) .social-preview-count-4.package-set-grid img:nth-child(2) {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
}

.social-category-grid:not(.single-post-groups) .social-preview-count-4.package-set-grid img:nth-child(3) {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}

.social-category-grid:not(.single-post-groups) .social-preview-count-4.package-set-grid img:nth-child(4) {
  grid-column: 3 / 4;
  grid-row: 2 / 3;
}

.social-category-grid:not(.single-post-groups) .social-preview-count-5 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: minmax(0, 0.72fr) minmax(0, 1fr);
  aspect-ratio: 1 / 0.78;
}

.social-category-grid:not(.single-post-groups) .social-preview-count-5 img:first-child {
  grid-column: 1 / 4;
}

.social-category-grid:not(.single-post-groups) .social-preview-count-5 img:nth-child(2) {
  grid-column: 4 / 7;
}

.social-category-grid:not(.single-post-groups) .social-preview-count-5 img:nth-child(3) {
  grid-column: 1 / 3;
}

.social-category-grid:not(.single-post-groups) .social-preview-count-5 img:nth-child(4) {
  grid-column: 3 / 5;
}

.social-category-grid:not(.single-post-groups) .social-preview-count-5 img:nth-child(5) {
  grid-column: 5 / 7;
}

.social-category-grid:not(.single-post-groups) .social-preview-count-5.package-set-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  aspect-ratio: 1 / 1;
  gap: 2px;
  padding: 8px;
  background: #fffdf9;
}

.social-category-grid:not(.single-post-groups) .social-preview-count-5.package-set-grid img:first-child {
  grid-column: 1 / 4;
  grid-row: 1 / 2;
}

.social-category-grid:not(.single-post-groups) .social-preview-count-5.package-set-grid img:nth-child(2) {
  grid-column: 4 / 7;
  grid-row: 1 / 2;
}

.social-category-grid:not(.single-post-groups) .social-preview-count-5.package-set-grid img:nth-child(3) {
  grid-column: 1 / 3;
  grid-row: 2 / 3;
}

.social-category-grid:not(.single-post-groups) .social-preview-count-5.package-set-grid img:nth-child(4) {
  grid-column: 3 / 5;
  grid-row: 2 / 3;
}

.social-category-grid:not(.single-post-groups) .social-preview-count-5.package-set-grid img:nth-child(5) {
  grid-column: 5 / 7;
  grid-row: 2 / 3;
}

.social-category-grid:not(.single-post-groups) .work-set-preview {
  min-height: 0;
  grid-template-rows: auto auto;
  align-content: start;
}

.social-category-grid .package-set-grid:not(.single-preview-grid):not(.banner-preview-grid) img:first-child {
  grid-column: 1 / 4;
  min-height: 0;
}

.social-category-grid:not(.single-post-groups) .social-preview-count-3.package-set-grid img:first-child {
  grid-column: 1 / 3;
}

.social-category-grid .package-set-grid:not(.single-preview-grid):not(.banner-preview-grid) img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.social-category-grid:not(.single-post-groups) .social-preview-count-3.package-set-grid img,
.social-category-grid:not(.single-post-groups) .social-preview-count-4.package-set-grid img {
  object-fit: cover;
}

.social-category-grid:not(.single-post-groups) .social-preview-count-3.package-set-grid img,
.social-category-grid:not(.single-post-groups) .social-preview-count-4.package-set-grid img,
.social-category-grid:not(.single-post-groups) .social-preview-count-5.package-set-grid img {
  object-fit: cover;
  object-position: center;
  background: #fffdf9;
}

.social-category-grid .gallery-item:not(.large) .package-set-grid:not(.single-preview-grid):not(.banner-preview-grid) {
  min-height: 0;
}

.social-category-grid .gallery-item.large .package-set-grid:not(.single-preview-grid):not(.banner-preview-grid) img:first-child {
  min-height: 0;
}

.single-post-groups .package-set-grid:not(.single-preview-grid):not(.banner-preview-grid) {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  min-height: 260px;
  aspect-ratio: 1 / 1;
}

.single-post-groups .package-set-grid:not(.single-preview-grid):not(.banner-preview-grid) img {
  display: none;
}

.single-post-groups .package-set-grid:not(.single-preview-grid):not(.banner-preview-grid) img:first-child {
  display: block;
  grid-column: auto;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.social-category-grid .banner-card {
  min-height: 240px;
}

.social-category-grid .banner-preview-grid {
  min-height: 160px;
  aspect-ratio: 16 / 7;
  display: grid;
  place-items: center;
  padding: 6px;
  border-radius: 14px;
  background: rgba(255, 250, 244, 0.56);
}

.banner-preview-grid img,
.banner-preview-grid img:first-child {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  border: 0;
  border-radius: 10px;
  background: transparent;
  box-shadow: none;
}

@media (max-width: 900px) {
  .social-category-grid .gallery-item.large {
    min-height: 360px;
  }

  .social-category-grid .gallery-item.large .work-set-grid {
    min-height: 280px;
  }
}

.social-showcase {
  background:
    radial-gradient(circle at 8% 18%, rgba(255, 216, 207, 0.24), transparent 25%),
    var(--cream);
  border-top: 1px solid var(--line);
}

.compact-heading p:last-child {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--muted);
}

.social-post-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
}

.social-post-card {
  overflow: hidden;
  border: 1px solid rgba(238, 227, 215, 0.98);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 249, 0.94);
  box-shadow: var(--shadow-soft);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.social-post-card:hover {
  transform: translateY(-4px);
  border-color: rgba(246, 162, 74, 0.38);
  box-shadow: var(--shadow-lift);
}

.social-post-header {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 18px 18px 12px;
}

.social-post-header img {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  object-fit: cover;
}

.social-post-header h3 {
  margin: 0;
  color: var(--heading);
  font-size: 1rem;
  line-height: 1.25;
}

.social-post-header p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
}

.social-post-header > span {
  color: var(--muted);
  font-weight: 800;
  letter-spacing: 2px;
}

.social-post-copy {
  margin: 0;
  padding: 0 18px 16px;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.72;
}

.fb-collage {
  display: grid;
  gap: 2px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.collage-5 {
  grid-template-columns: 1.08fr 0.92fr;
  grid-template-rows: repeat(4, minmax(90px, 11vw));
}

.collage-5 .post-image:first-child {
  grid-row: span 4;
}

.collage-3 {
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: repeat(2, minmax(150px, 15vw));
}

.collage-3 .post-image:first-child {
  grid-row: span 2;
}

.post-image {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 120px;
  margin: 0;
  overflow: hidden;
}

.post-image::before {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.58);
}

.post-image span {
  position: relative;
  z-index: 1;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.82);
  color: var(--heading);
  font-size: 0.84rem;
  font-weight: 800;
}

.post-image.tone-a {
  background: linear-gradient(145deg, #ffd29b, #fff2df);
}

.post-image.tone-b {
  background: linear-gradient(145deg, #fff6d8, #ffe4bd);
}

.post-image.tone-c {
  background: linear-gradient(145deg, #ffe3dc, #fff7f1);
}

.post-image.tone-d {
  background: linear-gradient(145deg, #f6a24a, #ffd7a2);
}

.post-image.tone-e {
  background: linear-gradient(145deg, rgba(90, 81, 75, 0.78), rgba(139, 79, 52, 0.62)), #ffd7a2;
}

.post-image.tone-e span {
  background: transparent;
  color: #fff;
  font-size: clamp(1.4rem, 4vw, 2.5rem);
}

.social-post-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 18px 16px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.print-mock {
  grid-template-columns: 118px 80px;
  gap: 18px;
}

.print-mock i,
.print-mock b,
.package-mock i,
.package-mock b {
  display: block;
  border: 2px solid var(--heading);
  border-radius: 16px;
  background: linear-gradient(var(--butter) 0 38%, #fff 38% 100%);
}

.print-mock i {
  width: 118px;
  height: 160px;
}

.print-mock b {
  width: 80px;
  height: 108px;
}

.card-mock {
  gap: 14px;
}

.sticker-mock {
  grid-template-columns: repeat(3, 74px);
  gap: 10px;
}

.sticker-mock span,
.character-mock i,
.character-mock b,
.avatar-mock i {
  display: block;
  border-radius: 50%;
  background: var(--orange);
}

.sticker-mock span {
  width: 74px;
  height: 74px;
  border: 8px solid #fff;
}

.package-mock {
  grid-template-columns: 110px 58px;
  gap: 16px;
}

.package-mock i {
  width: 110px;
  height: 148px;
}

.package-mock b {
  width: 58px;
  height: 118px;
}

.character-mock {
  grid-template-columns: 150px 96px;
  gap: 16px;
}

.character-mock i {
  width: 150px;
  height: 150px;
  background: var(--orange);
}

.character-mock b {
  width: 96px;
  height: 96px;
  background: var(--butter);
}

.avatar-mock i {
  width: 150px;
  height: 150px;
  border: 12px solid #fff;
}

.project-notes {
  display: grid;
  grid-template-columns: minmax(220px, 0.35fr) minmax(0, 1fr);
  gap: 24px;
  background: var(--cream);
}

.project-notes h2 {
  margin: 0;
  color: var(--caramel);
  font-size: clamp(1.85rem, 3.6vw, 3.35rem);
  line-height: 1.14;
}

.project-notes p:last-child {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
}

.project-switcher {
  padding: clamp(64px, 7vw, 96px) clamp(20px, 6vw, 80px);
  background: #fffaf4;
  border-top: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}

.project-switcher::after {
  display: none;
}

.project-switcher-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(360px, 36vw, 560px);
  grid-template-columns: none;
  gap: 16px;
  margin-right: calc(clamp(20px, 6vw, 80px) * -1);
  padding: 4px clamp(20px, 6vw, 80px) 18px 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(139, 79, 52, 0.28) transparent;
}

.project-switcher-grid::-webkit-scrollbar {
  height: 8px;
}

.project-switcher-grid::-webkit-scrollbar-track {
  background: transparent;
}

.project-switcher-grid::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(139, 79, 52, 0.22);
}

.project-switcher-card {
  display: block;
  min-height: 124px;
  padding: 18px 20px;
  border: 1px solid rgba(185, 126, 84, 0.12);
  border-radius: 20px;
  background: rgba(255, 253, 249, 0.86);
  color: var(--heading);
  box-shadow: 0 10px 24px rgba(91, 68, 52, 0.035);
  scroll-snap-align: start;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.project-switcher-card:hover {
  transform: translateY(-3px);
  border-color: rgba(185, 126, 84, 0.24);
  box-shadow: 0 14px 30px rgba(91, 68, 52, 0.055);
}

.project-switcher-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--blush);
  font-size: 0.78rem;
  font-weight: 800;
}

.project-switcher-card strong {
  display: block;
  color: var(--heading);
  font-size: 1rem;
  line-height: 1.45;
}

.project-switcher-card em {
  display: inline-flex;
  margin-top: 12px;
  color: var(--caramel);
  font-size: 0.86rem;
  font-style: normal;
  font-weight: 800;
}

.project-contact-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(22px, 5vw, 56px);
  padding: clamp(32px, 4.5vw, 52px) clamp(20px, 6vw, 80px);
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 86% 20%, rgba(246, 162, 74, 0.18), transparent 25%),
    linear-gradient(105deg, var(--cream), #fffdf9 58%, var(--mist));
}

.project-contact-cta h2 {
  max-width: 760px;
  margin: 0;
  color: var(--caramel);
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(1.55rem, 3vw, 2.55rem);
  line-height: 1.18;
}

.project-contact-cta p {
  max-width: 620px;
  margin: 12px 0 0;
  color: rgba(113, 105, 99, 0.74);
  line-height: 1.7;
}

.project-contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 14px;
}

.project-contact-actions .button {
  min-height: 46px;
  padding-inline: 22px;
}

.project-contact-actions .button.primary {
  background: linear-gradient(135deg, #f7b160, var(--orange));
  border-color: var(--orange);
  box-shadow: 0 12px 28px rgba(246, 162, 74, 0.22);
}

@keyframes logo-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-3px);
  }
}

@keyframes soft-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gentle-bob {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes grid-drift {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 42px 42px;
  }
}

@keyframes cta-pulse {
  0% {
    box-shadow: 0 16px 34px rgba(246, 162, 74, 0.2);
  }

  42% {
    box-shadow: 0 18px 42px rgba(246, 162, 74, 0.36), 0 0 0 9px rgba(247, 177, 96, 0.13);
  }

  100% {
    box-shadow: 0 16px 34px rgba(246, 162, 74, 0.2);
  }
}

@keyframes icon-wiggle {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
  }

  35% {
    transform: rotate(-4deg) scale(1.08);
  }

  70% {
    transform: rotate(3deg) scale(1.03);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .section-band,
  .section-wrap,
  .work-card,
  .price-card,
  .game-entry,
  .video-card {
    animation: soft-rise 600ms ease both;
  }

  .work-card:nth-child(2),
  .price-card:nth-child(2),
  .video-card:nth-child(2) {
    animation-delay: 70ms;
  }

  .work-card:nth-child(3),
  .price-card:nth-child(3),
  .video-card:nth-child(3) {
    animation-delay: 140ms;
  }

  .work-card:nth-child(4),
  .price-card:nth-child(4) {
    animation-delay: 210ms;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  .motion-ready .motion-reveal {
    opacity: 0;
    filter: blur(3px);
    transform: translateY(18px);
    transition:
      opacity 720ms ease,
      filter 720ms ease,
      transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--motion-delay, 0ms);
    will-change: opacity, filter, transform;
  }

  .motion-ready .motion-reveal.is-visible {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }

  .project-hero > div:last-child,
  .price-hero-visual img {
    animation: gentle-bob 6.8s ease-in-out infinite;
  }

  .button {
    position: relative;
    overflow: hidden;
    isolation: isolate;
  }

  .button > * {
    position: relative;
    z-index: 1;
  }

  .button.primary::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.35) 45%, transparent 72%);
    transform: translateX(-130%);
    transition: transform 650ms ease;
  }

  .button.primary:hover::after {
    transform: translateX(130%);
  }

  .contact-section.is-visible .line-button {
    animation: cta-pulse 980ms ease 260ms 1;
  }

  .line-button b,
  .button.primary span:last-child {
    transition: transform 220ms ease;
  }

  .line-button:hover b,
  .button.primary:hover span:last-child {
    transform: translateX(4px);
  }

  .motion-ready .work-card .work-media::before,
  .motion-ready .gallery-item::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(115deg, rgba(255, 249, 240, 0.98), rgba(255, 232, 204, 0.72));
    pointer-events: none;
    transform: translateX(0);
    transition: transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .motion-ready .work-card.is-visible .work-media::before,
  .motion-ready .gallery-item.is-visible::before {
    transform: translateX(105%);
  }

  .work-card .work-media::after {
    z-index: 3;
  }

  .services-strip article {
    transition: transform 220ms ease;
  }

  .services-strip span {
    transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), background 220ms ease, box-shadow 220ms ease;
  }

  .services-strip svg {
    transition: stroke 220ms ease;
  }

  .services-strip article:hover {
    transform: translateY(-4px);
  }

  .services-strip article:hover span {
    background: rgba(247, 160, 76, 0.2);
    box-shadow: 0 12px 28px rgba(139, 79, 52, 0.1);
    animation: icon-wiggle 520ms ease both;
  }

  .services-strip article:hover svg {
    stroke: var(--orange);
  }

  .gallery-item img,
  .work-visual > *,
  .video-thumb,
  .game-video,
  .social-feed-mockup,
  .package-mockup,
  .signage-mockup,
  .character-mockup {
    transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .gallery-item:hover img,
  .work-set-card:hover img,
  .work-card:hover .work-visual > *,
  .video-card:hover .video-thumb,
  .game-entry:hover .game-video,
  .project-hero:hover .social-feed-mockup,
  .project-hero:hover .package-mockup,
  .project-hero:hover .signage-mockup,
  .project-hero:hover .character-mockup {
    transform: scale(1.025);
  }

  .work-set-card:hover img {
    transform: none;
  }

  .work-card,
  .price-card,
  .service-card,
  .service-group,
  .gallery-item,
  .project-switcher-card,
  .video-card,
  .game-entry {
    will-change: transform, box-shadow;
  }
}

@media (max-width: 900px) {
  .site-header,
  .contact-section,
  .contact-actions,
  .site-footer,
  .project-contact-cta,
  .project-contact-actions,
  .notice-section {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .contact-actions {
    justify-items: start;
  }

  .social-links {
    justify-content: flex-start;
  }

  .footer-side,
  .footer-links {
    justify-items: start;
    justify-content: flex-start;
  }

  .project-contact-actions {
    justify-content: flex-start;
  }

  .hero,
  .brand-layout,
  .playground-section,
  .video-section,
  .game-showcase,
  .game-detail,
  .game-team,
  .price-hero,
  .project-hero,
  .project-notes {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-subtitle {
    white-space: normal;
  }

  .game-showcase.reverse .game-screen {
    order: initial;
  }

  .game-detail.reverse .game-video {
    order: initial;
  }

  .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(255, 250, 244, 0.96), rgba(255, 250, 244, 0.82)),
      url("assets/hero-pluffy-photo-mockup-small.jpg") 42% center / 152% auto no-repeat;
  }

  .hero-copy {
    max-width: none;
  }

  .work-grid,
  .pricing-grid,
  .process-grid,
  .gallery-grid,
  .store-gallery .gallery-grid,
  .guide-grid,
  .brand-case-section,
  .brand-system-section,
  .brand-tone-section,
  .brand-application-section,
  .social-post-list,
  .game-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .detail-pricing {
    grid-template-areas:
      "social"
      "logo"
      "template"
      "print"
      "illustration"
      "editing"
      "extras";
  }

  .pricing-print .service-list,
  .pricing-extras .service-list {
    grid-template-columns: 1fr;
  }

  .brand-case-cards,
  .brand-tone-grid {
    grid-template-columns: 1fr;
  }

  .brand-logo-system,
  .brand-application-visual {
    grid-template-columns: 1fr;
  }

  .brand-logo-system figure:first-child {
    grid-row: auto;
  }

  .brand-application-visual img:nth-child(2) {
    transform: none;
  }

  .guide-grid article:last-child {
    grid-column: auto;
  }

  .gallery-item.large {
    grid-column: auto;
    grid-row: auto;
    min-height: 360px;
  }

  .post-series-collection {
    grid-column: auto;
  }

  .post-set-list {
    grid-template-columns: 1fr;
  }

  .project-cover {
    min-height: 300px;
  }

  .collage-5,
  .collage-3 {
    grid-template-rows: repeat(4, minmax(86px, 24vw));
  }

  .work-card.featured {
    grid-row: auto;
  }

  .mascot-sample {
    min-height: 230px;
    height: 230px;
  }

  .price-card.wide {
    flex-direction: column;
    align-items: flex-start;
  }

  .service-list.compact {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 560px) {
  .section-band,
  .section-wrap {
    padding-left: 18px;
    padding-right: 18px;
  }

  .project-gallery,
  .project-switcher,
  .game-showcase-list {
    padding-left: 18px;
    padding-right: 18px;
  }

  .project-switcher-grid {
    grid-auto-columns: minmax(250px, 82vw);
    margin-right: -18px;
    padding-right: 18px;
  }

  .game-team {
    margin-inline: 18px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 16vw, 4.8rem);
  }

  .palette {
    grid-template-columns: 1fr;
  }

  .compact-palette {
    grid-template-columns: 1fr;
  }

  .work-media {
    min-height: 210px;
    height: 210px;
  }

  .project-hero h1 {
    font-size: clamp(2.35rem, 12vw, 4rem);
  }

  .hero-actions,
  .button,
  .line-button {
    width: 100%;
  }

  .service-list li {
    align-items: flex-start;
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .service-list b {
    min-width: 0;
    text-align: left;
  }

  .social-post-actions {
    flex-wrap: wrap;
  }

  .post-set-list {
    grid-template-columns: 1fr;
  }

  .post-set-grid {
    min-height: 180px;
  }
}

.social-feed-mockup,
.fb-post-mockup,
.package-mockup,
.signage-mockup,
.character-mockup,
.story-mockup,
.product-mockup,
.post-series-mockup,
.label-mockup,
.card-mockup,
.print-mockup,
.banner-mockup,
.lightbox-mockup,
.standee-mockup,
.avatar-mockup,
.mascot-mockup,
.sticker-mockup {
  position: relative;
  min-height: 240px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(185, 126, 84, 0.2);
  background:
    radial-gradient(circle at 32% 28%, rgba(247, 160, 76, 0.28), transparent 17%),
    radial-gradient(circle at 72% 34%, rgba(255, 222, 178, 0.7), transparent 16%),
    linear-gradient(135deg, rgba(255, 250, 242, 0.96), rgba(255, 241, 232, 0.72));
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.gallery-item .social-feed-mockup,
.gallery-item .fb-post-mockup,
.gallery-item .package-mockup,
.gallery-item .signage-mockup,
.gallery-item .character-mockup,
.gallery-item .story-mockup,
.gallery-item .product-mockup,
.gallery-item .post-series-mockup,
.gallery-item .label-mockup,
.gallery-item .card-mockup,
.gallery-item .print-mockup,
.gallery-item .banner-mockup,
.gallery-item .lightbox-mockup,
.gallery-item .standee-mockup,
.gallery-item .avatar-mockup,
.gallery-item .mascot-mockup,
.gallery-item .sticker-mockup {
  width: 100%;
  min-height: 100%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.post-top {
  position: absolute;
  top: 26px;
  left: 28px;
  right: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.post-top img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.post-top span,
.package-mockup span,
.signage-mockup span,
.character-mockup span,
.label-mockup::before,
.card-mockup::before,
.print-mockup::before,
.banner-mockup::before,
.lightbox-mockup::before,
.standee-mockup::before,
.avatar-mockup::before,
.mascot-mockup::before,
.sticker-mockup::before {
  display: block;
  border-radius: 999px;
  background: rgba(139, 79, 52, 0.42);
}

.post-top span {
  width: 44%;
  height: 10px;
}

.post-grid,
.post-series-mockup {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.post-grid span,
.post-series-mockup span {
  min-height: 74px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(185, 126, 84, 0.16);
}

.post-series-mockup {
  grid-template-columns: repeat(3, 1fr);
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
}

.post-series-collection {
  grid-column: 1 / -1;
  min-height: 460px;
  padding: clamp(28px, 3vw, 42px);
  align-items: stretch;
}

.post-series-board {
  width: 100%;
  min-height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 24px;
}

.post-series-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 22px;
}

.post-series-title div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.post-series-title strong {
  color: var(--coffee);
  font-size: clamp(1.25rem, 2vw, 1.9rem);
}

.post-series-title span {
  padding: 4px 14px;
  border-radius: 999px;
  color: rgba(255, 253, 249, 0.96);
  background: var(--coffee);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
}

.post-series-title p {
  margin: 0;
  max-width: 360px;
  color: rgba(88, 80, 73, 0.52);
  font-size: 0.86rem;
  line-height: 1.6;
}

.post-set-list {
  display: grid;
  grid-template-columns: 1.22fr 0.9fr minmax(170px, 0.5fr);
  gap: clamp(18px, 2vw, 26px);
  align-items: stretch;
}

.post-set-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(185, 126, 84, 0.16);
  border-radius: 18px;
  display: grid;
  gap: 10px;
  background: linear-gradient(135deg, #fffdf9, #fff6ee);
  box-shadow: 0 12px 26px rgba(139, 79, 52, 0.06);
  color: var(--text);
  cursor: zoom-in;
  appearance: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.post-set-card:hover {
  transform: translateY(-3px);
  border-color: rgba(246, 162, 74, 0.42);
  box-shadow: 0 18px 34px rgba(139, 79, 52, 0.11);
}

.post-set-grid {
  min-height: 230px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #fff8ef;
}

.post-set-grid img {
  width: 100%;
  height: 100%;
  min-height: 90px;
  object-fit: cover;
}

.post-set-card.featured .post-set-grid {
  min-height: 300px;
}

.post-set-grid img:first-child {
  grid-row: span 2;
}

.post-set-grid.two img:first-child {
  grid-row: auto;
}

.post-set-grid span {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  place-items: center;
  width: calc(50% - 2px);
  height: calc(50% - 2px);
  color: #fffdf9;
  background: rgba(64, 43, 34, 0.52);
  font-weight: 800;
  font-size: 1rem;
}

.post-set-card em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 800;
  text-align: left;
}

.post-set-more {
  min-width: 0;
  padding: 18px;
  border: 1px dashed rgba(185, 126, 84, 0.26);
  border-radius: 18px;
  display: grid;
  align-content: center;
  gap: 8px;
  background: rgba(255, 253, 249, 0.52);
}

.post-set-more strong {
  color: var(--caramel);
  font-size: 1.7rem;
  line-height: 1;
}

.post-set-more span {
  color: rgba(88, 80, 73, 0.52);
  font-size: 0.78rem;
  line-height: 1.55;
}

.social-post-preview {
  width: 100%;
  min-height: 100%;
  padding: 18px;
  border: 0;
  border-radius: 0;
  display: grid;
  place-items: stretch;
  grid-template-rows: auto auto 1fr auto;
  gap: 10px;
  color: var(--text);
  background: linear-gradient(135deg, #fffdf9, #fff6ee);
  cursor: zoom-in;
  text-align: left;
  appearance: none;
}

.social-post-head,
.social-post-foot {
  display: flex;
  align-items: center;
}

.social-post-head {
  gap: 10px;
}

.social-post-head img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex: 0 0 auto;
}

.social-post-head div {
  display: grid;
  gap: 2px;
}

.social-post-head strong {
  color: var(--coffee);
  font-size: 0.9rem;
  line-height: 1.1;
}

.social-post-head span,
.social-post-foot,
.social-post-preview p {
  color: rgba(88, 80, 73, 0.58);
  font-size: 0.74rem;
  line-height: 1.45;
}

.social-post-head em {
  margin-left: auto;
  color: rgba(88, 80, 73, 0.42);
  font-style: normal;
  letter-spacing: 0.08em;
}

.social-post-preview p {
  margin: 0;
}

.social-post-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 8px;
  min-height: 128px;
}

.social-post-grid img {
  width: 100%;
  height: 100%;
  min-height: 128px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(185, 126, 84, 0.14);
  box-shadow: 0 10px 24px rgba(139, 79, 52, 0.08);
}

.social-post-grid img:first-child {
  grid-row: span 2;
}

.social-post-foot {
  justify-content: space-between;
  padding-top: 2px;
  border-top: 1px solid rgba(185, 126, 84, 0.12);
}

.lightbox-lock {
  overflow: hidden;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(64, 43, 34, 0.54);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.lightbox-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-panel {
  position: relative;
  width: min(560px, 92vw);
  max-width: min(560px, 92vw);
  max-height: 88vh;
  padding: 0;
  border-radius: 18px;
  background: #fffdf9;
  border: 1px solid rgba(185, 126, 84, 0.18);
  box-shadow: 0 30px 90px rgba(34, 26, 22, 0.32);
  overflow: hidden;
}

.social-lightbox-post {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
}

.lightbox-media {
  position: relative;
  display: grid;
  place-items: center;
  background: #f7f2ec;
  border-block: 1px solid rgba(185, 126, 84, 0.14);
}

.social-lightbox-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 56px 10px 18px;
}

.social-lightbox-head img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex: 0 0 auto;
}

.social-lightbox-head div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.social-lightbox-head strong {
  color: #3f3731;
  font-size: 0.98rem;
  line-height: 1.1;
}

.social-lightbox-head span,
.social-lightbox-head small,
.social-lightbox-copy,
.social-lightbox-stats,
.social-lightbox-foot {
  color: rgba(88, 80, 73, 0.62);
  font-size: 0.84rem;
  line-height: 1.55;
}

.social-lightbox-head em {
  margin-left: auto;
  color: rgba(88, 80, 73, 0.45);
  font-style: normal;
  letter-spacing: 0.08em;
}

.social-lightbox-copy {
  margin: 0;
  padding: 0 18px 14px;
  color: rgba(63, 55, 49, 0.76);
}

.lightbox-collage img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.lightbox-collage {
  width: 100%;
  max-height: 50vh;
  aspect-ratio: 1 / 1;
  display: grid;
  gap: 3px;
  background: #fffaf4;
}

.lightbox-collage div {
  min-width: 0;
  min-height: 0;
  position: relative;
  overflow: hidden;
}

.lightbox-collage.collage-1 {
  display: block;
}

.lightbox-collage.collage-2 {
  grid-template-columns: repeat(2, 1fr);
}

.lightbox-collage.collage-3 {
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: repeat(2, 1fr);
}

.lightbox-collage.collage-3 div:first-child {
  grid-row: span 2;
}

.lightbox-collage.collage-4,
.lightbox-collage.collage-5 {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
}

.lightbox-collage.collage-4 div:first-child,
.lightbox-collage.collage-5 div:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.collage-more {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fffdf9;
  background: rgba(64, 43, 34, 0.5);
  font-weight: 800;
  font-size: 1.5rem;
}

.social-lightbox-stats {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px 8px;
}

.social-lightbox-foot {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 0;
  margin: 0 18px;
  padding: 8px 0;
  border-top: 1px solid rgba(185, 126, 84, 0.14);
  border-bottom: 1px solid rgba(185, 126, 84, 0.14);
}

.social-lightbox-head img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.social-lightbox-foot button {
  border: 0;
  color: rgba(88, 80, 73, 0.62);
  background: transparent;
  font: inherit;
  font-weight: 700;
}

.social-lightbox-stats .lightbox-count {
  margin-left: auto;
  color: rgba(88, 80, 73, 0.46);
  font-size: 0.8rem;
}

.lightbox-overlay.is-portfolio {
  background: rgba(64, 43, 34, 0.42);
}

.lightbox-overlay.is-portfolio .lightbox-panel {
  width: min(780px, 92vw);
  max-width: min(780px, 92vw);
  background: #fffaf4;
}

.lightbox-overlay.is-portfolio .social-lightbox-post {
  grid-template-rows: auto auto minmax(0, 1fr);
}

.lightbox-overlay.is-portfolio .social-lightbox-head {
  padding: 24px 64px 6px 24px;
}

.lightbox-overlay.is-portfolio .social-lightbox-head div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
}

.lightbox-overlay.is-portfolio .social-lightbox-head img,
.lightbox-overlay.is-portfolio .social-lightbox-head em,
.lightbox-overlay.is-portfolio .social-lightbox-stats,
.lightbox-overlay.is-portfolio .social-lightbox-foot {
  display: none;
}

.lightbox-overlay.is-portfolio .social-lightbox-head strong {
  color: var(--heading);
  font-family: var(--font-main);
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: 0;
}

.lightbox-overlay.is-portfolio .social-lightbox-head span {
  color: rgba(88, 80, 73, 0.48);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lightbox-overlay.is-portfolio .social-lightbox-head small {
  color: rgba(88, 80, 73, 0.42);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lightbox-overlay.is-portfolio .social-lightbox-copy {
  max-width: 100%;
  padding: 0 24px 20px;
  color: rgba(63, 55, 49, 0.66);
  font-size: 0.94rem;
}

@media (min-width: 900px) {
  .lightbox-overlay.is-portfolio .social-lightbox-copy {
    white-space: nowrap;
  }
}

.lightbox-overlay.is-portfolio .lightbox-media {
  margin: 0 24px 24px;
  border: 1px solid rgba(185, 126, 84, 0.14);
  border-radius: 18px;
  overflow: hidden;
  background: #fffdf9;
}

.lightbox-overlay.is-portfolio .lightbox-collage {
  max-height: 62vh;
  aspect-ratio: auto;
  gap: 8px;
  padding: 8px;
  background: #fffdf9;
}

.lightbox-overlay.is-portfolio .portfolio-gallery {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  align-items: stretch;
  overflow-y: auto;
}

.lightbox-overlay.is-portfolio .portfolio-gallery div {
  min-height: 180px;
  display: grid;
  place-items: center;
  background: #fffaf4;
  border: 1px solid rgba(185, 126, 84, 0.12);
}

.lightbox-overlay.is-portfolio .portfolio-gallery img {
  object-fit: contain;
  padding: 10px;
}

.lightbox-overlay.is-portfolio .portfolio-gallery.layout-wide {
  grid-template-columns: 1fr;
}

.lightbox-overlay.is-portfolio .portfolio-gallery.layout-wide div {
  min-height: clamp(220px, 32vw, 520px);
}

.lightbox-overlay.is-portfolio .portfolio-gallery.layout-wide img {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  box-shadow: none;
}

.lightbox-overlay.is-portfolio .portfolio-gallery.layout-event {
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 12px;
}

.lightbox-overlay.is-portfolio .portfolio-gallery.layout-event div {
  min-height: 0;
  background: #fffdf9;
}

.lightbox-overlay.is-portfolio .portfolio-gallery.layout-event img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 62vh;
  padding: 0;
  object-fit: contain;
}

.lightbox-overlay.is-portfolio .portfolio-gallery.layout-single {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  padding: 0;
  overflow-y: auto;
}

.lightbox-overlay.is-portfolio .portfolio-gallery.layout-single .single-lightbox-stage {
  min-height: min(74vh, 820px);
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
}

.lightbox-overlay.is-portfolio .portfolio-gallery.layout-single .single-lightbox-stage img {
  width: min(92vw, 1400px);
  height: auto;
  max-width: 100%;
  max-height: min(82vh, 900px);
  padding: 0;
  object-fit: contain;
  border: 0;
  box-shadow: none;
}

.lightbox-overlay.is-portfolio .portfolio-gallery.layout-single.layout-wide .single-lightbox-stage {
  min-height: min(56vh, 620px);
}

.lightbox-overlay.is-portfolio .portfolio-gallery.layout-single.layout-wide .single-lightbox-stage img {
  width: 100%;
  max-height: min(62vh, 700px);
}

.single-lightbox-thumbs {
  min-height: 0 !important;
  height: auto;
  display: flex !important;
  gap: 10px;
  justify-content: center;
  place-items: initial;
  overflow-x: auto;
  padding: 2px 2px 8px;
  background: transparent;
}

.single-lightbox-thumbs:empty {
  display: none !important;
}

.lightbox-overlay.is-portfolio .portfolio-gallery.layout-single:has(.single-lightbox-thumbs:empty) .single-lightbox-stage {
  min-height: min(68vh, 720px);
  padding: 0;
}

.lightbox-overlay.is-portfolio .portfolio-gallery.layout-single:has(.single-lightbox-thumbs:empty) .single-lightbox-stage img {
  width: min(92vw, 1400px);
  max-height: min(72vh, 780px);
}

.single-lightbox-thumbs button {
  flex: 0 0 104px;
  width: 104px;
  height: 76px;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(185, 126, 84, 0.1);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.single-lightbox-thumbs button.is-active {
  border-color: rgba(246, 162, 74, 0.72);
  box-shadow: 0 0 0 2px rgba(246, 162, 74, 0.16);
}

.single-lightbox-thumbs img {
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: cover;
}

.lightbox-overlay.is-social-post {
  background: rgba(52, 43, 38, 0.46);
}

.lightbox-overlay.is-social-post .lightbox-panel {
  width: min(760px, 94vw);
  max-width: min(760px, 94vw);
  max-height: 96vh;
  background: #fffdf9;
}

.lightbox-overlay.is-social-post .social-lightbox-post {
  grid-template-rows: auto auto minmax(0, 1fr) auto;
}

.lightbox-overlay.is-social-post .social-lightbox-head {
  padding: 18px 64px 10px 18px;
}

.lightbox-overlay.is-social-post .social-lightbox-head div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 10px;
  min-width: 0;
}

.lightbox-overlay.is-social-post .social-lightbox-head img,
.lightbox-overlay.is-social-post .social-lightbox-head em {
  display: flex;
}

.lightbox-overlay.is-social-post .social-lightbox-head strong {
  font-family: var(--font-main);
  font-size: 1rem;
  line-height: 1.12;
  white-space: nowrap;
}

.lightbox-overlay.is-social-post .social-lightbox-head span {
  font-size: 0.84rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lightbox-overlay.is-social-post .social-lightbox-head small {
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  order: 2;
}

.lightbox-overlay.is-social-post .social-lightbox-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 18px;
  padding: 10px 4px 8px;
  color: rgba(88, 80, 73, 0.62);
  border-bottom: 1px solid rgba(185, 126, 84, 0.16);
  font-size: 0.82rem;
  font-weight: 700;
}

.lightbox-overlay.is-social-post .social-lightbox-stats small {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lightbox-overlay.is-social-post .social-lightbox-stats b,
.lightbox-overlay.is-social-post .social-lightbox-stats em {
  font: inherit;
}

.lightbox-overlay.is-social-post .social-lightbox-stats em {
  margin-left: auto;
  font-style: normal;
}

.reaction-bubbles {
  display: inline-flex;
  align-items: center;
}

.reaction-bubbles i {
  width: 20px;
  height: 20px;
  margin-left: -4px;
  display: grid;
  place-items: center;
  color: #fffdf9;
  background: #b98a72;
  border: 2px solid #fffdf9;
  border-radius: 999px;
  font-style: normal;
  font-size: 0.72rem;
  line-height: 1;
}

.reaction-bubbles i:first-child {
  margin-left: 0;
  background: #9f6c55;
}

.lightbox-overlay.is-social-post .social-lightbox-foot {
  display: flex;
}

.lightbox-overlay.is-social-post .social-lightbox-head img {
  display: block;
}

.lightbox-overlay.is-social-post .social-lightbox-head strong {
  font-family: var(--font-main);
  font-size: 0.98rem;
}

.lightbox-overlay.is-social-post .social-lightbox-head span {
  color: rgba(88, 80, 73, 0.58);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  order: 3;
  flex-basis: 100%;
}

.lightbox-overlay.is-social-post .social-lightbox-copy {
  display: block;
  max-width: none;
  margin: 0;
  padding: 0 18px 14px;
  font-size: 0.9rem;
}

.lightbox-overlay.is-social-post .lightbox-media {
  margin: 0 18px;
  padding: 0;
  border: 1px solid rgba(185, 126, 84, 0.14);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.lightbox-overlay.is-social-post .portfolio-gallery.layout-social-post {
  width: 100%;
  max-height: min(62vh, 640px);
  aspect-ratio: 1.22 / 1;
  display: block;
  padding: 0;
  overflow: hidden;
  background: transparent;
}

.lightbox-overlay.is-social-post .portfolio-gallery.layout-social-post.layout-social-count-3 {
  width: min(100%, 700px);
  margin-inline: auto;
  aspect-ratio: 1 / 1;
}

.lightbox-overlay.is-social-post .portfolio-gallery.layout-social-post.layout-social-count-4 {
  width: min(100%, 800px);
  margin-inline: auto;
  aspect-ratio: 1 / 0.88;
}

.lightbox-overlay.is-social-post .portfolio-gallery.layout-social-post.layout-social-composite {
  width: 100%;
  max-height: min(66vh, 720px);
  aspect-ratio: auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fffdf9;
}

.lightbox-overlay.is-social-post .portfolio-gallery.layout-social-post.layout-social-composite .social-post-composite {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(66vh, 720px);
  padding: 0;
  border: 0;
  border-radius: 0;
  object-fit: contain;
}

.lightbox-overlay.is-social-post .portfolio-gallery.layout-social-post .social-post-collage {
  min-height: 0;
  place-items: stretch;
  border: 0;
}

.social-post-collage {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  display: grid;
  gap: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #fffdf9;
  box-shadow: none;
}

.social-post-tile {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  display: grid;
  place-items: stretch;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  cursor: default;
}

.social-post-tile img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: cover;
  border-radius: 0;
}

.lightbox-overlay.is-social-post .social-post-tile img {
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  padding: 0;
  max-width: 100%;
  max-height: 100%;
}

.layout-social-count-1 .social-post-collage {
  grid-template-columns: 1fr;
}

.layout-social-count-2 .social-post-collage {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.layout-social-count-3 .social-post-collage {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.layout-social-count-3 .social-post-tile:first-child {
  grid-column: 1 / 3;
  grid-row: 1 / 2;
}

.layout-social-count-4 .social-post-collage {
  position: relative;
  display: block;
}

.layout-social-count-4 .social-post-tile:first-child {
  position: absolute;
  top: 0;
  left: 4.1%;
  width: 91.8%;
  height: 66.666%;
}

.layout-social-count-4 .social-post-tile:nth-child(2) {
  position: absolute;
  top: 66.666%;
  left: 7.6%;
  width: 28.267%;
  height: 33.334%;
}

.layout-social-count-4 .social-post-tile:nth-child(3) {
  position: absolute;
  top: 66.666%;
  left: 35.867%;
  width: 28.266%;
  height: 33.334%;
}

.layout-social-count-4 .social-post-tile:nth-child(4) {
  position: absolute;
  top: 66.666%;
  left: 64.133%;
  width: 28.267%;
  height: 33.334%;
}

.layout-social-count-4 .social-post-tile:first-child img {
  object-fit: contain;
}

.layout-social-count-4 .social-post-tile:not(:first-child) img {
  object-fit: contain;
}

.layout-social-count-4 .social-post-tile:not(:first-child) {
  transform: none;
}

.layout-social-count-4 .social-post-collage,
.layout-social-count-4 .social-post-tile,
.layout-social-count-4 .social-post-tile img {
  border-radius: 0 !important;
}

.layout-social-count-5 .social-post-collage {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1fr) minmax(0, 0.72fr);
}

.layout-social-count-5 .social-post-tile:first-child {
  grid-column: 1 / 4;
}

.layout-social-count-5 .social-post-tile:nth-child(2) {
  grid-column: 4 / 7;
}

.layout-social-count-5 .social-post-tile:nth-child(3) {
  grid-column: 1 / 3;
}

.layout-social-count-5 .social-post-tile:nth-child(4) {
  grid-column: 3 / 5;
}

.layout-social-count-5 .social-post-tile:nth-child(5) {
  grid-column: 5 / 7;
}

.layout-social-post .collage-more {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fffdf9;
  background: rgba(64, 43, 34, 0.48);
  font-size: clamp(1.6rem, 4vw, 3rem);
  font-weight: 800;
}

@media (max-width: 720px) {
  .lightbox-overlay.is-social-post .portfolio-gallery.layout-social-post {
    aspect-ratio: 1 / 1;
    max-height: min(58vh, 560px);
  }

  .layout-social-count-5 .social-post-collage {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: minmax(0, 1fr) minmax(0, 0.72fr);
  }

  .layout-social-count-5 .social-post-tile:first-child {
    grid-column: 1 / 4;
    grid-row: 1 / 2;
  }

  .layout-social-count-5 .social-post-tile:nth-child(2) {
    grid-column: 4 / 7;
  }

  .layout-social-count-5 .social-post-tile:nth-child(3) {
    grid-column: 1 / 3;
  }

  .layout-social-count-5 .social-post-tile:nth-child(4) {
    grid-column: 3 / 5;
  }

  .layout-social-count-5 .social-post-tile:nth-child(5) {
    grid-column: 5 / 7;
  }
}

.lightbox-overlay.is-social-post .lightbox-nav {
  border-color: rgba(185, 126, 84, 0.2);
  background: rgba(255, 253, 249, 0.9);
  box-shadow: 0 12px 30px rgba(64, 43, 34, 0.08);
}

.lightbox-overlay.is-portfolio:has(.portfolio-gallery.layout-single) .lightbox-panel {
  width: min(1600px, 99vw);
  max-width: min(1600px, 99vw);
  max-height: 98vh;
}

.lightbox-overlay.is-portfolio:has(.portfolio-gallery.layout-wide) .lightbox-panel {
  width: min(1500px, 96vw);
  max-width: min(1500px, 96vw);
}

.lightbox-overlay.is-portfolio:has(.portfolio-gallery.layout-wide) .lightbox-media {
  border: 0;
  border-radius: 14px;
  background: transparent;
}

.lightbox-overlay.is-portfolio:has(.portfolio-gallery.layout-wide) .lightbox-collage {
  max-height: 76vh;
  padding: 0;
  gap: 0;
  background: transparent;
}

.lightbox-overlay.is-portfolio .portfolio-gallery.layout-wide div {
  border: 0;
  background: transparent;
}

.lightbox-overlay.is-portfolio:has(.portfolio-gallery.layout-single) .lightbox-media {
  margin: 0 10px 10px;
  border: 0;
  border-radius: 14px;
  background: transparent;
}

.lightbox-overlay.is-portfolio:has(.portfolio-gallery.layout-single) .lightbox-collage {
  max-height: 82vh;
}

.lightbox-overlay.is-portfolio:has(.portfolio-gallery.layout-single) .social-lightbox-head {
  padding: 22px 70px 4px 24px;
}

.lightbox-overlay.is-portfolio:has(.portfolio-gallery.layout-single) .social-lightbox-copy {
  max-width: none;
  padding-bottom: 14px;
}

.lightbox-overlay.is-portfolio:has(.portfolio-gallery.layout-single) .lightbox-nav {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  padding: 0;
  z-index: 6;
  border: 1px solid rgba(177, 132, 101, 0.18);
  color: #a97862;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 4px 12px rgba(80, 55, 42, 0.06);
  font-family: Arial, sans-serif;
  font-size: 0;
  font-weight: 700;
}

.lightbox-overlay.is-portfolio:has(.portfolio-gallery.layout-single) .lightbox-nav::before {
  display: block;
  font-size: 1.8rem;
  line-height: 1;
  transform: translateY(1px);
}

.lightbox-overlay.is-portfolio:has(.portfolio-gallery.layout-single) .lightbox-nav.prev::before {
  content: "‹";
}

.lightbox-overlay.is-portfolio:has(.portfolio-gallery.layout-single) .lightbox-nav.next::before {
  content: "›";
}

.lightbox-overlay.is-portfolio:has(.portfolio-gallery.layout-single) .lightbox-nav.prev {
  left: 42px;
}

.lightbox-overlay.is-portfolio:has(.portfolio-gallery.layout-single) .lightbox-nav.next {
  right: 54px;
}

.lightbox-overlay.is-portfolio:has(.portfolio-gallery.layout-single) .lightbox-nav:hover {
  color: #8f634f;
  background: #fff5ea;
  border-color: rgba(185, 126, 84, 0.26);
  transform: translateY(-50%) scale(1.04);
}

.lightbox-overlay.is-portfolio:has(.portfolio-gallery.layout-event) .lightbox-panel {
  width: min(1120px, 96vw);
  max-width: min(1120px, 96vw);
  max-height: 94vh;
}

.lightbox-overlay.is-portfolio:has(.portfolio-gallery.layout-event) .lightbox-collage {
  max-height: 68vh;
}

.lightbox-overlay.is-portfolio:has(.portfolio-gallery.layout-event) .lightbox-media {
  margin: 0 18px 18px;
}

@media (max-width: 720px) {
  .lightbox-overlay.is-portfolio .portfolio-gallery.layout-event img {
    max-height: 58vh;
  }
}

.lightbox-overlay.is-portfolio .portfolio-gallery .lightbox-mockup-tile {
  position: relative;
  min-height: 180px;
  padding: 10px;
  overflow: hidden;
}

.lightbox-overlay.is-portfolio .portfolio-gallery .lightbox-mockup-tile .package-preview-mock,
.lightbox-overlay.is-portfolio .portfolio-gallery .lightbox-mockup-tile .signage-mockup,
.lightbox-overlay.is-portfolio .portfolio-gallery .lightbox-mockup-tile .banner-mockup,
.lightbox-overlay.is-portfolio .portfolio-gallery .lightbox-mockup-tile .lightbox-mockup,
.lightbox-overlay.is-portfolio .portfolio-gallery .lightbox-mockup-tile .standee-mockup,
.lightbox-overlay.is-portfolio .portfolio-gallery .lightbox-mockup-tile .character-mockup,
.lightbox-overlay.is-portfolio .portfolio-gallery .lightbox-mockup-tile .avatar-mockup,
.lightbox-overlay.is-portfolio .portfolio-gallery .lightbox-mockup-tile .mascot-mockup,
.lightbox-overlay.is-portfolio .portfolio-gallery .lightbox-mockup-tile .sticker-mockup {
  width: 100%;
  height: 100%;
  min-height: 150px;
  border: 0;
  border-radius: 12px;
  box-shadow: none;
}

.lightbox-overlay.is-portfolio .portfolio-gallery .lightbox-mockup-tile span {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 7px 11px;
  border-radius: 999px;
  color: #fffdf9;
  background: rgba(139, 79, 52, 0.58);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1;
}

.lightbox-overlay.is-portfolio .lightbox-collage div,
.lightbox-overlay.is-portfolio .lightbox-collage img {
  border-radius: 12px;
}


.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  color: var(--coffee);
  background: rgba(255, 253, 249, 0.9);
  box-shadow: 0 10px 28px rgba(139, 79, 52, 0.14);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  color: var(--coffee);
  background: rgba(255, 253, 249, 0.92);
  box-shadow: 0 10px 28px rgba(139, 79, 52, 0.16);
  cursor: pointer;
  transform: translateY(-50%);
}

.lightbox-nav.prev {
  left: 14px;
}

.lightbox-nav.next {
  right: 14px;
}

.lightbox-nav[hidden],
.lightbox-count[hidden] {
  display: none !important;
}

.package-mockup span:first-child,
.signage-mockup span,
.character-mockup span:first-child {
  position: absolute;
  left: 50%;
  top: 30%;
  width: 42%;
  height: 18px;
  transform: translateX(-50%);
}

.package-mockup span:nth-child(2),
.character-mockup span:nth-child(2),
.signage-mockup b {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 24%;
  height: 72px;
  border-radius: 18px;
  border: 1px solid rgba(185, 126, 84, 0.2);
  background: rgba(255, 255, 255, 0.58);
  transform: translateX(-50%);
}

.package-mockup b,
.character-mockup b,
.signage-mockup i {
  position: absolute;
  left: 50%;
  bottom: 26%;
  width: 34%;
  height: 12px;
  border-radius: 999px;
  background: rgba(139, 79, 52, 0.42);
  transform: translateX(-50%);
}

.label-mockup::before,
.card-mockup::before,
.print-mockup::before,
.banner-mockup::before,
.lightbox-mockup::before,
.standee-mockup::before,
.avatar-mockup::before,
.mascot-mockup::before,
.sticker-mockup::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 44%;
  height: 30%;
  transform: translate(-50%, -50%);
  background: rgba(247, 160, 76, 0.78);
}
/* Illustration and render cards use a fixed preview well so portrait art does not collide with captions. */
.illustration-piece,
.render-piece {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  min-height: auto;
  padding: 18px;
}

.illustration-piece .image-preview-button,
.render-piece .image-preview-button {
  aspect-ratio: 4 / 3;
  height: auto;
  min-height: 0;
  margin: 0 0 14px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 251, 245, 0.66);
  overflow: hidden;
}

.illustration-piece .image-preview-button img,
.render-piece .image-preview-button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.illustration-piece figcaption,
.render-piece figcaption {
  position: static;
  align-self: flex-start;
  max-width: 100%;
  margin: 0;
  line-height: 1.45;
}
.lightbox-overlay.is-portfolio .portfolio-gallery.layout-render {
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 10px;
}

.lightbox-overlay.is-portfolio .portfolio-gallery.layout-render div {
  min-height: clamp(360px, 46vw, 620px);
  background: #fbf7f0;
}

.lightbox-overlay.is-portfolio .portfolio-gallery.layout-render img {
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: contain;
}

.lightbox-overlay.is-portfolio:has(.portfolio-gallery.layout-render) .lightbox-panel {
  width: min(1180px, 96vw);
  max-width: min(1180px, 96vw);
}

@media (max-width: 720px) {
  .lightbox-overlay.is-portfolio .portfolio-gallery.layout-render {
    grid-template-columns: 1fr;
  }
}
.lightbox-overlay.is-portfolio:has(.portfolio-gallery.layout-render) .lightbox-panel {
  max-height: 94vh;
}

.lightbox-overlay.is-portfolio:has(.portfolio-gallery.layout-render) .social-lightbox-head {
  padding-bottom: 2px;
}

.lightbox-overlay.is-portfolio:has(.portfolio-gallery.layout-render) .social-lightbox-copy {
  padding-bottom: 12px;
}

.lightbox-overlay.is-portfolio:has(.portfolio-gallery.layout-render) .lightbox-media {
  margin: 0 18px 18px;
}
.illustration-piece .image-preview-button {
  aspect-ratio: 1 / 1;
  margin-bottom: 16px;
}
.render-piece {
  padding: 16px;
}

.render-piece .image-preview-button {
  aspect-ratio: 16 / 9;
  width: 100%;
  margin-bottom: 14px;
  padding: 0;
  background: #fffaf4;
}

.render-piece .image-preview-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
}

/* Illustration gallery final alignment */
.illustration-gallery .gallery-grid {
  align-items: stretch;
}

.illustration-piece {
  min-height: 0;
  padding: 18px;
}

.illustration-piece .image-preview-button {
  height: clamp(260px, 18vw, 330px);
  aspect-ratio: auto;
  margin-bottom: 14px;
  padding: 0;
  border-radius: 18px;
  background: #fffaf4;
}

.illustration-piece .image-preview-button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 18px;
}

.illustration-piece figcaption {
  min-height: 2.6em;
  display: flex;
  align-items: flex-start;
  padding: 0 2px;
  line-height: 1.45;
}
/* Restore pricing page card proportions. */
.pricing-grid.detail-pricing {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "social logo"
    "social template"
    "print print"
    "illustration editing"
    "extras extras";
}

.pricing-grid.detail-pricing .pricing-print,
.pricing-grid.detail-pricing .pricing-extras {
  grid-column: 1 / -1;
}

@media (max-width: 900px) {
  .pricing-grid.detail-pricing {
    grid-template-columns: 1fr;
    grid-template-areas: none;
  }

  .pricing-grid.detail-pricing .price-card {
    grid-area: auto;
    grid-column: auto;
  }
}
/* Restore home pricing cards. */
.pricing-grid:not(.detail-pricing) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .pricing-grid:not(.detail-pricing) {
    grid-template-columns: 1fr;
  }
}
.pricing-grid.detail-pricing .pricing-print .service-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(36px, 5vw, 72px);
}

@media (max-width: 900px) {
  .pricing-grid.detail-pricing .pricing-print .service-list {
    grid-template-columns: 1fr;
  }
}
.guide-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.guide-grid article:last-child {
  grid-column: 1 / -1;
}

@media (max-width: 900px) {
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .guide-grid article:last-child {
    grid-column: auto;
  }
}
.pricing-grid.detail-pricing + .process-section,
.process-section {
  padding-top: clamp(44px, 5vw, 72px);
}

main > .section-wrap:has(.pricing-grid.detail-pricing) {
  padding-bottom: clamp(36px, 4vw, 56px);
}


/* Playground portfolio layout */
.playground-portfolio {
  display: grid;
  gap: clamp(40px, 6vw, 82px);
  padding: clamp(48px, 6vw, 82px) clamp(20px, 6vw, 80px);
}

.playground-case {
  display: grid;
  gap: clamp(22px, 3vw, 34px);
  padding: clamp(22px, 3vw, 38px);
  border: 1px solid rgba(142, 91, 62, 0.14);
  border-radius: 24px;
  background: rgba(255, 253, 248, 0.9);
  box-shadow: 0 20px 56px rgba(118, 87, 65, 0.08);
}

.playground-case-copy {
  max-width: 760px;
}

.playground-case-copy h2 {
  margin: 0;
  color: var(--caramel);
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1.05;
}

.playground-case-copy p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.playground-cover,
.playground-media-frame {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #fffaf3;
  border: 1px solid rgba(142, 91, 62, 0.1);
}

.playground-cover img,
.playground-media-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.playground-cover {
  aspect-ratio: 16 / 8.2;
}

.playground-cover.secondary {
  aspect-ratio: 16 / 7.2;
}

.playground-brand-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 30px);
  align-items: stretch;
}

.playground-brand-grid .logo-frame {
  aspect-ratio: 1 / 1;
  padding: clamp(18px, 3vw, 34px);
}

.playground-brand-grid .wide-frame {
  aspect-ratio: 16 / 9;
  padding: clamp(18px, 3vw, 34px);
}

.playground-brand-grid .logo-frame img,
.playground-brand-grid .wide-frame img,
.playground-logo-stack img,
.playground-media-frame.small img {
  object-fit: contain;
}

.playground-case-split {
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: center;
}

.playground-case-split .playground-cover {
  aspect-ratio: 16 / 9;
}

.playground-logo-stack {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.playground-logo-stack img {
  width: min(360px, 100%);
  max-height: 220px;
}

.playground-gallery-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  gap: clamp(16px, 2.4vw, 26px);
}

.playground-gallery-grid .large {
  grid-row: span 2;
  aspect-ratio: 4 / 3;
}

.playground-gallery-grid .small {
  min-height: 210px;
  padding: clamp(18px, 3vw, 34px);
}

@media (max-width: 900px) {
  .playground-brand-grid,
  .playground-case-split,
  .playground-gallery-grid {
    grid-template-columns: 1fr;
  }

  .playground-cover,
  .playground-cover.secondary,
  .playground-case-split .playground-cover {
    aspect-ratio: 16 / 10;
  }
}

.playground-video {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  border: 1px solid rgba(142, 91, 62, 0.12);
  background: #1d1a18;
  box-shadow: 0 18px 42px rgba(118, 87, 65, 0.1);
}

.playground-video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.playground-case-split .playground-video,
.playground-case-gallery .playground-video {
  grid-column: 1 / -1;
}

.vagger-case {
  padding: 0;
  overflow: hidden;
  background: #080517;
  border-color: rgba(255, 255, 255, 0.08);
}

.vagger-hero-cover {
  border: 0;
  border-radius: 24px 24px 0 0;
  aspect-ratio: 2.15 / 1;
  background: #080517;
}

.vagger-story-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  min-height: clamp(520px, 58vw, 760px);
  padding: clamp(32px, 6vw, 86px);
  overflow: hidden;
}

.vagger-story-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 5, 23, 0.68), rgba(8, 5, 23, 0.22)), url("assets/works/playground/遊戲A_瓦爾格Vagger/通用_瓦爾格_橫向背景(有特效).png") center / cover no-repeat;
  filter: saturate(1.08);
}

.vagger-video-card,
.vagger-copy-card {
  position: relative;
  z-index: 1;
}

.vagger-video-card {
  padding: clamp(18px, 3vw, 34px);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.vagger-copy-card {
  display: grid;
  gap: 14px;
  padding: clamp(30px, 4vw, 58px);
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.vagger-copy-card h2 {
  margin: 0;
  color: var(--heading);
  font-size: clamp(2rem, 3.5vw, 3.8rem);
}

.vagger-copy-card p {
  margin: 0;
  line-height: 1.9;
}

.vagger-slogan {
  color: #315d86;
  font-weight: 800;
  font-style: italic;
}

.vagger-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 10px;
}

.vagger-fb-link {
  color: var(--muted);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 900px) {
  .vagger-story-panel {
    grid-template-columns: 1fr;
  }
}

.vagger-case {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-radius: 0;
}

.vagger-hero-cover,
.vagger-story-panel {
  border-radius: 0;
}

.vagger-hero-cover img {
  object-fit: cover;
}

.playground-video-link {
  position: relative;
  display: block;
  color: #fff;
  text-decoration: none;
}

.playground-video-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.72);
}

.playground-video-link span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 14px 28px;
  border-radius: 999px;
  background: rgba(255, 168, 74, 0.94);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.nymph-case {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #050315;
}

.nymph-logo-scene,
.nymph-story-scene {
  position: relative;
  min-height: clamp(520px, 48vw, 760px);
  overflow: hidden;
}

.nymph-logo-scene {
  display: grid;
  place-items: center;
  background: url("assets/works/playground/遊戲C_寧芙日記 Nymph's Dairy/CG_A_1_S.png") center / cover no-repeat;
}

.nymph-tint {
  position: absolute;
  inset: 0;
  background: rgba(32, 72, 88, 0.74);
  backdrop-filter: blur(1px);
}

.nymph-logo-lockup {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 58px);
  width: min(780px, 82vw);
}

.nymph-hat {
  width: min(260px, 34vw);
}

.nymph-word {
  width: min(390px, 45vw);
}

.nymph-story-scene {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.72fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding: clamp(32px, 6vw, 86px);
  background: linear-gradient(90deg, rgba(5, 3, 21, 0.22), rgba(5, 3, 21, 0.92)), url("assets/works/playground/遊戲C_寧芙日記 Nymph's Dairy/f3e37a_5a1dffde23174608b3ee77d77ecf8e21~mv2.png") center / cover no-repeat;
}

.nymph-video-card {
  padding: clamp(18px, 3vw, 34px);
  background: rgba(255, 250, 243, 0.94);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.nymph-copy-card {
  display: grid;
  gap: 16px;
  padding: clamp(30px, 4vw, 58px);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.nymph-copy-card h2 {
  margin: 0;
  color: var(--heading);
  font-size: clamp(1.8rem, 3vw, 3.2rem);
}

.nymph-copy-card p {
  margin: 0;
  line-height: 1.95;
}

.nymph-copy-card .button {
  width: fit-content;
  margin-top: 8px;
}

@media (max-width: 900px) {
  .nymph-logo-lockup,
  .nymph-story-scene {
    grid-template-columns: 1fr;
  }

  .nymph-logo-lockup {
    flex-direction: column;
  }
}

.star-case {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #050315;
}

.star-logo-scene,
.star-story-scene {
  position: relative;
  min-height: clamp(520px, 48vw, 760px);
  overflow: hidden;
}

.star-logo-scene {
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(5, 3, 21, 0.34), rgba(5, 3, 21, 0.72)), url("assets/works/playground/遊戲C_逐星StarChasing/GameMain_Background.png") center / cover no-repeat;
}

.star-logo-lockup {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 4vw, 64px);
  width: min(900px, 84vw);
}

.star-logo {
  width: min(270px, 34vw);
}

.star-word {
  width: min(470px, 48vw);
}

.star-story-scene {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.72fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding: clamp(32px, 6vw, 86px);
  background: linear-gradient(90deg, rgba(5, 3, 21, 0.2), rgba(5, 3, 21, 0.9)), url("assets/works/playground/遊戲C_逐星StarChasing/GameMain_Background.png") center / cover no-repeat;
}

.star-video-card {
  padding: clamp(18px, 3vw, 34px);
  background: rgba(255, 250, 243, 0.94);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.star-copy-card {
  display: grid;
  gap: 16px;
  padding: clamp(30px, 4vw, 58px);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.star-copy-card h2 {
  margin: 0;
  color: var(--heading);
  font-size: clamp(1.8rem, 3vw, 3.2rem);
}

.star-copy-card p {
  margin: 0;
  line-height: 1.95;
}

.star-copy-card .button {
  width: fit-content;
  margin-top: 8px;
}

@media (max-width: 900px) {
  .star-logo-lockup,
  .star-story-scene {
    grid-template-columns: 1fr;
  }

  .star-logo-lockup {
    flex-direction: column;
  }
}

.pata-case {
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.8fr);
  align-items: center;
  min-height: clamp(520px, 46vw, 700px);
  background: #fff;
}

.pata-brand-side {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 4vw, 56px);
}

.pata-logo-mark {
  width: min(210px, 22vw);
}

.pata-wordmark {
  width: min(460px, 42vw);
}

.pata-copy-card {
  display: grid;
  gap: 14px;
  color: var(--text);
}

.pata-copy-card h2 {
  margin: 0;
  padding-left: 18px;
  border-left: 10px solid #ffaaa3;
  color: var(--heading);
  font-size: clamp(2rem, 3.5vw, 3.8rem);
}

.pata-copy-card p {
  margin: 0;
  line-height: 1.95;
}

.pata-copy-card .button {
  width: fit-content;
  margin-top: 14px;
}

@media (max-width: 900px) {
  .pata-case {
    grid-template-columns: 1fr;
  }

  .pata-brand-side {
    flex-direction: column;
  }

  .pata-logo-mark,
  .pata-wordmark {
    width: min(420px, 78vw);
  }
}

.nymph-tint {
  background: rgba(58, 82, 86, 0.48);
}

.nymph-logo-lockup {
  width: min(1170px, 92vw);
}

.nymph-hat {
  width: min(390px, 46vw);
}

.nymph-word {
  width: min(585px, 58vw);
}

.star-logo-lockup {
  gap: clamp(10px, 1.6vw, 26px);
  width: min(1215px, 94vw);
}

.star-logo {
  width: min(365px, 42vw);
}

.star-word {
  width: min(635px, 58vw);
}

.nymph-copy-card h2,
.star-copy-card h2 {
  font-size: clamp(1.7rem, 2.35vw, 2.65rem);
  line-height: 1.12;
}

.vagger-copy-card,
.star-copy-card,
.nymph-copy-card {
  position: relative;
  overflow: hidden;
  align-content: center;
  border-top: 8px solid rgba(255, 168, 74, 0.74);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 250, 243, 0.98) 68%, rgba(255, 237, 210, 0.96) 100%);
}

.star-copy-card {
  border-top-color: rgba(82, 189, 230, 0.72);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 252, 255, 0.98) 68%, rgba(224, 244, 255, 0.96) 100%);
}

.nymph-copy-card {
  border-top-color: rgba(92, 172, 188, 0.72);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 253, 252, 0.98) 68%, rgba(222, 242, 241, 0.96) 100%);
}

.vagger-copy-card .eyebrow,
.star-copy-card .eyebrow,
.nymph-copy-card .eyebrow {
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(142, 91, 62, 0.08);
}

.vagger-copy-card h2,
.star-copy-card h2,
.nymph-copy-card h2 {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(142, 91, 62, 0.14);
}

.vagger-copy-card h2 + p,
.star-copy-card h2 + p,
.nymph-copy-card h2 + p {
  color: var(--heading);
  font-weight: 800;
}

.vagger-copy-card .button,
.star-copy-card .button,
.nymph-copy-card .button {
  justify-self: end;
  margin-top: 18px;
}

.vagger-links {
  justify-content: flex-end;
}

.vagger-copy-card,
.star-copy-card,
.nymph-copy-card {
  grid-template-rows: auto auto 1fr auto;
  align-content: start;
  min-height: 560px;
  padding: clamp(38px, 4vw, 58px);
}

.vagger-copy-card .eyebrow,
.star-copy-card .eyebrow,
.nymph-copy-card .eyebrow {
  margin: 0;
  align-self: start;
}

.vagger-copy-card h2,
.star-copy-card h2,
.nymph-copy-card h2 {
  margin: 0;
  font-size: clamp(1.85rem, 2.2vw, 2.55rem);
  line-height: 1.12;
}

.nymph-copy-card h2 + p {
  font-weight: 500;
  color: var(--text);
}

.vagger-copy-card .button,
.star-copy-card .button,
.nymph-copy-card .button,
.vagger-links .button {
  justify-self: start;
  min-height: 46px;
  padding: 12px 22px;
  border: 1px solid rgba(142, 91, 62, 0.22);
  background: rgba(255, 255, 255, 0.74);
  color: var(--caramel);
  box-shadow: none;
}

.vagger-copy-card .button:hover,
.star-copy-card .button:hover,
.nymph-copy-card .button:hover,
.vagger-links .button:hover {
  background: rgba(255, 168, 74, 0.16);
  color: var(--heading);
}

.vagger-links {
  justify-content: flex-start;
}

.nymph-tint {
  background: rgba(45, 63, 68, 0.68);
}

.vagger-copy-card,
.star-copy-card,
.nymph-copy-card {
  grid-template-rows: none;
  min-height: auto;
}

.vagger-copy-card .button,
.star-copy-card .button,
.nymph-copy-card .button,
.vagger-links .button {
  justify-self: start;
  margin-top: 8px;
  min-height: 0;
  padding: 0 0 5px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--caramel);
  box-shadow: none;
  font-weight: 900;
  border-bottom: 2px solid currentColor;
}

.vagger-copy-card .button::after,
.star-copy-card .button::after,
.nymph-copy-card .button::after,
.vagger-links .button::after {
  content: " →";
}

.vagger-copy-card .button:hover,
.star-copy-card .button:hover,
.nymph-copy-card .button:hover,
.vagger-links .button:hover {
  background: transparent;
  color: var(--heading);
}

.pata-case {
  min-height: auto;
  padding: clamp(48px, 6vw, 88px) clamp(32px, 6vw, 96px);
  gap: clamp(32px, 5vw, 72px);
}

.pata-logo-mark {
  width: min(160px, 16vw);
}

.pata-wordmark {
  width: min(360px, 34vw);
}

.pata-copy-card {
  max-width: 720px;
  gap: 12px;
}

.pata-copy-card h2 {
  padding-left: 14px;
  border-left-width: 7px;
  font-size: clamp(1.9rem, 2.5vw, 3rem);
  line-height: 1.12;
}

.pata-copy-card p {
  font-size: 1rem;
  line-height: 1.9;
}

.pata-copy-card .button {
  margin-top: 12px;
  padding: 13px 24px;
  min-height: 48px;
  box-shadow: 0 16px 34px rgba(255, 168, 74, 0.18);
}

.nymph-tint {
  background: rgba(34, 48, 53, 0.78);
}

/* Playground motion polish */
@keyframes playground-fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes playground-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-12px) scale(1.015); }
}

@keyframes playground-glow {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(90, 220, 255, 0)); }
  50% { filter: drop-shadow(0 0 22px rgba(90, 220, 255, 0.34)); }
}

@keyframes playground-bg-breathe {
  0%, 100% { background-size: 100% auto; }
  50% { background-size: 106% auto; }
}

@keyframes playground-scan {
  from { transform: translateX(-120%); }
  to { transform: translateX(120%); }
}

.playground-case {
  animation: playground-fade-up 720ms ease both;
}

.vagger-case { animation-delay: 80ms; }
.star-case { animation-delay: 180ms; }
.nymph-case { animation-delay: 280ms; }
.pata-case { animation-delay: 380ms; }

.vagger-hero-cover img,
.vagger-story-bg,
.star-logo-scene,
.star-story-scene,
.nymph-logo-scene,
.nymph-story-scene {
  animation: playground-bg-breathe 14s ease-in-out infinite;
}

.star-logo,
.nymph-hat,
.pata-logo-mark {
  animation: playground-float 4.8s ease-in-out infinite, playground-glow 5.2s ease-in-out infinite;
}

.star-word,
.nymph-word,
.pata-wordmark {
  animation: playground-float 5.4s ease-in-out infinite reverse;
}

.playground-video-link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.22) 48%, transparent 76%);
  transform: translateX(-120%);
  pointer-events: none;
}

.playground-video-link:hover::before {
  animation: playground-scan 900ms ease;
}

.playground-video-link:hover img {
  transform: scale(1.045);
  filter: brightness(0.82) saturate(1.08);
}

.playground-video-link img {
  transition: transform 520ms ease, filter 520ms ease;
}

.playground-video-link span,
.vagger-copy-card .button,
.star-copy-card .button,
.nymph-copy-card .button,
.pata-copy-card .button {
  transition: transform 220ms ease, color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.playground-video-link:hover span,
.vagger-copy-card .button:hover,
.star-copy-card .button:hover,
.nymph-copy-card .button:hover,
.pata-copy-card .button:hover {
  transform: translateY(-2px);
}

.vagger-copy-card,
.star-copy-card,
.nymph-copy-card,
.pata-case {
  transition: transform 360ms ease, box-shadow 360ms ease;
}

.vagger-copy-card:hover,
.star-copy-card:hover,
.nymph-copy-card:hover,
.pata-case:hover {
  transform: translateY(-4px);
}

@media (prefers-reduced-motion: reduce) {
  .playground-case,
  .vagger-hero-cover img,
  .vagger-story-bg,
  .star-logo-scene,
  .star-story-scene,
  .nymph-logo-scene,
  .nymph-story-scene,
  .star-logo,
  .star-word,
  .nymph-hat,
  .nymph-word,
  .pata-logo-mark,
  .pata-wordmark {
    animation: none;
  }
}

.vagger-copy-card .button,
.vagger-links .button {
  color: #8d3f5f;
  border-bottom-color: rgba(141, 63, 95, 0.55);
}

.vagger-fb-link {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  color: rgba(91, 80, 74, 0.72);
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(91, 80, 74, 0.28);
}

.vagger-fb-link::before {
  content: "FB";
  margin-right: 8px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(141, 63, 95, 0.1);
  color: #8d3f5f;
  font-size: 0.72rem;
  font-weight: 900;
}

.vagger-links {
  gap: 16px;
  align-items: baseline;
}

.vagger-copy-card .button,
.vagger-links .button,
.vagger-fb-link {
  color: var(--caramel);
  border-bottom-color: rgba(161, 91, 56, 0.38);
}

.vagger-fb-link {
  margin-top: 0;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
}

.vagger-fb-link::before {
  content: none;
}

.vagger-fb-link::after {
  content: " →";
}

.vagger-links {
  gap: 20px;
}

/* Refined playground motion */
@keyframes star-pop-in {
  0% { opacity: 0; transform: scale(0.72) rotate(-10deg); }
  62% { opacity: 1; transform: scale(1.1) rotate(3deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes star-word-slide {
  from { opacity: 0; transform: translateX(46px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes nymph-drift {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}

@keyframes nymph-word-shimmer {
  0%, 100% { opacity: 0.9; filter: drop-shadow(0 0 0 rgba(120, 210, 255, 0)); }
  50% { opacity: 1; filter: drop-shadow(0 0 18px rgba(120, 210, 255, 0.42)); }
}

@keyframes pata-soft-pulse {
  0%, 100% { transform: scale(1); opacity: 0.88; }
  50% { transform: scale(1.035); opacity: 1; }
}

.star-logo {
  animation: star-pop-in 900ms cubic-bezier(.2, 1.45, .34, 1) both, playground-glow 4.8s ease-in-out 1s infinite;
}

.star-word {
  animation: star-word-slide 820ms ease 180ms both;
}

.nymph-hat {
  animation: nymph-drift 5.2s ease-in-out infinite;
}

.nymph-word {
  animation: nymph-word-shimmer 4.6s ease-in-out infinite;
}

.pata-logo-mark,
.pata-wordmark {
  animation: pata-soft-pulse 4.8s ease-in-out infinite;
}

.playground-video-link::before {
  content: none;
}

.playground-video-link img {
  filter: brightness(0.82) saturate(0.96);
  transition: filter 260ms ease;
}

.playground-video-link:hover img {
  transform: none;
  filter: brightness(0.74) saturate(1.02);
}

.playground-video-link span {
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--heading);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
}

.playground-video-link span::before {
  content: "▶";
  margin-right: 9px;
  color: var(--caramel);
}

.playground-video-link:hover span {
  transform: translate(-50%, -50%) scale(1.03);
}

/* Playground link color cleanup */
.vagger-copy-card { --case-accent: #a45b3f; }
.star-copy-card { --case-accent: #3f86a8; }
.nymph-copy-card { --case-accent: #4b8d8a; }
.pata-copy-card { --case-accent: #d18b46; }

.vagger-copy-card .button,
.star-copy-card .button,
.nymph-copy-card .button,
.pata-copy-card .button,
.vagger-fb-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 0;
  padding: 0 0 4px;
  margin: 10px 0 0;
  border: 0;
  border-bottom: 2px solid color-mix(in srgb, var(--case-accent, var(--caramel)) 55%, transparent);
  border-radius: 0;
  background: transparent;
  color: var(--case-accent, var(--caramel));
  box-shadow: none;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.2;
  transform: none;
}

.vagger-copy-card .button::after,
.star-copy-card .button::after,
.nymph-copy-card .button::after,
.pata-copy-card .button::after,
.vagger-fb-link::after {
  content: " →";
  margin-left: 2px;
}

.vagger-copy-card .button:hover,
.star-copy-card .button:hover,
.nymph-copy-card .button:hover,
.pata-copy-card .button:hover,
.vagger-fb-link:hover {
  color: var(--heading);
  border-bottom-color: var(--heading);
  background: transparent;
  transform: none;
}

.vagger-links {
  display: flex;
  align-items: baseline;
  gap: 22px;
  margin-top: 8px;
}

.vagger-links .button,
.vagger-links .vagger-fb-link {
  margin-top: 0;
}

.playground-video-link:hover span,
.vagger-copy-card .button:hover,
.star-copy-card .button:hover,
.nymph-copy-card .button:hover,
.pata-copy-card .button:hover {
  transform: none;
}

/* Playground action link final polish */
.vagger-copy-card .button,
.star-copy-card .button,
.nymph-copy-card .button,
.pata-copy-card .button,
.vagger-fb-link {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  width: fit-content;
  margin-top: 12px;
  padding: 0 0 3px;
  color: var(--case-accent, var(--caramel));
  border: 0;
  border-bottom: 1.5px solid color-mix(in srgb, var(--case-accent, var(--caramel)) 45%, transparent);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  line-height: 1.25;
  transform: none !important;
}

.vagger-copy-card .button::after,
.star-copy-card .button::after,
.nymph-copy-card .button::after,
.pata-copy-card .button::after,
.vagger-fb-link::after {
  content: none;
}

.vagger-copy-card .button:hover,
.star-copy-card .button:hover,
.nymph-copy-card .button:hover,
.pata-copy-card .button:hover,
.vagger-fb-link:hover {
  color: var(--heading);
  border-bottom-color: rgba(91, 80, 74, 0.42);
  transform: none !important;
}

.vagger-links {
  align-items: baseline;
  gap: 20px;
}

.vagger-links .button,
.vagger-links .vagger-fb-link {
  margin-top: 12px;
}

.playground-video-link span,
.playground-video-link:hover span {
  transform: translate(-50%, -50%) !important;
}

.playground-video-link:hover img {
  transform: none !important;
}

.star-copy-card { --case-accent: #4f7f92; }
.nymph-copy-card { --case-accent: #537f7c; }
.vagger-copy-card { --case-accent: #9a684f; }
.pata-copy-card { --case-accent: #b9824b; }

.vagger-case { --video-accent: #9a684f; }
.star-case { --video-accent: #4f7f92; }
.nymph-case { --video-accent: #537f7c; }

.playground-video-link span::before {
  color: var(--video-accent, var(--case-accent, var(--caramel)));
}

/* Stronger logo motion */
@keyframes star-logo-burst {
  0% { opacity: 0; transform: scale(0.45) rotate(-24deg); filter: drop-shadow(0 0 0 rgba(72, 210, 255, 0)); }
  48% { opacity: 1; transform: scale(1.22) rotate(8deg); filter: drop-shadow(0 0 32px rgba(72, 210, 255, 0.7)); }
  72% { transform: scale(0.92) rotate(-3deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); filter: drop-shadow(0 0 16px rgba(72, 210, 255, 0.36)); }
}

@keyframes star-logo-orbit {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); filter: drop-shadow(0 0 14px rgba(72, 210, 255, 0.28)); }
  35% { transform: translateY(-16px) rotate(-4deg) scale(1.045); filter: drop-shadow(0 0 30px rgba(72, 210, 255, 0.58)); }
  70% { transform: translateY(8px) rotate(3deg) scale(0.99); }
}

@keyframes star-word-streak {
  0% { opacity: 0; transform: translateX(90px) skewX(-8deg); filter: blur(8px); }
  58% { opacity: 1; transform: translateX(-12px) skewX(2deg); filter: blur(0); }
  100% { opacity: 1; transform: translateX(0) skewX(0); }
}

@keyframes star-word-hoverline {
  0%, 100% { transform: translateX(0) translateY(0); filter: drop-shadow(0 0 0 rgba(72, 210, 255, 0)); }
  50% { transform: translateX(10px) translateY(-4px); filter: drop-shadow(0 0 18px rgba(72, 210, 255, 0.34)); }
}

.star-logo {
  animation: star-logo-burst 1100ms cubic-bezier(.2, 1.55, .34, 1) both, star-logo-orbit 4.2s ease-in-out 1.15s infinite;
}

.star-word {
  animation: star-word-streak 950ms ease 160ms both, star-word-hoverline 4.8s ease-in-out 1.25s infinite;
}

.nymph-hat {
  animation: nymph-drift 3.4s ease-in-out infinite;
}

.nymph-word {
  animation: nymph-word-shimmer 2.8s ease-in-out infinite;
}

.pata-logo-mark,
.pata-wordmark {
  animation: pata-soft-pulse 3.2s ease-in-out infinite;
}

/* Scroll-triggered logo reveal */
.star-logo,
.star-word,
.nymph-hat,
.nymph-word,
.pata-logo-mark,
.pata-wordmark {
  opacity: 0;
  animation: none !important;
}

.logo-in-view .star-logo {
  animation: star-logo-burst 900ms cubic-bezier(.2, 1.55, .34, 1) both !important;
}

.logo-in-view .star-word {
  animation: star-word-streak 820ms ease 120ms both !important;
}

.logo-in-view .nymph-hat {
  animation: star-logo-burst 850ms cubic-bezier(.2, 1.45, .34, 1) both !important;
}

.logo-in-view .nymph-word {
  animation: star-word-streak 780ms ease 120ms both !important;
}

.logo-in-view .pata-logo-mark,
.logo-in-view .pata-wordmark {
  animation: star-logo-burst 760ms cubic-bezier(.2, 1.35, .34, 1) both !important;
}

.logo-in-view .pata-wordmark {
  animation-delay: 120ms !important;
}

@keyframes pata-mark-pop {
  0% { opacity: 0; transform: scale(0.72); filter: drop-shadow(0 0 0 rgba(209, 139, 70, 0)); }
  58% { opacity: 1; transform: scale(1.08); filter: drop-shadow(0 0 18px rgba(209, 139, 70, 0.22)); }
  100% { opacity: 1; transform: scale(1); filter: drop-shadow(0 0 0 rgba(209, 139, 70, 0)); }
}

.logo-in-view .pata-logo-mark,
.logo-in-view .pata-wordmark {
  animation: pata-mark-pop 760ms cubic-bezier(.2, 1.25, .34, 1) both !important;
}

.logo-in-view .pata-wordmark {
  animation-delay: 120ms !important;
}

.logo-in-view .nymph-hat,
.logo-in-view .nymph-word {
  filter: drop-shadow(0 0 20px rgba(105, 206, 255, 0.42)) drop-shadow(0 0 42px rgba(105, 206, 255, 0.18));
}

/* Logo motion direction v2 */
@keyframes star-emblem-impact {
  0% { opacity: 0; transform: scale(0.2) rotate(-32deg); filter: blur(10px) drop-shadow(0 0 0 rgba(74, 218, 255, 0)); }
  42% { opacity: 1; transform: scale(1.34) rotate(12deg); filter: blur(0) drop-shadow(0 0 42px rgba(74, 218, 255, 0.9)); }
  58% { transform: scale(0.86) rotate(-6deg); }
  74% { transform: scale(1.08) rotate(3deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); filter: drop-shadow(0 0 22px rgba(74, 218, 255, 0.48)); }
}

@keyframes star-word-impact {
  0% { opacity: 0; transform: translateX(130px) scaleX(1.18) skewX(-14deg); filter: blur(12px); }
  55% { opacity: 1; transform: translateX(-20px) scaleX(0.96) skewX(4deg); filter: blur(0); }
  78% { transform: translateX(8px) scaleX(1.02) skewX(-1deg); }
  100% { opacity: 1; transform: translateX(0) scaleX(1) skewX(0); }
}

@keyframes star-scene-flash {
  0% { opacity: 0; transform: translateX(-120%) skewX(-18deg); }
  38% { opacity: 0.85; }
  100% { opacity: 0; transform: translateX(130%) skewX(-18deg); }
}

.star-logo-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 18%, rgba(80, 220, 255, 0.18) 48%, transparent 72%);
  opacity: 0;
  pointer-events: none;
}

.logo-in-view.star-logo-scene::after {
  animation: star-scene-flash 980ms ease 120ms both;
}

.logo-in-view .star-logo {
  animation: star-emblem-impact 1050ms cubic-bezier(.15, 1.55, .28, 1) both !important;
}

.logo-in-view .star-word {
  animation: star-word-impact 960ms cubic-bezier(.16, 1.15, .32, 1) 140ms both !important;
}

@keyframes nymph-hat-soft-in {
  0% { opacity: 0; transform: translateY(18px) scale(0.92); filter: blur(8px) drop-shadow(0 0 0 rgba(105, 206, 255, 0)); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0) drop-shadow(0 0 18px rgba(105, 206, 255, 0.26)); }
}

@keyframes nymph-word-write-in {
  0% { opacity: 0; clip-path: inset(0 100% 0 0); filter: blur(5px) drop-shadow(0 0 0 rgba(105, 206, 255, 0)); }
  35% { opacity: 1; }
  100% { opacity: 1; clip-path: inset(0 0 0 0); filter: blur(0) drop-shadow(0 0 20px rgba(105, 206, 255, 0.32)); }
}

.logo-in-view .nymph-hat {
  animation: nymph-hat-soft-in 980ms ease both !important;
}

.logo-in-view .nymph-word {
  animation: nymph-word-write-in 1350ms ease 220ms both !important;
}

/* Playground logo motion final pass */
@keyframes star-mark-charge {
  0% { opacity: 0; transform: translate3d(-34px, 24px, 0) scale(0.38) rotate(-36deg); filter: blur(10px) drop-shadow(0 0 0 rgba(74, 218, 255, 0)); }
  34% { opacity: 1; transform: translate3d(10px, -12px, 0) scale(1.28) rotate(15deg); filter: blur(0) drop-shadow(0 0 54px rgba(74, 218, 255, 0.95)); }
  52% { transform: translate3d(-6px, 6px, 0) scale(0.88) rotate(-8deg); }
  70% { transform: translate3d(3px, -4px, 0) scale(1.08) rotate(4deg); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1) rotate(0); filter: drop-shadow(0 0 24px rgba(74, 218, 255, 0.52)); }
}

@keyframes star-word-comet {
  0% { opacity: 0; transform: translate3d(170px, 0, 0) scaleX(1.24) skewX(-18deg); filter: blur(14px); }
  48% { opacity: 1; transform: translate3d(-24px, -2px, 0) scaleX(0.93) skewX(6deg); filter: blur(0); }
  70% { transform: translate3d(10px, 0, 0) scaleX(1.03) skewX(-2deg); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scaleX(1) skewX(0); }
}

@keyframes star-mark-live {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0) scale(1); filter: drop-shadow(0 0 18px rgba(74, 218, 255, 0.35)); }
  42% { transform: translate3d(0, -18px, 0) rotate(-5deg) scale(1.045); filter: drop-shadow(0 0 34px rgba(74, 218, 255, 0.62)); }
  72% { transform: translate3d(0, 7px, 0) rotate(3deg) scale(0.99); }
}

@keyframes star-word-live {
  0%, 100% { transform: translate3d(0, 0, 0); filter: drop-shadow(0 0 0 rgba(74, 218, 255, 0)); }
  50% { transform: translate3d(12px, -5px, 0); filter: drop-shadow(0 0 18px rgba(74, 218, 255, 0.34)); }
}

@keyframes nymph-hat-bloom {
  0% { opacity: 0; transform: translate3d(0, 18px, 0) scale(0.95) rotate(-2deg); filter: blur(10px) drop-shadow(0 0 0 rgba(143, 225, 235, 0)); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1) rotate(0); filter: blur(0) drop-shadow(0 0 18px rgba(143, 225, 235, 0.28)); }
}

@keyframes nymph-word-handwrite {
  0% { opacity: 0; clip-path: inset(0 100% 0 0); transform: translate3d(-18px, 8px, 0) rotate(-1deg); filter: blur(7px) drop-shadow(0 0 0 rgba(143, 225, 235, 0)); }
  42% { opacity: 1; }
  72% { clip-path: inset(0 12% 0 0); transform: translate3d(3px, -2px, 0) rotate(0.4deg); }
  100% { opacity: 1; clip-path: inset(0 0 0 0); transform: translate3d(0, 0, 0) rotate(0); filter: blur(0) drop-shadow(0 0 20px rgba(143, 225, 235, 0.3)); }
}

@keyframes nymph-logo-breathe {
  0%, 100% { transform: translate3d(0, 0, 0); filter: drop-shadow(0 0 16px rgba(143, 225, 235, 0.22)); }
  50% { transform: translate3d(0, -7px, 0); filter: drop-shadow(0 0 25px rgba(143, 225, 235, 0.34)); }
}

.logo-in-view .star-logo {
  animation: star-mark-charge 1080ms cubic-bezier(.15, 1.55, .28, 1) both, star-mark-live 4.2s ease-in-out 1.15s infinite !important;
}

.logo-in-view .star-word {
  animation: star-word-comet 980ms cubic-bezier(.16, 1.15, .32, 1) 120ms both, star-word-live 4.8s ease-in-out 1.25s infinite !important;
}

.logo-in-view .nymph-hat {
  animation: nymph-hat-bloom 1050ms ease both, nymph-logo-breathe 5.4s ease-in-out 1.15s infinite !important;
}

.logo-in-view .nymph-word {
  animation: nymph-word-handwrite 1650ms cubic-bezier(.22, .9, .28, 1) 180ms both, nymph-logo-breathe 5.8s ease-in-out 1.95s infinite !important;
}

/* Playground logo motion final pass v2 */
.nymph-tint {
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
}

@keyframes nymph-color-cover {
  0% { opacity: 0; transform: scaleX(0); }
  58% { opacity: 1; transform: scaleX(1.04); }
  100% { opacity: 1; transform: scaleX(1); }
}

@keyframes nymph-logo-pop-clean {
  0% { opacity: 0; transform: translate3d(0, 20px, 0) scale(0.9); filter: none; }
  62% { opacity: 1; transform: translate3d(0, -4px, 0) scale(1.045); filter: none; }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); filter: none; }
}

.logo-in-view .star-logo {
  animation: star-mark-charge 1080ms cubic-bezier(.15, 1.55, .28, 1) 260ms both !important;
}

.logo-in-view .star-word {
  animation: star-word-comet 980ms cubic-bezier(.16, 1.15, .32, 1) 380ms both !important;
}

.logo-in-view .nymph-tint {
  animation: nymph-color-cover 720ms ease 180ms both !important;
}

.logo-in-view .nymph-hat,
.logo-in-view .nymph-word {
  animation: nymph-logo-pop-clean 820ms cubic-bezier(.2, 1.28, .34, 1) 820ms both !important;
}

.logo-in-view .nymph-word {
  animation-delay: 900ms !important;
}

/* Vagger hero motion */
.vagger-hero-cover {
  position: relative;
  background: #080517;
}

.vagger-hero-cover img {
  object-fit: contain;
  background: #080517;
  animation: vagger-hero-kenburns 8s ease-out both;
}

.vagger-hero-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(108deg, transparent 6%, rgba(255, 32, 188, 0.16) 22%, transparent 39%),
    linear-gradient(78deg, transparent 54%, rgba(34, 220, 255, 0.14) 66%, transparent 78%);
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  animation: vagger-neon-sweep 4.8s ease-in-out 450ms both;
}

@keyframes vagger-hero-kenburns {
  0% { transform: scale(1.035); filter: saturate(1.05) contrast(1.02); }
  100% { transform: scale(1); filter: saturate(1.12) contrast(1.04); }
}

@keyframes vagger-neon-sweep {
  0% { opacity: 0; transform: translateX(-32%) skewX(-10deg); }
  24% { opacity: 0.78; }
  62% { opacity: 0.5; }
  100% { opacity: 0; transform: translateX(34%) skewX(-10deg); }
}

/* Vagger hero reveal v2 */
.vagger-hero-cover img {
  animation: vagger-image-wipe 980ms cubic-bezier(.22, .88, .28, 1) 140ms both;
}

.vagger-hero-cover::after {
  background: linear-gradient(102deg, transparent 9%, rgba(255, 42, 194, 0.34) 35%, rgba(70, 226, 255, 0.26) 48%, transparent 66%);
  mix-blend-mode: screen;
  animation: vagger-brush-reveal 1150ms ease-out 80ms both;
}

@keyframes vagger-image-wipe {
  0% { opacity: 0; clip-path: inset(0 100% 0 0); filter: saturate(1.2) contrast(1.08); }
  38% { opacity: 1; }
  100% { opacity: 1; clip-path: inset(0 0 0 0); filter: saturate(1.12) contrast(1.04); }
}

@keyframes vagger-brush-reveal {
  0% { opacity: 0; transform: translateX(-48%) skewX(-12deg); }
  20% { opacity: 0.95; }
  74% { opacity: 0.72; }
  100% { opacity: 0; transform: translateX(54%) skewX(-12deg); }
}

/* Pata copy typography */
.pata-copy-card {
  gap: 18px;
}

.pata-copy-card h2 {
  padding-left: 18px;
  border-left-width: 6px;
  font-size: clamp(2.15rem, 2.25vw, 2.65rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0.02em;
}

.pata-copy-card p {
  max-width: 68ch;
  font-size: 1.04rem;
  line-height: 2.05;
  letter-spacing: 0.018em;
}

.pata-copy-card .eyebrow {
  margin-bottom: 2px;
  letter-spacing: 0.24em;
}

.pata-copy-card .button {
  margin-top: 16px;
}

/* Star logo motion timing */
@keyframes star-word-settle {
  0% { opacity: 0; transform: translate3d(150px, 8px, 0); filter: blur(12px); }
  42% { opacity: 1; transform: translate3d(-18px, 0, 0); filter: blur(0); }
  68% { transform: translate3d(6px, 0, 0); }
  100% { opacity: 1; transform: translate3d(0, 0, 0); filter: none; }
}

.logo-in-view .star-logo {
  animation: star-mark-charge 1450ms cubic-bezier(.15, 1.35, .28, 1) 320ms both !important;
}

.logo-in-view .star-word {
  animation: star-word-settle 1500ms cubic-bezier(.2, .92, .28, 1) 520ms both !important;
}

.logo-in-view.star-logo-scene::after {
  animation-duration: 1500ms;
  animation-delay: 260ms;
}

/* Nymph logo background depth */
.nymph-logo-scene::before {
  content: "";
  position: absolute;
  inset: -14px;
  background: url("assets/works/playground/遊戲C_寧芙日記 Nymph's Dairy/CG_A_1_S.png") center / cover no-repeat;
  filter: blur(6px);
  transform: scale(1.02);
}

.nymph-logo-scene {
  background: #1f3336;
}

.nymph-tint,
.nymph-logo-lockup {
  z-index: 1;
}

/* Restore Nymph handwriting reveal */
@keyframes nymph-word-write-clean {
  0% { opacity: 0; clip-path: inset(0 100% 0 0); transform: translate3d(-14px, 6px, 0); filter: none; }
  28% { opacity: 1; }
  72% { clip-path: inset(0 8% 0 0); transform: translate3d(2px, -1px, 0); filter: none; }
  100% { opacity: 1; clip-path: inset(0 0 0 0); transform: translate3d(0, 0, 0); filter: none; }
}

.logo-in-view .nymph-word {
  animation: nymph-word-write-clean 1650ms cubic-bezier(.22, .9, .28, 1) 920ms both !important;
}

/* Pata logo reveal rhythm */
@keyframes pata-mark-settle {
  0% { opacity: 0; transform: translate3d(0, 18px, 0) scale(0.92); filter: none; }
  62% { opacity: 1; transform: translate3d(0, -3px, 0) scale(1.025); filter: none; }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); filter: none; }
}

@keyframes pata-word-reveal {
  0% { opacity: 0; clip-path: inset(0 100% 0 0); transform: translate3d(-12px, 0, 0); filter: none; }
  38% { opacity: 1; }
  100% { opacity: 1; clip-path: inset(0 0 0 0); transform: translate3d(0, 0, 0); filter: none; }
}

.logo-in-view .pata-logo-mark {
  animation: pata-mark-settle 980ms cubic-bezier(.2, 1.05, .34, 1) 180ms both !important;
}

.logo-in-view .pata-wordmark {
  animation: pata-word-reveal 1150ms cubic-bezier(.22, .9, .28, 1) 520ms both !important;
}

/* Vagger hero reveal timing */
.vagger-hero-cover img {
  animation-duration: 1800ms;
  animation-delay: 180ms;
}

.vagger-hero-cover::after {
  animation-duration: 2100ms;
  animation-delay: 120ms;
}

/* Star logo final bounce */
@keyframes star-mark-bounce-final {
  0% { opacity: 0; transform: translate3d(-34px, 24px, 0) scale(0.38) rotate(-36deg); filter: blur(10px) drop-shadow(0 0 0 rgba(74, 218, 255, 0)); }
  36% { opacity: 1; transform: translate3d(10px, -12px, 0) scale(1.28) rotate(15deg); filter: blur(0) drop-shadow(0 0 54px rgba(74, 218, 255, 0.95)); }
  54% { transform: translate3d(-6px, 6px, 0) scale(0.88) rotate(-8deg); }
  72% { transform: translate3d(3px, -4px, 0) scale(1.08) rotate(4deg); }
  86% { transform: translate3d(0, 2px, 0) scale(0.97) rotate(-1deg); }
  94% { transform: translate3d(0, -2px, 0) scale(1.025) rotate(0.5deg); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1) rotate(0); filter: drop-shadow(0 0 24px rgba(74, 218, 255, 0.52)); }
}

@keyframes star-word-bounce-final {
  0% { opacity: 0; transform: translate3d(150px, 8px, 0); filter: blur(12px); }
  42% { opacity: 1; transform: translate3d(-18px, 0, 0); filter: blur(0); }
  66% { transform: translate3d(8px, 0, 0); }
  82% { transform: translate3d(-4px, 0, 0) scaleX(0.985); }
  94% { transform: translate3d(2px, 0, 0) scaleX(1.012); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scaleX(1); filter: none; }
}

.logo-in-view .star-logo {
  animation: star-mark-bounce-final 1700ms cubic-bezier(.16, 1.12, .28, 1) 320ms both !important;
}

.logo-in-view .star-word {
  animation: star-word-bounce-final 1650ms cubic-bezier(.2, .92, .28, 1) 520ms both !important;
}

/* Nymph handwriting no-jump fix */
@keyframes nymph-word-write-still {
  0% { opacity: 0; clip-path: inset(0 100% 0 0); transform: translate3d(0, 0, 0); filter: none; }
  28% { opacity: 1; }
  100% { opacity: 1; clip-path: inset(0 0 0 0); transform: translate3d(0, 0, 0); filter: none; }
}

.logo-in-view .nymph-word {
  animation: nymph-word-write-still 1650ms cubic-bezier(.22, .9, .28, 1) 920ms both !important;
}

/* Pata color cleanup */
.pata-copy-card {
  --case-accent: #d1974f;
  color: #665d55;
}

.pata-copy-card h2 {
  border-left-color: #d1974f;
  color: #5f554d;
}

.pata-copy-card .eyebrow {
  color: rgba(95, 85, 77, 0.48);
}

.pata-copy-card .button {
  color: #b9824b;
}

.pata-copy-card .button:hover {
  color: #5f554d;
}

/* Pata tone match */
.pata-copy-card {
  --case-accent: #a98263;
}

.pata-copy-card h2 {
  border-left-color: #a98263;
}

.pata-copy-card .button {
  color: #9a684f;
}

.pata-lead {
  color: #5f554d;
  font-weight: 700;
}

.pata-role-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 6px 0 2px;
}

.pata-role-grid div {
  padding: 16px 16px 18px;
  border: 1px solid rgba(169, 130, 99, 0.18);
  border-radius: 16px;
  background: rgba(255, 253, 249, 0.72);
}

.pata-role-grid span {
  display: block;
  margin-bottom: 8px;
  color: rgba(139, 79, 52, 0.58);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.pata-role-grid strong {
  display: block;
  color: #5f554d;
  font-size: 0.94rem;
  line-height: 1.7;
}

.nowrap {
  white-space: nowrap;
}

/* Scroll-trigger Vagger hero */
.vagger-hero-cover img {
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  animation: none !important;
}

.vagger-hero-cover.is-in-view img {
  animation: vagger-image-wipe 1800ms cubic-bezier(.22, .88, .28, 1) 180ms both !important;
}

.vagger-hero-cover::after {
  z-index: 2;
  animation: none !important;
}

.vagger-hero-cover.is-in-view::after {
  animation: vagger-brush-reveal 2100ms ease-out 120ms both !important;
}

/* Vagger final ambient brush loop */
.vagger-hero-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(104deg, transparent 16%, rgba(63, 224, 255, 0.14) 36%, rgba(255, 72, 194, 0.16) 48%, transparent 66%),
    linear-gradient(168deg, transparent 48%, rgba(107, 235, 255, 0.08) 58%, transparent 70%);
  mix-blend-mode: screen;
  opacity: 0;
  transform: translateX(-58%) skewX(-12deg);
  animation: none !important;
}

.vagger-hero-cover.is-in-view::before {
  animation: vagger-soft-brush-loop 7.5s ease-in-out 2.1s infinite !important;
}

.nymph-video-card .playground-video-link img {
  filter: brightness(0.92) saturate(1.03);
  object-position: center center;
}

.nymph-video-card .playground-video-link:hover img {
  filter: brightness(0.98) saturate(1.08);
}

@keyframes vagger-soft-brush-loop {
  0%, 100% { opacity: 0; transform: translateX(-58%) skewX(-12deg) scaleX(0.92); }
  18% { opacity: 0.34; }
  42% { opacity: 0.2; }
  68% { opacity: 0.3; transform: translateX(52%) skewX(-12deg) scaleX(1.04); }
  84% { opacity: 0; transform: translateX(62%) skewX(-12deg) scaleX(1); }
}

/* Pata logo/title refinement */
.pata-case {
  background:
    linear-gradient(90deg, #fffdf9 0%, #fffaf4 54%, #fff8f0 100%);
}

.pata-brand-side {
  filter: none;
}

.pata-logo-mark,
.pata-wordmark {
  filter: none !important;
}

.pata-copy-card h2 {
  color: #7d5a45;
}

/* Vagger ambient light sweep replacement */
.vagger-hero-cover::before {
  z-index: 3;
  background:
    linear-gradient(104deg, transparent 18%, rgba(56, 225, 255, 0.16) 38%, rgba(255, 44, 184, 0.18) 46%, transparent 62%),
    linear-gradient(170deg, transparent 56%, rgba(55, 220, 255, 0.12) 63%, transparent 72%);
  mix-blend-mode: screen;
  opacity: 0;
  transform: translateX(-42%) skewX(-10deg);
  animation: none !important;
}

.vagger-hero-cover.is-in-view::before {
  animation: vagger-city-light-sweep 6.4s ease-in-out 2.2s infinite !important;
}

@keyframes vagger-city-light-sweep {
  0%, 100% { opacity: 0; transform: translateX(-46%) skewX(-10deg); }
  18% { opacity: 0.48; }
  46% { opacity: 0.24; }
  72% { opacity: 0.5; transform: translateX(44%) skewX(-10deg); }
  88% { opacity: 0; transform: translateX(54%) skewX(-10deg); }
}

/* Vagger one-shot light brush */
.vagger-hero-cover::before {
  z-index: 3;
  background:
    radial-gradient(ellipse at 38% 44%, rgba(255, 255, 255, 0.24), transparent 18%),
    linear-gradient(104deg, transparent 18%, rgba(56, 225, 255, 0.24) 38%, rgba(255, 44, 184, 0.28) 48%, transparent 66%);
  mix-blend-mode: screen;
  opacity: 0;
  transform: translateX(-52%) skewX(-12deg);
  animation: none !important;
}

.vagger-hero-cover.is-in-view::before {
  animation: vagger-one-shot-brush 2300ms ease-out 260ms both !important;
}

@keyframes vagger-one-shot-brush {
  0% { opacity: 0; transform: translateX(-56%) skewX(-12deg) scaleX(0.86); }
  18% { opacity: 0.78; }
  48% { opacity: 0.56; }
  78% { opacity: 0.34; transform: translateX(42%) skewX(-12deg) scaleX(1.05); }
  100% { opacity: 0; transform: translateX(58%) skewX(-12deg) scaleX(1); }
}

/* Pata section subtle color */
.pata-case {
  background:
    radial-gradient(circle at 22% 46%, rgba(255, 226, 184, 0.34), transparent 24%),
    radial-gradient(circle at 74% 44%, rgba(232, 167, 154, 0.16), transparent 28%),
    linear-gradient(90deg, #fffdf9 0%, #fffaf4 52%, #fff7ee 100%);
}

.pata-brand-side {
  filter: drop-shadow(0 18px 34px rgba(139, 79, 52, 0.08));
}

.pata-copy-card {
  color: #716963;
}

.pata-copy-card h2 {
  color: #5a514b;
}

.pata-copy-card .eyebrow {
  color: rgba(139, 79, 52, 0.38);
}

/* Pata title alignment and site tone */
.pata-copy-card {
  --case-accent: #d8c8bb;
  color: var(--muted);
}

.pata-copy-card h2 {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-left: 0;
  border-left: 0;
  color: var(--heading);
}

.pata-copy-card h2::before {
  content: "";
  flex: 0 0 auto;
  width: 5px;
  height: 0.9em;
  border-radius: 999px;
  background: #d8c8bb;
}

.pata-copy-card .button {
  color: var(--caramel);
}

.pata-copy-card .button::after {
  background: rgba(139, 79, 52, 0.28);
}

.pata-copy-card .button:hover {
  color: var(--heading);
}

.playground-video-link.is-playing::before,
.playground-video-link.is-playing span {
  display: none;
}

.playground-video-link.is-playing iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.render-cover-image {
  padding: 0;
  background: #0d0b2a;
}

.render-cover-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.render-cover-image::after {
  display: none;
}

.portfolio-cover,
.cms-image-media {
  padding: 0;
  background: #fff8ef;
}

.portfolio-cover img,
.cms-image-media img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
}

.work-card.featured .cms-image-media,
.work-card.featured .mascot-sample {
  min-height: 300px;
  height: 300px;
  padding: clamp(16px, 2.4vw, 28px);
}

.work-card.featured .cms-image-media img,
.work-card.featured .mascot-sample img {
  width: min(76%, 500px);
  height: auto;
  max-width: 100%;
  max-height: 72%;
  object-fit: contain;
}

.work-card.featured .work-info {
  min-height: 230px;
  flex: 0 0 auto;
}

.work-card.featured .work-info p {
  flex: 0 0 auto;
}

.work-card.featured .work-info em {
  margin-top: auto;
}

.social-cover {
  background: #fff7f0;
}

.social-cover img {
  object-fit: cover;
  object-position: center 52%;
  padding: 0;
  background: #fff7f0;
}

.photo-cover img {
  object-position: center;
}

.work-card .portfolio-cover,
.work-card .cms-image-media {
  min-height: 300px;
  height: 300px;
}

.package-cover img {
  object-fit: cover;
  object-position: center 48%;
  padding: 0;
  background: linear-gradient(145deg, #fff8ee, #fff1eb);
}

.store-cover img {
  object-position: center 50%;
}

.illustration-cover img {
  object-fit: cover;
  object-position: center 34%;
  padding: 0;
  background: transparent;
}

.work-card .illustration-cover {
  background: #f46f91;
}

.work-card .illustration-cover img {
  transform: scale(1.06);
  transform-origin: center;
}

.work-card .event-cover img {
  object-position: center 14%;
}

.presentation-cover img {
  object-fit: cover;
  object-position: center;
  padding: 0;
  background: #f4f0ea;
}

.render-cover img {
  object-position: center 54%;
}

.video-cover img {
  object-position: center 44%;
}

.interactive-cover img {
  object-position: center;
}

@media (min-width: 901px) {
  .work-card .portfolio-cover,
  .work-card .cms-image-media,
  .work-card.featured .mascot-sample {
    min-height: 330px;
    height: 330px;
  }
}

.work-card {
  display: flex;
  flex-direction: column;
}

.work-card .work-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.work-card .work-info p {
  flex: 1;
  margin-bottom: 42px;
}

.work-card .work-info em {
  width: fit-content;
  margin-top: auto;
}

.work-card .youtube-work-cover {
  min-height: 300px;
  height: 300px;
}

@media (min-width: 901px) {
  .work-card .youtube-work-cover {
    min-height: 330px;
    height: 330px;
  }
}

.pata-copy-card h2 {
  display: block;
  gap: 0;
}

.pata-copy-card h2::before {
  display: none;
}

/* Vagger brush final override */
.vagger-hero-cover::before {
  content: "";
  position: absolute;
  inset: -18%;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 36% 38%, rgba(255, 241, 157, 0.36), transparent 15%),
    radial-gradient(ellipse at 68% 60%, rgba(80, 235, 255, 0.34), transparent 18%),
    linear-gradient(105deg, transparent 13%, rgba(47, 230, 255, 0.02) 22%, rgba(47, 230, 255, 0.68) 36%, rgba(155, 90, 255, 0.44) 47%, rgba(255, 64, 190, 0.62) 58%, rgba(255, 222, 120, 0.24) 66%, transparent 78%),
    linear-gradient(168deg, transparent 38%, rgba(105, 244, 255, 0.34) 52%, rgba(255, 205, 101, 0.22) 64%, transparent 78%);
  mix-blend-mode: screen;
  opacity: 0;
  filter: saturate(1.4) blur(0.3px);
  transform: translateX(-70%) skewX(-12deg);
  animation: none !important;
}

.vagger-hero-cover.is-in-view::before {
  animation: vagger-soft-brush-loop 6.8s ease-in-out 1.8s infinite !important;
}

@keyframes vagger-soft-brush-loop {
  0%, 100% { opacity: 0; transform: translateX(-72%) skewX(-12deg) scaleX(0.98); }
  13% { opacity: 0.92; }
  34% { opacity: 0.58; }
  54% { opacity: 0.82; }
  76% { opacity: 0.36; transform: translateX(48%) skewX(-12deg) scaleX(1.16); }
  92% { opacity: 0; transform: translateX(68%) skewX(-12deg) scaleX(1.04); }
}

/* Pata no-glow cleanup */
.pata-case {
  background: linear-gradient(90deg, #fffdf9 0%, #fffaf4 54%, #fff8f0 100%) !important;
}

.pata-brand-side,
.pata-logo-mark,
.pata-wordmark {
  filter: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

.logo-in-view .pata-logo-mark,
.logo-in-view .pata-wordmark {
  animation: pata-no-glow-pop 760ms cubic-bezier(.2, 1.25, .34, 1) both !important;
}

.logo-in-view .pata-wordmark {
  animation-delay: 120ms !important;
}

@keyframes pata-no-glow-pop {
  0% { opacity: 0; transform: scale(0.72); filter: none; }
  58% { opacity: 1; transform: scale(1.06); filter: none; }
  100% { opacity: 1; transform: scale(1); filter: none; }
}

/* Pata team experience polish */
.pata-brand-side,
.pata-logo-mark,
.pata-wordmark {
  filter: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

.pata-copy-card .button {
  display: none;
}

@media (max-width: 1100px) {
  .pata-role-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile homepage layout refinements */
@media (max-width: 760px) {
  .site-header {
    position: sticky;
    display: block;
    padding: 10px 0 8px;
    overflow: hidden;
  }

  .brand-mark {
    display: none;
  }

  .site-nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0 16px 4px;
    scrollbar-width: none;
    white-space: nowrap;
    font-size: 0.9rem;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    flex: 0 0 auto;
    padding: 8px 12px;
    border: 1px solid rgba(238, 227, 215, 0.78);
    background: rgba(255, 253, 249, 0.72);
  }

  .hero.section-band {
    min-height: auto;
    padding: 86px 20px 76px;
    background:
      linear-gradient(180deg, rgba(255, 250, 244, 0.98) 0%, rgba(255, 250, 244, 0.9) 54%, rgba(255, 250, 244, 0.82) 100%),
      url("assets/hero-pluffy-photo-mockup-small.jpg") 60% 54% / 185% auto no-repeat;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-brand-label {
    margin-bottom: 16px;
    font-size: 0.76rem;
    letter-spacing: 0.16em;
  }

  .hero h1 {
    max-width: 7.4em;
    font-size: clamp(3.25rem, 14vw, 4.2rem);
    line-height: 1.12;
    letter-spacing: 0.02em;
  }

  .hero-subtitle {
    max-width: 12em;
    margin-top: 22px;
    font-size: 1.05rem;
    line-height: 1.65;
    white-space: normal;
  }

  .hero-actions {
    display: grid;
    gap: 12px;
    margin-top: 34px;
  }

  .hero-actions .button {
    width: 100%;
    min-height: 56px;
  }

  .brand-section.section-band {
    padding-top: 58px;
  }

  .services-strip {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .services-strip article {
    grid-template-columns: 46px minmax(0, 1fr);
    justify-items: start;
    align-items: start;
    gap: 10px 14px;
    padding: 16px;
    text-align: left;
    border: 1px solid rgba(238, 227, 215, 0.82);
    border-radius: 20px;
    background: rgba(255, 253, 249, 0.82);
    box-shadow: 0 12px 30px rgba(139, 79, 52, 0.05);
  }

  .services-strip article + article {
    border-left: 1px solid rgba(238, 227, 215, 0.82);
  }

  .services-strip span {
    grid-row: span 2;
    width: 46px;
    height: 46px;
    border-radius: 15px;
  }

  .services-strip h2 {
    margin: 0;
    font-size: 1.03rem;
    line-height: 1.35;
  }

  .services-strip p {
    max-width: none;
    font-size: 0.92rem;
    line-height: 1.65;
  }

  .brand-layout {
    gap: 18px;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: clamp(2.85rem, 13vw, 3.55rem);
  }

  .hero.section-band {
    padding-top: 72px;
  }
}

/* Mobile pricing hero readability */
@media (max-width: 760px) {
  .price-hero.section-band {
    min-height: auto;
    display: block;
    padding: 76px 20px 88px;
    overflow: hidden;
    background: linear-gradient(180deg, #fffaf4 0%, #fff4e8 100%);
  }

  .price-hero > div:first-child {
    max-width: 100%;
    padding: 18px 0 0;
  }

  .price-hero .eyebrow {
    color: rgba(91, 80, 74, 0.58);
    text-shadow: 0 1px 10px rgba(255, 253, 249, 0.95);
  }

  .price-hero h1 {
    max-width: 7em;
    font-size: clamp(2.45rem, 11vw, 3.35rem);
    line-height: 1.12;
    color: #8b4f34;
    text-shadow: 0 2px 18px rgba(255, 253, 249, 0.9);
  }

  .price-hero p:not(.eyebrow) {
    max-width: 17em;
    margin-top: 16px;
    color: rgba(91, 80, 74, 0.78);
    font-size: 1rem;
    line-height: 1.8;
    text-shadow: 0 1px 12px rgba(255, 253, 249, 0.95);
  }

  .price-hero-photo {
    opacity: 0.72;
    background:
      linear-gradient(90deg, rgba(255, 250, 244, 1) 0%, rgba(255, 250, 244, 0.96) 38%, rgba(255, 250, 244, 0.72) 66%, rgba(255, 250, 244, 0.2) 100%),
      linear-gradient(180deg, rgba(255, 250, 244, 0.3), rgba(255, 250, 244, 0.92)),
      url("assets/pricing-hero-photo-mockup-small.jpg") 78% 46% / auto 100% no-repeat;
  }

  .process-section.section-band {
    padding-top: 44px;
    padding-bottom: 52px;
  }

  .process-grid {
    gap: 12px;
  }

  .process-grid article {
    min-height: 0;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 12px;
    align-items: start;
    padding: 18px 18px 18px 16px;
    border-radius: 20px;
  }

  .process-grid span {
    grid-row: span 2;
    padding-top: 2px;
    font-size: 0.98rem;
  }

  .process-grid h3 {
    margin: 0 0 4px;
    font-size: 1.08rem;
    line-height: 1.35;
  }

  .process-grid p {
    font-size: 0.92rem;
    line-height: 1.6;
  }
}

/* Pata section final layout tuning */
.pata-case {
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.18fr);
  gap: clamp(28px, 4vw, 58px);
}

.pata-brand-side {
  justify-content: flex-start;
  padding-left: clamp(10px, 2vw, 28px);
  gap: clamp(18px, 3vw, 42px);
}

.pata-logo-mark {
  width: min(138px, 13vw);
}

.pata-wordmark {
  width: min(330px, 30vw);
}

.pata-copy-card {
  max-width: 860px;
  width: 100%;
  justify-self: stretch;
  align-content: center;
}

.pata-role-grid {
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.85fr);
  width: 100%;
  align-items: stretch;
}

.pata-role-grid div {
  padding: 18px 18px 20px;
  min-height: 152px;
}

.pata-role-grid strong {
  font-size: 0.92rem;
  line-height: 1.75;
}

.pata-role-grid ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pata-role-grid li {
  position: relative;
  padding-left: 14px;
  color: #5f554d;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.65;
  width: max-content;
  max-width: 100%;
}

.pata-role-grid div:nth-child(2) li {
  font-size: 0.84rem;
  line-height: 1.52;
  width: auto;
}

.pata-role-grid div:nth-child(2) {
  padding-right: 22px;
}

.pata-role-grid div:nth-child(2) li:first-child {
  white-space: nowrap;
}

.pata-role-grid div:nth-child(1) li {
  white-space: nowrap;
}

.pata-role-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(169, 130, 99, 0.62);
}

@media (max-width: 1100px) {
  .pata-case {
    grid-template-columns: 1fr;
  }

  .pata-brand-side {
    justify-content: center;
    padding-left: 0;
  }

  .pata-logo-mark,
  .pata-wordmark {
    width: min(360px, 76vw);
  }

  .pata-role-grid {
    grid-template-columns: 1fr;
  }
}

/* Pata logo reveal final rhythm */
@keyframes pata-logo-settle-final {
  0% {
    opacity: 0;
    transform: translate3d(0, 14px, 0) scale(0.94);
    filter: none;
  }

  68% {
    opacity: 1;
    transform: translate3d(0, -2px, 0) scale(1.018);
    filter: none;
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: none;
  }
}

.logo-in-view .pata-logo-mark,
.logo-in-view .pata-wordmark {
  animation: pata-logo-settle-final 860ms cubic-bezier(.2, .98, .28, 1) both !important;
  filter: none !important;
}

.logo-in-view .pata-logo-mark {
  animation-delay: 120ms !important;
}

.logo-in-view .pata-wordmark {
  animation-delay: 190ms !important;
}

/* Global spacing tightening */
.section-band,
.section-wrap {
  padding-top: clamp(56px, 6.8vw, 92px);
  padding-bottom: clamp(56px, 6.8vw, 92px);
}

.section-heading {
  margin-bottom: 24px;
}

.work-filters {
  margin-bottom: 22px;
}

#pricing.section-wrap {
  padding-top: clamp(44px, 5.4vw, 76px);
}

main > .section-wrap:has(.pricing-grid.detail-pricing) {
  padding-bottom: clamp(30px, 3.4vw, 48px);
}

.project-gallery {
  padding-top: clamp(56px, 6.8vw, 92px);
  padding-bottom: clamp(56px, 6.8vw, 92px);
}

/* Photography archive */
.photo-hero-cover {
  width: min(520px, 100%);
  min-height: 0;
  aspect-ratio: 1;
  justify-self: end;
  overflow: hidden;
  border: 1px solid rgba(185, 126, 84, 0.16);
  border-radius: 28px;
  background: #fffaf4;
}

.photo-hero-cover img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.photo-taxonomy,
.photo-archive-note {
  padding: clamp(56px, 7vw, 96px) clamp(20px, 6vw, 80px);
  background: #fffdf9;
}

.photo-taxonomy h2,
.photo-archive-note h2 {
  margin: 0;
  color: var(--heading);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
}

.photo-taxonomy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.photo-taxonomy-grid article {
  min-height: 210px;
  padding: 24px;
  border: 1px solid rgba(185, 126, 84, 0.16);
  border-radius: 8px;
  background: #fffaf4;
}

.photo-taxonomy-grid span {
  color: rgba(246, 162, 74, 0.78);
  font-family: var(--font-latin);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
}

.photo-taxonomy-grid h3 {
  margin: 18px 0 10px;
  color: var(--caramel);
  font-size: 1.25rem;
}

.photo-taxonomy-grid p,
.photo-archive-note p,
.photo-archive-note li {
  color: var(--muted);
  line-height: 1.85;
}

.photography-gallery .gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.photography-gallery .gallery-item.large {
  grid-column: auto;
  grid-row: auto;
}

.photography-gallery .work-set-card {
  min-height: auto;
}

.photography-gallery .work-set-grid {
  aspect-ratio: 1;
  min-height: 0;
}

.photo-set-grid {
  background: #fffaf4;
}

.photo-set-grid img:first-child {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  object-fit: cover;
}

.invitation-set-grid {
  aspect-ratio: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr !important;
  grid-template-rows: 1fr !important;
  gap: 0;
  place-items: center;
}

.invitation-set-grid img:first-child {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  min-height: 0;
  object-fit: cover;
  padding: 0;
  margin: 0;
}

.photo-archive-note {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.65fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  background: #faf8f3;
}

.photo-archive-note p {
  max-width: 760px;
  margin: 18px 0 0;
}

.photo-archive-note ul {
  margin: 0;
  padding: 22px 24px;
  border: 1px solid rgba(185, 126, 84, 0.16);
  border-radius: 8px;
  background: #fffdf9;
  list-style-position: inside;
}

@media (max-width: 900px) {
  .photo-taxonomy-grid,
  .photography-gallery .gallery-grid,
  .photo-archive-note {
    grid-template-columns: 1fr;
  }

  .photo-hero-cover img {
    min-height: 0;
  }
}

/* Event visual archive */
.event-hero-cover {
  overflow: hidden;
  border: 1px solid rgba(185, 126, 84, 0.16);
  border-radius: 28px;
  background: #fffaf4;
}

.event-hero-cover img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.event-visual-note {
  padding: clamp(56px, 7vw, 96px) clamp(20px, 6vw, 80px);
  background: #fffdf9;
}

.event-visual-note h2 {
  margin: 0;
  color: var(--heading);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
}

.event-visual-note p:not(.eyebrow) {
  max-width: 820px;
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.85;
}

.event-gallery .gallery-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.event-gallery .work-set-card {
  min-height: auto;
}

.event-set-grid {
  aspect-ratio: 4 / 3;
  min-height: 0;
  background: #fffaf4;
}

.event-set-grid img:first-child {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  object-fit: cover;
}

@media (max-width: 900px) {
  .event-gallery .gallery-grid {
    grid-template-columns: 1fr;
  }

  .event-hero-cover img {
    min-height: 280px;
  }
}

@media (max-width: 760px) {
  .section-band,
  .section-wrap,
  .project-gallery {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .intro.section-band {
    padding-top: 26px;
    padding-bottom: 26px;
  }

  .hero.section-band,
  .price-hero.section-band {
    padding-top: 72px;
    padding-bottom: 64px;
  }
}

.pata-copy-card > .eyebrow,
.pata-copy-card > h2,
.pata-copy-card > .pata-lead,
.pata-copy-card > .pata-role-grid,
.pata-copy-card > p:last-child {
  width: 100%;
  max-width: 860px;
  margin-left: 0;
  margin-right: auto;
}

.pata-copy-card > .pata-lead,
.pata-copy-card > p:last-child {
  max-width: 760px;
}

.pata-copy-card > h2 {
  line-height: 1.1;
}

.pata-copy-card > p:last-child {
  margin-top: 4px;
}

/* Brand concept section alignment tune. */
.brand-case-section {
  align-items: start;
  padding-top: clamp(52px, 6vw, 84px);
  padding-bottom: clamp(52px, 6vw, 84px);
}

.brand-case-cards article {
  min-height: 198px;
  padding: 22px;
  align-content: start;
}

/* Brand application image sizing tune. */
.brand-application-visual {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.brand-application-visual img {
  height: clamp(340px, 25vw, 500px);
  aspect-ratio: auto;
  object-fit: cover;
}

.brand-application-visual img:nth-child(2) {
  transform: none;
}

@media (max-width: 760px) {
  .brand-application-visual img {
    height: auto;
    aspect-ratio: 1 / 1;
  }
}

/* Enlarge the primary complete logo display. */
.brand-logo-system figure:first-child img {
  width: min(72%, 560px);
  max-height: 420px;
}

/* Cleaner static cover for the local ad YouTube entry. */
.ad-truck-thumb {
  background: #f26416;
}

.ad-truck-thumb img {
  object-fit: contain;
  padding: clamp(14px, 3vw, 30px);
  background: #f26416;
}

/* Keep brand application images fully visible. */
.brand-application-visual img {
  object-fit: contain;
  padding: clamp(14px, 2.2vw, 26px);
  background: rgba(255, 253, 249, 0.92);
}

.brand-application-visual img:first-child {
  align-self: start;
  justify-self: end;
  width: min(108%, 620px);
  transform: translate(4%, -18px) rotate(-4deg);
}

.brand-application-visual img:nth-child(2) {
  align-self: end;
  justify-self: start;
  width: min(112%, 560px);
  transform: translate(-10%, 46px) rotate(5deg);
  z-index: 3;
}

.brand-application-visual:hover img:first-child {
  transform: translate(2%, -26px) rotate(-5deg);
}

.brand-application-visual:hover img:nth-child(2) {
  transform: translate(-12%, 34px) rotate(4deg);
}

@media (max-width: 760px) {
  .brand-application-visual img:first-child,
  .brand-application-visual img:nth-child(2),
  .brand-application-visual:hover img:first-child,
  .brand-application-visual:hover img:nth-child(2) {
    transform: none;
  }
}

/* Soften the brand application block back into a quiet Japanese paper mood. */
.brand-application-section {
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.78fr);
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 225, 185, 0.34), transparent 30%),
    linear-gradient(112deg, rgba(255, 244, 225, 0.58) 0 34%, rgba(255, 253, 249, 0.86) 34% 100%);
}

.brand-application-section::before {
  display: none;
}

.brand-application-section h2 {
  max-width: 11.4em;
}

.brand-application-visual {
  min-height: clamp(390px, 31vw, 560px);
  gap: clamp(10px, 2vw, 24px);
}

.brand-application-visual::before {
  inset: 10% auto auto 31%;
  width: 34%;
  border-radius: 18px;
  background:
    repeating-linear-gradient(135deg, rgba(242, 166, 90, 0.1) 0 7px, transparent 7px 17px),
    rgba(255, 253, 249, 0.7);
  transform: rotate(-5deg);
  box-shadow: none;
}

.brand-application-visual::after {
  content: "";
  right: 14%;
  top: 7%;
  width: 86px;
  height: 22px;
  padding: 0;
  border-radius: 3px;
  background: rgba(255, 246, 230, 0.72);
  border: 1px solid rgba(185, 126, 84, 0.12);
  box-shadow: 0 10px 20px rgba(91, 68, 52, 0.05);
  transform: rotate(-7deg);
}

.brand-application-visual img {
  border-radius: 18px;
  border-color: rgba(185, 126, 84, 0.14);
  box-shadow: 0 18px 40px rgba(91, 68, 52, 0.055);
}

.brand-application-visual img:first-child {
  width: min(94%, 560px);
  transform: translate(0, -8px) rotate(-2.2deg);
}

.brand-application-visual img:nth-child(2) {
  width: min(98%, 520px);
  transform: translate(-7%, 30px) rotate(2.4deg);
}

.brand-application-visual:hover img:first-child {
  transform: translate(0, -14px) rotate(-2.8deg);
}

.brand-application-visual:hover img:nth-child(2) {
  transform: translate(-8%, 24px) rotate(2deg);
}

@media (max-width: 760px) {
  .brand-application-section::before {
    display: none;
  }

  .brand-application-visual::after {
    right: 10%;
    top: 3%;
    width: 68px;
    height: 18px;
  }
}

/* Brand extension gallery refinement. */
.brand-extension-grid {
  grid-template-columns: minmax(0, 1.18fr) repeat(2, minmax(220px, 0.72fr));
  align-items: stretch;
}

.brand-extension-grid .gallery-item {
  min-height: 260px;
  padding: clamp(20px, 2.4vw, 32px);
}

.brand-extension-grid .gallery-item.large {
  grid-column: span 1;
  grid-row: span 2;
  min-height: 548px;
}

.brand-extension-grid .gallery-item img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
}

.brand-extension-main {
  background: #ffe2ae;
}

.brand-extension-main img {
  padding: clamp(8px, 1.2vw, 18px);
}

.brand-extension-logo img.logo-horizontal {
  width: min(86%, 460px);
  height: auto;
}

.brand-extension-badge img,
.brand-extension-character img {
  width: min(78%, 320px);
  height: auto;
}

@media (max-width: 900px) {
  .brand-extension-grid {
    grid-template-columns: 1fr;
  }

  .brand-extension-grid .gallery-item.large,
  .brand-extension-grid .gallery-item {
    min-height: 320px;
  }
}

/* Pricing page contact/footer spacing fix. */
.guide-section.section-wrap {
  padding-bottom: 0;
}

.guide-section .guide-contact {
  padding-top: clamp(34px, 4.2vw, 50px);
  padding-bottom: clamp(34px, 4.2vw, 50px);
}

.guide-section + .site-footer {
  margin-top: 0;
}

/* Compact the brand extension gallery after review. */
.brand-extension-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.brand-extension-grid .gallery-item.large,
.brand-extension-grid .gallery-item {
  grid-column: auto;
  grid-row: auto;
  min-height: 300px;
  padding: clamp(18px, 2vw, 28px);
}

.brand-extension-grid .gallery-item img {
  max-width: 82%;
  max-height: 210px;
  height: auto;
}

.brand-extension-main img {
  padding: 0;
}

@media (max-width: 1100px) {
  .brand-extension-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .brand-extension-grid {
    grid-template-columns: 1fr;
  }

  .brand-extension-grid .gallery-item.large,
  .brand-extension-grid .gallery-item {
    min-height: 260px;
  }
}

/* Pluffy brand page: Japanese brand manual mood. */
.brand-case-section {
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 225, 185, 0.32), transparent 26%),
    linear-gradient(180deg, rgba(255, 253, 249, 0.96), rgba(255, 248, 238, 0.72));
}

.brand-case-cards article {
  position: relative;
  border-style: solid;
  border-color: rgba(185, 126, 84, 0.12);
  background: rgba(255, 253, 249, 0.72);
  box-shadow: 0 12px 30px rgba(91, 68, 52, 0.035);
}

.brand-case-cards article::before {
  display: none;
}

.brand-case-cards article:nth-child(2)::before {
  display: none;
}

.brand-case-cards article:nth-child(3)::before {
  display: none;
}

.brand-system-section {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(255, 253, 249, 0.96) 0 48%, rgba(255, 245, 228, 0.76) 48% 100%);
}

.brand-system-copy h2 {
  max-width: 9.5em;
}

.brand-logo-system {
  position: relative;
  gap: clamp(14px, 2.2vw, 22px);
  padding: clamp(14px, 2vw, 20px);
  border: 1px solid rgba(185, 126, 84, 0.12);
  border-radius: 28px;
  background:
    linear-gradient(rgba(185, 126, 84, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185, 126, 84, 0.045) 1px, transparent 1px),
    rgba(255, 253, 249, 0.62);
  background-size: 28px 28px;
}

.brand-logo-system::before {
  content: "";
  position: absolute;
  inset: 18px auto auto 18px;
  width: 68px;
  height: 20px;
  border-radius: 999px;
  background: rgba(242, 166, 90, 0.18);
}

.brand-logo-system figure {
  border-radius: 22px;
  background:
    radial-gradient(circle at 86% 14%, rgba(255, 225, 185, 0.34), transparent 24%),
    rgba(255, 253, 249, 0.9);
  box-shadow: 0 14px 34px rgba(91, 68, 52, 0.045);
}

.brand-logo-system figure:first-child {
  transform: rotate(-1.6deg);
}

.brand-logo-system figure:nth-child(2) {
  transform: rotate(1.2deg);
}

.brand-logo-system figure:nth-child(3) {
  transform: rotate(-0.8deg);
}

.brand-tone-section {
  align-items: end;
  background:
    radial-gradient(circle at 85% 24%, rgba(255, 225, 185, 0.26), transparent 28%),
    linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(255, 250, 244, 0.88));
}

.brand-tone-section h2 {
  max-width: 8.8em;
}

.brand-tone-grid {
  align-items: end;
}

.brand-tone-grid article {
  position: relative;
  min-height: 176px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--tone) 58%, #fffdf9), color-mix(in srgb, var(--tone) 28%, #fffdf9));
  box-shadow: 0 18px 36px rgba(91, 68, 52, 0.055);
}

.brand-tone-grid article::after {
  content: "";
  position: absolute;
  left: auto;
  right: 18px;
  top: 18px;
  bottom: auto;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 253, 249, 0.72);
  border-radius: 50%;
  background: var(--tone);
  box-shadow: inset 0 0 0 8px rgba(255, 253, 249, 0.18);
}

.brand-tone-grid article:nth-child(2) {
  transform: translateY(-14px) rotate(-0.6deg);
}

.brand-tone-grid article:nth-child(3) {
  transform: translateY(-28px) rotate(0.8deg);
}

.brand-extension-grid .gallery-item {
  position: relative;
  border-style: dashed;
  border-color: rgba(185, 126, 84, 0.16);
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 225, 185, 0.24), transparent 28%),
    rgba(255, 253, 249, 0.82);
}

.brand-extension-grid .gallery-item::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 14px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(242, 166, 90, 0.42);
  box-shadow: 16px 0 0 rgba(242, 166, 90, 0.22);
}

.brand-extension-grid figcaption {
  padding: 8px 12px;
  border: 1px solid rgba(185, 126, 84, 0.13);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.78);
}

.brand-extension-logo {
  transform: rotate(0.7deg);
}

.brand-extension-badge {
  transform: rotate(-0.8deg);
}

.brand-extension-character {
  transform: rotate(0.5deg);
}

@media (max-width: 900px) {
  .brand-tone-grid article,
  .brand-logo-system figure,
  .brand-extension-logo,
  .brand-extension-badge,
  .brand-extension-character {
    transform: none;
  }
}

/* Pluffy brand page: clean up the over-decorated manual pass. */
.brand-system-section {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 225, 185, 0.18), transparent 26%),
    linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(255, 250, 244, 0.82));
}

.brand-logo-system {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.brand-logo-system::before {
  display: none;
}

.brand-logo-system figure,
.brand-logo-system figure:first-child,
.brand-logo-system figure:nth-child(2),
.brand-logo-system figure:nth-child(3) {
  transform: none;
}

.brand-logo-system figure {
  border-color: rgba(185, 126, 84, 0.12);
  border-radius: 18px;
  background: rgba(255, 253, 249, 0.78);
  box-shadow: 0 16px 36px rgba(91, 68, 52, 0.04);
}

.brand-tone-grid article,
.brand-tone-grid article:nth-child(2),
.brand-tone-grid article:nth-child(3) {
  min-height: 156px;
  transform: none;
}

.brand-tone-grid article::after {
  display: none;
}

/* Center the color mood row visually. */
.brand-tone-section {
  align-items: center;
}

.brand-tone-section > div:first-child {
  align-self: center;
}

.brand-tone-grid {
  align-items: center;
}

.brand-tone-grid article,
.brand-tone-grid article:nth-child(2),
.brand-tone-grid article:nth-child(3) {
  align-content: center;
}

.brand-tone-grid article:hover {
  transform: none;
}

/* Remove the temporary banner styling after switching to real YouTube embed. */
.embedded-video {
  background: #0f0f0f;
}

.embedded-video iframe {
  display: block;
}
