@font-face {
  font-family: "Russo One";
  src: url("assets/RussoOne-Regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Lora";
  src: url("assets/Lora-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  color-scheme: dark;
  --case-bg: #1c1c1c;
  --case-panel: #252525;
  --case-panel-soft: #212121;
  --case-gold: #fed785;
  --case-text: #ddd9d1;
  --case-muted: #a7a39d;
  --case-red: #df173f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--case-text);
  background: var(--case-bg);
  font-family: "Lora", Georgia, serif;
  font-size: 18px;
  line-height: 1.55;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.case-site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(254, 215, 133, 0.15);
  background: rgba(20, 20, 20, 0.92);
  backdrop-filter: blur(14px);
}

.case-header-inner {
  display: flex;
  width: min(1180px, calc(100% - 40px));
  min-height: 78px;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.case-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.case-brand img {
  width: 150px;
}

.case-back-link {
  color: var(--case-gold);
  font-size: 15px;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.case-back-link:hover {
  text-decoration: underline;
}

.case-hero {
  display: grid;
  min-height: 310px;
  place-items: center;
  padding: 45px 20px;
  background:
    radial-gradient(circle at 50% 45%, rgba(254, 215, 133, 0.06), transparent 42%),
    #1c1c1c;
}

.case-hero-logo {
  display: flex;
  width: min(780px, 80vw);
  height: 210px;
  align-items: center;
  justify-content: center;
}

.case-hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.case-hero-logo-coca {
  width: min(720px, 82vw);
}

.case-main {
  padding-bottom: 90px;
}

.case-container {
  width: min(1180px, calc(100% - 80px));
  margin-inline: auto;
}

.case-intro,
.case-section,
.case-summary {
  margin-top: 30px;
  padding: 46px 52px;
  border-radius: 24px;
  background: var(--case-panel);
  box-shadow: 0 12px 45px rgba(0, 0, 0, 0.15);
}

.case-intro {
  margin-top: 0;
  border-radius: 0 0 24px 24px;
}

.case-title,
.case-section h2,
.case-section h3,
.case-summary h2 {
  color: var(--case-gold);
}

.case-title {
  margin: 0 0 32px;
  font-size: clamp(30px, 3.1vw, 48px);
  line-height: 1.15;
  text-align: center;
}

.case-lead {
  margin: 0;
  font-size: 20px;
}

.case-kicker {
  color: var(--case-gold);
  font-weight: 700;
}

.case-section h2,
.case-summary h2 {
  margin: 0 0 25px;
  font-family: "Russo One", Arial, sans-serif;
  font-size: clamp(28px, 2.5vw, 40px);
  font-weight: 400;
  text-transform: uppercase;
}

.case-section h3 {
  margin: 34px 0 18px;
  font-size: 26px;
}

.case-section p {
  margin: 0 0 18px;
}

.case-facts,
.case-metrics {
  display: grid;
  gap: 18px;
  margin: 26px 0 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-fact,
.case-metric {
  padding: 22px 24px;
  border: 1px solid rgba(254, 215, 133, 0.22);
  border-radius: 18px;
  background: var(--case-panel-soft);
}

.case-fact span,
.case-metric span {
  display: block;
  margin-bottom: 6px;
  color: var(--case-muted);
  font-size: 14px;
  text-transform: uppercase;
}

.case-fact strong,
.case-metric strong {
  color: #fff;
  font-size: 20px;
}

.case-steps {
  margin: 0;
  padding-left: 26px;
}

.case-steps li {
  margin-bottom: 18px;
  padding-left: 8px;
}

.case-group {
  padding-top: 15px;
}

.case-group + .case-group {
  margin-top: 45px;
  border-top: 1px solid rgba(254, 215, 133, 0.18);
}

.case-gallery {
  position: relative;
  margin-top: 28px;
}

.case-gallery-stage {
  position: relative;
  display: grid;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid rgba(254, 215, 133, 0.2);
  border-radius: 22px;
  place-items: center;
  background: #111;
}

.case-gallery-slide {
  display: grid;
  width: 100%;
  min-height: 500px;
  padding: 24px;
  place-items: center;
}

.case-gallery-slide[hidden] {
  display: none;
}

.case-gallery-slide img {
  display: block;
  max-width: 100%;
  max-height: 630px;
  border-radius: 10px;
  object-fit: contain;
}

.case-gallery-nav {
  display: flex;
  margin-top: 18px;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.case-gallery-arrow,
.case-gallery-dot {
  border: 1px solid var(--case-gold);
  color: var(--case-gold);
  background: transparent;
  cursor: pointer;
}

.case-gallery-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 22px;
}

.case-gallery-dots {
  display: flex;
  max-width: min(620px, 65vw);
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.case-gallery-dot {
  width: 13px;
  height: 13px;
  padding: 0;
  border-radius: 50%;
}

.case-gallery-dot.is-active {
  background: var(--case-gold);
  box-shadow: 0 0 12px rgba(254, 215, 133, 0.55);
}

.case-gallery-status {
  min-width: 72px;
  color: var(--case-muted);
  font-size: 14px;
  text-align: center;
}

.case-summary {
  border: 1px solid rgba(254, 215, 133, 0.35);
  background:
    linear-gradient(135deg, rgba(254, 215, 133, 0.05), transparent 60%),
    var(--case-panel);
}

.case-summary .case-metric strong {
  color: var(--case-gold);
}

.case-actions {
  display: flex;
  margin-top: 42px;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.case-button {
  display: inline-flex;
  min-width: 270px;
  min-height: 68px;
  padding: 14px 28px;
  border: 0;
  border-radius: 20px;
  align-items: center;
  justify-content: center;
  color: #55422b;
  background: linear-gradient(204.84deg, #fdefd5 2%, #fed785 50%, #ffd57f 75%);
  box-shadow: 0 14px 35px rgba(254, 214, 130, 0.2);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.2s ease;
}

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

.case-button-secondary {
  border: 1px solid var(--case-gold);
  color: var(--case-gold);
  background: transparent;
  box-shadow: none;
}

.case-site-footer {
  padding: 34px 20px;
  border-top: 1px solid rgba(254, 215, 133, 0.15);
  color: var(--case-muted);
  background: #111;
  font-size: 14px;
  text-align: center;
}

.case-video {
  width: 100%;
  max-width: 760px;
  margin: 28px auto 0;
  overflow: hidden;
  border-radius: 22px;
  background: #111;
}

.case-video video {
  display: block;
  width: 100%;
}

@media (max-width: 700px) {
  body {
    font-size: 15px;
  }

  .case-header-inner {
    width: calc(100% - 28px);
    min-height: 64px;
    gap: 12px;
  }

  .case-brand img {
    width: 112px;
  }

  .case-back-link {
    font-size: 11px;
    text-align: right;
  }

  .case-hero {
    min-height: 205px;
    padding: 24px 15px;
  }

  .case-hero-logo {
    width: 92vw;
    height: 145px;
  }

  .case-container {
    width: 100%;
  }

  .case-intro,
  .case-section,
  .case-summary {
    margin-top: 14px;
    padding: 30px 20px;
    border-radius: 0;
  }

  .case-intro {
    margin-top: 0;
  }

  .case-title {
    margin-bottom: 25px;
    font-size: 29px;
    text-align: left;
  }

  .case-lead {
    font-size: 16px;
  }

  .case-section h2,
  .case-summary h2 {
    font-size: 27px;
  }

  .case-section h3 {
    font-size: 22px;
  }

  .case-facts,
  .case-metrics {
    grid-template-columns: 1fr;
  }

  .case-gallery-stage,
  .case-gallery-slide {
    min-height: 300px;
  }

  .case-gallery-slide {
    padding: 10px;
  }

  .case-gallery-dots {
    max-width: 48vw;
  }

  .case-gallery-status {
    display: none;
  }

  .case-button {
    width: 100%;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition-duration: 0.01ms !important;
  }
}
