:root {
  --black: #16324f;
  --black-2: #244c73;
  --black-3: #eaf5fb;
  --white: #ffffff;
  --paper: #fffaf2;
  --paper-2: #fff4df;
  --paper-3: #fffdf9;
  --ink: #173152;
  --ink-soft: #4c6783;
  --muted: rgba(23, 49, 82, 0.72);
  --muted-dark: rgba(23, 49, 82, 0.82);
  --line: rgba(82, 149, 196, 0.18);
  --line-dark: rgba(82, 149, 196, 0.14);
  --accent: #ff7a45;
  --accent-text: #b54a20;
  --accent-soft: #ffba8a;
  --gold-soft: #ffe6a4;
  --sky: #85c9f1;
  --sky-soft: #e7f7ff;
  --lemon: #fff0a8;
  --mint: #e7faef;
  --surface: rgba(255, 255, 255, 0.76);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --surface-soft: rgba(255, 255, 255, 0.62);
  --shadow-soft: 0 14px 34px rgba(112, 156, 191, 0.07);
  --shadow-card: 0 18px 42px rgba(112, 156, 191, 0.1);
  --shadow-lift: 0 22px 50px rgba(112, 156, 191, 0.13);
  --max: 1360px;
  --header-h: 78px;
  --radius-2xl: 32px;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --ease: cubic-bezier(0.2, 0.72, 0.22, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 0;
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background:
    linear-gradient(180deg, #fbfeff 0%, #fffaf2 42%, #f5fbff 100%);
  overflow-x: hidden;
}

body::selection {
  color: var(--ink);
  background: rgba(255, 122, 69, 0.32);
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

section {
  position: relative;
}

#top,
#brands,
#works,
#academy,
#birthday,
#ip,
#ip-top,
#contact,
#channels {
  scroll-margin-top: 24px;
}

[id^="works-"] {
  scroll-margin-top: 108px;
}

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 120;
  width: var(--scroll-progress, 0%);
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, #ffb25f 48%, var(--sky) 100%);
  box-shadow: 0 0 28px rgba(255, 122, 69, 0.34);
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  width: min(calc(100% - 48px), 1440px);
  min-height: var(--header-h);
  padding: 8px 12px;
  border: 1px solid rgba(122, 189, 228, 0.22);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 36px rgba(103, 149, 190, 0.12);
  transform: translateX(-50%);
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease, top 220ms ease;
}

.site-header.is-scrolled {
  top: 10px;
  border-color: rgba(122, 189, 228, 0.32);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 40px rgba(97, 144, 186, 0.16);
}

.brand {
  display: flex;
  align-items: center;
  width: clamp(150px, 13vw, 218px);
  min-width: 0;
}

.brand img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 22px rgba(101, 152, 195, 0.18));
}

.site-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.05vw, 18px);
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  color: rgba(23, 49, 82, 0.72);
  font-size: clamp(0.68rem, 0.68vw, 0.8rem);
  font-weight: 800;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  background: var(--accent);
  content: "";
  opacity: 0;
  transform: scaleX(0.2);
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--ink);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 5px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(122, 189, 228, 0.32);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.menu-toggle span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.menu-toggle b {
  margin-left: 6px;
  font-size: 0.78rem;
}

.section-shell {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}

.section-heading,
.contact-layout,
.academy-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 54px);
}

.section-heading {
  margin-bottom: clamp(28px, 4vw, 54px);
}

.section-heading::after {
  flex: 1 1 220px;
  height: 1px;
  margin-bottom: 16px;
  background: linear-gradient(90deg, rgba(133, 201, 241, 0.34) 0%, rgba(255, 186, 138, 0.28) 44%, rgba(255, 255, 255, 0) 100%);
  content: "";
}

.section-heading h2,
.company-copy h3,
.brand-group-head h3,
.work-copy h3,
.academy-intro h3,
.contact-layout h2 {
  margin: 0;
  letter-spacing: 0;
}

.section-heading h2,
.contact-layout h2 {
  font-size: clamp(2.1rem, 3rem, 3.2rem);
  font-weight: 950;
  line-height: 1;
}

.section-kicker,
.hero-meta span,
.brand-card-copy span,
.work-index,
.work-eyebrow,
.contact-list span,
.brand-group-head span {
  display: block;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-kicker.light,
.brand-group-head span,
.work-eyebrow {
  color: var(--accent);
}

.section-heading p:not(.section-kicker),
.company-copy p,
.brand-card-copy p,
.work-description,
.academy-copy p,
.contact-intro {
  margin: 0;
  line-height: 1.82;
}

.section-heading p:not(.section-kicker),
.company-copy p,
.work-description {
  color: var(--muted-dark);
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
}

.section-heading.dark p:not(.section-kicker),
.hero-summary,
.brand-card-copy p,
.academy-copy p,
.contact-intro {
  color: var(--muted-dark);
}

.section-heading.dark h2,
.academy-intro h3,
.contact-layout h2 {
  color: var(--ink);
}

.hero {
  min-height: min(790px, 88svh);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #f5fbff;
}

.hero::before,
.hero::after {
  content: none;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  opacity: 1;
  transform: scale(1.01);
  filter: saturate(1.02) contrast(1.01) brightness(1.03);
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(251, 254, 255, 0.92) 0%, rgba(251, 254, 255, 0.78) 34%, rgba(255, 250, 242, 0.34) 58%, rgba(255, 250, 242, 0.06) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.26) 0%, rgba(255, 250, 242, 0.06) 62%, rgba(255, 250, 242, 0.68) 100%);
}

.hero-content {
  position: relative;
  display: block;
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 140px 0 80px;
}

.hero-content::before {
  content: none;
}

.hero-content > * {
  position: relative;
  z-index: 1;
  max-width: none;
}

.hero-copy {
  display: grid;
  align-content: start;
  gap: 0;
  max-width: 650px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-brand-lockup {
  margin-top: 26px;
  padding-top: 0;
  border-top: 0;
}

.hero-logo {
  width: min(230px, 48vw);
  margin: 0;
  filter: drop-shadow(0 10px 22px rgba(130, 176, 212, 0.18));
}

.hero-logo-script {
  width: min(226px, 52vw);
}

.hero-slogan-image {
  width: min(590px, 62vw);
  margin: 12px 0 0;
  line-height: 0;
}

.hero-slogan-image img {
  width: 100%;
  height: auto;
}

.hero-summary {
  max-width: 28ch;
  margin: 24px 0 0;
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 760;
  line-height: 1.72;
  text-shadow: 0 10px 22px rgba(255, 255, 255, 0.7);
}

.hero-meta {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 2;
  display: flex;
  gap: 14px;
  width: min(calc(100% - 48px), var(--max));
  transform: translateX(-50%);
}

.hero-meta article {
  flex: 1 1 0;
  min-height: 76px;
  padding: 14px 18px;
  border: 1px solid rgba(122, 189, 228, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.hero-meta strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: clamp(1rem, 1.26vw, 1.26rem);
  font-weight: 900;
  line-height: 1.2;
}

.company-section {
  padding: 112px 0;
  color: var(--ink);
  background: linear-gradient(180deg, #fffdf8 0%, #f5fbff 100%);
}

.company-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.44fr) minmax(380px, 0.56fr);
  gap: clamp(34px, 5vw, 76px);
  align-items: stretch;
}

.company-copy {
  display: grid;
  align-content: start;
  gap: 18px;
}

.company-copy h3 {
  color: var(--ink);
  font-size: clamp(1.85rem, 3vw, 2.85rem);
  font-weight: 950;
  line-height: 1.08;
}

.company-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.company-facts li {
  min-height: 114px;
  padding: 18px 18px 20px;
  border: 1px solid rgba(118, 182, 227, 0.16);
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  box-shadow: var(--shadow-soft);
}

.company-facts strong {
  display: block;
  color: var(--ink);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 950;
  line-height: 0.96;
  letter-spacing: 0;
}

.company-facts span {
  display: block;
  margin-top: 12px;
  color: var(--muted-dark);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.6;
}

.company-visual {
  position: relative;
  overflow: hidden;
  min-height: clamp(420px, 48vw, 700px);
  margin: 0;
  border: 1px solid rgba(118, 182, 227, 0.18);
  border-radius: var(--radius-2xl);
  background: var(--black);
  box-shadow: var(--shadow-card);
}

.company-visual img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.company-visual::after {
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(0deg, rgba(22, 50, 79, 0.6), rgba(22, 50, 79, 0));
  content: "";
}

.company-visual figcaption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 1;
  color: var(--white);
}

.company-visual figcaption span {
  display: block;
  margin-bottom: 12px;
  color: var(--accent-soft);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.company-visual figcaption strong {
  display: block;
  max-width: 560px;
  font-size: clamp(1.4rem, 2.8vw, 2.6rem);
  line-height: 1.16;
  letter-spacing: 0;
}

.fec-method {
  display: grid;
  gap: 28px;
  margin-top: 86px;
  padding: 64px 0 0;
  border-top: 1px solid rgba(118, 182, 227, 0.18);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.fec-method-main {
  display: grid;
  grid-template-columns: minmax(0, 0.46fr) minmax(360px, 0.54fr);
  gap: clamp(24px, 3vw, 42px);
  align-items: stretch;
}

.fec-copy {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 8px 0;
}

.fec-heading h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.9rem, 3vw, 2.85rem);
  font-weight: 950;
  line-height: 1.1;
  letter-spacing: 0;
}

.fec-copy p {
  margin: 0;
  color: var(--muted-dark);
  font-size: clamp(1rem, 1.1vw, 1.08rem);
  line-height: 1.78;
}

.fec-definition {
  margin-top: 4px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 122, 69, 0.14);
  border-radius: 18px;
  color: var(--ink);
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.92) 0%, rgba(255, 255, 255, 0.82) 100%);
  font-weight: 820;
}

.fec-photo {
  position: relative;
  min-height: clamp(420px, 36vw, 560px);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(118, 182, 227, 0.18);
  border-radius: 30px;
  background: #f6fbff;
  box-shadow: var(--shadow-card);
}

.fec-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.02) brightness(1.02);
}

.fec-photo::after {
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(0deg, rgba(23, 49, 82, 0.58), rgba(23, 49, 82, 0));
  content: "";
}

.fec-photo figcaption {
  position: absolute;
  left: clamp(16px, 2vw, 24px);
  right: clamp(16px, 2vw, 24px);
  bottom: clamp(16px, 2vw, 24px);
  z-index: 1;
  margin: 0;
  color: var(--white);
}

.fec-photo figcaption span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-soft);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.fec-photo figcaption strong {
  display: block;
  max-width: 520px;
  font-size: clamp(1.15rem, 1.9vw, 1.7rem);
  line-height: 1.3;
}

.fec-principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.fec-principle {
  display: grid;
  gap: 10px;
  min-height: 156px;
  padding: 20px;
  border: 1px solid rgba(118, 182, 227, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: none;
  transition: transform 220ms var(--ease), border-color 220ms ease, box-shadow 220ms ease;
}

.fec-principle:hover {
  border-color: rgba(255, 122, 69, 0.18);
  box-shadow: 0 16px 32px rgba(109, 154, 192, 0.09);
  transform: translateY(-2px);
}

.fec-principle span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: var(--accent);
  background: rgba(255, 122, 69, 0.1);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.fec-principle strong,
.fec-principle small {
  display: block;
}

.fec-principle strong {
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 920;
  line-height: 1.2;
}

.fec-principle small {
  color: rgba(23, 49, 82, 0.54);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.fec-principle p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 640;
  line-height: 1.62;
}

.fec-portfolio {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
  gap: 22px;
  align-items: center;
  padding: 22px 0 0;
  border: 0;
  border-top: 1px solid rgba(118, 182, 227, 0.14);
  border-radius: 0;
  background: transparent;
}

.fec-portfolio-copy {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.15rem, 1.65vw, 1.42rem);
  font-weight: 850;
  line-height: 1.5;
}

.fec-brand-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.fec-brand-links a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(118, 182, 227, 0.18);
  border-radius: 999px;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
  box-shadow: 0 10px 22px rgba(118, 166, 205, 0.06);
  font-size: 0.94rem;
  font-weight: 780;
  transition: transform 220ms var(--ease), border-color 220ms ease, box-shadow 220ms ease, color 220ms ease;
}

.fec-brand-links a:hover,
.fec-brand-links a:focus-visible {
  border-color: rgba(255, 122, 69, 0.26);
  color: var(--ink);
  box-shadow: 0 16px 30px rgba(118, 166, 205, 0.1);
  transform: translateY(-2px);
}

.brand-matrix {
  padding: clamp(96px, 11vw, 156px) 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(133, 201, 241, 0.16) 0%, rgba(133, 201, 241, 0) 28%),
    radial-gradient(circle at 84% 12%, rgba(255, 186, 138, 0.16) 0%, rgba(255, 186, 138, 0) 24%),
    linear-gradient(180deg, #f8fcff 0%, #fffdf8 100%);
}

.brand-groups {
  display: grid;
  gap: 34px;
}

.brand-group {
  padding-top: clamp(26px, 3vw, 38px);
  border-top: 1px solid rgba(118, 182, 227, 0.14);
}

.brand-group-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.brand-group-head h3 {
  color: var(--ink);
  font-size: clamp(1.6rem, 2vw, 2.3rem);
  font-weight: 900;
}

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

.brand-card-link {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr;
  min-height: 392px;
  overflow: hidden;
  padding: 12px;
  border: 1px solid rgba(118, 182, 227, 0.2);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(250, 253, 255, 0.98) 100%);
  transition:
    transform 220ms var(--ease),
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.brand-card-link::after {
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 2;
  color: rgba(23, 49, 82, 0.6);
  font-size: 1rem;
  font-weight: 900;
  content: "↘";
  transition: transform 220ms var(--ease), color 220ms ease;
}

.brand-card-link:hover,
.brand-card-link:focus-visible {
  border-color: rgba(255, 122, 69, 0.34);
  background: linear-gradient(180deg, #ffffff 0%, #fbfeff 100%);
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

.brand-card-link:hover::after,
.brand-card-link:focus-visible::after {
  color: var(--accent-soft);
  transform: translate(2px, 2px);
}

.brand-visual {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--sky-soft) 0%, #ffffff 100%);
}

.brand-visual::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.42) 100%),
    linear-gradient(135deg, rgba(255, 240, 168, 0.22) 0%, rgba(231, 247, 255, 0) 72%);
  content: "";
}

.brand-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.01) brightness(1.04);
  transition: transform 520ms var(--ease), filter 220ms ease;
}

.brand-card-link:hover .brand-visual img,
.brand-card-link:focus-visible .brand-visual img {
  filter: saturate(1.06) contrast(1.02) brightness(1.08);
  transform: scale(1.035);
}

.brand-icon-slot,
.work-logo-stage {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 98px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 30px rgba(118, 166, 205, 0.08);
}

.brand-icon-slot {
  width: calc(100% - 28px);
  margin: -30px auto 0;
  z-index: 1;
}

.brand-logo,
.theme-logo,
.work-logo {
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.brand-logo {
  max-height: 82px;
}

.brand-logo-cartoony {
  max-height: 86px;
}

.brand-logo-bonchacha {
  max-height: 108px;
}

.brand-logo-safari {
  max-height: 88px;
}

.brand-logo-fun-museum,
.brand-logo-fun-forward {
  max-height: 92px;
}

.brand-logo-superbon {
  max-height: 90px;
}

.theme-logo {
  max-height: 58px;
}

.brand-card-copy {
  display: grid;
  gap: 8px;
  padding: 20px 16px 16px;
}

.brand-card-copy strong {
  color: var(--ink);
  font-size: clamp(1.1rem, 1.3vw, 1.32rem);
  font-weight: 900;
  line-height: 1.28;
}

.brand-card-copy span {
  color: #4d95cf;
  letter-spacing: 0.12em;
}

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

.brand-group:first-of-type .brand-card-grid > .brand-card-link:first-child {
  grid-column: span 2;
  grid-template-columns: minmax(0, 0.58fr) minmax(280px, 0.42fr);
  grid-template-rows: auto 1fr;
  align-items: stretch;
  min-height: 410px;
}

.brand-group:first-of-type .brand-card-grid > .brand-card-link:first-child .brand-visual {
  grid-column: 1;
  grid-row: 1 / span 3;
  min-height: 100%;
}

.brand-group:first-of-type .brand-card-grid > .brand-card-link:first-child .brand-visual img {
  height: 100%;
  aspect-ratio: auto;
}

.brand-group:first-of-type .brand-card-grid > .brand-card-link:first-child .brand-icon-slot {
  width: auto;
  margin: 10px 10px 0 0;
  justify-self: stretch;
  align-self: start;
}

.brand-group:first-of-type .brand-card-grid > .brand-card-link:first-child .brand-card-copy {
  align-content: center;
  padding: 18px 16px 20px 10px;
}

.works-section {
  padding: 112px 0;
  color: var(--ink);
  background: linear-gradient(180deg, #fffdf8 0%, #fff7ed 100%);
}

.section-anchor {
  position: absolute;
  top: 0;
}

.works-layout {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  gap: clamp(26px, 3.2vw, 50px);
  align-items: start;
  min-width: 0;
}

.works-main,
.brand-directory {
  min-width: 0;
}

.brand-directory {
  position: sticky;
  top: 108px;
  align-self: start;
  padding: 6px 22px 22px 0;
  border-right: 1px solid rgba(118, 182, 227, 0.24);
}

.brand-directory-heading {
  margin-bottom: 22px;
}

.brand-directory-heading h2 {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: clamp(1.8rem, 2.5vw, 2.6rem);
  line-height: 1;
}

.brand-directory-nav {
  display: grid;
  gap: 4px;
}

.brand-directory-nav span {
  margin: 16px 0 5px;
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-directory-nav a {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 8px;
  align-items: center;
  min-height: 42px;
  padding: 7px 10px;
  border-radius: 12px;
  color: rgba(23, 49, 82, 0.72);
  font-size: 0.88rem;
  font-weight: 780;
  line-height: 1.25;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.brand-directory-nav a b {
  color: rgba(255, 122, 69, 0.72);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
}

.brand-directory-nav a:hover,
.brand-directory-nav a:focus-visible,
.brand-directory-nav a.is-active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  transform: translateX(3px);
}

.works-list {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 22px;
}

.work-entry {
  grid-column: span 6;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
  padding: 20px;
  border: 1px solid rgba(118, 182, 227, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
}

.work-entry.is-reverse {
  grid-template-columns: 1fr;
}

.work-entry.is-reverse .work-copy {
  order: initial;
}

.work-entry.is-reverse .work-gallery {
  order: initial;
}

.work-copy {
  display: grid;
  align-content: start;
  gap: 14px;
  max-width: none;
}

.work-index {
  color: var(--accent);
}

.work-logo-stage {
  justify-content: flex-start;
  width: 100%;
  min-height: 118px;
  padding: 4px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.work-logo {
  max-width: min(360px, 92%);
  max-height: 112px;
}

.work-logo-cartoony {
  max-height: 122px;
}

.work-logo-bonchacha {
  max-height: 116px;
}

.work-logo-safari {
  max-height: 96px;
}

.work-logo-superbon {
  max-height: 132px;
}

.work-eyebrow {
  letter-spacing: 0.14em;
}

.work-copy h3 {
  color: var(--ink);
  font-size: 2rem;
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: 0;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.work-tags li {
  padding: 11px 16px;
  border: 1px solid rgba(255, 122, 69, 0.16);
  border-radius: 999px;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, #fffaf2 100%);
  font-size: 0.92rem;
  font-weight: 760;
}

.work-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto;
  gap: 12px;
}

.work-shot {
  overflow: hidden;
  margin: 0;
  border-radius: 18px;
  background: var(--sky-soft);
  box-shadow: 0 12px 28px rgba(118, 166, 205, 0.08);
}

.work-shot-large {
  grid-column: span 2;
  grid-row: auto;
}

.work-shot img {
  width: 100%;
  height: auto;
  min-height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(0.98) contrast(1.02) brightness(1.02);
  transition: transform 520ms var(--ease), filter 220ms ease;
}

.work-entry:hover .work-shot img,
.work-entry:focus-within .work-shot img {
  transform: scale(1.03);
  filter: saturate(1.04) contrast(1.02) brightness(1.05);
}

#works-cartoony,
#works-circus,
#works-superbon {
  grid-column: span 12;
  grid-template-columns: minmax(280px, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: 28px;
  border-radius: 22px;
}

#works-superbon {
  grid-template-columns: minmax(0, 0.66fr) minmax(280px, 0.34fr);
}

#works-superbon .work-copy {
  order: 2;
}

#works-superbon .work-gallery {
  order: 1;
}

#works-cartoony .work-gallery,
#works-circus .work-gallery,
#works-superbon .work-gallery {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.82fr);
  grid-template-rows: repeat(2, minmax(210px, 1fr));
}

#works-cartoony .work-shot-large,
#works-circus .work-shot-large,
#works-superbon .work-shot-large {
  grid-column: auto;
  grid-row: span 2;
}

#works-cartoony .work-shot img,
#works-circus .work-shot img,
#works-superbon .work-shot img {
  height: 100%;
  aspect-ratio: auto;
}

.academy-section {
  padding: clamp(96px, 11vw, 156px) 0;
  background:
    radial-gradient(circle at 14% 8%, rgba(133, 201, 241, 0.18) 0%, rgba(133, 201, 241, 0) 32%),
    radial-gradient(circle at 88% 18%, rgba(255, 186, 138, 0.16) 0%, rgba(255, 186, 138, 0) 26%),
    linear-gradient(180deg, #f6fbff 0%, #fffaf2 100%);
}

.academy-heading {
  margin-bottom: clamp(30px, 5vw, 54px);
}

.academy-intro {
  grid-template-columns: minmax(0, 0.5fr) minmax(320px, 0.5fr);
  align-items: end;
  margin-bottom: 26px;
}

.academy-intro h3 {
  font-size: clamp(1.95rem, 3.45vw, 3.3rem);
  font-weight: 950;
  line-height: 1.04;
  letter-spacing: 0;
}

.academy-copy {
  display: grid;
  gap: 16px;
}

.academy-positioning {
  color: var(--ink);
  font-weight: 760;
}

.academy-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 clamp(34px, 5vw, 58px);
  padding: 0;
  border: 0;
  list-style: none;
}

.academy-facts li {
  min-height: 96px;
  padding: 20px;
  border: 1px solid rgba(118, 182, 227, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.academy-facts strong {
  display: block;
  color: var(--ink);
  font-size: clamp(1.45rem, 2.4vw, 2.5rem);
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
}

.academy-facts span {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 760;
}

.academy-story {
  display: grid;
  gap: clamp(20px, 3vw, 30px);
}

.academy-story-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.6fr) minmax(340px, 0.4fr);
  align-items: stretch;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(118, 182, 227, 0.2);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-card);
}

.academy-story-hero img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  aspect-ratio: auto;
  display: block;
  object-fit: cover;
  filter: saturate(0.98) contrast(1.02) brightness(1.02);
}

.academy-story-hero figcaption {
  display: grid;
  align-content: center;
  gap: 12px;
  max-width: none;
  padding: clamp(28px, 4vw, 58px);
  background: linear-gradient(145deg, #ffffff 0%, #edf9ff 100%);
}

.academy-story-hero span,
.academy-scene-copy span {
  display: block;
  color: var(--accent-text);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.academy-story-hero strong {
  color: var(--ink);
  font-size: clamp(1.55rem, 3vw, 2.7rem);
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: 0;
}

.academy-story-hero em,
.academy-project-subtitle {
  display: block;
  color: var(--ink);
  font-size: clamp(1.04rem, 1.55vw, 1.3rem);
  font-style: normal;
  font-weight: 850;
  line-height: 1.45;
}

.academy-story-hero p,
.academy-scene-copy p {
  margin: 0;
  color: var(--muted-dark);
  line-height: 1.76;
}

.academy-scenes {
  display: grid;
  gap: 22px;
}

.academy-scene {
  display: grid;
  grid-template-columns: minmax(0, 0.56fr) minmax(320px, 0.44fr);
  gap: clamp(18px, 3vw, 30px);
  align-items: stretch;
  padding: clamp(18px, 2vw, 22px);
  border: 1px solid rgba(118, 182, 227, 0.18);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
  transition: transform 220ms var(--ease), box-shadow 220ms ease, border-color 220ms ease;
}

.academy-scene:hover,
.academy-scene:focus-within {
  transform: translateY(-2px);
  border-color: rgba(255, 122, 69, 0.18);
  box-shadow: var(--shadow-card);
}

.academy-scene.is-reverse .academy-scene-media {
  order: 2;
}

.academy-scene.is-reverse .academy-scene-copy {
  order: 1;
}

.academy-scene-media {
  overflow: hidden;
  min-height: 340px;
  margin: 0;
  border-radius: 22px;
  background: var(--sky-soft);
}

.academy-scene-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.98) contrast(1.02) brightness(1.02);
  transition: transform 520ms var(--ease), filter 220ms ease;
}

.academy-scene:hover .academy-scene-media img,
.academy-scene:focus-within .academy-scene-media img {
  transform: scale(1.03);
  filter: saturate(1.02) contrast(1.03) brightness(1.04);
}

.academy-scene-copy {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: clamp(6px, 1vw, 10px) clamp(2px, 0.5vw, 6px);
}

.academy-scene-copy h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.7rem, 3vw, 3rem);
  font-weight: 950;
  line-height: 1.1;
  letter-spacing: 0;
}

.academy-consult-link {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  margin-top: 4px;
  padding: 0 20px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #a94316 0%, #b95622 100%);
  box-shadow: 0 12px 28px rgba(255, 122, 69, 0.2);
  font-size: 0.92rem;
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.academy-consult-link:hover,
.academy-consult-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(255, 122, 69, 0.26);
}

.academy-scene-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.academy-scene-tags li {
  padding: 10px 14px;
  border: 1px solid rgba(118, 182, 227, 0.18);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 780;
  line-height: 1.2;
  box-shadow: 0 8px 18px rgba(118, 166, 205, 0.06);
}

.inner-page {
  background: linear-gradient(180deg, #f6fbff 0%, #fffaf2 48%, #eef9ff 100%);
}

.inner-page main {
  overflow: hidden;
}

.inner-hero {
  display: grid;
  align-items: center;
  min-height: 720px;
  padding: 142px 0 86px;
}

.home-ip-hero {
  min-height: auto;
  padding: clamp(86px, 10vw, 140px) 0;
}

.ip-hero {
  background:
    radial-gradient(circle at 8% 18%, rgba(255, 186, 138, 0.22) 0%, transparent 32%),
    radial-gradient(circle at 88% 12%, rgba(133, 201, 241, 0.24) 0%, transparent 34%),
    linear-gradient(180deg, #fffdf8 0%, #edf9ff 100%);
}

.consultation-hero {
  background:
    radial-gradient(circle at 10% 22%, rgba(255, 224, 155, 0.25) 0%, transparent 30%),
    linear-gradient(180deg, #fff9ef 0%, #f1faff 100%);
}

.consultation-page .section-kicker,
.consultation-page .inner-hero-copy > strong,
.consultation-page .party-service-grid span {
  color: var(--accent-text);
}

.inner-hero-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.4fr) minmax(0, 0.6fr);
  gap: clamp(34px, 6vw, 90px);
  align-items: center;
}

.inner-hero-copy h1,
.home-ip-hero .inner-hero-copy h2 {
  margin: 12px 0 20px;
  color: var(--ink);
  font-size: clamp(3.2rem, 6.5vw, 6.6rem);
  font-weight: 950;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.inner-hero-copy > strong {
  display: block;
  margin: -4px 0 18px;
  color: var(--accent);
  font-size: clamp(1.25rem, 2vw, 1.85rem);
  line-height: 1.35;
}

.inner-hero-copy > p:not(.section-kicker) {
  max-width: 46ch;
  margin: 0;
  color: var(--muted-dark);
  font-size: 1.08rem;
  line-height: 1.82;
}

.inner-hero-media {
  overflow: hidden;
  min-height: 480px;
  margin: 0;
  border: 1px solid rgba(118, 182, 227, 0.18);
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.inner-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

.ip-content-section {
  padding: clamp(86px, 10vw, 140px) 0;
  background: #fffdf8;
}

.ip-story-list {
  display: grid;
  gap: clamp(48px, 7vw, 92px);
}

.ip-story {
  display: grid;
  grid-template-columns: minmax(300px, 0.36fr) minmax(0, 0.64fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

.ip-story.is-reverse {
  grid-template-columns: minmax(0, 0.64fr) minmax(300px, 0.36fr);
}

.ip-story.is-reverse .ip-story-copy {
  order: 2;
}

.ip-story.is-reverse .ip-gallery,
.ip-story.is-reverse .ip-single-visual {
  order: 1;
}

.ip-story-copy {
  display: grid;
  align-content: center;
  gap: 15px;
}

.ip-story-copy > span {
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.ip-story-copy h2,
.home-ip-content .ip-story-copy h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 3.6vw, 4.2rem);
  font-weight: 950;
  line-height: 1.03;
}

.ip-story-copy strong {
  color: var(--ink);
  font-size: clamp(1.1rem, 1.8vw, 1.48rem);
  line-height: 1.4;
}

.ip-story-copy p {
  margin: 0;
  color: var(--muted-dark);
  line-height: 1.82;
}

.ip-story-copy small {
  color: rgba(23, 49, 82, 0.56);
  line-height: 1.6;
}

.ip-gallery,
.ip-single-visual {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(118, 182, 227, 0.16);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.ip-gallery {
  display: grid;
  gap: 10px;
  padding: 10px;
}

.ip-gallery img,
.ip-single-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ip-gallery img {
  border-radius: 19px;
}

.ip-gallery-animation {
  grid-template-columns: minmax(0, 1.35fr) minmax(180px, 0.65fr);
  min-height: 520px;
}

.ip-gallery-stage {
  grid-template-columns: minmax(0, 1.35fr) minmax(190px, 0.65fr);
  grid-template-rows: repeat(2, minmax(220px, 1fr));
}

.ip-gallery-stage img:first-child {
  grid-row: span 2;
}

.ip-single-visual img {
  min-height: 460px;
  max-height: 640px;
  object-fit: cover;
}

.inner-page-cta {
  padding: 92px 0;
  background:
    radial-gradient(circle at 82% 20%, rgba(255, 186, 138, 0.2) 0%, transparent 32%),
    linear-gradient(135deg, #e9f8ff 0%, #fff7eb 100%);
}

.inner-page-cta-content {
  text-align: center;
}

.inner-page-cta-content h2 {
  margin: 12px auto 26px;
  color: var(--ink);
  font-size: clamp(2.1rem, 4vw, 4.3rem);
  line-height: 1.06;
}

.inner-page-cta-content a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #ff6e42 0%, #ff9b55 100%);
  box-shadow: 0 12px 28px rgba(255, 122, 69, 0.2);
  font-weight: 850;
}

.party-service-section,
.party-process-section {
  padding: clamp(82px, 9vw, 126px) 0;
}

.party-service-section {
  background: #fffdf8;
}

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

.party-service-grid article {
  min-height: 220px;
  padding: 26px;
  border: 1px solid rgba(118, 182, 227, 0.16);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.party-service-grid span {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.party-service-grid h3 {
  margin: 30px 0 12px;
  color: var(--ink);
  font-size: 1.42rem;
}

.party-service-grid p {
  margin: 0;
  color: var(--muted-dark);
  line-height: 1.72;
}

.party-process-section {
  background: linear-gradient(180deg, #eef9ff 0%, #fff7ed 100%);
}

.party-process-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(340px, 0.42fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

.party-process-layout.is-simple {
  grid-template-columns: 1fr;
}

.party-process-layout.is-simple .party-process-copy {
  width: min(100%, 880px);
  margin: 0 auto;
}

.party-process-copy h2 {
  margin: 10px 0 32px;
  color: var(--ink);
  font-size: clamp(2.15rem, 4vw, 4.4rem);
  line-height: 1.04;
}

.party-process-copy ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.party-process-copy li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(118, 182, 227, 0.18);
}

.party-process-copy li b {
  color: var(--accent-text);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.party-process-copy li span {
  color: var(--muted-dark);
  line-height: 1.65;
}

.party-process-copy li strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.partnership-hero {
  background:
    radial-gradient(circle at 10% 22%, rgba(255, 186, 138, 0.2) 0%, transparent 30%),
    linear-gradient(180deg, #fffaf1 0%, #edf9ff 100%);
}

.partnership-hero .inner-hero-copy h1 {
  margin-top: 0;
  font-size: clamp(3.2rem, 6vw, 5.8rem);
  line-height: 1;
}

.partnership-services {
  padding: clamp(82px, 9vw, 126px) 0;
  background: #fffdf8;
}

.partnership-services h2 {
  margin: 0 0 clamp(30px, 4vw, 48px);
  color: var(--ink);
  font-size: clamp(2.1rem, 3.7vw, 3.7rem);
  line-height: 1.08;
}

.partnership-service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.partnership-service-grid article {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 190px;
  padding: 26px;
  border: 1px solid rgba(118, 182, 227, 0.18);
  border-radius: 20px;
  background: linear-gradient(160deg, #ffffff 0%, #f2faff 100%);
  box-shadow: var(--shadow-soft);
}

.partnership-service-grid article::before {
  width: 38px;
  height: 3px;
  border-radius: 999px;
  background: var(--accent);
  content: "";
}

.partnership-service-grid h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.2rem, 1.6vw, 1.55rem);
  line-height: 1.3;
}

.legacy-redirect {
  display: grid;
  place-content: center;
  min-height: 100svh;
  padding: 32px;
  text-align: center;
}

.legacy-redirect h1 {
  margin: 0 0 18px;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.legacy-redirect p {
  margin: 0;
  line-height: 1.7;
}

.legacy-redirect a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.contact-section {
  padding: clamp(74px, 9vw, 120px) 0 34px;
  background:
    radial-gradient(circle at 14% 18%, rgba(133, 201, 241, 0.18) 0%, rgba(133, 201, 241, 0) 26%),
    linear-gradient(180deg, #fff8ef 0%, #eef9ff 100%);
}

.contact-layout {
  flex-direction: column;
  align-items: stretch;
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.contact-list article {
  min-height: 148px;
  padding: 24px;
  border: 1px solid rgba(118, 182, 227, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.contact-list strong {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1.35;
}

.contact-mail {
  display: inline-block;
  margin-top: 16px;
  color: rgba(23, 49, 82, 0.82);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.5;
  word-break: break-all;
}

.contact-mail:hover,
.contact-mail:focus-visible {
  color: var(--ink);
}

.contact-item-wide {
  grid-column: 1 / -1;
  min-height: auto;
}

.contact-phone-label {
  margin-top: 20px;
}

.contact-phone {
  margin-top: 8px;
}

.social-qr-block {
  padding: 28px;
  border: 1px solid rgba(118, 182, 227, 0.16);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(235, 248, 255, 0.82) 100%);
  box-shadow: var(--shadow-soft);
}

.social-qr-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.social-qr-head span {
  color: var(--accent-text);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.social-qr-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.15;
}

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

.social-qr-card {
  --qr: #1d8e70;
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 184px;
  padding: 16px;
  border: 1px solid color-mix(in srgb, var(--qr) 20%, rgba(118, 182, 227, 0.14));
  border-radius: 20px;
  background:
    radial-gradient(circle at 18% 16%, color-mix(in srgb, var(--qr) 13%, transparent) 0%, transparent 36%),
    rgba(255, 255, 255, 0.94);
}

.social-qr-card-video {
  --qr: #418db0;
}

.social-qr-card-douyin {
  --qr: #173152;
}

.social-qr-card-rednote {
  --qr: #ff4563;
}

.social-qr-card strong {
  display: block;
  color: var(--ink);
  font-size: 1.06rem;
  font-weight: 900;
  line-height: 1.25;
}

.social-qr-card span {
  display: block;
  margin-top: 8px;
  color: rgba(23, 49, 82, 0.64);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.5;
}

.social-qr-image {
  display: grid;
  place-items: center;
  width: 140px;
  aspect-ratio: 1;
  padding: 4px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(23, 49, 82, 0.08);
}

.social-qr-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.social-qr-image:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

@media (max-width: 1280px) {
  .social-qr-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .partnership-service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.site-footer {
  padding: 20px 24px 26px;
  border-top: 1px solid rgba(118, 182, 227, 0.1);
  color: rgba(23, 49, 82, 0.62);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.56) 0%, rgba(255, 255, 255, 0.72) 100%);
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 650;
  letter-spacing: 0.02em;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 720ms var(--ease), transform 720ms var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1800px) and (min-width: 1181px) {
  .site-header {
    gap: 12px;
    width: min(calc(100% - 32px), 1120px);
    min-height: 70px;
    padding: 8px 12px;
  }

  .brand {
    width: clamp(142px, 10vw, 178px);
  }

  .site-nav {
    gap: clamp(10px, 1vw, 18px);
  }

  .site-nav a {
    min-height: 38px;
    font-size: 0.72rem;
    letter-spacing: 0.035em;
  }
}

@media (max-width: 1180px) {
  .site-header {
    width: min(calc(100% - 28px), 1180px);
    min-height: 68px;
    padding: 8px 10px;
  }

  .brand {
    width: clamp(128px, 16vw, 170px);
  }

  .menu-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    grid-template-columns: none;
    gap: clamp(6px, 0.75vw, 11px);
    width: auto;
    overflow: visible;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    min-height: 40px;
    padding: 0;
    font-size: 0.72rem;
    letter-spacing: 0.015em;
  }

  .site-nav a::after {
    left: 0;
    right: 0;
    width: auto;
  }

  .hero {
    min-height: min(840px, 92svh);
  }

  .hero-content {
    padding: 132px 0 140px;
  }

  .hero-copy {
    max-width: 620px;
  }

  .section-heading,
  .company-grid,
  .fec-method-main,
  .contact-layout,
  .academy-intro {
    grid-template-columns: 1fr;
  }

  .section-heading::after {
    flex-basis: 100%;
    margin-bottom: 0;
  }

  .brand-card-grid,
  .theme-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-group-head {
    display: grid;
  }

  .fec-principles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fec-photo {
    min-height: 420px;
  }

  .fec-portfolio {
    grid-template-columns: 1fr;
  }

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

  .work-entry,
  .work-entry.is-reverse,
  .work-entry:nth-child(3n + 2),
  .work-entry:nth-child(3n + 3),
  #works-cartoony,
  #works-circus,
  #works-superbon {
    grid-template-columns: 1fr;
    grid-column: auto;
  }

  .work-entry.is-reverse .work-copy,
  .work-entry.is-reverse .work-gallery,
  .work-entry:nth-child(3n + 2) .work-copy,
  .work-entry:nth-child(3n + 2) .work-gallery,
  .work-entry:nth-child(3n + 3) .work-copy,
  .work-entry:nth-child(3n + 3) .work-gallery,
  #works-superbon .work-copy,
  #works-superbon .work-gallery {
    order: initial;
  }

  .work-entry:nth-child(3n + 2) .work-gallery,
  .work-entry:nth-child(3n + 3) .work-gallery,
  #works-cartoony .work-gallery,
  #works-circus .work-gallery,
  #works-superbon .work-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .work-entry:nth-child(3n + 2) .work-shot-large,
  .work-entry:nth-child(3n + 3) .work-shot-large,
  #works-cartoony .work-shot-large,
  #works-circus .work-shot-large,
  #works-superbon .work-shot-large {
    grid-column: auto;
    grid-row: auto;
  }

  .academy-scene,
  .academy-scene.is-reverse {
    grid-template-columns: 1fr;
  }

  .academy-scene.is-reverse .academy-scene-media,
  .academy-scene.is-reverse .academy-scene-copy {
    order: initial;
  }

  .academy-scene-media {
    min-height: 300px;
  }

  .contact-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .social-qr-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 64px;
  }

  .site-header {
    top: 12px;
    width: min(calc(100% - 20px), 1480px);
    grid-template-columns: auto 1fr;
    gap: 10px;
    border-radius: 18px;
  }

  .menu-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0 8px;
    width: auto;
    max-width: calc(100vw - 172px);
    overflow: visible;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    min-height: 30px;
    padding: 0;
    font-size: clamp(0.52rem, 1.45vw, 0.62rem);
    letter-spacing: 0.005em;
  }

  .site-nav a::after {
    left: 0;
    right: 0;
    width: auto;
  }

  .brand {
    width: 146px;
  }

  .menu-toggle {
    min-height: 38px;
    padding: 0 12px;
  }

  .hero {
    min-height: 760px;
    align-items: start;
  }

  .hero-bg {
    object-position: 62% center;
    filter: saturate(1) contrast(1) brightness(1.06);
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(251, 254, 255, 0.94) 0%, rgba(251, 254, 255, 0.74) 60%, rgba(255, 250, 242, 0.12) 100%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 250, 242, 0.1) 52%, rgba(255, 250, 242, 0.78) 100%);
  }

  .hero-content,
  .section-shell {
    width: min(calc(100% - 28px), var(--max));
  }

  .hero-content {
    padding: 116px 0 160px;
  }

  .hero-copy {
    max-width: none;
    padding: 0;
    border-radius: 0;
    background: transparent;
  }

  .hero-brand-lockup {
    margin-top: 18px;
    padding-top: 18px;
  }

  .hero-logo {
    width: min(208px, 54vw);
  }

  .hero-logo-script {
    width: min(220px, 58vw);
  }

  .hero h1 {
    font-size: 1.55rem;
  }

  .hero-slogan {
    max-width: 7.4em;
    font-size: 3.25rem;
  }

  .hero-summary {
    max-width: 28ch;
  }

  .hero-meta {
    position: absolute;
    left: 50%;
    bottom: 18px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: min(calc(100% - 28px), var(--max));
    background: none;
    box-shadow: none;
    backdrop-filter: none;
    transform: translateX(-50%);
  }

  .hero-meta article {
    min-height: 66px;
    padding: 12px 16px;
    border-right: 1px solid rgba(122, 189, 228, 0.16);
    border-bottom: 0;
  }

  .hero-meta article:last-child {
    border-bottom: 0;
  }

  .company-section,
  .brand-matrix,
  .works-section,
  .academy-section,
  .contact-section {
    padding: 72px 0;
  }

  .company-facts,
  .brand-card-grid,
  .theme-card-grid,
  .academy-facts,
  .contact-list {
    grid-template-columns: 1fr;
  }

  .fec-method {
    gap: 20px;
    margin-top: 42px;
    padding: 42px 0 0;
    border-radius: 0;
  }

  .fec-copy {
    padding: 4px;
  }

  .fec-photo {
    min-height: 300px;
    border-radius: 20px;
  }

  .fec-principles {
    grid-template-columns: 1fr;
  }

  .fec-principle {
    min-height: auto;
    padding: 16px;
  }

  .fec-portfolio {
    gap: 14px;
    padding: 16px;
  }

  .fec-brand-links a {
    width: 100%;
    justify-content: center;
  }

  .company-visual {
    min-height: 360px;
  }

  .company-visual figcaption {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .brand-group {
    padding-top: 22px;
  }

  .brand-card-link {
    min-height: 364px;
  }

  .brand-group:first-of-type .brand-card-grid > .brand-card-link:first-child {
    grid-column: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr;
    min-height: 364px;
  }

  .brand-group:first-of-type .brand-card-grid > .brand-card-link:first-child .brand-visual,
  .brand-group:first-of-type .brand-card-grid > .brand-card-link:first-child .brand-icon-slot,
  .brand-group:first-of-type .brand-card-grid > .brand-card-link:first-child .brand-card-copy {
    grid-column: auto;
    grid-row: auto;
  }

  .brand-group:first-of-type .brand-card-grid > .brand-card-link:first-child .brand-icon-slot {
    width: calc(100% - 28px);
    margin: -30px auto 0;
    justify-self: auto;
    align-self: auto;
  }

  .brand-group:first-of-type .brand-card-grid > .brand-card-link:first-child .brand-card-copy {
    padding: 20px 16px 16px;
  }

  .brand-icon-slot {
    min-height: 92px;
  }

  .brand-visual img {
    aspect-ratio: 16 / 11;
  }

  .work-entry {
    padding: 16px;
  }

  .work-logo-stage {
    min-height: 126px;
    justify-content: center;
  }

  .work-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .work-shot-large {
    grid-row: auto;
  }

  .work-shot img {
    aspect-ratio: 4 / 3;
    height: auto;
    min-height: 0;
  }

  #works-cartoony .work-shot img,
  #works-circus .work-shot img,
  #works-superbon .work-shot img {
    aspect-ratio: 4 / 3;
    height: auto;
  }

  .academy-facts {
    margin: 0 0 28px;
  }

  .academy-facts li {
    min-height: auto;
  }

  .academy-story-hero {
    border-radius: 20px;
  }

  .academy-story-hero img {
    aspect-ratio: 4 / 3;
  }

  .academy-story-hero figcaption {
    position: relative;
    left: auto;
    bottom: auto;
    max-width: none;
    margin: -18px 14px 14px;
    padding: 18px;
  }

  .academy-scene {
    gap: 14px;
    padding: 14px;
    border-radius: 18px;
  }

  .academy-scene-media {
    min-height: 240px;
  }

  .academy-scene-copy {
    gap: 12px;
    padding: 4px 2px 2px;
  }

  .academy-scene-tags {
    gap: 8px;
  }

  .academy-scene-tags li {
    width: calc(50% - 4px);
    padding: 10px 12px;
    text-align: center;
  }

  .contact-list article,
  .contact-item-wide {
    min-height: auto;
  }

  .social-qr-block {
    padding: 22px;
    border-radius: 20px;
  }

  .social-qr-head {
    display: block;
    margin-bottom: 16px;
  }

  .social-qr-head h3 {
    margin-top: 8px;
  }

  .social-qr-grid {
    grid-template-columns: 1fr;
  }

  .social-qr-card {
    grid-template-columns: 120px minmax(0, 1fr);
    min-height: 150px;
    gap: 12px;
    padding: 12px;
  }

  .social-qr-image {
    width: 120px;
  }

  .partnership-services {
    padding: 72px 0;
  }

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

  .partnership-service-grid article {
    min-height: 124px;
    padding: 22px;
  }

  .section-heading::after {
    display: none;
  }
}

@media (max-width: 760px) and (hover: none) and (pointer: coarse) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .menu-toggle b {
    display: none;
  }

  .site-nav {
    position: fixed;
    top: 66px;
    right: 10px;
    left: auto;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    width: min(260px, calc(100vw - 20px));
    max-width: none;
    overflow: hidden;
    padding: 12px;
    border: 1px solid rgba(118, 182, 227, 0.26);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 80px rgba(118, 166, 205, 0.22);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    min-height: 48px;
    padding: 0 12px;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
  }

  .site-nav a::after {
    left: 12px;
    right: auto;
    width: 34px;
  }
}

@media (max-width: 420px) {
  .site-header {
    gap: 10px;
  }

  .brand {
    width: 130px;
  }

  .hero-content {
    padding-top: 106px;
  }

  .section-heading h2,
  .contact-layout h2 {
    font-size: 2.3rem;
  }
}

@media (max-width: 980px) {
  .works-layout,
  .inner-hero-grid,
  .ip-story,
  .ip-story.is-reverse,
  .party-process-layout {
    grid-template-columns: 1fr;
  }

  .brand-directory {
    position: static;
    padding: 0 0 20px;
    border-right: 0;
    border-bottom: 1px solid rgba(118, 182, 227, 0.22);
  }

  .brand-directory-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
  }

  .brand-directory-nav {
    display: flex;
    gap: 8px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: thin;
  }

  .brand-directory-nav span {
    display: none;
  }

  .brand-directory-nav a {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 7px 14px;
    border: 1px solid rgba(118, 182, 227, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
  }

  .brand-directory-nav a:hover,
  .brand-directory-nav a:focus-visible,
  .brand-directory-nav a.is-active {
    transform: none;
  }

  .inner-hero {
    min-height: auto;
    padding: 132px 0 76px;
  }

  .home-ip-hero {
    padding: 86px 0 76px;
  }

  .inner-hero-media {
    min-height: 420px;
  }

  .inner-hero-media img {
    min-height: 420px;
  }

  .ip-story.is-reverse .ip-story-copy,
  .ip-story.is-reverse .ip-gallery,
  .ip-story.is-reverse .ip-single-visual {
    order: initial;
  }

  .party-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .academy-story-hero {
    grid-template-columns: 1fr;
  }

  .academy-story-hero img {
    min-height: 380px;
    aspect-ratio: 16 / 9;
  }

  .academy-story-hero figcaption {
    position: static;
    margin: 0;
  }
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .menu-toggle b {
    display: none;
  }

  .site-nav {
    position: fixed;
    top: 76px;
    right: 14px;
    left: auto;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    width: min(280px, calc(100vw - 28px));
    max-width: none;
    overflow: hidden;
    padding: 12px;
    border: 1px solid rgba(118, 182, 227, 0.26);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 70px rgba(118, 166, 205, 0.2);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    min-height: 48px;
    padding: 0 12px;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
  }

  .site-nav a::after {
    left: 12px;
    right: auto;
    width: 34px;
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: 650px;
    align-items: center;
  }

  .hero-content {
    padding: 112px 0 58px;
  }

  .hero-slogan-image {
    width: min(520px, 88vw);
  }

  .hero-summary {
    max-width: 24ch;
    font-size: 1rem;
  }

  .inner-hero {
    padding: 112px 0 58px;
  }

  .home-ip-hero {
    padding: 72px 0;
  }

  .inner-hero-grid {
    gap: 28px;
  }

  .inner-hero-copy h1,
  .home-ip-hero .inner-hero-copy h2 {
    font-size: clamp(2.8rem, 14vw, 4.8rem);
  }

  .inner-hero-media,
  .inner-hero-media img {
    min-height: 300px;
  }

  .ip-content-section,
  .party-service-section,
  .party-process-section {
    padding: 72px 0;
  }

  .ip-story-list {
    gap: 58px;
  }

  .ip-gallery-animation,
  .ip-gallery-stage {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    min-height: auto;
  }

  .ip-gallery-stage img:first-child {
    grid-row: auto;
  }

  .ip-gallery img,
  .ip-single-visual img {
    min-height: 0;
    max-height: none;
    aspect-ratio: 4 / 3;
  }

  .ip-gallery-animation img:last-child,
  .ip-gallery-stage img:last-child {
    aspect-ratio: 3 / 4;
  }

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

  .party-service-grid article {
    min-height: auto;
  }

  .academy-story-hero img {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .academy-story-hero figcaption {
    margin: 0;
  }
}

@media (max-width: 360px) {
  .social-qr-card {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 14px;
    text-align: center;
  }

  .social-qr-image {
    width: 150px;
  }
}

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
