:root {
  --ink: #111116;
  --paper: #fffaf7;
  --soft: #f3eeeb;
  --muted: #706b6b;
  --line: rgba(18, 18, 22, 0.12);
  --red: #df1212;
  --berry: #941320;
  --rose: #ff4656;
  --gold: #c9a35f;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(17, 17, 22, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  transition: background 240ms ease, color 240ms ease;
}

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

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

.site-shell {
  overflow: visible;
}

html,
body {
  overflow-x: clip;
}

.nav {
  position: fixed;
  z-index: 30;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 78px;
  padding: 14px clamp(16px, 4vw, 64px);
  background: rgba(255, 250, 247, 0.82);
  border-bottom: 1px solid rgba(17, 17, 22, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand img {
  width: 54px;
  height: 40px;
  object-fit: contain;
}

.brand span {
  font-size: 0.95rem;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(9px, 1.6vw, 22px);
  color: #2b2929;
  font-size: 0.91rem;
  font-weight: 760;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--red);
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-social,
.footer-social {
  display: flex;
  gap: 8px;
}

.nav-social a,
.footer-social a,
.theme-toggle,
.whatsapp-float {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.nav-social a:hover,
.footer-social a:hover,
.theme-toggle:hover {
  transform: translateY(-2px);
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.theme-toggle {
  position: relative;
  color: var(--ink);
  cursor: pointer;
}

.theme-toggle span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button.secondary {
  color: var(--ink);
  background: transparent;
}

.button.secondary.light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.48);
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-2px);
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 132px clamp(20px, 5vw, 78px) 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
  color: var(--white);
  background: var(--ink);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 16%, rgba(223, 18, 18, 0.34), transparent 29%),
    radial-gradient(circle at 22% 72%, rgba(201, 163, 95, 0.18), transparent 34%),
    linear-gradient(120deg, rgba(17, 17, 22, 0.98), rgba(47, 13, 21, 0.9) 56%, rgba(17, 17, 22, 0.96));
  opacity: 1;
}

.hero > * {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--rose);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}

h1,
.h1 {
  margin: 0;
  max-width: 980px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3rem, 6.6vw, 6.9rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(3.2rem, 6.1vw, 6.4rem);
  line-height: 0.98;
}

.hero-copy {
  max-width: 690px;
  min-width: 0;
}

.hero-copy p {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.06rem, 1.7vw, 1.35rem);
}

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

.hero-panel {
  position: relative;
  min-height: 520px;
}

#berry-scene {
  position: absolute;
  inset: -20px;
  width: calc(100% + 40px);
  height: calc(100% + 40px);
}

.hero-editorial::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(0deg, rgba(17, 17, 22, 0.94), transparent);
  pointer-events: none;
}

.orbital-card {
  position: absolute;
  right: 0;
  bottom: 22px;
  width: min(360px, 88vw);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.28);
}

.orbital-card strong {
  display: block;
  font-size: 2.8rem;
  line-height: 1;
}

.orbital-card span {
  color: rgba(255, 255, 255, 0.78);
}

.hero-editorial .orbital-card {
  display: none;
}

.opening-gallery {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(201, 163, 95, 0.12), transparent 36%),
    var(--paper);
}

.opening-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(360px, 1.16fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
}

.opening-copy {
  position: relative;
  z-index: 2;
}

.opening-copy .lead {
  margin-top: 20px;
}

.opening-stack {
  position: relative;
  min-height: 560px;
}

.opening-photo {
  position: absolute;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--soft);
  box-shadow: var(--shadow);
}

.opening-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.opening-photo.main {
  inset: 0 16% 9% 0;
}

.opening-photo.accent {
  right: 0;
  bottom: 0;
  width: 42%;
  min-height: 52%;
  border: 8px solid var(--paper);
}

.opening-badge {
  position: absolute;
  right: 8%;
  top: 7%;
  z-index: 3;
  max-width: 220px;
  padding: 18px;
  border-radius: 8px;
  color: var(--white);
  background: var(--red);
  box-shadow: 0 24px 70px rgba(223, 18, 18, 0.28);
}

.opening-badge strong {
  display: block;
  font-size: 1.65rem;
  line-height: 1;
}

.section {
  padding: clamp(72px, 9vw, 128px) clamp(20px, 5vw, 78px);
}

.section.tight {
  padding-top: clamp(46px, 6vw, 82px);
  padding-bottom: clamp(46px, 6vw, 82px);
}

.section.dark {
  color: var(--white);
  background: #151519;
}

.section.red {
  color: var(--white);
  background: linear-gradient(135deg, var(--berry), var(--red));
}

.section.infographic-band {
  background:
    linear-gradient(90deg, rgba(223, 18, 18, 0.08), transparent 42%),
    linear-gradient(180deg, #fffaf7, #f3eeeb);
}

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

.section-head h2,
.page-hero h1 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.section-head p,
.page-hero p,
.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
}

.dark .section-head p,
.red .section-head p,
.dark .lead,
.red .lead {
  color: rgba(255, 255, 255, 0.74);
}

.grid {
  display: grid;
  gap: 20px;
}

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

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

.service {
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 42px rgba(17, 17, 22, 0.06);
}

.service i,
.contact-card i,
.metric i {
  color: var(--red);
}

.service h3,
.project h3,
.contact-card h3,
.video-card h3 {
  margin: 18px 0 8px;
  font-size: 1.2rem;
}

.service p,
.project p,
.contact-card p,
.video-card p {
  margin: 0;
  color: var(--muted);
}

.dark .service {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.dark .service p {
  color: rgba(255, 255, 255, 0.7);
}

.marquee {
  display: flex;
  gap: 18px;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--white);
}

.marquee-track {
  display: flex;
  min-width: max-content;
  animation: glide 32s linear infinite;
}

.marquee span {
  padding: 18px 28px;
  color: var(--berry);
  font-weight: 900;
  text-transform: uppercase;
}

@keyframes glide {
  to {
    transform: translateX(-50%);
  }
}

.project {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.project-media {
  aspect-ratio: 1.25;
  overflow: hidden;
  background: var(--soft);
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.project:hover .project-media img {
  transform: scale(1.06);
}

.project-body {
  padding: 22px;
}

.asset-showcase {
  color: var(--white);
  background:
    radial-gradient(circle at 18% 12%, rgba(201, 163, 95, 0.18), transparent 28%),
    radial-gradient(circle at 82% 20%, rgba(223, 18, 18, 0.2), transparent 26%),
    #111116;
}

.asset-showcase .section-head p {
  color: rgba(255, 255, 255, 0.72);
}

.asset-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 18px;
}

.asset-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: #111116;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.28);
}

.asset-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
  transition: transform 600ms ease, filter 600ms ease;
}

.asset-card:hover img {
  transform: scale(1.05);
  filter: saturate(1) contrast(1.08);
}

.asset-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.72)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.22), transparent 46%);
}

.asset-card.large {
  min-height: 520px;
}

.asset-caption {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  bottom: 22px;
}

.asset-caption span {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.asset-caption h3 {
  margin: 8px 0 0;
  font-size: clamp(1.3rem, 2vw, 2rem);
  line-height: 1.05;
}

.billboard-section {
  background:
    linear-gradient(180deg, #fffaf7, #f3eeeb);
}

.billboard-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
}

.billboard-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.billboard-card.small {
  min-height: 250px;
}

.billboard-stack {
  display: grid;
  gap: 20px;
}

.billboard-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
}

.billboard-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 28%, rgba(0, 0, 0, 0.72)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.18), transparent 44%);
}

.billboard-caption {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  bottom: 22px;
  color: var(--white);
}

.billboard-caption span {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.billboard-caption h3 {
  margin: 8px 0 0;
  font-size: clamp(1.35rem, 2.4vw, 2.3rem);
  line-height: 1.04;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--berry);
  background: #fff7f5;
  font-size: 0.78rem;
  font-weight: 800;
}

.page-hero {
  padding: 150px clamp(20px, 5vw, 78px) 76px;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(17, 17, 22, 0.96), rgba(148, 19, 32, 0.78)),
    var(--ink);
}

.page-hero p {
  color: rgba(255, 255, 255, 0.78);
}

.page-hero.agency-hero,
.page-hero.project-hero,
.page-hero.video-hero,
.page-hero.visual-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.58fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  min-height: 72svh;
}

.logo-canvas,
.identity-stage canvas {
  width: 100%;
  min-height: 360px;
  display: block;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}

.feature-image {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-image img,
.feature-image video {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.feature-image.cinematic {
  transform: perspective(1200px) rotateY(-4deg);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.metric {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.metric strong {
  display: block;
  margin-top: 12px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

.scroll-story {
  position: relative;
  min-height: 440vh;
  padding-top: 0;
  padding-bottom: 0;
  color: var(--white);
  background:
    radial-gradient(circle at 20% 18%, rgba(223, 18, 18, 0.22), transparent 25%),
    radial-gradient(circle at 78% 44%, rgba(13, 120, 168, 0.16), transparent 34%),
    linear-gradient(180deg, #111116, #1f1720 42%, #111116);
}

.sticky-cinema {
  position: sticky;
  top: 0;
  height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

#milestone-scene {
  width: 100%;
  height: 100%;
  transform: scale(1.18);
  transform-origin: 72% 50%;
}

.milestone-hud {
  position: absolute;
  z-index: 2;
  right: clamp(28px, 5vw, 86px);
  top: 18vh;
  display: grid;
  gap: 12px;
  width: min(330px, 28vw);
  pointer-events: none;
}

.milestone-hud span {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.64);
  background:
    linear-gradient(90deg, rgba(223, 18, 18, 0.2), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.04);
  font-size: clamp(0.86rem, 1.1vw, 1rem);
  font-weight: 900;
  text-transform: uppercase;
  transform: translateX(18px);
  opacity: 0.58;
  transition: opacity 260ms ease, transform 260ms ease, color 260ms ease, border-color 260ms ease;
}

.milestone-hud span.is-active {
  color: var(--white);
  border-color: rgba(223, 18, 18, 0.58);
  opacity: 1;
  transform: translateX(0);
  box-shadow: 0 18px 60px rgba(223, 18, 18, 0.18);
}

.milestone-copy {
  position: relative;
  z-index: 3;
  width: min(680px, calc(100% - 40px));
  margin-left: clamp(20px, 6vw, 96px);
  margin-top: -100vh;
  padding-bottom: 52vh;
}

.milestone {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.milestone span {
  color: var(--rose);
  font-weight: 900;
}

.milestone h2 {
  margin: 8px 0 16px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.88;
}

.milestone p {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1rem, 1.6vw, 1.24rem);
}

.flow-line {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.flow-line div {
  position: relative;
  min-height: 190px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.flow-line div:last-child {
  border-right: 0;
}

.flow-line i {
  color: var(--red);
}

.flow-line strong {
  display: block;
  margin-top: 40px;
  font-size: 1.25rem;
}

.flow-line span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.identity-stage {
  min-height: 460px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    #111116;
  overflow: hidden;
}

.capability-orbit {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle, rgba(223, 18, 18, 0.12), transparent 34%),
    var(--white);
  overflow: hidden;
}

.capability-orbit::before,
.capability-orbit::after {
  content: "";
  position: absolute;
  width: min(520px, 80vw);
  aspect-ratio: 1;
  border: 1px dashed rgba(148, 19, 32, 0.24);
  border-radius: 50%;
  animation: spin 28s linear infinite;
}

.capability-orbit::after {
  width: min(360px, 62vw);
  animation-duration: 18s;
  animation-direction: reverse;
}

.orbit-core {
  z-index: 2;
  display: grid;
  place-items: center;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  color: var(--white);
  background: var(--red);
  font-weight: 900;
  box-shadow: 0 24px 80px rgba(223, 18, 18, 0.28);
}

.capability-orbit span {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-weight: 850;
  transform:
    rotate(calc(var(--i) * 45deg))
    translateX(clamp(170px, 27vw, 300px))
    rotate(calc(var(--i) * -45deg));
}

@keyframes spin {
  to {
    rotate: 360deg;
  }
}

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

.video-card {
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.video-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

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

.play {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: var(--white);
  background: var(--red);
}

.video-card .project-body {
  min-height: 150px;
}

.ecosystem {
  position: relative;
  min-height: 540px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    radial-gradient(circle at center, rgba(223, 18, 18, 0.22), transparent 34%),
    #111116;
}

.ecosystem::before {
  content: "";
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  animation: spin 24s linear infinite;
}

.eco-core,
.eco-node {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 900;
}

.eco-core {
  width: 180px;
  height: 180px;
  color: var(--white);
  background: var(--red);
}

.eco-node {
  width: 104px;
  height: 104px;
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
}

.n1 { transform: translate(-250px, -130px); }
.n2 { transform: translate(0, -210px); }
.n3 { transform: translate(250px, -120px); }
.n4 { transform: translate(270px, 130px); }
.n5 { transform: translate(-20px, 220px); }
.n6 { transform: translate(-270px, 110px); }

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

.dash-panel {
  min-height: 180px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.dash-panel.wide {
  grid-column: span 2;
}

.dash-panel.tall {
  grid-row: span 2;
}

.dash-panel strong {
  display: block;
  color: var(--rose);
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 0.9;
}

.dash-panel span {
  color: rgba(255, 255, 255, 0.76);
}

.visual-lab {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 72% 24%, rgba(223, 18, 18, 0.24), transparent 26%),
    linear-gradient(135deg, #ffffff, #f3eeeb);
  box-shadow: var(--shadow);
}

.pulse-board {
  position: absolute;
  inset: 34px;
  border: 1px solid rgba(17, 17, 22, 0.1);
  border-radius: 8px;
  background-image:
    linear-gradient(rgba(17, 17, 22, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 22, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
}

.pulse-board span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: calc(72px * var(--s));
  height: calc(72px * var(--s));
  border-radius: 50%;
  background: rgba(223, 18, 18, 0.16);
  border: 2px solid var(--red);
  transform: translate(-50%, -50%);
  animation: pulse-dot 2.8s ease-in-out infinite;
}

.pulse-board span::after {
  content: "";
  position: absolute;
  inset: 34%;
  border-radius: 50%;
  background: var(--red);
}

@keyframes pulse-dot {
  50% {
    scale: 1.16;
    opacity: 0.72;
  }
}

.growth-card {
  position: absolute;
  right: 34px;
  bottom: 34px;
  width: min(280px, 70%);
  padding: 26px;
  border-radius: 8px;
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 24px 70px rgba(17, 17, 22, 0.3);
}

.growth-card strong {
  display: block;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 0.94;
}

.growth-card em {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.68);
  font-style: normal;
}

.camera-lab {
  background:
    radial-gradient(circle at 50% 50%, rgba(223, 18, 18, 0.2), transparent 30%),
    #111116;
  border-color: rgba(255, 255, 255, 0.14);
}

.lens {
  position: absolute;
  left: 50%;
  top: 42%;
  width: min(310px, 64vw);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle, #111116 0 18%, #06445c 19% 31%, #df1212 32% 42%, #0d78a8 43% 58%, #050507 59%);
  border: 10px solid rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 0 45px rgba(255, 255, 255, 0.16), 0 30px 90px rgba(0, 0, 0, 0.4);
  animation: spin 18s linear infinite;
}

.content-strip {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 34px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.content-strip span {
  min-height: 96px;
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04)),
    var(--red);
}

.content-strip span:nth-child(2) { background-color: #0d78a8; }
.content-strip span:nth-child(3) { background-color: #ffffff; }
.content-strip span:nth-child(4) { background-color: #941320; }

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

.contact-card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.contact-form textarea {
  min-height: 150px;
  padding-top: 14px;
  resize: vertical;
}

.gm-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: clamp(22px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.portrait {
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 1;
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer {
  padding: 64px clamp(20px, 5vw, 78px) 28px;
  color: rgba(255, 255, 255, 0.72);
  background:
    radial-gradient(circle at 12% 12%, rgba(223, 18, 18, 0.18), transparent 26%),
    #0d0d11;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.3fr) repeat(3, minmax(160px, 0.7fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.footer-brand p,
.footer-col p,
.footer-bottom {
  color: rgba(255, 255, 255, 0.66);
}

.footer-brand p {
  max-width: 430px;
  margin: 18px 0 22px;
}

.footer-col h3 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  margin: 10px 0;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.86rem;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 760ms ease, transform 760ms ease, filter 760ms ease;
  will-change: opacity, transform;
}

.reveal.intro-left {
  transform: translateX(-34px);
}

.reveal.intro-right {
  transform: translateX(34px);
}

.reveal.intro-zoom {
  transform: translateY(20px) scale(0.96);
}

.reveal.intro-soft {
  filter: blur(8px);
}

main > section.reveal.intro-left,
main > section.reveal.intro-right {
  transform: translateY(26px);
}

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

.whatsapp-float {
  position: fixed;
  z-index: 40;
  right: clamp(18px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 34px);
  width: 62px;
  height: 62px;
  color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--berry));
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 18px 54px rgba(148, 19, 32, 0.34);
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.03);
  background: linear-gradient(135deg, var(--berry), #0d78a8);
}

body.theme-dark {
  color: #f7f2ef;
  background: #0f0f12;
  --paper: #0f0f12;
  --soft: #18181e;
  --muted: #bdb7b7;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

body.theme-dark .nav {
  background: rgba(15, 15, 18, 0.86);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

body.theme-dark .nav-links,
body.theme-dark .theme-toggle {
  color: #f7f2ef;
}

body.theme-dark .nav-social a,
body.theme-dark .theme-toggle {
  background: rgba(255, 255, 255, 0.08);
}

body.theme-dark .section:not(.dark):not(.red):not(.asset-showcase),
body.theme-dark .opening-gallery,
body.theme-dark .billboard-section {
  background: #0f0f12;
}

body.theme-dark .section.infographic-band {
  background:
    linear-gradient(90deg, rgba(223, 18, 18, 0.12), transparent 42%),
    linear-gradient(180deg, #101015, #18181e);
}

body.theme-dark .service,
body.theme-dark .project,
body.theme-dark .video-card,
body.theme-dark .metric,
body.theme-dark .contact-card,
body.theme-dark .gm-card,
body.theme-dark .flow-line,
body.theme-dark .capability-orbit {
  color: #f7f2ef;
  background: #18181e;
  border-color: rgba(255, 255, 255, 0.13);
}

body.theme-dark .service p,
body.theme-dark .project p,
body.theme-dark .video-card p,
body.theme-dark .contact-card p,
body.theme-dark .flow-line span,
body.theme-dark .footer-col p,
body.theme-dark .section-head p,
body.theme-dark .lead {
  color: #bdb7b7;
}

body.theme-dark .tag {
  color: #ffd6d6;
  background: rgba(223, 18, 18, 0.18);
  border-color: rgba(223, 18, 18, 0.36);
}

body.theme-dark .contact-form input,
body.theme-dark .contact-form textarea,
body.theme-dark .contact-form select,
body.theme-dark .mobile-toggle {
  color: #f7f2ef;
  background: #18181e;
  border-color: rgba(255, 255, 255, 0.14);
}

body.theme-dark .opening-photo.accent {
  border-color: #0f0f12;
}

@media (max-width: 1180px) {
  .nav {
    gap: 12px;
  }

  .nav-links {
    gap: 12px;
    font-size: 0.82rem;
  }

  .brand span {
    font-size: 0.86rem;
  }

  .nav-social a,
  .theme-toggle {
    width: 36px;
    height: 36px;
  }

  .nav-cta {
    padding-inline: 14px;
  }
}

@media (max-width: 980px) {
  .mobile-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: fixed;
    inset: 76px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }

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

  .nav-cta {
    display: none;
  }

  .hero,
  .split,
  .opening-layout,
  .gm-card,
  .page-hero.agency-hero,
  .page-hero.project-hero,
  .page-hero.video-hero,
  .page-hero.visual-hero {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 360px;
  }

  .grid.three,
  .video-grid,
  .contact-grid,
  .metrics,
  .flow-line,
  .asset-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .asset-card.large {
    grid-column: 1 / -1;
  }

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

  .milestone-copy {
    margin-left: 20px;
  }

  #milestone-scene {
    transform: scale(1.1);
    transform-origin: 62% 50%;
  }

  .milestone-hud {
    right: 20px;
    top: auto;
    bottom: 8vh;
    width: min(300px, calc(100% - 40px));
  }

  .milestone-hud span {
    min-height: 46px;
    padding-inline: 14px;
  }
}

@media (max-width: 680px) {
  .reveal.intro-left,
  .reveal.intro-right {
    transform: translateY(26px);
  }

  .grid.two,
  .grid.three,
  .video-grid,
  .contact-grid,
  .metrics,
  .flow-line,
  .billboard-grid,
  .dashboard,
  .asset-grid {
    grid-template-columns: 1fr;
  }

  .asset-card,
  .asset-card.large {
    min-height: 360px;
    grid-column: auto;
  }

  .flow-line div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .flow-line div:last-child {
    border-bottom: 0;
  }

  .section-head,
  .footer-bottom {
    display: block;
  }

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

  .nav {
    min-height: 74px;
    padding-inline: 20px;
  }

  .brand {
    gap: 8px;
  }

  .brand img {
    width: 48px;
  }

  .brand span {
    display: none;
  }

  .nav-actions {
    gap: 7px;
  }

  .nav-social {
    display: none;
  }

  .nav-social a,
  .theme-toggle {
    width: 34px;
    height: 34px;
  }

  .hero {
    padding-top: 118px;
    overflow: hidden;
  }

  .hero-copy,
  .page-hero > div {
    min-width: 0;
  }

  .hero h1,
  .page-hero h1,
  h1,
  .h1 {
    max-width: 100%;
    font-size: clamp(2.1rem, 10.5vw, 2.85rem);
    overflow-wrap: anywhere;
  }

  .eyebrow {
    max-width: 100%;
    font-size: 0.72rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .hero-copy p,
  .page-hero p,
  .lead {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero-panel {
    min-height: 300px;
  }

  .scroll-story {
    min-height: 430vh;
  }

  #milestone-scene {
    transform: scale(1.02);
    transform-origin: center;
  }

  .milestone-hud {
    top: 82px;
    bottom: auto;
    left: 20px;
    right: 20px;
    width: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .milestone-hud span {
    min-height: 38px;
    font-size: 0.72rem;
  }

  .orbital-card {
    position: relative;
    margin-top: 220px;
  }

  .opening-stack {
    min-height: 520px;
  }

  .opening-photo.main {
    inset: 0 0 19% 0;
  }

  .opening-photo.accent {
    width: 58%;
    min-height: 42%;
  }

  .billboard-card,
  .billboard-card.small {
    min-height: 360px;
  }

  .capability-orbit {
    min-height: 520px;
  }

  .capability-orbit span {
    transform:
      rotate(calc(var(--i) * 45deg))
      translateX(155px)
      rotate(calc(var(--i) * -45deg));
  }

  .eco-node {
    width: 84px;
    height: 84px;
    font-size: 0.82rem;
  }

  .n1 { transform: translate(-130px, -140px); }
  .n2 { transform: translate(0, -185px); }
  .n3 { transform: translate(130px, -120px); }
  .n4 { transform: translate(130px, 120px); }
  .n5 { transform: translate(0, 180px); }
  .n6 { transform: translate(-130px, 110px); }
}

@media (max-width: 430px) {
  .brand span {
    display: none;
  }

  .nav-social a {
    width: 32px;
    height: 32px;
  }
}

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