:root {
  --ink: #08080b;
  --muted: #62646e;
  --line: #e8e8ee;
  --panel: #f6f6f8;
  --blue: #6877c8;
  --yellow: #d8b46a;
  --deep-space: #050712;
  --nebula: #8d79d6;
  --star-glow: #d8b46a;
  --white: #ffffff;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 clamp(20px, 5vw, 72px);
  color: white;
  backdrop-filter: blur(18px);
  background: rgba(0, 0, 0, 0.42);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-brand img {
  display: block;
  width: 108px;
  height: auto;
}

.nav-links {
  display: flex;
  gap: clamp(14px, 2vw, 30px);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: white;
  background: radial-gradient(circle at 50% 45%, #111733, var(--deep-space) 62%);
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  filter: saturate(1.18) contrast(1.06);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 100%;
  background:
    radial-gradient(circle at 50% 44%, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.32) 52%, rgba(0, 0, 0, 0.72)),
    linear-gradient(180deg, rgba(2, 3, 8, 0.18), rgba(2, 3, 8, 0.12) 48%, var(--deep-space) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  text-align: center;
  padding-top: 52px;
}

.hero-logo {
  width: min(190px, 54vw);
  margin-bottom: 30px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--blue);
}

.hero .eyebrow {
  color: var(--yellow);
  margin-bottom: 24px;
  font-size: clamp(14px, 1.35vw, 18px);
  line-height: 1.25;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 1160px;
  margin-inline: auto;
  margin-bottom: 28px;
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1.04;
  font-weight: 760;
}

.hero-copy {
  width: min(800px, 100%);
  margin: 0 auto 38px;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.58;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}

.button.light {
  color: #050508;
  border-color: rgba(255, 255, 255, 0.28);
  background: white;
}

.button.dark {
  color: white;
  border-color: var(--ink);
  background: var(--ink);
}

.button.wide {
  width: 100%;
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  bottom: 24px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 12px;
}

.section {
  padding: clamp(84px, 13vw, 170px) clamp(20px, 5vw, 72px);
  scroll-margin-top: 84px;
}

.intro {
  padding-top: 120px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(28px, 8vw, 120px);
  align-items: start;
}

.split h2,
.section-heading h2,
.cinema-panel h2,
.contact-card h2 {
  font-size: clamp(34px, 5vw, 72px);
  line-height: 1;
  max-width: 920px;
}

.split p,
.cinema-panel p,
.contact-card p {
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.65;
}

.services-section,
.brand-section {
  background: var(--panel);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(190px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card {
  min-height: 310px;
  padding: 28px;
  background: white;
}

.service-card span {
  display: inline-flex;
  color: var(--blue);
  font-weight: 800;
  margin-bottom: 72px;
}

.service-card h3 {
  font-size: 25px;
  line-height: 1.08;
}

.service-card p,
.case-card p {
  color: var(--muted);
  line-height: 1.55;
}

.brand-heading {
  display: grid;
  grid-template-columns: minmax(170px, 0.3fr) minmax(0, 0.7fr);
  gap: clamp(24px, 6vw, 88px);
  align-items: start;
  margin-bottom: 44px;
}

.brand-heading h2 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 1;
}

.brand-orbit {
  position: relative;
}

.brand-stage {
  position: relative;
  min-height: clamp(470px, 50vw, 640px);
  overflow: hidden;
  perspective: 1100px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 34%, rgba(126, 198, 255, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(2, 3, 10, 0.28), rgba(3, 4, 10, 0.94)),
    #03040a;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 90px rgba(0, 0, 0, 0.58), 0 34px 90px rgba(8, 8, 11, 0.16);
}

.brand-stage::before {
  content: "";
  position: absolute;
  inset: -28% -18%;
  z-index: 0;
  background:
    repeating-linear-gradient(102deg, transparent 0 34px, rgba(95, 255, 205, 0.46) 42px, rgba(95, 255, 205, 0.08) 58px, transparent 86px),
    repeating-linear-gradient(82deg, transparent 0 48px, rgba(142, 122, 255, 0.58) 58px, rgba(142, 122, 255, 0.08) 82px, transparent 118px),
    linear-gradient(105deg, transparent 4%, rgba(75, 222, 190, 0.54) 18%, transparent 38%),
    linear-gradient(132deg, transparent 30%, rgba(255, 96, 176, 0.34) 48%, rgba(255, 210, 93, 0.25) 62%, transparent 78%);
  background-size: 260px 120%, 340px 130%, 140% 120%, 150% 130%;
  filter: blur(18px) saturate(1.7);
  opacity: 1;
  transform: rotate(-7deg) translate3d(0, 0, 0);
  animation: auroraRain 4.8s linear infinite, auroraDrift 7s ease-in-out infinite alternate;
}

.brand-stage::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 34%;
  width: min(74vw, 920px);
  aspect-ratio: 2.7 / 1;
  border: 1px solid rgba(141, 121, 214, 0.28);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.brand-stage::after {
  z-index: 1;
  box-shadow: 0 0 44px rgba(75, 222, 190, 0.12);
  animation: orbitPulse 4.8s ease-in-out infinite;
}

.brand-stage .brand-core,
.brand-stage .brand-nodes,
.brand-stage .brand-focus {
  z-index: 2;
}

.brand-core {
  position: absolute;
  left: 50%;
  top: 34%;
  width: 190px;
  height: 190px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, var(--star-glow) 0 12%, #232746 13% 34%, #06070d 35% 100%);
  box-shadow: 0 0 80px rgba(141, 121, 214, 0.34), 0 0 120px rgba(216, 180, 106, 0.18);
}

.brand-core span {
  position: absolute;
  border-radius: 999px;
  inset: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.brand-core span:nth-child(2) {
  inset: 52px;
  border-color: rgba(216, 180, 106, 0.5);
}

.brand-core span:nth-child(3) {
  inset: 82px;
  background: var(--star-glow);
  border: 0;
  box-shadow: 0 0 34px rgba(216, 180, 106, 0.72);
}

.brand-nodes {
  position: absolute;
  inset: 0;
}

.brand-node {
  position: absolute;
  left: 50%;
  top: 34%;
  display: grid;
  place-items: center;
  width: clamp(136px, 15vw, 196px);
  height: clamp(136px, 15vw, 196px);
  padding: clamp(22px, 2.4vw, 34px);
  border: 1px solid rgba(232, 232, 238, 0.92);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.34), 0 0 34px rgba(141, 121, 214, 0.18);
  backdrop-filter: blur(14px);
  cursor: pointer;
  transition: border-color 240ms ease, box-shadow 240ms ease, background 240ms ease;
  will-change: transform, opacity, filter;
}

.brand-node[data-active="true"] {
  border-color: rgba(216, 180, 106, 0.9);
  background: white;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.44), 0 0 48px rgba(216, 180, 106, 0.4);
}

.brand-node img {
  display: block;
  width: 100%;
  max-height: 70px;
  object-fit: contain;
}

.brand-node span {
  color: var(--ink);
  font-size: 25px;
  font-weight: 800;
}

.brand-focus {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 90;
  width: min(620px, calc(100% - 40px));
  padding: 76px 20px 30px;
  transform: translateX(-50%);
  text-align: center;
  color: white;
  pointer-events: none;
}

.brand-focus::before {
  content: "";
  position: absolute;
  inset: 0 50%;
  width: min(920px, 100vw);
  transform: translateX(-50%);
  z-index: -1;
  background: linear-gradient(180deg, rgba(3, 4, 10, 0), rgba(3, 4, 10, 0.82) 42%, rgba(3, 4, 10, 0.96));
}

.brand-focus-label {
  margin-bottom: 8px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.brand-focus h3,
.brand-focus p:last-child {
  transition: opacity 260ms ease, transform 260ms ease;
}

.brand-focus.is-changing h3,
.brand-focus.is-changing p:last-child {
  opacity: 0;
  transform: translateY(8px);
}

.brand-focus h3 {
  margin-bottom: 8px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
}

.brand-focus p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  line-height: 1.55;
}

@keyframes orbitPulse {
  0%, 100% { opacity: 0.46; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.9; transform: translate(-50%, -50%) scale(1.04); }
}

@keyframes auroraDrift {
  0% {
    transform: rotate(-9deg) translate(-3%, -1%) scale(1);
  }
  50% {
    transform: rotate(0deg) translate(2%, 1%) scale(1.04);
  }
  100% {
    transform: rotate(8deg) translate(4%, 2%) scale(1.08);
  }
}

@keyframes auroraRain {
  0% {
    background-position: 0 -120px, 90px -180px, 0% 40%, 76% 54%;
  }
  100% {
    background-position: 140px 260px, -80px 310px, 56% 54%, 18% 46%;
  }
}

.case-flow {
  margin-top: 54px;
}

.case-globe {
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(320px, 0.75fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  margin-top: 54px;
}

.case-globe-stage {
  position: relative;
  min-height: min(680px, 62vw);
  overflow: visible;
  background: transparent;
}

.case-globe-canvas {
  width: 100%;
  height: 100%;
  min-height: min(680px, 62vw);
  display: block;
  cursor: crosshair;
}

.case-globe-hint {
  position: absolute;
  left: 24px;
  bottom: 30px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.case-globe-controls {
  position: absolute;
  left: 50%;
  bottom: 18px;
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(74, 119, 163, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 46px rgba(41, 77, 117, 0.12);
  backdrop-filter: blur(14px);
  transform: translateX(-50%);
}

.case-globe-controls button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.case-globe-controls button:hover,
.case-globe-controls button[data-active="true"] {
  background: var(--ink);
  color: white;
}

.case-globe-controls button:active {
  transform: scale(0.94);
}

.case-globe-detail {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 28px 80px rgba(8, 8, 11, 0.08);
  padding-bottom: 28px;
}

.globe-case-media {
  position: relative;
  width: min(238px, calc(100% - 56px));
  aspect-ratio: 9 / 16;
  margin: 28px auto 0;
  overflow: hidden;
  border: 10px solid #08080b;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(70, 78, 137, 0.96), rgba(5, 7, 18, 0.96) 62%),
    radial-gradient(circle at 80% 18%, var(--yellow), transparent 28%);
  background-size: cover;
  background-position: center;
  box-shadow: 0 24px 62px rgba(8, 8, 11, 0.16);
}

.globe-case-media::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 50%;
  z-index: 2;
  width: 74px;
  height: 10px;
  border-radius: 999px;
  background: #08080b;
  transform: translateX(-50%);
}

.globe-case-media video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #08080b;
}

.globe-case-media span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  color: white;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  overflow-wrap: anywhere;
}

.case-globe-detail .case-meta,
.case-globe-detail h3,
.case-globe-detail p,
.case-globe-detail .globe-case-brand,
.case-globe-detail .button {
  margin-left: 28px;
  margin-right: 28px;
}

.case-globe-detail .case-meta {
  margin-top: 24px;
}

.case-globe-detail h3 {
  margin-bottom: 14px;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.08;
}

.case-globe-detail p {
  color: var(--muted);
  line-height: 1.62;
}

.globe-case-brand {
  margin-top: 22px;
  margin-bottom: 24px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.case-globe-detail .globe-case-action {
  width: calc(100% - 56px);
  max-width: 220px;
  margin-top: 0;
  margin-bottom: 0;
  white-space: nowrap;
}

.case-flow-stage {
  position: relative;
  height: clamp(360px, 54vw, 620px);
  perspective: 1400px;
  outline: none;
  overflow: hidden;
}

.flow-card {
  position: absolute;
  top: 7%;
  left: 50%;
  width: min(720px, 72vw);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  color: white;
  background:
    linear-gradient(135deg, rgba(70, 78, 137, 0.96), rgba(5, 7, 18, 0.96) 62%),
    radial-gradient(circle at 80% 18%, var(--yellow), transparent 28%);
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
  cursor: pointer;
  transform: translateX(-50%);
  opacity: 1;
  z-index: 1;
  transition: transform 650ms cubic-bezier(.2,.8,.2,1), opacity 650ms ease, filter 650ms ease;
}

.flow-card[aria-hidden="true"] {
  pointer-events: none;
}

.flow-card[data-active="false"] {
  filter: saturate(0.82) brightness(0.82);
}

.flow-card::before,
.flow-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.flow-card::before {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.68));
}

.flow-card::after {
  inset: auto 0 -38% 0;
  height: 48%;
  background: linear-gradient(rgba(255, 255, 255, 0.13), transparent);
  transform: scaleY(-1);
  opacity: 0.18;
}

.flow-card-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 18%, rgba(255, 255, 255, 0.18), transparent 42%);
  opacity: 0.62;
  pointer-events: none;
}

.flow-card-content {
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  padding: clamp(22px, 3vw, 38px);
}

.flow-brand {
  margin-bottom: 8px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.flow-card h3 {
  max-width: 620px;
  margin-bottom: 0;
  font-size: clamp(25px, 3.2vw, 44px);
  line-height: 1.03;
}

.flow-controls {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 20px;
}

.flow-button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  color: var(--ink);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.flow-dots {
  display: flex;
  gap: 9px;
}

.flow-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #c9cad2;
  cursor: pointer;
}

.flow-dots button[data-active="true"] {
  width: 28px;
  background: var(--blue);
}

.flow-detail {
  width: min(760px, 100%);
  min-height: 180px;
  margin: 28px auto 0;
  text-align: center;
}

.flow-detail h3 {
  margin-bottom: 12px;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.08;
}

.flow-detail p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.case-meta span {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.partner-section {
  padding-top: 0;
}

.cinema-panel {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 40px;
  align-items: center;
  padding: clamp(32px, 6vw, 84px);
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 24%, rgba(126, 198, 255, 0.36), transparent 30%),
    radial-gradient(circle at 64% 70%, rgba(255, 210, 93, 0.2), transparent 28%),
    linear-gradient(135deg, #f8fbff 0%, #edf6ff 48%, #ffffff 100%);
  border: 1px solid rgba(74, 119, 163, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 28px 80px rgba(41, 77, 117, 0.1);
}

.cinema-panel p {
  color: var(--muted);
}

.signal-map {
  position: relative;
  height: min(44vw, 520px);
}

.signal-map::before,
.signal-map::after {
  content: "";
  position: absolute;
  inset: 15%;
  border: 1px solid rgba(52, 116, 185, 0.2);
  border-radius: 999px;
}

.signal-map::after {
  inset: 30%;
  border-color: rgba(216, 180, 106, 0.42);
}

.signal-map span {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 26px rgba(216, 180, 106, 0.58);
}

.signal-map span:nth-child(1) { left: 18%; top: 22%; }
.signal-map span:nth-child(2) { right: 22%; top: 18%; background: var(--blue); box-shadow: 0 0 28px rgba(71, 94, 226, 0.46); }
.signal-map span:nth-child(3) { left: 30%; bottom: 18%; background: #59d3c8; box-shadow: 0 0 28px rgba(89, 211, 200, 0.42); }
.signal-map span:nth-child(4) { right: 12%; bottom: 30%; }
.signal-map span:nth-child(5) { left: 50%; top: 46%; background: var(--blue); box-shadow: 0 0 28px rgba(71, 94, 226, 0.46); }

.contact-section {
  background: var(--panel);
}

.contact-card {
  width: min(980px, 100%);
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 26px;
  min-height: 58px;
  padding: 8px 18px 8px 8px;
  border: 1px solid rgba(71, 94, 226, 0.18);
  border-radius: 999px;
  background: white;
  color: var(--ink);
  font-size: 16px;
  font-weight: 760;
  text-decoration: none;
  box-shadow: 0 18px 42px rgba(41, 77, 117, 0.08);
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.contact-email:hover {
  border-color: rgba(71, 94, 226, 0.38);
  color: var(--blue);
  box-shadow: 0 22px 52px rgba(41, 77, 117, 0.12);
  transform: translateY(-2px);
}

.contact-email-icon {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ink);
}

.contact-email-icon::before,
.contact-email-icon::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  border: 2px solid white;
}

.contact-email-icon::before {
  top: 13px;
  height: 14px;
  border-radius: 4px;
}

.contact-email-icon::after {
  top: 14px;
  height: 8px;
  border-top: 0;
  border-right: 0;
  transform: rotate(-45deg);
  transform-origin: center;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.admin-body {
  background: var(--panel);
}

.admin-shell {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0 80px;
}

.admin-header,
.admin-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 18px;
}

.admin-header {
  display: flex;
  align-items: center;
  gap: 22px;
}

.admin-header img {
  width: 140px;
  background: #050508;
  border-radius: var(--radius);
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.admin-panel label,
.case-form label {
  display: grid;
  gap: 8px;
  margin: 14px 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 13px;
  font: inherit;
}

textarea {
  resize: vertical;
}

.admin-note {
  color: var(--muted);
  font-size: 13px;
}

.case-editor {
  display: grid;
  gap: 18px;
}

.case-form,
.brand-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  transition: border-color 240ms ease, box-shadow 240ms ease, background 240ms ease;
}

.case-form.is-new,
.brand-form.is-new {
  border-color: var(--yellow);
  background: #fffdfa;
  box-shadow: 0 0 0 4px rgba(216, 180, 106, 0.18);
}

.brand-editor {
  display: grid;
  gap: 18px;
}

.brand-form-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  align-items: start;
}

.brand-preview {
  display: grid;
  place-items: center;
  width: 180px;
  min-height: 180px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--panel);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.brand-preview img {
  display: block;
  max-width: 100%;
  max-height: 110px;
  object-fit: contain;
}

.checkbox-row {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
}

.checkbox-row input {
  width: auto;
}

.icon-button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  cursor: pointer;
}

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

  .brand-heading {
    grid-template-columns: 1fr;
  }

  .split,
  .brand-form-grid,
  .cinema-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav {
    height: 58px;
    gap: 10px;
    padding: 0 14px;
  }

  .nav-brand img {
    width: 78px;
  }

  .nav-links {
    flex: 1;
    justify-content: flex-end;
    min-width: 0;
    gap: 9px;
    overflow-x: auto;
    font-size: 12px;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .hero {
    min-height: 104svh;
    place-items: start center;
    padding-top: calc(58px + env(safe-area-inset-top) + 32px);
    padding-bottom: 64px;
  }

  .hero-inner {
    width: min(100% - 32px, 420px);
    padding-top: 0;
  }

  .hero-inner.reveal {
    opacity: 1;
    transform: none;
  }

  .hero-logo {
    width: min(142px, 50vw);
    margin-bottom: 24px;
  }

  .hero .eyebrow {
    margin-bottom: 18px;
    font-size: 13px;
  }

  h1 {
    margin-bottom: 20px;
    font-size: clamp(32px, 9.4vw, 44px);
    line-height: 1.06;
  }

  .hero-copy {
    margin-bottom: 28px;
    font-size: 16px;
    line-height: 1.5;
  }

  .hero .button {
    max-width: 100%;
    min-height: 40px;
    padding: 0 16px;
    font-size: 14px;
  }

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

  .brand-stage {
    min-height: 560px;
  }

  .brand-stage::after {
    width: 460px;
  }

  .brand-core {
    width: 132px;
    height: 132px;
  }

  .brand-core span {
    inset: 18px;
  }

  .brand-core span:nth-child(2) {
    inset: 38px;
  }

  .brand-core span:nth-child(3) {
    inset: 58px;
  }

  .brand-node {
    width: min(132px, 34vw);
    height: min(132px, 34vw);
    padding: 16px;
  }

  .brand-node img {
    max-height: 48px;
  }

  .brand-focus {
    bottom: 0;
    padding: 72px 18px 26px;
  }

  .service-card {
    min-height: auto;
  }

  .service-card span {
    margin-bottom: 34px;
  }

  .case-flow-stage {
    height: 440px;
  }

  .case-globe {
    grid-template-columns: 1fr;
  }

  .case-globe-stage,
  .case-globe-canvas {
    min-height: 390px;
  }

  .case-globe-stage {
    order: 2;
  }

  .case-globe-detail {
    order: 1;
  }

  .case-globe-hint {
    left: 50%;
    bottom: 68px;
    transform: translateX(-50%);
  }

  .flow-card {
    width: min(330px, 82vw);
    top: 12%;
  }

  .footer {
    flex-direction: column;
  }
}
