/* Shared design system for jondargy.com, beautifulthingsstudios.com, aigenerationpro.com.
   Source of truth: sites/_shared/base.css. Copied into each site by tools/sync_shared.py. Don't edit the copies.
   Each site sets --accent (and optionally --accent-ink) in its own site.css. */
:root {
  --bg: #0e0f11; --surface: #17191c; --line: #2a2d31;
  --ink: #f2efe9; --muted: #a9a49b; --accent: #d9a441; --accent-ink: #14110b;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1080px; --gutter: clamp(16px, 4vw, 40px); --radius: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--sans); }
img { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.eyebrow { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.lede { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--muted); max-width: 46rem; }
.muted { color: var(--muted); }

/* header */
.site-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { color: var(--ink); text-decoration: none; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; white-space: nowrap; }
.nav { display: flex; gap: clamp(12px, 3vw, 28px); }
.nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.nav a:hover { color: var(--ink); }

/* sections */
section { padding: clamp(56px, 9vw, 112px) 0; border-bottom: 1px solid var(--line); }
.hero { padding-top: clamp(64px, 11vw, 136px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.btn { display: inline-block; padding: 13px 22px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .98rem; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); }
.btn:hover { filter: brightness(1.08); }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card p:last-child { margin-bottom: 0; }

.stats { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.stat { background: var(--bg); padding: 26px 24px; }
.stat b { display: block; font-family: var(--serif); font-size: 2rem; color: var(--accent); font-weight: 600; line-height: 1.1; }
.stat span { color: var(--muted); font-size: .95rem; }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 9rem 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); }
.timeline .when { color: var(--muted); font-size: .9rem; padding-top: 3px; }
@media (max-width: 600px) { .timeline li { grid-template-columns: 1fr; gap: 4px; } .nav a.hide-sm { display: none; } }

.site-footer { padding: 40px 0; color: var(--muted); font-size: .9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
