@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@700&family=Inter:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,500;1,600&family=Unbounded:wght@600;700;800;900&display=swap');

:root {
  --bg: #f6f3ee;
  --paper: #ffffff;
  --milk: #fbf9f6;
  --grey: #eeeae4;
  --pink: #ef93c2;
  --pink-soft: #fde4f1;
  --pink-vivid: #e85d9e;
  --black: #111111;
  --white: #ffffff;
  --yellow: #fde047;
  --yellow-soft: #fef9c3;
  --blue: #93c5fd;
  --blue-soft: #dbeafe;
  --line: rgba(17, 17, 17, 0.11);
  --muted: #5e5e65;
  --radius-xl: 36px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --shadow: 0 16px 44px rgba(17, 17, 17, 0.06);
  --shadow-hover: 0 24px 54px rgba(17, 17, 17, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #f9f6f2 0%, #f1ede7 100%);
  color: var(--black);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

button, input, textarea, select {
  font: inherit;
}

.site-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px 64px;
}

/* 1. Header / Topbar Navigation */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  background: rgba(249, 246, 242, 0.88);
  backdrop-filter: blur(12px);
}

.brand {
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  text-transform: lowercase;
}

.nav a {
  position: relative;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

/* Sections */
.section {
  padding: 72px 0 24px;
}

.section-tight {
  padding: 20px 0 28px;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

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

.section-head.compact {
  align-items: center;
}

.section-title {
  margin: 0;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: lowercase;
  font-family: 'Unbounded', 'Comfortaa', system-ui, sans-serif;
  font-weight: 800;
}

.section-title.pink {
  color: var(--pink-vivid);
}

/* 2 & 3. Hero Section */
.hero {
  position: relative;
  padding-top: 40px;
}

.hero-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.sparkle-star {
  position: absolute;
  display: inline-flex;
  animation: float-sparkle 4s ease-in-out infinite alternate;
}

.sparkle-star svg {
  width: 100%;
  height: 100%;
}

.star-yellow {
  color: var(--yellow);
  filter: drop-shadow(0 2px 8px rgba(253, 224, 71, 0.65));
}

.star-pink {
  color: var(--pink);
  filter: drop-shadow(0 2px 8px rgba(239, 147, 194, 0.65));
}

.star-white {
  color: #ffffff;
  filter: drop-shadow(0 2px 6px rgba(17, 17, 17, 0.18));
}

.star-1 { top: 24px; right: 48%; width: 28px; height: 28px; animation-delay: 0s; }
.star-2 { top: 80px; right: 6%; width: 34px; height: 34px; animation-delay: 1.2s; }
.star-3 { bottom: 80px; right: 42%; width: 24px; height: 24px; animation-delay: 0.6s; }
.star-4 { bottom: 130px; left: 2%; width: 22px; height: 22px; animation-delay: 2s; }
.star-5 { top: 220px; left: 47%; width: 26px; height: 26px; animation-delay: 1.6s; }

@keyframes float-sparkle {
  0% { transform: translateY(0) scale(1) rotate(0deg); opacity: 0.85; }
  100% { transform: translateY(-8px) scale(1.12) rotate(14deg); opacity: 1; }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.85fr);
  gap: 36px;
  align-items: end;
}

.hero-copy {
  position: relative;
}

.hero-title {
  margin: 0 0 22px;
  color: var(--pink-vivid);
  font-family: 'Unbounded', 'Comfortaa', system-ui, sans-serif;
  font-weight: 800;
  text-transform: lowercase;
  letter-spacing: -0.04em;
  line-height: 0.94;
}

.hero-title-top {
  display: block;
  font-size: clamp(34px, 4.6vw, 64px);
  word-break: break-word;
}

.hero-title-sub {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(34px, 4.6vw, 64px);
  word-break: break-word;
}

.mouse-pointer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-6deg);
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 3px 8px rgba(17, 17, 17, 0.2));
  flex-shrink: 0;
}

.hero-title:hover .mouse-pointer-icon {
  transform: rotate(6deg) scale(1.14);
}

.hero-hook {
  max-width: 520px;
  margin: 0 0 16px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(32px, 3.8vw, 50px);
  line-height: 0.96;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: var(--black);
}

.hero-hook em {
  font-style: italic;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--pink);
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

.hero-lead {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

/* Hero Visual / Portrait Card */
.hero-visual {
  position: relative;
  justify-self: end;
  width: min(100%, 410px);
}

.portrait-card {
  position: relative;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  transition: background 0.28s ease, box-shadow 0.28s ease;
}

.portrait-card:hover {
  box-shadow: var(--shadow-hover);
}

.floating-badge {
  position: absolute;
  top: -12px;
  left: -12px;
  z-index: 10;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.badge-yellow {
  background: var(--yellow);
  color: var(--black);
}

.portrait-img-container {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  line-height: 0;
}

.portrait-img-container img {
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  object-position: center top;
  border-radius: 28px;
}

.portrait-name {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  padding: 8px 13px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(17, 17, 17, 0.08);
}

/* 4 & 5. Buttons & Plaques */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1.5px solid var(--black);
  font-weight: 600;
  font-size: 15px;
  text-transform: lowercase;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.button:hover {
  box-shadow: 0 8px 20px rgba(17, 17, 17, 0.12);
}

.button-pink {
  background: var(--pink-soft);
  border-color: var(--pink-vivid);
  color: var(--black);
}

.button-pink:hover {
  background: var(--pink);
}

.button-outline {
  background: var(--white);
  border-color: var(--line);
}

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

.button-dark:hover {
  background: #252528;
}

.button.large {
  padding: 18px 34px;
  font-size: 17px;
  font-weight: 700;
}

.button.mini {
  padding: 9px 18px;
  font-size: 13px;
}

/* Hover colors on plaques */
.hover-color {
  transition: background 0.26s ease, border-color 0.26s ease, box-shadow 0.26s ease;
}

.hover-color:hover {
  box-shadow: var(--shadow-hover);
}

.hover-color[data-tone="pink"]:hover {
  background: var(--pink-soft) !important;
  border-color: rgba(239, 147, 194, 0.8) !important;
}

.hover-color[data-tone="blue"]:hover {
  background: var(--blue-soft) !important;
  border-color: rgba(147, 197, 253, 0.8) !important;
}

.hover-color[data-tone="yellow"]:hover {
  background: var(--yellow-soft) !important;
  border-color: rgba(253, 224, 71, 0.8) !important;
}

.hover-color[data-tone="grey"]:hover {
  background: var(--grey) !important;
  border-color: rgba(17, 17, 17, 0.18) !important;
}

.hover-color[data-tone="white"]:hover {
  background: #ffffff !important;
  border-color: rgba(17, 17, 17, 0.22) !important;
}

/* 6. Facts Section below Hero */
.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.fact-card, .about-main, .about-side, .formats-panel, .work-card, .process-card, .support-panel, .cta-card, .brief-intro, .brief-form, .brief-result, .case-card, .showcase-card, .case-hero-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.fact-card {
  padding: 28px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.fact-card h2 {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.08;
  font-family: 'Unbounded', 'Comfortaa', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.fact-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.48;
}

.fact-card-experience ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.facts .detail-tags {
  margin-top: auto;
  padding-top: 14px;
}

.facts .fact-card-video {
  padding: 0;
  overflow: hidden;
}

.fact-card-video video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}

/* 7. Clients Marquee Section */
.clients .marquee-wrap {
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
  padding: 8px 12px;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.client-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px 7px 9px;
  border-radius: 999px;
  background: var(--milk);
  border: 1px solid rgba(17, 17, 17, 0.08);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(17, 17, 17, 0.03);
}

.client-pill img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid rgba(17, 17, 17, 0.08);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Profile and formats */
.about .section-head {
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
}

.about .section-title {
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.1;
  text-transform: none;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 18px;
  align-items: stretch;
}

.about-layout > .about-main,
.about-layout > .formats-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.about-layout > .about-main > :not(.about-decor-star),
.about-layout > .formats-panel > :not(.about-decor-star) {
  position: relative;
  z-index: 1;
}

.about-decor-star {
  z-index: 0;
  pointer-events: none;
}

.about-star-profile-top { top: 12px; right: 12px; width: 20px; height: 20px; }
.about-star-profile-bottom { bottom: 12px; right: 12px; width: 20px; height: 20px; animation-delay: 1s; }
.about-star-formats-top { top: 12px; right: 12px; width: 20px; height: 20px; animation-delay: 0.5s; }
.about-star-formats-bottom { bottom: 12px; left: 12px; width: 20px; height: 20px; animation-delay: 1.4s; }

.about-main, .about-side {
  padding: 30px;
}

.about-main {
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.about-main .about-panel-label,
.formats-panel .about-panel-label {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-weight: 700;
}

.formats-panel .about-panel-label {
  margin-bottom: 0;
}

.about-main h3 {
  margin: 0 0 12px;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.18;
  letter-spacing: -0.03em;
  font-family: 'Unbounded', 'Comfortaa', system-ui, sans-serif;
  font-weight: 700;
}

.about-main p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.skill-group {
  margin-top: auto;
  padding-top: 18px;
}

.skills-label {
  margin: 0 0 10px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 700;
}

.skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-pills span {
  padding: 9px 15px;
  border-radius: 999px;
  background: var(--milk);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 500;
}

.about-side {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 24px;
}

.about-side-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-side-wrapper {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-side-cta {
  display: flex;
  width: 100%;
}

.about-side-cta .button {
  width: 100%;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 28px;
  letter-spacing: 0.02em;
  background: var(--pink-vivid);
  color: var(--white);
  border-color: var(--pink-vivid);
  box-shadow: 0 8px 22px rgba(232, 93, 158, 0.25);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.about-side-cta .button:hover {
  background: #db4d91;
  border-color: #db4d91;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(232, 93, 158, 0.38);
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.detail-item-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: 20px;
  flex-shrink: 0;
}

.detail-icon.icon-tv { background: var(--pink-soft); }
.detail-icon.icon-biz { background: var(--blue-soft); }
.detail-icon.icon-edu { background: var(--yellow-soft); }
.detail-icon.icon-work { background: var(--grey); }

.detail-item h4 {
  margin: 0;
  font-size: 18px;
  font-family: 'Unbounded', 'Comfortaa', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.detail-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.detail-tags span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--milk);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
}

.detail-gif {
  margin-top: 10px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 4px 14px rgba(17, 17, 17, 0.05);
  line-height: 0;
}

.detail-gif img,
.detail-gif video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Formats Panel */
.formats-panel {
  margin-top: 18px;
  padding: 28px;
}

.about-layout .formats-panel {
  min-width: 0;
  margin-top: 0;
  padding: 24px;
}

.formats-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
}

.formats-head .muted {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.formats-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
}

.formats-grid article {
  width: min(100%, 720px);
  min-height: 270px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--milk);
  border: 1px solid rgba(17, 17, 17, 0.08);
  display: flex;
  flex-direction: column;
  gap: 7px;
  animation: format-slide-in 0.28s ease;
}

.formats-grid article[hidden] {
  display: none;
}

@keyframes format-slide-in {
  from { opacity: 0; transform: translateX(18px); }
  to { opacity: 1; transform: translateX(0); }
}

.formats-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 12px;
}

.formats-arrow {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 22px;
  cursor: pointer;
}

.formats-arrow:hover,
.formats-arrow:focus-visible {
  background: var(--pink-soft);
  border-color: var(--pink-vivid);
}

.formats-pagination {
  min-width: 52px;
  text-align: center;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.format-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  font-size: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(17,17,17,0.04);
}

.formats-grid h4 {
  margin: 0 0 8px;
  font-size: 17px;
  font-family: 'Unbounded', 'Comfortaa', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.formats-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.48;
}

.formats-grid .format-card-price {
  margin-top: 8px;
  color: var(--ink);
  font-family: 'Unbounded', 'Comfortaa', system-ui, sans-serif;
  font-size: 20px;
  font-weight: 700;
}

/* Format Card Enhancements */
.formats-grid .format-card {
  position: relative;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease, border-color 0.22s ease;
}

.formats-grid .format-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(17, 17, 17, 0.09);
  border-color: rgba(17, 17, 17, 0.2);
}

.format-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}

.format-mini-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.06);
  color: var(--muted);
  transition: background 0.2s ease, color 0.2s ease;
}

.format-card:hover .format-mini-tag {
  background: rgba(232, 93, 158, 0.12);
  color: var(--pink-vivid);
}

.format-card-action {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.format-card-hint {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 9px 12px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.055);
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  opacity: 1;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.format-card-hint:hover,
.format-card-hint:focus-visible {
  color: var(--pink-vivid);
  background: rgba(232, 93, 158, 0.12);
  border-color: rgba(232, 93, 158, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(17, 17, 17, 0.08);
}

.format-card-hint:focus-visible {
  outline: 2px solid var(--pink-vivid);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .formats-grid article { animation: none; }
}

/* Format Modal Popup / Плашка формата */
.format-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
}

.format-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.format-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 18, 0.68);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: opacity 0.25s ease;
}

.format-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 980px;
  max-height: min(90vh, 840px);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 32px;
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.25);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.94) translateY(16px);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.format-modal.is-open .format-modal-dialog {
  transform: scale(1) translateY(0);
}

.format-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--milk);
  border: 1.5px solid var(--line);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 4px 14px rgba(17, 17, 17, 0.08);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.format-modal-close:hover {
  background: var(--pink-vivid);
  color: #fff;
  border-color: var(--pink-vivid);
  transform: rotate(90deg) scale(1.08);
}

.format-modal-body {
  overflow-y: auto;
  overflow-x: hidden;
  padding: 32px;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.format-modal-body::-webkit-scrollbar {
  width: 8px;
}

.format-modal-body::-webkit-scrollbar-track {
  background: var(--milk);
  border-radius: 999px;
}

.format-modal-body::-webkit-scrollbar-thumb {
  background: rgba(17, 17, 17, 0.2);
  border-radius: 999px;
}

.format-modal-body::-webkit-scrollbar-thumb:hover {
  background: var(--pink-vivid);
}

/* Modal Internal Layout */
.fm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1.5px solid var(--line);
  padding-right: 48px;
}

.fm-title-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.fm-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  font-size: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--milk);
  border: 1px solid var(--line);
  box-shadow: 0 4px 12px rgba(17, 17, 17, 0.06);
  flex-shrink: 0;
}

.fm-eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--pink-vivid);
  margin-bottom: 4px;
}

.fm-title {
  margin: 0;
  font-family: 'Unbounded', 'Comfortaa', system-ui, sans-serif;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.fm-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
  align-items: start;
}

.fm-info-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fm-block {
  background: var(--milk);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 20px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fm-block:hover {
  border-color: rgba(17, 17, 17, 0.16);
  box-shadow: 0 4px 16px rgba(17, 17, 17, 0.04);
}

.fm-heading {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Unbounded', 'Comfortaa', system-ui, sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.fm-chip-icon {
  font-size: 16px;
  line-height: 1;
}

.fm-block p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #2e2e32;
}

/* Pricing Block */
.fm-pricing-block {
  background: linear-gradient(145deg, #fffdf8, #fbf7ee);
  border: 1.5px solid rgba(17, 17, 17, 0.12);
  gap: 10px;
}

.fm-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 4px;
}

.fm-price-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.fm-price-card:hover {
  border-color: var(--pink-vivid);
  transform: translateY(-2px);
}

.fm-price-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.fm-price-value {
  font-size: 17px;
  font-weight: 800;
  font-family: 'Unbounded', sans-serif;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.fm-price-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
}

.fm-pricing-note {
  margin-top: 8px;
  font-size: 12.5px;
  font-style: italic;
  color: var(--muted);
  line-height: 1.45;
}

/* Media Column */
.fm-media-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 0;
}

.fm-media-card {
  background: var(--milk);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 24px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.04);
}

.fm-media-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.fm-media-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(17, 17, 17, 0.06);
  padding: 5px 12px;
  border-radius: 999px;
  color: var(--ink);
}

.fm-preview-frame {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #151518;
  color: #ffffff;
  position: relative;
  display: flex;
  flex-direction: column;
}

.fm-preview-frame video,
.fm-preview-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.fm-instagram-embed {
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.fm-instagram-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.fm-youtube-embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #111;
}

.fm-youtube-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.fm-example-link {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.fm-example-link:hover {
  color: var(--pink-vivid);
}

/* Media preview variants */
.fm-preview-reels {
  aspect-ratio: 9 / 12;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(160deg, #1f1f23, #09090b);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.fm-preview-reels .fm-reels-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
}

.fm-preview-reels .fm-reels-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  padding: 10px;
}

.fm-preview-reels .fm-play-pulse {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--pink-vivid);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 0 20px rgba(232, 93, 158, 0.6);
  animation: pulse-ring 2s infinite ease-in-out;
}

@keyframes pulse-ring {
  0% { transform: scale(0.96); box-shadow: 0 0 0 0 rgba(232, 93, 158, 0.6); }
  70% { transform: scale(1.04); box-shadow: 0 0 0 14px rgba(232, 93, 158, 0); }
  100% { transform: scale(0.96); box-shadow: 0 0 0 0 rgba(232, 93, 158, 0); }
}

.fm-preview-reels .fm-reels-bottom {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 12px;
}

.fm-preview-youtube {
  aspect-ratio: 16 / 9;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(135deg, #18181b, #27272a);
}

.fm-preview-youtube .fm-yt-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #a1a1aa;
}

.fm-preview-stage {
  position: relative;
  aspect-ratio: 16 / 9;
}

.fm-preview-stage video,
.fm-preview-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fm-preview-stage-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.fm-preview-generic {
  aspect-ratio: 16 / 9;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(145deg, #1c1917, #292524);
}

.fm-media-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fm-btn-brief {
  width: 100%;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 700;
  background: var(--pink-vivid);
  color: #fff;
  border-radius: 999px;
  text-align: center;
  border: 1px solid var(--pink-vivid);
  box-shadow: 0 6px 18px rgba(232, 93, 158, 0.28);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.fm-btn-brief:hover {
  background: #db4d91;
  border-color: #db4d91;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(232, 93, 158, 0.38);
}

.fm-btn-case {
  width: 100%;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 700;
  background: var(--milk);
  color: var(--ink);
  border-radius: 999px;
  text-align: center;
  border: 1.5px solid var(--line);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.fm-btn-case:hover {
  background: var(--paper);
  border-color: var(--ink);
  color: var(--ink);
  transform: translateY(-2px);
}

@media (max-width: 880px) {
  .fm-grid {
    grid-template-columns: 1fr;
  }
  .fm-media-col {
    position: static;
  }
  .format-modal-body {
    padding: 24px 20px;
  }
  .fm-header {
    padding-right: 42px;
  }
}

@media (max-width: 600px) {
  .format-modal {
    padding: 12px;
  }
  .format-modal-dialog {
    border-radius: 24px;
    max-height: 94vh;
  }
  .format-modal-body {
    padding: 20px 16px;
    gap: 18px;
  }
  .fm-title-group {
    gap: 12px;
  }
  .fm-icon {
    width: 46px;
    height: 46px;
    font-size: 22px;
  }
  .fm-pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* Works / Cases Section */
.works-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.work-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.work-media {
  position: relative;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
}

.work-media .logo-badge-image {
  width: 74px;
  height: 58px;
  border-radius: 18px;
}

.work-media-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.logo-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  font-weight: 700;
  border: 1px solid rgba(17, 17, 17, 0.08);
}

.logo-badge.dark {
  background: rgba(17, 17, 17, 0.88);
  color: var(--white);
}

.logo-badge-image {
  width: 92px;
  height: 72px;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: transparent;
  overflow: hidden;
}

.logo-badge-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  mix-blend-mode: multiply;
}

.media-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.work-media-show {
  background: linear-gradient(135deg, #fef9c3 0%, #fee685 100%);
}

.work-media-alfa {
  background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
}

.work-media-alfa .work-media-preview-split {
  grid-template-columns: minmax(0, 1fr) 110px;
}

.alfa-brief {
  justify-content: flex-start;
  padding: 10px 12px;
}

.work-media-alfa .mock-stage-preview {
  gap: 4px;
}

.work-media-alfa .stage-tag {
  padding: 4px 8px;
  font-size: 11px;
}

.work-media-investor {
  background: linear-gradient(135deg, #eff6ff 0%, #bfdbfe 100%);
}

.investor-preview-video {
  min-width: 0;
  height: 96px;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #18181b;
}

.investor-preview-video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.work-media-sketch {
  background: linear-gradient(135deg, #f5f5f4 0%, #e7e5e4 100%);
}

.work-media-sketch .mock-doc-preview {
  width: 100%;
  padding: 10px 12px;
}

.work-media-sketch .doc-lines {
  gap: 8px;
}

.work-media-sketch .doc-line {
  font-size: 13px;
  line-height: 1.45;
}

/* Split Visual Previews inside Work Media */
.work-card-show-today .work-media-preview-split {
  grid-template-columns: minmax(0, 1fr);
}

.show-today-card-reels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.show-today-video {
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 18px;
  background: #000;
}

.show-today-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.work-card-show-today .work-copy h3 a,
.work-card-investor .work-copy h3 a {
  color: inherit;
  text-decoration: none;
}

.work-media-preview-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 8px;
  width: 100%;
  align-items: stretch;
}

.mock-doc-preview {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.doc-badge {
  font-size: 12px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 2px;
}

.doc-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.doc-line {
  font-size: 12px;
  line-height: 1.35;
  color: #333338;
}

.doc-line.bold {
  font-weight: 600;
  color: var(--black);
}

.doc-line.muted {
  font-size: 11px;
  color: var(--muted);
}

/* Reels & Video Previews */
.mock-reels-preview {
  display: flex;
  align-items: center;
  justify-content: center;
}

.reels-frame {
  width: 100%;
  height: 100%;
  min-height: 130px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px dashed rgba(17, 17, 17, 0.2);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  text-align: center;
}

.reels-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--black);
}

.play-dot-sm {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--black);
  color: #ffffff;
  font-size: 13px;
  box-shadow: 0 4px 10px rgba(17, 17, 17, 0.18);
}

.mock-stage-preview {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.stage-tag {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.mock-horizontal-video {
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-md);
  border: 1px solid rgba(17, 17, 17, 0.08);
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 120px;
}

.video-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
}

.mute-chip {
  background: rgba(17, 17, 17, 0.08);
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 600;
}

.video-time {
  font-weight: 600;
  color: var(--muted);
}

.video-center-play {
  display: flex;
  justify-content: center;
  margin: 6px 0;
}

.video-progress-bar {
  height: 4px;
  background: rgba(17, 17, 17, 0.12);
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  display: block;
  width: 45%;
  height: 100%;
  background: var(--pink-vivid);
}

.mock-vertical-reels {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.mini-reel {
  flex: 1;
  background: rgba(255, 255, 255, 0.75);
  border: 1px dashed rgba(17, 17, 17, 0.2);
  border-radius: 16px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
}

.badge-4d {
  background: var(--black);
  color: #fff;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 11px;
}

.work-copy {
  padding: 16px;
}

.work-index {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.work-copy h3 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-family: 'Unbounded', 'Comfortaa', system-ui, sans-serif;
  font-weight: 700;
}

.work-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.work-summary {
  display: grid;
  gap: 5px;
}

.work-summary strong {
  color: var(--ink);
}

.work-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(17, 17, 17, 0.07);
  font-size: 13px;
  font-weight: 600;
}

.open-arrow {
  color: var(--black);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Process Section — four square steps and a support list */
.process-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}

.process-step {
  position: relative;
  min-height: 132px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.step-1 { background: var(--pink-soft); }
.step-2 { background: var(--yellow-soft); }
.step-3 { background: var(--blue-soft); }
.step-4 { background: linear-gradient(135deg, var(--pink) 0%, var(--pink-vivid) 100%); color: #fff; }

.step-circle {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-family: 'Unbounded', 'Comfortaa', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.step-1 .step-circle { color: var(--pink-vivid); }
.step-2 .step-circle { color: #b8860b; }
.step-3 .step-circle { color: #2563eb; }
.step-4 .step-circle { color: var(--pink-vivid); }

.process-step h3 {
  margin: 0 0 6px;
  transform: translateY(-5px);
  font-family: 'Unbounded', 'Comfortaa', system-ui, sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.process-step p {
  margin: 0;
  transform: translateY(-5px);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.step-4 p { color: rgba(255, 255, 255, 0.86); }

.support-panel {
  width: 100%;
  height: 100%;
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--milk);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: none;
}

.support-panel h3 {
  margin: 0 0 16px;
  font-family: 'Unbounded', 'Comfortaa', system-ui, sans-serif;
  font-size: 22px;
  line-height: 1.3;
}

.support-panel ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.support-panel li {
  position: relative;
  padding-left: 21px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.45;
}

.support-panel li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pink-vivid);
}

/* CTA Card */
.cta-card {
  padding: 44px 38px;
  background: linear-gradient(135deg, #fdfaf7 0%, #fde4f1 100%);
  text-align: center;
}

.cta-card h2 {
  margin: 0 0 14px;
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-family: 'Unbounded', 'Comfortaa', system-ui, sans-serif;
  font-weight: 800;
}

.cta-card p {
  margin: 0 auto 26px;
  color: var(--muted);
  font-size: 18px;
  max-width: 560px;
}

.cta-contacts {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 18px;
}

.cta-contacts a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.22s ease, box-shadow 0.22s ease;
}

.cta-contacts a:hover {
  background: var(--pink-soft);
  box-shadow: 0 4px 14px rgba(17,17,17,0.08);
}

.cta-contacts svg {
  width: 20px;
  height: 20px;
}

/* Brief Page Styles */
.brief-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 20px;
}

.brief-intro, .brief-form, .brief-result {
  padding: 30px;
}

.brief-intro h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-family: 'Unbounded', 'Comfortaa', system-ui, sans-serif;
  font-weight: 700;
}

.brief-intro p, .brief-intro li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.brief-intro ul {
  padding-left: 20px;
  margin: 20px 0 0;
}

.brief-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.brief-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.brief-form label:nth-child(3),
.brief-form label:nth-child(4),
.brief-form label:nth-child(5),
.brief-form label:nth-child(6),
.brief-form label:nth-child(7),
.brief-actions {
  grid-column: 1 / -1;
}

.brief-form span {
  font-size: 13px;
  font-weight: 700;
}

.brief-form input, .brief-form textarea, .brief-form select {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(17, 17, 17, 0.12);
  background: var(--milk);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.brief-form input:focus, .brief-form textarea:focus, .brief-form select:focus {
  border-color: var(--pink-vivid);
  background: #ffffff;
}

.brief-form textarea {
  resize: vertical;
  min-height: 100px;
}

.brief-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 6px;
}

.brief-result {
  margin-top: 20px;
}

.brief-result-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.brief-result h2 {
  margin: 0;
  font-size: 26px;
  font-family: 'Unbounded', 'Comfortaa', system-ui, sans-serif;
  font-weight: 700;
}

.brief-result pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: 'Inter', system-ui, sans-serif;
  background: rgba(255, 255, 255, 0.6);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(17, 17, 17, 0.1);
  font-size: 14px;
  line-height: 1.55;
}

/* Case Subpages */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  font-size: 14px;
  text-transform: lowercase;
  font-weight: 600;
  transition: transform 0.2s ease;
}

.back-link:hover {
  transform: translateX(-3px);
}

.case-page {
  padding-top: 48px;
}

.case-hero-card {
  padding: 24px;
  margin-bottom: 16px;
}

.case-subtitle {
  max-width: 780px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.case-video-section {
  margin-bottom: 20px;
}

.case-video-section h2 {
  font-family: 'Unbounded', 'Comfortaa', sans-serif;
  font-size: 22px;
  margin: 0 0 16px;
}

.case-video-embed {
  width: min(100%, 640px);
  aspect-ratio: 16 / 9;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 20px;
  background: #18181b;
}

.case-video-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.case-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.alfa-case-columns {
  align-items: start;
}

.sketches-case-columns {
  align-items: start;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
}

.investor-case-columns {
  align-items: start;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.case-slide {
  margin: 0;
}

.case-slide + .case-slide {
  margin-top: 18px;
}

.case-slide a,
.case-slide img {
  display: block;
  width: 100%;
}

.case-slide img {
  max-height: 250px;
  object-fit: contain;
  background: var(--milk);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.case-slide figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.show-today-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 20px;
}

.show-today-info {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}

.show-today-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 24px;
}

.show-today-hero .case-subtitle {
  margin: 0;
}

.show-today-layout .scenario-section {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  margin-top: 0;
}

.scenario-section {
  margin-top: 28px;
}

.scenario-section > h2 {
  margin: 0 0 14px;
  font-family: 'Unbounded', 'Comfortaa', system-ui, sans-serif;
  font-size: 22px;
}

.scenario-table-wrap {
  width: 100%;
  max-height: 520px;
  overflow: auto;
  border: 1px solid #555;
  border-radius: 8px;
  background: var(--paper);
  -webkit-overflow-scrolling: touch;
}

.scenario-table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
}

.scenario-table caption {
  padding: 12px 14px;
  font-weight: 800;
  text-align: left;
  background: #f5f2e7;
}

.scenario-table th,
.scenario-table td {
  padding: 10px 12px;
  border: 1px solid #777;
  text-align: left;
  vertical-align: top;
}

.scenario-table thead th {
  background: #fff0c2;
  font-weight: 800;
}

.scenario-table thead th:first-child,
.scenario-table tbody th[scope="row"] {
  width: 48px;
  text-align: center;
}

.scenario-table tbody th[scope="row"] {
  background: #fffaf0;
}

.scenario-table a {
  overflow-wrap: anywhere;
}

.investor-scenario-table {
  min-width: 480px;
  table-layout: fixed;
  font-size: 11px;
  line-height: 1.4;
}

.investor-scenario-table th,
.investor-scenario-table td {
  padding: 8px;
  overflow-wrap: anywhere;
}

.investor-scenario-table thead th:first-child,
.investor-scenario-table tbody th[scope="row"] {
  width: 24%;
  text-align: left;
}

.investor-scenario-table thead th:last-child {
  width: 20%;
}

.investor-scenario-table td p + p {
  margin-top: 8px;
}

.show-today-layout .scenario-table {
  font-size: 11px;
  line-height: 1.35;
}

.show-today-layout .scenario-table th,
.show-today-layout .scenario-table td {
  padding: 6px 8px;
}

.show-today-layout .scenario-table caption {
  padding: 8px 10px;
}

.show-today-layout .scenario-table thead th:first-child,
.show-today-layout .scenario-table tbody th[scope="row"] {
  width: 32px;
}

.case-card {
  padding: 22px;
}

.case-summary {
  display: grid;
  gap: 10px;
}

.case-summary strong {
  color: var(--ink);
}

.case-card .case-summary p {
  font-size: 14px;
  line-height: 1.45;
}

.case-card h2, .showcase-card h3 {
  margin: 0 0 12px;
  font-size: 21px;
  font-family: 'Unbounded', 'Comfortaa', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.case-card p, .case-card li, .showcase-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.show-today-info .case-card p,
.show-today-info .case-card li {
  font-size: 13px;
  line-height: 1.45;
}

.show-today-reels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 600px;
  margin-inline: auto;
}

.case-page .show-today-video {
  max-width: 240px;
  margin-inline: auto;
}

.show-today-reels .showcase-card {
  min-width: 0;
  padding: 16px;
}

@media (max-width: 600px) {
  .show-today-reels {
    grid-template-columns: minmax(0, 380px);
    justify-content: center;
  }
}

.case-card ul {
  margin: 0;
  padding-left: 20px;
}

.case-card li + li {
  margin-top: 8px;
}

.scenario-doc-btn {
  text-transform: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 13px 18px;
  font-size: 14px;
  border-radius: 14px;
  background: #ffd6ee;
  color: var(--black);
  border: 1.5px solid var(--pink-vivid);
  text-align: left;
  gap: 12px;
  box-sizing: border-box;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.scenario-doc-btn:hover {
  background: var(--pink) !important;
  border-color: var(--pink-vivid) !important;
  box-shadow: 0 8px 20px rgba(232, 93, 158, 0.28);
  transform: translateY(-2px);
}

.media-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.media-showcase.triple {
  grid-template-columns: repeat(3, 1fr);
}

.showcase-card {
  padding: 26px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
}

.case-footer-cta {
  margin-top: 28px;
  display: flex;
  justify-content: flex-start;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-visual {
    justify-self: center;
  }
  .about-layout, .brief-layout, .case-columns, .works-grid, .sketches-case-columns {
    grid-template-columns: 1fr;
  }
  .investor-case-columns {
    grid-template-columns: 1fr;
  }
  .facts, .media-showcase.triple {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-side {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .process-layout {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }
  .process-timeline,
  .support-panel {
    width: 100%;
  }
  .support-panel {
    height: auto;
    aspect-ratio: auto;
  }
  .show-today-hero {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .show-today-layout {
    grid-template-columns: 1fr;
  }
  .show-today-info {
    grid-column: 1;
    grid-row: 1;
  }
  .show-today-layout .scenario-section {
    grid-column: 1;
    grid-row: 2;
  }
}

@media (max-width: 720px) {
  .process-layout {
    grid-template-columns: 1fr;
  }
  .support-panel {
    aspect-ratio: auto;
  }
  .site-shell {
    padding: 0 16px 40px;
  }
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
    gap: 12px;
  }
  .nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    gap: 4px;
  }
  .nav a {
    justify-self: center;
    white-space: nowrap;
    font-size: clamp(11px, 3.4vw, 14px);
  }
  .hero {
    padding-top: 20px;
  }
  .hero-stars .star-5 {
    left: auto;
    right: 6px;
  }
  .hero-copy {
    text-align: center;
  }
  .hero-hook,
  .hero-lead {
    margin-inline: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .section {
    padding: 48px 0 20px;
  }
  .hero-title-top, .hero-title-sub {
    font-size: clamp(28px, 7.8vw, 42px);
  }
  .hero-hook {
    font-size: clamp(26px, 6.8vw, 36px);
  }
  .portrait-card {
    padding: 12px;
    border-radius: 30px;
    text-align: center;
  }
  .floating-badge {
    position: static;
    display: inline-block;
    margin-bottom: 12px;
  }
  .facts, .media-showcase, .media-showcase.triple, .brief-form, .about-side {
    grid-template-columns: 1fr;
  }
  .process-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .work-media-preview-split {
    grid-template-columns: 1fr;
  }
  .investor-preview-video {
    aspect-ratio: 16 / 9;
    height: auto;
  }
  .work-media-alfa .work-media-preview-split {
    grid-template-columns: 1fr;
  }
  .work-media-alfa .mock-stage-preview {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .works-grid {
    grid-template-columns: 1fr;
  }
  .fact-card {
    min-height: 0;
    padding: 22px;
  }
  .work-media {
    min-height: 0;
  }
  .brief-result-head, .section-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .cta-card {
    padding: 32px 20px;
  }
}

@media (max-width: 420px) {
  .process-timeline {
    gap: 10px;
  }
  .process-step {
    padding: 26px 10px 8px;
  }
  .step-circle {
    top: 8px;
    left: 8px;
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
  .process-step h3 {
    font-size: 17px;
  }
  .process-step p {
    font-size: 13px;
  }
}

.floating-contact {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: calc(100vw - 32px);
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  background: #229ed9;
  color: #fff;
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.18);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-contact svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: currentColor;
}

.floating-contact:hover,
.floating-contact:focus-visible {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(17, 17, 17, 0.24);
}

.floating-contact:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

@media (max-width: 420px) {
  .floating-contact {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    padding: 10px 13px;
    font-size: 12px;
  }
}
