:root{
    --bg: #11151A;
    --bg-raise: #171C22;
    --card: #1B2129;
    --border: #2A323B;
    --ink: #ECEAE3;
    --ink-dim: #A6ADB6;
    --accent: #C9A24B;
  }

  *{ box-sizing: border-box; }

  body{
    margin:0;
    background: var(--bg);
    font-family: 'Inter', sans-serif;
    color: var(--ink);
  }

  .section{
    padding: 72px 0;
    overflow: hidden;
  }

  .heading{
    text-align:center;
    max-width: 640px;
    margin: 0 auto 48px;
    padding: 0 24px;
  }

  .heading p.kicker{
    font-size: 13px;
    letter-spacing: 0.02em;
    color: var(--accent);
    margin: 0 0 12px;
  }

  .heading h2{
    font-family: 'Newsreader', serif;
    font-weight: 500;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.25;
    margin: 0;
    color: var(--ink);
  }

  .marquee{
    position: relative;
    width: 100%;
    padding: 30px 0 46px;
    perspective: 1200px;
    mask-image: linear-gradient(to right, transparent 0, black 64px, black calc(100% - 64px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0, black 64px, black calc(100% - 64px), transparent 100%);
  }

  .marquee-track{
    display: flex;
    width: max-content;
    gap: 22px;
    align-items: center;
    transform-style: preserve-3d;
    animation: scroll-rtl 38s linear infinite;
  }

  .marquee:hover .marquee-track{
    animation-play-state: paused;
  }

  @keyframes scroll-rtl{
    from{ transform: translateX(0); }
    to{ transform: translateX(-50%); }
  }

  .card{
    position: relative;
    flex: 0 0 auto;
    width: min(220px, 60vw);
    background: #FFFFFF;
    border: 2px solid #E11D1D;
    border-radius: 10px;
    padding: 20px 18px 18px;
    transform: translateZ(0) rotateX(0deg);
    box-shadow:
      0 1px 0 rgba(255,255,255,0.05) inset,
      0 14px 24px -12px rgba(0,0,0,0.55),
      0 4px 8px -2px rgba(0,0,0,0.45);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
  }

  .card::before{
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 10px;
    padding: 1px;
    background: linear-gradient(155deg, rgba(201,162,75,0.35), rgba(255,255,255,0.02) 40%, rgba(0,0,0,0) 70%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
  }

  .card::after{
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: -10px;
    height: 18px;
    border-radius: 10px;
    background: radial-gradient(50% 100% at 50% 0%, rgba(0,0,0,0.45), rgba(0,0,0,0) 75%);
    z-index: -1;
    transition: opacity 0.35s ease, transform 0.35s ease;
  }

  .marquee-track:hover .card{
    transform: translateZ(0) rotateX(0deg) translateY(0);
  }

  .card:hover{
    transform: translateY(-6px) rotateX(6deg) rotateY(-4deg);
    box-shadow:
      0 1px 0 rgba(255,255,255,0.06) inset,
      0 26px 34px -14px rgba(0,0,0,0.65),
      0 10px 14px -4px rgba(0,0,0,0.5);
  }

  .card:hover::after{
    opacity: 0.7;
    transform: translateY(4px) scale(0.96);
  }

  .card .mark{
    font-family: 'Newsreader', serif;
    font-style: italic;
    font-size: 30px;
    color: var(--accent);
    line-height: 1;
    display:block;
    margin-bottom: 8px;
  }

  .card p.quote{
    font-family: 'Newsreader', serif;
    font-size: 18px;
    line-height: 1.55;
    color: var(--ink);
    margin: 0 0 22px;
  }

  .card .name-row{
    display:flex;
    align-items:center;
    gap: 12px;
  }

  .card .avatar{
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(155deg, #2A323C, #FFFFF);
    border: 1px solid var(--border);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size: 14px;
    font-weight: 500;
    color: #1D4ED8;
    flex-shrink:0;
    box-shadow:
      0 1px 0 rgba(255,255,255,0.08) inset,
      0 3px 6px rgba(0,0,0,0.4);
  }

  .card .name{
    font-size: 14.5px;
    font-weight: 500;
    color: #1D4ED8;
  }

  @media (max-width: 640px){
    .section{ padding: 56px 0; }
    .card{ width: min(170px, 58vw); padding: 16px 14px 14px; }
    .marquee{ perspective: 800px; }
    .marquee-track{ animation-duration: 26s; gap: 12px; }
  }

  @media (prefers-reduced-motion: reduce){
    .marquee-track{ animation: none; }
    .marquee{ overflow-x: auto; }
  }