/* =====================================================================
   HOME PAGE — "Wave" client-engagements carousel.
   Loaded after main.css. Scoped under .wave- so nothing here can
   collide with the shared header classes in main.css.

   Behavior lives in assets/js/coverflow.js — this file only styles
   the section chrome and positions each card via CSS variables that
   the script writes to card.style.transform. Card content (name,
   category, description, meta) is populated by the script from the
   PROJECTS data array — do not hardcode card markup here.
   ===================================================================== */

.wave-section{
  max-width:1180px;
  margin:0 auto;
  padding:30px 24px 80px;
  text-align:center;
  position:relative;
}
.wave-eyebrow-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:0.74rem;
  font-weight:600;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:var(--ink);
  background:rgba(255, 255, 255, 0.85);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  border:1px solid rgba(19, 39, 67, 0.12);
  padding:6px 16px;
  border-radius:999px;
  margin-bottom:20px;
  box-shadow:0 4px 14px rgba(19, 39, 67, 0.05);
}
.wave-pulse{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#2563eb;
  box-shadow:0 0 0 0 rgba(37, 99, 235, 0.7);
  animation:wavePulse 2s infinite;
}
@keyframes wavePulse{
  0%{ transform:scale(0.95); box-shadow:0 0 0 0 rgba(37, 99, 235, 0.7); }
  70%{ transform:scale(1); box-shadow:0 0 0 7px rgba(37, 99, 235, 0); }
  100%{ transform:scale(0.95); box-shadow:0 0 0 0 rgba(37, 99, 235, 0); }
}
.wave-title{
  font-family:'Fraunces',serif;
  font-weight:600;
  font-size:clamp(2rem, 4.2vw, 2.85rem);
  line-height:1.18;
  color:var(--ink);
  letter-spacing:-0.02em;
}
.wave-sub{
  margin-top:14px;
  color:var(--ink-soft);
  font-size:1.02rem;
  line-height:1.7;
  max-width:620px;
  margin-left:auto;
  margin-right:auto;
}

/* ================= 3D STAGE & AMBIENT GLOW ================= */
/* ================= 3D STAGE & AMBIENT GLOW ================= */
.wave-stage{
  position:relative;
  width:100%;
  height:460px;
  margin-top:40px;
  perspective:1200px;
  perspective-origin:50% 50%;
  touch-action:pan-y;
  cursor:grab;
}
.wave-stage:active{ cursor:grabbing; }
.wave-stage:focus-visible{
  outline:3px solid var(--ink);
  outline-offset:6px;
}

.wave-ambient-glow{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);
  width:720px;
  height:380px;
  border-radius:50%;
  background:radial-gradient(ellipse at center, rgba(19, 39, 67, 0.08) 0%, rgba(19, 39, 67, 0.015) 50%, transparent 70%);
  filter:blur(54px);
  pointer-events:none;
  opacity:0.8;
  z-index:0;
}

.wave-track{
  position:relative;
  width:100%;
  height:100%;
  transform-style:preserve-3d;
  z-index:1;
}

/* ================= EXECUTIVE 3D CASE STUDY SLIDE ================= */
.wave-card{
  position:absolute;
  top:50%;
  left:50%;
  width:530px;
  height:336px;
  background:#ffffff;
  border-radius:20px;
  border:1px solid rgba(19, 39, 67, 0.12);
  box-shadow:
    0 16px 40px -12px rgba(19, 39, 67, 0.14),
    0 2px 6px rgba(19, 39, 67, 0.04);
  transition:box-shadow .4s ease, border-color .4s ease;
  will-change:transform, opacity;
  cursor:pointer;
  text-align:left;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:22px 24px;
  box-sizing:border-box;
  overflow:hidden;
}
.wave-card:hover{
  box-shadow:
    0 24px 50px -14px rgba(19, 39, 67, 0.20),
    0 0 0 1px rgba(19, 39, 67, 0.16);
}
.wave-card[aria-current="true"]{
  border-top:3.5px solid #132743;
  box-shadow:
    0 28px 64px -16px rgba(19, 39, 67, 0.24),
    0 0 0 1.5px rgba(19, 39, 67, 0.16);
  cursor:default;
}
.wave-card:focus-visible{
  outline:2.5px solid #132743;
  outline-offset:3px;
}

/* 1. Slide Header Bar */
.wave-slide-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-bottom:12px;
  border-bottom:1px solid rgba(19, 39, 67, 0.08);
  gap:10px;
}

.wave-slide-brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
  flex:1 1 auto;
}

.wave-slide-logo-box{
  width:40px;
  height:40px;
  border-radius:10px;
  background:#ffffff;
  border:1px solid rgba(19, 39, 67, 0.10);
  box-shadow:0 2px 6px rgba(19, 39, 67, 0.05);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:4px;
  box-sizing:border-box;
  flex-shrink:0;
}

.wave-slide-logo-img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  border-radius:4px;
}

.wave-slide-monogram{
  font-family:'Fraunces',serif;
  font-weight:700;
  font-size:1.1rem;
  color:#132743;
}

.wave-slide-brand-text{
  min-width:0;
  flex:1 1 auto;
}

.wave-slide-client-name{
  display:block;
  font-family:'Fraunces',serif;
  font-weight:600;
  font-size:1.05rem;
  color:#132743;
  line-height:1.2;
}

.wave-slide-sector{
  display:block;
  font-family:'Inter',sans-serif;
  font-size:0.72rem;
  font-weight:500;
  color:#64748b;
  margin-top:2px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.wave-slide-standard-badge{
  display:inline-flex;
  align-items:center;
  gap:5px;
  background:#f1f5f9;
  border:1px solid rgba(19, 39, 67, 0.08);
  padding:3.5px 9px;
  border-radius:999px;
  flex-shrink:0;
}

.wave-slide-badge-dot{
  width:5px;
  height:5px;
  border-radius:50%;
  background:#132743;
}

.wave-slide-badge-text{
  font-family:'Inter',sans-serif;
  font-size:0.62rem;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:0.03em;
  color:#132743;
  white-space:nowrap;
}

/* 2. Slide Body */
.wave-slide-body{
  display:grid;
  grid-template-columns:1fr 126px;
  gap:16px;
  align-items:center;
  margin:12px 0;
  flex:1 1 auto;
}

.wave-slide-main{
  min-width:0;
}

.wave-slide-title{
  font-family:'Fraunces',serif;
  font-weight:600;
  font-size:1.04rem;
  color:#132743;
  line-height:1.26;
  margin:0 0 6px 0;
}

.wave-slide-desc{
  font-family:'Inter',sans-serif;
  font-size:0.76rem;
  color:#334155;
  line-height:1.46;
  margin:0;
  display:-webkit-box;
  -webkit-line-clamp:4;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.wave-slide-desc strong{
  color:#132743;
  font-weight:600;
}

.wave-slide-kpi{
  background:#f8fafc;
  border:1px solid rgba(19, 39, 67, 0.09);
  border-radius:12px;
  padding:12px 10px;
  text-align:center;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.wave-slide-kpi-val{
  font-family:'Fraunces',serif;
  font-size:1.25rem;
  font-weight:700;
  color:#132743;
  line-height:1.15;
  letter-spacing:-0.02em;
}

.wave-slide-kpi-label{
  font-family:'Inter',sans-serif;
  font-size:0.64rem;
  font-weight:600;
  color:#64748b;
  text-transform:uppercase;
  letter-spacing:0.04em;
  margin-top:4px;
  line-height:1.25;
}

/* 3. Slide Standards Footer */
.wave-slide-footer{
  display:grid;
  grid-template-columns:1fr 1.25fr;
  gap:14px;
  padding-top:10px;
  border-top:1px solid rgba(19, 39, 67, 0.08);
}

.wave-slide-meta-item{
  display:flex;
  flex-direction:column;
  min-width:0;
}

.wave-slide-meta-lbl{
  font-family:'Inter',sans-serif;
  font-size:0.60rem;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:0.05em;
  color:#94a3b8;
  margin-bottom:2px;
}

.wave-slide-meta-val{
  font-family:'Inter',sans-serif;
  font-size:0.74rem;
  font-weight:600;
  color:#132743;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* ================= NAV BUTTONS ================= */
.wave-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:46px;
  height:46px;
  border-radius:50%;
  border:1px solid rgba(19, 39, 67, 0.12);
  background:#ffffff;
  color:#132743;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.1rem;
  line-height:1;
  cursor:pointer;
  z-index:90;
  box-shadow:0 4px 14px rgba(19, 39, 67, 0.10);
  transition:all .25s ease;
}
.wave-nav:hover{
  background:#132743;
  color:#ffffff;
  border-color:#132743;
  transform:translateY(-50%) scale(1.06);
  box-shadow:0 8px 22px rgba(19, 39, 67, 0.22);
}
.wave-nav:focus-visible{
  outline:2.5px solid #132743;
  outline-offset:3px;
}
.wave-nav.prev{ left:4px; }
.wave-nav.next{ right:4px; }

/* ================= DOTS ================= */
.wave-dots{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin-top:26px;
}
.wave-dot{
  width:10px;
  height:6px;
  border-radius:999px;
  border:none;
  padding:0;
  background:rgba(19, 39, 67, 0.16);
  cursor:pointer;
  transition:all .35s cubic-bezier(.16, 1, .3, 1);
}
.wave-dot:hover{
  background:#132743;
  width:16px;
}
.wave-dot:focus-visible{
  outline:2px solid #132743;
  outline-offset:3px;
}
.wave-dot.is-active{
  width:32px;
  background:#132743;
}

/* ================= UTILITY ================= */
.visually-hidden{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

/* ================= RESPONSIVE ================= */
@media (max-width:980px){
  .wave-stage{ height:440px; }
  .wave-card{ width:390px; height:300px; padding:18px 20px; }
  .wave-slide-logo-box{ width:36px; height:36px; }
  .wave-slide-client-name{ font-size:0.98rem; }
  .wave-slide-title{ font-size:0.98rem; }
  .wave-slide-desc{ font-size:0.74rem; -webkit-line-clamp:2; }
  .wave-slide-kpi{ padding:8px 6px; }
  .wave-slide-kpi-val{ font-size:1.1rem; }
  .wave-slide-body{ grid-template-columns:1fr 110px; gap:12px; margin:10px 0; }
}

@media (max-width:680px){
  .wave-stage{ height:420px; }
  .wave-card{ width:304px; height:300px; padding:16px; }
  .wave-slide-standard-badge{ display:none; }
  .wave-slide-body{ grid-template-columns:1fr; gap:8px; margin:8px 0; }
  .wave-slide-kpi{ flex-direction:row; justify-content:space-between; align-items:baseline; padding:6px 10px; }
  .wave-slide-kpi-label{ margin-top:0; }
  .wave-slide-footer{ grid-template-columns:1fr 1fr; }
  .wave-slide-meta-item:last-child{ display:none; }
  .wave-nav{ width:38px; height:38px; font-size:0.95rem; }
  .wave-nav.prev{ left:0; }
  .wave-nav.next{ right:0; }
}

/* ================= REDUCED MOTION ================= */
@media (prefers-reduced-motion: reduce){
  .wave-card{
    transition:transform .25s linear, opacity .25s linear, box-shadow .25s linear;
  }
}


/* =====================================================================
   CLIENTS — auto-scrolling, infinitely looping marquee of top client
   logos. Boxed as its own rounded "surface" card sitting on the page,
   directly below the engagements section.

   Behavior (building the doubled DOM list for the seamless loop,
   reduced-motion handling) lives in assets/js/logo-marquee.js — this
   file only styles the marquee chrome and the CSS-driven scroll
   animation itself.
   ===================================================================== */
.clients-section{
  max-width:1040px;
  margin:0 auto 64px;
  padding:36px 28px 40px;
  text-align:center;
  background:#fff;
  border-radius:28px;
  box-shadow:
    0 28px 50px -28px rgba(19,39,67,0.20),
    0 1px 0 rgba(19,39,67,0.04);
}
.clients-eyebrow{
  display:inline-block;
  font-size:0.64rem;
  font-weight:600;
  letter-spacing:0.07em;
  text-transform:uppercase;
  color:var(--ink-soft);
  background:var(--columbia);
  padding:4px 11px;
  border-radius:999px;
  margin-bottom:10px;
}
.clients-title{
  font-family:'Fraunces',serif;
  font-weight:600;
  font-size:clamp(1.4rem,2.8vw,1.95rem);
  line-height:1.2;
  color:var(--ink);
}

/* ================= MARQUEE ================= */
.logo-marquee{
  margin-top:30px;
  width:100%;
  overflow:hidden;
  -webkit-mask-image:linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image:linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.logo-marquee-track{
  display:flex;
  align-items:center;
  gap:18px;
  width:max-content;
  animation:logo-marquee-scroll var(--marquee-duration, 32s) linear infinite;
}
/* Pause to read a name — on hover, or keyboard focus on the strip
   itself (it's the focusable, scrollable region — see the HTML). */
.logo-marquee:hover .logo-marquee-track,
.logo-marquee:focus-within .logo-marquee-track{
  animation-play-state:paused;
}
.logo-marquee-track.is-static{
  animation:none;
  overflow-x:auto;
  scroll-snap-type:x proximity;
  padding-bottom:4px;
}
@keyframes logo-marquee-scroll{
  from{ transform:translateX(0); }
  to{ transform:translateX(-50%); }
}

.logo-marquee-item{
  flex:0 0 auto;
  scroll-snap-align:start;
  width:164px;
  height:98px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:10px 14px;
  border-radius:18px;
  border:1px solid rgba(19,39,67,0.06);
  background:linear-gradient(135deg, rgba(240,246,252,0.95), rgba(214,230,248,0.7));
  box-shadow:0 4px 14px -6px rgba(19,39,67,0.12);
  transition:background .3s ease, transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
/* Cycle refined pastel gradient pairings */
.logo-marquee-item:nth-child(3n+2){
  background:linear-gradient(135deg, rgba(224,238,252,0.95), rgba(198,222,246,0.7));
}
.logo-marquee-item:nth-child(3n+3){
  background:linear-gradient(135deg, rgba(210,230,250,0.95), rgba(185,214,244,0.7));
}
.logo-marquee-item:hover,
.logo-marquee-item:focus-within{
  transform:translateY(-4px);
  box-shadow:0 12px 26px -10px rgba(19,39,67,0.22);
  border-color:rgba(42,143,242,0.3);
}

.logo-marquee-logo{
  max-height:44px;
  max-width:100%;
  width:auto;
  object-fit:contain;
  border-radius:8px;
  opacity:0.96;
  filter:drop-shadow(0 2px 5px rgba(0,0,0,0.06));
  transition:opacity .3s ease, transform .3s ease;
}
.logo-marquee-item:hover .logo-marquee-logo,
.logo-marquee-item:focus-within .logo-marquee-logo{
  opacity:1;
  transform:scale(1.06);
}

.logo-marquee-name{
  font-family:'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight:600;
  font-size:0.80rem;
  letter-spacing:-0.01em;
  color:var(--ink-soft);
  white-space:nowrap;
  transition:color .3s ease;
}
.logo-marquee-item:hover .logo-marquee-name,
.logo-marquee-item:focus-within .logo-marquee-name{
  color:var(--ink);
}
/* Fallback if logo is missing */
.logo-marquee-item.logo-missing .logo-marquee-name{
  font-size:0.95rem;
}

/* ================= CLIENTS DIRECTORY CTA BUTTON ================= */
.clients-cta-wrap {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.clients-directory-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px 11px 24px;
  background: var(--ink);
  color: #ffffff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid rgba(19, 39, 67, 0.18);
  box-shadow: 
    0 4px 16px -2px rgba(19, 39, 67, 0.22),
    0 2px 6px rgba(19, 39, 67, 0.10);
  transition: all 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.clients-directory-btn:hover {
  background: #1b365c;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 
    0 8px 24px -4px rgba(19, 39, 67, 0.32),
    0 4px 10px rgba(19, 39, 67, 0.14);
}

.clients-directory-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(19, 39, 67, 0.2);
}

.clients-btn-text {
  line-height: 1;
}

.clients-btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  transition: transform 0.25s ease, background 0.25s ease;
}

.clients-directory-btn:hover .clients-btn-arrow {
  background: rgba(255, 255, 255, 0.24);
  transform: translateX(3px);
}

@media (max-width:700px){
  .clients-section{
    margin:0 20px 50px;
    padding:28px 18px 30px;
    border-radius:22px;
  }
  .clients-eyebrow{ font-size:0.6rem; padding:4px 9px; }
  .logo-marquee{ margin-top:22px; }
  .logo-marquee-track{ gap:12px; }
  .logo-marquee-item{ width:126px; height:80px; padding:8px 10px; gap:6px; }
  .logo-marquee-logo{ max-height:32px; }
  .logo-marquee-name{ font-size:0.8rem; }
  .logo-marquee-item.logo-missing .logo-marquee-name{ font-size:0.92rem; }
  .clients-cta-wrap { margin-top: 24px; }
  .clients-directory-btn { font-size: 0.82rem; padding: 10px 18px 10px 20px; }
}

@media (prefers-reduced-motion: reduce){
  .logo-marquee-item{
    transition-duration:.15s;
  }
}
/* =====================================================================
   EDITORIAL HERO SECTION
   ===================================================================== */
main {
  padding-top: 0;
}

.hero-editorial {
  max-width: 1120px;
  margin: 0 auto;
  padding: 105px 24px 60px;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(19, 39, 67, 0.12);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
  box-shadow: 0 4px 14px rgba(19, 39, 67, 0.04);
}

.hero-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: heroPulse 2s infinite;
}

@keyframes heroPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.4rem, 5.2vw, 3.8rem);
  font-weight: 600;
  line-height: 1.14;
  color: var(--ink);
  max-width: 920px;
  margin: 0 auto 20px;
  letter-spacing: -0.02em;
}

.hero-headline span {
  background: linear-gradient(135deg, #132743 30%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
  font-weight: 500;
}

.hero-subhead {
  font-size: clamp(1rem, 1.3vw, 1.14rem);
  line-height: 1.68;
  color: var(--ink-soft);
  max-width: 680px;
  margin: 0 auto 36px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 54px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.hero-btn.primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 24px -6px rgba(19, 39, 67, 0.35);
}

.hero-btn.primary:hover {
  transform: translateY(-2px);
  background: #1b3860;
  box-shadow: 0 12px 30px -6px rgba(19, 39, 67, 0.45);
}

.hero-btn.secondary {
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
  border: 1px solid rgba(19, 39, 67, 0.14);
}

.hero-btn.secondary:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(19, 39, 67, 0.08);
}

/* Impact Metrics Bar */
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}

.hero-metric-card {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(19, 39, 67, 0.09);
  border-radius: 18px;
  padding: 22px 16px;
  box-shadow: 0 12px 32px -12px rgba(19, 39, 67, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-metric-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -12px rgba(19, 39, 67, 0.14);
}

.metric-val {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.8rem, 2.8vw, 2.2rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 4px;
}

.metric-lbl {
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

@media (max-width: 820px) {
  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 520px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-btn {
    width: 100%;
    justify-content: center;
  }
  .hero-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-editorial {
    padding-top: 72px;
    padding-bottom: 36px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .hero-headline {
    font-size: clamp(1.8rem, 6.2vw, 2.3rem);
    line-height: 1.18;
    margin-bottom: 14px;
  }
  .hero-subhead {
    font-size: 0.94rem;
    line-height: 1.6;
    margin-bottom: 24px;
  }
  .hero-actions {
    margin-bottom: 32px;
    gap: 10px;
  }
}

/* =====================================================================
   CORE TEAM 2026–27 SECTION (Matching User's Reference)
   ===================================================================== */
.team-section {
  position: relative;
  width: 100%;
  padding: 45px 0 50px;
  margin: 0;
  background: transparent;
  overflow: hidden;
}

.team-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.team-header {
  max-width: 680px;
  margin: 0 auto 30px;
}

.team-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--columbia);
  padding: 5px 13px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.team-title {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.team-subtitle {
  font-size: 0.96rem;
  line-height: 1.62;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.team-actions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.team-btn-demo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(19, 39, 67, 0.16);
  padding: 10px 20px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(19, 39, 67, 0.04);
  transition: all 0.25s ease;
}

.team-btn-demo:hover {
  background: var(--alice);
  border-color: var(--ink-soft);
  transform: translateY(-1px);
}

.team-btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  background: #2563eb;
  padding: 10px 22px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transition: all 0.25s ease;
}

.team-btn-contact:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.45);
}

/* Horizontal Team Strip with Fading Mask */
.team-strip-wrap {
  width: 100%;
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 16px 0 28px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
}

.team-strip-wrap:active {
  cursor: grabbing;
}

.team-strip-wrap::-webkit-scrollbar {
  display: none;
}

.team-strip-track {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  width: max-content;
  margin: 0;
  padding: 0 24px;
}

/* Member Card */
.team-card {
  position: relative;
  flex: 0 0 256px;
  height: 345px;
  border-radius: 18px;
  overflow: hidden;
  background: #f1f5f9;
  box-shadow: 0 16px 36px -12px rgba(19, 39, 67, 0.16);
  transition: transform 0.35s cubic-bezier(0.22, 0.9, 0.34, 1), box-shadow 0.35s ease;
  user-select: none;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -12px rgba(19, 39, 67, 0.24);
}

.team-card-visual {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.team-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 0.4s cubic-bezier(0.22, 0.9, 0.34, 1);
}

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

/* Floating bottom badge as in reference screenshot */
.team-card-badge {
  position: absolute;
  bottom: 12px;
  left: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px 12px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(19, 39, 67, 0.12);
  border: 1px solid rgba(19, 39, 67, 0.08);
  text-align: left;
  pointer-events: auto;
  z-index: 2;
}

.team-card-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 3px;
}

.team-card-name {
  font-family: 'Fraunces', serif;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.team-linkedin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  color: #0a66c2;
  background: rgba(10, 102, 194, 0.08);
  flex-shrink: 0;
  transition: all 0.2s ease;
  text-decoration: none;
}

.team-linkedin-btn:hover {
  background: #0a66c2;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(10, 102, 194, 0.35);
}

.team-card-role {
  font-size: 0.72rem;
  font-weight: 500;
  color: #64748b;
  margin: 0;
  white-space: normal;
  line-height: 1.35;
  overflow: visible;
  text-overflow: clip;
}

/* Quote Below Team */
.team-quote-block {
  max-width: 720px;
  margin: 36px auto 0;
  padding: 0 20px;
}

.team-quote-text {
  font-size: clamp(0.96rem, 1.5vw, 1.12rem);
  font-weight: 500;
  line-height: 1.65;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.team-quote-author {
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.team-quote-author .author-name {
  font-weight: 600;
  color: var(--ink);
}

/* Responsive adjustments for Core Team section */
@media (max-width: 991px) {
  .team-section {
    padding: 50px 0 60px;
  }
  .team-header {
    margin: 0 auto 30px;
    padding: 0 20px;
  }
}

@media (max-width: 768px) {
  .team-section {
    padding: 38px 0 46px;
  }
  .team-header {
    margin: 0 auto 20px;
    padding: 0 18px;
  }
  .team-eyebrow {
    font-size: 0.66rem;
    padding: 4px 11px;
    margin-bottom: 10px;
  }
  .team-title {
    font-size: 1.85rem;
    margin-bottom: 10px;
  }
  .team-subtitle {
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 18px;
  }
  .team-actions {
    gap: 10px;
  }
  .team-btn-demo,
  .team-btn-contact {
    font-size: 0.84rem;
    padding: 9px 18px;
  }
  .team-strip-wrap {
    padding: 8px 0 22px;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 2%, #000 98%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 2%, #000 98%, transparent);
    scroll-snap-type: x mandatory;
    scroll-padding: 0 20px;
  }
  .team-strip-track {
    gap: 14px;
    padding: 0 20px;
    margin: 0;
  }
  .team-card {
    flex: 0 0 250px;
    height: 335px;
    scroll-snap-align: start;
  }
  .team-quote-block {
    margin-top: 24px;
    padding: 0 18px;
  }
}

@media (max-width: 480px) {
  .team-header {
    margin: 0 auto 16px;
    padding: 0 14px;
  }
  .team-title {
    font-size: 1.7rem;
  }
  .team-subtitle {
    font-size: 0.86rem;
    margin-bottom: 16px;
  }
  .team-strip-wrap {
    padding: 6px 0 20px;
    scroll-padding: 0 16px;
  }
  .team-strip-track {
    gap: 12px;
    padding: 0 16px;
  }
  .team-card {
    flex: 0 0 236px;
    height: 325px;
  }
}

/* =====================================================================
   UPGRADED CTA SECTION
   ===================================================================== */
.home-cta-section {
  max-width: 1040px;
  margin: 95px auto 100px;
  padding: 0 24px;
}

.home-cta-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(209, 232, 252, 0.6));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(143, 201, 255, 0.5);
  border-radius: 28px;
  padding: 54px 36px;
  text-align: center;
  box-shadow: 0 24px 60px -20px rgba(19, 39, 67, 0.16);
}

.home-cta-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid rgba(19, 39, 67, 0.1);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.home-cta-title {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  line-height: 1.22;
  color: var(--ink);
  max-width: 640px;
  margin: 0 auto 16px;
}

.home-cta-desc {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 580px;
  margin: 0 auto 30px;
}

.home-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.home-cta-btn {
  display: inline-flex;
  align-items: center;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.home-cta-btn.primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 24px -6px rgba(19, 39, 67, 0.35);
}

.home-cta-btn.primary:hover {
  background: #1b3860;
  transform: translateY(-2px);
}

.home-cta-btn.secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(19, 39, 67, 0.14);
}

.home-cta-btn.secondary:hover {
  background: var(--alice);
  transform: translateY(-2px);
}

/* =====================================================================
   LIFE AT RCS — PANORAMIC SURFACE (Life at Ramjas Consulting Society)
   Distinct showcase background differentiated from light blue page
   ===================================================================== */
.life-section.full-section {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 50px;
  margin-bottom: 60px;
  padding: 60px 0 70px;
  background: #071527;
  border-top: 1px solid rgba(19, 39, 67, 0.15);
  border-bottom: 1px solid rgba(19, 39, 67, 0.15);
  box-shadow: inset 0 10px 30px rgba(0, 0, 0, 0.25), inset 0 -10px 30px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  box-sizing: border-box;
}

.life-header-wrap {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 32px 30px;
  position: relative;
  z-index: 10;
}

.life-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.life-eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #60a5fa;
  margin-bottom: 8px;
}

.life-title {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0;
}

.life-nav-arrows {
  display: flex;
  align-items: center;
  gap: 12px;
}

.life-arrow-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.life-arrow-btn:hover {
  background: #ffffff;
  color: #071527;
  border-color: #ffffff;
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
}

/* Panoramic Surface Viewport (Immersive 3D Stage) */
.life-stage {
  position: relative;
  width: 100%;
  height: 620px;
  overflow: hidden;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  outline: none;
  perspective: 1200px;
}

.life-stage:active {
  cursor: grabbing;
}

.life-surface-viewport {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.life-surface-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px 44px;
  width: max-content;
  will-change: transform;
  transform-style: preserve-3d;
}

.surface-row {
  display: flex;
  gap: 18px;
  width: max-content;
  align-items: center;
  transform-style: preserve-3d;
}

.surface-row:nth-child(even) {
  margin-left: 65px;
}

/* Surface Memory Card (Zoomed in, Immersive, Premium Framing) */
.life-surface-card {
  position: relative;
  width: 290px;
  height: 190px;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  background: #0c1c30;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 28px -4px rgba(0, 0, 0, 0.45);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.28s ease;
  transform-style: preserve-3d;
}

.life-surface-card:hover {
  transform: translateY(-8px) scale(1.04);
  border-color: #60a5fa;
  box-shadow: 0 22px 48px -6px rgba(0, 0, 0, 0.7), 0 0 20px rgba(96, 165, 250, 0.25);
  z-index: 15;
}

.life-card-frame {
  position: relative;
  width: 100%;
  height: 100%;
}

.life-card-img-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.life-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
  pointer-events: none;
}

.life-surface-card:hover .life-card-img {
  transform: scale(1.06);
}

.life-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(10, 22, 38, 0.82) 100%);
  pointer-events: none;
}

.life-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 12px;
  z-index: 2;
}

.life-card-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  line-height: 1.25;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.life-card-expand {
  font-size: 0.7rem;
  color: #93c5fd;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.life-surface-card:hover .life-card-expand {
  opacity: 1;
  transform: translateX(2px);
  color: #ffffff;
}

/* Overlay Navigation & HUD Controls */
.life-overlay-controls {
  position: absolute;
  bottom: 24px;
  right: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 20;
}

.life-orbit-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(19, 39, 67, 0.14);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(19, 39, 67, 0.08);
}

.life-orbit-btn:hover {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(19, 39, 67, 0.22);
}

.life-orbit-btn.play-toggle.paused {
  background: rgba(239, 68, 68, 0.85);
  border-color: rgba(252, 165, 165, 0.5);
}

.life-orbit-btn.reset:hover {
  background: rgba(16, 185, 129, 0.88);
  border-color: rgba(167, 243, 208, 0.7);
  box-shadow: 0 10px 28px rgba(16, 185, 129, 0.5);
}

.life-orbit-btn.pulse:hover {
  background: rgba(168, 85, 247, 0.88);
  border-color: rgba(233, 213, 255, 0.7);
  box-shadow: 0 10px 28px rgba(168, 85, 247, 0.55);
}

/* =====================================================================
   INTERACTIVE LIGHTBOX MODAL
   ===================================================================== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(13, 26, 45, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.22, 0.9, 0.34, 1);
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-dialog {
  position: relative;
  max-width: 960px;
  width: 100%;
  background: #132743;
  border: 1px solid rgba(143, 201, 255, 0.35);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 32px 80px -15px rgba(0, 0, 0, 0.6);
  transform: scale(0.92);
  transition: transform 0.35s cubic-bezier(0.22, 0.9, 0.34, 1);
  display: flex;
  flex-direction: column;
}

.lightbox-modal.active .lightbox-dialog {
  transform: scale(1);
}

.lightbox-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-close-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.08);
}

.lightbox-img-wrap {
  width: 100%;
  max-height: 65vh;
  background: #08101d;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lightbox-img {
  max-width: 100%;
  max-height: 65vh;
  object-fit: contain;
  display: block;
}

.lightbox-info {
  padding: 20px 28px;
  background: #132743;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.lightbox-meta {
  flex: 1;
}

.lightbox-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #93c5fd;
  margin-bottom: 4px;
}

.lightbox-title {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 4px;
}

.lightbox-caption {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

.lightbox-nav-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lightbox-nav-btn:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: scale(1.08);
}

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

/* ================= RESPONSIVE ================= */
@media (max-width: 960px) {
  .life-stage {
    height: 640px;
  }
  .life-surface-card {
    width: 270px;
    height: 185px;
  }
  .surface-row {
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .life-section.full-section {
    padding: 45px 0 55px;
    scroll-margin-top: 75px;
  }
  .life-header-wrap {
    padding: 0 16px 20px;
  }
  .life-stage {
    height: 520px;
  }
  .life-title {
    font-size: clamp(1.6rem, 5.5vw, 2.1rem);
    line-height: 1.2;
  }
  .life-hints,
  .life-corner-hint {
    display: none;
  }
  .life-overlay-controls {
    bottom: 16px;
    right: 16px;
  }
  .life-surface-card {
    width: 240px;
    height: 160px;
    border-radius: 16px;
  }
  .life-card-title {
    font-size: 0.84rem;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.25;
    text-overflow: clip;
  }
  .surface-row {
    gap: 12px;
  }
  .surface-row:nth-child(even) {
    margin-left: 30px;
  }
}
  .lightbox-info {
    flex-direction: column;
    align-items: flex-start;
  }
}



/* =====================================================================
   OPEN KNOWLEDGE / CASE RESOURCES (#2)
   Free student guides, casebooks & playbooks
   ===================================================================== */
.knowledge-section {
  max-width: 1200px;
  margin: 100px auto 0;
  padding: 0 24px 30px;
}

.knowledge-header {
  text-align: center;
  margin-bottom: 48px;
}

.knowledge-eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1e40af;
  background: rgba(143, 201, 255, 0.35);
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.knowledge-title {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin-bottom: 14px;
}

.knowledge-title span {
  background: linear-gradient(135deg, #1d4ed8, #2563eb 40%, #0284c7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.knowledge-sub {
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  color: var(--ink-soft);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.65;
}

.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.knowledge-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(229, 240, 250, 0.6));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(143, 201, 255, 0.45);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 30px -10px rgba(19, 39, 67, 0.1);
  transition: all 0.35s cubic-bezier(0.22, 0.9, 0.34, 1);
  display: flex;
  flex-direction: column;
}

.knowledge-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px -12px rgba(19, 39, 67, 0.18);
  border-color: rgba(37, 99, 235, 0.45);
}

.knowledge-cover-wrap {
  position: relative;
  width: 100%;
  height: 230px;
  background: #060c18;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.knowledge-cover-ambient {
  position: absolute;
  inset: -14px;
  width: calc(100% + 28px);
  height: calc(100% + 28px);
  object-fit: cover;
  filter: blur(16px) brightness(0.38) saturate(130%);
  transform: scale(1.08);
  pointer-events: none;
  z-index: 1;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.knowledge-card:hover .knowledge-cover-ambient {
  transform: scale(1.16);
  filter: blur(18px) brightness(0.3) saturate(145%);
}

.knowledge-cover-stage {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.knowledge-cover-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.55), 0 2px 6px rgba(0, 0, 0, 0.35);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.knowledge-card:hover .knowledge-cover-img {
  transform: scale(1.04) translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7), 0 4px 12px rgba(0, 0, 0, 0.45);
}

.knowledge-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  background: rgba(10, 20, 35, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  pointer-events: none;
}

.knowledge-body {
  padding: 22px 18px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.knowledge-book-title {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 8px;
}

.knowledge-book-desc {
  font-size: 0.84rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 18px;
  flex-grow: 1;
}

.knowledge-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid rgba(19, 39, 67, 0.08);
  padding-top: 14px;
}

.knowledge-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.knowledge-btn:hover {
  color: #1d4ed8;
  transform: translateX(3px);
}

.knowledge-badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: #64748b;
  background: rgba(19, 39, 67, 0.05);
  padding: 3px 8px;
  border-radius: 6px;
}

.knowledge-footer-cta {
  text-align: center;
  margin-top: 44px;
  margin-bottom: 24px;
}

.knowledge-footer-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid rgba(19, 39, 67, 0.15);
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(19, 39, 67, 0.06);
  transition: all 0.25s ease;
}

.knowledge-footer-btn:hover {
  background: var(--alice);
  border-color: rgba(37, 99, 235, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(19, 39, 67, 0.1);
}

/* ================= RESPONSIVE ENHANCEMENTS ================= */
@media (max-width: 1024px) {
  .knowledge-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .knowledge-section {
    margin: 45px auto 0;
    padding: 0 16px 24px;
  }
  .knowledge-header {
    margin-bottom: 28px;
  }
  .knowledge-title {
    font-size: clamp(1.55rem, 5.5vw, 2rem);
    line-height: 1.2;
    margin-bottom: 10px;
  }
  .knowledge-sub {
    font-size: 0.90rem;
    line-height: 1.6;
  }
  .knowledge-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}


/* =====================================================================
   SERVICES — White Card Fan (Section 2)
   Clean enterprise typography. Single colour. No icons. No gradients.
   ===================================================================== */

.services-deck {
  background: #0b1628;
  padding: 100px 24px;
  position: relative;
  overflow: hidden;
}

.deck-container {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 240px 340px 1fr;
  gap: 60px;
  align-items: center;
  min-height: 480px;
}

/* ── Intro ── */
.deck-intro { display: flex; flex-direction: column; gap: 14px; }

.deck-eyebrow {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.deck-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.85rem, 3vw, 2.65rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.16;
  letter-spacing: -0.025em;
  margin: 0;
}

.deck-subtitle {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.38);
  line-height: 1.68;
  margin: 0;
}

.deck-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.15);
  padding: 8px 18px;
  border-radius: 999px;
  width: fit-content;
  transition: all 0.25s ease;
  margin-top: 4px;
}

.deck-all-link:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.06);
}

/* ── Fan ── */
.deck-fan-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding-bottom: 10px;
}

.card-fan { position: relative; width: 280px; height: 330px; }

/* ═══════════════════════════════════════════
   THE CARD — clean white, typography-only
   ═══════════════════════════════════════════ */
.play-card {
  position: absolute;
  width: 156px;
  height: 224px;
  left: 62px;
  bottom: 0;
  border-radius: 14px;
  background: #ffffff;
  border: none;
  box-shadow:
    0 14px 40px rgba(0,0,0,0.45),
    0 4px 12px rgba(0,0,0,0.25);
  cursor: pointer;
  user-select: none;
  outline: none;
  transform-origin: bottom center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 20px 18px 18px;
  gap: 0;
  transition:
    transform  0.52s cubic-bezier(0.34, 1.46, 0.64, 1),
    box-shadow 0.35s ease,
    opacity    0.35s ease,
    filter     0.35s ease;
}

/* Number — massive, navy */
.pc-num {
  font-family: 'Fraunces', serif;
  font-size: 2.6rem;
  font-weight: 600;
  color: #0f2140;
  line-height: 1;
  letter-spacing: -0.04em;
}

/* Thin rule between number and name */
.pc-divider {
  width: 28px;
  height: 1.5px;
  background: #0f2140;
  margin: 12px 0;
  opacity: 0.2;
  transition: width 0.3s ease, opacity 0.3s ease;
}

.play-card:hover .pc-divider,
.play-card.selected .pc-divider {
  width: 44px;
  opacity: 0.45;
}

/* Service name */
.pc-name {
  font-family: 'Fraunces', serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f2140;
  line-height: 1.28;
  letter-spacing: -0.01em;
  margin: 0;
}

/* Category tag */
.pc-tag {
  margin-top: auto;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8896ab;
  line-height: 1.3;
}

/* ── Fan rotations ── */
.play-card:nth-child(1) { transform: rotate(-25deg); z-index: 1; }
.play-card:nth-child(2) { transform: rotate(-15deg); z-index: 2; }
.play-card:nth-child(3) { transform: rotate(-5deg);  z-index: 3; }
.play-card:nth-child(4) { transform: rotate(5deg);   z-index: 4; }
.play-card:nth-child(5) { transform: rotate(15deg);  z-index: 5; }
.play-card:nth-child(6) { transform: rotate(25deg);  z-index: 6; }

/* ── Hover ── */
.card-fan:not(.has-selection) .play-card:hover {
  z-index: 10;
  box-shadow: 0 28px 64px rgba(0,0,0,0.6), 0 8px 20px rgba(0,0,0,0.35);
}
.card-fan:not(.has-selection) .play-card:nth-child(1):hover { transform: rotate(-25deg) translateY(-52px) scale(1.06); }
.card-fan:not(.has-selection) .play-card:nth-child(2):hover { transform: rotate(-15deg) translateY(-52px) scale(1.06); }
.card-fan:not(.has-selection) .play-card:nth-child(3):hover { transform: rotate(-5deg)  translateY(-52px) scale(1.06); }
.card-fan:not(.has-selection) .play-card:nth-child(4):hover { transform: rotate(5deg)   translateY(-52px) scale(1.06); }
.card-fan:not(.has-selection) .play-card:nth-child(5):hover { transform: rotate(15deg)  translateY(-52px) scale(1.06); }
.card-fan:not(.has-selection) .play-card:nth-child(6):hover { transform: rotate(25deg)  translateY(-52px) scale(1.06); }

/* ── Selected ── */
.play-card.selected {
  transform: rotate(0deg) translateY(-100px) scale(1.18) !important;
  z-index: 20 !important;
  box-shadow:
    0 36px 80px rgba(0,0,0,0.55),
    0 14px 36px rgba(0,0,0,0.35) !important;
}

.card-fan.has-selection .play-card:not(.selected) {
  opacity: 0.3;
  filter: brightness(0.7);
}

/* Hint */
.deck-fan-hint {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.18);
  margin: 0;
  animation: hintPulse 3s ease-in-out infinite;
}

@keyframes hintPulse {
  0%, 100% { opacity: 0.25; }
  50%       { opacity: 0.7; }
}

/* ── Detail panel ── */
.deck-detail {
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 38px 34px;
  min-height: 370px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Prompt */
.deck-detail-prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  color: rgba(255,255,255,0.22);
}

.deck-prompt-num {
  font-family: 'Fraunces', serif;
  font-size: 2.4rem;
  font-weight: 600;
  color: rgba(255,255,255,0.08);
  animation: promptFloat 3s ease-in-out infinite;
}

@keyframes promptFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

.deck-detail-prompt p { font-size: 0.86rem; line-height: 1.6; margin: 0; }

/* Content */
.deck-detail-content {
  width: 100%;
  animation: dcIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes dcIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.dc-num {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 3.2rem;
  font-weight: 600;
  color: rgba(255,255,255,0.06);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 6px;
}

.dc-tag {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 8px;
}

.dc-name {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 16px 0;
  line-height: 1.18;
  letter-spacing: -0.015em;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.dc-outcome {
  font-size: 0.86rem;
  font-weight: 500;
  font-style: italic;
  color: rgba(255,255,255,0.48);
  line-height: 1.6;
  margin: 0 0 14px 0;
}

.dc-quote {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.36);
  line-height: 1.72;
  margin: 0 0 22px 0;
  padding: 12px 16px;
  border-left: 2px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.02);
  border-radius: 0 6px 6px 0;
}

.dc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 26px;
}

.dc-pill {
  font-size: 0.67rem;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  padding: 4px 11px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.dc-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 10px 22px;
  border-radius: 999px;
  transition: all 0.25s ease;
}

.dc-cta:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.3);
  transform: translateX(4px);
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .deck-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .deck-intro    { grid-column: 1 / 3; text-align: center; align-items: center; }
  .deck-fan-wrap { grid-column: 1; justify-self: center; }
  .deck-detail   { grid-column: 2; align-self: start; min-height: 300px; }
}

@media (max-width: 680px) {
  .services-deck { padding: 64px 18px; }
  .deck-container { grid-template-columns: 1fr; gap: 32px; }
  .deck-intro, .deck-fan-wrap, .deck-detail { grid-column: 1; }
  .deck-fan-wrap { justify-self: center; }
  .deck-detail   { min-height: 220px; }
  .card-fan      { width: 240px; height: 290px; }
  .play-card     { left: 41px; width: 146px; height: 210px; }
}







/* =====================================================================
   SERVICES — PRACTICE DISCIPLINES (CENTERED HERO SHOWCASE WITH LUXURY DECK)
   RCS Design Tokens: --ink: #132743, --ink-soft: #3C5875, --columbia: #D1E8FC
   PERFECT SPACING & SMOOTH FLUID ANIMATION:
   1. Generous 65px+ clearance between cards and navigation bar (ZERO overlap).
   2. Ample 42px top clearance inside the stage (ZERO top cut-off).
   3. Fluid quintic ease-out bezier transitions for buttery-smooth card dealing.
   ===================================================================== */

.services-section {
  position: relative;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 24px 80px;
  overflow: visible;
}

/* ── Centered Section Header ── */
.services-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 38px;
}

.services-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(19, 39, 67, 0.12);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
  box-shadow: 0 4px 14px rgba(19, 39, 67, 0.05);
}

.services-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 0 rgba(19, 39, 67, 0.4);
  animation: servicesPulse 2s infinite;
}

@keyframes servicesPulse {
  0%   { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(19, 39, 67, 0.4); }
  70%  { transform: scale(1);    box-shadow: 0 0 0 6px rgba(19, 39, 67, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(19, 39, 67, 0); }
}

.services-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.1rem, 4vw, 2.85rem);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin: 0 0 12px;
}

.services-sub {
  font-size: 1.02rem;
  color: var(--ink-soft);
  line-height: 1.68;
  max-width: 620px;
  margin: 0 auto;
}

/* ── Executive Showcase Card Stage (Generous Framing, No Cut-Off) ── */
.services-showcase-stage {
  position: relative;
  background: #132743;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 50px 42px 46px;
  box-shadow: 0 24px 60px rgba(19, 39, 67, 0.18);
  overflow: hidden;
}

/* Two-Column Split Layout: Cards on Left, Preview on Right */
.services-stage-grid {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 36px;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 2;
}

/* Left Column: Deck & Controls */
.services-stage-left {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* Pedestal Aura Beneath Deck */
.deck-pedestal-glow {
  position: absolute;
  top: 130px;
  left: 50%;
  transform: translateX(-50%);
  width: 440px;
  height: 120px;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(255, 255, 255, 0.08) 0%, rgba(59, 130, 246, 0.04) 50%, transparent 75%);
  pointer-events: none;
  border-radius: 50%;
  filter: blur(22px);
}

/* ── Centered Fan Wrapper (Guaranteed Clearance from Controls Bar) ── */
.services-center-fan-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  position: relative;
  margin-bottom: 20px;
  padding-top: 24px;
  z-index: 2;
}

.card-fan {
  position: relative;
  width: 440px;
  height: 290px;
}

/* ═══════════════════════════════════════════
   THE CARD — LUXURY PHYSICAL CONSULTING STOCK
   ═══════════════════════════════════════════ */
.play-card {
  position: absolute;
  width: 154px;
  height: 220px;
  left: 143px;
  bottom: 45px; /* Elevated 45px: lowest corner sits 35px above fan base */
  border-radius: 15px;
  background: #ffffff !important;
  opacity: 1 !important;
  border: 1px solid rgba(19, 39, 67, 0.09);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.32),
    0 3px 8px rgba(0, 0, 0, 0.14);
  cursor: pointer;
  user-select: none;
  outline: none;
  transform-origin: bottom center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 7px;
  /* Buttery-Smooth Fluid Spring Transition */
  transition:
    transform  0.55s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease,
    border-color 0.3s ease,
    filter 0.35s ease;
}

/* Corner Index Pip */
.pc-corner-pip {
  position: absolute;
  top: 13px;
  left: 14px;
  font-family: 'Fraunces', serif;
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(19, 39, 67, 0.38);
  letter-spacing: -0.02em;
  pointer-events: none;
}

/* Inner Keyline Frame */
.pc-inner-frame {
  width: 100%;
  height: 100%;
  border: 1px solid rgba(19, 39, 67, 0.08);
  border-radius: 10px;
  padding: 14px 12px 12px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

/* Number on Card */
.pc-num {
  font-family: 'Fraunces', serif;
  font-size: 2.45rem;
  font-weight: 600;
  color: #132743;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-top: 2px;
}

/* Thin Divider */
.pc-divider {
  width: 22px;
  height: 1.5px;
  background: #132743;
  margin: 10px 0 12px;
  opacity: 0.2;
}

/* Service Name */
.pc-name {
  font-family: 'Fraunces', serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: #132743;
  line-height: 1.22;
  letter-spacing: -0.01em;
  margin: 0;
}

/* Category Tag at Bottom */
.pc-tag {
  margin-top: auto;
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #8896ab;
  line-height: 1.3;
}

/* ── Symmetrical Centered Fan Resting Angles ── */
.play-card:nth-child(1) { transform: rotate(-24deg) translateX(-76px) translateY(8px); z-index: 1; }
.play-card:nth-child(2) { transform: rotate(-14deg) translateX(-45px) translateY(3px);  z-index: 2; }
.play-card:nth-child(3) { transform: rotate(-5deg)  translateX(-15px);                  z-index: 3; }
.play-card:nth-child(4) { transform: rotate(5deg)   translateX(15px);                   z-index: 4; }
.play-card:nth-child(5) { transform: rotate(14deg)  translateX(45px)  translateY(3px);  z-index: 5; }
.play-card:nth-child(6) { transform: rotate(24deg)  translateX(76px)  translateY(8px);  z-index: 6; }

/* Fan Hover (Resting State) */
.card-fan:not(.has-selection) .play-card:hover {
  z-index: 15;
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.45);
}
.card-fan:not(.has-selection) .play-card:nth-child(1):hover { transform: rotate(-24deg) translateX(-76px) translateY(-18px) scale(1.03); }
.card-fan:not(.has-selection) .play-card:nth-child(2):hover { transform: rotate(-14deg) translateX(-45px) translateY(-18px) scale(1.03); }
.card-fan:not(.has-selection) .play-card:nth-child(3):hover { transform: rotate(-5deg)  translateX(-15px) translateY(-18px) scale(1.03); }
.card-fan:not(.has-selection) .play-card:nth-child(4):hover { transform: rotate(5deg)   translateX(15px)  translateY(-18px) scale(1.03); }
.card-fan:not(.has-selection) .play-card:nth-child(5):hover { transform: rotate(14deg)  translateX(45px)  translateY(-18px) scale(1.03); }
.card-fan:not(.has-selection) .play-card:nth-child(6):hover { transform: rotate(24deg)  translateX(76px)  translateY(-18px) scale(1.03); }

/* ── Active Selected Card (Calibrated: 40px+ clearance below top stage border!) ── */
.play-card.selected {
  transform: rotate(0deg) translateY(-36px) scale(1.05) !important;
  z-index: 25 !important;
  box-shadow:
    0 22px 50px rgba(0, 0, 0, 0.52),
    0 4px 12px rgba(0, 0, 0, 0.2) !important;
  border: 2px solid #132743 !important;
  filter: none !important;
}

.play-card.selected .pc-divider {
  width: 32px;
  opacity: 0.6;
}

/* ── Unselected cards while one is open (100% OPAQUE) ── */
.card-fan.has-selection .play-card:not(.selected) {
  opacity: 1 !important;
  background: #ffffff !important;
  filter: brightness(0.95);
}

.card-fan.has-selection .play-card:not(.selected):hover {
  filter: brightness(1.0);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.4);
}

.card-fan.has-selection .play-card:nth-child(1):not(.selected):hover { transform: rotate(-24deg) translateX(-76px) translateY(-6px); }
.card-fan.has-selection .play-card:nth-child(2):not(.selected):hover { transform: rotate(-14deg) translateX(-45px) translateY(-6px); }
.card-fan.has-selection .play-card:nth-child(3):not(.selected):hover { transform: rotate(-5deg)  translateX(-15px) translateY(-6px); }
.card-fan.has-selection .play-card:nth-child(4):not(.selected):hover { transform: rotate(5deg)   translateX(15px)  translateY(-6px); }
.card-fan.has-selection .play-card:nth-child(5):not(.selected):hover { transform: rotate(14deg)  translateX(45px)  translateY(-6px); }
.card-fan.has-selection .play-card:nth-child(6):not(.selected):hover { transform: rotate(24deg)  translateX(76px)  translateY(-6px); }

/* ── Sleek Deck Controls Bar (Basically Transparent Glass Navigator) ── */
.deck-controls-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 6px;
  margin-bottom: 0;
  position: relative;
  z-index: 5;
  width: 100%;
}

.deck-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.deck-nav-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  transform: scale(1.08);
}

.deck-stepper-pills {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 5px 8px;
  border-radius: 999px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}

.deck-step-chip {
  font-family: 'Fraunces', serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  background: transparent;
  border: none;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.deck-step-chip:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

/* Active Highlighted Chip in Bar */
.deck-step-chip.active {
  color: #132743 !important;
  background: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
  transform: scale(1.06);
}

/* ── Right Column & Basically Transparent Glass Preview Card ── */
.services-stage-right {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.services-detail-card {
  width: 100%;
  margin: 0;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  padding: 36px 36px;
  position: relative;
  z-index: 5;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.22);
  transition: all 0.3s ease;
}

.services-detail-content {
  width: 100%;
  position: relative;
  animation: dcFadeIn 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes dcFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Close Button (×) */
.dc-close-btn {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 1.25rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dc-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.08);
}

/* Prompt State */
.services-detail-prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  padding: 24px 16px;
}

.dc-prompt-num {
  font-family: 'Fraunces', serif;
  font-size: 2.3rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.28);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.dc-prompt-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.68);
  max-width: 370px;
  line-height: 1.68;
  margin: 0;
}

/* Brief Layout Grid */
.dc-brief-grid {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 28px;
  align-items: center;
}

.dc-brief-left {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  padding-right: 24px;
}

.dc-num {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 2.85rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 6px;
}

.dc-name {
  font-family: 'Fraunces', serif;
  font-size: 1.68rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.dc-brief-right {
  display: flex;
  flex-direction: column;
}

.dc-desc {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.65;
  margin: 0 0 14px;
}

.dc-focus {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.dc-focus-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.dc-focus-text {
  font-size: 0.86rem;
  color: #ffffff;
  font-weight: 500;
}

.dc-actions {
  display: flex;
  align-items: center;
}

.dc-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #132743;
  text-decoration: none;
  background: #ffffff;
  padding: 10px 24px;
  border-radius: 999px;
  transition: all 0.22s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  width: fit-content;
}

.dc-cta:hover {
  background: #E5F0FA;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* ── Responsive Adaptations ── */
@media (max-width: 1080px) {
  .services-stage-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .services-detail-card {
    min-height: auto;
  }
  .dc-brief-grid {
    grid-template-columns: 200px 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .dc-brief-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .dc-brief-left {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: 0;
    padding-bottom: 14px;
  }
}

@media (max-width: 680px) {
  .services-section {
    padding: 45px 14px 45px;
    scroll-margin-top: 75px;
  }
  .services-title {
    font-size: clamp(1.6rem, 5.5vw, 2rem);
    line-height: 1.2;
    margin-bottom: 8px;
  }
  .services-sub {
    font-size: 0.90rem;
    line-height: 1.6;
    margin-bottom: 24px;
  }
  .services-showcase-stage {
    padding: 24px 12px;
    border-radius: 20px;
    overflow-x: hidden;
  }
  .card-fan {
    width: 250px;
    height: 205px;
    margin: 0 auto;
  }
  .play-card {
    left: 68px;
    width: 114px;
    height: 165px;
    bottom: 18px;
  }
  .play-card:nth-child(1) { transform: rotate(-18deg) translateX(-48px) translateY(5px); z-index: 1; }
  .play-card:nth-child(2) { transform: rotate(-11deg) translateX(-28px) translateY(2px); z-index: 2; }
  .play-card:nth-child(3) { transform: rotate(-4deg)  translateX(-9px);                  z-index: 3; }
  .play-card:nth-child(4) { transform: rotate(4deg)   translateX(9px);                   z-index: 4; }
  .play-card:nth-child(5) { transform: rotate(11deg)  translateX(28px)  translateY(2px); z-index: 5; }
  .play-card:nth-child(6) { transform: rotate(18deg)  translateX(48px)  translateY(5px); z-index: 6; }
  .deck-pedestal-glow { width: 250px; }
  .deck-controls-bar {
    gap: 6px;
    margin-top: 6px;
    width: 100%;
    justify-content: center;
  }
  .deck-nav-btn {
    width: 32px;
    height: 32px;
    font-size: 0.82rem;
    flex-shrink: 0;
  }
  .deck-stepper-pills {
    padding: 3px 6px;
    gap: 2px;
    max-width: calc(100% - 46px);
  }
  .deck-step-chip {
    padding: 5px 8px;
    font-size: 0.72rem;
  }
  .services-detail-card {
    padding: 18px 14px;
    min-height: 180px;
    width: 100%;
    box-sizing: border-box;
  }
  .services-detail-prompt {
    padding: 8px 4px;
    width: 100%;
  }
  .dc-prompt-num {
    font-size: 1.8rem;
    margin-bottom: 6px;
  }
  .dc-prompt-text {
    font-size: 0.85rem;
    line-height: 1.5;
    max-width: 100%;
    word-break: normal;
    white-space: normal;
  }
  .dc-name { font-size: 1.35rem; }
  .dc-num { font-size: 2rem; }

  /* Elevated CTA Section */
  .home-cta-section {
    margin: 45px auto 55px;
    padding: 0 16px;
    scroll-margin-top: 75px;
  }
  .home-cta-card {
    padding: 34px 18px;
    border-radius: 20px;
  }
  .home-cta-title {
    font-size: clamp(1.45rem, 5vw, 1.85rem);
    line-height: 1.22;
    margin-bottom: 12px;
  }
  .home-cta-desc {
    font-size: 0.90rem;
    line-height: 1.6;
    margin-bottom: 22px;
  }
  .home-cta-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .home-cta-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 0.90rem;
  }
}
