/* ============================================================
   CAPTUREDBYIP — "THE RECORD LIGHT"
   Matte black · white · hints of Spider-Man red · motion
   Shared across index + pricing. Loaded after design-system.css.
   ============================================================ */

:root {
  /* -------------------- Matte black surfaces -------------------- */
  --ink:        #0a0a0b;   /* base — matte, never pure black */
  --ink-1:      #0d0d0f;
  --ink-2:      #121215;   /* elevated / cards */
  --ink-3:      #1a1a1f;   /* hover surfaces */
  --ink-edge:   #050506;   /* footer / deepest */

  /* -------------------- Hairlines -------------------- */
  --line:        rgba(255, 255, 255, 0.08);
  --line-soft:   rgba(255, 255, 255, 0.05);
  --line-strong: rgba(255, 255, 255, 0.16);

  /* -------------------- Ink / text -------------------- */
  --white:   #ffffff;
  --haze:    #b6b6bd;   /* secondary text, cool gray */
  --haze-2:  #82828b;   /* tertiary */
  --haze-3:  #55555d;   /* faint */

  /* -------------------- Spider-Man red (the accent) -------------------- */
  --red:        #e8222e;
  --red-bright: #ff2d39;
  --red-deep:   #b3131d;
  --red-glow:   rgba(232, 34, 46, 0.55);
  --red-haze:   rgba(232, 34, 46, 0.14);
  --red-faint:  rgba(232, 34, 46, 0.06);

  /* Re-point the shared design-system accent at red */
  --color-accent:        var(--red);
  --color-accent-light:  var(--red-bright);
  --color-accent-dark:   var(--red-deep);
  --color-accent-subtle: var(--red-haze);

  /* -------------------- Motion -------------------- */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:   cubic-bezier(0.34, 1.4, 0.5, 1);
  --nav-h: 76px;
}

html[data-theme="dark"] {
  --color-surface: var(--ink);
  --color-surface-elevated: var(--ink-2);
  --color-surface-secondary: var(--ink-1);
}

/* ============================================================
   BASE
   ============================================================ */

html { scroll-behavior: smooth; }

body {
  background-color: var(--ink);
  color: var(--white);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

/* Film grain — sells the "matte" black */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--red); color: var(--white); }

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

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: #26262b; border-radius: 99px; border: 2px solid var(--ink); }
::-webkit-scrollbar-thumb:hover { background: #34343b; }

/* ============================================================
   SCROLL PROGRESS (thin red line at the very top)
   ============================================================ */

.cbip-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--red-deep), var(--red), var(--red-bright));
  z-index: 10000;
  will-change: transform;
}

/* ============================================================
   CURSOR GLOW (soft red light, follows pointer — desktop only)
   ============================================================ */

.cbip-glow {
  position: fixed;
  top: 0; left: 0;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--red-glow) 0%, transparent 65%);
  filter: blur(40px);
  opacity: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.6s ease;
  mix-blend-mode: screen;
}

/* ============================================================
   GENERIC SECTION SCAFFOLD
   ============================================================ */

.cbip-section { position: relative; padding: clamp(5rem, 12vw, 10rem) 0; }
.cbip-section--tight { padding: clamp(4rem, 8vw, 6rem) 0; }

/* Keep anchored section headings clear of the fixed nav when scrolled to */
section[id], header[id] { scroll-margin-top: calc(var(--nav-h) + 1.25rem); }

.cbip-shell {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}

/* Eyebrow with the pulsing record dot */
.cbip-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--haze);
}

.cbip-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 var(--red-glow);
  animation: cbip-pulse 2.4s ease-out infinite;
  flex-shrink: 0;
}

@keyframes cbip-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(232, 34, 46, 0.6); }
  70%  { box-shadow: 0 0 0 9px rgba(232, 34, 46, 0); }
  100% { box-shadow: 0 0 0 0 rgba(232, 34, 46, 0); }
}

.cbip-section-head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.cbip-section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.cbip-section-head--center .cbip-eyebrow { justify-content: center; }

.cbip-section-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.04;
  color: var(--white);
  margin: 1.25rem 0 0;
}

.cbip-section-sub {
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  color: var(--haze);
  line-height: 1.6;
  margin-top: 1.1rem;
  max-width: 52ch;
}
.cbip-section-head--center .cbip-section-sub { margin-left: auto; margin-right: auto; }

/* ============================================================
   NAV
   ============================================================ */

.cbip-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease, transform 0.45s var(--ease-out-expo);
}

.cbip-nav.is-scrolled {
  background: rgba(10, 10, 11, 0.72);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom-color: var(--line);
}

.cbip-nav.is-hidden { transform: translateY(-100%); }

.cbip-nav-inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cbip-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
}

.cbip-brand-rec {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px var(--red-glow);
  animation: cbip-pulse 2.4s ease-out infinite;
}

.cbip-brand b { font-weight: 700; }
.cbip-brand .mark { color: var(--haze-2); font-weight: 600; }

.cbip-nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  list-style: none;
}

.cbip-nav-link {
  position: relative;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--haze);
  text-decoration: none;
  padding: 0.35rem 0;
  transition: color 0.25s ease;
}
.cbip-nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1.5px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.35s var(--ease-out-expo);
}
.cbip-nav-link:hover { color: var(--white); }
.cbip-nav-link:hover::after,
.cbip-nav-link.active::after { transform: scaleX(1); }
.cbip-nav-link.active { color: var(--white); }

.cbip-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.62rem 1.2rem;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  background: var(--white);
  border-radius: 99px;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease, background 0.3s ease;
}
.cbip-nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px var(--red-glow);
}

/* Mobile toggle */
.cbip-burger {
  display: none;
  width: 44px; height: 44px;
  background: none; border: none; cursor: pointer;
  position: relative;
  margin-right: -10px;
}
.cbip-burger span,
.cbip-burger span::before,
.cbip-burger span::after {
  content: "";
  position: absolute;
  left: 11px;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.35s var(--ease-out-expo), opacity 0.2s ease;
}
.cbip-burger span { top: 21px; }
.cbip-burger span::before { top: -7px; }
.cbip-burger span::after  { top: 7px; }
.cbip-burger.is-open span { background: transparent; }
.cbip-burger.is-open span::before { transform: translateY(7px) rotate(45deg); }
.cbip-burger.is-open span::after  { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 820px) {
  .cbip-burger { display: block; }
  .cbip-nav-links {
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(8, 8, 9, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s;
  }
  .cbip-nav-links.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .cbip-nav-link { font-size: 1.5rem; font-weight: 600; color: var(--white); padding: 0.6rem 0; }
  .cbip-nav-link::after { display: none; }
  .cbip-nav-cta { margin-top: 1rem; font-size: 1rem; padding: 0.85rem 1.8rem; }
  .cbip-nav-links li { text-align: center; }
}

/* ============================================================
   BUTTONS
   ============================================================ */

.cbip-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 1.7rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 99px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease,
              background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}
.cbip-btn svg { width: 18px; height: 18px; }

.cbip-btn--primary { background: var(--white); color: var(--ink); }
.cbip-btn--primary:hover { transform: translateY(-3px); box-shadow: 0 12px 34px var(--red-glow); }

.cbip-btn--red { background: var(--red); color: var(--white); }
.cbip-btn--red:hover { background: var(--red-bright); transform: translateY(-3px); box-shadow: 0 12px 34px var(--red-glow); }

.cbip-btn--ghost { background: transparent; color: var(--white); border-color: var(--line-strong); }
.cbip-btn--ghost:hover { border-color: var(--red); color: var(--white); transform: translateY(-3px); box-shadow: 0 0 0 1px var(--red), 0 12px 30px rgba(0,0,0,0.4); }

.cbip-btn--block { width: 100%; }

/* ============================================================
   HERO
   ============================================================ */

.cbip-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 4rem) 0 6rem;
  overflow: hidden;
}

/* faint red bloom behind the headline */
.cbip-hero::before {
  content: "";
  position: absolute;
  top: -10%; left: 50%;
  width: min(900px, 90vw); height: 700px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, var(--red-faint) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.cbip-hero-inner { position: relative; z-index: 2; width: 100%; }

.cbip-hero-title {
  font-size: clamp(2.8rem, 9vw, 7.5rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.95;
  color: var(--white);
  margin: 1.6rem 0 0;
  max-width: 16ch;
}
.cbip-hero-title .accent { color: var(--red); }

/* line-by-line reveal */
.cbip-line { display: block; overflow: hidden; }
.cbip-line > span {
  display: block;
  transform: translateY(110%);
  animation: cbip-rise 0.9s var(--ease-out-expo) forwards;
}
.cbip-line:nth-child(1) > span { animation-delay: 0.15s; }
.cbip-line:nth-child(2) > span { animation-delay: 0.28s; }
.cbip-line:nth-child(3) > span { animation-delay: 0.41s; }

@keyframes cbip-rise { to { transform: translateY(0); } }

.cbip-hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--haze);
  line-height: 1.6;
  max-width: 48ch;
  margin: 2rem 0 0;
  opacity: 0;
  animation: cbip-fade 0.9s ease forwards 0.6s;
}

.cbip-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
  opacity: 0;
  animation: cbip-fade 0.9s ease forwards 0.75s;
}

@keyframes cbip-fade { to { opacity: 1; } }

.cbip-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: clamp(3rem, 7vw, 5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  opacity: 0;
  animation: cbip-fade 0.9s ease forwards 0.9s;
}
.cbip-hero-stat .n {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
}
.cbip-hero-stat .l {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--haze-2);
}

/* Scroll cue */
.cbip-scroll {
  position: absolute;
  bottom: 1.8rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: var(--haze-2);
  font-size: 0.66rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0;
  animation: cbip-fade 1s ease forwards 1.1s;
}
.cbip-scroll-rail {
  width: 1px; height: 46px;
  background: var(--line-strong);
  position: relative;
  overflow: hidden;
}
.cbip-scroll-rail::after {
  content: "";
  position: absolute;
  top: -50%; left: 0;
  width: 100%; height: 50%;
  background: var(--red);
  animation: cbip-rail 2s ease-in-out infinite;
}
@keyframes cbip-rail {
  0%   { top: -50%; }
  100% { top: 100%; }
}

@media (max-width: 600px) {
  .cbip-scroll { display: none; }
  .cbip-hero-title { max-width: none; }
}

/* ============================================================
   MARQUEE
   ============================================================ */

.cbip-marquee {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink-1);
  padding: 1.4rem 0;
  white-space: nowrap;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.cbip-marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  animation: cbip-marquee 28s linear infinite;
  will-change: transform;
}
.cbip-marquee:hover .cbip-marquee-track { animation-play-state: paused; }
.cbip-marquee-item {
  font-size: clamp(1.1rem, 2.2vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--haze-2);
  text-transform: uppercase;
}
.cbip-marquee-item.is-red { color: var(--white); }
.cbip-marquee-sep { color: var(--red); font-size: 1.1rem; }
@keyframes cbip-marquee { to { transform: translateX(-50%); } }

/* ============================================================
   SERVICES
   ============================================================ */

.cbip-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.cbip-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 340px;
  padding: 2rem;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.5s var(--ease-out-expo), border-color 0.4s ease, background 0.4s ease;
}
.cbip-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), var(--red-haze), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.cbip-card:hover {
  transform: translateY(-8px);
  border-color: var(--line-strong);
  background: var(--ink-3);
}
.cbip-card:hover::before { opacity: 1; }

.cbip-card-num {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--red-bright);
}
.cbip-card-icon {
  margin: 1.5rem 0 auto;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
  transition: border-color 0.4s ease, transform 0.5s var(--ease-spring);
}
.cbip-card:hover .cbip-card-icon { border-color: var(--red); transform: translateY(-3px); }
.cbip-card-icon svg { width: 24px; height: 24px; color: var(--white); }

.cbip-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 1.5rem 0 0.6rem;
}
.cbip-card-desc { font-size: 0.95rem; color: var(--haze); line-height: 1.6; }

.cbip-card-foot {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--haze-2);
  transition: color 0.3s ease;
}
.cbip-card-foot svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease-out-expo); }
.cbip-card:hover .cbip-card-foot { color: var(--white); }
.cbip-card:hover .cbip-card-foot svg { transform: translateX(4px); color: var(--red); }

@media (max-width: 900px) { .cbip-services-grid { grid-template-columns: 1fr; } .cbip-card { min-height: 260px; } }

/* ============================================================
   WORK (video gallery)
   ============================================================ */

.cbip-work-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.cbip-work-item {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  background: var(--ink-2);
  border: 1px solid var(--line);
  transition: transform 0.5s var(--ease-out-expo), border-color 0.4s ease, box-shadow 0.4s ease;
}
.cbip-work-item:hover {
  transform: translateY(-8px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 50px rgba(0,0,0,0.5);
}
.cbip-work-item iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.cbip-work-tag {
  position: absolute;
  top: 0.8rem; left: 0.8rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.32rem 0.7rem;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(8,8,9,0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 99px;
  pointer-events: none;
}
.cbip-work-tag::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--red);
}
@media (max-width: 1024px) { .cbip-work-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px)  { .cbip-work-grid { grid-template-columns: repeat(2, 1fr); gap: 0.7rem; } }

/* ============================================================
   APPROACH / PRINCIPLES
   ============================================================ */

.cbip-approach { background: var(--ink-1); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cbip-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.cbip-principle {
  background: var(--ink);
  padding: clamp(1.75rem, 3vw, 2.75rem);
}
.cbip-principle .k {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red-bright);
}
.cbip-principle h3 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 1.1rem 0 0.6rem;
}
.cbip-principle p { font-size: 0.95rem; color: var(--haze); line-height: 1.6; }
@media (max-width: 820px) { .cbip-principles { grid-template-columns: 1fr; } }

/* ============================================================
   BIG CTA
   ============================================================ */

.cbip-cta { position: relative; text-align: center; overflow: hidden; }
.cbip-cta::before {
  content: "";
  position: absolute;
  bottom: -40%; left: 50%;
  width: min(900px, 95vw); height: 700px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, var(--red-haze) 0%, transparent 62%);
  pointer-events: none;
}
.cbip-cta-inner { position: relative; max-width: 760px; margin: 0 auto; }
.cbip-cta-title {
  font-size: clamp(2.4rem, 7vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--white);
  margin: 1.5rem 0 0;
}
.cbip-cta-title .accent { color: var(--red); }
.cbip-cta-sub { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--haze); line-height: 1.6; margin: 1.5rem auto 0; max-width: 46ch; }
.cbip-cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2.5rem; }

/* ============================================================
   FOOTER
   ============================================================ */

.cbip-footer { background: var(--ink-edge); border-top: 1px solid var(--line); padding: clamp(3rem, 6vw, 5rem) 0 2.5rem; }
.cbip-footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}
.cbip-footer-brand { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; color: var(--white); text-decoration: none; }
.cbip-footer-brand .mark { color: var(--haze-2); }
.cbip-footer-tag { margin-top: 1rem; color: var(--haze); font-size: 0.95rem; max-width: 34ch; line-height: 1.6; }
.cbip-footer-cols { display: flex; flex-wrap: wrap; gap: clamp(2.5rem, 6vw, 5rem); }
.cbip-footer-col h4 { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--haze-2); margin-bottom: 1.1rem; }
.cbip-footer-col a { display: block; color: var(--haze); text-decoration: none; font-size: 0.92rem; margin-bottom: 0.7rem; transition: color 0.25s ease, padding-left 0.25s ease; }
.cbip-footer-col a:hover { color: var(--white); padding-left: 4px; }
.cbip-footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2rem; }
.cbip-footer-copy { font-size: 0.78rem; color: var(--haze-2); }
.cbip-footer-back { font-size: 0.78rem; color: var(--haze-2); text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem; white-space: nowrap; transition: color 0.25s ease; }
.cbip-footer-back:hover { color: var(--red); }

/* ============================================================
   PRICING PAGE
   ============================================================ */

.cbip-price-hero {
  position: relative;
  text-align: center;
  padding: calc(var(--nav-h) + clamp(4rem, 9vw, 7rem)) 0 clamp(3rem, 6vw, 4.5rem);
  overflow: hidden;
}
.cbip-price-hero::before {
  content: "";
  position: absolute;
  top: -20%; left: 50%;
  width: min(800px, 90vw); height: 600px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, var(--red-faint) 0%, transparent 60%);
  pointer-events: none;
}
.cbip-price-hero-inner { position: relative; max-width: 760px; margin: 0 auto; }
.cbip-price-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: var(--white);
  margin: 1.3rem 0 0;
}
.cbip-price-hero p { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--haze); line-height: 1.6; margin: 1.4rem auto 0; max-width: 50ch; }

.cbip-price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }

.cbip-price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  overflow: hidden;
  transition: transform 0.5s var(--ease-out-expo), border-color 0.4s ease, box-shadow 0.4s ease;
}
.cbip-price-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 0%), var(--red-haze), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.cbip-price-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 26px 50px rgba(0,0,0,0.45);
}
.cbip-price-card:hover::before { opacity: 1; }
.cbip-price-card > * { position: relative; z-index: 1; }

.cbip-price-featured { border-color: var(--red-deep); }
.cbip-price-featured::after {
  content: "Start here";
  position: absolute;
  top: 1.4rem; right: 1.4rem;
  z-index: 2;
  padding: 0.3rem 0.7rem;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--red-deep);
  border-radius: 99px;
}

.cbip-price-head { padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.cbip-price-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  margin-bottom: 1.3rem;
}
.cbip-price-icon svg { width: 23px; height: 23px; color: var(--red); }
.cbip-price-name { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; color: var(--white); margin-bottom: 0.7rem; }
.cbip-price-amount { display: flex; align-items: baseline; gap: 0.5rem; }
.cbip-price-amount .from { font-size: 0.8rem; color: var(--haze-2); text-transform: uppercase; letter-spacing: 0.1em; }
.cbip-price-amount .val { font-size: 2.4rem; font-weight: 700; letter-spacing: -0.02em; color: var(--white); }

.cbip-price-kicker { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--haze-2); margin-bottom: 1rem; }
.cbip-price-list { list-style: none; margin: 0 0 1.5rem; }
.cbip-price-list li { display: flex; align-items: flex-start; gap: 0.7rem; font-size: 0.93rem; color: var(--haze); line-height: 1.55; margin-bottom: 0.7rem; }
.cbip-price-list li svg { flex-shrink: 0; width: 16px; height: 16px; color: var(--red); margin-top: 3px; }

.cbip-price-addons { background: rgba(255,255,255,0.02); border: 1px solid var(--line-soft); border-radius: 14px; padding: 1.1rem 1.2rem; margin-bottom: 1.5rem; }
.cbip-price-addon { display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; color: var(--haze); padding: 0.55rem 0; }
.cbip-price-addon:not(:last-child) { border-bottom: 1px solid var(--line-soft); }
.cbip-price-addon b { color: var(--white); font-weight: 600; }

.cbip-price-note { font-size: 0.82rem; color: var(--haze-2); line-height: 1.55; margin-bottom: 1.5rem; }
.cbip-price-foot { margin-top: auto; }

@media (max-width: 860px) { .cbip-price-grid { grid-template-columns: 1fr; } }

/* Included strip */
.cbip-included { background: var(--ink-1); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cbip-included-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.cbip-included-item { background: var(--ink); padding: 1.75rem 1.25rem; text-align: center; transition: background 0.3s ease; }
.cbip-included-item:hover { background: var(--ink-2); }
.cbip-included-item .ic { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; margin: 0 auto 0.9rem; border: 1px solid var(--line); border-radius: 11px; }
.cbip-included-item .ic svg { width: 20px; height: 20px; color: var(--red); }
.cbip-included-item span { font-size: 0.86rem; color: var(--haze); font-weight: 500; }
@media (max-width: 900px) { .cbip-included-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px) { .cbip-included-grid { grid-template-columns: repeat(2, 1fr); } }

/* Add-on tags */
.cbip-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem; max-width: 680px; margin: 0 auto; }
.cbip-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  font-size: 0.9rem; color: var(--haze);
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 99px;
  transition: color 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease-spring);
}
.cbip-tag::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--red); }
.cbip-tag:hover { color: var(--white); border-color: var(--red); transform: translateY(-2px); }

/* Booking steps */
.cbip-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.cbip-step { position: relative; padding: 2rem; background: var(--ink-2); border: 1px solid var(--line); border-radius: 18px; transition: border-color 0.4s ease, transform 0.5s var(--ease-out-expo); }
.cbip-step:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.cbip-step .no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px;
  font-size: 1.1rem; font-weight: 700;
  color: var(--red-bright);
  border: 1px solid var(--red-deep);
  border-radius: 50%;
  margin-bottom: 1.3rem;
}
.cbip-step h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; color: var(--white); margin-bottom: 0.5rem; }
.cbip-step p { font-size: 0.93rem; color: var(--haze); line-height: 1.6; }
@media (max-width: 820px) { .cbip-steps { grid-template-columns: 1fr; } }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
  transition-delay: calc(var(--d, 0) * 90ms);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  body::after { display: none; }
  .cbip-glow, .cbip-progress, .cbip-scroll-rail::after { display: none; }
  .cbip-line > span { transform: none; }
  .cbip-hero-sub, .cbip-hero-actions, .cbip-hero-meta, .cbip-scroll { opacity: 1; }
  [data-reveal] { opacity: 1; transform: none; }
  .cbip-marquee-track { animation: none; }
}
