@import url('https://fonts.googleapis.com/css2?family=Syne:wght@700;800&display=swap');

/* =========================================================
   TheXYZ.Co — Main Stylesheet
   Brand: black-first, cream canvas accent, Bold Yellow period
   Typography: Bebas Neue (display) / DM Sans (body) / Instrument Serif (accents)
   ========================================================= */

:root {
  --c-black: #080808;
  --c-pitch: #161616;
  --c-ink: #0e0e0e;
  --c-cream: #F4F1EA;
  --c-yellow: #FFE033;
  --c-orange: #FF5C1A;
  --c-pink: #FF3CAC;
  --c-teal: #2BFFEE;
  --c-line: rgba(244, 241, 234, 0.12);
  --c-muted: rgba(244, 241, 234, 0.55);

  --f-display: "Bebas Neue", "Arial Narrow", sans-serif;
  --f-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --f-serif: "Instrument Serif", "Times New Roman", serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --nav-h: 84px;
  --side-pad: clamp(18px, 3vw, 44px);
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--c-black);
  color: var(--c-cream);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body.locked { overflow: hidden; }

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

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

::selection { background: var(--c-yellow); color: var(--c-black); }

/* Scrollbars */
::-webkit-scrollbar { width: 10px; height: 10px; background: var(--c-black); }
::-webkit-scrollbar-thumb { background: #1e1e1e; border-radius: 10px; }

/* Film grain overlay */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='matrix' values='0 0 0 0 0.95  0 0 0 0 0.95  0 0 0 0 0.95  0 0 0 0.5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* =========================
   Preloader
   ========================= */
.preloader {
  position: fixed; inset: 0;
  background: var(--c-black);
  z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display);
  letter-spacing: 0.04em;
  color: var(--c-cream);
}
.preloader__count {
  font-size: clamp(80px, 18vw, 220px);
  line-height: 0.85;
  font-weight: 400;
}
.preloader__count .dot { color: var(--c-yellow); }

/* =========================
   Custom cursor
   ========================= */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 14px; height: 14px;
  background: var(--c-yellow);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  transition: width .35s var(--ease-out), height .35s var(--ease-out), background .25s;
}
.cursor--ring {
  position: fixed;
  top: 0; left: 0;
  width: 36px; height: 36px;
  border: 1px solid var(--c-cream);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width .4s var(--ease-out), height .4s var(--ease-out), border-color .25s;
  mix-blend-mode: difference;
}
.cursor.is-hover { width: 8px; height: 8px; }
.cursor--ring.is-hover { width: 72px; height: 72px; border-color: var(--c-yellow); }
.cursor--label {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  font-family: var(--f-display);
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--c-black);
  background: var(--c-yellow);
  padding: 6px 10px;
  border-radius: 40px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8);
  transition: opacity .25s, transform .25s var(--ease-out);
  white-space: nowrap;
}
.cursor--label.is-visible { opacity: 1; transform: translate(-50%, -50%) scale(1); }

@media (pointer: coarse) {
  .cursor, .cursor--ring, .cursor--label { display: none !important; }
  html, body { cursor: auto; }
}

/* Hide default cursor on desktop only */
@media (pointer: fine) {
  html { cursor: none; }
  a, button, input, textarea, select { cursor: none; }
}

/* =========================
   Nav
   ========================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--side-pad);
  mix-blend-mode: difference;
  color: var(--c-cream);
}
.nav__brand {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.16em;
  color: var(--c-cream);
  text-transform: uppercase;
  display: inline-block;
  transition: transform 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
.nav__brand:hover {
  transform: translateY(-1px);
  color: var(--c-yellow);
}
.nav__brand .dot { 
  color: var(--c-yellow); 
  transition: color 0.3s var(--ease-out);
}
.nav__brand:hover .dot {
  color: var(--c-pink);
}

.nav__links {
  display: flex; gap: 34px; align-items: center;
  font-family: var(--f-body);
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 500;
}
.nav__links a {
  position: relative;
  padding: 6px 2px;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .5s var(--ease-out);
}
.nav__links a:hover::after,
.nav__links a.active::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.nav__menu-btn {
  display: none;
  font-family: var(--f-display);
  font-size: 22px;
  letter-spacing: 0.04em;
  background: transparent;
  border: none;
  color: var(--c-cream);
  padding: 0;
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__menu-btn { display: inline-flex; align-items: center; gap: 10px; }
  .nav__menu-btn::before {
    content: ""; width: 10px; height: 10px; background: var(--c-yellow); border-radius: 50%;
  }
}

/* Sidebar menu */
.sidemenu {
  position: fixed;
  top: 0; right: 0;
  width: min(480px, 92vw);
  height: 100vh;
  background: var(--c-pitch);
  z-index: 200;
  transform: translateX(100%);
  transition: transform .7s var(--ease-in-out);
  display: flex; flex-direction: column;
  padding: 28px var(--side-pad);
}
.sidemenu.is-open { transform: translateX(0); }
.sidemenu__top {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 30px; border-bottom: 1px solid var(--c-line);
}
.sidemenu__close {
  background: transparent; border: none; color: var(--c-cream);
  font-family: var(--f-display); font-size: 18px; letter-spacing: 0.06em;
  display: inline-flex; align-items: center; gap: 10px;
}
.sidemenu__close::before { content: "×"; font-size: 34px; line-height: 0.7; color: var(--c-yellow); }

.sidemenu__links {
  display: flex; flex-direction: column;
  gap: 2px;
  margin-top: 48px;
  font-family: var(--f-display);
}
.sidemenu__links a {
  font-size: clamp(40px, 9vw, 80px);
  line-height: 1;
  padding: 14px 0;
  border-bottom: 1px solid var(--c-line);
  display: flex; justify-content: space-between; align-items: center;
  color: var(--c-cream);
  transition: color .3s, padding-left .3s var(--ease-out);
}
.sidemenu__links a:hover { color: var(--c-yellow); padding-left: 12px; }
.sidemenu__links a span {
  font-family: var(--f-body); font-size: 12px; letter-spacing: 0.12em;
  color: var(--c-muted); text-transform: uppercase;
}

.sidemenu__foot {
  margin-top: auto;
  padding-top: 30px;
  border-top: 1px solid var(--c-line);
  display: flex; justify-content: space-between;
  font-size: 13px; color: var(--c-muted);
}

.sidemenu-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(6px);
  z-index: 150;
  opacity: 0; pointer-events: none;
  transition: opacity .5s;
}
.sidemenu-backdrop.is-open { opacity: 1; pointer-events: auto; }

/* =========================
   Typography
   ========================= */
.eyebrow {
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-muted);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--c-yellow);
}

h1, h2, h3, h4, h5 {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0.005em;
  margin: 0;
  text-transform: uppercase;
}
h1 { font-size: clamp(56px, 11vw, 180px); }
h2 { font-size: clamp(48px, 8.5vw, 140px); }
h3 { font-size: clamp(30px, 4.6vw, 72px); }
h4 { font-size: clamp(22px, 2.4vw, 36px); }

.yellow-dot { color: var(--c-yellow); }
.pink-dot { color: var(--c-pink); }
.orange-dot { color: var(--c-orange); }
.pink-word { color: var(--c-pink); }
.orange-word { color: var(--c-orange); }
.pink-underline {
  background-image: linear-gradient(var(--c-pink), var(--c-pink));
  background-repeat: no-repeat;
  background-size: 100% 3px;
  background-position: 0 90%;
  padding: 0 2px;
}
.orange-underline {
  background-image: linear-gradient(var(--c-orange), var(--c-orange));
  background-repeat: no-repeat;
  background-size: 100% 3px;
  background-position: 0 90%;
  padding: 0 2px;
}

.serif-it {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

p.lead {
  font-size: clamp(18px, 1.6vw, 26px);
  line-height: 1.45;
  max-width: 62ch;
  color: rgba(244,241,234,0.88);
}

p { color: rgba(244,241,234,0.82); }

/* Split text */
.split .line { overflow: hidden; display: block; }
.split .line__inner { display: inline-block; transform: translateY(110%); will-change: transform; }
.split.is-in .line__inner { transform: translateY(0); transition: transform 1s var(--ease-out); }
.split.is-in .line:nth-child(2) .line__inner { transition-delay: .08s; }
.split.is-in .line:nth-child(3) .line__inner { transition-delay: .16s; }
.split.is-in .line:nth-child(4) .line__inner { transition-delay: .24s; }
.split.is-in .line:nth-child(5) .line__inner { transition-delay: .32s; }

/* =========================
   Hero (home)
   ========================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: calc(var(--nav-h) + 40px) var(--side-pad) 40px;
  overflow: hidden;
}
.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: auto;
}
.hero__canvas canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}
.hero__content,
.hero__foot {
  position: relative;
  z-index: 3;
}
@media (min-width: 900px) {
  .hero__canvas {
    transform: scale(1.08);
  }
}
.hero__content {
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  gap: 28px;
}

.hero__title {
  font-size: clamp(70px, 14.5vw, 240px);
  line-height: 0.95;
  letter-spacing: -0.01em;
}
.hero__title .stroke {
  -webkit-text-stroke: 1.5px var(--c-cream);
  color: transparent;
}

.hero__meta {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--c-line);
  position: relative; z-index: 2;
}
.hero__meta > div { font-size: 13px; color: var(--c-muted); letter-spacing: 0.08em; text-transform: uppercase; }
.hero__meta strong { display: block; color: var(--c-cream); font-family: var(--f-display); font-size: 22px; letter-spacing: 0.02em; margin-top: 6px; }

@media (max-width: 760px) {
  .hero__meta { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile hero tightening */
@media (max-width: 760px) {
  :root { --nav-h: 64px; --side-pad: 20px; }
  .hero:not(.hero--metaball), .hero--full:not(.hero--metaball) {
    min-height: 100svh;
    padding: calc(var(--nav-h) + 20px) var(--side-pad) 30px;
    display: block;
  }
  .hero:not(.hero--metaball) .hero__canvas {
    inset: -12vh -35vw -10vh -35vw;
    transform: scale(1.25);
    position: absolute;
  }
  .hero:not(.hero--metaball) .hero__content {
    margin-top: 10px;
    padding-top: 22vh;
  }
  .hero__title {
    font-size: clamp(3.2rem, 14vw, 5.8rem) !important;
    text-align: left !important;
    align-self: flex-start !important;
    width: 100% !important;
  }
  .hero__foot { margin-top: 24px; padding-top: 14px; }
  .scrollhint { display: none; }
  .section { padding: 60px var(--side-pad); }
  .home-line { padding: 50px var(--side-pad) 70px; }
  .home-line p.serif-it { font-size: clamp(28px, 7vw, 48px); }
  .home-line__foot { gap: 20px; margin-top: 36px; padding-top: 20px; }
  .home-line__link { font-size: clamp(20px, 6vw, 28px); }
  .page-hero { padding: calc(var(--nav-h) + 40px) var(--side-pad) 40px; }
  .page-hero h1 { font-size: clamp(48px, 14vw, 90px); }
  .page-hero__grid { gap: 20px; margin-top: 30px; }
  .marquee { padding: 14px 0; }
  .marquee__track { font-size: clamp(26px, 8vw, 42px); gap: 40px; }
  .marquee__track span { gap: 40px; }
  .svc-simple__row { padding: 30px 0; }
  .footer { padding: 50px var(--side-pad) 20px; }
  .footer__wordmark { margin-bottom: 30px; }
  .footer__grid { padding: 30px 0; gap: 24px; }
  .cta { padding: 60px var(--side-pad); }
}

/* Scroll hint */
.scrollhint {
  position: absolute;
  bottom: 20px;
  left: 50%; transform: translateX(-50%);
  font-family: var(--f-body);
  font-size: 11px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--c-muted);
  z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scrollhint::after {
  content: ""; width: 1px; height: 40px; background: linear-gradient(var(--c-yellow), transparent);
  animation: scrollhint 2.2s infinite;
}
@keyframes scrollhint {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* =========================
   Marquee
   ========================= */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  padding: 20px 0;
  background: var(--c-black);
}
.marquee__track {
  display: flex; gap: 60px;
  white-space: nowrap;
  animation: marq 28s linear infinite;
  font-family: var(--f-display);
  font-size: clamp(32px, 5vw, 72px);
  letter-spacing: 0.02em;
}
.marquee__track span { display: inline-flex; align-items: center; gap: 60px; }
.marquee__track .dot {
  width: 14px; height: 14px; background: var(--c-yellow); border-radius: 50%; display: inline-block;
}
.marquee__track .dot--pink { background: var(--c-pink); }
.marquee__track .dot--orange { background: var(--c-orange); }
.marquee--reverse .marquee__track { animation-direction: reverse; }
@keyframes marq {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================
   Sections
   ========================= */
.section {
  padding: clamp(60px, 6vw, 100px) var(--side-pad);
  position: relative;
}
.section--light { background: var(--c-cream); color: var(--c-black); }
.section--light p { color: rgba(8,8,8,0.75); }
.section--light .eyebrow { color: rgba(8,8,8,0.6); }
.section--light .eyebrow::before { background: var(--c-black); }

.section__head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 80px;
}
@media (max-width: 760px) { .section__head { grid-template-columns: 1fr; margin-bottom: 50px; } }

/* =========================
   Work grid
   ========================= */
.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 30px;
}
.work-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4/5;
}
.work-card .media {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.05);
  transition: transform 1.2s var(--ease-out);
}
.work-card:hover .media { transform: scale(1.12); }
.work-card .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.6));
}
.work-card .meta {
  position: absolute; left: 22px; right: 22px; bottom: 20px;
  display: flex; justify-content: space-between; align-items: end; gap: 16px;
}
.work-card .meta h3 {
  font-size: clamp(22px, 2vw, 36px);
  line-height: 1; margin: 0;
}
.work-card .meta .tag {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--c-cream);
  border: 1px solid rgba(255,255,255,0.25); padding: 4px 10px; border-radius: 30px;
}

.wc-6 { grid-column: span 6; }
.wc-7 { grid-column: span 7; }
.wc-5 { grid-column: span 5; }
.wc-8 { grid-column: span 8; }
.wc-4 { grid-column: span 4; }
.wc-12 { grid-column: span 12; aspect-ratio: 21/9; }

@media (max-width: 900px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .wc-4, .wc-5, .wc-6, .wc-7, .wc-8 { grid-column: span 1; }
  .wc-12 { grid-column: span 2; aspect-ratio: 16/10; }
  .work-card { aspect-ratio: 4/5; }
}

/* =========================
   Services list
   ========================= */
.svc {
  border-top: 1px solid var(--c-line);
}
.svc__row {
  position: relative;
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 38px 0;
  border-bottom: 1px solid var(--c-line);
  transition: background .5s;
}
.svc__row::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; bottom: 0;
  background: var(--c-yellow);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform .7s var(--ease-in-out);
  z-index: -1;
}
.svc__row:hover::before { transform: scaleX(1); }
.svc__row:hover { color: var(--c-black); }
.svc__row:hover .svc__num { color: var(--c-black); }
.svc__row:hover .svc__tags span { border-color: var(--c-black); color: var(--c-black); }
.svc__row:hover .svc__arrow { color: var(--c-black); transform: rotate(-45deg); }
.svc__num {
  font-family: var(--f-display);
  font-size: 18px; letter-spacing: 0.06em; color: var(--c-muted);
  transition: color .3s;
}
.svc__title {
  font-family: var(--f-display);
  font-size: clamp(36px, 5.6vw, 84px);
  line-height: 1; margin: 0;
}
.svc__title span.it { font-family: var(--f-serif); font-style: italic; font-size: 0.82em; text-transform: none; letter-spacing: 0; }
.svc__tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.svc__tags span {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  border: 1px solid var(--c-line); padding: 4px 10px; border-radius: 30px;
  transition: color .3s, border-color .3s;
  color: var(--c-muted);
}
.svc__arrow {
  font-size: 34px; color: var(--c-cream); transition: transform .5s var(--ease-out), color .3s;
  font-family: var(--f-display);
}

@media (max-width: 760px) {
  .svc__row { grid-template-columns: 50px 1fr auto; gap: 18px; padding: 26px 0; }
}

/* =========================
   Philosophy / Stats
   ========================= */
.philo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) { .philo { grid-template-columns: 1fr; gap: 40px; } }
.philo h2 { font-size: clamp(56px, 9vw, 140px); line-height: 0.9; }
.philo__body { font-size: clamp(17px, 1.4vw, 22px); line-height: 1.5; }
.philo__body p + p { margin-top: 22px; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
  margin-top: 80px;
  padding-top: 40px; border-top: 1px solid var(--c-line);
}
.stats__item strong { font-family: var(--f-display); font-size: clamp(44px, 6vw, 90px); line-height: 1; display: block; }
.stats__item span { font-size: 12px; color: var(--c-muted); letter-spacing: 0.18em; text-transform: uppercase; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* =========================
   CTA
   ========================= */
.cta {
  position: relative;
  padding: clamp(80px, 14vw, 200px) var(--side-pad);
  background: var(--c-yellow);
  color: var(--c-black);
  overflow: hidden;
}
.cta h2 {
  font-size: clamp(60px, 12vw, 220px);
  line-height: 0.85;
}
.cta__foot {
  display: flex; justify-content: space-between; align-items: end;
  margin-top: 50px; flex-wrap: wrap; gap: 20px;
}
.btn-big {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--f-display); font-size: 22px; letter-spacing: 0.06em;
  background: var(--c-black); color: var(--c-cream);
  padding: 20px 34px; border-radius: 60px;
  text-transform: uppercase;
  transition: transform .4s var(--ease-out), background .3s;
  border: none;
}
.btn-big:hover { transform: translateY(-3px); background: var(--c-ink); }
.btn-big::after { content: "→"; font-family: var(--f-display); }

/* =========================
   Footer
   ========================= */
.footer {
  background: var(--c-black);
  padding: 80px var(--side-pad) 30px;
  border-top: 1px solid var(--c-line);
}
.footer__wordmark {
  font-family: var(--f-display);
  font-size: clamp(90px, 18vw, 300px);
  line-height: 0.85;
  letter-spacing: -0.005em;
  color: var(--c-cream);
  text-transform: uppercase;
  margin: 0 0 50px;
}
.footer__wordmark .dot { color: var(--c-yellow); }

.footer__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
  padding: 50px 0;
  border-top: 1px solid var(--c-line);
}
.footer__grid h5 { font-size: 13px; letter-spacing: 0.2em; color: var(--c-muted); margin-bottom: 18px; font-family: var(--f-body); font-weight: 500; }
.footer__grid a, .footer__grid p { font-size: 15px; color: var(--c-cream); display: block; padding: 4px 0; }
.footer__grid a:hover { color: var(--c-yellow); }

.footer__bottom {
  display: flex; justify-content: space-between; padding-top: 24px;
  border-top: 1px solid var(--c-line);
  font-size: 12px; color: var(--c-muted); letter-spacing: 0.1em; text-transform: uppercase;
  flex-wrap: wrap; gap: 20px;
}

@media (max-width: 760px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

/* =========================
   Page hero (inner pages)
   ========================= */
.page-hero {
  padding: calc(var(--nav-h) + 80px) var(--side-pad) 80px;
  border-bottom: 1px solid var(--c-line);
}
.page-hero h1 {
  font-size: clamp(60px, 12vw, 200px);
  line-height: 0.88;
  max-width: 18ch;
}

/* 3D variant: canvas layer behind content */
.page-hero--3d { position: relative; overflow: hidden; }
.page-hero--3d > *:not(.page-hero__canvas) { position: relative; z-index: 2; }
.page-hero__canvas {
  position: absolute; inset: 0;
  z-index: 0;
  pointer-events: none;
}
.page-hero__canvas canvas { width: 100% !important; height: 100% !important; display: block; }
.page-hero__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 60px;
  align-items: end;
}
@media (max-width: 800px) { .page-hero__grid { grid-template-columns: 1fr; gap: 30px; } }

/* =========================
   About block
   ========================= */
.about-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }
.about-grid img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about-grid h3 { margin-bottom: 20px; }
.about-list {
  list-style: none; padding: 0; margin: 30px 0 0;
  border-top: 1px solid var(--c-line);
}
.about-list li {
  padding: 20px 0; border-bottom: 1px solid var(--c-line);
  display: grid; grid-template-columns: 40px 1fr; gap: 16px;
  font-size: 17px;
}
.about-list .n { font-family: var(--f-display); color: var(--c-yellow); }

/* =========================
   Contact
   ========================= */
.contact-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px;
  padding-top: 40px; border-top: 1px solid var(--c-line);
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 30px; } }
.contact-card h4 { font-size: 26px; margin-bottom: 14px; }
.contact-card p { font-size: 15px; margin: 4px 0; }
.contact-card a { color: var(--c-yellow); }

.contact-form {
  margin-top: 80px;
  padding-top: 40px; border-top: 1px solid var(--c-line);
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px 40px;
}
.contact-form .full { grid-column: span 2; }
.contact-form label {
  display: flex; flex-direction: column; gap: 10px;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--c-muted);
}
.contact-form input, .contact-form textarea, .contact-form select {
  background: transparent;
  border: none; border-bottom: 1px solid var(--c-line);
  padding: 10px 0; color: var(--c-cream);
  font-family: var(--f-body); font-size: 17px;
  outline: none; transition: border-color .3s;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--c-yellow); }
.contact-form textarea { min-height: 130px; resize: vertical; }
@media (max-width: 760px) { .contact-form { grid-template-columns: 1fr; } .contact-form .full { grid-column: span 1; } }

/* =========================
   Project detail
   ========================= */
.project-cover {
  margin-top: var(--nav-h);
  height: 80vh;
  background-size: cover; background-position: center;
  position: relative;
  overflow: hidden;
}
.project-cover .inner {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2), rgba(0,0,0,0.7));
  display: flex; align-items: end;
  padding: var(--side-pad);
}
.project-cover h1 {
  font-size: clamp(60px, 12vw, 200px); line-height: 0.85;
}
.project-meta {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
  padding: 60px var(--side-pad);
  border-bottom: 1px solid var(--c-line);
}
.project-meta strong { display: block; font-family: var(--f-display); font-size: 22px; margin-top: 6px; letter-spacing: 0.03em; }
.project-meta span { font-size: 11px; color: var(--c-muted); letter-spacing: 0.2em; text-transform: uppercase; }
@media (max-width: 760px) { .project-meta { grid-template-columns: repeat(2, 1fr); } }

.project-body { padding: 80px var(--side-pad); }
.project-body .lede { font-size: clamp(22px, 2.2vw, 36px); line-height: 1.3; max-width: 22ch; margin-bottom: 60px; }
.project-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.project-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.project-gallery .wide { grid-column: span 2; aspect-ratio: 16/9; }
@media (max-width: 760px) { .project-gallery { grid-template-columns: 1fr; } .project-gallery .wide { grid-column: span 1; } }

.project-next {
  padding: 80px var(--side-pad);
  border-top: 1px solid var(--c-line);
  display: flex; justify-content: space-between; align-items: end; gap: 30px;
  flex-wrap: wrap;
}
.project-next h2 { font-size: clamp(48px, 8vw, 120px); }

/* =========================
   Reveal helpers
   ========================= */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }

.img-reveal { overflow: hidden; position: relative; }
.img-reveal img, .img-reveal .media { transform: scale(1.2); transition: transform 1.6s var(--ease-out); }
.img-reveal.is-in img, .img-reveal.is-in .media { transform: scale(1); }
.img-reveal::after {
  content: "";
  position: absolute; inset: 0; background: var(--c-yellow);
  transform: scaleX(1); transform-origin: left center;
  transition: transform 1s var(--ease-in-out);
}
.img-reveal.is-in::after { transform: scaleX(0); transform-origin: right center; }

/* =========================
   Work — Quiet grid (label below image, no overlay)
   ========================= */
.work-quiet {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 60px 30px;
}
.wq-card { display: block; color: var(--c-cream); }
.wq-img { overflow: hidden; aspect-ratio: 4/3; background: #111; }
.wq-img img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  transition: opacity .5s;
}
.wq-6 { grid-column: span 6; }
.wq-6 .wq-img { aspect-ratio: 16/11; }
.wq-12 { grid-column: span 12; }
.wq-12 .wq-img { aspect-ratio: 21/10; }
.wq-4 { grid-column: span 4; }
.wq-4 .wq-img { aspect-ratio: 4/5; }
.wq-5 { grid-column: span 5; }
.wq-5 .wq-img { aspect-ratio: 4/5; }
.wq-7 { grid-column: span 7; }
.wq-7 .wq-img { aspect-ratio: 16/11; }

.wq-meta {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 16px;
  padding-top: 18px;
}
.wq-meta h3 {
  font-family: var(--f-display);
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1; letter-spacing: 0.02em;
  margin: 0;
}
.wq-meta span {
  font-family: var(--f-body);
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--c-muted);
}
.wq-card:hover .wq-img img { opacity: 0.85; }
.wq-card:hover .wq-meta h3 { color: var(--c-yellow); transition: color .3s; }

@media (max-width: 900px) {
  .work-quiet { grid-template-columns: repeat(2, 1fr); gap: 40px 16px; }
  .wq-4, .wq-5, .wq-6, .wq-7, .wq-12 { grid-column: span 1; }
  .wq-12 { grid-column: span 2; }
  .wq-12 .wq-img { aspect-ratio: 16/10; }
}

/* =========================
   Home — full hero variant + one-line section
   ========================= */
.hero--full { min-height: 100vh; grid-template-rows: 1fr auto; padding-bottom: 32px; }
.hero__foot {
  position: relative;
  z-index: 2;
  display: flex; justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--c-line);
  font-family: var(--f-body);
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--c-muted);
}

.home-line { padding: clamp(80px, 12vw, 160px) var(--side-pad); }
.home-line p.serif-it {
  font-size: clamp(32px, 4.5vw, 72px);
  line-height: 1.2;
  max-width: 22ch;
  color: var(--c-cream);
}
.home-line__foot {
  display: flex; gap: 40px; flex-wrap: wrap;
  margin-top: 60px;
  padding-top: 28px;
  border-top: 1px solid var(--c-line);
}
.home-line__link {
  font-family: var(--f-display);
  font-size: clamp(22px, 2.2vw, 32px);
  letter-spacing: 0.04em;
  color: var(--c-cream);
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
  transition: color .3s;
}
.home-line__link::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0.2); transform-origin: left center;
  transition: transform .5s var(--ease-out);
}
.home-line__link:hover { color: var(--c-yellow); }
.home-line__link:hover::after { transform: scaleX(1); }

/* =========================
   Services — Simple (Studio Dumbar-style)
   ========================= */
.svc-simple {
  max-width: 1100px;
}
.svc-simple__row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 40px;
  padding: 60px 0;
  border-top: 1px solid var(--c-line);
}
.svc-simple__row:last-child { border-bottom: 1px solid var(--c-line); }
.svc-simple__num {
  font-family: var(--f-display);
  font-size: 18px;
  letter-spacing: 0.06em;
  color: var(--c-muted);
  padding-top: 14px;
}
.svc-simple__title {
  font-family: var(--f-display);
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.95;
  margin: 0 0 24px;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}
.svc-simple__desc {
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.5;
  max-width: 62ch;
  color: rgba(244,241,234,0.82);
}
@media (max-width: 760px) {
  .svc-simple__row { grid-template-columns: 50px 1fr; gap: 20px; padding: 40px 0; }
}

/* =========================
   Contact — Simple (Studio Dumbar-style)
   ========================= */
.contact-simple {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  max-width: 1100px;
}
.contact-simple__block {
  padding: 50px 0;
  border-top: 1px solid var(--c-line);
  padding-right: 40px;
}
.contact-simple__block:nth-child(odd) {
  border-right: 1px solid var(--c-line);
  padding-right: 50px;
}
.contact-simple__block:nth-child(even) {
  padding-left: 50px;
}
.contact-simple__block:last-child,
.contact-simple__block:nth-last-child(2) { border-bottom: 1px solid var(--c-line); }
.contact-simple__lede {
  font-family: var(--f-body);
  font-size: clamp(20px, 2.2vw, 32px);
  font-weight: 300;
  line-height: 1.35;
  margin: 16px 0 24px;
  letter-spacing: -0.015em;
  text-transform: none;
  color: var(--c-cream);
}
.contact-simple__block p {
  font-size: 17px;
  line-height: 1.6;
  margin: 6px 0;
}
.contact-simple__block a {
  color: var(--c-cream);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, color .3s;
}
.contact-simple__block a:hover {
  color: var(--c-yellow);
  border-color: var(--c-yellow);
}
@media (max-width: 760px) {
  .contact-simple { grid-template-columns: 1fr; }
  .contact-simple__block,
  .contact-simple__block:nth-child(odd),
  .contact-simple__block:nth-child(even) {
    border-right: none;
    padding: 40px 0;
  }
  .contact-simple__block:last-child { border-bottom: 1px solid var(--c-line); }
}

/* =========================
   Founders
   ========================= */
.founders { display: flex; flex-direction: column; gap: 100px; }
.founder {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.founder--reverse { grid-template-columns: 1.2fr 1fr; }
.founder--reverse .founder__img { order: 2; }
.founder--reverse .founder__body { order: 1; }
.founder__img { overflow: hidden; aspect-ratio: 4/5; background: #111; }
.founder__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.founder__name {
  font-family: var(--f-display);
  font-size: clamp(40px, 5.5vw, 80px);
  line-height: 1; letter-spacing: 0.01em;
  margin: 0 0 10px;
  text-transform: uppercase;
}
.founder__role {
  font-family: var(--f-body);
  font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--c-yellow);
  margin: 0 0 28px;
}
.founder__body p { font-size: 17px; line-height: 1.6; margin: 0 0 18px; max-width: 52ch; }
.founder__meta { font-size: 14px; color: var(--c-muted); }
.founder__meta a { color: var(--c-cream); border-bottom: 1px solid var(--c-line); }
.founder__meta a:hover { color: var(--c-yellow); border-color: var(--c-yellow); }
@media (max-width: 900px) {
  .founder, .founder--reverse { grid-template-columns: 1fr; gap: 30px; }
  .founder--reverse .founder__img { order: 0; }
  .founder--reverse .founder__body { order: 0; }
}

/* =========================
   Utilities
   ========================= */
.row { display: flex; gap: 14px; flex-wrap: wrap; }
.tag {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  border: 1px solid var(--c-line); padding: 6px 12px; border-radius: 30px; color: var(--c-muted);
}
.divider { height: 1px; background: var(--c-line); margin: 30px 0; border: 0; }
.hide-desktop { display: none; }
@media (max-width: 760px) { .hide-mobile { display: none !important; } .hide-desktop { display: block; } }

/* =========================
   Project detail — extended styles
   ========================= */
.project-cover__img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.08);
  transition: transform 8s var(--ease-out);
}
.project-cover.is-loaded .project-cover__img { transform: scale(1); }

.project-body__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) { .project-body__grid { grid-template-columns: 1fr; gap: 40px; } }

.project-body__sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 40px);
}

.project-body__text p {
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.6;
  max-width: 62ch;
  margin: 0 0 24px;
}
.project-body__text p + p { margin-top: 0; }

.project-body__text blockquote {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1.3;
  max-width: 26ch;
  border-left: 3px solid var(--c-yellow);
  padding-left: 28px;
  margin: 60px 0;
  color: var(--c-cream);
}

.project-services {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 20px;
}

.project-gallery--masonry {
  columns: 2;
  column-gap: 30px;
}
.project-gallery--masonry .img-reveal {
  break-inside: avoid;
  margin-bottom: 30px;
}

.project-next__link {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--f-display); font-size: 22px; letter-spacing: 0.06em;
  color: var(--c-cream); text-transform: uppercase;
  padding: 16px 0;
  border-bottom: 1px solid var(--c-line);
  transition: color .3s, border-color .3s;
}
.project-next__link:hover { color: var(--c-yellow); border-color: var(--c-yellow); }
.project-next__link::after { content: "→"; }

/* =========================================================
   Scroll-Driven Metaball Hero (Anime.js system)
   ========================================================= */
.hero--metaball {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 100svh;
  overflow: hidden;
}

.hero-service-copy {
  margin-top: 40px;
  max-width: 480px;
  transition: opacity 0.3s, transform 0.3s;
}

.hero-service-copy h3 {
  font-family: var(--f-display);
  font-size: clamp(24px, 2.5vw, 36px);
  color: var(--c-yellow);
  text-transform: uppercase;
  margin: 0 0 10px;
  letter-spacing: 0.05em;
}

.hero-service-copy p {
  font-size: 16px;
  line-height: 1.5;
  color: rgba(244, 241, 234, 0.75);
  margin: 0;
}

.metaball-scroll {
  display: none !important;
}

.metaball-step {
  display: none !important;
}



/* =========================================================
   Showcase Object Styling (Anime.js visual layer)
   ========================================================= */
.home-showcase {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 3; /* Changed from 1 to 3 to render above background overlay */
  overflow: hidden;
}

@media (min-width: 900px) {
  .home-showcase {
    justify-content: flex-end;
    padding-right: clamp(40px, 6vw, 120px);
  }
}

@keyframes floatStage {
  0% { transform: translateY(0px) rotateX(0deg); }
  50% { transform: translateY(-15px) rotateX(2deg); }
  100% { transform: translateY(0px) rotateX(0deg); }
}

.home-showcase__stage {
  position: relative;
  width: clamp(680px, 52vw, 980px);
  height: clamp(560px, 52vw, 860px);
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1500px;
  transform-style: preserve-3d;
  animation: floatStage 8s ease-in-out infinite;
}

.home-showcase__visual {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  will-change: transform;
  filter: blur(0.8px); /* Soft-focus filmic analog quality */
}

.service-object {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  will-change: transform;
}

/* Base scene containers styling */
.showcase-scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform-style: preserve-3d;
}

/* We don't rely solely on .mode-brand etc. to show scenes;
   we will let js update opacity and visibility dynamically.
   But we can define default visibility fallback when mode class is present */
.service-object.mode-brand .scene-brand,
.service-object.mode-digital .scene-digital,
.service-object.mode-social .scene-social,
.service-object.mode-physical .scene-physical,
.service-object.mode-ai .scene-ai {
  visibility: visible;
  pointer-events: auto;
}

.scene-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
  filter: blur(1.5px); /* Soft glowing vector guide strokes */
}

.scene-html {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  transform-style: preserve-3d;
}

/* Glassmorphism Base style helper */
.glass-panel {
  border-radius: 12px;
  background: rgba(14, 14, 14, 0.65);
  border: 1px solid rgba(244, 241, 234, 0.22);
  box-shadow: 0 16px 40px rgba(0,0,0,0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-sizing: border-box;
  color: var(--c-cream);
  padding: 16px;
  will-change: transform, opacity;
}

/* =========================================================
   SCENE 1: BRAND IDENTITIES (GUIDELINE BOARD)
   ========================================================= */
.brand-circle {
  stroke: rgba(244, 241, 234, 0.05);
  transition: stroke 0.3s;
}
.brand-circle--mid {
  stroke: rgba(244, 241, 234, 0.08);
}
.brand-circle--inner {
  stroke: rgba(244, 241, 234, 0.12);
}
.brand-guide {
  stroke: rgba(244, 241, 234, 0.05);
}
.brand-logo-part {
  will-change: stroke-dashoffset;
}
.part-1 {
  filter: drop-shadow(0 0 15px rgba(255, 92, 26, 0.35));
}
.part-3 {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
}

/* Stationery / Letterhead paper */
.brand-letterhead {
  position: absolute;
  left: 8%;
  top: 10%;
  width: 250px;
  height: 330px;
  transform: rotateZ(-8deg) translateZ(-50px);
  background: rgba(244, 241, 234, 0.02);
  border-color: rgba(244, 241, 234, 0.1);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.letterhead-header {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(244, 241, 234, 0.08);
  padding-bottom: 10px;
}
.lh-logo {
  width: 20px;
  height: 20px;
  border: 2px solid var(--c-yellow);
  transform: rotate(45deg);
}
.lh-title {
  font-family: var(--f-display);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--c-muted);
}
.letterhead-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lh-line {
  height: 4px;
  background: rgba(244, 241, 234, 0.1);
  border-radius: 2px;
}
.lh-line.w100 { width: 100%; }
.lh-line.w80 { width: 80%; }
.lh-line.w90 { width: 90%; }

/* Business Card */
.brand-card {
  position: absolute;
  right: 8%;
  bottom: 15%;
  width: 220px;
  height: 120px;
  transform: rotateZ(6deg) translateZ(30px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-color: rgba(244, 241, 234, 0.15);
}
.card-logo-mini {
  width: 14px;
  height: 14px;
  background: var(--c-orange);
  border-radius: 50%;
}
.card-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ct-name {
  font-family: var(--f-display);
  font-size: 16px;
  letter-spacing: 0.05em;
  color: var(--c-cream);
}
.ct-desc {
  font-size: 9px;
  color: var(--c-muted);
  letter-spacing: 0.1em;
}

/* Swatches Panel */
.brand-swatches-panel {
  position: absolute;
  left: 8%;
  bottom: 10%;
  width: 260px;
  display: flex;
  gap: 12px;
  padding: 12px;
  transform: translateZ(20px);
}
.brand-swatch {
  flex: 1;
  height: 44px;
  border-radius: 6px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 4px;
  border: 1px solid rgba(244, 241, 234, 0.15);
}
.swatch-label {
  font-size: 7px;
  font-family: var(--f-body);
  letter-spacing: 0.05em;
  font-weight: bold;
}
.swatch--cream { background: var(--c-cream); color: var(--c-black); }
.swatch--yellow { background: var(--c-yellow); color: var(--c-black); }
.swatch--orange { background: var(--c-orange); color: var(--c-cream); }
.swatch--charcoal { background: var(--c-pitch); color: var(--c-cream); }

/* Typography Panel */
.brand-typo-panel {
  position: absolute;
  right: 8%;
  top: 10%;
  width: 220px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform: translateZ(-20px);
}
.brand-bar {
  height: 24px;
  background: rgba(244, 241, 234, 0.03);
  border-left: 3px solid var(--c-yellow);
  display: flex;
  align-items: center;
  padding-left: 10px;
  border-radius: 0 4px 4px 0;
}
.bar-label {
  font-family: var(--f-display);
  font-size: 11px;
  letter-spacing: 0.1em;
}
.bar-2 { border-left-color: var(--c-orange); }
.bar-3 { border-left-color: var(--c-pink); }


/* =========================================================
   SCENE 2: DIGITAL PORTALS (BROWSER BUILDER)
   ========================================================= */
/* Desktop Browser Mockup */
.digital-browser {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 480px;
  height: 320px;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 5;
  transform: translateZ(50px);
}
.browser-dots {
  display: flex;
  gap: 6px;
}
.browser-address {
  width: 220px;
  height: 16px;
  border-radius: 8px;
  background: rgba(244, 241, 234, 0.05);
  margin-left: 20px;
  font-size: 8px;
  display: flex;
  align-items: center;
  padding-left: 10px;
  color: var(--c-muted);
}
.browser-scroll-container {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.browser-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: absolute;
  width: 100%;
  will-change: transform;
}
.browser-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(244, 241, 234, 0.06);
  padding-bottom: 8px;
}
.nav-logo {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--c-yellow);
}
.nav-links-skeleton {
  display: flex;
  gap: 10px;
}
.nl-item {
  width: 30px;
  height: 4px;
  background: rgba(244, 241, 234, 0.15);
  border-radius: 1px;
}
.browser-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  height: 90px;
  background: rgba(244, 241, 234, 0.02);
  border: 1px solid rgba(244, 241, 234, 0.06);
  border-radius: 6px;
  padding: 10px;
}
.hero-text-skeleton {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}
.ht-line {
  height: 6px;
  background: rgba(244, 241, 234, 0.1);
  border-radius: 3px;
}
.htl-1 { width: 100%; background: var(--c-orange); }
.htl-2 { width: 70%; }
.hero-image-placeholder {
  background: rgba(244, 241, 234, 0.04);
  border: 1.5px dashed rgba(244, 241, 234, 0.1);
  border-radius: 4px;
  position: relative;
}
.browser-grid {
  display: flex;
  gap: 10px;
}
.grid-card {
  flex: 1;
  height: 70px;
  background: rgba(244, 241, 234, 0.02);
  border: 1px solid rgba(244, 241, 234, 0.06);
  border-radius: 4px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.gc-img {
  flex: 1;
  background: rgba(244, 241, 234, 0.05);
  border-radius: 2px;
}
.gc-text {
  height: 4px;
  width: 60%;
  background: rgba(244, 241, 234, 0.1);
  border-radius: 1px;
}
.browser-cta {
  width: 110px;
  height: 24px;
  background: var(--c-yellow);
  color: var(--c-black);
  border-radius: 12px;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-size: 11px;
  letter-spacing: 0.1em;
  box-shadow: 0 4px 15px rgba(255, 224, 51, 0.3);
  margin-top: 5px;
}

/* Tablet frame offset */
.digital-tablet {
  position: absolute;
  left: 6%;
  top: 15%;
  width: 190px;
  height: 250px;
  padding: 10px;
  transform: translateX(0) translateZ(-40px) rotateY(15deg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.tablet-header {
  height: 10px;
  display: flex;
  justify-content: center;
}
.t-camera {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(244, 241, 234, 0.2);
}
.tablet-body {
  flex: 1;
  margin: 6px 0;
  background: rgba(244, 241, 234, 0.01);
  border: 1px solid rgba(244, 241, 234, 0.08);
  border-radius: 4px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tablet-nav {
  height: 3px;
  background: rgba(244, 241, 234, 0.1);
  width: 50%;
}
.tablet-hero {
  height: 60px;
  background: rgba(255, 92, 26, 0.05);
  border-radius: 2px;
}
.tablet-grid {
  display: flex;
  gap: 6px;
}
.t-card {
  flex: 1;
  height: 35px;
  background: rgba(244, 241, 234, 0.03);
  border-radius: 2px;
}

/* Mobile frame offset */
.digital-mobile {
  position: absolute;
  right: 6%;
  bottom: 12%;
  width: 100px;
  height: 180px;
  padding: 8px;
  transform: translateX(0) translateZ(-30px) rotateY(-15deg);
}
.mobile-body {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(244, 241, 234, 0.01);
  border: 1px solid rgba(244, 241, 234, 0.08);
  border-radius: 6px;
  padding: 6px;
  margin-top: 4px;
}
.m-hero {
  height: 50px;
  background: rgba(255, 60, 172, 0.05);
  border-radius: 4px;
}
.m-card {
  height: 30px;
  background: rgba(244, 241, 234, 0.03);
  border-radius: 4px;
}

/* Distinct glowing cursor dot */
.digital-cursor {
  position: absolute;
  width: 16px;
  height: 16px;
  background: var(--c-orange);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--c-orange);
  z-index: 10;
  will-change: transform, opacity;
  pointer-events: none;
}


/* =========================================================
   SCENE 3: SOCIAL CONTENT (FEED ENGINE)
   ========================================================= */
/* Content Calendar in Background */
.social-calendar {
  position: absolute;
  left: 6%;
  top: 15%;
  width: 240px;
  height: 200px;
  transform: translateZ(-40px) rotateZ(-3deg);
  padding: 12px;
}
.cal-header {
  font-family: var(--f-display);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--c-yellow);
  margin-bottom: 10px;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.cal-day {
  font-size: 8px;
  color: var(--c-muted);
  text-align: center;
  font-weight: bold;
}
.cal-day.active { color: var(--c-cream); }
.cal-slot {
  height: 24px;
  border-radius: 4px;
  background: rgba(244, 241, 234, 0.02);
  border: 1px dashed rgba(244, 241, 234, 0.1);
}
.slot-y { background: rgba(255, 224, 51, 0.08); border: 1px solid rgba(255, 224, 51, 0.2); }
.slot-o { background: rgba(255, 92, 26, 0.08); border: 1px solid rgba(255, 92, 26, 0.2); }
.slot-p { background: rgba(255, 60, 172, 0.08); border: 1px solid rgba(255, 60, 172, 0.2); }

/* Flying Card 1: LinkedIn */
.flying-card-1 {
  position: absolute;
  left: 6%;
  bottom: 12%;
  width: 200px;
  height: 140px;
  transform: translateZ(30px) rotateZ(5deg);
  padding: 10px;
}
.fc-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.fc-avatar {
  width: 18px;
  height: 18px;
  border-radius: 50%;
}
.avatar-blue { background: #0077b5; }
.avatar-pink { background: var(--c-pink); }
.fc-meta {
  display: flex;
  flex-direction: column;
}
.fc-name {
  font-size: 9px;
  font-weight: bold;
}
.fc-time {
  font-size: 7px;
  color: var(--c-muted);
}
.fc-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fc-text-line {
  height: 3px;
  background: rgba(244, 241, 234, 0.15);
  border-radius: 1px;
}
.fc-text-line.w100 { width: 100%; }
.fc-text-line.w80 { width: 80%; }
.fc-img-placeholder {
  height: 50px;
  background: rgba(244, 241, 234, 0.04);
  border-radius: 4px;
}

/* Flying Card 2: Instagram Story */
.flying-card-2 {
  position: absolute;
  right: 6%;
  top: 15%;
  width: 170px;
  height: 220px;
  transform: translateZ(20px) rotateZ(-6deg);
  padding: 6px;
}
.fc-story-placeholder {
  height: 160px;
  background: linear-gradient(180deg, rgba(255, 60, 172, 0.1) 0%, rgba(255, 92, 26, 0.1) 100%);
  border-radius: 6px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 12px;
}
.fc-story-caption {
  font-family: var(--f-display);
  font-size: 12px;
  color: var(--c-yellow);
  letter-spacing: 0.05em;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* Large vertical phone centered */
.social-phone {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 210px;
  height: 380px;
  border-radius: 28px;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  z-index: 5;
  transform: translateZ(60px);
}
.phone-app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-inline: 4px;
}
.app-logo {
  font-family: var(--f-display);
  font-size: 13px;
  letter-spacing: 0.1em;
}
.app-icon-heart {
  color: var(--c-pink);
  font-size: 11px;
}
.phone-stories {
  display: flex;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(244, 241, 234, 0.08);
}
.story-bubble {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(244, 241, 234, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
}
.story-bubble.bubble-active {
  border-color: var(--c-yellow);
}
.sb-inner {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(244, 241, 234, 0.1);
}
.story-bubble.bubble-active .sb-inner {
  background: var(--c-yellow);
}
.phone-feed-window {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.phone-feed-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: absolute;
  width: 100%;
  will-change: transform;
}
.feed-post {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(244, 241, 234, 0.02);
  border: 1px solid rgba(244, 241, 234, 0.08);
  border-radius: 8px;
  padding: 6px;
}
.post-header {
  display: flex;
  align-items: center;
  gap: 6px;
}
.post-header .avatar {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(244, 241, 234, 0.2);
}
.post-header .name {
  width: 44px;
  height: 4px;
  border-radius: 1px;
  background: rgba(244, 241, 234, 0.15);
}
.post-media-carousel, .post-media-video {
  height: 90px;
  border-radius: 6px;
  background: rgba(244, 241, 234, 0.04);
  position: relative;
  overflow: hidden;
}
.carousel-track {
  display: flex;
  height: 100%;
  width: 200%;
  will-change: transform;
}
.carousel-slide {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-slide.slide-active {
  background: rgba(255, 224, 51, 0.06);
}
.slide-tag {
  font-family: var(--f-display);
  font-size: 11px;
  color: var(--c-yellow);
}
.carousel-indicator {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
}
.ci-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(244, 241, 234, 0.3);
}
.ci-dot.active { background: var(--c-yellow); }

.video-play-btn {
  position: absolute;
  inset: 0; margin: auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--c-orange);
  box-shadow: 0 0 10px rgba(255, 92, 26, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-play-btn::after {
  content: "";
  display: block;
  width: 0; height: 0;
  border-style: solid;
  border-width: 3px 0 3px 6px;
  border-color: transparent transparent transparent var(--c-black);
  margin-left: 2px;
}
.video-progress-bar {
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  width: 40%;
  background: var(--c-orange);
}
.post-footer {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.post-actions {
  display: flex;
  gap: 8px;
  font-size: 8px;
  color: var(--c-muted);
}
.post-actions .icon { cursor: pointer; }
.post-actions .icon.heart { color: var(--c-pink); }
.post-footer .line {
  height: 2px;
  background: rgba(244, 241, 234, 0.05);
  border-radius: 1px;
}

/* Pulsing viral rings */
.social-ping {
  position: absolute;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--c-pink);
  box-shadow: 0 0 15px rgba(255, 60, 172, 0.3);
  pointer-events: none;
  opacity: 0;
  will-change: transform, opacity;
}
.ping-1 { left: 32%; top: 25%; }
.ping-2 { right: 28%; bottom: 32%; border-color: var(--c-yellow); }
.ping-3 { right: 42%; top: 48%; border-color: var(--c-orange); }


/* =========================================================
   SCENE 4: PHYSICAL SYSTEMS (TACTILE PRINT TABLE)
   ========================================================= */
/* Crop Marks */
.phys-crop-marks {
  position: absolute;
  inset: 10px;
  pointer-events: none;
  z-index: 10;
}
.crop-mark {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: rgba(244, 241, 234, 0.2);
  border-style: solid;
}
.crop-mark.top-left { top: 0; left: 0; border-width: 1px 0 0 1px; }
.crop-mark.top-right { top: 0; right: 0; border-width: 1px 1px 0 0; }
.crop-mark.bottom-left { bottom: 0; left: 0; border-width: 0 0 1px 1px; }
.crop-mark.bottom-right { bottom: 0; right: 0; border-width: 0 1px 1px 0; }

/* Background Poster Mockup */
.phys-poster {
  position: absolute;
  left: 8%;
  top: 8%;
  width: 280px;
  height: 380px;
  transform: translateZ(-50px) rotateZ(-12deg);
  background: rgba(244, 241, 234, 0.015);
  border-color: rgba(244, 241, 234, 0.08);
  padding: 20px;
}
.poster-graphic {
  border: 1px solid rgba(244, 241, 234, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px;
}
.pg-text {
  font-family: var(--f-display);
  font-size: 20px;
  letter-spacing: 0.05em;
  color: rgba(244, 241, 234, 0.1);
}
.pg-line {
  height: 4px;
  background: rgba(244, 241, 234, 0.06);
  width: 40%;
}

/* Packaging Box Dieline folding flat */
.phys-box-dieline {
  position: absolute;
  right: 12%;
  top: 15%;
  width: 110px;
  height: 110px;
  perspective: 600px;
  transform-style: preserve-3d;
  transform: translateZ(-20px) rotateZ(10deg);
}
.box-face {
  position: absolute;
  inset: 0;
  background: rgba(255, 224, 51, 0.02);
  border: 1.5px dashed var(--c-yellow);
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dieline-label {
  font-size: 7px;
  font-family: var(--f-body);
  letter-spacing: 0.05em;
  color: var(--c-yellow);
  opacity: 0.6;
}
.box-flap {
  position: absolute;
  background: rgba(255, 224, 51, 0.01);
  border: 1px dashed rgba(255, 224, 51, 0.4);
  will-change: transform;
}
.flap-top {
  width: 100%; height: 50px;
  top: -50px; left: 0;
  transform-origin: bottom center;
}
.flap-bottom {
  width: 100%; height: 50px;
  bottom: -50px; left: 0;
  transform-origin: top center;
}
.flap-left {
  width: 50px; height: 100%;
  left: -50px; top: 0;
  transform-origin: right center;
}
.flap-right {
  width: 50px; height: 100%;
  right: -50px; top: 0;
  transform-origin: left center;
}

/* Open Brochure spread */
.phys-brochure {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 420px;
  height: 280px;
  display: flex;
  perspective: 1200px;
  transform-style: preserve-3d;
  transform: translateZ(40px);
  z-index: 5;
}
.brochure-page {
  flex: 1;
  height: 100%;
  background: rgba(244, 241, 234, 0.03);
  border: 1.5px solid rgba(244, 241, 234, 0.15);
  box-shadow: 0 20px 45px rgba(0,0,0,0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 24px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  will-change: transform;
}
.page-left {
  border-radius: 8px 0 0 8px;
  border-right: none;
  transform-origin: right center;
  transform: rotateY(-18deg);
}
.page-right {
  border-radius: 0 8px 8px 0;
  border-left: none;
  transform-origin: left center;
  transform: rotateY(18deg);
}
.bp-header {
  font-family: var(--f-display);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--c-muted);
}
.bp-hero-block {
  height: 120px;
  background: rgba(255, 92, 26, 0.06);
  border-radius: 4px;
  border: 1px solid rgba(255, 92, 26, 0.15);
}
.bp-grid-dots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  height: 120px;
  align-content: center;
}
.bp-grid-dots span {
  width: 6px;
  height: 6px;
  background: var(--c-yellow);
  border-radius: 50%;
}
.bp-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bp-line {
  height: 4px;
  background: rgba(244, 241, 234, 0.1);
  border-radius: 2px;
}
.bp-line.w100 { width: 100%; }
.bp-line.w80 { width: 80%; }
.bp-line.w90 { width: 90%; }

/* Angled flyer sheets */
.phys-flyer {
  position: absolute;
  border-radius: 4px;
  border: 1px solid rgba(244, 241, 234, 0.12);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 10px 15px 35px rgba(0,0,0,0.4);
  padding: 8px;
}
.flyer-1 {
  width: 110px; height: 160px;
  left: 6%;
  bottom: 8%;
  transform: rotateZ(-18deg) translateZ(60px);
}
.flyer-2 {
  width: 100px; height: 140px;
  right: 6%;
  bottom: 8%;
  transform: rotateZ(22deg) translateZ(60px);
}
.flyer-graphic {
  border: 1px solid rgba(244, 241, 234, 0.06);
  height: 100%;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flyer-graphic span {
  font-family: var(--f-display);
  font-size: 11px;
  letter-spacing: 0.1em;
}
.flyer-y { background: rgba(255, 224, 51, 0.04); border-color: rgba(255, 224, 51, 0.15); color: var(--c-yellow); }
.flyer-o { background: rgba(255, 92, 26, 0.04); border-color: rgba(255, 92, 26, 0.15); color: var(--c-orange); }


/* =========================================================
   SCENE 5: AI PIPELINES (PRODUCTION MACHINE)
   ========================================================= */
/* Prompt input box */
.ai-input-prompt {
  position: absolute;
  left: 8%;
  top: 180px;
  width: 190px;
  height: 120px;
  transform: translateZ(40px) rotateY(10deg);
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-color: rgba(255, 224, 51, 0.3);
  box-shadow: 0 0 20px rgba(255, 224, 51, 0.15);
}
.prompt-header {
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(244, 241, 234, 0.08);
  padding-bottom: 6px;
}
.ph-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-yellow);
}
.ph-title {
  font-family: var(--f-display);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--c-yellow);
}
.prompt-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.prompt-line {
  height: 4px;
  background: rgba(244, 241, 234, 0.15);
  border-radius: 2px;
}
.pl-1 { width: 100%; }
.pl-2 { width: 85%; }
.pl-3 { width: 50%; background: var(--c-yellow); }

/* Central Node Core */
.ai-node-core {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 2px solid var(--c-cream);
  background: rgba(244, 241, 234, 0.02);
  box-shadow: 0 0 35px rgba(244, 241, 234, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateZ(20px);
}
.node-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px dashed var(--c-orange);
  will-change: transform;
}
.ring-outer {
  width: 84px;
  height: 84px;
  animation: spinCore 15s linear infinite;
}
.ring-inner {
  width: 66px;
  height: 66px;
  border-color: var(--c-yellow);
  animation: spinCore 10s linear reverse infinite;
}
.node-glow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--c-orange);
  filter: blur(8px);
  opacity: 0.7;
}

@keyframes spinCore {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Staggered Output cards */
.ai-output {
  position: absolute;
  right: 8%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 5;
  transform: translateZ(50px);
}
.out-title {
  font-family: var(--f-display);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--c-muted);
}
.output-img {
  width: 140px;
  height: 140px;
  top: 70px;
  border-color: rgba(255, 60, 172, 0.3);
  transform: rotateZ(3deg) translateZ(40px);
}
.out-media-img {
  flex: 1;
  background: rgba(255, 60, 172, 0.04);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.out-img-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 60, 172, 0.15), transparent);
  transform: translateX(-100%);
  animation: shimmerFlow 2.5s infinite;
}
@keyframes shimmerFlow {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.output-copy {
  width: 150px;
  height: 90px;
  top: 230px;
  border-color: rgba(255, 92, 26, 0.3);
  transform: rotateZ(-2deg) translateZ(50px);
  justify-content: space-between;
}
.copy-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.output-copy .copy-line {
  height: 3px;
  background: rgba(244, 241, 234, 0.12);
  border-radius: 1px;
}
.output-copy .copy-line:nth-child(1) { width: 90%; background: var(--c-orange); }
.output-copy .copy-line:nth-child(2) { width: 75%; }
.output-copy .copy-line:nth-child(3) { width: 50%; }

.output-waveform {
  width: 160px;
  height: 80px;
  bottom: 80px;
  border-color: rgba(43, 255, 238, 0.3);
  transform: rotateZ(4deg) translateZ(30px);
}
.waveform-container {
  flex: 1;
  display: flex;
  align-items: center;
  background: rgba(43, 255, 238, 0.02);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.wf-flat-line {
  width: 100%;
  height: 1px;
  background: rgba(244, 241, 234, 0.15);
}

.ai-path {
  stroke-dasharray: 6, 6;
  stroke-dashoffset: 0;
  will-change: stroke-dashoffset;
}
.ai-waveform {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  will-change: stroke-dashoffset;
  filter: drop-shadow(0 0 10px rgba(255, 92, 26, 0.45));
}


/* =========================================================
   MOBILE RESPONSIVE SHOWCASE SCENE OVERRIDES (Clamp & Fit)
   ========================================================= */
@media (max-width: 768px) {
  /* Scale stage interior to prevent overflow */
  .service-object {
    transform: scale(1.05) translateY(-10px);
    transform-origin: center center;
  }

  /* Adjust placement details for smaller stage */
  .brand-letterhead {
    left: 2%;
    top: 5%;
    width: 200px;
    height: 270px;
  }
  .brand-card {
    right: 2%;
    bottom: 15%;
    width: 170px;
    height: 100px;
  }
  .brand-swatches-panel {
    left: 2%;
    bottom: 5%;
    width: 210px;
  }
  .brand-typo-panel {
    right: 2%;
    top: 5%;
    width: 170px;
  }

  .digital-browser {
    width: 360px;
    height: 250px;
  }
  .digital-tablet {
    width: 130px;
    height: 180px;
    left: -2%;
    top: 10%;
  }
  .digital-mobile {
    width: 80px;
    height: 140px;
    right: -2%;
    bottom: 5%;
  }

  .social-phone {
    width: 170px;
    height: 310px;
  }
  .social-calendar {
    width: 180px;
    height: 160px;
    left: -2%;
    top: 10%;
  }
  .flying-card-1 {
    width: 160px;
    left: -2%;
    bottom: 5%;
  }
  .flying-card-2 {
    width: 130px;
    height: 180px;
    right: -2%;
    top: 10%;
  }

  .phys-brochure {
    width: 320px;
    height: 220px;
  }
  .phys-poster {
    width: 220px;
    height: 300px;
    left: 2%;
    top: 5%;
  }
  .phys-box-dieline {
    right: 5%;
    top: 10%;
    width: 80px;
    height: 80px;
  }
  .flap-top, .flap-bottom { height: 35px; top: -35px; }
  .flap-bottom { bottom: -35px; }
  .flap-left, .flap-right { width: 35px; left: -35px; }
  .flap-right { right: -35px; }
  .flyer-1 { width: 80px; height: 120px; left: 2%; bottom: 5%; }
  .flyer-2 { width: 80px; height: 110px; right: 2%; bottom: 5%; }

  .ai-input-prompt {
    width: 150px;
    height: 100px;
    left: 2%;
    top: 150px;
  }
  .ai-output {
    right: 2%;
  }
  .output-img {
    width: 110px;
    height: 110px;
    top: 50px;
  }
  .output-copy {
    width: 120px;
    height: 80px;
    top: 180px;
  }
  .output-waveform {
    width: 130px;
    height: 70px;
    bottom: 50px;
  }
}

/* =========================================================
   TCF.Co — Enhanced Showcase Scene Visuals
   ========================================================= */

/* --- Scene 1: Brand Identities --- */
.brand-spiral {
  stroke-dasharray: 6;
  animation: brand-spiral-rotate 60s infinite linear;
  transform-origin: 250px 250px;
}
@keyframes brand-spiral-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.brand-blueprint-text {
  font-weight: 500;
  text-shadow: 0 0 3px rgba(0,0,0,0.8);
  pointer-events: none;
}

.brand-vertex {
  filter: drop-shadow(0 0 4px var(--c-yellow));
  animation: vertex-pulse 2s infinite alternate ease-in-out;
}
@keyframes vertex-pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.3); opacity: 1; }
}

.typo-grid-helper {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding: 10px 0;
  pointer-events: none;
  opacity: 0.25;
}
.t-grid-line {
  height: 1px;
  background: var(--c-cream);
  width: 100%;
}

.brand-swatches-panel .brand-swatch {
  transition: transform 0.4s var(--ease-out);
}
.brand-swatches-panel .brand-swatch:hover {
  transform: translateY(-8px) translateZ(30px);
}

/* --- Scene 2: Digital Portals --- */
.digital-svg {
  z-index: 1 !important;
}
.digital-trail {
  stroke-dasharray: 5, 5;
  animation: dash-flow 8s infinite linear;
}
@keyframes dash-flow {
  to { stroke-dashoffset: -40; }
}

.digi-code-card {
  position: absolute;
  left: 3%;
  bottom: 22%;
  width: 220px;
  padding: 10px 14px;
  font-family: monospace;
  font-size: 11px;
  transform: rotateZ(-5deg) translateZ(10px);
  border-color: rgba(43, 255, 238, 0.25);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  background: rgba(14, 14, 14, 0.82);
}
.code-header {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(244, 241, 234, 0.1);
  padding-bottom: 6px;
  margin-bottom: 8px;
  color: var(--c-muted);
}
.code-pre {
  margin: 0;
  white-space: pre-wrap;
}
.c-tag { color: var(--c-pink); }
.c-prop { color: var(--c-teal); }
.c-val { color: var(--c-yellow); }

.digi-chart-card {
  position: absolute;
  right: 4%;
  top: 15%;
  width: 180px;
  padding: 12px;
  transform: rotateZ(4deg) translateZ(40px);
  border-color: rgba(43, 255, 238, 0.2);
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(14, 14, 14, 0.82);
}
.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chart-title {
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--c-muted);
}
.chart-val {
  font-family: var(--f-display);
  font-size: 16px;
  color: var(--c-teal);
}
.mini-chart {
  overflow: visible;
}
.chart-line {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: chart-draw 3s forwards ease-in-out;
}
@keyframes chart-draw {
  to { stroke-dashoffset: 0; }
}
.chart-dot {
  animation: vertex-pulse 1.5s infinite alternate ease-in-out;
}

/* --- Scene 3: Social Content --- */
.cal-node {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  background: var(--c-yellow);
  color: var(--c-black);
  border-radius: 50%;
  font-size: 8px;
  font-weight: bold;
}
.slot-o .cal-node { background: var(--c-orange); color: var(--c-cream); }
.slot-p .cal-node { background: var(--c-pink); color: var(--c-cream); }

.social-analytics-card {
  position: absolute;
  left: 2%;
  bottom: 12%;
  width: 170px;
  padding: 12px;
  transform: rotateZ(-6deg) translateZ(50px);
  border-color: rgba(255, 92, 26, 0.25);
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(14, 14, 14, 0.82);
}
.sa-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sa-title {
  font-size: 8px;
  letter-spacing: 0.1em;
  color: var(--c-muted);
}
.sa-percent {
  font-family: var(--f-display);
  font-size: 14px;
  color: var(--c-orange);
}
.sa-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 40px;
  padding-top: 4px;
  border-bottom: 1px solid rgba(244, 241, 234, 0.1);
}
.sa-bar {
  width: 20%;
  background: rgba(255, 92, 26, 0.2);
  border-radius: 2px 2px 0 0;
  transition: height 0.6s var(--ease-out);
}
.sa-bar-1 { height: 35%; background: var(--c-muted); }
.sa-bar-2 { height: 50%; background: var(--c-yellow); }
.sa-bar-3 { height: 72%; background: var(--c-pink); }
.sa-bar-4 { height: 95%; background: var(--c-orange); }

.social-hashtag-cloud {
  position: absolute;
  right: 2%;
  bottom: 25%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateZ(40px);
}
.hashtag-pill {
  padding: 4px 10px;
  background: rgba(8, 8, 8, 0.7);
  border: 1px solid var(--c-line);
  color: var(--c-muted);
  font-size: 9px;
  border-radius: 20px;
  letter-spacing: 0.05em;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
.pill-1 { border-color: var(--c-yellow); }
.pill-2 { border-color: var(--c-pink); }
.pill-3 { border-color: var(--c-orange); }

.social-emoji-stream {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}
.emoji-particle {
  position: absolute;
  font-size: 18px;
  opacity: 0;
  bottom: 15%;
  animation: float-up 4s infinite linear;
}
.emoji-p1 { left: 45%; animation-delay: 0.2s; }
.emoji-p2 { left: 48%; animation-delay: 1.0s; font-size: 22px; }
.emoji-p3 { left: 52%; animation-delay: 1.8s; }
.emoji-p4 { left: 42%; animation-delay: 2.6s; }
.emoji-p5 { left: 55%; animation-delay: 3.4s; font-size: 20px; }
.emoji-p6 { left: 50%; animation-delay: 0.6s; }

@keyframes float-up {
  0% { transform: translateY(0) scale(0.6); opacity: 0; }
  15% { opacity: 0.9; }
  85% { opacity: 0.9; }
  100% { transform: translateY(-220px) translateX(var(--drift, 20px)) scale(1.1); opacity: 0; }
}
.emoji-p1 { --drift: -15px; }
.emoji-p2 { --drift: 25px; }
.emoji-p3 { --drift: -20px; }
.emoji-p4 { --drift: 15px; }
.emoji-p5 { --drift: -30px; }
.emoji-p6 { --drift: 10px; }

/* --- Scene 4: Physical Systems --- */
.phys-calibration {
  position: absolute;
  left: 3%;
  top: 5%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.color-bars {
  display: flex;
  gap: 3px;
}
.cb {
  width: 12px;
  height: 12px;
  border-radius: 2px;
}
.cb-c { background: #2BFFEE; }
.cb-m { background: #FF3CAC; }
.cb-y { background: #FFE033; }
.cb-k { background: #161616; border: 1px solid rgba(244, 241, 234, 0.2); }

.registration-mark {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cal-dim {
  font-family: monospace;
  font-size: 8px;
  color: var(--c-muted);
  letter-spacing: 0.05em;
}

.phys-isometric-cup {
  position: absolute;
  left: 6%;
  bottom: 12%;
  width: 70px;
  height: 100px;
  transform-style: preserve-3d;
  transform: rotateX(60deg) rotateY(0deg) rotateZ(-30deg) translateZ(40px);
}
.cylinder-top {
  position: absolute;
  top: 0; left: 0;
  width: 70px; height: 35px;
  background: var(--c-yellow);
  border-radius: 50%;
  transform: translateY(-17px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: inset 0 3px 6px rgba(255,255,255,0.4);
}
.cylinder-body {
  position: absolute;
  width: 70px; height: 100px;
  background: linear-gradient(90deg, #111 0%, #222 30%, #080808 70%, #111 100%);
  border-left: 1.5px solid rgba(244, 241, 234, 0.15);
  border-right: 1.5px solid rgba(244, 241, 234, 0.15);
  border-radius: 0 0 50% 50% / 0 0 17px 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.cylinder-brand {
  font-family: var(--f-display);
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--c-yellow);
  transform: rotateZ(15deg);
}

.dieline-annotation {
  position: absolute;
  font-family: monospace;
  font-size: 7px;
  color: var(--c-orange);
  letter-spacing: 0.05em;
  opacity: 0.6;
}
.dieline-ann-top { top: -20px; left: 50%; transform: translateX(-50%); }
.dieline-ann-left { left: -34px; top: 50%; transform: translateY(-50%) rotate(-90deg); }

/* --- Scene 5: AI Pipelines --- */
.ai-particle {
  offset-rotate: auto;
  animation: flow-particle 4.5s infinite linear;
}
.cp-in { offset-path: path('M 70,250 L 210,250'); }
.cp-out-top { offset-path: path('M 290,250 Q 320,180 390,130'); animation-delay: 1.5s; }
.cp-out-mid { offset-path: path('M 290,250 L 390,250'); animation-delay: 1.8s; }
.cp-out-bot { offset-path: path('M 290,250 Q 320,320 390,370'); animation-delay: 2.1s; }
@keyframes flow-particle {
  0% { offset-distance: 0%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

.ai-waveform-2 {
  stroke-dasharray: 6;
  animation: brand-spiral-rotate 10s infinite linear reverse;
  transform-origin: 435px 380px;
}

.prompt-typing {
  font-family: monospace;
  font-size: 11px;
  color: var(--c-yellow);
  letter-spacing: 0.05em;
  overflow: hidden;
  display: inline-block;
  white-space: nowrap;
}
.prompt-cursor {
  font-family: monospace;
  font-size: 11px;
  color: var(--c-yellow);
  animation: cursor-blink 1s infinite step-end;
}
@keyframes cursor-blink {
  from, to { opacity: 0; }
  50% { opacity: 1; }
}

.node-synapses {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
}
.syn-dot {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--c-teal);
  border-radius: 50%;
  animation: vertex-pulse 1s infinite alternate ease-in-out;
}
.s1 { top: 25%; left: 35%; animation-delay: 0.1s; }
.s2 { top: 35%; right: 28%; animation-delay: 0.4s; }
.s3 { bottom: 30%; left: 28%; animation-delay: 0.7s; }
.s4 { bottom: 25%; right: 35%; animation-delay: 1.0s; }

.ai-render-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.75);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  border-radius: 4px;
}
.render-pct {
  font-family: var(--f-display);
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--c-yellow);
}
.render-bar-container {
  width: 80%;
  height: 3px;
  background: rgba(244, 241, 234, 0.1);
  border-radius: 2px;
  overflow: hidden;
}
.render-bar {
  display: block;
  height: 100%;
  background: var(--c-yellow);
  width: 0%;
  animation: render-progress 3.5s infinite ease-out;
}
@keyframes render-progress {
  0% { width: 0%; }
  85% { width: 99%; }
  100% { width: 100%; }
}

/* Mobile Media Query Overrides for Enhanced Scene elements */
@media (max-width: 760px) {
  .brand-blueprint-text, .phys-calibration, .node-synapses { display: none !important; }
  .digi-code-card { width: 140px; padding: 6px 10px; bottom: 8%; font-size: 8px; }
  .digi-chart-card { width: 120px; padding: 8px; top: 12%; }
  .social-analytics-card { width: 120px; padding: 8px; bottom: 8%; }
  .social-hashtag-cloud { right: 2%; bottom: 18%; }
  .phys-isometric-cup { width: 45px; height: 70px; left: 10%; bottom: 8%; }
  .cylinder-top { width: 45px; height: 22px; transform: translateY(-11px); }
  .cylinder-body { width: 45px; height: 70px; }
  .cylinder-brand { font-size: 11px; }
  .ai-render-overlay { font-size: 10px; }
  .prompt-typing { font-size: 9px; }
}

/* Mobile-first responsive overrides */
@media (max-width: 900px) {
  .hero--metaball {
    display: flex;
    flex-direction: column;
    padding: calc(var(--nav-h) + 10px) var(--side-pad) 15px;
    height: auto;
    min-height: 100svh;
    box-sizing: border-box;
    justify-content: flex-start;
  }

  .hero__canvas {
    display: none;
  }

  .home-showcase {
    position: relative;
    inset: auto;
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    order: 1; /* Animations appear on top */
    margin-bottom: 15px;
    z-index: 3;
    overflow: visible;
  }

  .home-showcase__stage {
    width: 500px;
    height: 500px;
    transform: scale(0.46) !important;
    transform-origin: center center;
    margin: 0 auto;
    flex-shrink: 0;
  }

  .hero__content {
    position: relative;
    width: 100%;
    margin-top: 0;
    padding-top: 0;
    padding-inline: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    order: 2; /* Text appears below animations */
    align-items: flex-start !important;
    text-align: left !important;
  }

  .hero__eyebrows {
    order: 1;
    margin-bottom: 0;
    align-self: flex-start !important;
  }

  .hero-service-copy {
    order: 2;
    margin-top: 0;
    margin-bottom: 8px;
    max-width: 100%;
    align-self: flex-start !important;
    text-align: left !important;
  }

  .hero-service-copy h3 {
    font-size: 18px !important;
    margin: 0 0 4px !important;
  }

  .hero-service-copy p {
    font-size: 14px !important;
  }

  .hero__title {
    order: 3;
    font-size: clamp(40px, 11vw, 55px) !important;
    line-height: 0.95;
    margin-top: 8px;
    text-align: left !important;
    align-self: flex-start !important;
    width: 100% !important;
  }
  .hero__title .line {
    text-align: left !important;
    width: 100% !important;
  }
  .hero__title .line__inner {
    text-align: left !important;
  }

  .hero__foot {
    order: 3;
    margin-top: 15px;
    padding-top: 10px;
  }
}


/* =========================================================
   FIX PATCH — keep scroll chapters invisible, only use them as height
   ========================================================= */
.hero--metaball::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at 68% 48%, rgba(255, 92, 26, 0.12), transparent 34%),
    linear-gradient(90deg, rgba(8,8,8,0.78) 0%, rgba(8,8,8,0.35) 42%, rgba(8,8,8,0.15) 100%);
}

@media (max-width: 900px) {
  .hero--metaball::after {
    background: linear-gradient(180deg, rgba(8,8,8,0.72) 0%, rgba(8,8,8,0.25) 48%, rgba(8,8,8,0.78) 100%);
  }
}

