/* The Duck Lab — bold & modern dark theme */

:root {
  --bg: #0a0e1a;
  --bg-elev: #111726;
  --bg-card: #151c2e;
  --bg-card-2: #1a2236;
  --border: #243049;
  --border-soft: #1c2740;

  --text: #e8ecf5;
  --text-soft: #a8b3cc;
  --text-dim: #6b7693;

  --accent: #2f7bff;
  --accent-bright: #4d94ff;
  --accent-glow: rgba(47, 123, 255, 0.35);
  --accent-soft: rgba(47, 123, 255, 0.12);

  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;

  --container: 1120px;
  --gutter: clamp(20px, 5vw, 48px);

  --shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
  --shadow-accent: 0 8px 30px -8px var(--accent-glow);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: clamp(16px, 1.05vw, 17px);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 1000;
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  z-index: 200;
  transition: width 0.1s linear;
  box-shadow: 0 0 12px var(--accent-glow);
}

/* ---------- Typography ---------- */
h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}

.eyebrow {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin: 0 0 16px;
}

.accent { color: var(--accent-bright); }

.section-title {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  margin-bottom: 16px;
}

.section-sub {
  color: var(--text-soft);
  max-width: 60ch;
  font-size: 1.05rem;
  margin: 0;
}

.section-head {
  margin-bottom: clamp(36px, 5vw, 56px);
  max-width: 60ch;
}

.section {
  padding-block: clamp(64px, 10vw, 120px);
  position: relative;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease),
    box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
  cursor: pointer;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover {
  background: var(--accent-bright);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px -8px var(--accent-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-bright);
  transform: translateY(-2px);
}

.btn-sm { padding: 10px 18px; font-size: 0.9rem; }
.btn-block { display: flex; width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 26, 0.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--border-soft);
  background: rgba(10, 14, 26, 0.9);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}
.brand-logo {
  display: block;
  height: 34px;
  width: auto;
  max-width: none;
}
.brand-icon {
  display: block;
  height: 32px;
  width: auto;
  flex-shrink: 0;
}
.brand--footer .brand-logo { height: 28px; }
.brand--footer .brand-icon { height: 26px; }

.primary-nav ul {
  display: flex;
  gap: 32px;
}
.primary-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-soft);
  transition: color 0.2s var(--ease);
  position: relative;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s var(--ease);
}
.primary-nav a:hover { color: var(--text); }
.primary-nav a:hover::after { width: 100%; }

.nav-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle-bar {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border-soft);
  background: var(--bg);
}
.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px var(--gutter);
}
.mobile-nav a {
  display: block;
  padding: 12px 8px;
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--text-soft);
  border-radius: var(--radius-sm);
}
.mobile-nav a:hover { color: var(--text); background: var(--bg-elev); }
.mobile-nav .btn { margin-top: 8px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(80px, 14vw, 160px);
  padding-bottom: clamp(64px, 10vw, 120px);
  overflow: hidden;
}
.hero-inner { position: relative; z-index: 2; max-width: 920px; }

.hero-title {
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  line-height: 1.04;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: var(--text-soft);
  max-width: 56ch;
  margin: 0 0 36px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: clamp(48px, 7vw, 72px);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 5vw, 56px);
  padding-top: 32px;
  border-top: 1px solid var(--border-soft);
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--accent-bright);
  line-height: 1;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

.hero-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70vw;
  height: 70vw;
  max-width: 800px;
  max-height: 800px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  filter: blur(60px);
  z-index: 1;
  pointer-events: none;
}

/* ---------- Services ---------- */
.services { background: var(--bg); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease),
    background 0.3s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  background: var(--bg-card-2);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent-bright);
  margin-bottom: 20px;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.card-text {
  color: var(--text-soft);
  font-size: 0.96rem;
  margin: 0 0 16px;
}

.card-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.9rem;
  color: var(--text-dim);
}
.card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- Work ---------- */
.work {
  background: var(--bg-elev);
  border-block: 1px solid var(--border-soft);
}

/* Project blocks */
.project {
  padding-block: clamp(32px, 5vw, 56px);
  border-bottom: 1px solid var(--border-soft);
}
.project:last-child { border-bottom: none; }
.project--alt .work-layout--reverse {
  grid-template-columns: 1fr 1.1fr;
}
.project--alt .work-detail { order: 1; }
.project--alt .work-showcase { order: 2; }

.project-head {
  margin-bottom: clamp(24px, 3vw, 36px);
}
.project-eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 10px;
}
.project-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 6px;
}
.project-subtitle {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.05rem;
}

.work-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.shot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.shot { margin: 0; }
.shot--wide { grid-column: 1 / -1; }
/* When you swap a mock for a real screenshot, use: <img class="shot-img" loading="lazy" decoding="async" src="..." alt="..."> */
.shot-img {
  aspect-ratio: 16 / 10;
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  object-fit: cover;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.shot--wide .shot-img { aspect-ratio: 16 / 9; }
.shot-img:hover { border-color: var(--accent); transform: translateY(-2px); }
.shot--wide .mock-app { aspect-ratio: 16 / 9; }
.mock-app {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  background: #0c1322;
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 56px 1fr;
  overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.mock-app:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* sidebar */
.mock-sidebar {
  background: #0a0f1d;
  border-right: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
}
.mock-logo {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--accent);
  margin-bottom: 8px;
}
.mock-nav-item {
  width: 26px;
  height: 5px;
  border-radius: 3px;
  background: var(--border);
}
.mock-nav-item.is-active { background: var(--accent-bright); width: 30px; }

/* main */
.mock-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px 16px;
  min-width: 0;
}
.mock-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mock-pill {
  width: 90px;
  height: 10px;
  border-radius: 5px;
  background: var(--border);
}
.mock-pill--wide { width: 120px; }
.mock-avatar {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
}

/* dashboard stats */
.mock-stats { display: flex; gap: 10px; }
.mock-stat {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mock-stat-num { height: 12px; width: 60%; background: var(--accent-bright); border-radius: 3px; }
.mock-stat-lbl { height: 6px; width: 80%; background: var(--border); border-radius: 3px; }

/* dashboard chart */
.mock-chart {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  min-height: 60px;
}
.mock-bar {
  flex: 1;
  background: var(--border);
  border-radius: 3px 3px 0 0;
  min-height: 8px;
}
.mock-bar.is-tall { background: var(--accent-bright); }

/* compact (job card / inventory) */
.mock-app--compact { grid-template-columns: 1fr; }
.mock-app--compact .mock-main { gap: 10px; }

.mock-rows { display: flex; flex-direction: column; gap: 7px; flex: 1; }
.mock-row {
  height: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 5px;
  width: 85%;
}
.mock-row.is-accent { width: 70%; border-color: var(--accent); background: var(--accent-soft); }

.mock-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  flex: 1;
}
.mock-grid--wide {
  grid-template-columns: repeat(3, 1fr);
}
.mock-cell {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  min-height: 32px;
}
.mock-cell.is-accent { border-color: var(--accent); background: var(--accent-soft); }
.mock-cell.is-low { border-color: #5a3a2a; background: rgba(255,140,80,0.08); }
.shot figcaption {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--text-dim);
  text-align: center;
}

.work-blurb {
  color: var(--text-soft);
  margin: 0 0 24px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.feature-list li {
  position: relative;
  padding-left: 32px;
  font-size: 0.96rem;
}
.feature-check {
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
}
.feature-check::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 5px;
  height: 9px;
  border: solid var(--accent-bright);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.work-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.work-cta .btn { margin: 0; }
.work-note {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 2px;
}

/* ---------- About ---------- */
.about-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.about-text p { color: var(--text-soft); margin: 0 0 16px; }
.about-text p:last-of-type { margin-bottom: 0; }
.about-aside {
  margin-top: 24px !important;
  padding: 20px;
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text) !important;
}

.about-credibility {
  margin-top: 28px !important;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-dim) !important;
  text-transform: uppercase;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 30px;
  position: sticky;
  top: 90px;
}
.about-card-title {
  font-size: 1.2rem;
  margin-bottom: 20px;
}
.process-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.process-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
}
.process-list strong {
  display: block;
  font-family: var(--font-head);
  color: var(--text);
  margin-bottom: 2px;
  font-size: 0.98rem;
}
.process-list li div { color: var(--text-soft); font-size: 0.9rem; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-bright);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid var(--border);
}

/* ---------- Contact ---------- */
.contact {
  background: var(--bg-elev);
  border-top: 1px solid var(--border-soft);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: start;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.field { display: flex; flex-direction: column; gap: 7px; }
.field label {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
}
.optional { color: var(--text-dim); font-weight: 400; }

.field input,
.field textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text);
  font: inherit;
  font-size: 0.96rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--text-dim); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.field-inline { margin-top: 4px; }
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-soft);
  cursor: pointer;
}
.check input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.form-status {
  margin: 0;
  font-size: 0.9rem;
  text-align: center;
  min-height: 1.2em;
}
.form-status.is-success { color: var(--accent-bright); }
.form-status.is-error { color: #ff6b6b; }

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 22px;
}
.contact-card-title {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.contact-card p { margin: 0; color: var(--text-soft); }
.contact-card a { color: var(--accent-bright); transition: color 0.2s var(--ease); }
.contact-card a:hover { color: var(--text); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border-soft);
  padding-block: 40px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand--footer { font-size: 1rem; }
.footer-nav {
  display: flex;
  gap: 24px;
}
.footer-nav a {
  font-size: 0.9rem;
  color: var(--text-soft);
  transition: color 0.2s var(--ease);
}
.footer-nav a:hover { color: var(--accent-bright); }
.copyright {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-dim);
  width: 100%;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
  margin-top: 8px;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .primary-nav,
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav { display: block; height: 0; overflow: hidden; transition: height 0.35s var(--ease); }
  .mobile-nav.is-open { height: auto; }

  .work-layout,
  .work-layout--reverse { grid-template-columns: 1fr; }
  .project--alt .work-detail,
  .project--alt .work-showcase { order: 0; }
  .about-inner { grid-template-columns: 1fr; }
  .about-card { position: static; }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .card-grid { grid-template-columns: 1fr; }
  .shot-grid { grid-template-columns: 1fr; }
  .shot--wide { grid-column: auto; }
  .hero-stats { gap: 24px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-nav { justify-content: center; flex-wrap: wrap; }
}

/* ---------- Case study page ---------- */
.case-hero {
  padding-top: clamp(56px, 10vw, 96px);
  padding-bottom: clamp(40px, 6vw, 64px);
  border-bottom: 1px solid var(--border-soft);
}
.case-hero .eyebrow { margin-bottom: 12px; }
.case-title {
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  margin-bottom: 14px;
}
.case-subtitle {
  color: var(--text-soft);
  font-size: 1.15rem;
  max-width: 60ch;
  margin: 0;
}
.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 40px);
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
}
.case-meta dt {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 4px;
}
.case-meta dd { margin: 0; color: var(--text); font-size: 0.95rem; }

.case-body { padding-block: clamp(48px, 7vw, 80px); }
.case-body .container { max-width: 760px; }

.case-section { margin-bottom: clamp(40px, 6vw, 64px); }
.case-section:last-child { margin-bottom: 0; }
.case-section h2 {
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  margin-bottom: 18px;
}
.case-section h3 {
  font-size: 1.15rem;
  margin: 28px 0 10px;
  color: var(--text);
}
.case-section p { color: var(--text-soft); margin: 0 0 16px; }
.case-section ul { list-style: none; padding: 0; margin: 0; }
.case-section ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: var(--text-soft);
}
.case-section ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.case-quote {
  border-left: 3px solid var(--accent);
  padding: 8px 0 8px 22px;
  margin: 24px 0;
  font-size: 1.1rem;
  color: var(--text);
  font-family: var(--font-head);
}

.case-footer-cta {
  text-align: center;
  padding-block: clamp(48px, 7vw, 72px);
  border-top: 1px solid var(--border-soft);
  background: var(--bg-elev);
}
.case-footer-cta h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin-bottom: 20px;
}
.case-footer-cta .btn { margin: 0 8px 8px; }
