:root {
  color-scheme: light;
  --ink: #17120f;
  --muted: #6f6258;
  --paper: #f6ead8;
  --surface: #fff7e8;
  --night: #1f2524;
  --line: #dec9b0;
  --green: #8bd35f;
  --gold: #ffbf3f;
  --red: #ef5b3f;
  --blue: #257da1;
  --visited: #65469c;
  --shadow: 10px 10px 0 rgba(18, 16, 12, 0.16);
  --display: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  --body: "Archivo", "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "Consolas", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 14%, rgba(139, 211, 95, 0.38), transparent 24rem),
    radial-gradient(circle at 16% 32%, rgba(255, 191, 63, 0.28), transparent 20rem),
    linear-gradient(180deg, #fff7e8 0%, var(--paper) 56%, #f1e1cb 100%);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.56;
}

a {
  color: var(--blue);
}

a:visited {
  color: var(--visited);
}

a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

img {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 70px;
  padding: 0 max(20px, calc((100vw - 1220px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-bottom: 2px solid var(--ink);
  background: rgba(255, 250, 240, 0.9);
  backdrop-filter: blur(14px);
}

.brand,
nav,
.hero-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.brand:visited {
  color: var(--ink);
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--night);
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.78rem;
}

nav {
  gap: 22px;
  font-family: var(--mono);
  font-size: 0.92rem;
  font-weight: 800;
}

nav a {
  color: var(--ink);
  text-decoration: none;
}

nav a:hover {
  color: var(--red);
}

main > section,
.case-study {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
  scroll-margin-top: 92px;
}

.loading {
  padding: 80px 0;
  color: var(--muted);
}

.hero {
  min-height: calc(100vh - 70px);
  padding: 52px 0 38px;
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(520px, 1fr);
  gap: clamp(84px, 8vw, 132px);
  align-items: center;
}

.hero-copy,
.case-hero > div,
.section-heading,
.answer-band > div {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 14px;
  font-family: var(--mono);
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  line-height: 0.94;
  letter-spacing: 0;
}

h1 {
  max-width: 560px;
  font-size: clamp(3.7rem, 7vw, 6.9rem);
}

.word-cycle {
  position: relative;
  display: grid;
  min-width: 0;
  width: max-content;
  max-width: 100%;
  color: var(--red);
}

.word-cycle span {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(0.22em) rotateX(-65deg);
  transform-origin: 50% 90%;
  animation: wordCycle 8s infinite;
}

.word-cycle span:nth-child(2) {
  animation-delay: 2s;
}

.word-cycle span:nth-child(3) {
  animation-delay: 4s;
}

.word-cycle span:nth-child(4) {
  animation-delay: 6s;
}

.beat-line {
  max-width: 620px;
  margin-top: 22px;
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  gap: 10px;
  align-items: center;
  color: var(--night);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.beat-line i {
  height: 3px;
  background: linear-gradient(90deg, var(--ink), var(--green), var(--red));
  transform-origin: left center;
  animation: beatPulse 2s ease-in-out infinite;
}

.beat-line i:nth-of-type(2) {
  animation-delay: 0.3s;
}

.beat-line i:nth-of-type(3) {
  animation-delay: 0.6s;
}

.lede {
  max-width: 820px;
  margin: 24px 0 0;
  color: #312d25;
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 46px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  background: var(--surface);
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.button:visited {
  color: var(--ink);
}

.button.primary {
  background: var(--night);
  color: #fffaf0;
}

.button.primary:visited {
  color: #fffaf0;
}

.button:hover {
  transform: translateY(-1px);
}

.signal-console {
  position: relative;
  z-index: 1;
  isolation: isolate;
  border: 2px solid var(--ink);
  background: var(--night);
  color: #fff7e8;
  box-shadow: var(--shadow);
}

.console-top {
  min-height: 62px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 2px solid var(--ink);
  background: var(--green);
  color: var(--ink);
}

.console-top span,
.kofi-chip span {
  display: block;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.console-top strong,
.kofi-chip strong {
  display: block;
  font-family: var(--display);
  font-size: 1.18rem;
  line-height: 1;
}

.signal-stage {
  position: relative;
  min-height: 382px;
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
  background:
    linear-gradient(90deg, rgba(255, 247, 232, 0.08) 1px, transparent 1px),
    #111817;
  background-size: 28px 28px;
}

.signal-card {
  position: absolute;
  inset: 18px;
  margin: 0;
  border: 2px solid var(--ink);
  background: var(--surface);
  opacity: 0;
  transform: translateX(32px) scale(0.98);
  animation: proofDeck 16s infinite;
  will-change: opacity, transform;
}

.signal-card:nth-child(2) {
  animation-delay: 4s;
}

.signal-card:nth-child(3) {
  animation-delay: 8s;
}

.signal-card:nth-child(4) {
  animation-delay: 12s;
}

.signal-card img {
  width: 100%;
  height: calc(100% - 46px);
  object-fit: contain;
  border-bottom: 2px solid var(--ink);
  background: #e9f0ed;
}

.signal-card figcaption {
  min-height: 46px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

.signal-card figcaption span {
  color: var(--red);
  font-family: var(--mono);
  font-size: 0.74rem;
  text-transform: uppercase;
}

.console-grid figure {
  margin: 0;
}

.console-grid figcaption {
  padding: 10px 12px;
  color: #e4dccd;
  font-weight: 800;
}

.console-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.console-grid figure:first-child {
  border-right: 2px solid var(--ink);
}

.console-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: #e9f0ed;
  border-bottom: 2px solid var(--ink);
}

.kofi-chip {
  padding: 14px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  background: #fff7e8;
  color: var(--ink);
}

.kofi-chip img,
.contact img {
  object-fit: cover;
  border: 2px solid var(--ink);
}

.kofi-chip img {
  width: 72px;
  aspect-ratio: 1;
}

.kofi-chip p {
  margin: 0;
}

.kofi-chip strong {
  display: block;
  font-family: var(--display);
  font-size: 1.24rem;
}

.kofi-chip span {
  margin-top: 4px;
  color: var(--muted);
  letter-spacing: 0;
  text-transform: none;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.proof-strip div {
  min-height: 118px;
  padding: 18px;
  border-right: 2px solid var(--ink);
}

.proof-strip div:last-child {
  border-right: 0;
}

.proof-strip strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 4.3rem);
  line-height: 0.9;
}

.proof-strip span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 800;
}

.straight-answer,
.case-index,
.proof-system,
.contact,
.gallery-section {
  padding: 78px 0;
}

.straight-answer {
  max-width: none;
  width: 100%;
  padding-left: max(20px, calc((100vw - 1220px) / 2));
  padding-right: max(20px, calc((100vw - 1220px) / 2));
  background: var(--night);
  color: #fff7e8;
  border-bottom: 2px solid var(--ink);
}

.straight-answer h2,
.section-heading h2 {
  font-size: clamp(2.5rem, 5.4vw, 5.4rem);
}

.straight-answer p:last-child,
.section-heading > p {
  max-width: 980px;
  margin: 18px 0 0;
  color: #e4dccd;
  font-size: 1.08rem;
}

.answer-bands {
  width: 100%;
}

.answer-band {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(420px, 0.86fr);
  gap: 42px;
  align-items: center;
  padding: 70px max(20px, calc((100vw - 1220px) / 2));
  border-bottom: 2px solid var(--ink);
}

.answer-band:nth-child(even) {
  background: rgba(255, 247, 232, 0.72);
}

.answer-band h3 {
  max-width: 680px;
  font-size: clamp(2.3rem, 5vw, 5rem);
}

.answer-band p:not(.eyebrow) {
  max-width: 660px;
  color: var(--muted);
  font-size: 1.1rem;
}

.answer-band figure {
  position: relative;
  z-index: 1;
  margin: 0;
  border: 2px solid var(--ink);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.answer-band img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border-bottom: 2px solid var(--ink);
  background: #e9f0ed;
}

.answer-band figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-weight: 900;
}

.section-heading {
  max-width: 920px;
  margin-bottom: 34px;
}

.carousel-heading {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.carousel-heading > div:first-child {
  max-width: 920px;
}

.carousel-controls {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 8px;
}

.carousel-button {
  width: 48px;
  height: 48px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--green);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  font-family: var(--mono);
  font-size: 1.35rem;
  font-weight: 900;
  cursor: pointer;
}

.carousel-button:hover {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 var(--ink);
}

.carousel-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
  box-shadow: none;
  background: var(--surface);
}

.carousel-count {
  min-width: 70px;
  font-family: var(--mono);
  font-weight: 900;
}

.case-carousel-shell {
  position: relative;
}

.case-orbit {
  position: relative;
  min-height: 560px;
  perspective: 1400px;
  transform-style: preserve-3d;
}

.case-orbit:focus {
  outline: 3px solid var(--red);
  outline-offset: 8px;
}

.case-card {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(520px, 72vw);
  border: 2px solid var(--ink);
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: translateX(-50%);
  transition: transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 360ms ease, filter 360ms ease;
  will-change: transform, opacity;
}

.case-card:nth-child(1),
.case-card:nth-child(5) {
  background: #fff1c7;
}

.case-card[data-slot="active"] {
  z-index: 5;
  opacity: 1;
  filter: none;
  transform: translateX(-50%) translateZ(120px) rotateY(0deg);
}

.case-card[data-slot="prev"] {
  z-index: 4;
  opacity: 0.88;
  filter: saturate(0.82) brightness(0.94);
  transform: translateX(calc(-50% - 360px)) translateZ(-110px) rotateY(24deg) rotateZ(-2deg) scale(0.88);
}

.case-card[data-slot="next"] {
  z-index: 4;
  opacity: 0.88;
  filter: saturate(0.82) brightness(0.94);
  transform: translateX(calc(-50% + 360px)) translateZ(-110px) rotateY(-24deg) rotateZ(2deg) scale(0.88);
}

.case-card[data-slot="far-prev"] {
  z-index: 3;
  opacity: 0.38;
  filter: saturate(0.55) brightness(0.88);
  transform: translateX(calc(-50% - 550px)) translateZ(-260px) rotateY(34deg) rotateZ(-4deg) scale(0.74);
}

.case-card[data-slot="far-next"] {
  z-index: 3;
  opacity: 0.38;
  filter: saturate(0.55) brightness(0.88);
  transform: translateX(calc(-50% + 550px)) translateZ(-260px) rotateY(-34deg) rotateZ(4deg) scale(0.74);
}

.case-card[data-slot="hidden"] {
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateZ(-420px) scale(0.62);
}

.case-card:not([data-slot="active"]) a {
  pointer-events: none;
}

.case-card a {
  min-height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  color: var(--ink);
  text-decoration: none;
}

.case-card a:visited {
  color: var(--ink);
}

.case-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border-bottom: 2px solid var(--ink);
  background: #eaf1ef;
}

.case-card-copy {
  padding: 20px;
}

.case-card h3 {
  font-size: clamp(1.65rem, 3vw, 3rem);
}

.case-card p:not(.eyebrow) {
  color: var(--muted);
}

.case-card span {
  display: inline-flex;
  margin-top: 8px;
  color: var(--red);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.case-track-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 900;
}

.case-track-line::before {
  content: "";
  flex: 1;
  height: 2px;
  background: var(--ink);
}

.case-track-line span {
  min-width: 36px;
  padding: 7px 8px;
  border: 2px solid var(--ink);
  background: var(--surface);
  text-align: center;
}

.case-track-line span.active {
  background: var(--red);
  color: var(--surface);
}

.proof-system {
  border-top: 0;
  border-bottom: 2px solid var(--ink);
}

.system-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 2px solid var(--ink);
  background: var(--surface);
}

.system-track article {
  min-height: 250px;
  padding: 22px;
  border-right: 2px solid var(--ink);
}

.system-track article:last-child {
  border-right: 0;
}

.system-track span,
.pipeline-list span {
  color: var(--red);
  font-family: var(--mono);
  font-weight: 800;
}

.system-track h3 {
  margin-top: 44px;
  font-size: 1.8rem;
}

.system-track p {
  color: var(--muted);
}

.contact {
  margin-bottom: 64px;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.contact img {
  width: 190px;
  aspect-ratio: 1;
  object-fit: cover;
  border: 2px solid var(--ink);
}

.contact h2 {
  font-size: clamp(3rem, 6vw, 6rem);
}

.contact p {
  max-width: 820px;
  margin: 14px 0 0;
  color: #312d25;
  font-size: 1.08rem;
}

.back-link {
  display: inline-flex;
  margin: 28px 0;
  color: var(--red);
  font-weight: 900;
  text-underline-offset: 5px;
}

.case-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  padding: 20px 0 46px;
  border-bottom: 2px solid var(--ink);
}

.case-hero h1 {
  max-width: 980px;
  font-size: clamp(3rem, 6vw, 6.2rem);
}

.case-hero figure {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  justify-self: end;
  margin: 0;
  border: 2px solid var(--ink);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.case-hero img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  border-bottom: 2px solid var(--ink);
  background: #eaf1ef;
}

.case-hero figcaption,
.gallery figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-weight: 800;
}

.case-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 2px solid var(--ink);
}

.case-stats div {
  padding: 20px;
  border-right: 2px solid var(--ink);
}

.case-stats div:last-child {
  border-right: 0;
}

.case-stats span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-stats strong {
  display: block;
  margin-top: 8px;
  font-family: var(--display);
  font-size: 1.45rem;
  line-height: 1.05;
}

.angle-note {
  margin: 34px 0;
  padding: 24px;
  border: 2px solid var(--ink);
  background: var(--green);
  box-shadow: 8px 8px 0 var(--night);
}

.angle-note p:last-child {
  max-width: 980px;
  margin: 0;
  color: #0c3024;
  font-size: 1.18rem;
  font-weight: 700;
}

.case-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.38fr);
  gap: 28px;
  align-items: start;
}

.main-proof,
.side-proof {
  display: grid;
  gap: 18px;
}

.detail-block,
.download-box,
.note {
  padding: 22px;
  border: 2px solid var(--ink);
  background: rgba(255, 250, 240, 0.9);
}

.detail-block h2,
.download-box h2 {
  margin: 0 0 12px;
  color: var(--red);
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-block p,
.detail-block ul,
.download-box p,
.note p {
  margin: 0;
  color: var(--muted);
}

.detail-block ul {
  padding-left: 20px;
}

.detail-block li + li {
  margin-top: 8px;
}

.side-proof {
  position: sticky;
  top: 94px;
}

.download-box {
  display: grid;
  gap: 12px;
  background: var(--night);
  color: #fffaf0;
}

.download-box h2 {
  color: var(--gold);
}

.download-box p {
  color: #d9d1c1;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.gallery figure {
  margin: 0;
  border: 2px solid var(--ink);
  background: var(--surface);
}

.gallery img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border-bottom: 2px solid var(--ink);
  background: #eaf1ef;
}

@media (max-width: 1120px) {
  .hero,
  .answer-band,
  .case-hero,
  .case-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 44px;
  }

  .proof-strip,
  .system-track,
  .case-stats,
  .gallery {
    grid-template-columns: 1fr;
  }

  .proof-strip div,
  .system-track article,
  .case-stats div {
    border-right: 0;
    border-bottom: 2px solid var(--ink);
  }

  .proof-strip div:last-child,
  .system-track article:last-child,
  .case-stats div:last-child {
    border-bottom: 0;
  }

  .carousel-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .case-orbit {
    min-height: 540px;
  }

  .case-card {
    width: min(500px, 74vw);
  }

  .case-card[data-slot="prev"] {
    transform: translateX(calc(-50% - 260px)) translateZ(-120px) rotateY(22deg) rotateZ(-2deg) scale(0.84);
  }

  .case-card[data-slot="next"] {
    transform: translateX(calc(-50% + 260px)) translateZ(-120px) rotateY(-22deg) rotateZ(2deg) scale(0.84);
  }

  .case-card[data-slot="far-prev"] {
    transform: translateX(calc(-50% - 380px)) translateZ(-260px) rotateY(32deg) rotateZ(-4deg) scale(0.7);
  }

  .case-card[data-slot="far-next"] {
    transform: translateX(calc(-50% + 380px)) translateZ(-260px) rotateY(-32deg) rotateZ(4deg) scale(0.7);
  }

  .side-proof {
    position: static;
  }
}

@keyframes wordCycle {
  0%, 23% {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
  26%, 97% {
    opacity: 0;
    transform: translateY(-0.22em) rotateX(65deg);
  }
  98%, 100% {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
}

@keyframes beatPulse {
  0%, 100% {
    transform: scaleX(0.22);
    opacity: 0.45;
  }
  45%, 65% {
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes proofDeck {
  0%, 23% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  26%, 97% {
    opacity: 0;
    transform: translateX(-34px) scale(0.985);
  }
  98%, 100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

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

  .word-cycle span:first-child,
  .signal-card:first-child {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 680px) {
  .topbar {
    position: static;
    padding: 14px 20px;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.8rem;
  }

  main > section,
  .case-study {
    width: min(100% - 28px, 1220px);
  }

  h1 {
    font-size: clamp(3.5rem, 16vw, 4.8rem);
  }

  .carousel-controls {
    width: 100%;
    justify-content: space-between;
    padding-bottom: 0;
  }

  .case-orbit {
    min-height: 500px;
    overflow: hidden;
  }

  .case-card {
    width: min(272px, 78vw);
    box-shadow: 5px 5px 0 var(--ink);
  }

  .case-card h3 {
    font-size: clamp(1.45rem, 9vw, 2rem);
  }

  .case-card-copy {
    padding: 16px;
  }

  .case-card[data-slot="prev"] {
    opacity: 0.5;
    transform: translateX(calc(-50% - 158px)) translateZ(-130px) rotateY(24deg) rotateZ(-2deg) scale(0.78);
  }

  .case-card[data-slot="next"] {
    opacity: 0.5;
    transform: translateX(calc(-50% + 158px)) translateZ(-130px) rotateY(-24deg) rotateZ(2deg) scale(0.78);
  }

  .case-card[data-slot="far-prev"],
  .case-card[data-slot="far-next"] {
    opacity: 0;
  }

  .case-track-line {
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .case-track-line::before {
    display: none;
  }

  .straight-answer,
  .case-index,
  .proof-system,
  .contact,
  .gallery-section {
    padding: 58px 0;
  }

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