/* ============================================================
   GLASS + UPSCALED — premium polish pass
   Layered above canvas.css. Stronger frosted glass on key
   surfaces, more refined shadows, larger spacing, gloss sheens.
   ============================================================ */

/* — Refined token tweaks — */
:root {
  --glass-tint: rgba(255, 254, 250, 0.55);
  --glass-tint-strong: rgba(255, 254, 250, 0.72);
  --glass-border: rgba(255, 255, 255, 0.92);
  --glass-sheen-1: rgba(255, 255, 255, 0.95);
  --glass-shadow-1: 0 1px 0 rgba(255, 255, 255, 1) inset;
  --glass-shadow-2: 0 8px 24px rgba(60, 50, 30, 0.06);
  --glass-shadow-3: 0 24px 72px rgba(50, 40, 25, 0.10);
  --glass-shadow-4: 0 40px 120px rgba(40, 30, 18, 0.14);
  --glass-shadow-hover: 0 50px 140px rgba(40, 30, 18, 0.20);

  /* upscaled radii */
  --r-xl: 36px;
  --r-2xl: 48px;
}

/* — Subtle moving canvas-wash background — */
body {
  background:
    radial-gradient(ellipse 1400px 700px at 15% 0%, rgba(229, 212, 168, 0.28), transparent 55%),
    radial-gradient(ellipse 1200px 800px at 85% 100%, rgba(180, 160, 120, 0.20), transparent 55%),
    radial-gradient(ellipse 800px 600px at 50% 50%, rgba(245, 235, 215, 0.30), transparent 60%),
    var(--bg-0);
  background-attachment: fixed;
}

/* Linen texture: lighten further for premium look */
body::after {
  opacity: 0.35;
}

/* ============================================================
   NAV — premium glass
   ============================================================ */
.nav.is-scrolled {
  background: rgba(250, 246, 235, 0.55);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow:
    var(--glass-shadow-1),
    0 8px 32px rgba(60, 50, 30, 0.08);
}

/* ============================================================
   BUTTONS — refined gloss
   ============================================================ */
.btn-primary {
  background: linear-gradient(180deg, #2D2820 0%, #0E0A04 100%);
  color: #FAF6EB;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 0 0 0.5px rgba(0, 0, 0, 0.6),
    0 10px 28px rgba(30, 22, 10, 0.28),
    0 2px 6px rgba(30, 22, 10, 0.15);
  letter-spacing: -0.005em;
}
.btn-primary:hover {
  background: linear-gradient(180deg, #B5944D 0%, #6E5527 100%);
  color: #FFF;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 14px 32px rgba(110, 85, 39, 0.40),
    0 4px 10px rgba(110, 85, 39, 0.25);
  transform: translateY(-1px);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow:
    var(--glass-shadow-1),
    0 8px 20px rgba(60, 50, 30, 0.05);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.75);
  transform: translateY(-1px);
  box-shadow:
    var(--glass-shadow-1),
    0 12px 28px rgba(60, 50, 30, 0.10);
}

/* ============================================================
   HERO — bigger, more cinematic
   ============================================================ */
.hero {
  padding-top: clamp(140px, 16vw, 240px);
  padding-bottom: clamp(80px, 10vw, 140px);
}
.hero-headline {
  font-size: clamp(64px, 9vw, 160px);
  letter-spacing: -0.05em;
  font-weight: 400;
  line-height: 0.88;
}
.hero-headline em { font-weight: 400; }
.hero-sub {
  font-size: clamp(20px, 1.7vw, 26px);
  line-height: 1.4;
  max-width: 58ch;
}
.hero-orb-1 { width: 640px; height: 640px; opacity: 0.18; filter: blur(110px); }
.hero-orb-2 { width: 420px; height: 420px; opacity: 0.12; filter: blur(100px); }

/* Hero stat values — premium */
.hero-stat-value {
  font-size: clamp(34px, 4vw, 56px);
  letter-spacing: -0.035em;
  font-weight: 400;
}

/* ============================================================
   BCA NETWORK SIGNUP — premium glass
   ============================================================ */
.network-signup {
  background:
    radial-gradient(ellipse at top left, rgba(255, 255, 255, 0.95) 0%, transparent 60%),
    linear-gradient(135deg, rgba(255, 254, 250, 0.70) 0%, rgba(252, 245, 228, 0.55) 100%);
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 36px;
  padding: clamp(28px, 4vw, 48px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 0 0 0.5px rgba(255, 255, 255, 0.4),
    0 40px 100px rgba(60, 45, 25, 0.18),
    0 14px 30px rgba(60, 45, 25, 0.08);
  max-width: 680px;
}
.network-signup::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, transparent 70%);
  height: 60%;
}
.network-signup-title {
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.network-signup-input {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow:
    inset 0 1px 2px rgba(60, 45, 25, 0.06);
}
.network-signup-input:focus {
  background: rgba(255, 255, 255, 0.95);
  box-shadow:
    inset 0 1px 2px rgba(60, 45, 25, 0.08),
    0 0 0 4px var(--accent-soft);
}
.network-signup-submit {
  background: linear-gradient(180deg, #2D2820 0%, #0E0A04 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 10px 28px rgba(30, 22, 10, 0.30),
    0 3px 8px rgba(30, 22, 10, 0.15);
}
.network-signup-submit:hover {
  background: linear-gradient(180deg, #B5944D 0%, #6E5527 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.30) inset,
    0 14px 36px rgba(110, 85, 39, 0.40);
}

/* ============================================================
   CARDS — glass everywhere (selective, performant)
   Apply backdrop-filter only when card is in viewport — the
   browser auto-rasterizes off-screen. Use will-change sparingly.
   ============================================================ */
.group-pillar,
.thought,
.case,
.quote,
.diagnostic-card,
.sebo-pillar {
  background: var(--glass-tint-strong);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  box-shadow:
    var(--glass-shadow-1),
    var(--glass-shadow-2),
    var(--glass-shadow-3);
  position: relative;
  isolation: isolate;
  transition:
    transform 500ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 500ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 300ms;
}

.group-pillar:hover,
.thought:hover,
.quote:hover,
.sebo-pillar:hover {
  transform: translateY(-4px);
  box-shadow:
    var(--glass-shadow-1),
    var(--glass-shadow-2),
    var(--glass-shadow-4),
    var(--glass-shadow-hover);
  border-color: rgba(157, 126, 69, 0.25);
}

/* Top-edge sheen on every glass card */
.group-pillar::before,
.thought::before,
.case::before,
.quote::before,
.diagnostic-card::before,
.sebo-pillar::before {
  content: "";
  position: absolute;
  top: 0; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 255, 255, 1) 50%,
    transparent 100%);
  pointer-events: none;
  z-index: 1;
}

/* Soft inner-bottom glow on feature pillars */
.group-pillar-feature::before {
  background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
  opacity: 0.6;
  height: 2px;
}

/* Cases — glass with image */
.case {
  border-radius: var(--r-lg);
  overflow: hidden;
}

/* ============================================================
   SECTION HEADERS — upscaled
   ============================================================ */
.section { padding-block: clamp(100px, 14vw, 200px); }
.section-title {
  font-size: clamp(40px, 5.5vw, 96px);
  letter-spacing: -0.04em;
  line-height: 0.92;
  font-weight: 400;
}
.section-title em { font-weight: 400; }
.section-eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
}
.section-lede { font-size: clamp(18px, 1.4vw, 22px); }
.positioning-title { font-size: clamp(44px, 6vw, 96px); letter-spacing: -0.04em; }

/* ============================================================
   GROUP PILLARS — upscaled cards
   ============================================================ */
.group-pillar {
  padding: clamp(28px, 3vw, 44px);
  min-height: 500px;
  gap: var(--s-6);
}
.group-pillar-name {
  font-size: clamp(28px, 2.6vw, 40px);
  line-height: 1;
  letter-spacing: -0.03em;
}
.group-pillar-desc {
  font-size: var(--fs-16);
  line-height: 1.55;
}

/* ============================================================
   SERVICES — premium list rows
   ============================================================ */
.service-row {
  padding-block: clamp(20px, 2vw, 32px);
}
.service-name {
  font-size: clamp(22px, 2vw, 32px);
  letter-spacing: -0.025em;
  font-weight: 400;
}
.service-list { border-top-color: rgba(0, 0, 0, 0.08); }
.service-row { border-bottom-color: rgba(0, 0, 0, 0.06); }
.service-row::before {
  background: linear-gradient(90deg,
    rgba(157, 126, 69, 0.12) 0%,
    rgba(157, 126, 69, 0.04) 40%,
    transparent 70%);
}

/* ============================================================
   GROWTH INTELLIGENCE — premium dark with subtle glass
   ============================================================ */
.growth {
  border-radius: 0;
}
.growth .panel {
  background: rgba(28, 28, 36, 0.65) !important;
  backdrop-filter: blur(20px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(140%) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 22px !important;
  padding: clamp(20px, 2.5vw, 32px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 24px 60px rgba(0, 0, 0, 0.4) !important;
}
.growth .panel:hover {
  border-color: rgba(229, 212, 168, 0.25) !important;
}
.growth .kpi {
  background: rgba(20, 20, 26, 0.6) !important;
  backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 14px !important;
}

/* ============================================================
   PROCESS — upscaled visuals
   ============================================================ */
.process-visual {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(252, 246, 232, 0.6) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: var(--r-xl);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow:
    var(--glass-shadow-1),
    var(--glass-shadow-2),
    var(--glass-shadow-4);
}

/* ============================================================
   CASES — premium image cards
   ============================================================ */
.cases-grid { gap: var(--s-5); }
.case {
  border-radius: var(--r-lg);
}
.case .case-vis { border-radius: 0; }
.case-name {
  font-size: clamp(22px, 1.9vw, 30px);
  letter-spacing: -0.025em;
  font-weight: 500;
}

/* ============================================================
   FEATURED CASE STUDY — upscale gallery
   ============================================================ */
.featured-case {
  padding-block: clamp(100px, 14vw, 200px);
}
.featured-case-title {
  font-size: clamp(48px, 7vw, 112px);
  letter-spacing: -0.045em;
  line-height: 0.92;
}
.sebo-gallery {
  gap: var(--s-4);
}
.sg {
  border-radius: var(--r-lg);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 20px 50px rgba(50, 40, 25, 0.12),
    0 6px 14px rgba(50, 40, 25, 0.06);
  transition:
    transform 600ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 600ms cubic-bezier(0.16, 1, 0.3, 1);
}
.sg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, transparent 30%);
  pointer-events: none;
  z-index: 2;
}
.sg:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 40px 100px rgba(50, 40, 25, 0.22),
    0 10px 24px rgba(50, 40, 25, 0.12);
}
.sebo-pillar {
  padding: clamp(28px, 3vw, 44px);
}
.sebo-pillar h3 {
  font-size: clamp(30px, 2.8vw, 44px);
  letter-spacing: -0.03em;
  font-weight: 400;
}
.sebo-pull p {
  font-size: clamp(32px, 4vw, 64px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

/* ============================================================
   TESTIMONIALS — refined glass
   ============================================================ */
.quote {
  padding: clamp(32px, 3.5vw, 52px);
}
.quote-body {
  font-size: clamp(22px, 1.8vw, 30px);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

/* ============================================================
   DIAGNOSTIC — premium glass
   ============================================================ */
.diagnostic-card {
  padding: clamp(32px, 4vw, 56px);
  min-height: 520px;
}
.diag-option {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.65);
}
.diag-option:hover {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(157, 126, 69, 0.30);
  transform: translateX(2px);
}

/* ============================================================
   TEAM — premium portraits
   ============================================================ */
.team-portrait {
  border-radius: var(--r-xl);
  background:
    radial-gradient(circle at 30% 30%, rgba(229, 212, 168, 0.55), transparent 60%),
    radial-gradient(circle at 70% 80%, rgba(180, 160, 120, 0.30), transparent 50%),
    linear-gradient(135deg, #FFF, #F4EFE2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    var(--glass-shadow-1),
    var(--glass-shadow-2),
    var(--glass-shadow-3);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.team-portrait::before {
  content: "";
  position: absolute;
  top: 0; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 1), transparent);
  z-index: 2;
}
.team-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.20) 0%, transparent 30%);
  pointer-events: none;
  z-index: 1;
}
.team-initials {
  font-size: clamp(64px, 7vw, 108px);
  font-weight: 400;
  opacity: 0.55;
  position: relative;
  z-index: 1;
}

/* ============================================================
   FINAL CTA — keep dark, upscaled scale
   ============================================================ */
.final-cta-title {
  font-size: clamp(80px, 14vw, 240px);
  letter-spacing: -0.055em;
  line-height: 0.85;
  font-weight: 400;
}
.final-cta-title em { font-weight: 400; }

/* ============================================================
   FOOTER — premium wordmark
   ============================================================ */
.footer-wordmark {
  font-size: clamp(96px, 22vw, 380px);
  letter-spacing: -0.06em;
  font-weight: 400;
}
.footer-wordmark em { font-weight: 400; }
.footer-manifesto {
  font-size: clamp(26px, 2.2vw, 36px);
  line-height: 1.2;
}

/* ============================================================
   GROWTH INTELLIGENCE eyebrow on dark works as before
   ============================================================ */

/* ============================================================
   Subtle animated sheen across glass cards on hover (rare touch)
   ============================================================ */
@keyframes sheen-sweep {
  0% { transform: translateX(-110%) skewX(-20deg); }
  100% { transform: translateX(220%) skewX(-20deg); }
}
.group-pillar-feature {
  overflow: hidden;
  position: relative;
}
.group-pillar-feature .sheen {
  position: absolute;
  top: -50%;
  left: 0;
  width: 50%;
  height: 200%;
  background: linear-gradient(90deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent);
  transform: translateX(-110%) skewX(-20deg);
  pointer-events: none;
  z-index: 2;
}
.group-pillar-feature:hover .sheen {
  animation: sheen-sweep 1.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Larger container at huge widths for upscaled feel */
:root { --container: 1520px; }

/* Ensure final-cta button gloss */
.final-cta .btn-primary {
  background: linear-gradient(180deg, #FFF 0%, #E5DECC 60%, #C4B58F 100%);
  color: #0A0707;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 14px 36px rgba(0, 0, 0, 0.5),
    0 4px 12px rgba(0, 0, 0, 0.3);
}
.final-cta .btn-primary:hover {
  background: linear-gradient(180deg, #FFF 0%, #B5944D 100%);
  color: #0A0707;
  transform: translateY(-2px);
}

/* ============================================================
   Marquee — refined
   ============================================================ */
.marquee {
  background: rgba(255, 255, 255, 0.40);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-color: rgba(255, 255, 255, 0.75);
  position: relative;
  z-index: 1;
}
.marquee-item {
  font-size: clamp(32px, 3.6vw, 52px);
}
