/* ==========================================================================
   CT PRODUCTION — Multi-Page Editorial Design System
   v1 Centered Cosmic Composition + Authentic CT Brand Palette
   Brand Colors Extracted From ct-mark.png & Original index.html:
   #070709 Obsidian · #0C8890 Deep CT Teal · #3FE0D6 CT Aqua · #F4F5F2 Ivory
   ========================================================================== */

:root {
  --bg: #070709;
  --surface: #0b0b0f;
  --surface-2: #11151b;
  --surface-glass: rgba(11, 12, 16, 0.78);

  --teal-deep: #0c8890;
  --teal: #3fe0d6;
  --teal-ice: #b8f6f2;
  --teal-soft: rgba(12, 136, 144, 0.16);
  --teal-glow: rgba(63, 224, 214, 0.14);
  --teal-border: rgba(63, 224, 214, 0.34);
  --brand-grad: linear-gradient(110deg, #0c8890 0%, #3fe0d6 65%, #c7f9f5 100%);

  --text: #f4f5f2;
  --text-2: #9ba1a6;
  --text-3: #687078;
  --border: rgba(244, 245, 242, 0.09);
  --border-strong: rgba(244, 245, 242, 0.20);

  --font-sans: 'Geist', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, SFMono-Regular, monospace;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1320px;
  --gutter: clamp(20px, 4vw, 52px);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
}

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

html {
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.62;
  overflow-x: clip;
}

main {
  position: relative;
}

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

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

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

button {
  cursor: pointer;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, h5, p {
  margin: 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: -0.032em;
  line-height: 1.08;
}

::selection {
  background: var(--teal-deep);
  color: #ffffff;
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.section-pad {
  padding-block: clamp(76px, 8.5vw, 120px);
  scroll-margin-top: 90px;
}

.section-divider {
  position: relative;
  border-top: 1px solid var(--border);
}

.section-divider::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: min(560px, 72%);
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(63, 224, 214, 0.55) 50%, transparent 100%);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 10px rgba(63, 224, 214, 0.7);
}

.eyebrow-pill {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(11, 12, 16, 0.65);
  border: 1px solid rgba(63, 224, 214, 0.24);
  color: #dce4e6;
  backdrop-filter: blur(10px);
}

.accent-hl {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head-center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 52px;
}

.section-head-center h2 {
  font-size: clamp(1.95rem, 3.8vw, 3.1rem);
  margin-top: 14px;
}

.section-head-center p {
  margin-top: 14px;
  color: var(--text-2);
  font-size: 0.98rem;
}

.section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 42px;
}

.section-head-row h2 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  margin-top: 12px;
}

.section-head-row p {
  max-width: 44ch;
  color: var(--text-2);
  font-size: 0.95rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

.stagger-item {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.72s var(--ease), transform 0.72s var(--ease), border-color 0.25s ease, background 0.25s ease;
  transition-delay: calc(var(--i, 0) * 60ms);
}

.reveal.in-view .stagger-item,
.stagger-item.in-view {
  opacity: 1;
  transform: none;
}

.hl-beam {
  position: relative;
  display: inline-block;
  color: var(--text);
}

.hl-beam::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.06em;
  height: 2px;
  border-radius: 999px;
  background: var(--brand-grad);
  box-shadow: 0 2px 16px rgba(63, 224, 214, 0.58);
}

/* ==========================================================================
   Buttons (Monochrome Editorial Pills + Brand Ambient Glow Pill)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform 0.28s var(--ease), background 0.25s ease, border-color 0.25s ease, box-shadow 0.28s ease, color 0.25s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}

.btn:hover svg.arrow-r {
  transform: translateX(3px);
}

.btn-white {
  background: var(--text);
  color: #070709;
  font-weight: 600;
}

.btn-white:hover {
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(63, 224, 214, 0.45), 0 10px 30px rgba(12, 136, 144, 0.28);
}

.btn-glow {
  background: linear-gradient(135deg, #0b686f 0%, var(--teal-deep) 58%, #16a8a4 100%);
  color: #f4f5f2;
  font-weight: 600;
  border-color: rgba(63, 224, 214, 0.52);
  box-shadow: 0 0 28px rgba(12, 136, 144, 0.45), 0 0 60px rgba(63, 224, 214, 0.16);
}

.btn-glow:hover {
  background: linear-gradient(135deg, #0e7b84 0%, #119ba3 55%, #24c6be 100%);
  color: #ffffff;
  box-shadow: 0 0 36px rgba(63, 224, 214, 0.58), 0 0 76px rgba(12, 136, 144, 0.30);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border-strong);
  color: var(--text);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(12, 136, 144, 0.14);
  border-color: var(--teal);
  color: #ffffff;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.82rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s ease, gap 0.2s ease;
}

.link-arrow:hover {
  color: var(--teal);
  gap: 10px;
}

/* ==========================================================================
   Preloader Curtain
   ========================================================================== */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: var(--bg);
  display: grid;
  place-items: center;
  transition: opacity 0.55s ease, visibility 0s 0.55s;
}

#preloader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.preloader-wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.preloader-wordmark img {
  height: 22px;
  width: auto;
}

.preloader-line {
  width: 140px;
  height: 2px;
  border-radius: 999px;
  background: rgba(244, 245, 242, 0.12);
  overflow: hidden;
}

.preloader-line i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--brand-grad);
  transform-origin: left;
  animation: loadFill 0.55s var(--ease) forwards;
}

@keyframes loadFill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* ==========================================================================
   Announcement Topbar & Floating Pill Navbar
   ========================================================================== */
.topbar {
  position: relative;
  z-index: 120;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  padding: 7px 16px;
  font-size: 0.78rem;
  line-height: 1.35;
  text-align: center;
  color: var(--text-2);
  border-bottom: 1px solid rgba(63, 224, 214, 0.12);
  background: rgba(7, 7, 9, 0.92);
}

.topbar-link {
  color: var(--text);
  font-weight: 500;
  border-bottom: 1px solid rgba(63, 224, 214, 0.45);
  transition: color 0.2s, border-color 0.2s;
}

.topbar-link:hover {
  color: var(--teal);
  border-color: var(--teal);
}

.site-header {
  position: fixed;
  top: 48px;
  left: 0;
  right: 0;
  z-index: 300;
  padding-inline: var(--gutter);
  pointer-events: none;
  transition: top 0.35s var(--ease);
}

body.is-scrolled .site-header {
  top: 14px;
}

.header-pill {
  pointer-events: auto;
  max-width: 1280px;
  margin: 0 auto;
  height: 58px;
  padding: 0 10px 0 20px;
  border-radius: 999px;
  background: rgba(11, 12, 16, 0.72);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

body.is-scrolled .header-pill {
  background: rgba(9, 11, 14, 0.92);
  border-color: rgba(63, 224, 214, 0.22);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.55);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.brand-link img {
  height: 20px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  position: relative;
  font-size: 0.86rem;
  font-weight: 450;
  color: var(--text-2);
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  transform: translateX(-50%);
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--brand-grad);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.lang-btn {
  background: none;
  border: 0;
  border-radius: 999px;
  padding: 5px 11px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-3);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.lang-btn.active {
  background: var(--teal-soft);
  color: var(--teal-ice);
  box-shadow: inset 0 0 0 1px rgba(63, 224, 214, 0.32);
}

.nav-burger {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  position: relative;
}

.nav-burger span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1.5px;
  background: var(--text);
  transition: top 0.25s ease, transform 0.25s ease;
}

.nav-burger span:first-child { top: 14px; }
.nav-burger span:last-child { top: 22px; }
.nav-burger.open span:first-child { top: 18px; transform: rotate(45deg); }
.nav-burger.open span:last-child { top: 18px; transform: rotate(-45deg); }

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 290;
  background: rgba(7, 7, 9, 0.97);
  backdrop-filter: blur(24px);
  padding: 112px var(--gutter) 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.28s ease, transform 0.35s var(--ease), visibility 0s 0.28s;
}

.mobile-drawer.open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.28s ease, transform 0.35s var(--ease), visibility 0s;
}

.mobile-nav-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-size: 1.25rem;
  font-weight: 500;
}

.mobile-nav-list a.active {
  color: var(--teal);
}

.mobile-nav-list span:last-child {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--teal);
}

@media (max-width: 960px) {
  .nav-links, .header-cta { display: none; }
  .nav-burger { display: block; }
  .header-pill { padding: 0 10px 0 16px; }
}

@media (max-width: 560px) {
  .topbar {
    font-size: 0.72rem;
    gap: 3px 8px;
  }
  .site-header {
    top: 62px;
  }
  body.is-scrolled .site-header {
    top: 12px;
  }
}

/* ==========================================================================
   1. Persistent Sticky 3D Story Zone: Hero (CT Monogram) + 4-Stage Workflow
   ========================================================================== */
.hero-story-zone {
  position: relative;
  background: var(--bg);
}

.story-canvas-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  width: 100%;
  margin-bottom: -100svh;
  z-index: 2;
  pointer-events: none;
  overflow: clip;
  will-change: opacity;
}

.hero-section {
  position: relative;
  z-index: 5;
  min-height: calc(100svh - 36px);
  display: flex;
  flex-direction: column;
  background: transparent;
}

.stage-aura {
  --aura-x: 50%;
  --aura-y: 30%;
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(50% 54% at var(--aura-x) var(--aura-y), rgba(12, 136, 144, 0.25) 0%, rgba(12, 136, 144, 0.08) 38%, transparent 70%),
    radial-gradient(32% 32% at var(--aura-x) var(--aura-y), rgba(63, 224, 214, 0.12) 0%, transparent 62%);
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
  pointer-events: none;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 30%, transparent 22%, rgba(7, 7, 9, 0.44) 72%, rgba(7, 7, 9, 0.88) 100%),
    linear-gradient(to top, rgba(7, 7, 9, 0.90) 0%, rgba(7, 7, 9, 0.22) 34%, transparent 56%);
}

.hero-layer {
  position: relative;
  z-index: 3;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(330px, 50vh, 470px) var(--gutter) 44px;
}

.hero-center {
  position: relative;
  z-index: 2;
  margin: 0 0 auto;
  text-align: center;
  padding-block: 8px 20px;
}

.hero-center h1 {
  font-size: clamp(2rem, 3.85vw, 3.45rem);
  font-weight: 600;
  line-height: 1.09;
  letter-spacing: -0.035em;
  max-width: min(92vw, 28ch);
  margin: 0 auto;
  color: var(--text);
}

.hero-bottom {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px 40px;
}

.hero-bottom-left {
  flex: 1 1 auto;
  max-width: 540px;
  display: flex;
  flex-direction: column;
}

.hero-sub {
  color: #c2c8cc;
  font-size: clamp(0.94rem, 1.06vw, 1.02rem);
  line-height: 1.56;
  max-width: 56ch;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.hero-bottom-right {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-end;
}

.hero-kpis {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 18px 34px;
  margin-top: 0;
}

.kpi-num {
  font-size: clamp(1.38rem, 1.95vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--text);
  line-height: 1.1;
}

.kpi-num span {
  color: var(--teal);
}

.kpi-lbl {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  line-height: 1.38;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
}

@media (max-width: 1120px) {
  .hero-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .hero-layer {
    padding: clamp(325px, 44.5svh, 390px) var(--gutter) 34px;
  }
  .hero-center {
    padding-block: 10px 22px;
  }
  .hero-kpis {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 24px;
  }
  .kpi-lbl {
    font-size: 0.62rem;
  }
}

/* ==========================================================================
   Subpage Editorial Page Hero (Services / Work / About / Contact)
   ========================================================================== */
.page-hero {
  position: relative;
  padding: clamp(138px, 14vw, 174px) 0 clamp(56px, 6vw, 82px);
  overflow: hidden;
  background:
    radial-gradient(60% 75% at 50% 0%, rgba(12, 136, 144, 0.2) 0%, rgba(12, 136, 144, 0.05) 45%, transparent 75%),
    var(--bg);
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 18px;
}

.breadcrumb a {
  color: var(--text-2);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--teal);
}

.page-hero h1 {
  font-size: clamp(2.25rem, 4.6vw, 3.9rem);
  letter-spacing: -0.035em;
  max-width: 19ch;
  margin-top: 12px;
}

.page-hero-sub {
  margin-top: 18px;
  max-width: 58ch;
  color: var(--text-2);
  font-size: clamp(0.96rem, 1.15vw, 1.06rem);
  line-height: 1.66;
}

/* ==========================================================================
   Home Numbered Services Strip (01–04)
   ========================================================================== */
.srv-grid-4 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.srv-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: clamp(24px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  transition: border-color 0.25s ease, transform 0.35s var(--ease), background 0.25s ease;
}

.srv-card:hover {
  border-color: var(--teal-border);
  background: var(--surface-2);
  transform: translateY(-2px);
}

.srv-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.srv-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--teal);
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--teal-soft);
  border: 1px solid rgba(63, 224, 214, 0.22);
}

.srv-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}

.srv-card h3 {
  font-size: clamp(1.3rem, 2.1vw, 1.6rem);
  margin-bottom: 10px;
}

.srv-card p {
  font-size: 0.92rem;
  color: var(--text-2);
  line-height: 1.62;
}

.srv-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.srv-chip {
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  font-size: 0.76rem;
  color: #cfd5d8;
}

@media (max-width: 820px) {
  .srv-grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Clientele 5x2 Grid
   ========================================================================== */
.clients-section {
  padding-block: 68px;
  background: var(--bg);
}

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

.clients-head span:last-child {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-3);
  letter-spacing: 0.08em;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.client-cell {
  height: 106px;
  padding: 20px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(11, 11, 15, 0.7);
  display: grid;
  place-items: center;
  position: relative;
  transition: background 0.25s ease;
}

.client-cell::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand-grad);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}

.client-cell:hover {
  background: rgba(17, 21, 27, 0.92);
}

.client-cell:hover::after {
  transform: scaleX(1);
}

.client-cell img {
  max-height: 44px;
  max-width: 138px;
  width: auto;
  object-fit: contain;
  opacity: 0.74;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.client-cell:hover img {
  opacity: 1;
  transform: scale(1.04);
}

@media (max-width: 900px) {
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .client-cell {
    height: 90px;
  }
}

/* ==========================================================================
   Work / Portfolio Bento Cards & Category Filter Pills
   ========================================================================== */
.work-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-2);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.filter-btn:hover {
  border-color: var(--teal-border);
  color: var(--text);
}

.filter-btn.active {
  background: var(--teal-soft);
  border-color: var(--teal);
  color: var(--teal-ice);
}

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

.work-card {
  grid-column: span 4;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: left;
  padding: 0;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, transform 0.35s var(--ease);
}

.work-card.lead-wide { grid-column: span 7; }
.work-card.lead-side { grid-column: span 5; }
.work-card.span-half { grid-column: span 6; }

.work-card:hover {
  border-color: var(--teal-border);
  transform: translateY(-2px);
}

.work-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0c0e12;
}

.work-card.lead-wide .work-media { aspect-ratio: 16 / 9.2; }
.work-card.lead-side .work-media { aspect-ratio: 16 / 13.1; }
.work-card.span-half .work-media { aspect-ratio: 16 / 9.6; }

.work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease);
}

.work-card:hover .work-media img {
  transform: scale(1.04);
}

.work-tag-row {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}

.work-tag {
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(7, 7, 9, 0.8);
  border: 1px solid rgba(244, 245, 242, 0.14);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text);
  backdrop-filter: blur(8px);
}

.work-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.work-cat {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
}

.work-body h3 {
  font-size: 1.08rem;
  line-height: 1.25;
}

.work-meta {
  font-size: 0.82rem;
  color: var(--text-2);
}

@media (max-width: 960px) {
  .work-card,
  .work-card.lead-wide,
  .work-card.lead-side,
  .work-card.span-half {
    grid-column: span 6;
  }
  .work-card.lead-wide .work-media,
  .work-card.lead-side .work-media,
  .work-card.span-half .work-media {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 640px) {
  .work-card,
  .work-card.lead-wide,
  .work-card.lead-side,
  .work-card.span-half {
    grid-column: span 12;
  }
}

/* ==========================================================================
   Services Page: Bento Capabilities + Digital Lab + 4-Step 3D Workflow
   ========================================================================== */
.studio-bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.bento-card {
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: clamp(24px, 3vw, 34px);
}

.span-7 { grid-column: span 7; }
.span-5 { grid-column: span 5; }
.span-12 { grid-column: span 12; }

.cap-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.cap-tab {
  padding: 8px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-2);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.cap-tab:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

.cap-tab.active {
  background: var(--teal-soft);
  border-color: var(--teal);
  color: var(--teal-ice);
}

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

.pillar-box {
  padding: 18px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.pillar-code {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--teal);
  margin-bottom: 6px;
}

.pillar-box h4 {
  font-size: 1.02rem;
  margin-bottom: 10px;
}

.pillar-box li {
  font-size: 0.82rem;
  color: var(--text-2);
  padding: 4px 0;
  border-top: 1px solid rgba(244, 245, 242, 0.06);
}

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

.format-row {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid rgba(244, 245, 242, 0.07);
  font-size: 0.85rem;
}

.format-row b {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--teal);
  font-weight: 500;
}

/* Digital & Software Division Interactive Card */
.sys-lab {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background:
    radial-gradient(circle at 90% 10%, rgba(12, 136, 144, 0.16), transparent 55%),
    var(--surface);
}

.sys-mod-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 18px 0 14px;
}

.sys-mod-btn {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  text-align: left;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-2);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.sys-mod-btn.active {
  background: var(--teal-soft);
  border-color: var(--teal);
  color: var(--text);
}

.sys-terminal {
  flex: 1;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-sm);
  background: #07090c;
  border: 1px solid var(--border-strong);
  padding: 16px;
}

.sys-term-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--text);
}

.sys-term-head b {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  color: var(--teal);
  font-weight: 500;
}

.sys-term-desc {
  margin-top: 12px;
  font-size: 0.84rem;
  color: var(--text-2);
  line-height: 1.54;
}

.sys-term-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 14px 0;
}

.sys-stat {
  padding: 10px;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.sys-stat strong {
  display: block;
  font-size: 1.06rem;
  color: var(--text);
}

.sys-stat span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-3);
}

.sys-signal {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 92px;
  margin-top: auto;
  padding: 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
}

.sys-signal i {
  flex: 1;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(to top, rgba(12, 136, 144, 0.45), var(--teal));
  transition: height 0.4s var(--ease);
}

/* Persistent Sticky Scroll-Driven 4-Stage Workflow (index.html) */
.story-workflow-section {
  position: relative;
  z-index: 4;
  min-height: 310vh;
  padding-top: 20px;
  padding-bottom: clamp(48px, 6vw, 88px);
}

.story-wf-sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 88px 0 36px;
}

.story-workflow-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  width: 100%;
}

.story-left-col {
  position: relative;
  min-height: min(64vh, 520px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  pointer-events: none;
}

.story-stage-hud {
  position: relative;
  z-index: 2;
  max-width: 440px;
  padding: 15px 19px;
  border-radius: var(--radius-md);
  background: rgba(7, 7, 9, 0.72);
  border: 1px solid rgba(244, 245, 242, 0.09);
  backdrop-filter: blur(10px);
}

.story-stage-hud span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}

.story-hud-bar {
  width: 100%;
  height: 2px;
  margin: 8px 0 10px;
  background: rgba(244, 245, 242, 0.10);
  border-radius: 999px;
  overflow: hidden;
}

.story-hud-bar i {
  display: block;
  height: 100%;
  width: 25%;
  background: var(--brand-grad);
  transition: width 0.25s ease;
}

.story-stage-hud strong {
  display: block;
  font-size: 1rem;
  line-height: 1.32;
  color: var(--text);
}

.story-hud-hint {
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  color: var(--text-3);
}

.story-right-col {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.story-wf-head h2 {
  margin-top: 10px;
  font-size: clamp(1.65rem, 2.85vw, 2.35rem);
}

.story-wf-head p {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.54;
  max-width: 48ch;
}

.wf-steps {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.wf-step {
  position: relative;
  width: 100%;
  text-align: left;
  padding: 15px 19px;
  border-radius: var(--radius-md);
  background: rgba(11, 12, 16, 0.82);
  border: 1px solid rgba(244, 245, 242, 0.09);
  backdrop-filter: blur(10px);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s var(--ease);
}

.wf-step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 2px;
  border-radius: 999px;
  background: var(--teal);
  transform: scaleY(0);
  transition: transform 0.28s var(--ease);
}

.wf-step:hover,
.wf-step.active {
  border-color: var(--teal-border);
  background: rgba(12, 136, 144, 0.14);
}

.wf-step.active::before {
  transform: scaleY(1);
}

.wf-step-head {
  display: flex;
  align-items: center;
  gap: 11px;
}

.wf-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--teal);
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--teal-soft);
  border: 1px solid rgba(63, 224, 214, 0.24);
  flex-shrink: 0;
}

.wf-step h3 {
  font-size: 0.98rem;
  line-height: 1.28;
}

.wf-step p {
  margin-top: 7px;
  font-size: 0.83rem;
  color: var(--text-2);
  line-height: 1.5;
}

.wf-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}

.wf-chips span {
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(244, 245, 242, 0.08);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: #cfd5d8;
}

.wf-step.active .wf-chips span {
  border-color: rgba(63, 224, 214, 0.28);
  color: var(--teal-ice);
}

/* Deep Services Page: Scale Tiers & EO vs Digital Matrix */
.scales-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.scale-card {
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: clamp(22px, 2.8vw, 30px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  transition: border-color 0.25s ease, transform 0.3s var(--ease);
}

.scale-card:hover {
  border-color: var(--teal-border);
  transform: translateY(-2px);
}

.scale-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.scale-code {
  font-family: var(--font-mono);
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  color: var(--teal);
}

.scale-range {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--teal-soft);
  border: 1px solid rgba(63, 224, 214, 0.24);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  color: var(--teal-ice);
  white-space: nowrap;
  flex-shrink: 0;
}

.scale-card h3 {
  margin-top: 14px;
  font-size: 1.24rem;
}

.scale-card p {
  margin-top: 8px;
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.56;
}

.scale-items li {
  padding: 7px 0;
  border-top: 1px solid rgba(244, 245, 242, 0.07);
  font-size: 0.82rem;
  color: #d6dbde;
}

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

.spec-card {
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: clamp(22px, 3vw, 32px);
}

.spec-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.spec-card h3 {
  font-size: clamp(1.28rem, 2vw, 1.55rem);
  margin-bottom: 8px;
}

.spec-card > p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.58;
  margin-bottom: 18px;
}

.spec-list {
  border-top: 1px solid var(--border);
}

.spec-row {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 12px 18px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(244, 245, 242, 0.07);
  font-size: 0.84rem;
  align-items: baseline;
}

.spec-row span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}

.spec-row strong {
  font-weight: 400;
  color: var(--text);
  line-height: 1.48;
}

.srv-wf-callout {
  margin-top: 24px;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  background: rgba(12, 136, 144, 0.08);
  border: 1px solid var(--teal-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.srv-wf-callout p {
  font-size: 0.92rem;
  color: var(--text);
  max-width: 62ch;
}

@media (max-width: 1020px) {
  .span-7, .span-5 { grid-column: span 12; }
  .scales-grid-3 { grid-template-columns: 1fr; }
  .specs-grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .story-workflow-section {
    position: static;
    z-index: auto;
    min-height: auto;
    padding: 0 0 64px;
  }
  .story-wf-sticky {
    position: static;
    min-height: auto;
    display: block;
    padding: 0;
  }
  .story-workflow-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .story-left-col {
    position: sticky;
    top: 0;
    z-index: 1;
    height: 34svh;
    min-height: 236px;
    max-height: 288px;
    padding: 66px 0 10px;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    background: linear-gradient(to bottom, #070709 0%, #070709 92%, rgba(7, 7, 9, 0) 100%);
  }
  .story-stage-hud {
    max-width: none;
    padding: 8px 13px;
    background: #0a0c10;
    border-color: rgba(63, 224, 214, 0.22);
  }
  .story-stage-hud strong {
    font-size: 0.88rem;
  }
  .story-hud-hint {
    display: none;
  }
  .story-right-col {
    z-index: 0;
    padding-top: 16px;
  }
}

@media (max-width: 680px) {
  .pillars-2col, .formats-3col, .spec-row { grid-template-columns: 1fr; gap: 4px; }
}

/* ==========================================================================
   About Page: Manifesto, Principles, Gallery Grid & Team
   ========================================================================== */
.bento-manifesto h2 {
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  margin: 12px 0 18px;
  max-width: 20ch;
}

.bento-manifesto p {
  color: var(--text-2);
  font-size: 0.96rem;
  line-height: 1.66;
}

.bento-manifesto p + p {
  margin-top: 12px;
}

.ledger-list {
  margin-top: 18px;
  border-top: 1px solid var(--border);
}

.ledger-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}

.ledger-row span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}

.ledger-row strong {
  color: var(--text);
  font-weight: 500;
  text-align: right;
}

.sector-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.sector-col {
  padding: 24px 22px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(11, 11, 15, 0.65);
}

.sector-code {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--teal);
  margin-bottom: 10px;
}

.sector-col h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.sector-col p {
  font-size: 0.84rem;
  color: var(--text-2);
  line-height: 1.56;
}

/* Behind The Stage 12-Photo Curated Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gallery-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0;
  text-align: left;
  transition: border-color 0.25s ease, transform 0.3s var(--ease);
}

.gallery-card:hover {
  border-color: var(--teal-border);
  transform: translateY(-2px);
}

.gallery-img {
  position: relative;
  aspect-ratio: 16 / 10.5;
  overflow: hidden;
  background: #0c0e12;
}

.gallery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.gallery-card:hover .gallery-img img {
  transform: scale(1.05);
}

.gallery-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(7, 7, 9, 0.8);
  border: 1px solid rgba(244, 245, 242, 0.14);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--teal);
}

.gallery-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(7, 7, 9, 0.8);
  border: 1px solid rgba(244, 245, 242, 0.14);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--text);
}

.gallery-cap {
  padding: 15px 18px 18px;
}

.gallery-cap span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-3);
  margin-bottom: 5px;
}

.gallery-cap h3 {
  font-size: 0.96rem;
  line-height: 1.35;
}

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

.team-card {
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 24px;
  display: grid;
  grid-template-columns: 185px 1fr;
  gap: 24px;
  align-items: start;
}

.team-photo {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #10141a;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

.team-role {
  display: inline-block;
  margin: 4px 0 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--teal);
}

.team-bio p {
  font-size: 0.89rem;
  color: var(--text-2);
  line-height: 1.62;
}

.team-bio-more {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.38s var(--ease);
}

.team-card.expanded .team-bio-more { grid-template-rows: 1fr; }
.team-bio-more-in { overflow: hidden; }
.team-bio-more-in p { margin-top: 10px; }

.team-toggle {
  margin-top: 14px;
  background: none;
  border: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}

.team-toggle:hover { color: var(--teal); }
.team-toggle svg { width: 14px; height: 14px; transition: transform 0.25s var(--ease); }
.team-card.expanded .team-toggle svg { transform: rotate(180deg); }

@media (max-width: 1020px) {
  .sector-strip { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .sector-strip,
  .gallery-grid,
  .team-card {
    grid-template-columns: 1fr;
  }
  .team-photo {
    max-width: 210px;
  }
}

/* ==========================================================================
   Free Consultation Banner & FAQ Accordion
   ========================================================================== */
.cta-banner {
  position: relative;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(60% 90% at 50% 0%, rgba(12, 136, 144, 0.24), transparent 70%),
    var(--surface);
  border: 1px solid rgba(63, 224, 214, 0.24);
  padding: clamp(36px, 5vw, 68px) clamp(24px, 4vw, 56px);
  text-align: center;
  overflow: hidden;
}

.cta-banner h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.95rem);
  max-width: 20ch;
  margin: 14px auto 0;
}

.cta-banner p {
  margin: 14px auto 0;
  max-width: 52ch;
  color: var(--text-2);
  font-size: 0.96rem;
}

.cta-banner-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.faq-wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 4vw, 60px);
}

.faq-head h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  margin: 10px 0 12px;
}

.faq-head p {
  color: var(--text-2);
  font-size: 0.94rem;
  max-width: 34ch;
}

.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }

.faq-q {
  width: 100%;
  background: none;
  border: 0;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-align: left;
  font-size: 0.98rem;
  font-weight: 500;
}

.faq-plus {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: border-color 0.2s, transform 0.25s var(--ease), color 0.2s;
}

.faq-item.open .faq-plus {
  transform: rotate(45deg);
  border-color: var(--teal);
  color: var(--teal);
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s var(--ease);
}

.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-in { overflow: hidden; }
.faq-a-in p {
  padding-bottom: 18px;
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.64;
}

/* ==========================================================================
   Contact Brief Desk
   ========================================================================== */
.brief-desk {
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 2px solid var(--teal-deep);
  padding: clamp(26px, 4vw, 48px);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 5vw, 56px);
}

.brief-info h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  margin: 10px 0 14px;
}

.brief-info p {
  color: var(--text-2);
  font-size: 0.94rem;
}

.brief-channels {
  margin-top: 28px;
  border-top: 1px solid var(--border);
}

.brief-ch-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.brief-ch-row:hover strong { color: var(--teal); }

.brief-ch-row span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  white-space: nowrap;
}

.brief-ch-row strong {
  font-size: 0.9rem;
  font-weight: 500;
  text-align: right;
  white-space: nowrap;
}

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

.chip-group-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 6px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.sel-chip {
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-2);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.sel-chip.active {
  background: var(--teal-soft);
  border-color: var(--teal);
  color: var(--teal-ice);
}

.form-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.f-input {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  background: #06080b;
  border: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text);
  transition: border-color 0.2s ease;
}

.f-input::placeholder { color: var(--text-3); }
.f-input:focus { outline: none; border-color: var(--teal); }
textarea.f-input { min-height: 116px; resize: vertical; }

.form-foot {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.form-sla {
  font-size: 0.78rem;
  color: var(--text-3);
}

.form-ok {
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--teal-soft);
  border: 1px solid var(--teal-border);
  font-size: 0.86rem;
  color: var(--teal-ice);
}

@media (max-width: 900px) {
  .faq-wrap, .brief-desk { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .form-2col { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .brief-ch-row {
    flex-wrap: wrap;
    gap: 4px 12px;
  }
  .brief-ch-row strong {
    font-size: 0.82rem;
    text-align: left;
  }
}

/* ==========================================================================
   Home Horizontal Smooth-Scroll Behind The Stage Documentation Gallery
   ========================================================================== */
main > section {
  position: relative;
  z-index: 4;
}

.home-gallery-section {
  background: var(--bg);
  overflow-x: clip;
}

.filmstrip-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.film-counter {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-2);
  margin-right: 6px;
}

.filmstrip-rail {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-inline: var(--gutter);
  padding-bottom: 14px;
  scrollbar-width: thin;
  scrollbar-color: var(--teal-deep) transparent;
}

.film-frame {
  flex: 0 0 clamp(285px, 30vw, 395px);
  scroll-snap-align: start;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0;
  text-align: left;
  transition: border-color 0.28s ease, transform 0.35s var(--ease);
}

.film-frame:hover {
  border-color: var(--teal-border);
  transform: translateY(-2px);
}

.film-img {
  position: relative;
  aspect-ratio: 16 / 10.5;
  overflow: hidden;
  background: #0c0e12;
}

.film-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease);
}

.film-frame:hover .film-img img {
  transform: scale(1.05);
}

.film-id {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(7, 7, 9, 0.8);
  border: 1px solid rgba(244, 245, 242, 0.14);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--teal);
}

.film-tag {
  position: absolute;
  right: 12px;
  top: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(7, 7, 9, 0.8);
  border: 1px solid rgba(244, 245, 242, 0.14);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--text);
}

.film-cap {
  padding: 15px 18px 18px;
}

.film-cap span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-3);
  margin-bottom: 5px;
}

.film-cap h3 {
  font-size: 0.96rem;
  line-height: 1.35;
}

/* ==========================================================================
   Shared Multi-Page Footer + 3 Thin Contact Cards + Interactive 3D Stage
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border);
  background: #050608;
  padding: 58px 0 28px;
}

.footer-contact-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 46px;
}

.footer-contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(11, 12, 16, 0.72);
  border: 1px solid rgba(244, 245, 242, 0.09);
  transition: border-color 0.25s ease, transform 0.3s var(--ease), background 0.25s ease;
}

.footer-contact-card:hover {
  border-color: var(--teal-border);
  background: rgba(12, 136, 144, 0.08);
  transform: translateY(-2px);
}

.fc-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--teal-soft);
  border: 1px solid rgba(63, 224, 214, 0.25);
  color: var(--teal);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.fc-icon svg {
  width: 17px;
  height: 17px;
}

.fc-meta {
  min-width: 0;
}

.fc-meta span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}

.fc-meta strong {
  display: block;
  margin-top: 2px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fc-meta small {
  display: block;
  margin-top: 2px;
  font-size: 0.76rem;
  color: var(--text-2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.9fr 0.95fr;
  gap: 32px;
}

.footer-brand p {
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--text-2);
  max-width: 34ch;
}

.footer-h {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 14px;
}

.footer-col a,
.footer-col span.footer-muted {
  display: block;
  padding: 4px 0;
  font-size: 0.86rem;
  color: var(--text-2);
  transition: color 0.2s;
}

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

.footer-3d-stage {
  position: relative;
  height: 205px;
  margin-top: 38px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: radial-gradient(65% 95% at 50% 60%, rgba(12, 136, 144, 0.14), transparent 72%);
}

#footerCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.footer-bottom {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--text-3);
}

.footer-bottom a:hover { color: var(--teal); }

@media (max-width: 900px) {
  .footer-contact-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-3d-stage { height: 155px; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Modals (Case Study Dossier & Lightbox)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 600;
  background: rgba(5, 6, 8, 0.9);
  backdrop-filter: blur(18px);
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0s 0.25s;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s ease, visibility 0s;
}

.modal-close {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 620;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.modal-close:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.case-modal {
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}

.case-modal-media { background: #000; min-height: 300px; }
.case-modal-media img { width: 100%; height: 100%; object-fit: cover; }

.case-modal-body {
  padding: clamp(22px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.case-modal-badge {
  height: 34px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  margin-bottom: 12px;
}

.case-modal-body h3 { font-size: 1.38rem; margin-bottom: 6px; }
.case-modal-client { font-size: 0.88rem; color: var(--text-2); }

.case-modal-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.case-modal-specs h5 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 5px;
}

.case-modal-specs p, .case-modal-specs li { font-size: 0.86rem; }

.case-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.case-chip {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  font-size: 0.76rem;
  color: var(--text-2);
}

.sq-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.sq-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.lightbox-box {
  max-width: 92vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.lightbox-box img {
  max-height: 78vh;
  max-width: 90vw;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  object-fit: contain;
}

.lightbox-cap {
  font-size: 0.86rem;
  color: var(--text-2);
  text-align: center;
}

@media (max-width: 820px) {
  .case-modal { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .stagger-item { opacity: 1; transform: none; transition: none; }
  #preloader { transition: none; }
}
