/* ═══════════════════════════════════════════════
   MONORANGE DESIGN — WEBSITE STYLES
   ═══════════════════════════════════════════════ */

/* ── FONTS ── */
@font-face {
  font-family: 'Thestral Neue';
  src: url('../assets/fonts/ThestralNeue-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Hanken Grotesk';
  src: url('../assets/fonts/HankenGrotesk-Variable.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ── TOKENS ── */
:root {
  --cream: #FDF6E7;
  --charcoal: #363636;
  --orange: #FF715B;

  --font-heading: 'Thestral Neue', Georgia, serif;
  --font-body: 'Hanken Grotesk', system-ui, sans-serif;

  --pad: 20px;
  --header-height: 64px;
  --header-height-desktop: 84px;
  --header-height-scrolled: 56px;
  --header-height-scrolled-desktop: 64px;

  --radius-card: 16px;
  --radius-btn: 100px;
  --radius-chip: 100px;

  --transition: 0.2s ease;
}

@media (min-width: 768px) { :root { --pad: 48px; } }
@media (min-width: 1024px) {
  :root {
    --pad: 120px;
    --header-height: var(--header-height-desktop);
    --header-height-scrolled: var(--header-height-scrolled-desktop);
  }
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { background: none; border: none; cursor: pointer; font: inherit; }
input, textarea, select { font: inherit; }

/* ── LAYOUT ── */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: opacity var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
}
.btn-primary:hover { opacity: 0.88; }
.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border: 1.5px solid var(--charcoal);
}
.btn-outline:hover { background: var(--charcoal); color: var(--cream); }
.btn-full { width: 100%; }

/* ── SECTION TYPOGRAPHY ── */
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.label-light { color: var(--orange); }

.section-heading {
  font-family: var(--font-heading);
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  margin-bottom: 16px;
}
.heading-light { color: var(--cream); }
.section-intro {
  font-size: 15px;
  line-height: 1.65;
  color: var(--charcoal);
  max-width: 480px;
}

@media (min-width: 768px) { .section-heading { font-size: 38px; } }
@media (min-width: 1024px) { .section-heading { font-size: 48px; } }


/* ══════════════════════════════════════
   HEADER
══════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--header-height);
  background: var(--cream);
  border-bottom: 1px solid rgba(54, 54, 54, 0.12);
  transition: height var(--transition), background var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  height: var(--header-height-scrolled);
  background: rgba(253, 246, 231, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(54,54,54,0.08), 0 2px 16px rgba(54,54,54,0.08);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo-link { flex-shrink: 0; }
.logo-img {
  height: 36px;
  width: auto;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}
@media (min-width: 768px) { .nav-desktop { display: flex; } }

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal);
  position: relative;
  padding: 4px 10px;
  border-radius: 100px;
  border: 1.5px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.nav-link:hover { color: var(--orange); }
.nav-link.active {
  color: var(--orange);
  border-color: var(--orange);
}

.nav-cta {
  display: none;
  padding: 10px 22px;
  font-size: 14px;
}
@media (min-width: 768px) { .nav-cta { display: inline-flex; } }

.menu-toggle {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
@media (min-width: 768px) { .menu-toggle { display: none; } }

.hamburger-line {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.menu-toggle.open .hamburger-line:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-toggle.open .hamburger-line:last-child  { transform: translateY(-3.25px) rotate(-45deg); }


/* ══════════════════════════════════════
   MOBILE MENU
══════════════════════════════════════ */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 950;
  background: var(--charcoal);
  display: flex;
  flex-direction: column;
  padding: 0 var(--pad);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-top: 20px;
  padding-bottom: 36px;
}

.mobile-menu-top {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
.mobile-logo .logo-img { height: 30px; }

.menu-close {
  color: rgba(253, 246, 231, 0.6);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
}
.close-icon { font-size: 16px; color: var(--cream); }

.mobile-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid rgba(253, 246, 231, 0.1);
  font-family: var(--font-heading);
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--cream);
}
.mobile-nav-link:hover { color: var(--orange); }
.nav-arrow { font-size: 24px; }

.mobile-menu-footer {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mobile-cta { width: 100%; justify-content: center; }
.mobile-contact-info { display: flex; flex-direction: column; gap: 8px; }
.mobile-email {
  font-size: 13px;
  color: rgba(253, 246, 231, 0.6);
}
.mobile-email:hover { color: var(--cream); }
.mobile-socials { display: flex; gap: 16px; }
.mobile-social-link {
  font-size: 13px;
  color: rgba(253, 246, 231, 0.4);
}
.mobile-social-link:hover { color: rgba(253, 246, 231, 0.8); }


/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.section-hero {
  padding-top: calc(var(--header-height) + 64px);
  padding-bottom: 96px;
  text-align: center;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-icon-wrap {
  margin-bottom: 24px;
}
.hero-icon {
  width: 44px;
  height: 48px;
  margin: 0 auto;
}

.hero-heading {
  font-family: var(--font-heading);
  font-size: 38px;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--charcoal);
  max-width: 700px;
  margin-bottom: 20px;
}
@media (min-width: 768px) { .hero-heading { font-size: 52px; } }
@media (min-width: 1024px) { .hero-heading { font-size: 72px; max-width: 960px; } }

.hero-body {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(54, 54, 54, 0.65);
  max-width: 420px;
  margin-bottom: 36px;
}
@media (min-width: 1024px) { .hero-body { font-size: 17px; } }

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}


/* ══════════════════════════════════════
   HOW WE WORK
══════════════════════════════════════ */
.section-process {
  padding: 96px 0;
  border-top: 1px solid rgba(54, 54, 54, 0.1);
}

.process-intro {
  margin-bottom: 64px;
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px 32px;
}
@media (min-width: 768px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .process-grid { grid-template-columns: repeat(3, 1fr); }
}

.step-header {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 16px;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 72px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--orange);
}

.step-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--charcoal);
}

.step-body {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(54, 54, 54, 0.65);
  max-width: 340px;
}


/* ══════════════════════════════════════
   SERVICES
══════════════════════════════════════ */
.section-services {
  padding: 96px 0;
  border-top: 1px solid rgba(54, 54, 54, 0.1);
}

.section-services .section-intro { margin-bottom: 48px; }

/* Service cards */
.service-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 0;
}
@media (min-width: 768px) {
  .service-cards {
    grid-template-columns: 3fr 2fr;
    margin-bottom: 0;
  }
}

.service-card {
  border-radius: var(--radius-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card-featured {
  background: var(--orange);
  color: #fff;
}
.card-dark {
  background: var(--charcoal);
  color: var(--cream);
}

.card-top { display: flex; flex-direction: column; gap: 6px; }
.card-title {
  font-family: var(--font-heading);
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
@media (min-width: 1024px) { .card-title { font-size: 36px; } }

.card-price {
  font-size: 20px;
  font-weight: 600;
}
.card-dark .card-price { color: var(--orange); }
.card-featured .card-price { color: rgba(255,255,255,0.9); }

.card-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card-features li {
  font-size: 14px;
  line-height: 1.5;
  padding-left: 16px;
  position: relative;
}
.card-features li::before {
  content: '–';
  position: absolute;
  left: 0;
  opacity: 0.6;
}
.card-featured .card-features li { color: rgba(255,255,255,0.85); }
.card-dark .card-features li { color: rgba(253, 246, 231, 0.75); }

/* Pricing table */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 48px;
}
.pricing-table td {
  padding: 18px 0;
  border-top: 1px solid rgba(54, 54, 54, 0.1);
  vertical-align: middle;
}
.pricing-table tr:last-child td { border-bottom: 1px solid rgba(54, 54, 54, 0.1); }

.price-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--charcoal);
  width: 40%;
}
.price-detail {
  font-weight: 400;
  color: rgba(54,54,54,0.55);
  font-size: 13px;
}
.price-delivery {
  font-size: 13px;
  color: rgba(54, 54, 54, 0.5);
  width: 30%;
  display: none;
}
@media (min-width: 600px) { .price-delivery { display: table-cell; } }

.price-amount {
  font-size: 15px;
  font-weight: 500;
  text-align: right;
}
.price-contact-link { color: var(--orange); }

/* Add-ons */
.addons {
  margin-top: 48px;
  text-align: center;
}
.addons-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(54, 54, 54, 0.4);
  margin-bottom: 20px;
}
.addon-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.chip {
  display: inline-block;
  padding: 8px 16px;
  border-radius: var(--radius-chip);
  border: 1px solid rgba(54, 54, 54, 0.2);
  font-size: 13px;
  font-weight: 500;
  color: rgba(54, 54, 54, 0.7);
}


/* ══════════════════════════════════════
   PROOF OF WORK
══════════════════════════════════════ */
.section-work {
  padding: 96px 0;
  border-top: 1px solid rgba(54, 54, 54, 0.1);
}

.work-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 24px;
}

.carousel-nav {
  display: none;
  gap: 8px;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 60px;
}
@media (min-width: 768px) { .carousel-nav { display: flex; } }

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--charcoal);
  transition: background var(--transition), color var(--transition), opacity var(--transition);
}
.carousel-btn:hover:not(:disabled) {
  background: var(--charcoal);
  color: var(--cream);
}
.carousel-btn:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}
.next-btn {
  background: var(--charcoal);
  color: var(--cream);
}
.next-btn:hover:not(:disabled) {
  background: var(--orange);
  border-color: var(--orange);
}

/* Carousel */
.carousel-viewport {
  margin-top: 32px;
  overflow: hidden;
  cursor: grab;
}
.carousel-viewport:active { cursor: grabbing; }
.carousel-viewport.no-transition .carousel-track { transition: none; }

.carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.case-card {
  flex: 0 0 calc(85% - 10px);
  min-width: 0;
  position: relative;
  cursor: pointer;
}
@media (min-width: 600px) { .case-card { flex: 0 0 calc(50% - 10px); } }
@media (min-width: 1024px) { .case-card { flex: 0 0 calc(33.333% - 14px); } }

.case-image-wrap {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  aspect-ratio: 4/3;
  background: rgba(54, 54, 54, 0.07);
}
.case-image-placeholder {
  width: 100%;
  height: 100%;
  background: #E8E2D5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.case-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.case-hero-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}
.case-detail-images img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}
.case-image-placeholder.large {
  aspect-ratio: 16/9;
  border-radius: 12px;
  height: auto;
  width: 100%;
}

.case-title {
  font-family: var(--font-heading);
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 8px;
}
.case-outcome {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(54,54,54,0.6);
  margin-bottom: 16px;
}
.case-open-btn::after {
  content: '';
  position: absolute;
  inset: 0;
}
.case-card:hover .case-open-btn { color: var(--orange); border-color: var(--orange); }
.case-open-btn {
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  -webkit-appearance: none;
  cursor: pointer;
  transition: color var(--transition);
}

.carousel-progress {
  margin-top: 28px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(54, 54, 54, 0.45);
  letter-spacing: 0.05em;
}


/* ══════════════════════════════════════
   CONTACT
══════════════════════════════════════ */
.section-contact {
  background: var(--charcoal);
  padding: 96px 0;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 768px) {
  .contact-inner {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 64px;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.contact-info .section-label { color: var(--orange); margin-bottom: 16px; }
.contact-info .section-heading { color: var(--cream); margin-bottom: 20px; }

.contact-body {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(253, 246, 231, 0.6);
  max-width: 380px;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-detail-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.detail-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(253, 246, 231, 0.35);
}
.detail-value {
  font-size: 14px;
  font-weight: 500;
  color: rgba(253, 246, 231, 0.75);
}
a.detail-value:hover { color: var(--cream); }

/* Form */
.contact-form-wrap {
  background: var(--cream);
  border-radius: 20px;
  padding: 32px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 500px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.form-field label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(54, 54, 54, 0.45);
}

.form-field input,
.form-field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(54, 54, 54, 0.2);
  border-radius: 0;
  padding: 10px 0;
  font-size: 14px;
  color: var(--charcoal);
  outline: none;
  transition: border-color var(--transition);
  width: 100%;
  -webkit-appearance: none;
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--charcoal);
  outline: none;
}
.form-field input.field-error,
.form-field textarea.field-error {
  border-color: var(--orange);
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(54, 54, 54, 0.35);
}
.form-field textarea { resize: vertical; min-height: 100px; }

.select-wrap {
  position: relative;
}
.select-wrap::after {
  content: '↓';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  color: rgba(54,54,54,0.4);
  pointer-events: none;
}
.form-field select {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(54, 54, 54, 0.2);
  padding: 10px 24px 10px 0;
  font-size: 14px;
  color: var(--charcoal);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  cursor: pointer;
}
.form-field select:focus { border-color: var(--charcoal); }
.form-field select option { color: var(--charcoal); background: var(--cream); }

.form-field-full { grid-column: 1 / -1; }

@keyframes success-dismiss {
  0%   { opacity: 1; transform: translate(0, 0) scale(1); }
  18%  { transform: translate(0, -3px) scale(1); }
  100% { opacity: 0; transform: translate(0, 14px) scale(0.92); }
}

.form-success {
  text-align: center;
  padding: 48px 24px;
  transform-origin: center center;
}
.form-success.dismissing {
  animation: success-dismiss 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.success-heading {
  font-family: var(--font-heading);
  font-size: 28px;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.success-body {
  font-size: 15px;
  color: rgba(54,54,54,0.6);
}


/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.site-footer {
  background: var(--charcoal);
  border-top: 1px solid rgba(253, 246, 231, 0.08);
  padding: 48px 0 36px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-logo { height: 32px; width: auto; }
.footer-tagline {
  font-size: 13px;
  color: rgba(253, 246, 231, 0.35);
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(253, 246, 231, 0.5);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--cream); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid rgba(253, 246, 231, 0.08);
}
.footer-copy {
  font-size: 12px;
  color: rgba(253, 246, 231, 0.3);
}
.footer-legal { display: flex; gap: 16px; }
.footer-legal-link {
  font-size: 12px;
  color: rgba(253, 246, 231, 0.3);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-legal-link:hover { color: rgba(253, 246, 231, 0.7); }
.footer-socials { display: flex; gap: 20px; }
.footer-social {
  font-size: 13px;
  color: rgba(253, 246, 231, 0.4);
  transition: color var(--transition);
}
.footer-social:hover { color: var(--cream); }


/* ══════════════════════════════════════
   CASE STUDY OVERLAY
══════════════════════════════════════ */
.case-overlay {
  position: fixed;
  inset: 0;
  z-index: 980;
  background: var(--cream);
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.case-overlay.open {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.case-overlay-inner {
  min-height: 100vh;
  padding-bottom: 80px;
}

.case-overlay-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(253, 246, 231, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(54, 54, 54, 0.1);
}

.case-overlay-category {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
}

.case-close-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal);
  padding: 10px 18px;
  border-radius: 100px;
  border: 1.5px solid rgba(54, 54, 54, 0.25);
  background: none;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}
.case-close-btn:hover {
  border-color: var(--charcoal);
  background: var(--charcoal);
  color: var(--cream);
}
.case-close-btn:focus,
.case-close-btn:focus-visible { outline: none; }
.close-x { font-size: 12px; line-height: 1; }

.case-overlay-content {
  padding-top: 40px;
}

.case-overlay-title {
  font-family: var(--font-heading);
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0;
}
@media (min-width: 768px) { .case-overlay-title { font-size: 48px; } }

.case-hero-image {
  margin-bottom: 48px;
}
.case-hero-image .case-image-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 12px;
  height: auto;
}

.case-overview-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 40px;
  border-top: 1px solid rgba(54, 54, 54, 0.12);
  border-bottom: 1px solid rgba(54, 54, 54, 0.12);
  padding-top: 24px;
  padding-bottom: 24px;
  padding: 32px 0;
  border-top: 1px solid rgba(54, 54, 54, 0.12);
  border-bottom: 1px solid rgba(54, 54, 54, 0.12);
  margin-bottom: 48px;
}
@media (min-width: 600px) {
  .case-overview-row { grid-template-columns: repeat(4, 1fr); }
}
.case-overview-item { display: flex; flex-direction: column; gap: 6px; }
.overview-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(54,54,54,0.4);
}
.overview-value { font-size: 15px; font-weight: 500; }

.case-body-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (min-width: 768px) { .case-body-row { grid-template-columns: 1fr 1fr; } }

.case-col-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.case-brief {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(54,54,54,0.75);
}
.case-built-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.case-built-list li {
  font-size: 15px;
  padding-left: 20px;
  position: relative;
  color: rgba(54,54,54,0.75);
}
.case-built-list li::before {
  content: '+';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 600;
}

.case-result-block {
  background: var(--charcoal);
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 48px;
}
.result-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.result-statement {
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--cream);
}
@media (min-width: 768px) { .result-statement { font-size: 32px; } }

.case-detail-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 64px;
}
.case-detail-images .case-image-placeholder {
  aspect-ratio: 4/3;
  border-radius: 12px;
  height: auto;
}

.case-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid rgba(54, 54, 54, 0.1);
}
.case-cta-text {
  font-family: var(--font-heading);
  font-size: 24px;
  letter-spacing: -0.02em;
}
@media (min-width: 768px) { .case-cta-text { font-size: 30px; } }


/* ── Page offset for fixed header ── */
section[id] { scroll-margin-top: var(--header-height-desktop); }


/* ══════════════════════════════════════
   LEGAL PAGES
══════════════════════════════════════ */
.legal-hero {
  padding-top: calc(var(--header-height) + 64px);
  padding-bottom: 48px;
}
.legal-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}
.legal-meta {
  font-size: 14px;
  color: rgba(54, 54, 54, 0.55);
}

.legal-content {
  padding-bottom: 80px;
  max-width: 720px;
}
.legal-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 28px);
  letter-spacing: -0.02em;
  margin: 48px 0 12px;
  padding-top: 48px;
  border-top: 1px solid rgba(54, 54, 54, 0.1);
}
.legal-content h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.legal-content p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(54, 54, 54, 0.8);
  margin: 0 0 16px;
}
.legal-content ul {
  margin: 0 0 16px;
  padding-left: 20px;
}
.legal-content li {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(54, 54, 54, 0.8);
  margin-bottom: 6px;
}
.legal-content a {
  color: var(--charcoal);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-content a:hover { color: var(--orange); }
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(54, 54, 54, 0.6);
  text-decoration: none;
  margin-bottom: 32px;
  transition: color var(--transition);
}
.legal-back:hover { color: var(--charcoal); }


/* ── Focus styles ── */
:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 3px;
}
