/* 24 Frames Media — company site — 24framesmedia.com
   Built 2026-10-15. Same palette and system typeface as vibestudiomarketing.com
   (brand book v1.5), so the company and its service read as one family.
   No web fonts, no analytics, no cookies, no third-party scripts. */

:root {
  --ink:        #0a0a0a;
  --ink-soft:   #5b5257;
  --ink-faint:  #7a6f75;
  --rule:       #eae4e5;
  --page:       #ffffff;
  --panel:      #f7f4f4;
  --accent:     #c4303c;   /* links and buttons: 5.48:1 on white, and white on it */
  --accent-ink: #a41e30;   /* hover, pressed */
  --accent-mark:#dc4850;   /* the brand crimson: rule marks only */
  --warn:       #8a5a00;
  --warn-pale:  #fff6e0;
  --measure:    38rem;
  --wide:       64rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 1.0625rem/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }

/* ---------- draft banner: DELETE BEFORE PUBLISH ---------- */
.draft {
  background: var(--warn-pale); color: var(--warn);
  border-bottom: 1px solid #efd9a6;
  font-size: 0.8125rem; padding: 0.6rem 1.25rem; text-align: center;
}
/* ---------- placeholders: must be zero before publish ---------- */
.ph {
  background: var(--warn-pale); color: var(--warn);
  border: 1px dashed #d9b25e; border-radius: 4px;
  padding: 0.08em 0.4em; font-size: 0.9em; font-weight: 600;
}

/* ---------- layout ---------- */
.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 1.5rem; }
section { padding: 3.5rem 0; border-top: 1px solid var(--rule); }
main > section:first-child { border-top: 0; }

/* ---------- header ---------- */
header.site { border-bottom: 1px solid var(--rule); padding: 1.15rem 0; }
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.9rem 1.5rem; flex-wrap: wrap;
}
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; width: 220px; height: auto; }
nav.site { display: flex; flex-wrap: wrap; column-gap: 1.4rem; row-gap: 0.35rem; }
nav.site a {
  color: var(--ink-soft); text-decoration: none; font-size: 0.9375rem; white-space: nowrap;
}
nav.site a:hover, nav.site a[aria-current="page"] { color: var(--accent); }
nav.site a[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.25em; }

/* ---------- type ---------- */
.hero { padding: 4.5rem 0 3.5rem; }
h1 {
  font-size: clamp(2rem, 5.5vw, 3.1rem);
  line-height: 1.08; letter-spacing: -0.025em; margin: 0 0 1.1rem;
  font-weight: 660; max-width: 20ch;
}
.lede {
  font-size: clamp(1.0625rem, 2.2vw, 1.25rem);
  color: var(--ink-soft); margin: 0 0 1.5rem; max-width: 46ch; line-height: 1.55;
}
h2 {
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  line-height: 1.2; letter-spacing: -0.018em; font-weight: 640;
  margin: 0 0 1.1rem; max-width: 26ch;
}
/* The crimson mark: a short rule above a section heading, and nothing else. */
h2::before {
  content: ""; display: block; width: 2.25rem; height: 3px;
  background: var(--accent-mark); margin-bottom: 0.9rem;
}
h3 { font-size: 1.0625rem; font-weight: 640; letter-spacing: -0.005em; margin: 0 0 0.4rem; }
p { margin: 0 0 1.05rem; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }
a { color: var(--accent); }
a:hover { color: var(--accent-ink); }
strong { font-weight: 620; }

/* ---------- buttons ---------- */
.cta {
  display: inline-block; background: var(--accent); color: #fff;
  text-decoration: none; font-weight: 560; font-size: 1rem;
  padding: 0.85rem 1.5rem; border-radius: 6px; line-height: 1.3;
}
.cta:hover { background: var(--accent-ink); color: #fff; }
.cta-quiet {
  display: inline-block; color: var(--ink); text-decoration: none; font-weight: 560;
  padding: 0.85rem 1.5rem; border-radius: 6px; line-height: 1.3;
  border: 1px solid var(--rule);
}
.cta-quiet:hover { border-color: var(--ink-faint); color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; margin-top: 1.5rem; }

/* ---------- the service panel ---------- */
.service {
  background: var(--panel); border-radius: 10px;
  padding: 2rem; display: grid; gap: 1.25rem; max-width: 46rem;
}
.service-logo img { display: block; width: 220px; height: auto; }
.service p { color: var(--ink-soft); margin: 0; }
.service ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.service li a { font-weight: 560; text-decoration: none; }
.service li a:hover { text-decoration: underline; }
.service li a::after { content: " \2192"; }

/* ---------- three points ---------- */
.points { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.points p { color: var(--ink-soft); font-size: 1rem; }

/* ---------- prose pages ---------- */
/* .prose sits on the same .wrap as the header, so it stays left-aligned; its children keep the reading measure. */
.prose > * { max-width: var(--measure); }
.prose h2 { margin-top: 2.75rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2rem; margin: 0 0 1.05rem; }
.prose li { margin-bottom: 0.4rem; }

/* ---------- company details ---------- */
dl.details {
  display: grid; grid-template-columns: max-content 1fr; gap: 0.6rem 1.5rem;
  margin: 0; max-width: var(--measure);
}
dl.details dt { color: var(--ink-faint); }
dl.details dd { margin: 0; }
@media (max-width: 30rem) {
  dl.details { grid-template-columns: 1fr; gap: 0.15rem; }
  dl.details dd { margin-bottom: 0.7rem; }
}

/* ---------- footer ---------- */
footer.site {
  border-top: 1px solid var(--rule); padding: 2.5rem 0 3.5rem;
  font-size: 0.875rem; color: var(--ink-faint);
}
footer.site a { color: var(--ink-soft); }
footer.site p { max-width: var(--measure); }

@media (max-width: 40rem) {
  .hero { padding: 3rem 0 2.5rem; }
  section { padding: 2.75rem 0; }
  .service { padding: 1.5rem; }
  .brand img { width: 190px; }
}
