/* =========================================
   Fiction Tribe AI Microsite
   Brand: Dark theme, #1A1A1E bg, #7AB2D4 accent
   ========================================= */

/* --- Font Faces --- */
@font-face {
  font-family: 'Gilroy';
  src: url('fonts/Gilroy-Regular.woff2') format('woff2'),
       url('fonts/Gilroy-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  src: url('fonts/Gilroy-Medium.woff2') format('woff2'),
       url('fonts/Gilroy-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  src: url('fonts/Gilroy-Bold.woff2') format('woff2'),
       url('fonts/Gilroy-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* --- CSS Variables --- */
:root {
  --color-bg: #1A1A1E;
  --color-bg-panel: #242428;
  --color-text: #EEEBE6;
  --color-text-muted: #9B9893;
  --color-accent: #7AB2D4;
  --color-accent-hover: #8FC3DF;
  --color-stroke: rgba(255, 255, 255, 0.08);
  --color-stroke-hover: rgba(255, 255, 255, 0.15);
  --font-heading: 'Gilroy', 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Gilroy', 'Inter', system-ui, -apple-system, sans-serif;
  --max-width: 1200px;
  --max-width-wide: 1440px;
  --gutter: 24px;
  --radius-pill: 100px;
  --radius-lg: 20px;
  --radius-md: 12px;
  --transition: 0.25s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

::selection {
    background: #60569A;
  color: #fff;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

p { color: var(--color-text-muted); line-height: 1.7; }

button {
  font-family: inherit;
  cursor: pointer;
}

/* --- Skip Link (Accessibility) --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 12px 24px;
  background: var(--color-accent);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

/* --- Focus Indicators (Accessibility) --- */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* Remove default outline for mouse clicks, keep for keyboard */
:focus:not(:focus-visible) {
  outline: none;
}

/* --- Scroll-Driven Background Color Layer --- */
.bg-color-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-color: #EEEBE6;
  transition: background-color 0.6s ease;
  pointer-events: none;
}

/* --- Layout Containers --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container-wide {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.full-bleed {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
}

/* --- Section Blocks --- */
.section-block {
  position: relative;
  padding: 80px 0;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  background: transparent;
  transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
  padding: 14px 0;
  background-color: rgba(26, 26, 30, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Nav height variable for sticky offset */

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

.nav-logo {
  display: flex;
  align-items: center;
  color: #EEEBE6;
  transition: color var(--transition);
}

.nav-logo:hover { color: var(--color-accent); }

.header-logo {
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition);
}

.nav-links a:hover { color: var(--color-text-muted); }
.nav-links a:hover::after { width: 100%; }

.nav-links a.active { color: var(--color-accent); }
.nav-links a.active::after { width: 100%; background: var(--color-accent); }

.nav-cta {
  border: 2px solid var(--color-text) !important;
  padding: 6px 24px;
  border-radius: var(--radius-pill);
  transition: all var(--transition) !important;
}

.nav-cta:hover {
  background: var(--color-accent) !important;
  border-color: var(--color-accent) !important;
  color: #fff !important;
}

.nav-cta::after { display: none !important; }

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: all 0.3s ease;
  display: block;
}

.nav-mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-mobile-toggle.active span:nth-child(2) { opacity: 0; }
.nav-mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Mobile Menu --- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(26, 26, 30, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu-link {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text);
  transition: color var(--transition);
}

.mobile-menu-link:hover { color: var(--color-accent); }

/* --- Hero --- */
.hero {
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(122, 178, 212, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(96, 86, 154, 0.12) 0%, transparent 50%);
  pointer-events: none;
  animation: heroPulse 8s ease-in-out infinite alternate;
}

@keyframes heroPulse {
  0% { opacity: 0.7; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.05); }
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.2s forwards;
}

.hero-title {
  font-size: clamp(42px, 8vw, 96px);
  font-weight: 700;
  line-height: 0.95;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.4s forwards;
}

.gradient-text {
  background: linear-gradient(135deg, #EAABBC 0%, #60569A 50%, #195353 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-subtitle {
  font-size: 19px;
  max-width: 680px;
  margin: 0 auto 16px;
  color: var(--color-text-muted);
  opacity: 0;
  animation: fadeUp 0.8s ease 0.6s forwards;
}

.hero-sub-note {
  font-size: 17px;
  color: rgba(37, 37, 37, 0.85);
  max-width: 580px;
  margin: 0 auto 40px;
  font-weight: 500;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.7s forwards;
}

/* --- Hero Badge --- */
.hero-badge {
  display: inline-block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-bottom: 32px;
  padding: 8px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  opacity: 0;
  animation: fadeUp 0.8s ease 0.2s forwards;
}

.hero-badge-accent {
  color: #7AB2D4;
  font-weight: 700;
}

/* --- Pill Button --- */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  padding: 14px 36px;
  border: 2px solid var(--color-text);
  border-radius: var(--radius-pill);
  color: var(--color-text);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
  opacity: 0;
  animation: fadeUp 0.8s ease 0.9s forwards;
}

.btn-pill:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
  transform: scale(1.02);
  box-shadow: 0 10px 30px rgba(25, 83, 83, 0.3);
}

.btn-pill .arrow {
  transition: transform var(--transition);
}

.btn-pill:hover .arrow {
  transform: translateX(4px);
}

/* Non-hero btn-pill should not have the fade animation */
.cta-block .btn-pill {
  opacity: 1;
  animation: none;
}

/* --- Scroll indicator --- */
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
  animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

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

/* --- Eyebrow (filled treatment, all sections) --- */
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
  background: linear-gradient(135deg, #195353, #60569A);
  color: #fff;
  border: none;
  padding: 8px 22px;
  font-size: 13px;
  letter-spacing: 0.14em;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(25, 83, 83, 0.3);
}

/* --- Section Titles --- */
.section-title {
  font-size: clamp(32px, 5vw, 52px);
  margin-bottom: 20px;
}

.section-title.big {
  font-size: clamp(36px, 5.5vw, 60px);
}

.section-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 700px;
  margin-bottom: 48px;
}

.section-subtitle a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --- Feature List --- */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.feature-item.sm {
  gap: 12px;
}

.feature-item .check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(122, 178, 212, 0.15);
  color: var(--color-accent);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  margin-top: 2px;
}

.feature-item.sm .check {
  width: 22px;
  height: 22px;
  font-size: 12px;
}

.feature-item strong {
  display: block;
  color: var(--color-text);
  font-size: 17px;
  margin-bottom: 4px;
}

.feature-item p,
.feature-item span {
  color: var(--color-text-muted);
  font-size: 16px;
  line-height: 1.6;
}

/* --- Q&A Headline --- */
.qa-headline {
  font-family: var(--font-heading);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}

/* --- Self-Selection Q&A Stack --- */
.qa-section {
  padding: 60px 0;
}

.qa-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
}

.qa-line {
  display: block;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.qa-line:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.qa-line:hover {
  padding-left: 12px;
}

.qa-text {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(22px, 3.5vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  color: rgba(238, 235, 230, 0.25);
  transition: color 0.3s ease;
}

.qa-line:hover .qa-text {
  color: rgba(238, 235, 230, 0.95);
}

.qa-dest {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
  margin-top: 8px;
  opacity: 0;
  transform: translateY(-8px);
  transition: all 0.3s ease;
}

.qa-dest .arrow {
  transition: transform 0.25s ease;
}

.qa-line:hover .qa-dest {
  opacity: 1;
  transform: translateY(0);
}

.qa-line:hover .qa-dest .arrow {
  transform: translateX(4px);
}

/* --- Client Logo Bar --- */
.logo-bar-section {
  padding: 60px 0;
}

.logo-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.logo-placeholder {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.25);
  padding: 16px 28px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- Sprint Cards --- */
.sprints-section {
  padding: 80px 0;
}

.sprint-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-stroke);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 0;
}

.sprint-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding: 40px 40px 0;
}

.sprint-headline {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 8px;
}

.sprint-offering {
  font-size: 16px;
  color: var(--color-text-muted);
  font-weight: 500;
}

.sprint-price-tag {
  font-size: 32px;
  font-weight: 800;
  color: var(--color-text);
  font-family: var(--font-heading);
  white-space: nowrap;
  padding: 12px 28px;
  background: rgba(122, 178, 212, 0.1);
  border: 1px solid rgba(122, 178, 212, 0.25);
  border-radius: var(--radius-md);
}

.sprint-card-body {
  padding: 32px 40px 40px;
}

.sprint-desc {
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 28px;
  max-width: 720px;
}

.sprint-cta {
  margin-top: 0;
  opacity: 1;
  animation: none;
  white-space: nowrap;
}

.sprint-testimonial {
  padding: 24px 40px;
  border-top: 1px solid var(--color-stroke);
  background: rgba(255, 255, 255, 0.02);
}

.sprint-testimonial p,
.sprint-testimonial em {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
  font-style: normal;
}

/* --- Sprint Divider --- */
.sprint-divider {
  width: 100%;
  height: 1px;
  background: var(--color-stroke);
  margin: 24px 0 32px;
}

/* --- Sprint Problem Statement --- */
.sprint-problem-block {
  padding: 12px 20px;
  border-left: 3px solid var(--color-accent);
  background: rgba(122, 178, 212, 0.06);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 16px;
}

.sprint-problem {
  font-size: 18px;
  font-style: italic;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 0;
  opacity: 1;
  line-height: 1.5;
}

/* --- Sprint Price Column --- */
.sprint-price-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.sprint-availability {
  font-size: 13px;
  font-weight: 600;
  color: #EAABBC;
  background: rgba(234, 171, 188, 0.12);
  border: 1px solid rgba(234, 171, 188, 0.3);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

/* --- Section Problem Statement --- */
.section-problem {
  font-size: 16px;
  font-style: italic;
  color: var(--color-accent);
  margin-bottom: 16px;
  opacity: 0.8;
  line-height: 1.5;
}

/* --- Sprint Process Timeline --- */
.sprint-process {
  padding: 28px 40px;
  border-top: 1px solid var(--color-stroke);
  background: rgba(25, 83, 83, 0.03);
}

.sprint-process-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.sprint-process-steps {
  display: flex;
  align-items: center;
  gap: 0;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 0;
}

.step-number {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(25, 83, 83, 0.15);
  border: 2px solid rgba(122, 178, 212, 0.4);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.step-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 2px;
}

.step-days {
  font-size: 12px;
  color: var(--color-text-muted);
}

.process-connector {
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, rgba(25, 83, 83, 0.3), rgba(25, 83, 83, 0.1));
  margin-bottom: 28px;
  min-width: 20px;
}

/* --- Universal 4-Step Process --- */
.sprint-process-universal {
  margin: 40px 0 48px;
  padding: 36px 44px;
  background: linear-gradient(135deg, rgba(122, 178, 212, 0.06) 0%, rgba(96, 86, 154, 0.08) 100%);
  border: 1px solid rgba(122, 178, 212, 0.1);
  border-radius: var(--radius-lg);
}

.sprint-process-universal-title {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 28px;
  text-align: center;
}

.sprint-process-universal-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.process-step-u {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 0;
}

.step-number-u {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #195353, #60569A);
  border-radius: 50%;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  box-shadow: 0 3px 12px rgba(25, 83, 83, 0.25);
}

.step-name-u {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}

.step-desc-u {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.4;
  max-width: 160px;
}

.step-days-u {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.process-connector-u {
  flex: 0 0 auto;
  width: 40px;
  height: 2px;
  background: linear-gradient(to right, rgba(25, 83, 83, 0.4), rgba(96, 86, 154, 0.4));
  margin-top: 22px;
}

/* --- Sprint Three-Column Layout (Process | Deliverables | CTA) --- */
.sprint-columns {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 40px;
  margin-bottom: 8px;
  align-items: start;
}

.sprint-cta-col {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding-top: 28px;
}

.sprint-col h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-stroke);
}

/* --- Workshop Grid --- */
.workshops-section {
  padding: 80px 0;
}

.workshop-price-hero {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text);
  font-family: var(--font-heading);
  margin-bottom: 48px;
  padding: 16px 28px;
  background: rgba(122, 178, 212, 0.08);
  border: 1px solid rgba(122, 178, 212, 0.2);
  border-radius: var(--radius-md);
  display: inline-block;
}

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

.workshop-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-stroke);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.workshop-card:hover {
  border-color: rgba(25, 83, 83, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(25, 83, 83, 0.1);
}

.workshop-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--color-text);
}

.workshop-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  margin-top: 20px;
  margin-bottom: 16px;
}

.workshop-card > p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.workshop-cta {
  margin-top: auto;
  padding-top: 24px;
  opacity: 1;
  animation: none;
}

.workshop-custom {
  border-style: dashed;
  background: transparent;
}

.workshop-custom:hover {
  border-style: solid;
}

/* --- Visuals Section --- */
.visuals-section {
  padding: 120px 0 80px;
}

.visuals-pullquote {
  font-size: clamp(18px, 2.5vw, 24px);
  line-height: 1.6;
  color: rgba(238, 235, 230, 0.7);
  max-width: 760px;
  margin-top: 16px;
  margin-bottom: 48px;
}

.sizzle-reel-placeholder {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, rgba(122, 178, 212, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sizzle-reel-placeholder:hover {
  border-color: rgba(25, 83, 83, 0.3);
}

.sizzle-reel-inner {
  text-align: center;
  color: var(--color-text-muted);
}

.sizzle-play-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(122, 178, 212, 0.2);
  border: 2px solid rgba(122, 178, 212, 0.4);
  color: #fff;
  font-size: 32px;
  margin: 0 auto 16px;
  transition: all 0.3s ease;
}

.sizzle-reel-placeholder:hover .sizzle-play-btn {
  background: rgba(122, 178, 212, 0.4);
  transform: scale(1.1);
}

.sizzle-reel-inner p {
  font-size: 15px;
  color: var(--color-text-muted);
}

/* --- Visuals Manifesto --- */
.visuals-manifesto {
  text-align: center;
  margin-top: 48px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.visuals-manifesto p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

/* --- Testimonials --- */
.testimonials-section {
  padding: 80px 0;
}

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

.testimonial-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-stroke);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-quote {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(238, 235, 230, 0.85);
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-attribution {
  border-top: 1px solid var(--color-stroke);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.testimonial-attribution strong {
  font-size: 15px;
  color: var(--color-text);
}

.testimonial-attribution span {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* --- Tools Marquee --- */
.tools-marquee {
  overflow: hidden;
  padding: 32px 0;
  margin-bottom: 60px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Edge fade masks */
.tools-marquee::before,
.tools-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 200px;
  z-index: 2;
  pointer-events: none;
}

.tools-marquee::before {
  left: 0;
  background: linear-gradient(to right, #1A1A1E 0%, transparent 100%);
}

.tools-marquee::after {
  right: 0;
  background: linear-gradient(to left, #1A1A1E 0%, transparent 100%);
}

.tools-track {
  display: flex;
  gap: 16px;
  width: max-content;
  will-change: transform;
}

.tools-track--left {
  animation: marqueeLeft 35s linear infinite;
}

.tools-track--right {
  animation: marqueeRight 40s linear infinite;
}

.tools-track span {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(238, 235, 230, 0.3);
  padding: 12px 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.03);
}

.tools-track span:hover {
  color: #EEEBE6;
  border-color: var(--color-accent);
  background: rgba(25, 83, 83, 0.12);
  box-shadow: 0 0 24px rgba(25, 83, 83, 0.2), inset 0 0 12px rgba(25, 83, 83, 0.06);
  transform: scale(1.08);
}

/* Accent tools — brighter by default */
.tools-track span.tool-accent {
  color: rgba(238, 235, 230, 0.45);
  border-color: rgba(122, 178, 212, 0.2);
  background: rgba(122, 178, 212, 0.06);
}

.tools-track span.tool-accent:hover {
  color: #252525;
  border-color: var(--color-accent);
  background: rgba(25, 83, 83, 0.18);
  box-shadow: 0 0 32px rgba(25, 83, 83, 0.3), inset 0 0 16px rgba(25, 83, 83, 0.08);
}

@keyframes marqueeLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marqueeRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* --- Case Studies Grid --- */
.cases-block {
  padding: 80px 0;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.case-card {
  position: relative;
  background: var(--color-bg-panel);
  border: 1px solid var(--color-stroke);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.case-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.case-card:active {
  transform: translateY(-2px);
  transition-duration: 0.1s;
}

.case-large {
  grid-column: span 2;
}

.case-visual {
  width: 100%;
  height: 240px;
  background: linear-gradient(135deg, rgba(25, 83, 83, 0.2), rgba(25, 83, 83, 0.05));
  position: relative;
}

.case-visual::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--color-bg-panel), transparent);
  pointer-events: none;
}

.case-large .case-visual {
  height: 300px;
}

.case-content {
  padding: 24px 28px 28px;
}

.case-content h3 {
  font-size: 22px;
  margin-bottom: 8px;
  transition: color 0.25s ease;
}

.case-card:hover .case-content h3 {
  color: var(--color-accent);
}

.case-content p {
  font-size: 15px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- Free Resources --- */
.resources-section {
  padding: 80px 0;
}

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

.resource-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-stroke);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.resource-card:hover {
  border-color: rgba(25, 83, 83, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(25, 83, 83, 0.1);
}

.resource-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(122, 178, 212, 0.1);
  border-radius: 12px;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.resource-eyebrow {
  font-size: 11px;
  padding: 5px 16px;
  margin-bottom: 16px;
  align-self: flex-start;
}

.resource-card h3 {
  font-size: 20px;
  color: var(--color-text);
  margin-bottom: 8px;
}

.resource-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.resource-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
  margin-top: auto;
}

.resource-link .arrow {
  transition: transform 0.25s ease;
}

.resource-card:hover .resource-link .arrow {
  transform: translateX(4px);
}

/* --- Featured Pipelines Promo --- */
.pipelines-promo {
  background: rgba(122, 178, 212, 0.06);
  border: 1px solid rgba(122, 178, 212, 0.12);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 32px;
  margin-top: 40px;
}

.pipelines-promo-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
}

.pipelines-promo-text h3 {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 8px;
}

.pipelines-promo-text p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text-muted);
  max-width: 560px;
}

.pipelines-badge {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: #fff;
  background: var(--color-accent);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.pipelines-cta {
  opacity: 1;
  animation: none;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 8px;
}

.pipelines-preview {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.pipeline-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  padding: 10px 20px;
  background: var(--color-bg-panel);
  border: 1px solid var(--color-stroke);
  border-radius: var(--radius-pill);
  transition: all 0.25s ease;
}

.pipeline-chip:hover {
  border-color: rgba(25, 83, 83, 0.3);
  box-shadow: 0 4px 16px rgba(25, 83, 83, 0.08);
}

.pipeline-chip-cat {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--color-accent);
  padding: 2px 8px;
  background: rgba(122, 178, 212, 0.1);
  border-radius: var(--radius-pill);
}

/* --- CTA Section --- */
.cta-block {
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(25, 83, 83, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: clamp(40px, 7vw, 72px);
  margin-bottom: 20px;
}

.cta-subtitle {
  font-size: 20px;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
}

.cta-address {
  margin-top: 60px;
  font-size: 14px;
  color: var(--color-text-muted);
}

/* --- CTA Buttons --- */
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-primary {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.cta-primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}

.cta-secondary {
  background: transparent;
  border-color: var(--color-text);
  color: var(--color-text);
}

/* --- Footer --- */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--color-stroke);
  position: relative;
  z-index: 1;
  background: #141416;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0.6;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}

.footer-address {
  font-size: 13px;
  color: var(--color-text-muted);
}

.footer-copy {
  font-size: 14px;
  color: var(--color-text-muted);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-linkedin {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-stroke);
  color: var(--color-text-muted);
  transition: all var(--transition);
}

.footer-linkedin:hover {
  color: #7AB2D4;
  border-color: #7AB2D4;
  background: rgba(122, 178, 212, 0.1);
}

/* --- Scroll Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Case Study Expanded State --- */
.case-card .case-expand-hint {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(36, 36, 40, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(238, 235, 230, 0.9);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  opacity: 0;
  transform: translateY(-4px);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 2;
  pointer-events: none;
}

.case-card:hover .case-expand-hint {
  opacity: 1;
  transform: translateY(0);
}

.case-card .case-content {
  position: relative;
}

.case-card .case-content::after {
  content: '';
  position: absolute;
  right: 28px;
  bottom: 28px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--color-stroke);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%236B6B6B' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 1h8v8M13 1L1 13'/%3E%3C/svg%3E") no-repeat center;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.case-card:hover .case-content::after {
  opacity: 1;
  border-color: var(--color-accent);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23195353' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 1h8v8M13 1L1 13'/%3E%3C/svg%3E") no-repeat center;
}

/* Overlay backdrop */
.case-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0);
  pointer-events: none;
  transition: background 0.4s ease;
  overflow-y: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 24px 40px;
}

.case-overlay.active {
  background: rgba(0, 0, 0, 0.6);
  pointer-events: all;
}

/* Expanded card panel */
.case-expanded {
  width: 100%;
  max-width: 960px;
  background: #242428;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.case-overlay.active .case-expanded {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.case-expanded-visual {
  width: 100%;
  height: 360px;
  position: relative;
}

.case-expanded-visual::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, #242428, transparent);
  pointer-events: none;
}

.case-expanded-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(36, 36, 40, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #EEEBE6;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 3;
}

.case-expanded-close:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
  transform: scale(1.1);
}

.case-expanded-body {
  padding: 40px 48px 48px;
}

.case-expanded-body h2 {
  font-size: 36px;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.case-expanded-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.case-tag {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--color-accent);
  padding: 4px 12px;
  border: 1px solid rgba(25, 83, 83, 0.3);
  border-radius: var(--radius-pill);
}

.case-expanded-body .case-description {
  font-size: 18px;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

.case-expanded-tools {
  padding-top: 24px;
  border-top: 1px solid var(--color-stroke);
}

.case-expanded-tools h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 12px;
  font-weight: 600;
}

.case-tools-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.case-tools-list span {
  font-size: 14px;
  font-weight: 500;
  color: rgba(238, 235, 230, 0.6);
  padding: 6px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
}

/* --- Product Showcase (Sales Enablement) --- */
.product-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}

.product-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-stroke);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.35s ease,
              box-shadow 0.35s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(25, 83, 83, 0.3);
  box-shadow: 0 12px 40px rgba(25, 83, 83, 0.1);
}

.product-visual {
  position: relative;
  height: 220px;
  display: flex;
  align-items: flex-end;
  padding: 20px 24px;
}

.product-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 6px 14px;
  border-radius: 100px;
}

.product-body {
  padding: 32px;
}

.product-name {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 4px;
}

.product-url {
  margin-bottom: 16px;
}

.product-url a {
  font-size: 14px;
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.product-url a:hover {
  opacity: 0.7;
}

.product-desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.product-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-features li {
  font-size: 14px;
  color: var(--color-text-muted);
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}

.product-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

.product-cta {
  display: inline-flex;
}

/* --- Product tagline --- */
.product-tagline {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
  line-height: 1.4;
}


/* --- Section Gradient Backgrounds --- */
.hero { background: linear-gradient(180deg, #1A1A1E 0%, #1E1A22 100%); }
.qa-section { background: linear-gradient(135deg, #1C1820 0%, #181C22 100%); }
.logo-bar-section { background: linear-gradient(180deg, #1A1A1E 0%, #1C1C20 100%); }
.sprints-section { background: linear-gradient(180deg, #1E2226 0%, #1A2020 100%); }
.workshops-section { background: linear-gradient(135deg, #181E24 0%, #1C1828 100%); }
.visuals-section { background: linear-gradient(135deg, #1E1826 0%, #221A22 100%); }
.testimonials-section { background: linear-gradient(180deg, #1A1A1E 0%, #1E1A20 100%); }
.cases-block { background: linear-gradient(135deg, #1A1A1E 0%, #181C22 100%); }
.resources-section { background: linear-gradient(180deg, #1E1A20 0%, #1A1A1E 100%); }

/* --- CTA Dark Section --- */
.cta-block {
  background: linear-gradient(135deg, #195353 0%, #2A2050 60%, #60569A 100%);
}

.cta-block .cta-glow {
  background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(234, 171, 188, 0.15) 0%, transparent 70%);
}

.cta-block .cta-title {
  color: #fff;
}

.cta-block .cta-subtitle {
  color: rgba(255, 255, 255, 0.65);
}

.cta-block .cta-address {
  color: rgba(255, 255, 255, 0.4);
}

.cta-block .cta-primary {
  background: #EAABBC;
  border-color: #EAABBC;
  color: #252525;
}

.cta-block .cta-primary:hover {
  background: #F0BCC9;
  border-color: #F0BCC9;
  color: #252525;
  box-shadow: 0 10px 30px rgba(234, 171, 188, 0.4);
}

.cta-block .cta-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.cta-block .cta-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

/* --- Bento Tall Card --- */
.case-tall {
  grid-row: span 2;
}

.case-tall .case-visual {
  height: 100%;
  min-height: 300px;
}

.case-tall .case-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(36,36,40,0.95) 60%, transparent 100%);
  padding: 24px 28px 28px;
}

/* --- Calendar Modal --- */
.calendar-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0);
  pointer-events: none;
  transition: background 0.4s ease;
  overflow-y: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 24px 40px;
}

.calendar-overlay.active {
  background: rgba(0, 0, 0, 0.6);
  pointer-events: all;
}

.calendar-modal {
  width: 100%;
  max-width: 780px;
  background: #242428;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.calendar-overlay.active .calendar-modal {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.calendar-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 32px 36px 20px;
}

.calendar-modal-header h3 {
  font-size: 28px;
  font-weight: 800;
  color: #EEEBE6;
  margin-bottom: 4px;
}

.calendar-modal-sub {
  font-size: 15px;
  color: #9B9893;
}

.calendar-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #EEEBE6;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.calendar-close:hover {
  background: #195353;
  border-color: #195353;
  color: #fff;
}

.calendar-legend {
  display: flex;
  gap: 20px;
  padding: 0 36px 20px;
  flex-wrap: wrap;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #9B9893;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.legend-sprint { background: #195353; }
.legend-workshop-am { background: #7AB2D4; }
.legend-workshop-pm { background: #EAABBC; }

.calendar-grid {
  padding: 0 36px;
}

.calendar-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-bottom: 6px;
}

.calendar-header-row {
  margin-bottom: 8px;
}

.calendar-day-header {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9B9893;
  padding: 8px 0;
}

.calendar-cell {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 10px 8px;
  min-height: 80px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.calendar-cell.calendar-weekend {
  opacity: 0.35;
  background: transparent;
}

.calendar-cell.has-sprint {
  border-color: rgba(25, 83, 83, 0.3);
  background: rgba(122, 178, 212, 0.06);
}

.calendar-cell.has-workshop {
  border-color: rgba(122, 178, 212, 0.3);
  background: rgba(122, 178, 212, 0.04);
}

.calendar-cell.has-sprint.has-workshop {
  border-color: rgba(25, 83, 83, 0.3);
  background: linear-gradient(135deg, rgba(25, 83, 83, 0.04), rgba(122, 178, 212, 0.04));
}

.cal-date {
  font-size: 12px;
  font-weight: 700;
  color: #EEEBE6;
  margin-bottom: 2px;
}

.cal-badge {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 3px 6px;
  border-radius: 6px;
  line-height: 1.2;
}

.cal-sprint {
  background: #195353;
  color: #fff;
}

.cal-workshop-am {
  background: rgba(122, 178, 212, 0.2);
  color: #195353;
}

.cal-workshop-pm {
  background: rgba(234, 171, 188, 0.25);
  color: #60569A;
}

.calendar-footer {
  padding: 24px 36px 32px;
  text-align: center;
}

.calendar-footer .btn-pill {
  opacity: 1;
  animation: none;
}

/* =========================================
   RESPONSIVE BREAKPOINTS
   ========================================= */

/* --- Large tablet / small desktop --- */
@media (max-width: 1280px) {
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-large {
    grid-column: span 2;
  }
}

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

/* --- Mobile landscape / small tablet --- */
@media (max-width: 768px) {
  :root {
    --gutter: 20px;
  }

  .section-block {
    padding: 60px 0;
  }

  .nav-links { display: none; }
  .nav-mobile-toggle { display: flex; }

  .hero-title {
    font-size: clamp(36px, 10vw, 60px);
  }

  .hero-subtitle,
  .hero-sub-note {
    font-size: 17px;
  }

  .hero {
    padding-top: 100px;
  }

  .qa-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .qa-answer {
    white-space: normal;
  }

  .workshop-card {
    padding: 28px;
  }

  .workshops-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .sprint-card-header {
    flex-direction: column;
    gap: 16px;
  }

  .sprint-price-col {
    align-items: flex-start;
  }

  .sprint-price-tag {
    align-self: flex-start;
  }

  .cases-grid {
    grid-template-columns: 1fr;
  }

  .case-large {
    grid-column: span 1;
  }

  .case-tall {
    grid-row: span 1;
  }

  .case-tall .case-visual {
    min-height: 200px;
  }

  .calendar-modal {
    max-width: 100%;
  }

  .calendar-row {
    gap: 4px;
  }

  .calendar-cell {
    padding: 6px 4px;
    min-height: 60px;
  }

  .cal-date {
    font-size: 10px;
  }

  .cal-badge {
    font-size: 8px;
    padding: 2px 4px;
  }

  .calendar-legend {
    gap: 12px;
    padding: 0 20px 16px;
  }

  .calendar-grid {
    padding: 0 12px;
  }

  .calendar-modal-header {
    padding: 24px 20px 16px;
  }

  .calendar-footer {
    padding: 20px 20px 24px;
  }

  .case-overlay {
    padding: 60px 16px 24px;
  }

  .case-expanded-visual {
    height: 220px;
  }

  .case-expanded-body {
    padding: 28px 20px;
  }

  .case-expanded-body h2 {
    font-size: 26px;
  }

  .cta-block {
    padding: 72px 0;
  }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .full-bleed {
    overflow-x: hidden;
  }

  .product-showcase {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .product-visual {
    height: 180px;
  }

  .product-body {
    padding: 24px;
  }

  .product-name {
    font-size: 24px;
  }

  .sprint-columns {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .sprint-cta-col {
    padding-top: 0;
    justify-content: flex-start;
  }

  .sprint-process {
    padding: 24px 20px;
  }

  .sprint-process-steps {
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
  }

  .process-connector {
    display: none;
  }

  .process-step {
    flex: 0 0 auto;
    min-width: 70px;
  }

  .sprint-process-universal {
    padding: 24px 20px;
    margin: 28px auto 36px;
  }

  .sprint-process-universal-steps {
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
  }

  .process-connector-u {
    display: none;
  }

  .process-step-u {
    flex: 0 0 calc(50% - 8px);
  }

  .step-desc-u {
    max-width: none;
  }

  .resources-grid {
    grid-template-columns: 1fr;
  }

  .pipelines-promo {
    padding: 28px;
  }

  .pipelines-promo-header {
    flex-direction: column;
    gap: 20px;
  }

  .pipelines-preview {
    gap: 8px;
  }

  .pipeline-chip {
    font-size: 13px;
    padding: 8px 16px;
  }

  .qa-text {
    font-size: clamp(20px, 5vw, 32px);
  }
}

/* --- Mobile --- */
@media (max-width: 480px) {
  .btn-pill {
    padding: 12px 28px;
    font-size: 15px;
  }

  .section-title {
    font-size: clamp(28px, 7vw, 40px);
  }

  .sprint-price-tag {
    font-size: 24px;
    padding: 10px 20px;
  }

  .case-visual {
    height: 180px;
  }

  .case-large .case-visual {
    height: 200px;
  }

  .tools-track {
    gap: 20px;
  }

  .tools-track span {
    font-size: 13px;
    padding: 6px 14px;
  }

  .case-card .case-content::after {
    display: none;
  }

  .product-showcase {
    grid-template-columns: 1fr;
  }
}

/* --- Reduced Motion (Accessibility) --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  html {
    scroll-behavior: auto;
  }

  .hero-glow {
    animation: none;
  }

  .tools-track--left,
  .tools-track--right {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
