@charset "UTF-8";
/* ==========================================================================
   Marcus & Co., CGA — site stylesheet
   Palette derived from the firm's original green/gold identity:
   moss green #7d9b5f / #86a375, gold #d4b24a, cream #fffdf5
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --brand-900: #2b3820;
  --brand-800: #3b4d2c;
  --brand-700: #4d6539;
  --brand-600: #5f7d46;
  --brand-500: #7d9b5f;
  --brand-400: #96b077;
  --brand-300: #b3c79c;
  --brand-100: #e9f0e0;
  --brand-50: #f4f8ee;

  --gold-700: #8c6b1f;
  --gold-600: #a8852a;
  --gold-500: #c9a33c;
  --gold-400: #d8b85e;
  --gold-100: #f7efd8;

  --cream: #fffdf5;
  --paper: #ffffff;
  --sand: #f6f4ec;

  --ink: #22271f;
  --ink-soft: #3d4436;
  --muted: #5c6553;
  --line: #dde3d3;
  --line-strong: #c6cfb7;

  --danger: #a3341f;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(43, 56, 32, .08), 0 1px 3px rgba(43, 56, 32, .06);
  --shadow: 0 4px 12px rgba(43, 56, 32, .09), 0 1px 3px rgba(43, 56, 32, .06);
  --shadow-lg: 0 14px 34px rgba(43, 56, 32, .14), 0 3px 8px rgba(43, 56, 32, .07);

  --wrap: 1140px;
  --wrap-narrow: 780px;
  --gap: 1.5rem;

  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-head: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua",
    "Times New Roman", serif;

  --header-h: 74px;
}

/* --------------------------------------------------------------------------
   2. Reset / base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  overflow-wrap: break-word;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Grid and flex children default to min-width:auto, which lets a wide child
   (a nowrap heading, a scrollable table) push the whole page sideways on
   narrow screens. Reset it on every layout container we use. */
.hero__grid > *,
.grid > *,
.split > *,
.with-aside > *,
.stats > *,
.contact-grid > *,
.partner-grid > *,
.footer-grid > *,
.trust > *,
.doc-list > *,
.site-header__bar > * {
  min-width: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--brand-900);
  line-height: 1.22;
  margin: 0 0 .6em;
  font-weight: 700;
  letter-spacing: -.005em;
}

h1 { font-size: clamp(1.85rem, 1.25rem + 2.2vw, 2.75rem); }
h2 { font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2rem); }
h3 { font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.1em; }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }

a {
  color: var(--brand-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { color: var(--gold-700); }

img { max-width: 100%; height: auto; border: 0; }

ul, ol { padding-left: 1.35em; }
li { margin-bottom: .4em; }
li:last-child { margin-bottom: 0; }

strong, b { color: var(--brand-900); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

abbr[title] { text-decoration: underline dotted; cursor: help; }

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 2px;
  border-radius: 3px;
}

::selection { background: var(--brand-300); color: var(--brand-900); }

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding: 3.75rem 0; }
.section--tight { padding: 2.5rem 0; }
.section--sand { background: var(--sand); }
.section--cream { background: var(--cream); }
.section--brand { background: var(--brand-50); }
.section + .section { border-top: 1px solid var(--line); }

.section-head { max-width: 62ch; margin-bottom: 2.25rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); margin-bottom: 0; }
.section-head .eyebrow { margin-bottom: .5rem; }

.eyebrow {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-700);
  margin: 0 0 .35em;
}

.lead { font-size: 1.13rem; color: var(--ink-soft); }
.muted { color: var(--muted); }
.center { text-align: center; }
.measure { max-width: 68ch; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--brand-900);
  color: #fff;
  padding: .7rem 1.1rem;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   4. Header & navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(102deg, var(--brand-800) 0%, var(--brand-600) 46%, var(--brand-400) 100%);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.site-header__bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: .8rem;
  text-decoration: none;
  color: #fff;
  margin-right: auto;
  padding: .35rem 0;
}
.brand:hover { color: #fff; }

.brand__logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--cream);
  padding: 3px;
  object-fit: contain;
  flex: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .22);
}

.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name {
  font-family: var(--font-head);
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--gold-400);
  text-shadow: 0 1px 2px rgba(0, 0, 0, .3);
  letter-spacing: .01em;
}
.brand__tag {
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #f0f4e8;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: .5rem;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .35);
  color: #fff;
  font: inherit;
  font-size: .9rem;
  font-weight: 600;
  padding: .5rem .8rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle:hover { background: rgba(255, 255, 255, .22); }
.nav-toggle__bars {
  display: inline-block;
  width: 18px;
  height: 2px;
  background: #fff;
  position: relative;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: #fff;
}
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: .15rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.site-nav li { margin: 0; }

.site-nav a {
  display: block;
  padding: .55rem .72rem;
  border-radius: var(--radius-sm);
  color: #f4f7ee;
  text-decoration: none;
  font-size: .95rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color .16s ease, color .16s ease;
}
.site-nav a:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.site-nav a[aria-current="page"] {
  background: var(--gold-500);
  color: #35290a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45);
}

.nav-cta {
  background: var(--cream);
  color: var(--brand-900) !important;
  font-weight: 700;
}
.nav-cta:hover { background: #fff; color: var(--brand-900) !important; }

@media (max-width: 1080px) {
  .site-header__bar { flex-wrap: wrap; padding-block: .6rem; }
  .js .nav-toggle { display: inline-flex; }
  .site-nav { display: none; width: 100%; }
  .js .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: .1rem; padding-bottom: .7rem; }
  .site-nav a { padding: .7rem .8rem; }
  .no-js .site-nav { display: block; width: 100%; }
  .no-js .site-nav ul { flex-direction: row; flex-wrap: wrap; padding-bottom: .6rem; }
}

/* --------------------------------------------------------------------------
   5. Hero
   -------------------------------------------------------------------------- */
.hero {
  background:
    radial-gradient(circle at 88% 12%, rgba(216, 184, 94, .26), transparent 46%),
    linear-gradient(160deg, var(--brand-50) 0%, var(--cream) 58%, #fff 100%);
  border-bottom: 1px solid var(--line);
  padding: 3.5rem 0 3.75rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 2.75rem;
  align-items: center;
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2rem; }
}

.hero h1 { margin-bottom: .8rem; }
.hero__lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 58ch; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.75rem;
}

.hero__figure { margin: 0; }
.hero__figure img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
}
.hero__figure figcaption {
  margin-top: .65rem;
  font-size: .86rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   6. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .78rem 1.4rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .14s ease, box-shadow .14s ease, background-color .14s ease,
    color .14s ease, border-color .14s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--brand-700);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--brand-800); color: #fff; box-shadow: var(--shadow); }

.btn--gold {
  background: linear-gradient(180deg, var(--gold-400), var(--gold-600));
  color: #35290a;
  box-shadow: var(--shadow-sm);
}
.btn--gold:hover { color: #241b04; box-shadow: var(--shadow); }

.btn--ghost {
  background: transparent;
  border-color: var(--brand-600);
  color: var(--brand-800);
}
.btn--ghost:hover { background: var(--brand-100); color: var(--brand-900); }

.btn--onDark {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
}
.btn--onDark:hover { background: rgba(255, 255, 255, .26); color: #fff; }

.btn--block { width: 100%; }

/* --------------------------------------------------------------------------
   7. Trust strip
   -------------------------------------------------------------------------- */
.trust {
  background: var(--brand-900);
  color: #eef3e6;
  padding: 1.1rem 0;
}
.trust ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .4rem 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: .93rem;
}
.trust li { margin: 0; display: flex; align-items: center; gap: .5rem; }
.trust li::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold-400);
  flex: none;
}

/* --------------------------------------------------------------------------
   8. Cards & grids
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
  display: flex;
  flex-direction: column;
}
.card--hover:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--brand-300);
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--muted); margin-bottom: 0; }
.card p + p { margin-top: .8rem; }
.card__more { margin-top: auto; padding-top: 1.1rem; }

/* Heading-level-free card label, used for navigation tiles where adding an
   <h*> would skip a heading level in the document outline. */
.card__title {
  display: block;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--brand-900);
  margin-bottom: .45rem;
}
a.card { text-decoration: none; }
a.card:hover .card__title { color: var(--gold-700); }

.card__icon {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-100);
  color: var(--brand-700);
  margin-bottom: .9rem;
  flex: none;
}
.card__icon svg { width: 22px; height: 22px; }

.card--flat { box-shadow: none; background: var(--cream); }

/* Feature list inside cards */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: .55rem;
  color: var(--ink-soft);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .52em;
  width: .62em; height: .34em;
  border-left: 2px solid var(--brand-600);
  border-bottom: 2px solid var(--brand-600);
  transform: rotate(-45deg);
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.25rem;
}
.stat {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.3rem;
  text-align: center;
}
.stat__num {
  display: block;
  font-family: var(--font-head);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--brand-700);
  line-height: 1.1;
}
.stat__label {
  display: block;
  margin-top: .3rem;
  font-size: .9rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   9. Split (text + image) blocks
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.75rem;
  align-items: center;
}
.split--reverse .split__media { order: 2; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 1.75rem; }
  .split--reverse .split__media { order: 0; }
}
.split__media { margin: 0; }
.split__media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}
.split__media figcaption {
  margin-top: .55rem;
  font-size: .85rem;
  color: var(--muted);
}

/* Portrait-oriented heritage photo: capped so it is never stretched past its
   (already upscaled) source resolution. */
.split__media--portrait { text-align: center; }
.split__media--portrait img { max-width: 300px; margin-inline: auto; }

.img-portrait {
  display: block;
  max-width: 240px;
  height: auto;
  margin-inline: auto;
  border-radius: 10px;
}

.img-illustration {
  display: block;
  width: 100%;
  max-width: 340px;
  height: auto;
  margin-inline: auto;
  border-radius: 10px;
}

/* --------------------------------------------------------------------------
   10. Testimonials
   -------------------------------------------------------------------------- */
.quote {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold-500);
  border-radius: var(--radius);
  padding: 1.6rem 1.7rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.quote blockquote {
  margin: 0;
  font-size: 1.03rem;
  color: var(--ink-soft);
}
.quote blockquote p { margin-bottom: .8em; }
.quote figcaption {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: .92rem;
  color: var(--muted);
}
.quote figcaption strong { display: block; color: var(--brand-900); }
.quote--wide { border-radius: var(--radius); }
@media (min-width: 860px) {
  .quote--wide { padding: 2rem 2.2rem; }
}

/* --------------------------------------------------------------------------
   11. FAQ
   -------------------------------------------------------------------------- */
.faq { display: grid; gap: .85rem; max-width: 860px; }
.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  padding: 1.05rem 3rem 1.05rem 1.25rem;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-900);
  position: relative;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--brand-600);
  font-family: var(--font-body);
  font-weight: 400;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details[open] summary { background: var(--brand-50); }
.faq .faq__body { padding: .25rem 1.25rem 1.2rem; }
.faq .faq__body p { color: var(--muted); }

/* --------------------------------------------------------------------------
   12. Tables
   -------------------------------------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: .96rem;
  background: var(--paper);
  min-width: 480px;
}
table.data caption {
  caption-side: top;
  text-align: left;
  padding: .9rem 1rem;
  font-weight: 700;
  color: var(--brand-900);
  background: var(--brand-50);
  border-bottom: 1px solid var(--line);
}
table.data th,
table.data td {
  padding: .8rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.data thead th {
  background: var(--sand);
  color: var(--brand-900);
  font-weight: 700;
  white-space: nowrap;
}
table.data tbody tr:last-child th,
table.data tbody tr:last-child td { border-bottom: 0; }

/* --------------------------------------------------------------------------
   13. Download / resource lists
   -------------------------------------------------------------------------- */
.doc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.doc {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.doc:hover { border-color: var(--brand-300); box-shadow: var(--shadow); transform: translateY(-2px); }
.doc__icon {
  flex: none;
  width: 42px; height: 42px;
  border-radius: 8px;
  background: var(--brand-100);
  color: var(--brand-700);
  display: grid;
  place-items: center;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .04em;
}
.doc__body { min-width: 0; }
.doc__body h2,
.doc__body h3 { margin: 0 0 .25rem; font-size: 1.08rem; }
.doc__body h2 a,
.doc__body h3 a { text-decoration: none; }
.doc__body h2 a:hover,
.doc__body h3 a:hover { text-decoration: underline; }
.doc__body p { margin: 0; color: var(--muted); font-size: .94rem; }
.doc__meta { display: block; margin-top: .4rem; font-size: .82rem; color: var(--muted); }

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.15rem;
}
.partner {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem;
  box-shadow: var(--shadow-sm);
}
.partner img {
  /* Render each mark at its natural size so small logos stay crisp. */
  height: auto;
  max-height: 46px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}
.partner h3 { font-size: 1.05rem; margin: 0; }
.partner p { color: var(--muted); font-size: .93rem; margin: 0; }
.partner .partner__link { margin-top: auto; font-weight: 600; font-size: .93rem; }

/* --------------------------------------------------------------------------
   14. Contact
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.contact-card h3 { font-size: 1.05rem; margin-bottom: .6rem; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li {
  display: flex;
  gap: .7rem;
  padding: .55rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .97rem;
}
.contact-list li:last-child { border-bottom: 0; }
.contact-list .k {
  flex: none;
  width: 5.2rem;
  font-weight: 700;
  color: var(--brand-800);
}

address { font-style: normal; }

.callout {
  background: linear-gradient(150deg, var(--brand-800), var(--brand-600));
  color: #f2f6ea;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
}
.callout h2 { color: #fff; }
.callout a { color: var(--gold-400); }
.callout .btn--gold { color: #35290a; }
.callout__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }

/* --------------------------------------------------------------------------
   15. Page banner (inner pages)
   -------------------------------------------------------------------------- */
.page-head {
  background:
    radial-gradient(circle at 92% 0%, rgba(216, 184, 94, .22), transparent 44%),
    linear-gradient(150deg, var(--brand-50), var(--cream));
  border-bottom: 1px solid var(--line);
  padding: 2.5rem 0 2.25rem;
}
.page-head h1 { margin-bottom: .5rem; }
.page-head .lead { max-width: 70ch; margin-bottom: 0; }

.breadcrumbs {
  font-size: .85rem;
  color: var(--muted);
  padding: 0;
  margin: 0 0 .9rem;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.breadcrumbs li { margin: 0; display: flex; align-items: center; gap: .4rem; }
.breadcrumbs li + li::before { content: "/"; color: var(--line-strong); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand-700); text-decoration: underline; }

.prose > * + * { margin-top: 1.1rem; }
.prose h2 { margin-top: 2.25rem; }
.prose h3 { margin-top: 1.75rem; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }

/* --------------------------------------------------------------------------
   16. Sidebar layout
   -------------------------------------------------------------------------- */
.with-aside {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2.75rem;
  align-items: start;
}
@media (max-width: 940px) { .with-aside { grid-template-columns: 1fr; gap: 2rem; } }

.aside-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
}
.aside-card + .aside-card { margin-top: 1.25rem; }
.aside-card h2, .aside-card h3 { font-size: 1.05rem; margin-bottom: .7rem; }
.aside-card ul { padding-left: 1.1rem; margin: 0; font-size: .95rem; }
.aside-card p { font-size: .95rem; color: var(--muted); }
.sticky-aside { position: sticky; top: calc(var(--header-h) + 1.25rem); }
@media (max-width: 940px) { .sticky-aside { position: static; } }

/* --------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  margin-top: auto;
  background: var(--brand-900);
  color: #d9e2cc;
  padding: 3rem 0 1.5rem;
  font-size: .94rem;
}
.site-footer h2, .site-footer h3 {
  color: #fff;
  font-size: 1rem;
  font-family: var(--font-body);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: .9rem;
}
.site-footer a { color: #e7eeda; text-decoration: none; }
.site-footer a:hover { color: var(--gold-400); text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45rem; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand { display: flex; gap: .8rem; align-items: flex-start; }
.footer-brand img {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--cream);
  padding: 3px;
  flex: none;
}
.footer-brand p { color: #c4d1b1; margin: .6rem 0 0; font-size: .92rem; }

.footer-bottom {
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, .15);
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  justify-content: space-between;
  font-size: .86rem;
  color: #b9c7a5;
}

/* --------------------------------------------------------------------------
   18. Utilities
   -------------------------------------------------------------------------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: .75rem; }
.mt-2 { margin-top: 1.5rem; }
.mt-3 { margin-top: 2.25rem; }
.nowrap { white-space: nowrap; }
.list-plain { list-style: none; padding: 0; }
.badge {
  display: inline-block;
  background: var(--gold-100);
  color: var(--gold-700);
  border: 1px solid #e8d9ac;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .2rem .7rem;
}

/* --------------------------------------------------------------------------
   19. Reduced motion & print
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .btn:hover, .card--hover:hover, .doc:hover { transform: none; }
}

@media print {
  .site-header, .site-footer, .hero__actions, .nav-toggle, .callout__actions { display: none !important; }
  body { color: #000; font-size: 11pt; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #444; }
  .section { padding: 1rem 0; }
  .card, .quote, .doc { box-shadow: none; border: 1px solid #999; }
}
