/* Mary Bondi — static rebuild
   Design tokens pulled from the live site's generated CSS:
   primary blue #009dde, gold accent #fbc32d, near-black text #141212,
   headings in Playfair Display, body/UI in Inter. */

:root {
  --blue: #009dde;
  --blue-dark: #0077ab;
  --gold: #fbc32d;
  --ink: #141212;
  --muted: #3c403c;
  --magenta: #a6057c;
  --bg-soft: #f3f3f7;
  --white: #ffffff;
  --border: #e7e7ee;
  --max: 1200px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 10px 30px rgba(20, 18, 18, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1.1em; color: var(--muted); }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--gold); }
img { max-width: 100%; display: block; }
ul, ol { color: var(--muted); padding-left: 1.3em; }
li { margin-bottom: 0.4em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--blue);
  margin-bottom: 0.6em;
  display: inline-block;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo img { height: 40px; width: auto; }
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  align-items: center;
}
.main-nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.main-nav a:hover { color: var(--blue); }
.btn {
  display: inline-block;
  background: var(--blue);
  color: var(--white) !important;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 99px;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn:hover { background: var(--gold); color: var(--ink) !important; transform: translateY(-1px); }
.btn-outline {
  display: inline-block;
  border: 2px solid var(--ink);
  color: var(--ink) !important;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 99px;
  font-size: 0.9rem;
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue) !important; }
.nav-toggle { display: none; }

/* ---------- Hero (generic pages) ---------- */
.page-hero {
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--white) 100%);
  padding: 72px 0 56px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { max-width: 780px; margin: 0 auto 0.3em; }
.page-hero .lede { max-width: 680px; margin: 0 auto; font-size: 1.05rem; }

/* ---------- Home hero ---------- */
.home-hero {
  padding: 70px 0 60px;
  background: radial-gradient(circle at 85% 20%, rgba(0, 157, 222, 0.10), transparent 55%),
              linear-gradient(180deg, var(--bg-soft), var(--white));
}
.home-hero .grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.home-hero h1 { margin-bottom: 0.4em; }
.home-hero .lede { font-size: 1.1rem; max-width: 520px; }
.home-hero .cta-row { display: flex; gap: 14px; margin-top: 1.6em; flex-wrap: wrap; }
.home-hero .art {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.home-hero .art img { width: 100%; height: 100%; object-fit: cover; }
.stat-strip {
  display: flex;
  gap: 40px;
  margin-top: 2.4em;
  flex-wrap: wrap;
}
.stat-strip .stat b {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  display: block;
  color: var(--blue);
}
.stat-strip .stat span { color: var(--muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.bg-soft { background: var(--bg-soft); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.card h3, .card h4 { margin-bottom: 0.4em; }
.card p:last-child { margin-bottom: 0; }
.card a.card-link { font-weight: 600; font-size: 0.9rem; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.two-col img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }

.prose { max-width: 780px; margin: 0 auto; }
.prose h2, .prose h3, .prose h4 { margin-top: 1.4em; }
.prose blockquote {
  border-left: 3px solid var(--blue);
  margin: 1.5em 0;
  padding: 0.2em 0 0.2em 1.2em;
  font-style: italic;
  color: var(--ink);
}

.cta-band {
  background: var(--ink);
  color: var(--white);
  text-align: center;
  border-radius: var(--radius-lg);
  padding: 56px 32px;
}
.cta-band h2, .cta-band p { color: var(--white); }
.cta-band .btn { margin-top: 0.4em; }

/* ---------- Blog ---------- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.post-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.post-card .thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-soft); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.post-card .tag { color: var(--blue); font-size: 0.78rem; text-transform: uppercase; font-weight: 700; letter-spacing: 0.04em; margin-bottom: 0.5em; }
.post-card h3 { font-size: 1.15rem; margin-bottom: 0.5em; }
.post-card .read-more { margin-top: auto; font-weight: 600; font-size: 0.88rem; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-info .item { margin-bottom: 1.6em; }
.contact-info .item h3 { margin-bottom: 0.2em; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--blue); font-family: "Inter"; font-weight: 700; }
form.contact-form { display: grid; gap: 14px; }
form.contact-form input, form.contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--bg-soft);
}
form.contact-form textarea { min-height: 130px; resize: vertical; }
form.contact-form button { justify-self: start; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #cfd3d6;
  padding: 56px 0 28px;
  margin-top: 40px;
}
.site-footer .grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
.site-footer h4 { color: var(--white); font-family: "Inter"; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 1em; }
.site-footer a { color: #cfd3d6; }
.site-footer a:hover { color: var(--gold); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 0.6em; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
  color: #9aa0a6;
}
.footer-bottom a { color: #9aa0a6; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .home-hero .grid, .two-col, .contact-grid { grid-template-columns: 1fr; }
  .site-footer .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .main-nav { display: none; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: none;
    cursor: pointer;
  }
  .main-nav.open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
  }
  .main-nav.open ul { flex-direction: column; align-items: flex-start; gap: 4px; }
  .main-nav.open li { width: 100%; }
  .main-nav.open a { display: block; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .site-footer .grid { grid-template-columns: 1fr; }
  .stat-strip { gap: 24px; }
}
