:root {
  --ink: #17140f;
  --ink-soft: #423b31;
  --paper: #f4efe5;
  --paper-deep: #e8dfcf;
  --card: #fffaf1;
  --line: #cfc2ad;
  --rust: #b44624;
  --rust-deep: #7a2c19;
  --sage: #4d6252;
  --sand: #d59f52;
  --white: #fffdfa;
  --shadow: 0 20px 60px rgba(44, 32, 19, .11);
  --radius: 22px;
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(58, 44, 28, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 44, 28, .035) 1px, transparent 1px),
    var(--paper);
  background-size: 32px 32px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a { color: var(--rust-deep); text-underline-offset: 3px; }
a:hover { color: var(--rust); }
img { max-width: 100%; }
button, input { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.narrow { max-width: 780px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 100;
  transform: translateY(-150%); background: var(--ink); color: white;
  padding: 10px 14px; border-radius: 8px;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 239, 229, .93);
  border-bottom: 1px solid rgba(122, 93, 59, .22);
  backdrop-filter: blur(14px);
}
.nav-row { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-mark {
  display: grid; place-items: center; width: 42px; aspect-ratio: 1; border-radius: 50% 50% 45% 55%;
  background: var(--rust); color: var(--white); font: 800 1.15rem Georgia, serif;
  box-shadow: inset -8px -7px 0 rgba(74, 20, 9, .18);
  transform: rotate(-7deg);
}
.brand b { display: block; font: 800 1.18rem Georgia, serif; letter-spacing: .02em; }
.brand small { display: block; color: var(--ink-soft); font-size: .69rem; letter-spacing: .1em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav > a {
  color: var(--ink-soft); text-decoration: none; font-weight: 720; font-size: .88rem;
  padding: 10px 9px; border-radius: 9px;
}
.site-nav > a:hover, .site-nav > a[aria-current="page"] { color: var(--rust-deep); background: rgba(180, 70, 36, .08); }
.site-nav form { margin: 0 0 0 6px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.nav-toggle > span:not(.sr-only) { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--ink); }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; border: 0; border-radius: 11px; padding: 0 19px;
  font-weight: 800; text-decoration: none; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--rust); color: var(--white); box-shadow: 0 12px 24px rgba(180, 70, 36, .22); }
.button-primary:hover { background: var(--rust-deep); color: white; }
.button-secondary { border: 1px solid var(--line); background: var(--card); color: var(--ink); }
.button-secondary:hover { color: var(--rust-deep); box-shadow: 0 10px 25px rgba(61, 46, 28, .08); }
.button-nav { min-height: 41px; padding-inline: 15px; background: var(--ink); color: var(--white); font-size: .82rem; }
.button-nav:hover { background: var(--rust-deep); color: white; }

.hero { position: relative; overflow: hidden; padding: clamp(70px, 9vw, 120px) 0 64px; border-bottom: 1px solid var(--line); }
.hero::after {
  content: ""; position: absolute; width: min(430px, 42vw); aspect-ratio: 1; right: -7vw; top: -18%;
  border-radius: 50%; background: radial-gradient(circle at 32% 28%, #e69252, #a73e24 48%, #602018 70%, #211410 72%);
  box-shadow: inset -42px -30px 54px rgba(16, 6, 4, .45), 0 34px 75px rgba(92, 36, 22, .2);
  opacity: .92;
}
.hero::before {
  content: ""; position: absolute; width: 540px; height: 540px; right: -10%; top: -34%;
  border: 1px solid rgba(180, 70, 36, .2); border-radius: 50%; transform: rotate(18deg) scaleY(.34);
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr); gap: 68px; align-items: end; }
.hero-copy { max-width: 760px; }
.eyebrow, .kicker {
  margin: 0 0 14px; color: var(--rust-deep); font-size: .72rem; font-weight: 850;
  letter-spacing: .16em; text-transform: uppercase;
}
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.08; text-wrap: balance; }
h1 { max-width: 820px; margin: 0; font-size: clamp(2.65rem, 6.1vw, 5.7rem); letter-spacing: -.055em; }
h2 { margin: 0 0 16px; font-size: clamp(2rem, 3.8vw, 3.4rem); letter-spacing: -.035em; }
h3 { margin: 0 0 10px; font-size: 1.35rem; }
.hero .lede { max-width: 680px; margin: 24px 0 0; color: var(--ink-soft); font-size: clamp(1.05rem, 1.7vw, 1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 30px; }
.hero-note {
  align-self: end; padding: 23px; background: rgba(255, 250, 241, .88); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); backdrop-filter: blur(8px);
}
.hero-note strong { display: block; margin-bottom: 8px; font-family: Georgia, serif; font-size: 1.3rem; }
.hero-note p { margin: 0; color: var(--ink-soft); font-size: .92rem; }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; margin-bottom: 26px; font-size: .82rem; color: var(--ink-soft); }
.breadcrumbs a { font-weight: 750; }
.section { padding: clamp(64px, 8vw, 100px) 0; }
.section-tight { padding: 52px 0; }
.section-muted { background: rgba(232, 223, 207, .54); border-block: 1px solid var(--line); }
.section-heading { max-width: 760px; margin-bottom: 34px; }
.section-heading p { max-width: 680px; margin: 0; color: var(--ink-soft); font-size: 1.06rem; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  position: relative; padding: 25px; background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; box-shadow: 0 10px 30px rgba(48, 34, 19, .055);
}
.card p:last-child { margin-bottom: 0; }
.card-number {
  display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 20px;
  border-radius: 50%; background: var(--ink); color: white; font: 700 .95rem Georgia, serif;
}
.card-label { color: var(--rust-deep); font-size: .7rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.card p, .split-copy p, .prose p, .prose li { color: var(--ink-soft); }
.card-link { display: inline-block; margin-top: 14px; font-weight: 800; }
.split { display: grid; grid-template-columns: minmax(260px, .75fr) minmax(0, 1.25fr); gap: clamp(38px, 7vw, 90px); align-items: start; }
.split-copy h2 { position: sticky; top: 112px; }
.prose { max-width: 800px; }
.prose h2 { margin-top: 55px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 30px; }
.prose p, .prose li { font-size: 1.02rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: 10px; }
.callout {
  margin: 28px 0; padding: 24px 25px; border-left: 5px solid var(--rust);
  border-radius: 0 14px 14px 0; background: rgba(255, 250, 241, .82);
}
.callout strong { display: block; margin-bottom: 5px; font-family: Georgia, serif; font-size: 1.18rem; }
.callout p { margin: 0; }
.checklist { list-style: none; padding: 0 !important; counter-reset: step; }
.checklist li { position: relative; min-height: 50px; padding-left: 60px; counter-increment: step; }
.checklist li::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: -4px;
  display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line);
  border-radius: 50%; color: var(--rust-deep); background: var(--card); font: 700 .78rem ui-monospace, monospace;
}
.comparison { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.comparison-row { display: grid; grid-template-columns: 1fr 1fr; }
.comparison-row + .comparison-row { border-top: 1px solid var(--line); }
.comparison-row > div { padding: 19px 22px; }
.comparison-row > div + div { border-left: 1px solid var(--line); }
.comparison-head { background: var(--ink); color: white; font-weight: 800; }
.comparison p { margin: 0; color: var(--ink-soft); }
.stat-strip { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 40px; border-block: 1px solid var(--line); }
.stat { padding: 18px 24px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { display: block; font: 700 1.35rem Georgia, serif; }
.stat span { color: var(--ink-soft); font-size: .82rem; }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.related a { color: inherit; text-decoration: none; }
.related a:hover { border-color: var(--rust); transform: translateY(-2px); }
.related .card { transition: transform .18s ease, border-color .18s ease; }

.route-section { padding: 80px 0; background: var(--ink); color: var(--white); }
.route-card { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }
.route-card h2 { max-width: 650px; }
.route-card p { max-width: 650px; color: #d7ccbb; }
.route-card .kicker { color: #ef9b6e; }
.route-action { padding: 25px; border: 1px solid rgba(255,255,255,.18); border-radius: 16px; background: rgba(255,255,255,.045); }
.route-action form { margin: 0; }
.route-action .button { width: 100%; }
.route-action p { margin: 12px 0 0; font-size: .82rem; }

.site-footer { padding: 68px 0 26px; background: #0f0d0a; color: #efe7da; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 60px; }
.brand-footer { color: white; }
.brand-footer:hover { color: white; }
.brand-footer small, .footer-intro p { color: #a99e8d; }
.footer-intro p { max-width: 390px; }
.site-footer nav { display: flex; flex-direction: column; gap: 8px; }
.site-footer nav h2 { margin: 0 0 8px; font: 800 .72rem ui-sans-serif, sans-serif; color: #b8ac9a; letter-spacing: .13em; text-transform: uppercase; }
.site-footer nav a { color: #efe7da; text-decoration: none; font-size: .9rem; }
.site-footer nav a:hover { color: #f3a27c; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; margin-top: 48px; padding-top: 20px; border-top: 1px solid #332d25; color: #918676; font-size: .78rem; }
.footer-bottom a { color: #c8bcab; }

.not-found { min-height: 68vh; display: grid; place-items: center; padding: 80px 0; text-align: center; }
.not-found .code { margin: 0; color: var(--rust); font: 800 clamp(5rem, 16vw, 11rem)/.8 Georgia, serif; }
.not-found h1 { margin: 25px auto 15px; font-size: clamp(2.2rem, 5vw, 4.4rem); }
.not-found p { max-width: 560px; margin: 0 auto 28px; color: var(--ink-soft); }

@media (max-width: 1000px) {
  .hero::after { opacity: .35; right: -18%; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-note { max-width: 520px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  :root { --shell: min(100% - 28px, 1180px); }
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: 68px; right: 14px; left: 14px; flex-direction: column;
    align-items: stretch; padding: 14px; border: 1px solid var(--line); border-radius: 14px;
    background: var(--card); box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-nav > a { padding: 11px 12px; }
  .site-nav form { margin: 6px 0 0; }
  .site-nav .button { width: 100%; }
  .split, .route-card, .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .split-copy h2 { position: static; }
  .grid-3, .related { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  h1 { font-size: clamp(2.55rem, 14vw, 4.2rem); }
  .hero { padding-top: 58px; }
  .hero::after { width: 280px; top: -8%; right: -42%; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .grid-2, .grid-3, .grid-4, .related, .stat-strip { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .comparison-row { grid-template-columns: 1fr; }
  .comparison-row > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .route-section { padding: 60px 0; }
  .footer-bottom { flex-direction: column; }
}

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