/* =============================================================
   VIRTUNIZE · Home page — dark premium theme
   Scoped under  body.home  so it NEVER affects other pages.
   Reuses the shared navy + maroon tokens from styles.css.
   ============================================================= */

body.home {
  --bg:        #05070f;        /* near-black navy base            */
  --bg-2:      #080b16;        /* slightly lifted panels         */
  --bg-3:      #0c1020;        /* cards                          */
  --hair:      rgba(255,255,255,0.08);
  --hair-2:    rgba(255,255,255,0.14);
  --txt:       #eef2fb;
  --txt-soft:  rgba(255,255,255,0.62);
  --txt-mute:  rgba(255,255,255,0.42);
  --glow-blue: rgba(37,99,235,0.45);
  --glow-mar:  rgba(193,72,90,0.40);

  background: var(--bg);
  color: var(--txt);
}

/* =============================================================
   NAV + FOOTER — dark variant, HOME ONLY
   ============================================================= */
body.home .nav {
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}
body.home .nav.scrolled {
  background: rgba(5,7,15,0.82);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--hair);
}
body.home .logo-text { color: #fff; }
body.home .logo-mark::after { border-color: var(--bg); }
body.home .nav-menu { color: var(--txt-soft); }
body.home .nav-menu a:hover,
body.home .nav-menu a.active { color: #fff; }
body.home .nav-toggle { border-color: var(--hair-2); }
body.home .nav-toggle span { background: #fff; }
body.home .mobile-menu { background: #070a14; border-bottom-color: var(--hair); }
body.home .mobile-menu a { color: var(--txt-soft); border-bottom-color: var(--hair); }
body.home .mobile-menu a.active { color: var(--maroon-light); }

/* Social rail + cursor glyph styles now live in theme-dark.css (site-wide). */

/* =============================================================
   HERO
   ============================================================= */
body.home .hero {
  background: var(--bg);
  padding: 0;
  position: relative; overflow: hidden;
  min-height: clamp(660px, 94vh, 920px);
}
body.home .hero::before {
  width: 760px; height: 760px; top: -22%; right: -12%;
  background: radial-gradient(circle, var(--glow-mar) 0%, transparent 62%);
  transform: translate(var(--px, 0), var(--py, 0));
  transition: transform .3s ease-out;
}
body.home .hero::after {
  width: 680px; height: 680px; bottom: -36%; left: -12%;
  background: radial-gradient(circle, var(--glow-blue) 0%, transparent 62%);
  transform: translate(calc(var(--px, 0) * -1), calc(var(--py, 0) * -1));
  transition: transform .3s ease-out;
}
body.home .hero-grid-bg { opacity: .9; }

body.home .hero-badge {
  background: rgba(193,72,90,0.14);
  border-color: rgba(193,72,90,0.4);
  color: #f6c9d1;
}
body.home .hero h1 { color: #fff; letter-spacing: -0.04em; }
body.home .hero h1 .highlight { color: var(--maroon-light); }
body.home .hero h1 .light { color: rgba(255,255,255,0.82); }
body.home .hero p.lead { color: var(--txt-soft); }
body.home .hero p.lead strong { color: #fff; }
body.home .hero-trust { border-top-color: var(--hair); }

/* glassy live-metrics panel */
body.home .metric-card {
  background: linear-gradient(160deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
  border: 1px solid var(--hair-2);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.8);
}
body.home .metric { background: rgba(255,255,255,0.03); border-color: var(--hair); }
body.home .metric:hover { background: rgba(255,255,255,0.06); }
body.home .metric-value { color: #fff; }

/* ---- Hero slider mechanics --------------------------------- */
body.home .hero-slides { position: absolute; inset: 0; z-index: 1; }
body.home .hero-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  padding: 120px 0 96px;
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1), visibility .7s;
}
body.home .hero-slide.is-active { opacity: 1; visibility: visible; transform: none; }
body.home .hero-copy { min-width: 0; }
body.home .hero-visual { min-width: 0; }

/* slider controls */
body.home .hero-controls {
  position: absolute; left: 50%; transform: translateX(-50%);
  bottom: 30px; z-index: 4;
  display: flex; align-items: center; gap: 18px;
  width: 100%; justify-content: flex-end;
}
.hero-arrow {
  width: 46px; height: 46px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 14px;
  border: 1px solid var(--hair-2); background: rgba(12,16,32,0.7);
  backdrop-filter: blur(8px); cursor: pointer;
  transition: transform .2s, background .2s, border-color .2s;
}
.hero-arrow:hover { background: var(--maroon); border-color: var(--maroon-light); transform: translateY(-2px); }
.hero-dots, .cf-dots, .testi-dots { display: flex; gap: 9px; align-items: center; }
.hero-dots button, .cf-dots button, .testi-dots button {
  width: 9px; height: 9px; border-radius: 50%; padding: 0;
  background: rgba(255,255,255,0.28); border: none; cursor: pointer;
  transition: width .25s, background .25s;
}
.hero-dots button.is-active, .cf-dots button.is-active, .testi-dots button.is-active {
  width: 26px; border-radius: 5px; background: var(--maroon-light);
}

/* ---- Glass panels (hero slides 2 & 3) --------------------- */
.glass-panel {
  background: linear-gradient(160deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid var(--hair-2); border-radius: var(--radius-lg);
  padding: 26px; backdrop-filter: blur(20px);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.8);
}
.glass-panel-head {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--txt-soft); margin-bottom: 20px;
}
.gp-pill { background: rgba(193,72,90,0.2); color: #f6c9d1; padding: 5px 11px; border-radius: 999px; font-size: 10px; }
.gp-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.gp-chip {
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  padding: 9px 14px; border-radius: 10px; color: #fff;
  background: rgba(37,99,235,0.16); border: 1px solid rgba(37,99,235,0.3);
}
.gp-chip.alt { background: rgba(193,72,90,0.16); border-color: rgba(193,72,90,0.34); }
.gp-stat { padding-top: 18px; border-top: 1px solid var(--hair); }
.gp-stat-num { font-family: var(--font-display); font-size: 46px; font-weight: 800; letter-spacing: -0.03em; color: #fff; line-height: 1; }
.gp-stat-num sup { font-size: 18px; color: var(--maroon-light); }
.gp-stat-label { font-size: 13px; color: var(--txt-soft); margin-top: 8px; }

.offer-panel .offer-price {
  font-family: var(--font-display); font-size: 54px; font-weight: 800;
  letter-spacing: -0.04em; color: #fff; line-height: 1; margin: 6px 0 22px;
}
.offer-panel .offer-price span { display: block; font-size: 13px; font-weight: 500; color: var(--txt-soft); font-family: var(--font-body); letter-spacing: 0; margin-top: 8px; }
.offer-list { list-style: none; display: grid; gap: 12px; }
.offer-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255,255,255,0.9); }
.offer-list li i { color: var(--success); font-size: 12px; }
.offer-fine { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--hair); font-size: 11px; line-height: 1.5; color: var(--txt-mute); }

/* =============================================================
   MARQUEE — services keywords scrolling under the hero
   ============================================================= */
.marquee {
  position: relative; overflow: hidden;
  border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair);
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  padding: 22px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: inline-flex; align-items: center; gap: 0; white-space: nowrap;
  will-change: transform; animation: marquee 32s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(20px, 2.4vw, 30px); letter-spacing: -0.01em;
  color: #fff; padding: 0 26px; text-transform: uppercase;
}
.marquee-item.alt { color: var(--maroon-light); }
.marquee-sep { color: var(--blue-light); font-size: 13px; opacity: .8; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =============================================================
   SERVICE CARDS — gradient "choose your service" grid
   ============================================================= */
body.home .section { background: var(--bg); }
body.home .section.alt { background: var(--bg-2); }
body.home .section-head h2 { color: #fff; }
body.home .section-head h2 .highlight { color: var(--maroon-light); }
body.home .section-head h2 .light { color: var(--txt-soft); }
body.home .section-head .sub { color: var(--txt-soft); }
body.home .eyebrow { background: rgba(193,72,90,0.14); color: #f6c9d1; }
body.home .eyebrow.blue { background: rgba(37,99,235,0.16); color: #bcd2ff; }

.disc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.disc-card {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  border: 1px solid var(--hair); background: var(--bg-3);
  text-decoration: none; color: inherit; display: flex; flex-direction: column;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .35s, box-shadow .35s;
}
.disc-card:hover {
  transform: translateY(-8px);
  border-color: var(--hair-2);
  box-shadow: 0 32px 70px -28px rgba(0,0,0,0.85);
}
.disc-top {
  position: relative; height: 168px; padding: 18px; overflow: hidden;
  display: flex; align-items: flex-start; justify-content: space-between;
}
.disc-top::before { /* subtle dot grid texture */
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.18) 1px, transparent 1.4px);
  background-size: 15px 15px; opacity: 0.55; pointer-events: none; z-index: 0;
}
.disc-top::after { /* glossy highlight */
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(120% 90% at 80% 0%, rgba(255,255,255,0.22), transparent 55%);
}
.disc-art { /* large faint service-icon watermark */
  position: absolute; right: -10px; bottom: -24px; z-index: 0;
  font-size: 118px; color: #fff; opacity: 0.14;
  transform: rotate(-10deg); pointer-events: none;
}
.disc-card:nth-child(6n+1) .disc-top { background: linear-gradient(135deg, #2563eb, #1e3a8a); }
.disc-card:nth-child(6n+2) .disc-top { background: linear-gradient(135deg, #c1485a, #7a1d2e); }
.disc-card:nth-child(6n+3) .disc-top { background: linear-gradient(135deg, #1e3a8a, #7a1d2e); }
.disc-card:nth-child(6n+4) .disc-top { background: linear-gradient(135deg, #3b82f6, #112a5c); }
.disc-card:nth-child(6n+5) .disc-top { background: linear-gradient(135deg, #9a2839, #4a0f1b); }
.disc-card:nth-child(6n+6) .disc-top { background: linear-gradient(135deg, #2563eb, #7a1d2e); }
.disc-icon {
  position: relative; z-index: 1;
  width: 50px; height: 50px; border-radius: 14px;
  background: rgba(255,255,255,0.95); color: #0f172a;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
.disc-badge {
  position: relative; z-index: 1;
  background: rgba(255,255,255,0.92); color: #0f172a;
  font-family: var(--font-mono); font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 11px; border-radius: 999px;
}
.disc-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.disc-body h3 {
  font-family: var(--font-display); font-size: 21px; font-weight: 800;
  letter-spacing: -0.02em; color: #fff; margin-bottom: 9px;
}
.disc-body p { font-size: 14px; color: var(--txt-soft); line-height: 1.6; margin-bottom: 18px; flex: 1; }
.disc-foot { display: flex; align-items: center; justify-content: space-between; }
.disc-price { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 16px; }
.disc-price span { font-size: 11px; color: var(--txt-mute); font-family: var(--font-mono); display: block; margin-top: 2px; }
.disc-link { color: var(--maroon-light); font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; transition: gap .2s; }
.disc-card:hover .disc-link { gap: 11px; }

/* "Choose your service" decorative background */
.choose-section { position: relative; overflow: hidden; }
.choose-section::before {
  content: ''; position: absolute; top: -20%; right: -8%; width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(193,72,90,0.30), transparent 64%); pointer-events: none;
}
.choose-section::after {
  content: ''; position: absolute; bottom: -24%; left: -10%; width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(37,99,235,0.27), transparent 64%); pointer-events: none;
}
.choose-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.choose-bg i {
  position: absolute; color: #fff; opacity: 0.075;
  filter: drop-shadow(0 0 30px rgba(37,99,235,0.4));
}
.choose-bg i:nth-child(1) { top: 7%;  left: 4%;   font-size: 92px; transform: rotate(-12deg); }
.choose-bg i:nth-child(2) { top: 18%; right: 7%;  font-size: 70px; color: var(--maroon-light); opacity: 0.12; }
.choose-bg i:nth-child(3) { top: 46%; left: 2%;   font-size: 64px; }
.choose-bg i:nth-child(4) { bottom: 10%; left: 12%; font-size: 80px; transform: rotate(9deg); }
.choose-bg i:nth-child(5) { bottom: 14%; right: 6%; font-size: 88px; color: var(--maroon-light); opacity: 0.11; }
.choose-bg i:nth-child(6) { top: 52%; right: 3%;  font-size: 66px; transform: rotate(-8deg); }
.choose-bg i:nth-child(7) { top: 4%;  left: 46%;  font-size: 54px; opacity: 0.06; }
.choose-bg i:nth-child(8) { bottom: 6%; left: 48%; font-size: 58px; opacity: 0.06; }
.choose-art { position: absolute; color: #fff; pointer-events: none; }
.art-browser { top: 9%; left: 2.5%; width: 230px; opacity: 0.12; color: var(--blue-light); transform: rotate(-7deg); }
.art-phone { bottom: 7%; right: 4.5%; width: 104px; opacity: 0.13; color: var(--maroon-light); transform: rotate(8deg); }
.art-code { top: 32%; right: 3.5%; width: 190px; opacity: 0.09; transform: rotate(6deg); }
@media (max-width: 960px) { .choose-art { display: none; } }
.choose-section > .container { position: relative; z-index: 1; }

/* =============================================================
   WHY-VIRTUNIZE feature cards (dark)
   ============================================================= */
body.home .service {
  background: var(--bg-3); border-color: var(--hair); color: var(--txt);
}
body.home .service:hover { border-color: var(--maroon-light); box-shadow: 0 28px 60px -28px rgba(0,0,0,0.85); }
body.home .service h3 { color: #fff; }
body.home .service p { color: var(--txt-soft); }
body.home .service-icon { background: rgba(37,99,235,0.16); color: #bcd2ff; }
body.home .service:nth-child(2) .service-icon,
body.home .service:nth-child(4) .service-icon,
body.home .service:nth-child(6) .service-icon { background: rgba(193,72,90,0.18); color: #f6c9d1; }

/* "Why Virtunize" — one section background + per-tile backgrounds */
.why-section { position: relative; overflow: hidden; }
.why-section::before {
  content: ''; position: absolute; top: -18%; left: -8%; width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(193,72,90,0.26), transparent 64%); pointer-events: none;
}
.why-section::after {
  content: ''; position: absolute; bottom: -22%; right: -8%; width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(37,99,235,0.24), transparent 64%); pointer-events: none;
}
.why-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.why-bg i { position: absolute; color: #fff; opacity: 0.08; }
.why-bg i:nth-child(1) { top: 9%;  right: 6%;  font-size: 78px; color: var(--maroon-light); opacity: 0.12; transform: rotate(8deg); }
.why-bg i:nth-child(2) { top: 42%; left: 3%;   font-size: 66px; }
.why-bg i:nth-child(3) { bottom: 11%; right: 11%; font-size: 84px; opacity: 0.085; transform: rotate(-8deg); }
.why-bg i:nth-child(4) { top: 7%;  left: 8%;   font-size: 60px; color: var(--blue-light); opacity: 0.10; }
.why-bg i:nth-child(5) { bottom: 8%; left: 14%; font-size: 54px; opacity: 0.07; }
.why-bg i:nth-child(6) { top: 50%; right: 3%;  font-size: 70px; opacity: 0.08; transform: rotate(6deg); }
.why-section > .container { position: relative; z-index: 1; }

/* per-tile background: dot texture + faint watermark icon */
body.home .why-section .service {
  isolation: isolate;
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1.4px);
  background-size: 18px 18px;
}
.why-section .service-art {
  position: absolute; right: -10px; bottom: -16px; z-index: 0;
  font-size: 100px; color: #fff; opacity: 0.08; transform: rotate(-10deg); pointer-events: none;
}
.why-section .service > h3,
.why-section .service > p,
.why-section .service > .service-icon { position: relative; z-index: 1; }

/* =============================================================
   TESTIMONIALS (dark)
   ============================================================= */
body.home .testi-section { background: var(--bg-2); }
body.home .testi { background: var(--bg-3); border-color: var(--hair); }
body.home .testi:hover { border-color: var(--maroon-light); }
/* Consistent text for every testimonial (override styles.css :first-child rule) */
body.home .testi-text,
body.home .testi:first-child .testi-text {
  color: var(--txt); font-size: 16px; font-weight: 400; line-height: 1.65;
}
body.home .testi-foot { border-top-color: var(--hair); }
body.home .testi-name { color: #fff; }
body.home .testi-role { color: var(--txt-mute); }
body.home .testi::before { color: var(--maroon-light); opacity: .2; }
.testi-stars-empty { color: rgba(255,255,255,0.18); }

/* Testimonials — section background + per-tile texture */
.testi-section { position: relative; overflow: hidden; }
.testi-section::before {
  content: ''; position: absolute; top: -20%; right: -8%; width: 540px; height: 540px;
  background: radial-gradient(circle, rgba(193,72,90,0.26), transparent 64%); pointer-events: none;
}
.testi-section::after {
  content: ''; position: absolute; bottom: -22%; left: -8%; width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(37,99,235,0.24), transparent 64%); pointer-events: none;
}
.testi-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.testi-bg i { position: absolute; color: #fff; opacity: 0.08; }
.testi-bg i:nth-child(1) { top: 10%; left: 4%;  font-size: 92px; color: var(--maroon-light); opacity: 0.12; transform: rotate(-8deg); }
.testi-bg i:nth-child(2) { top: 16%; right: 8%; font-size: 54px; opacity: 0.09; }
.testi-bg i:nth-child(3) { top: 50%; left: 2%;  font-size: 68px; opacity: 0.08; transform: rotate(8deg); }
.testi-bg i:nth-child(4) { bottom: 12%; right: 6%; font-size: 78px; color: var(--maroon-light); opacity: 0.11; }
.testi-bg i:nth-child(5) { bottom: 9%; left: 12%; font-size: 58px; opacity: 0.07; }
.testi-bg i:nth-child(6) { top: 60%; right: 4%;  font-size: 50px; opacity: 0.08; }
.testi-section > .container { position: relative; z-index: 1; }
/* per-tile dot texture (the quote-mark watermark is already on .testi::before) */
body.home .testi-section .testi {
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1.4px);
  background-size: 18px 18px;
}

/* =============================================================
   INTRO SECTION — "Not an agency. A partner."
   ============================================================= */
.intro-section { background: var(--bg); overflow-x: clip; } /* contain the data-reveal="left/right" slide-in transforms so they can't widen the page */
.intro-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.intro-visual { position: relative; height: 460px; }
/* Placeholder images — swap the url() (or replace the .svg files) with real photos later */
.intro-panel { position: absolute; border-radius: var(--radius-xl); border: 1px solid var(--hair); box-shadow: 0 40px 90px -40px rgba(0,0,0,0.9); background-size: cover; background-position: center; }
.intro-panel-a {
  top: 0; left: 0; width: 70%; height: 78%;
  background-image: linear-gradient(160deg, rgba(11,30,63,0.20), rgba(5,13,31,0.55)),
                    url('img/intro-team.jpg');
}
.intro-panel-b {
  bottom: 0; right: 0; width: 62%; height: 64%;
  background-image: linear-gradient(160deg, rgba(122,29,46,0.22), rgba(5,13,31,0.55)),
                    url('img/intro-computers.jpg');
}
.intro-orb {
  position: absolute; top: 6%; left: 50%; width: 64px; height: 64px;
  background: radial-gradient(circle at 35% 30%, #ff5c73, #7a1d2e);
  border-radius: 50%; box-shadow: 0 0 40px rgba(193,72,90,0.7);
  animation: intro-float 6s ease-in-out infinite;
}
@keyframes intro-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
.intro-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(40px, 5.2vw, 68px); line-height: 0.98; letter-spacing: -0.04em;
  color: #fff; margin: 18px 0 22px; text-transform: uppercase;
}
.intro-title .highlight { color: var(--maroon-light); }
.intro-copy p { font-size: 17px; color: var(--txt-soft); line-height: 1.7; margin-bottom: 18px; max-width: 520px; }
.intro-copy .btn { margin-top: 10px; }

/* =============================================================
   COVERFLOW — "Our Work" 3D card fan
   ============================================================= */
.work-section { background: var(--bg-2); overflow: hidden; } /* clips the coverflow's overflowing 3D side-cards on mobile (matches services' deco-section) */
/* Reusable decorative section / tile backgrounds now live in theme-dark.css (site-wide). */

.coverflow { position: relative; }
.coverflow-stage { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.coverflow.is-ready .coverflow-stage {
  display: block; position: relative;
  height: 500px; perspective: 1700px;
}
.cf-card {
  width: 340px; max-width: 86vw; border-radius: var(--radius-xl);
  text-decoration: none; color: inherit;
  background: linear-gradient(160deg, #131a2e, #0b0e1a);
  border: 1px solid var(--hair); overflow: hidden;
}
.coverflow.is-ready .cf-card {
  position: absolute; top: 30px; left: 50%; height: 430px;
  margin-left: -170px; cursor: pointer;
  transition: transform .55s cubic-bezier(.2,.7,.2,1), opacity .55s, box-shadow .55s;
  transform-origin: center center; will-change: transform;
}
.cf-link { cursor: pointer; }
.cf-link:hover { color: #fff; }
.cf-card-inner { padding: 30px 30px 36px; height: 100%; display: flex; flex-direction: column; position: relative; }
.cf-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(120% 70% at 80% 0%, rgba(193,72,90,0.22), transparent 55%);
  pointer-events: none;
}
.coverflow.is-ready .cf-card.is-active { box-shadow: 0 40px 90px -30px rgba(0,0,0,0.9); border-color: var(--maroon-light); }
.cf-thumb { display: block; width: calc(100% + 60px); max-width: none; height: 118px; object-fit: cover; object-position: top center; margin: -30px -30px 18px -30px; background: #0b0e1a; position: relative; }
.cf-tag { align-self: flex-start; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: #f6c9d1; background: rgba(193,72,90,0.2); padding: 6px 12px; border-radius: 999px; position: relative; }
.cf-title { font-family: var(--font-display); font-size: 26px; font-weight: 800; color: #fff; letter-spacing: -0.02em; margin: 18px 0 10px; position: relative; }
.cf-blurb { font-size: 14px; color: var(--txt-soft); line-height: 1.6; position: relative; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cf-metric { display: flex; align-items: baseline; gap: 10px; margin: 16px 0; position: relative; }
.cf-metric-num { font-family: var(--font-display); font-size: 40px; font-weight: 800; color: var(--maroon-light); letter-spacing: -0.03em; }
.cf-metric-label { font-size: 12px; color: var(--txt-mute); }
.cf-plat { align-self: flex-start; display: inline-flex; align-items: center; gap: 9px; margin-top: auto; padding-top: 18px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.03em; color: var(--maroon-light); position: relative; }
.cf-plat i { font-size: 13px; opacity: 0.85; }
.cf-link { color: #fff; font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; gap: 8px; position: relative; }
.cf-card:hover .cf-link { gap: 12px; }
.coverflow-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 34px; }

/* =============================================================
   TESTIMONIALS SLIDER — equal-height cards
   ============================================================= */
.testi-slider { position: relative; overflow: hidden; }
.testi-track { display: flex; gap: 22px; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.testi-slide { flex: 0 0 calc((100% - 44px) / 3); min-width: 0; }
.testi-slide .testi { height: 100%; }
.testi-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 34px; }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1100px) {
  .disc-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-slide { flex: 0 0 calc((100% - 22px) / 2); }
}
@media (max-width: 960px) {
  .social-rail { display: none; }
  /* Hero slider: static stacking so height fits the active slide */
  body.home .hero { min-height: 0; padding: 0; }
  body.home .hero-slides { position: static; }
  body.home .hero-slide {
    position: static; display: none; padding: 100px 0 84px;
    opacity: 1; visibility: visible; transform: none;
  }
  body.home .hero-slide.is-active { display: flex; }
  body.home .hero-controls { position: static; transform: none; margin: 0 auto; padding-bottom: 34px; justify-content: center; }
  .intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .intro-visual { height: 360px; }
}
@media (max-width: 640px) {
  .disc-grid { grid-template-columns: 1fr; }
  .marquee-item { font-size: 18px; padding: 0 18px; }
  .cursor-glyph { display: none; }
  .testi-slide { flex: 0 0 100%; }
  .cf-card { width: 300px; }
  .intro-title { font-size: clamp(34px, 9vw, 48px); }
}

/* =============================================================
   REDUCED MOTION — kill all movement
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none !important; }
  .cursor-glyph { display: none !important; }
  .cursor-glyph .ring, .cursor-glyph .ring-2 { animation: none !important; }
  .intro-orb { animation: none !important; }
  body.home .hero-slide { transition: opacity .2s ease !important; transform: none !important; }
}
