/* ---------------------------------------------------------------
   Studio marketing site — standalone stylesheet, no build step.
   Deliberately distinct from the client template: dark ground,
   acid accent, hairline rules, numbered margin markers.
--------------------------------------------------------------- */

:root {
  --ground: #0b0c0e;
  --surface: #16181c;
  --surface-raised: #1d2025;
  --ink: #f4f1ea;
  --muted: #a3a09a;
  --muted-dim: #6f6d68;
  --accent: #d9ff3f;
  --accent-ink: #0b0c0e;
  --rule: #2a2d33;
  --rule-strong: #3d4148;
  --radius: 2px;
  --max: 74rem;
  --display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --body: "Space Grotesk", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.05;
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.eyebrow {
  display: block;
  font-family: var(--body);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- header ---------- */

.site-header {
  border-bottom: 1px solid var(--rule);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.wordmark {
  font-family: var(--display);
  font-size: 1.5rem;
  letter-spacing: 0.01em;
}

.wordmark span {
  color: var(--accent);
}

.site-header nav ul {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.site-header nav a {
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

.site-header nav a:hover {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

/* ---------- section scaffolding ---------- */

section {
  border-bottom: 1px solid var(--rule);
  padding: 5rem 0;
  position: relative;
}

.section-head {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.section-number {
  font-family: var(--body);
  font-size: 0.85rem;
  color: var(--muted-dim);
  padding-top: 0.35rem;
}

.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  max-width: 30ch;
}

.section-lede {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 60ch;
}

/* ---------- hero ---------- */

.hero {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 7vw, 5rem);
  max-width: 20ch;
  letter-spacing: -0.01em;
}

.hero .lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1.5rem;
  border-top: 1px solid var(--rule);
  padding-top: 2rem;
}

.hero-facts dt {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-dim);
  margin-bottom: 0.35rem;
}

.hero-facts dd {
  margin: 0;
  font-size: 1.05rem;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--body);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius);
  border: 1px solid var(--accent);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
}

.btn-primary:hover {
  background: #c3e639;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule-strong);
}

.btn-ghost:hover {
  border-color: var(--ink);
}

/* ---------- offer ---------- */

.offer-panel {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.offer-price {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.price-line {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1.25rem;
}

.price-line:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.price-amount {
  font-family: var(--display);
  font-size: 2.75rem;
  color: var(--accent);
  line-height: 1;
}

.price-label {
  color: var(--muted);
  font-size: 0.95rem;
}

.offer-includes h3 {
  font-family: var(--body);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-dim);
  margin-bottom: 1.1rem;
}

.offer-includes ul {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.offer-includes li {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  font-size: 0.98rem;
}

.offer-includes li::before {
  content: "→";
  color: var(--accent);
  flex-shrink: 0;
}

/* ---------- why section ---------- */

.why-body {
  max-width: 62ch;
  font-size: 1.1rem;
  color: var(--muted);
}

.why-body strong {
  color: var(--ink);
}

/* ---------- portfolio ---------- */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.5rem;
}

.site-card {
  display: block;
  text-decoration: none;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 2rem;
  background: var(--surface);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.site-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.site-card .card-tag {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  display: block;
}

.site-card h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.site-card .card-locale {
  color: var(--muted-dim);
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
}

.site-card .card-desc {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.site-card .card-link {
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  color: var(--ink);
  border-top: 1px solid var(--rule);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
}

.site-card:hover .card-link {
  color: var(--accent);
}

.portfolio-note {
  margin-top: 2rem;
  color: var(--muted-dim);
  font-size: 0.9rem;
  max-width: 60ch;
}

/* ---------- final CTA ---------- */

.cta {
  border-bottom: none;
  padding-bottom: 6rem;
}

.cta-panel {
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  padding: 3.5rem 2.5rem;
  text-align: center;
}

.cta-panel h2 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  max-width: 22ch;
  margin: 0 auto 1rem;
}

.cta-panel .lede {
  color: var(--muted);
  max-width: 46ch;
  margin: 0 auto 2.25rem;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- footer ---------- */

.site-footer {
  padding: 2.5rem 0;
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted-dim);
  font-size: 0.85rem;
}

/* ---------- responsive ---------- */

@media (max-width: 640px) {
  section {
    padding: 3.5rem 0;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .offer-panel {
    grid-template-columns: 1fr;
    padding: 1.75rem;
  }

  .hero {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .cta-panel {
    padding: 2.5rem 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }

  .site-card:hover {
    transform: none;
  }
}
