/* Shared styles for standalone case-study SEO landing pages.
   Static (no JS framework, no build step) — these need to be fully
   readable by crawlers on first response, unlike the SPA sections
   they summarize. Kept visually consistent with the main site's
   tokens (see src/styles/globals.css) without depending on it. */

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

html { scroll-behavior: smooth; }

html, body {
  min-height: 100dvh;
  background: #080808;
  color: #e8e2d9;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 5vw, 2rem) 5rem;
}

a { color: inherit; }

/* ── Back link ── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(232, 226, 217, 0.5);
  text-decoration: none;
  transition: color 0.2s ease;
}
.back-link:hover { color: #c8b89a; }

/* ── Hero image ── */
.case-hero {
  margin-top: 2.5rem;
  width: 100%;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: block;
}

/* ── Header ── */
.case-tag {
  display: block;
  margin-top: 2.25rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent, #c8b89a);
}

h1.case-title {
  margin-top: 0.9rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(2.4rem, 7vw, 4rem);
  line-height: 1.05;
  color: #e8e2d9;
}

.case-sub {
  margin-top: 1rem;
  font-size: 1.05rem;
  font-style: italic;
  color: rgba(232, 226, 217, 0.65);
}

/* ── Meta row ── */
.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.case-meta-item .k {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(232, 226, 217, 0.4);
  margin-bottom: 0.35rem;
}
.case-meta-item .v {
  font-size: 0.85rem;
  color: rgba(232, 226, 217, 0.85);
}

/* ── Description ── */
.case-desc {
  margin-top: 2rem;
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(232, 226, 217, 0.85);
  max-width: 620px;
}

/* ── Budget stat ── */
.case-budget {
  margin-top: 1.75rem;
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(232, 226, 217, 0.55);
}
.case-budget strong { color: #c8b89a; font-weight: 500; }

/* ── CTA ── */
.case-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2.75rem;
  padding: 1rem 1.9rem;
  border-radius: 9999px;
  background: #c8b89a;
  color: #080808;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s ease;
}
.case-cta:hover { background: #d8cbb2; }

/* ── Footer ── */
.case-footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: rgba(232, 226, 217, 0.35);
}
