/* home.css — home page only: hero + ETL pipeline, problem, solutions,
   how it works, results, tools, compliance, testimonial carousel. */

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 48px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 80% 50%, rgba(123, 147, 196, .1) 0%, transparent 70%), radial-gradient(ellipse 40% 40% at 20% 80%, rgba(123, 147, 196, .05) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

/* ── HERO ETL PIPELINE (animated; replaces the home hero image) ── */
.hero-pipeline {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-pipeline::after { display: none; } /* drop the image vignette */

.pl {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 24px;
  animation: plFadeIn 1s .3s both;
}
@keyframes plFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.pl-row { display: flex; gap: clamp(6px, .7vw, 12px); justify-content: center; }

/* the sources row and its fan of connector lines share one width */
.pl-top { display: flex; flex-direction: column; }

/* fan: one SVG line per source converging on the hub (paths drawn in JS) */
.pl-fan {
  display: block;
  width: 100%;
  height: clamp(42px, 7vh, 80px);
  overflow: visible;
}
.pl-fan path {
  fill: none;
  stroke: rgba(160, 180, 216, .42);
  stroke-width: 1.5;
  stroke-dasharray: 4 5;
  animation: plDash 1.1s linear infinite;
}
@keyframes plDash { to { stroke-dashoffset: -18; } }

.pl-card {
  width: clamp(52px, 4.2vw, 68px);
  height: clamp(52px, 4.2vw, 68px);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* source cards: same translucent tile as the destination cards */
.pl-card-src {
  background: linear-gradient(160deg, rgba(123, 147, 196, .16), rgba(123, 147, 196, .05));
  border: 1px solid var(--border-hover);
}
/* logo sits on a small light chip so it stays legible on the dark tile */
.pl-card-src img {
  width: 74%;
  height: 74%;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  padding: 5px;
}
.pl-fallback {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 8px;
  line-height: 1.05;
  letter-spacing: .01em;
  color: var(--text-dim);
  text-align: center;
  padding: 0 3px;
}

.pl-card-prod {
  flex-direction: column;
  gap: 4px;
  background: linear-gradient(160deg, rgba(123, 147, 196, .16), rgba(123, 147, 196, .05));
  border: 1px solid var(--border-hover);
}
.pl-card-prod svg { width: 18px; height: 18px; color: var(--accent-light); }
.pl-card-prod span {
  font-family: var(--font-mono);
  font-size: 7.5px;
  line-height: 1.05;
  letter-spacing: .02em;
  text-align: center;
  color: var(--text-dim);
}

.pl-link {
  position: relative;
  width: 2px;
  height: clamp(40px, 7vh, 78px);
  margin: 6px 0;
}
.pl-link::before {
  content: '';
  position: absolute;
  inset: 0;
  border-left: 2px dashed rgba(160, 180, 216, .4);
}
.pl-dot {
  position: absolute;
  left: 50%;
  top: 0;
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border-radius: 50%;
  background: var(--accent-light);
  box-shadow: 0 0 12px 3px rgba(160, 180, 216, .85);
  opacity: 0;
  animation: plFlow 2.2s ease-in-out infinite;
}
/* dot flows out of the warehouse down to the destinations */
@keyframes plFlow {
  0%   { top: 0;    opacity: 0; }
  12%  { opacity: 1; }
  85%  { top: 100%; opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.pl-hub {
  position: relative;
  width: clamp(118px, 12vw, 170px);
  height: clamp(74px, 7.6vw, 104px);
  border-radius: 20px;
  border: 1px solid var(--border-hover);
  background: radial-gradient(ellipse at center, rgba(20, 22, 30, .92) 0%, rgba(12, 12, 16, .92) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: plHubPulse 3.4s ease-in-out infinite;
}
.pl-hub::before {
  content: '';
  position: absolute;
  inset: -22px -16px;
  border: 1px solid rgba(123, 147, 196, .28);
  border-radius: 50%;
  pointer-events: none;
}
.pl-hub-icon {
  width: 46%;
  height: 58%;
  color: var(--accent-light);
}
@keyframes plHubPulse {
  0%, 38%   { box-shadow: 0 0 0 1px var(--border), 0 0 26px rgba(123, 147, 196, .14); }
  50%       { box-shadow: 0 0 0 1px var(--accent), 0 0 46px rgba(123, 147, 196, .42); }
  62%, 100% { box-shadow: 0 0 0 1px var(--border), 0 0 26px rgba(123, 147, 196, .14); }
}

.pl-hub-label {
  font-family: var(--font-hero);
  font-style: italic;
  font-size: clamp(18px, 1.6vw, 24px);
  color: var(--accent-light);
  margin-top: 4px;
  text-align: center;
}

@media (max-width: 900px) {
  /* stop overlaying the pipeline over the hero text and stack it
     below as a normal block instead of hiding it outright.
     (The hero's own type/spacing overrides live in the RESPONSIVE
     block at the end of the sheet, after the base .hero-* rules.) */
  .hero-pipeline {
    position: static;
    order: 2;
    width: 100%;
    height: auto;
    margin-top: 24px;
  }
  .pl { padding: 0; }
  .pl-row { flex-wrap: wrap; row-gap: 10px; }
  .pl-card {
    width: clamp(36px, 9.5vw, 52px);
    height: clamp(36px, 9.5vw, 52px);
    border-radius: 11px;
  }
  .pl-hub {
    width: clamp(104px, 30vw, 140px);
    height: clamp(66px, 19vw, 88px);
  }
  .pl-hub-label { font-size: clamp(15px, 4vw, 19px); }
  .pl-fallback { font-size: 6.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .pl { animation: none; }
  .pl-dot { display: none; }
  .pl-hub { animation: none; }
  .pl-fan path { animation: none; }
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp .8s .2s forwards;
}

.hero-title {
  font-family: var(--font-hero);
  font-size: clamp(72px, 10vw, 140px);
  font-weight: 300;
  line-height: .9;
  letter-spacing: -.02em;
  color: var(--text);
  opacity: 0;
  animation: fadeUp .8s .4s forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  margin-top: 40px;
  font-family: var(--font-body);
  font-size: clamp(19px, 2.5vw, 26px);
  font-weight: 400;
  letter-spacing: 0.015em;
  color: var(--text-dim);
  max-width: 1000px;
  line-height: 1.5;
  opacity: 0;
  animation: fadeUp .8s .6s forwards;
}

.hero-cta {
  margin-top: 56px;
  display: flex;
  gap: 16px;
  opacity: 0;
  animation: fadeUp .8s .8s forwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: 2px;
  transition: background .2s, transform .2s;
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: transparent;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--border-hover);
  cursor: pointer;
  border-radius: 2px;
  transition: border-color .2s, color .2s, transform .2s;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}


/* PROBLEM */
.problem-heading {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--text);
}

/* Problem flow infographic */
.problem-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 60px;
}
.problem-flow::before {
  content: '';
  position: absolute;
  top: 38px;
  left: 12.5%;
  right: 12.5%;
  border-top: 2px dashed rgba(123, 147, 196, 0.45);
  z-index: 0;
}
.pf-step {
  position: relative;
  z-index: 1;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.pf-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--bg2);
  border: 1px solid rgba(123, 147, 196, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 22px;
}
.pf-icon svg { width: 34px; height: 34px; }
.pf-title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 10px;
}
.pf-desc {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.015em;
  color: var(--text-dim);
  line-height: 1.55;
  max-width: 230px;
}
@media (max-width: 760px) {
  .problem-flow { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .problem-flow::before { display: none; }
}
@media (max-width: 460px) {
  .problem-flow { grid-template-columns: 1fr; }
}

/* [2] INTERACTIVE SOLUTIONS */
.solutions-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300;
  margin-bottom: 16px;
}

.solutions-title em {
  font-style: italic;
  color: var(--accent);
}

.sol-tabs {
  display: flex;
  margin-top: 64px;
  border-bottom: 1px solid var(--border);
}

.sol-tab {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 16px 32px;
  cursor: pointer;
  border: none;
  background: transparent;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .2s, border-color .2s;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sol-tab svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: .5;
  transition: opacity .2s;
}

.sol-tab:hover {
  color: var(--text);
}

/* Solutions pillars use a gold accent */
.sol-tab.active {
  color: #d8bd86;
  border-bottom-color: #c9a96a;
}

.sol-tab.active svg {
  opacity: 1;
}

.sol-panel {
  display: none;
}

.sol-panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.sol-panel-left {
  background: var(--bg2);
  padding: 56px 48px;
  border: 1px solid var(--border);
  border-right: none;
}

.sol-panel-right {
  background: var(--bg3);
  padding: 56px 48px;
  border: 1px solid var(--border);
}

.sol-panel-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #c9a96a;
  margin-bottom: 20px;
}

.sol-panel-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 300;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.1;
}

.sol-panel-desc {
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0.015em;
  color: var(--text-dim);
  line-height: 1.7;
}

.sol-items {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.sol-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: padding-left .2s;
}

.sol-item:last-child {
  border-bottom: none;
}

.sol-item:hover {
  padding-left: 8px;
}

.sol-item-icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #d8bd86;
  transition: background .2s, border-color .2s;
}

.sol-item:hover .sol-item-icon {
  background: rgba(201, 169, 106, 0.14);
  border-color: #c9a96a;
}

.sol-item-icon svg {
  width: 14px;
  height: 14px;
}

.sol-item-text {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--text-dim);
  flex: 1;
  transition: color .2s;
}

.sol-item:hover .sol-item-text {
  color: var(--text);
}

/* HOW IT WORKS (interactive stepper) */
.hiw-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300;
  margin-bottom: 16px;
}
.hiw-title em { font-style: italic; color: var(--accent); }
.hiw-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  margin-top: 56px;
  align-items: start;
}
.hiw-steps { display: flex; flex-direction: column; }
.hiw-step {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 16px;
  background: none;
  border: none;
  border-left: 2px solid var(--border);
  text-align: left;
  cursor: pointer;
  transition: border-color .25s, background .25s;
}
.hiw-step:hover { background: var(--bg2); }
.hiw-step.active { background: var(--bg2); border-left-color: var(--accent); }
.hiw-step-num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border-hover);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dimmer);
  transition: background .25s, border-color .25s, color .25s;
}
.hiw-step.active .hiw-step-num { background: var(--accent); border-color: var(--accent); color: #fff; }
.hiw-step-label {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text-dim);
  transition: color .25s;
}
.hiw-step:hover .hiw-step-label,
.hiw-step.active .hiw-step-label { color: var(--text); }

.hiw-panel {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 48px;
}
.hiw-panel-watermark {
  position: absolute;
  top: 12px;
  right: 28px;
  font-family: var(--font-display);
  font-size: clamp(96px, 12vw, 150px);
  font-weight: 300;
  line-height: 1;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.32;
  pointer-events: none;
  user-select: none;
}
.hiw-panel-icon { width: 50px; height: 50px; color: var(--accent); margin-bottom: 24px; }
.hiw-panel-icon svg { width: 100%; height: 100%; }
.hiw-panel-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 300;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.15;
}
.hiw-panel-desc {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-dim);
  max-width: 560px;
}
@keyframes hiwFade {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
.hiw-panel-inner { position: relative; animation: hiwFade .4s ease both; }
@media (prefers-reduced-motion: reduce) {
  .hiw-panel-inner { animation: none; }
}
@media (max-width: 860px) {
  .hiw-grid { grid-template-columns: 1fr; gap: 24px; }
  .hiw-panel { min-height: auto; padding: 36px 28px; }
}

/* VISUAL BREAK */
/* RESULTS */
.results-section {
  background: var(--bg2);
  border-top: 1px solid var(--border);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  border: 1px solid var(--border);
  margin-top: 64px;
}

.result-card {
  background: var(--bg3);
  padding: 48px 32px;
  border-right: 1px solid var(--border);
  text-align: center;
  transition: background .3s;
}

.result-card:last-child {
  border-right: none;
}

.result-card:hover {
  background: var(--accent-dim);
  transform: translateY(-4px);
}

/* TOOLS / TECH STACK */
.tools-section {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.tools-intro {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 300;
  line-height: 1.15;
  color: var(--text);
  max-width: 640px;
  margin-bottom: 8px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 56px;
}

.tool-card {
  background: var(--bg2);
  padding: 36px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: background .3s;
}

.tool-card:hover {
  background: var(--bg3);
}

.tool-card img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.9) opacity(.5);
  transition: filter .3s, transform .3s;
}

.tool-card:hover img {
  filter: none;
  transform: translateY(-3px);
}

.tool-card span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-dimmer);
  transition: color .3s;
  text-align: center;
}

.tool-card:hover span {
  color: var(--text);
}

@media (max-width: 900px) {
  .tools-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
}

/* [3.5] COMPLIANCE / TRUST */
.compliance-section {
  background: var(--bg);
}

.compliance-intro {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 300;
  line-height: 1.15;
  color: var(--text);
  max-width: 640px;
  margin-bottom: 14px;
}

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

.compliance-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 40px 36px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  transition: border-color .3s, transform .3s, background .3s;
}

.compliance-card:hover {
  border-color: var(--accent);
  background: var(--bg3);
  transform: translateY(-4px);
}

.compliance-shield {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  color: var(--accent);
}

.compliance-shield svg { width: 100%; height: 100%; }

.compliance-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 10px;
}

.compliance-name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  color: var(--text);
  line-height: 1;
  margin-bottom: 14px;
}

.compliance-desc {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.015em;
  color: var(--text-dim);
  line-height: 1.6;
}

@media (max-width: 980px) {
  .compliance-grid { grid-template-columns: 1fr; }
}

/* Faint data-graphic backdrops per section */
.results-section,
.tools-section,
.compliance-section {
  position: relative;
  overflow: hidden;
}

.results-section > .inner,
.tools-section > .inner,
.compliance-section > .inner {
  position: relative;
  z-index: 1;
}

.results-section::before,
.tools-section::before,
.compliance-section::before {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.32;
}

.results-section::before {
  right: -40px; bottom: -30px;
  width: 560px; height: 340px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='480' height='300'%3E%3Crect x='20' y='180' width='50' height='100' rx='4' fill='%237b93c4'/%3E%3Crect x='100' y='130' width='50' height='150' rx='4' fill='%23c9a96a'/%3E%3Crect x='180' y='90' width='50' height='190' rx='4' fill='%235fc4b8'/%3E%3Crect x='260' y='140' width='50' height='140' rx='4' fill='%23d98a7a'/%3E%3Crect x='340' y='60' width='50' height='220' rx='4' fill='%23a0b4d8'/%3E%3C/svg%3E");
}

.tools-section::before {
  left: -40px; bottom: -30px;
  width: 640px; height: 320px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='300'%3E%3Cpolyline fill='none' stroke='%23c9a96a' stroke-width='4' points='0,240 100,200 200,220 300,140 400,170 500,90 600,120'/%3E%3Ccircle cx='100' cy='200' r='7' fill='%237b93c4'/%3E%3Ccircle cx='300' cy='140' r='7' fill='%235fc4b8'/%3E%3Ccircle cx='500' cy='90' r='7' fill='%23d98a7a'/%3E%3C/svg%3E");
}

.compliance-section::before {
  right: -50px; top: 50%;
  transform: translateY(-50%);
  width: 400px; height: 400px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='360'%3E%3Ccircle cx='180' cy='180' r='60' fill='none' stroke='%235fc4b8' stroke-width='4'/%3E%3Ccircle cx='180' cy='180' r='110' fill='none' stroke='%237b93c4' stroke-width='4'/%3E%3Ccircle cx='180' cy='180' r='160' fill='none' stroke='%23c9a96a' stroke-width='4'/%3E%3C/svg%3E");
}

.result-num {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 400;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 16px;
}

.result-desc {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.5;
  letter-spacing: .02em;
}

/* [4] TESTIMONIAL CAROUSEL */
.testimonials-intro {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 300;
  color: var(--text-dim);
  margin-bottom: 56px;
}

.carousel-wrap {
  position: relative;
  overflow: hidden;
  /* horizontal gestures belong to the carousel, vertical still scrolls */
  touch-action: pan-y;
  cursor: grab;
}

.carousel-wrap.dragging {
  cursor: grabbing;
  user-select: none;
}

.carousel-track {
  display: flex;
  transition: transform .5s cubic-bezier(.4, 0, .2, 1);
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 2px;
}

.testimonial-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  padding: 48px;
  display: flex;
  gap: 40px;
  align-items: flex-start;
  transition: border-color .3s;
}

.testimonial-card:hover {
  border-color: var(--border-hover);
}

.testimonial-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  min-width: 88px;
}

.testimonial-photo-wrap {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: border-color .3s;
}

.testimonial-photo-wrap:hover {
  border-color: var(--accent);
}

.testimonial-right {
  flex: 1;
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 28px;
  border-left: 2px solid var(--accent);
  padding-left: 24px;
}

.testimonial-name {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.testimonial-title-txt {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-dimmer);
  letter-spacing: .08em;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border-hover);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .2s, transform .2s;
}

.carousel-dot.active {
  background: var(--accent);
  transform: scale(1.4);
}

.carousel-nav {
  display: flex;
  gap: 8px;
}

.carousel-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  transition: all .2s;
  font-size: 16px;
}

.carousel-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

