:root {
  --ink: #17201d;
  --muted: #5f6864;
  --paper: #fbfaf6;
  --white: #fff;
  --copper: #ad6b2c;
  --copper-dark: #7f481b;
  --green: #304d3b;
  --line: #deddd6;
  --shadow: 0 18px 50px rgba(23, 32, 29, .09);
  --radius: 18px;
  --container: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.container { width: var(--container); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; padding: 10px 14px; background: var(--ink); color: #fff; }
.skip-link:focus { top: 16px; }

.utility { border-bottom: 1px solid var(--line); background: #f1f3eb; color: var(--green); font-size: .78rem; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.utility-inner { min-height: 34px; display: flex; align-items: center; justify-content: center; gap: 44px; }
.utility-inner span + span::before { content: "•"; margin-right: 44px; color: var(--copper); }
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(222,221,214,.9); background: rgba(255,255,255,.96); backdrop-filter: blur(14px); }
.header-inner { min-height: 78px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; }
.brand { color: var(--ink); font: 800 clamp(1.7rem, 3vw, 2.35rem)/1 Georgia, serif; text-decoration: none; letter-spacing: -.045em; white-space: nowrap; }
.brand span { color: var(--copper); }
.site-nav { display: flex; justify-content: center; align-items: center; gap: clamp(15px, 2.1vw, 30px); }
.site-nav a { position: relative; font-size: .92rem; font-weight: 700; text-decoration: none; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--copper); transition: right .2s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { right: 0; }
.menu-toggle { display: none; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border: 1px solid var(--copper); border-radius: 9px; color: #fff; background: var(--copper); font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.button:hover, .button:focus-visible { background: var(--copper-dark); transform: translateY(-1px); }
.button-small { min-height: 42px; padding: 9px 18px; font-size: .9rem; }
.button-ghost { color: var(--ink); background: transparent; border-color: #b9b7ae; }
.button-ghost:hover, .button-ghost:focus-visible { color: #fff; border-color: var(--copper-dark); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero { overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 25% 40%, #fff 0, var(--paper) 42%, #f0eee5 100%); }
.hero-grid { min-height: 560px; display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 54px; padding-block: 48px; }
.hero-copy h1, .page-hero h1 { max-width: 760px; margin: 12px 0 20px; font: 800 clamp(2.7rem, 5.2vw, 5rem)/.98 Georgia, serif; letter-spacing: -.052em; }
.hero-copy > p, .page-hero p, .dek { max-width: 690px; color: var(--muted); font-size: clamp(1.05rem, 1.8vw, 1.25rem); }
.eyebrow { display: inline-block; color: var(--copper-dark); font-size: .74rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.media-shell { position: relative; overflow: hidden; aspect-ratio: var(--ratio, 16 / 10); margin: 0; border-radius: var(--radius); background: linear-gradient(135deg, #e9e4d8, #d9dfd6); box-shadow: var(--shadow); }
.media-shell img { width: 100%; height: 100%; object-fit: cover; }
.media-shell .media-fallback { position: absolute; inset: 0; display: none; place-items: center; padding: 24px; color: #67706b; background: linear-gradient(135deg, #eeeae0, #dce3dc); text-align: center; }
.media-shell .media-fallback::before { content: ""; position: absolute; width: 44%; aspect-ratio: 4 / 3; border: 2px solid rgba(48,77,59,.25); border-radius: 10px; }
.media-shell.is-missing img { visibility: hidden; }
.media-shell.is-missing .media-fallback { display: grid; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: 30px; }
.section-heading h2 { margin: 8px 0 0; font: 800 clamp(2rem, 3.2vw, 3.1rem)/1.07 Georgia, serif; letter-spacing: -.035em; }
.section-heading > p { max-width: 440px; margin: 0; color: var(--muted); }
.category-section, .content-section, .steps { padding-block: 78px; }
.category-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.category-card { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 10px 10px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-decoration: none; box-shadow: 0 8px 24px rgba(23,32,29,.04); transition: transform .2s ease, box-shadow .2s ease; }
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.category-card .media-shell { border-radius: 9px; box-shadow: none; }
.category-card > span { padding-inline: 6px; font-weight: 850; }
.category-card > small { padding-inline: 6px; color: var(--muted); line-height: 1.35; }
.trust { padding-block: 34px; color: #1e3528; background: #e8eee3; border-block: 1px solid #d2ddcb; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-grid > div { position: relative; padding: 8px 42px; }
.trust-grid > div + div { border-left: 1px solid #c2d0bd; }
.trust b, .steps b { float: left; display: grid; place-items: center; width: 46px; aspect-ratio: 1; margin: 3px 16px 18px 0; border-radius: 50%; background: #cbdabf; font-size: .82rem; }
.trust h2 { margin: 0; font: 800 1.18rem/1.2 Georgia, serif; }
.trust p { margin: 5px 0 0; color: #4f6256; font-size: .9rem; }
.content-with-form { display: grid; grid-template-columns: minmax(0, 1fr) 330px; align-items: start; gap: 38px; }
.article-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.article-grid-wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.article-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 10px 30px rgba(23,32,29,.05); }
.article-card .media-shell { border-radius: 0; box-shadow: none; }
.card-copy { padding: 24px; }
.card-copy h3 { margin: 8px 0 10px; font: 800 1.38rem/1.15 Georgia, serif; }
.card-copy h3 a { text-decoration: none; }
.card-copy p { color: var(--muted); }
.text-link { color: var(--copper-dark); font-weight: 850; text-underline-offset: 4px; }
.lead-panel { position: sticky; top: 106px; padding: 26px; border: 1px solid #d5d0c4; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.lead-panel h2 { margin: 8px 0; font: 800 1.85rem/1.05 Georgia, serif; }
.lead-panel > p { color: var(--muted); font-size: .92rem; }
label { display: grid; gap: 6px; margin: 14px 0; font-size: .84rem; font-weight: 750; }
input, select, textarea { width: 100%; border: 1px solid #c9c8c0; border-radius: 8px; padding: 11px 12px; color: var(--ink); background: #fff; font: inherit; }
textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; }
.form-status { min-height: 1.5em; font-size: .86rem; }
.steps { background: var(--ink); color: #fff; }
.steps .eyebrow { color: #e9b779; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.steps-grid article { padding: 26px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); background: rgba(255,255,255,.04); }
.steps-grid b { color: #fff; background: var(--copper); }
.steps-grid h3 { margin: 4px 0; font: 800 1.45rem/1.15 Georgia, serif; }
.steps-grid p { color: #bdc6c1; }
.page-hero { padding-block: 78px 64px; border-bottom: 1px solid var(--line); background: linear-gradient(135deg, #fff, #edeae1); }
.narrow { max-width: 820px; }
.breadcrumbs { display: flex; gap: 10px; margin-bottom: 32px; color: var(--muted); font-size: .88rem; }
.article-page { padding-block: 62px 90px; }
.article-header { text-align: left; }
.article-header h1 { margin: 12px 0 20px; font: 800 clamp(2.55rem, 5vw, 4.7rem)/1 Georgia, serif; letter-spacing: -.05em; }
.article-layout { display: grid; grid-template-columns: minmax(0, 760px) 280px; justify-content: center; align-items: start; gap: 54px; margin-top: 42px; }
.article-cover { margin-bottom: 42px; }
.prose { font-size: 1.04rem; }
.prose h2 { margin: 2.3em 0 .65em; font: 800 2rem/1.1 Georgia, serif; }
.prose h3 { margin: 1.7em 0 .5em; font: 800 1.34rem/1.2 Georgia, serif; }
.prose p, .prose li { color: #39433e; }
.prose li + li { margin-top: 8px; }
.article-aside { position: sticky; top: 112px; padding: 24px; border-left: 4px solid var(--copper); background: #ede9df; }
.article-aside h2 { margin-top: 0; font: 800 1.45rem/1.15 Georgia, serif; }
.site-footer { padding-top: 64px; color: #dfe5e1; background: #111816; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 56px; padding-bottom: 46px; }
.brand-light { color: #fff; }
.footer-grid p { max-width: 400px; color: #aab7b0; }
.footer-grid h2 { font-size: 1rem; color: #fff; }
.footer-grid ul { padding: 0; list-style: none; }
.footer-grid li + li { margin-top: 8px; }
.footer-grid a { text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.12); color: #8fa098; font-size: .82rem; }
:focus-visible { outline: 3px solid #df9a55; outline-offset: 3px; }

@media (max-width: 1080px) {
  .header-inner { grid-template-columns: auto auto 1fr; }
  .header-inner > .button { justify-self: end; }
  .menu-toggle { display: inline-grid; grid-template-columns: repeat(3, 22px); gap: 4px; align-items: center; border: 0; background: transparent; cursor: pointer; }
  .menu-toggle span { grid-column: 1; height: 2px; background: var(--ink); }
  .menu-toggle b { grid-column: 2; grid-row: 1 / 4; font: 700 .8rem system-ui; }
  .site-nav { position: absolute; inset: 78px 0 auto; display: none; flex-direction: column; align-items: stretch; padding: 18px max(20px, calc((100% - 1180px)/2)); border-bottom: 1px solid var(--line); background: #fff; }
  .site-nav.is-open { display: flex; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .content-with-form { grid-template-columns: 1fr; }
  .lead-panel { position: static; }
  .article-grid-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  :root { --container: min(100% - 28px, 1180px); }
  .utility { display: none; }
  .header-inner { min-height: 68px; grid-template-columns: 1fr auto; }
  .header-inner > .button { display: none; }
  .menu-toggle { grid-column: 2; }
  .site-nav { top: 68px; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; padding-block: 44px; }
  .hero-copy h1 { font-size: clamp(2.5rem, 13vw, 3.9rem); }
  .hero-media { order: -1; }
  .category-section, .content-section, .steps { padding-block: 54px; }
  .category-grid, .article-grid, .article-grid-wide, .trust-grid, .steps-grid, .article-layout, .footer-grid { grid-template-columns: 1fr; }
  .trust-grid > div { padding: 18px 4px; }
  .trust-grid > div + div { border-left: 0; border-top: 1px solid #c2d0bd; }
  .section-heading { align-items: start; flex-direction: column; gap: 12px; }
  .article-page { padding-top: 42px; }
  .article-aside { position: static; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
