:root {
  --cream: #F6F1E8;
  --navy: #10264B;
  --ink: #10264B;
  --slate: #66717A;
  --line: #D8CDBB;
  --brass: #B87932;
  --gold: #B87932;
  --larkspur-green: #39531E;
  --green: #39531E;
  --purple: #653E8B;
  --glow: #F7D790;
  --amber: #F7D790;
  --wood: #B8824B;
  --white: #fff;
  --body-ink: #252A2E;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--cream); color: var(--body-ink); font: 16px/1.62 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; }
h1, h2, h3 { font-family: "Cormorant Garamond", Georgia, serif; color: var(--ink); line-height: 1.04; letter-spacing: -0.02em; }
h1 { font-size: clamp(3rem, 7vw, 5.4rem); margin: 0 0 18px; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 18px; }
h3 { font-size: 1.55rem; margin: 0 0 12px; }
p { margin: 0 0 18px; }
a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--brass); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.site-header { padding: 22px 0; border-bottom: 1px solid var(--line); background: rgba(246, 241, 232, 0.92); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { height: 52px; width: auto; display: block; }
.nav-cta { font-weight: 900; text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; background: rgba(255,255,255,.55); }
.hero-shell { position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 76px max(-60px, calc((100vw - 1160px)/2 - 64px)) auto 52%; height: 420px; border-radius: 34px; overflow: hidden; box-shadow: 0 28px 80px rgba(16,38,75,.16); opacity: .78; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero { position: relative; z-index: 1; min-height: 680px; display: grid; grid-template-columns: .95fr 1.05fr; gap: 72px; align-items: center; padding-top: 58px; padding-bottom: 58px; }
.hero-text { max-width: 620px; background: rgba(246,241,232,.88); border-radius: 28px; padding: 20px 24px 24px 0; }
.hero-mark { width: min(360px, 90%); justify-self: center; border-radius: 32px; box-shadow: 0 24px 70px rgba(16,38,75,.14); }
.eyebrow { letter-spacing: .16em; text-transform: uppercase; font-weight: 900; font-size: .78rem; color: #7B5E45; margin: 0 0 14px; }
.lede { font-size: 1.35rem; color: #4B5563; max-width: 600px; }
.button { display: inline-block; background: var(--ink); color: var(--white) !important; text-decoration: none; border-radius: 999px; padding: 14px 24px; font-weight: 900; margin-top: 18px; box-shadow: 0 12px 30px rgba(16,38,75,.16); }
.button:hover { background: var(--brass); color: var(--white) !important; }
.button.secondary { background: var(--larkspur-green); }
.section { padding: 70px 0; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: 28px; padding: 36px; box-shadow: 0 16px 48px rgba(16,38,75,.08); }
.intro-panel { max-width: 780px; }
.banner-section { padding: 20px 0 84px; }
.banner-frame { border-radius: 34px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 26px 78px rgba(16,38,75,.16); background: var(--white); }
.banner-frame img { width: 100%; display: block; }
.site-footer { background: var(--ink); color: var(--white); padding: 56px 0; margin-top: 56px; }
.footer-wrap { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer-avatar { height: 86px; width: 86px; border-radius: 18px; box-shadow: 0 16px 36px rgba(0,0,0,.24); }
.footer-text { color: #D8CDBB; }
.footer-text h3 { color: var(--white); margin-bottom: 8px; font-size: 1.55rem; }
.footer-text p { margin: 0; }
.copyright { margin-top: 12px !important; font-size: .86rem; }
.guide-hero { position: relative; padding: 58px 0 32px; overflow: hidden; }

.guide-hero-banner-img { position: absolute; inset: 38px -10% auto 48%; width: 62%; height: 270px; object-fit: cover; border-radius: 30px; opacity: .42; box-shadow: 0 24px 70px rgba(16,38,75,.12); }
.guide-hero-grid { position: relative; display: grid; grid-template-columns: 1fr 260px; gap: 48px; align-items: center; }
.guide-hero h1 { max-width: 800px; }
.guide-hero-mark { width: 240px; border-radius: 26px; box-shadow: 0 18px 54px rgba(16,38,75,.13); justify-self: end; }
article.guide { background: var(--white); border: 1px solid var(--line); border-radius: 30px; padding: 56px 48px; margin: 28px auto; box-shadow: 0 22px 56px rgba(16,38,75,.08); max-width: 780px; }
article.guide h1 { font-size: clamp(2.25rem, 4vw, 3.35rem); margin-bottom: 24px; }
article.guide h2 { font-size: 1.9rem; margin-top: 2em; }
article.guide h3 { font-size: 1.25rem; margin-top: 1.6em; }
article.guide ul, article.guide ol { padding-left: 1.4rem; }
article.guide .checklist { list-style: none; padding-left: 0; }
article.guide .checklist li { display: flex; gap: .75rem; align-items: flex-start; margin: .5rem 0; }
article.guide .box { width: 1.05rem; height: 1.05rem; border: 2px solid var(--green); border-radius: .2rem; margin-top: .3rem; flex: 0 0 auto; }
article.guide code { background: #F3F0E5; border: 1px solid var(--line); border-radius: 6px; padding: .05rem .35rem; font-size: .92em; }
article.guide .note { color: var(--slate); font-size: .95rem; }
.back-link { display: inline-block; margin-top: 24px; font-weight: 800; font-size: .95rem; }
.guide-banner { max-width: 920px; }
.error-page { min-height: 50vh; padding-top: 70px; padding-bottom: 70px; }
.error-mark { width: 170px; border-radius: 24px; box-shadow: 0 18px 44px rgba(16,38,75,.12); margin-bottom: 28px; }
@media (max-width: 900px) {
  .hero, .guide-hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .hero-bg, .guide-hero-banner-img { display: none; }
  .hero-text { padding-right: 0; }
  .hero-mark, .guide-hero-mark { justify-self: start; width: min(280px, 100%); }
  h1 { font-size: clamp(2.6rem, 12vw, 4rem); }
  article.guide { padding: 38px 26px; border-radius: 24px; }
  .wordmark { height: 44px; }
}
