/* Shared chrome for pages in the 2026 design (the redesigned homepage's look):
   tokens, buttons, the site-wide menu, and the footer. Page-specific styles stay
   in each page's own <style>. Tokens come from the app (design-system/tokens.json). */
:root {
  --bg: #faf7ee; --surface: #fffefb; --fg: #212a32; --fg-muted: #36424d; --slate-500: #5a6672;
  --border: #d0d5d9; --border-soft: #e8dcc5; --linen: #f4ece0; --linen-50: #fbf6ec;
  --rose: #893232; --rose-800: #6b2727; --rose-200: #eac2c2; --rose-50: #f9ecec;
  --gold: #d78c3c; --gold-200: #f6ddbe; --gold-700: #956128; --gold-50: #fdf5e8;
  --success: #2e7934; --success-bg: #e1f2e2; --danger: #a6392a; --danger-bg: #f3ded9;
  --dark: #212a32;
  --shadow-xs: 0 1px 2px rgba(33,42,50,.06); --shadow-md: 0 8px 20px rgba(33,42,50,.10);
  --display: "Fraunces", Georgia, serif; --body: "Poppins", system-ui, sans-serif;
}
/* Base: kept light so it can sit under an older page's own styles. Pages built
   fresh in this design also use .base-2026 on <body> for the element resets. */
html { font-variation-settings: "SOFT" 100, "WONK" 0; -webkit-text-size-adjust: 100%; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
:where(.base-2026) img { max-width: 100%; display: block; }
:where(.base-2026) a { color: inherit; }
:where(.base-2026) :where(h1, h2, h3, h4) { font-family: var(--display); font-weight: 700; margin: 0; letter-spacing: -.01em; }
:where(.base-2026) p { margin: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 10px; padding: 12px 22px; font: 500 16px/24px var(--body); text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background .15s; }
.btn-primary { background: var(--rose); color: #fff; } .btn-primary:hover { background: var(--rose-800); }
.btn-ghost { background: #fff; color: var(--fg); border-color: var(--border-soft); } .btn-ghost:hover { background: var(--linen-50); }
.btn-sm { padding: 8px 16px; font-size: 15px; }

/* site-wide menu: same markup on every page (the site has no includes, so it is copied) */
.nav { position: sticky; top: 0; z-index: 30; background: var(--bg); border-bottom: 1px solid var(--border-soft); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 68px; position: relative; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); font: 700 19px/1 var(--display); white-space: nowrap; }
.brand img { width: 34px; height: 34px; display: block; }
.nav-links { display: flex; gap: 24px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav-links a { text-decoration: none; opacity: .85; white-space: nowrap; } .nav-links a:hover { opacity: 1; }
.nav-links a[aria-current="page"] { opacity: 1; color: var(--rose); }
.nav-cta { display: flex; gap: 10px; }
.menu-btn { display: none; flex-shrink: 0; width: 40px; height: 40px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--fg); place-items: center; cursor: pointer; padding: 0; }
.menu-btn svg { width: 22px; height: 22px; } .menu-btn path { transition: transform .2s, opacity .2s; transform-origin: 12px 12px; }
.menu-btn[aria-expanded="true"] .l1 { transform: translateY(5px) rotate(45deg); } .menu-btn[aria-expanded="true"] .l2 { opacity: 0; } .menu-btn[aria-expanded="true"] .l3 { transform: translateY(-5px) rotate(-45deg); }
.mnav { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--border-soft); box-shadow: 0 16px 24px -18px rgba(33,42,50,.35); padding: 6px 16px 14px; display: grid; }
.mnav[hidden] { display: none; }
.mnav a { padding: 14px 4px; border-bottom: 1px solid var(--border-soft); font-size: 17px; font-weight: 500; color: var(--fg); text-decoration: none; }
.mnav a:last-child { border-bottom: 0; }
.bt-s { display: none; }
/* 1040px, not 900px: five menu links plus the two buttons need about 1,025px. */
@media (max-width: 1040px) { .nav-links { display: none; } .menu-btn { display: grid; } .nav-cta { margin-left: auto; } }
@media (min-width: 1041px) { .mnav { display: none !important; } }
@media (max-width: 560px) { .wrap { padding: 0 16px; } .nav .wrap { gap: 12px; } .nav-cta .btn-ghost { display: none; } .brand span { font-size: 17px; } .brand img { width: 30px; height: 30px; } }
@media (max-width: 430px) { .nav .wrap { gap: 8px; } .brand { gap: 7px; } .brand span { font-size: 15px; } .brand img { width: 28px; height: 28px; } .nav-cta .btn-sm { padding: 8px 12px; font-size: 14px; } .menu-btn { width: 38px; height: 38px; } }
@media (max-width: 345px) { .bt-l { display: none; } .bt-s { display: inline; } }

/* footer: the live homepage's footer */
footer.lf { margin-top: 0; padding: 4rem 2rem 2rem; background: var(--dark); position: relative; z-index: 2; }
footer.lf .footer-inner { max-width: 1300px; margin: 0 auto; }
footer.lf .footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(244,236,224,.15); }
footer.lf .footer-brand { display: flex; align-items: center; gap: .7rem; font: 700 1.55rem/1.2 var(--display); color: var(--linen); letter-spacing: -.015em; margin-bottom: .6rem; text-decoration: none; }
footer.lf .footer-tagline { color: var(--linen); opacity: .62; font-size: 1rem; max-width: 360px; }
footer.lf .footer-col-title { font-size: .75rem; text-transform: uppercase; letter-spacing: .16em; color: var(--gold); margin-bottom: 1rem; font-weight: 700; }
footer.lf .footer-col a { display: block; font-weight: 500; color: rgba(244,236,224,.92); text-decoration: none; padding: .3rem 0; font-size: 1.1rem; transition: color .2s; }
footer.lf .footer-col a:hover { color: var(--gold); }
footer.lf .footer-bottom { padding-top: 1.75rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .75rem; color: rgba(244,236,224,.55); font-weight: 500; }
footer.lf .footer-bottom a { color: var(--gold); text-decoration: none; border-bottom: 1px solid transparent; transition: color .18s, border-color .18s; }
footer.lf .footer-bottom a:hover { color: var(--linen); border-bottom-color: var(--linen); }
footer.lf .footer-ig { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.25rem; font-weight: 500; font-size: 1.1rem; color: rgba(244,236,224,.92); text-decoration: none; transition: color .2s; }
footer.lf .footer-ig svg { width: 22px; height: 22px; }
footer.lf .footer-ig:hover { color: #fff; }
@media (max-width: 900px) { footer.lf { padding: 3rem 1.25rem 1.5rem; } footer.lf .footer-top { grid-template-columns: 1fr; gap: 2rem; } footer.lf .footer-bottom { flex-direction: column; } }
