/* ================================================================
   NUMU Creative Agency — style.css
   Full stylesheet using the brand color palette
================================================================ */

/* ----------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES (Design Tokens)
---------------------------------------------------------------- */
:root {
  /* PRIMARY — Burgundy Reds */
  --burgundy:      #6B1F2A;
  --crimson:       #8C2F3C;
  --muted-red:     #A94452;

  /* BACKGROUNDS — unified warm near-black so tree shows through everywhere */
  --charcoal:      #0e0a0b;   /* deep warm near-black (matches services section) */
  --lens-black:    #130c0d;   /* slightly warmer dark, used for cards */
  --glass:         #3A3F45;   /* glass / accent bg */

  /* GRAYS */
  --dark-gray:     #5A5A5A;
  --cool-gray:     #9FA3A6;
  --soft-gray:     #BFBFBF;
  --concrete:      #D9D9D9;
  --silver:        #C0C0C0;

  /* LIGHTS */
  --warm-white:    #EDEDED;
  --soft-white:    #F5F5F5;

  /* SEMANTIC */
  --bg-dark:       var(--charcoal);
  --bg-medium:     var(--lens-black);
  --bg-light:      #110b0c;
  --text-primary:  var(--soft-white);
  --text-secondary:var(--cool-gray);
  --text-muted:    var(--dark-gray);
  --accent:        var(--muted-red);
  --accent-hover:  var(--crimson);
  --border:        rgba(191,191,191,0.08);
  --border-accent: rgba(169,68,82,0.25);

  /* SPACING */
  --section-pad:   120px;
  --container:     1200px;
  --radius:        12px;
  --radius-lg:     20px;

  /* TRANSITIONS */
  --ease:          cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);
}

/* ----------------------------------------------------------------
   1b. LIGHT THEME OVERRIDES
---------------------------------------------------------------- */
html[data-theme="light"] {
  --charcoal:      #F5F5F5;
  --lens-black:    #EDEDED;
  --glass:         #D9D9D9;

  --dark-gray:     #999999;
  --cool-gray:     #666666;
  --soft-gray:     #444444;
  --concrete:      #333333;
  --silver:        #555555;

  --warm-white:    #1a1a1a;
  --soft-white:    #111111;

  --bg-dark:       #E8E8E8;
  --bg-medium:     #E0E0E0;
  --bg-light:      #EEEEEE;
  --text-primary:  #000000;
  --text-secondary:#1a1a1a;
  --text-muted:    #555555;
  --accent:        #8C2F3C;
  --accent-hover:  #6B1F2A;
  --border:        rgba(0,0,0,0.1);
  --border-accent: rgba(169,68,82,0.3);
}

html[data-theme="light"] body {
  background-color: #E8E8E8;
}
html[data-theme="light"] .dark-section {
  background-color: rgba(235,235,235,0.9);
}

/* ── Services section — light mode ── */
html[data-theme="light"] .services {
  background: rgba(240,240,240,0.95);
}
html[data-theme="light"] .services-canvas {
  opacity: 0.15;
}
html[data-theme="light"] .sorb-1 {
  background: radial-gradient(circle, rgba(107,31,42,0.15) 0%, transparent 70%);
}
html[data-theme="light"] .sorb-2 {
  background: radial-gradient(circle, rgba(58,63,69,0.15) 0%, transparent 70%);
}
html[data-theme="light"] .sorb-3 {
  background: radial-gradient(circle, rgba(140,47,60,0.1) 0%, transparent 70%);
}
html[data-theme="light"] .card-face {
  background: linear-gradient(145deg, rgba(255,255,255,0.9) 0%, rgba(245,245,245,0.95) 60%, rgba(255,240,242,0.9) 100%);
  border-color: rgba(169,68,82,0.15);
  box-shadow: 0 2px 4px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.08);
}
html[data-theme="light"] .card-3d:hover .card-face {
  border-color: rgba(169,68,82,0.4);
  box-shadow: 0 4px 8px rgba(0,0,0,0.08), 0 20px 60px rgba(107,31,42,0.12);
}
html[data-theme="light"] .card-face h3 {
  color: #1a1a1a;
}
html[data-theme="light"] .card-3d:hover .card-face h3 {
  color: #000;
}
html[data-theme="light"] .card-face p {
  color: #444;
}
html[data-theme="light"] .card-3d:hover .card-face p {
  color: #333;
}
html[data-theme="light"] .card-chip {
  color: #8C2F3C;
  background: rgba(107,31,42,0.08);
  border-color: rgba(169,68,82,0.2);
}
html[data-theme="light"] .card-3d:hover .card-chip {
  background: rgba(107,31,42,0.15);
  border-color: rgba(169,68,82,0.35);
  color: #6B1F2A;
}
html[data-theme="light"] .svc-num {
  color: rgba(169,68,82,0.08);
}
html[data-theme="light"] .card-3d:hover .svc-num {
  color: rgba(169,68,82,0.15);
}
html[data-theme="light"] .cl-1 { background: rgba(107,31,42,0.04); }
html[data-theme="light"] .cl-2 { background: rgba(200,200,200,0.3); }
html[data-theme="light"] .cl-3 { background: rgba(220,220,220,0.3); }
html[data-theme="light"] .services .section-title {
  color: #000;
}
html[data-theme="light"] .services .section-sub {
  color: #333;
}

/* ── Contact section — light mode ── */
html[data-theme="light"] .contact-heading h2 {
  color: #000;
}
html[data-theme="light"] .cf-group label,
html[data-theme="light"] .ci-label {
  color: #8C2F3C;
}
html[data-theme="light"] .cf-group input,
html[data-theme="light"] .cf-group textarea {
  background: rgba(0,0,0,0.05);
  border-color: rgba(0,0,0,0.15);
  color: #000;
}
html[data-theme="light"] .cf-group input::placeholder,
html[data-theme="light"] .cf-group textarea::placeholder {
  color: #999;
}
html[data-theme="light"] .cf-group input:focus,
html[data-theme="light"] .cf-group textarea:focus {
  border-color: rgba(140,47,60,0.5);
  box-shadow: 0 0 0 3px rgba(140,47,60,0.1);
}
html[data-theme="light"] .ci-value,
html[data-theme="light"] .ci-link {
  color: #000;
}
html[data-theme="light"] .ci-whatsapp {
  background: #e8f5e9;
  border-color: #66bb6a;
  color: #2e7d32;
}
html[data-theme="light"] .ci-whatsapp:hover {
  background: #c8e6c9;
  border-color: #4caf50;
}
html[data-theme="light"] .cf-success {
  background: rgba(107,31,42,0.08);
  color: #6B1F2A;
}

/* ── Global light mode text overrides ── */
html[data-theme="light"] h1,
html[data-theme="light"] h2,
html[data-theme="light"] h3,
html[data-theme="light"] h4,
html[data-theme="light"] h5 {
  color: #000;
}
html[data-theme="light"] p,
html[data-theme="light"] span,
html[data-theme="light"] li,
html[data-theme="light"] a {
  color: #1a1a1a;
}
html[data-theme="light"] .section-tag {
  color: #8C2F3C;
}
html[data-theme="light"] .nav-links a {
  color: #000;
}
html[data-theme="light"] .nav-logo {
  color: #000;
}
html[data-theme="light"] .nav-cta {
  color: var(--soft-white) !important;
}
html[data-theme="light"] .footer {
  background: #1a1a1a;
}
html[data-theme="light"] .footer h5,
html[data-theme="light"] .footer a,
html[data-theme="light"] .footer span {
  color: #ddd;
}
html[data-theme="light"] .footer p {
  color: silver;
}
html[data-theme="light"] .navbar.scrolled {
  background: rgba(232,232,232,0.9);
}

/* ── Team section — light mode ── */
html[data-theme="light"] .team-section {
  background: rgba(230,230,230,0.95);
}
html[data-theme="light"] .team-orb-1 {
  background: radial-gradient(circle, rgba(107,31,42,0.1) 0%, transparent 70%);
}
html[data-theme="light"] .team-orb-2 {
  background: radial-gradient(circle, rgba(200,200,200,0.3) 0%, transparent 70%);
}
html[data-theme="light"] .tc {
  background: linear-gradient(160deg, #ffffff 0%, #f5f5f5 55%, #fff5f6 100%);
  border-color: rgba(0,0,0,0.1);
  box-shadow: 0 4px 24px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.8);
}
html[data-theme="light"] .tc:hover {
  border-color: rgba(140,47,60,0.35) !important;
  box-shadow: 0 24px 64px rgba(107,31,42,0.12), 0 8px 30px rgba(0,0,0,0.08) !important;
}
html[data-theme="light"] .tc-name {
  color: #000;
}
html[data-theme="light"] .tc-role {
  color: #8C2F3C;
}
html[data-theme="light"] .tc-bio {
  color: #333;
}
html[data-theme="light"] .tc-social-link {
  color: #555;
}
html[data-theme="light"] .tc-social-link:hover {
  color: #000;
  background: rgba(0,0,0,0.06);
}

/* ── Calendar — light mode ── */
html[data-theme="light"] .calendar-wrap {
  background: rgba(40,40,40,0.9);
  border-color: rgba(255,255,255,0.08);
}
html[data-theme="light"] .cal-header-row span {
  color: #d08090;
}
html[data-theme="light"] .cal-cell {
  background: rgba(50,50,50,0.7);
  border-color: rgba(255,255,255,0.06);
}
html[data-theme="light"] .cal-cell:hover:not(.empty) {
  border-color: rgba(169,68,82,0.4);
}
html[data-theme="light"] .cal-day {
  color: #bbb;
}
html[data-theme="light"] .cal-legend {
  border-top-color: rgba(255,255,255,0.08);
}
html[data-theme="light"] .cal-legend span {
  color: #ccc;
}

/* ----------------------------------------------------------------
   2. RESET & BASE
---------------------------------------------------------------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'DM Sans', sans-serif;
  background-color: #0b0808;   /* deepest warm near-black — tree shows through all sections */
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul { list-style: none; }

/* ----------------------------------------------------------------
   3. TYPOGRAPHY
---------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.1;
  font-weight: 600;
}

h1 { font-size: clamp(3rem, 7vw, 6rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; font-family: 'DM Sans', sans-serif; font-weight: 600; }
h5 { font-size: 0.78rem; font-family: 'DM Sans', sans-serif; font-weight: 500;
     letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted-red); }

em { font-style: italic; color: var(--muted-red); }

.body-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1rem;
}

/* ----------------------------------------------------------------
   4. LAYOUT HELPERS
---------------------------------------------------------------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.section-pad { padding: var(--section-pad) 0; }

/* Dark alternating sections — semi-transparent so the fixed tree canvas shows through */
.dark-section { background-color: rgba(19, 12, 13, 0.78); }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 72px;
}

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-red);
  border: 1px solid var(--border-accent);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-title {
  margin-bottom: 20px;
  color: var(--soft-white);
}

.section-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ----------------------------------------------------------------
   5. BUTTONS
---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.28s var(--ease);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.06);
  opacity: 0;
  transition: opacity 0.2s;
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--burgundy) 0%, var(--muted-red) 100%);
  color: var(--soft-white);
  box-shadow: 0 4px 24px rgba(107,31,42,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(107,31,42,0.5);
}

.btn-ghost {
  background: transparent;
  color: var(--soft-white);
  border: 1px solid rgba(245,245,245,0.2);
}
.btn-ghost:hover {
  border-color: var(--muted-red);
  color: var(--muted-red);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--muted-red);
  border: 1px solid var(--border-accent);
  padding: 12px 28px;
}
.btn-outline:hover {
  background: var(--burgundy);
  color: var(--soft-white);
  border-color: var(--burgundy);
  transform: translateY(-2px);
}

.btn-large { padding: 18px 48px; font-size: 0.9rem; }
.btn-full  { width: 100%; justify-content: center; }

/* ----------------------------------------------------------------
   6. FLOATING BACKGROUND SHAPES
   (only visible BELOW the hero — hero has its own image bg)
---------------------------------------------------------------- */
.bg-shapes {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  /* Push shapes so they don't cover the hero image */
  top: 100vh;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.04;
  animation: floatShape 20s ease-in-out infinite;
}

.shape-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--crimson), transparent);
  top: -150px; right: -100px;
  animation-duration: 22s;
}
.shape-2 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, var(--muted-red), transparent);
  bottom: 20%; left: -80px;
  animation-duration: 18s;
  animation-delay: -8s;
}
.shape-3 {
  width: 250px; height: 250px;
  background: radial-gradient(circle, var(--burgundy), transparent);
  top: 40%; right: 5%;
  animation-duration: 26s;
  animation-delay: -13s;
}
.shape-4 {
  width: 180px; height: 180px;
  background: radial-gradient(circle, var(--glass), transparent);
  bottom: 10%; right: 20%;
  animation-duration: 15s;
  animation-delay: -5s;
}

@keyframes floatShape {
  0%, 100% { transform: translateY(0) scale(1); }
  33%       { transform: translateY(-40px) scale(1.04); }
  66%       { transform: translateY(20px) scale(0.97); }
}

/* ----------------------------------------------------------------
   7. NAVIGATION
---------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 24px 0;
  transition: background 0.4s var(--ease), padding 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
  background: rgba(31,31,31,0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 14px 0;
  box-shadow: 0 2px 30px rgba(0,0,0,0.4);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--soft-white);
  transition: opacity 0.2s;
}
.nav-logo:hover { opacity: 0.85; }
.logo-dot { color: var(--muted-red); }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--soft-gray);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--muted-red);
  transition: width 0.25s var(--ease);
}
.nav-links a:hover { color: var(--soft-white); }
.nav-links a:hover::after { width: 100%; }

/* CTA nav button */
.nav-links .nav-cta {
  background: linear-gradient(135deg, var(--burgundy), var(--muted-red));
  color: var(--soft-white) !important;
  padding: 10px 22px;
  border-radius: 5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(107,31,42,0.3);
}
.nav-links .nav-cta::after { display: none; }
.nav-links .nav-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(107,31,42,0.4);
}

/* Theme Toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--border);
  color: var(--text-primary);
  transition: background 0.3s, color 0.3s;
}
.theme-toggle:hover {
  background: var(--border-accent);
  color: var(--accent);
}
.theme-toggle .icon-moon { display: block; }
.theme-toggle .icon-sun  { display: none; }
html[data-theme="light"] .theme-toggle .icon-moon { display: none; }
html[data-theme="light"] .theme-toggle .icon-sun  { display: block; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--soft-white);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----------------------------------------------------------------
   8. SCROLL REVEAL ANIMATION
---------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children in grids */
.services-grid   .reveal:nth-child(2) { transition-delay: 0.08s; }
.services-grid   .reveal:nth-child(3) { transition-delay: 0.16s; }
.services-grid   .reveal:nth-child(4) { transition-delay: 0.24s; }
.services-grid   .reveal:nth-child(5) { transition-delay: 0.32s; }
.services-grid   .reveal:nth-child(6) { transition-delay: 0.40s; }
.results-grid    .reveal:nth-child(2) { transition-delay: 0.1s; }
.results-grid    .reveal:nth-child(3) { transition-delay: 0.2s; }
.results-grid    .reveal:nth-child(4) { transition-delay: 0.3s; }
.team-grid       .reveal:nth-child(2) { transition-delay: 0.1s; }
.team-grid       .reveal:nth-child(3) { transition-delay: 0.2s; }
.team-grid       .reveal:nth-child(4) { transition-delay: 0.3s; }
.portfolio-grid  .reveal:nth-child(2) { transition-delay: 0.08s; }
.portfolio-grid  .reveal:nth-child(3) { transition-delay: 0.16s; }
.portfolio-grid  .reveal:nth-child(4) { transition-delay: 0.24s; }
.portfolio-grid  .reveal:nth-child(5) { transition-delay: 0.32s; }
.portfolio-grid  .reveal:nth-child(6) { transition-delay: 0.40s; }

/* ----------------------------------------------------------------
   9. HERO — full-bleed looping video background
---------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 32px 80px;
  z-index: 1;
  overflow: hidden;
  background: var(--charcoal); /* shown while video loads */
}

/* ── Video element — fills the entire hero ── */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;       /* always fills, never letterboxed */
  object-position: center;
  z-index: 0;
  pointer-events: none;    /* clicks pass through to content */
  /* GPU-composited layer for smooth playback */
  will-change: transform;
  transform: translateZ(0);
}

/* ── Multi-layer dark + burgundy overlay ── */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    /* Edge vignette */
    radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.6) 100%),
    /* Top-to-bottom dimming */
    linear-gradient(
      180deg,
      rgba(31,31,31,0.52)  0%,
      rgba(31,31,31,0.12) 28%,
      rgba(31,31,31,0.08) 50%,
      rgba(31,31,31,0.32) 72%,
      rgba(31,31,31,0.72) 100%
    ),
    /* Brand burgundy tint */
    linear-gradient(
      135deg,
      rgba(107,31,42,0.20) 0%,
      transparent          100%
    );
  pointer-events: none;
}

/* ── Content sits above video + overlay ── */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

/* ── Eyebrow pill badge ── */
.hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--soft-white);
  background: rgba(107,31,42,0.55);
  border: 1px solid rgba(169,68,82,0.55);
  padding: 7px 22px;
  border-radius: 100px;
  margin-bottom: 28px;
  font-weight: 500;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition-delay: 0s !important;
}

/* ── Main headline ── */
.hero-title {
  color: var(--soft-white);
  margin-bottom: 28px;
  font-weight: 300;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 28px rgba(0,0,0,0.7), 0 1px 4px rgba(0,0,0,0.4);
  transition-delay: 0.12s !important;
}
.hero-title em {
  font-style: italic;
  font-weight: 700;
  display: block;
  /* Gradient brand name: white → rose → red */
  background: linear-gradient(135deg, #F5F5F5 0%, #d48090 55%, #A94452 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 24px rgba(169,68,82,0.45));
}

/* ── Subtitle ── */
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(237,237,237,0.88);
  line-height: 1.8;
  margin-bottom: 48px;
  font-weight: 300;
  /* Frosted glass backing for readability over moving video */
  background: rgba(0,0,0,0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 16px 30px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.07);
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
  transition-delay: 0.22s !important;
}

/* ── CTA buttons ── */
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  transition-delay: 0.32s !important;
}

/* ── Corner frame decorations ── */
.hero-frame { position: absolute; inset: 48px; pointer-events: none; z-index: 3; }
.frame-tl, .frame-br { position: absolute; width: 70px; height: 70px; }
.frame-tl {
  top: 0; left: 0;
  border-top:  1px solid rgba(169,68,82,0.55);
  border-left: 1px solid rgba(169,68,82,0.55);
}
.frame-br {
  bottom: 0; right: 0;
  border-bottom: 1px solid rgba(169,68,82,0.55);
  border-right:  1px solid rgba(169,68,82,0.55);
}

/* ── Scroll hint ── */
.scroll-hint {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 4;
}
.scroll-line {
  width: 1px; height: 52px;
  background: linear-gradient(to bottom, rgba(169,68,82,0.9), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
.scroll-label {
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(245,245,245,0.45);
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; transform: scaleY(1);    }
  50%       { opacity: 1;   transform: scaleY(1.12); }
}

/* ----------------------------------------------------------------
   10. ABOUT
---------------------------------------------------------------- */

/* About section — no explicit background, inherits body #0b0808 → tree shows through */
.about { position: relative; z-index: 1; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
  height: 380px;
}

.about-card {
  position: absolute;
  width: 220px;
  padding: 28px 24px;
}

.card-glass {
  background: rgba(58,63,69,0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}

.about-card:nth-child(1) { top: 0; left: 0; }
.offset-card             { top: 110px; left: 160px; }
.offset-card-2           { top: 230px; left: 40px; }

.stat-line { display: flex; align-items: baseline; gap: 2px; flex-wrap: wrap; }
.stat-big  { font-family: 'Cormorant Garamond', serif; font-size: 3rem; font-weight: 700; color: var(--soft-white); line-height: 1; }
.stat-suf  { font-family: 'Cormorant Garamond', serif; font-size: 2rem; color: var(--muted-red); line-height: 1; }
.stat-label { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cool-gray); margin-top: 8px; width: 100%; }

/* ----------------------------------------------------------------
   11. SERVICES — 3D LAYERED CARDS + ABSTRACT BACKGROUND
---------------------------------------------------------------- */

/* ── Section shell ── */
.services {
  position: relative;
  overflow: hidden;
  background: rgba(14, 10, 11, 0.72);   /* semi-transparent — tree shows through */
}

/* ── Animated canvas background ── */
.services-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

/* ── Floating blob orbs behind grid ── */
.services-orbs { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }

.sorb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: sorbFloat 18s ease-in-out infinite;
}
.sorb-1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(107,31,42,0.55) 0%, transparent 70%);
  top: -120px; left: -100px;
  animation-duration: 22s;
}
.sorb-2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(58,63,69,0.6) 0%, transparent 70%);
  bottom: -80px; right: -60px;
  animation-duration: 17s;
  animation-delay: -8s;
}
.sorb-3 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(140,47,60,0.35) 0%, transparent 70%);
  top: 50%; left: 55%;
  animation-duration: 25s;
  animation-delay: -13s;
}

@keyframes sorbFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(40px,-30px) scale(1.06); }
  66%      { transform: translate(-20px,25px) scale(0.95); }
}

/* ── 3×2 card grid ── */
.services-grid-3d {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  perspective: 1800px;  /* 3D perspective on the grid container */
}

/* ── Card scene wrapper — preserves 3D space ── */
.card-scene {
  transform-style: preserve-3d;
  height: 100%;
  min-height: 320px;
}

/* ── 3D card root ── */
.card-3d {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 320px;
  transform-style: preserve-3d;
  /* JS drives rotateX/rotateY via inline style */
  transition: transform 0.12s ease;
  cursor: pointer;
  will-change: transform;
}

/* ── Stacked depth layers (visible behind/around the face) ── */
.card-layers {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.card-layer {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  border: 1px solid rgba(169,68,82,0.12);
  transform-origin: center;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

/* Three stacked ghost cards behind the main face */
.cl-1 { transform: translateZ(-12px) scale(0.97); background: rgba(107,31,42,0.08);  border-color: rgba(169,68,82,0.15); }
.cl-2 { transform: translateZ(-24px) scale(0.94); background: rgba(43,43,43,0.25);   border-color: rgba(169,68,82,0.09); }
.cl-3 { transform: translateZ(-38px) scale(0.90); background: rgba(31,31,31,0.3);    border-color: rgba(169,68,82,0.05); }

/* On hover the layers fan out deeper */
.card-3d:hover .cl-1 { transform: translateZ(-18px) scale(0.97); border-color: rgba(169,68,82,0.3); }
.card-3d:hover .cl-2 { transform: translateZ(-36px) scale(0.94); border-color: rgba(169,68,82,0.18); }
.card-3d:hover .cl-3 { transform: translateZ(-56px) scale(0.90); border-color: rgba(169,68,82,0.10); }

/* ── Main card face ── */
.card-face {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border-radius: 18px;
  overflow: hidden;

  /* Layered glass background */
  background:
    linear-gradient(
      145deg,
      rgba(58,63,69,0.55) 0%,
      rgba(31,31,31,0.70) 60%,
      rgba(43,20,22,0.55) 100%
    );
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  border: 1px solid rgba(169,68,82,0.22);
  box-shadow:
    0 2px 4px rgba(0,0,0,0.3),
    0 8px 24px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.06),
    inset 0 -1px 0 rgba(0,0,0,0.2);

  transition: border-color 0.35s, box-shadow 0.35s;
  padding: 36px 30px 40px;
}

.card-3d:hover .card-face {
  border-color: rgba(169,68,82,0.55);
  box-shadow:
    0 4px 8px rgba(0,0,0,0.4),
    0 20px 60px rgba(107,31,42,0.35),
    0 40px 80px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.1),
    inset 0 -1px 0 rgba(107,31,42,0.15);
}

/* ── Moving light-shine (follows mouse via JS CSS var) ── */
.card-shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    ellipse 80% 60% at var(--sx, 50%) var(--sy, 0%),
    rgba(255,255,255,0.07) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.3s;
  opacity: 0;
}
.card-3d:hover .card-shine { opacity: 1; }

/* ── Glow pulse behind the card ── */
.card-glow {
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  background: radial-gradient(ellipse 90% 50% at 50% 100%, rgba(169,68,82,0.25), transparent 70%);
  opacity: 0;
  filter: blur(12px);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.4s;
}
.card-3d:hover .card-glow { opacity: 1; }

/* ── Corner accent lines ── */
.card-edge-t,
.card-edge-l {
  position: absolute;
  background: linear-gradient(90deg, var(--muted-red), transparent);
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.35s, width 0.4s ease, height 0.4s ease;
  pointer-events: none;
}
.card-edge-t {
  top: 0; left: 0;
  height: 2px; width: 0;
}
.card-edge-l {
  top: 0; left: 0;
  width: 2px; height: 0;
  background: linear-gradient(180deg, var(--muted-red), transparent);
}
.card-3d:hover .card-edge-t { opacity: 1; width: 60%; }
.card-3d:hover .card-edge-l { opacity: 1; height: 50%; }

/* ── Icon wrapper with animated ring ── */
.card-content { position: relative; z-index: 2; }

.svc-icon-wrap {
  position: relative;
  width: 52px; height: 52px;
  margin-bottom: 22px;
  color: var(--muted-red);
}
.svc-icon-wrap svg {
  width: 100%; height: 100%;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 8px rgba(169,68,82,0.4));
  transition: filter 0.3s;
}
.card-3d:hover .svc-icon-wrap svg {
  filter: drop-shadow(0 0 16px rgba(169,68,82,0.7));
}

/* Spinning ring behind the icon */
.svc-icon-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(169,68,82,0.0);
  transition: border-color 0.4s, transform 0.8s;
}
.card-3d:hover .svc-icon-ring {
  border-color: rgba(169,68,82,0.35);
  transform: rotate(180deg) scale(1.1);
}

.card-face h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--soft-white);
  margin-bottom: 12px;
  line-height: 1.2;
  transition: color 0.25s;
}
.card-3d:hover .card-face h3 { color: #fff; }

.card-face p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.72;
  transition: color 0.25s;
}
.card-3d:hover .card-face p { color: var(--soft-gray); }

/* ── Chip tags at bottom ── */
.card-tag-row {
  display: flex;
  gap: 8px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.card-chip {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-red);
  background: rgba(107,31,42,0.15);
  border: 1px solid rgba(169,68,82,0.2);
  padding: 4px 11px;
  border-radius: 100px;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.card-3d:hover .card-chip {
  background: rgba(107,31,42,0.3);
  border-color: rgba(169,68,82,0.5);
  color: #e88090;
}

/* ── Big ghost number ── */
.svc-num {
  position: absolute;
  bottom: 18px; right: 22px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(169,68,82,0.06);
  pointer-events: none;
  z-index: 0;
  transition: color 0.4s, transform 0.4s;
  user-select: none;
}
.card-3d:hover .svc-num {
  color: rgba(169,68,82,0.12);
  transform: translateX(-4px) translateY(-4px);
}

/* ── Section header colour tweak for dark bg ── */
.services .section-tag { border-color: rgba(169,68,82,0.35); color: var(--muted-red); }
.services .section-title { color: var(--soft-white); }
.services .section-sub   { color: var(--cool-gray); }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .services-grid-3d { grid-template-columns: repeat(2,1fr); gap:24px; }
}
@media (max-width: 640px) {
  .services-grid-3d { grid-template-columns: 1fr; gap:20px; }
  .card-3d, .card-face, .card-scene { min-height: 280px; }
}

/* ─── Keep old .service-card / .services-grid selectors working
       for any other reference in the codebase ─── */
.services-grid { display: none; }   /* old grid — hidden */

/* ----------------------------------------------------------------
   12. RESULTS
---------------------------------------------------------------- */
.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 80px;
  text-align: center;
}

.result-item { padding: 32px 20px; }
.result-number {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: 12px;
}

.result-number .counter {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 700;
  color: var(--soft-white);
  line-height: 1;
}
.result-suf {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  color: var(--muted-red);
  line-height: 1;
}
.result-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

/* Marquee */
.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.marquee-track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: marqueeScroll 30s linear infinite;
}
.marquee-track span {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
  flex-shrink: 0;
}
.dot-sep { color: var(--muted-red) !important; }

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

/* ----------------------------------------------------------------
   13. PROCESS — Sequential Slide-in Animation
---------------------------------------------------------------- */

/* ── Section ── */
.process {
  background: transparent;  /* tree shows through from fixed canvas behind */
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Ensure all process content sits above the fixed canvas */
.process-grid-bg,
.process .container {
  position: relative;
  z-index: 2;
}

/* Subtle dot-grid texture */
.process-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(169,68,82,0.12) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.45;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

/* ── 5-column grid ── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
  padding-top: 20px;
}

/* ── SVG connector line that draws itself ── */
.process-connector {
  position: relative;
  width: 100%;
  height: 2px;
  margin-bottom: 0;
  /* Sits between header and steps, aligned with dots */
  margin-top: 60px;
}

.connector-svg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  overflow: visible;
}

.connector-line {
  stroke: rgba(169,68,82,0.35);
  stroke-width: 1;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 1.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.connector-line.drawn {
  stroke-dashoffset: 0;
}

/* ── Individual step ── */
.process-step {
  text-align: center;
  padding: 0 20px;
  position: relative;

  /* Pre-animation state — hidden below */
  opacity: 0;
  transform: translateY(48px);
  /* JS adds .ps-visible with staggered delay */
  transition:
    opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Visible state triggered by JS */
.process-step.ps-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Number area ── */
.ps-number-wrap {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-bottom: 0;
}

/* Glow behind number */
.ps-number-glow {
  position: absolute;
  width: 80px; height: 80px;
  background: radial-gradient(circle, rgba(169,68,82,0.22) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.process-step:hover .ps-number-glow,
.process-step.ps-active .ps-number-glow {
  opacity: 1;
}

/* The number itself */
.ps-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--muted-red);
  line-height: 1;
  display: block;
  position: relative;
  z-index: 1;
  transition: color 0.3s, transform 0.3s;
  /* Number starts slightly scaled down, pops in */
  transform: scale(0.7);
  opacity: 0;
  transition:
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.4s ease,
    color 0.3s ease;
}

.process-step.ps-visible .ps-num {
  transform: scale(1);
  opacity: 1;
}

.process-step:hover .ps-num {
  color: var(--soft-white);
  transform: scale(1.08);
}

/* The dot — sits on the connector line */
.ps-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--muted-red);
  border: 2px solid var(--charcoal);
  box-shadow: 0 0 0 2px var(--muted-red);
  margin-top: 10px;
  position: relative;
  z-index: 2;
  transform: scale(0);
  opacity: 0;
  transition:
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.3s ease,
    box-shadow 0.3s;
}
.process-step.ps-visible .ps-dot {
  transform: scale(1);
  opacity: 1;
}
.process-step:hover .ps-dot {
  box-shadow: 0 0 0 4px rgba(169,68,82,0.3), 0 0 16px rgba(169,68,82,0.5);
}

/* ── Step text body ── */
.ps-body {
  margin-top: 28px;
  padding: 0 4px;
}

.ps-body h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--soft-white);
  margin-bottom: 10px;
  transition: color 0.25s;
  /* Slide up separately */
  transform: translateY(16px);
  opacity: 0;
  transition:
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.45s ease,
    color 0.25s;
}
.process-step.ps-visible .ps-body h3 {
  transform: translateY(0);
  opacity: 1;
}
.process-step:hover .ps-body h3 { color: var(--muted-red); }

.ps-body p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.7;
  transform: translateY(20px);
  opacity: 0;
  transition:
    transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.5s ease;
}
.process-step.ps-visible .ps-body p {
  transform: translateY(0);
  opacity: 1;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .process-steps {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 480px;
    margin: 0 auto;
  }
  .process-connector { display: none; }
  .process-step {
    display: grid;
    grid-template-columns: 80px 1fr;
    text-align: left;
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
    gap: 20px;
    align-items: start;
  }
  .process-step:last-child { border-bottom: none; }
  .ps-number-wrap { margin-bottom: 0; }
  .ps-dot { display: none; }
  .ps-body { margin-top: 0; }
}

@media (max-width: 640px) {
  .process-steps { max-width: 100%; }
}

/* ----------------------------------------------------------------
   14. CONTENT CALENDAR
---------------------------------------------------------------- */
.calendar-wrap {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(58,63,69,0.2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  overflow: hidden;
}

.cal-header-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.cal-header-row span {
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-red);
  padding: 8px 0;
}

.cal-body {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.cal-cell {
  min-height: 80px;
  background: rgba(31,31,31,0.4);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 10px 8px;
  transition: border-color 0.2s;
  position: relative;
}
.cal-cell.empty { background: transparent; border-color: transparent; }
.cal-cell:hover:not(.empty) { border-color: var(--border-accent); }

.cal-day {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  display: block;
  margin-bottom: 6px;
}

.cal-tag {
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  padding: 3px 7px;
  border-radius: 4px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tag-brand   { background: rgba(107,31,42,0.3);  color: #c47880;  border: 1px solid rgba(107,31,42,0.4); }
.tag-story   { background: rgba(140,47,60,0.3);  color: #d08090;  border: 1px solid rgba(140,47,60,0.4); }
.tag-video   { background: rgba(58,63,69,0.5);   color: var(--silver); border: 1px solid rgba(192,192,192,0.2); }
.tag-engage  { background: rgba(90,90,90,0.3);   color: var(--soft-gray); border: 1px solid rgba(90,90,90,0.4); }

.cal-legend {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.cal-legend span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-secondary);
}
.leg-dot {
  width: 10px; height: 10px;
  border-radius: 3px;
  display: inline-block;
}

/* ----------------------------------------------------------------
   15. PORTFOLIO
---------------------------------------------------------------- */
.filter-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn {
  padding: 9px 22px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  transition: all 0.25s var(--ease);
  background: transparent;
}
.filter-btn:hover { color: var(--soft-white); border-color: var(--border-accent); }
.filter-btn.active {
  background: linear-gradient(135deg, var(--burgundy), var(--muted-red));
  color: var(--soft-white);
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(107,31,42,0.35);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.portfolio-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
  background: var(--bg-light);
  cursor: pointer;
}
.portfolio-item:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  border-color: var(--border-accent);
}
.portfolio-item.hidden { display: none; }

/* Placeholder images (colored shapes) */
.portfolio-img {
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(245,245,245,0.5);
  letter-spacing: 0.05em;
  position: relative;
  overflow: hidden;
}
.portfolio-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.5));
}
.img-ph-1 { background: linear-gradient(135deg, var(--burgundy) 0%, #3a1015 100%); }
.img-ph-2 { background: linear-gradient(135deg, var(--glass) 0%, var(--lens-black) 100%); }
.img-ph-3 { background: linear-gradient(135deg, var(--crimson) 0%, var(--burgundy) 100%); }
.img-ph-4 { background: linear-gradient(135deg, #2a2a35 0%, var(--glass) 100%); }
.img-ph-5 { background: linear-gradient(135deg, #4a1520 0%, var(--crimson) 100%); }
.img-ph-6 { background: linear-gradient(135deg, var(--dark-gray) 0%, var(--glass) 100%); }

.portfolio-img span { position: relative; z-index: 1; }

.portfolio-info {
  padding: 20px 22px;
}
.portfolio-info h4 {
  color: var(--soft-white);
  margin-bottom: 4px;
}
.portfolio-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ----------------------------------------------------------------
   16. FAQ
---------------------------------------------------------------- */
.faq-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

.faq-left { position: sticky; top: 120px; }

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

.faq-question, .faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  font-size: 1rem;
  color: var(--soft-white);
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  transition: color 0.2s;
  background: none;
  border: none;
  cursor: pointer;
}
.faq-question:hover, .faq-q:hover { color: var(--muted-red); }

.faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--muted-red);
  transition: transform 0.3s var(--ease), background 0.2s;
  line-height: 1;
}
.faq-question[aria-expanded="true"] .faq-icon,
.faq-q[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  background: var(--muted-red);
  border-color: var(--muted-red);
  color: white;
}

.faq-answer, .faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s var(--ease);
}
.faq-answer p, .faq-a p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.8;
  padding-bottom: 20px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.faq-item.open .faq-a,
.faq-item.open .faq-answer {
  max-height: 500px;
}

/* ----------------------------------------------------------------
   17. CTA SECTION
---------------------------------------------------------------- */
.cta-section {
  padding: var(--section-pad) 0;
  background: linear-gradient(135deg, rgba(107,31,42,0.85) 0%, rgba(14,10,11,0.88) 60%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(169,68,82,0.15), transparent);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.cta-inner { position: relative; z-index: 1; }

.cta-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(245,245,245,0.5);
  margin-bottom: 16px;
}
.cta-title {
  color: var(--soft-white);
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 5vw, 4rem);
}
.cta-body {
  font-size: 1.1rem;
  color: rgba(245,245,245,0.65);
  margin-bottom: 40px;
}

/* ----------------------------------------------------------------
   18. CONTACT — New Design
---------------------------------------------------------------- */

/* ── Section ── */
.contact {
  position: relative;
  /* overflow: hidden removed — was clipping tree canvas */
}

/* ── Big heading ── */
.contact-heading {
  margin-bottom: 72px;
}
.contact-heading h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 400;
  color: #ffffff;
  line-height: 1.15;
}
.contact-heading h2 em {
  font-style: italic;
  font-weight: 600;
  color: var(--muted-red);
}

/* ── Two-column body ── */
.contact-body {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: start;
}

/* ── LEFT COLUMN: Form ── */
.contact-form-col {}

.contact-form-new {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cf-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.cf-group label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #c96070;
}

.cf-group input,
.cf-group textarea {
  width: 100%;
  background: rgba(20, 14, 14, 0.6);
  border: 1px solid rgba(169,68,82,0.18);
  border-radius: 10px;
  padding: 17px 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  color: #f0f0f0;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  resize: none;
}
.cf-group input::placeholder,
.cf-group textarea::placeholder {
  color: var(--dark-gray);
  font-size: 0.88rem;
}
.cf-group input:focus,
.cf-group textarea:focus {
  border-color: rgba(169,68,82,0.55);
  box-shadow: 0 0 0 3px rgba(169,68,82,0.1);
}

.cf-error {
  font-size: 0.72rem;
  color: var(--muted-red);
  min-height: 12px;
}

/* Submit button */
.cf-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--burgundy) 0%, var(--muted-red) 100%);
  color: var(--soft-white);
  border: none;
  border-radius: 50px;
  padding: 18px 32px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.25s, transform 0.2s, box-shadow 0.25s;
  box-shadow: 0 8px 32px rgba(107,31,42,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}
.cf-submit:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(107,31,42,0.55);
}
.cf-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.cf-arrow { font-size: 1.2rem; }

.cf-success {
  margin-top: 16px;
  padding: 14px 20px;
  background: rgba(107,31,42,0.2);
  border: 1px solid rgba(169,68,82,0.3);
  border-radius: 10px;
  font-size: 0.88rem;
  color: #c0808c;
  text-align: center;
}

/* ── RIGHT COLUMN: Contact info ── */
.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding-top: 4px;
}

.ci-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ci-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #c96070;
  margin: 0;
}

.ci-value {
  font-size: 1.05rem;
  color: #f0f0f0;
  line-height: 1.6;
}

.ci-link {
  color: #f0f0f0;
  text-decoration: none;
  transition: color 0.2s;
  display: block;
  font-size: 1.05rem;
}
.ci-link:hover { color: var(--muted-red); }

/* WhatsApp button */
.ci-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1a3a1a;
  border: 1px solid #2d6e2d;
  color: #5bc85b;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 12px 20px;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.25s, border-color 0.25s, transform 0.2s;
  width: fit-content;
}
.ci-whatsapp:hover {
  background: #1f4d1f;
  border-color: #4caf50;
  transform: translateY(-1px);
}
.ci-whatsapp svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ── NAVIGATION DOTS ── */
.section-dots {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 50;
  pointer-events: auto;
}

.sdot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(169,68,82,0.4);
  background: transparent;
  display: block;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.sdot:hover,
.sdot.sdot-active {
  background: var(--muted-red);
  border-color: var(--muted-red);
  transform: scale(1.35);
}

/* ── SCROLL TO TOP BUTTON ── */
.scroll-top-btn {
  position: fixed;
  bottom: 32px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--muted-red);
  color: var(--soft-white);
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s, transform 0.3s, background 0.2s;
  pointer-events: none;
  box-shadow: 0 6px 24px rgba(107,31,42,0.45);
}
.scroll-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.scroll-top-btn:hover { background: var(--crimson); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .contact-body { grid-template-columns: 1fr; gap: 48px; }
  .contact-heading h2 { font-size: 2rem; }
  .section-dots { display: none; }
  .scroll-top-btn { right: 20px; bottom: 20px; }
}




/* ----------------------------------------------------------------
   19. TEAM — Premium Stacked-to-Row Animation
---------------------------------------------------------------- */

/* ── Section shell ── */
.team-section {
  padding: var(--section-pad) 0;
  background: rgba(14, 10, 11, 0.72);   /* semi-transparent — tree shows through */
  position: relative;
  overflow: hidden;
}

/* Atmosphere orbs */
.team-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.team-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0;
  transition: opacity 1.2s ease;
}
.team-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(107,31,42,0.35) 0%, transparent 70%);
  top: -100px; right: -80px;
  animation: teamOrbFloat 18s ease-in-out infinite;
}
.team-orb-2 {
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(43,43,43,0.5) 0%, transparent 70%);
  bottom: -60px; left: 5%;
  animation: teamOrbFloat 22s ease-in-out infinite reverse;
  animation-delay: -9s;
}
.team-section.team-active .team-orb { opacity: 1; }
@keyframes teamOrbFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(20px,-24px) scale(1.06); }
}

/* ── Stage: the 3D container ── */
.team-stage {
  position: relative;
  min-height: 460px;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1400px;
  padding: 40px 0 20px;
}

/* ── Individual team card ── */
.tc {
  position: absolute;
  width: 220px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, #242424 0%, #1a1a1a 55%, #1e1015 100%);
  border: 1px solid rgba(169,68,82,0.15);
  border-radius: 20px;
  padding: 32px 20px 24px;
  text-align: center;
  cursor: default;
  will-change: transform, opacity;
  box-shadow:
    0 4px 24px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.04),
    inset 0 -1px 0 rgba(0,0,0,0.3);
  opacity: 0;
  transform: translateX(0) translateY(50px) scale(0.78) rotateY(0deg);
  transition:
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    opacity   0.55s ease,
    box-shadow 0.35s ease,
    border-color 0.3s;
}
.tc.tc-out {
  opacity: 1;
}
.tc:hover {
  border-color: rgba(169,68,82,0.5) !important;
  box-shadow:
    0 24px 64px rgba(107,31,42,0.35),
    0 8px 30px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.07) !important;
  z-index: 10 !important;
}

/* ── Avatar ── */
.tc-avatar {
  width: 90px; height: 90px;
  border-radius: 50%;
  margin: 0 auto 20px;
  position: relative;
  flex-shrink: 0;
}
.tc-avatar::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--crimson) 0%, transparent 70%);
  z-index: 0;
}
.tc-avatar-inner {
  position: relative;
  z-index: 1;
  width: 100%; height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.tc-av-1 .tc-avatar-inner { background: linear-gradient(135deg, #6B1F2A, #8C2F3C); }
.tc-av-2 .tc-avatar-inner { background: linear-gradient(135deg, #3A3F45, #2B2B2B); }
.tc-av-3 .tc-avatar-inner { background: linear-gradient(135deg, #8C2F3C, #A94452); }
.tc-av-4 .tc-avatar-inner { background: linear-gradient(135deg, #5A5A5A, #3A3F45); }
.tc-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 50%;
  position: relative;
  z-index: 1;
}
.tc-initials {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--soft-white);
  letter-spacing: 0.06em;
  user-select: none;
}

/* ── Text ── */
.tc-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--soft-white);
  line-height: 1.2;
  margin-bottom: 6px;
}
.tc-role {
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-red);
  margin-bottom: 12px;
}
.tc-bio {
  font-size: 0.77rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 18px;
}

/* ── Social links ── */
.tc-socials {
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 14px;
  margin-top: auto;
}
.tc-social-link {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.65rem;
  color: var(--cool-gray);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 100px;
  transition: color 0.2s, background 0.2s;
  letter-spacing: 0.04em;
}
.tc-social-link:hover { color: var(--soft-white); background: rgba(169,68,82,0.12); }
.tc-social-link svg { width: 11px; height: 11px; flex-shrink: 0; }
.tc-social-sep {
  width: 1px; height: 14px;
  background: rgba(255,255,255,0.08);
  flex-shrink: 0;
}

/* ── Mobile: static column ── */
@media (max-width: 768px) {
  .team-stage {
    flex-direction: column;
    min-height: auto;
    gap: 20px;
    perspective: none;
    padding-bottom: 20px;
  }
  .tc {
    position: relative !important;
    transform: none !important;
    opacity: 1 !important;
    width: 100%;
    max-width: 300px;
    min-height: auto;
  }
}

/* ── Keep old selectors non-crashing ── */
.team-grid { display: none; }
.team-card { display: none; }

/* ----------------------------------------------------------------
   20. FOOTER
---------------------------------------------------------------- */
.footer {
  background: rgba(9, 6, 7, 0.97);   /* near-opaque — footer stays dark, tree barely shows */
  border-top: 1px solid var(--border);
  padding: 72px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: white;
  display: block;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: silver;
  line-height: 1.7;
  margin-bottom: 24px;
}

.social-links { display: flex; gap: 14px; }
.social-link {
  width: 38px; height: 38px;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.social-link svg { width: 16px; height: 16px; }
.social-link:hover {
  border-color: var(--muted-red);
  color: var(--muted-red);
  background: rgba(169,68,82,0.08);
}

.footer-nav { display: flex; gap: 60px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h5 { margin-bottom: 8px; }
.footer-col a {
  font-size: 0.88rem;
  color: white;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--soft-white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: silver;
}
.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.admin-link {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(159,163,166,0.4);
  border: 1px solid rgba(159,163,166,0.15);
  padding: 4px 12px;
  border-radius: 4px;
  transition: color 0.2s, border-color 0.2s;
}
.admin-link:hover { color: var(--cool-gray); border-color: var(--cool-gray); }

/* ----------------------------------------------------------------
   21. RESPONSIVE — TABLET (≤ 1024px)
---------------------------------------------------------------- */
@media (max-width: 1024px) {
  :root { --section-pad: 90px; }

  .about-grid         { grid-template-columns: 1fr; gap: 60px; }
  .about-visual       { height: 240px; }
  .about-card         { width: 180px; }
  .offset-card        { top: 80px; left: 120px; }
  .offset-card-2      { top: 160px; left: 20px; }

  .services-grid      { grid-template-columns: repeat(2, 1fr); }
  .results-grid       { grid-template-columns: repeat(2, 1fr); }
  .process-steps      { grid-template-columns: 1fr; gap: 28px; }
  .step-line          { display: none; }

  .portfolio-grid     { grid-template-columns: repeat(2, 1fr); }
  .team-grid          { grid-template-columns: repeat(2, 1fr); }
  .contact-grid       { grid-template-columns: 1fr; gap: 48px; }
  .faq-inner          { grid-template-columns: 1fr; gap: 40px; }
  .faq-left           { position: static; }

  .footer-top         { grid-template-columns: 1fr; gap: 48px; }
  .footer-nav         { flex-wrap: wrap; gap: 40px; }
}

/* ----------------------------------------------------------------
   22. RESPONSIVE — MOBILE (≤ 768px)
---------------------------------------------------------------- */
@media (max-width: 768px) {
  :root { --section-pad: 72px; }

  .container { padding: 0 20px; }

  /* Nav mobile */
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: rgba(31,31,31,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 40px 40px;
    gap: 28px;
    transition: right 0.35s var(--ease);
    border-left: 1px solid var(--border);
    z-index: 99;
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 0.9rem; }

  /* Hero */
  .hero { padding: 100px 20px 70px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-frame { display: none; }

  /* About */
  .about-visual { height: 280px; }
  .about-card { width: 160px; padding: 20px 16px; }
  .stat-big { font-size: 2.2rem; }

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

  /* Results */
  .results-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }

  /* Calendar */
  .calendar-wrap { padding: 20px 14px; overflow-x: auto; }
  .cal-header-row, .cal-body { min-width: 560px; }

  /* Portfolio */
  .portfolio-grid { grid-template-columns: 1fr; }

  /* Team */
  .team-grid { grid-template-columns: 1fr; }

  /* Form */
  .form-row.two-col { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px 20px; }

  /* Footer */
  .footer-nav { flex-direction: column; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  h1 { font-size: 2.6rem; }
  h2 { font-size: 2rem; }
  .about-visual { display: none; }
  .results-grid { grid-template-columns: 1fr; }
}