:root {
  --bg: #080b12;
  --bg-soft: #0d1322;
  --panel: #111827;
  --panel-2: #151d2e;
  --text: #f8fafc;
  --muted: #9ca3af;
  --muted-2: #cbd5e1;
  --line: rgba(255, 255, 255, 0.1);
  --yellow: #ffd84d;
  --yellow-2: #f7c948;
  --green: #35f0a3;
  --cyan: #4cc9f0;
  --danger: #ff6b6b;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 216, 77, 0.16), transparent 28%),
    radial-gradient(circle at 80% 5%, rgba(76, 201, 240, 0.12), transparent 26%),
    linear-gradient(180deg, #080b12 0%, #090d17 45%, #070911 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 11, 18, 0.82);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 12px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.banana-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 216, 77, 0.45);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255, 216, 77, 0.28), rgba(255, 216, 77, 0.06));
  box-shadow: 0 0 24px rgba(255, 216, 77, 0.16);
}

.banana-shape {
  width: 21px;
  height: 12px;
  border-bottom: 6px solid var(--yellow);
  border-radius: 0 0 22px 22px;
  transform: rotate(-18deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted-2);
  font-size: 14px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--yellow);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 750;
  transition: 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 216, 77, 0.5);
}

.btn.primary {
  position: relative;
  isolation: isolate;
  color: #151102;
  border-color: transparent;
  background: linear-gradient(135deg, var(--yellow), var(--yellow-2));
  box-shadow:
    0 10px 26px rgba(255, 216, 77, 0.16),
    0 0 52px rgba(255, 216, 77, 0.18);
}

.btn.primary::before {
  content: "";
  position: absolute;
  inset: -12px -18px;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(255, 216, 77, 0.34), transparent 68%);
  filter: blur(18px);
  opacity: 0.72;
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.btn.primary:hover {
  box-shadow:
    0 12px 30px rgba(255, 216, 77, 0.18),
    0 0 68px rgba(255, 216, 77, 0.24);
}

.btn.primary:hover::before {
  filter: blur(22px);
  opacity: 0.9;
}

.btn.ghost {
  color: var(--muted-2);
}

.container {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
  min-height: auto;
  padding: 38px 0 44px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 216, 77, 0.26);
  border-radius: 999px;
  color: var(--yellow);
  background: rgba(255, 216, 77, 0.07);
  font-size: 13px;
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px var(--green);
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

h1 {
  max-width: 780px;
  font-size: clamp(40px, 6.2vw, 76px);
}

h2 {
  font-size: clamp(30px, 4.3vw, 50px);
}

h3 {
  font-size: 21px;
}

.lead {
  max-width: 680px;
  margin: 16px 0 0;
  color: var(--muted-2);
  font-size: clamp(17px, 1.8vw, 20px);
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-2);
  background: rgba(255, 255, 255, 0.04);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.system-card {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    var(--panel);
  box-shadow: var(--shadow);
}

.system-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, black, transparent 82%);
  pointer-events: none;
}

.system-title {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  color: var(--muted-2);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.diagram {
  position: relative;
  display: grid;
  gap: 14px;
}

.node {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(8, 11, 18, 0.78);
}

.node strong {
  display: block;
}

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

.node.accent {
  border-color: rgba(255, 216, 77, 0.46);
  background: rgba(255, 216, 77, 0.08);
}

.node small {
  flex: 0 0 auto;
  color: var(--green);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 16px 0 0;
}

.metric {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.metric b {
  display: block;
  color: var(--yellow);
  font-size: 22px;
  line-height: 1;
}

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

.section {
  padding: 48px 0;
}

.section.compact {
  padding: 32px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-head p {
  max-width: 540px;
  margin: 0;
  color: var(--muted-2);
}

.grid {
  display: grid;
  gap: 14px;
}

.grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
}

.card:hover {
  border-color: rgba(255, 216, 77, 0.36);
}

.card p {
  margin: 9px 0 0;
  color: var(--muted-2);
}

.card .tagline {
  margin-top: 18px;
  color: var(--yellow);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.pain-card {
  border-color: rgba(255, 107, 107, 0.18);
}

.icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  border-radius: 15px;
  color: #161102;
  background: var(--yellow);
  font-weight: 900;
}

.icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon svg.icon-fill {
  fill: currentColor;
  stroke: none;
}

.icon svg.icon-clock {
  width: 25px;
  height: 25px;
}

.icon svg.icon-table {
  width: 22px;
  height: 22px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.step {
  position: relative;
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 15px;
  border-radius: 50%;
  color: #141004;
  background: var(--yellow);
  font-weight: 900;
}

.case-feature {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  align-items: stretch;
}

.case-visual {
  min-height: 230px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 216, 77, 0.22), transparent 28%),
    linear-gradient(145deg, #121a2b, #0a0e18);
  padding: 18px;
}

.chat-bubble {
  max-width: 86%;
  margin: 10px 0;
  padding: 10px 12px;
  border-radius: 17px;
  color: var(--muted-2);
  background: rgba(255, 255, 255, 0.07);
}

.chat-bubble.bot {
  margin-left: auto;
  color: #141004;
  background: var(--yellow);
}

.case-card .metric-line {
  margin-top: 14px;
  color: var(--green);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
}

.split-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: center;
  padding: 26px;
  border: 1px solid rgba(255, 216, 77, 0.22);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255, 216, 77, 0.12), rgba(53, 240, 163, 0.04));
}

.price-card.featured {
  border-color: rgba(255, 216, 77, 0.48);
  box-shadow: 0 20px 60px rgba(255, 216, 77, 0.08);
}

.price {
  margin-top: 14px;
  color: var(--yellow);
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.page-hero {
  padding: 58px 0 38px;
}

.page-hero h1 {
  max-width: 940px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr 0.8fr;
  gap: 18px;
}

.footer a {
  display: block;
  margin-top: 9px;
  color: var(--muted-2);
}

.footer strong {
  color: var(--text);
}

.mini-kicker {
  color: var(--yellow);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  caret-color: var(--yellow);
  font: inherit;
}

.field:focus {
  border-color: rgba(255, 216, 77, 0.55);
  outline: none;
}

.field::placeholder {
  color: var(--muted);
}

textarea.field {
  min-height: 120px;
  resize: vertical;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted-2);
  font-size: 14px;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted-2);
}

.form-status.success {
  color: #9be89b;
}

.form-status.error {
  color: #ffb4a8;
}

@media (max-width: 920px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .case-feature,
  .split-band,
  .contact-panel,
  .grid.two {
    grid-template-columns: 1fr;
  }

  .grid.three,
  .grid.four,
  .timeline,
  .metrics-strip,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    min-height: auto;
    padding: 32px 0 36px;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .container,
  .nav {
    width: min(100% - 28px, 1180px);
  }

  .nav-links {
    gap: 14px;
    font-size: 13px;
  }

  .nav {
    gap: 14px;
    padding: 10px 0;
  }

  .hero {
    padding: 28px 0 32px;
  }

  h1 {
    font-size: clamp(34px, 11vw, 44px);
  }

  h2 {
    font-size: clamp(27px, 8.5vw, 36px);
  }

  .grid.three,
  .grid.four,
  .timeline,
  .metrics-strip,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .section-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .section {
    padding: 36px 0;
  }

  .section.compact {
    padding: 26px 0;
  }

  .card,
  .system-card,
  .split-band {
    padding: 18px;
  }

  .page-hero {
    padding: 42px 0 28px;
  }
}

/* ═══════════════════════════════════════════════
   PORTFOLIO / CASE STUDY COMPONENTS
   ═══════════════════════════════════════════════ */

/* Back navigation */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  padding: 6px 12px 6px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-2);
  font-size: 13px;
  transition: color 0.2s, border-color 0.2s;
}

.back-link:hover {
  color: var(--yellow);
  border-color: rgba(255, 216, 77, 0.4);
}

/* Category tag */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border: 1px solid rgba(255, 216, 77, 0.3);
  border-radius: 999px;
  background: rgba(255, 216, 77, 0.08);
  color: var(--yellow);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.tag.green {
  border-color: rgba(53, 240, 163, 0.3);
  background: rgba(53, 240, 163, 0.08);
  color: var(--green);
}

/* Key metrics strip in case hero */
.key-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.key-metric {
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.key-metric b {
  display: block;
  color: var(--yellow);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
}

.key-metric span {
  color: var(--muted);
  font-size: 13px;
}

/* Two-column problem/solution layout */
.case-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.case-col h2 {
  font-size: clamp(22px, 3vw, 32px);
  margin: 10px 0 16px;
}

.case-col p,
.case-col li {
  color: var(--muted-2);
  line-height: 1.65;
}

.case-col ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

/* Screenshot gallery — landscape (desktop apps) */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
  margin-top: 24px;
}

/* Screenshot gallery — portrait (mobile/Telegram) */
.gallery-portrait {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.gallery img {
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  padding: 8px;
  transition: border-color 0.2s;
}

.gallery img:hover {
  border-color: rgba(255, 216, 77, 0.4);
}

/* Results list */
.results-list {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}

.result-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(53, 240, 163, 0.2);
  border-radius: 16px;
  background: rgba(53, 240, 163, 0.04);
  color: var(--muted-2);
  line-height: 1.55;
}

.result-item::before {
  content: "✓";
  color: var(--green);
  font-weight: 900;
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Tech stack tags */
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tech-tag {
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-2);
  background: rgba(255, 255, 255, 0.03);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

/* Project cards (cases index grid) */
.project-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.project-thumb {
  height: 210px;
  overflow: hidden;
  background: var(--panel-2);
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.4s ease;
}

.project-card:hover .project-thumb img {
  transform: scale(1.04);
}

.project-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-body h3 {
  margin: 8px 0 8px;
  font-size: 18px;
}

.project-body > p {
  margin: 0;
  color: var(--muted-2);
  font-size: 14px;
  flex: 1;
}

.case-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 14px;
  color: var(--yellow);
  font-size: 14px;
  font-weight: 700;
  transition: gap 0.2s;
}

.case-link:hover {
  gap: 8px;
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 14px;
}

.project-actions .case-link {
  margin-top: 0;
}

.product-link {
  color: var(--green);
}

.zoomable-image {
  cursor: zoom-in;
}

body.lightbox-open {
  overflow: hidden;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(3, 5, 10, 0.88);
  backdrop-filter: blur(14px);
}

.image-lightbox.active {
  display: flex;
}

.image-lightbox-frame {
  width: min(1100px, 100%);
  max-height: calc(100vh - 56px);
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.image-lightbox-frame img {
  max-width: 100%;
  max-height: calc(100vh - 118px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  object-fit: contain;
  background: var(--panel);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.58);
}

.image-lightbox-frame figcaption {
  max-width: 820px;
  color: var(--muted-2);
  text-align: center;
  font-size: 14px;
}

.image-lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: var(--text);
  background: rgba(17, 24, 39, 0.84);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.image-lightbox-close:hover {
  border-color: rgba(255, 216, 77, 0.52);
  color: var(--yellow);
}

/* CTA card in the cases grid */
.cta-card {
  border-color: rgba(255, 216, 77, 0.22);
  background: linear-gradient(135deg, rgba(255, 216, 77, 0.08), rgba(53, 240, 163, 0.04));
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 300px;
}

/* Featured case on cases index */
.featured-case {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.featured-case-img {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel-2);
  min-height: 280px;
}

.featured-case-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.featured-case-body {
  display: flex;
  flex-direction: column;
}

.featured-case-body h2 {
  margin: 8px 0 12px;
}

.featured-case-body > p {
  color: var(--muted-2);
  margin: 0;
}

.featured-capabilities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.featured-capabilities span {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  color: var(--muted-2);
  background: rgba(255, 255, 255, 0.035);
  font-size: 13px;
}

.case-metrics-row {
  display: flex;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 16px 0 20px;
}

.case-metrics-row div {
  display: flex;
  flex-direction: column;
}

.case-metrics-row b {
  color: var(--yellow);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}

.case-metrics-row span {
  color: var(--muted);
  font-size: 13px;
}

/* Case page hero */
.case-page-hero {
  padding: 44px 0 32px;
}

.case-page-hero h1 {
  margin: 0;
  max-width: 860px;
  font-size: clamp(36px, 5.5vw, 64px);
}

.case-page-hero .lead {
  max-width: 660px;
}

/* Responsive additions */
@media (max-width: 920px) {
  .featured-case,
  .case-cols {
    grid-template-columns: 1fr;
  }

  .featured-case-img {
    min-height: 200px;
    aspect-ratio: 4 / 3;
    height: auto;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-portrait {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

  .key-metrics {
    gap: 8px;
  }

  .key-metric {
    padding: 12px 14px;
  }

  .key-metric b {
    font-size: 22px;
  }

  .case-metrics-row {
    gap: 14px;
  }
}
