/* ==========================================================================
   hawkbrowser.com - Logo palette: charcoal, hawk brown, taupe
   ========================================================================== */
:root {
    --c-primary: #423D3A;      /* logo charcoal */
    --c-primary-2: #36312E;
    --c-bg: #F7F4EF;           /* taupe-tinted cream */
    --c-sand: #ECE6DC;
    --c-tan: #A39682;          /* logo taupe */
    --c-accent: #5A2F1E;       /* logo hawk brown */
    --c-accent-dark: #3D1F15;
    --c-white: #ffffff;
    --c-text: #4A4441;
    --c-muted: #7A716A;
    --c-border: #E2DACD;
    --max-w: 1120px;
    --font-sans: "Manrope", system-ui, sans-serif;
    --font-display: "Fraunces", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }
html, body { overflow-x: hidden; max-width: 100%; }

body {
    font-family: var(--font-sans);
    background: var(--c-bg);
    color: var(--c-text);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ---------- Top bar & header ---------- */
.top-bar {
    background: var(--c-accent);
    color: var(--c-white);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-align: center;
    padding: 8px 0;
}

.site-header { position: static; background: var(--c-bg); border-bottom: 1px solid var(--c-border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; }
.header-logo { height: 58px; width: auto; }

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--font-sans); font-weight: 700; line-height: 1;
    padding: 16px 32px; border-radius: 6px;
    transition: background .25s ease, color .25s ease, transform .25s ease, border-color .25s ease;
    cursor: pointer;
}
.btn-nav-cta { border: 2px solid var(--c-accent); color: var(--c-accent); font-size: 0.92rem; padding: 12px 22px; }
.btn-nav-cta:hover { background: var(--c-accent); color: var(--c-white); }
.btn-primary {
    background: var(--c-accent); color: var(--c-white); font-size: 1.1rem;
    border: 2px solid var(--c-accent); box-shadow: 0 8px 0 var(--c-accent-dark);
}
.btn-primary:hover { transform: translateY(2px); box-shadow: 0 6px 0 var(--c-accent-dark); }
.btn-outline { border: 2px solid var(--c-primary); color: var(--c-primary); font-size: 0.92rem; padding: 12px 22px; }
.btn-outline:hover { background: var(--c-primary); color: var(--c-white); }

/* ---------- Hero: centered copy with banner below ---------- */
.hero {
    padding: 56px 0 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(163, 150, 130, .25), transparent 35%),
        linear-gradient(var(--c-primary), var(--c-primary)) top / 100% 62% no-repeat;
}
.hero-card { background: var(--c-white); border-radius: 22px; overflow: hidden; box-shadow: 0 28px 60px rgba(42, 29, 22, 0.18); }
.hero-copy { padding: 56px 64px 40px; text-align: center; max-width: 900px; margin: 0 auto; }
.hero-kicker {
    display: inline-block; color: var(--c-accent); font-weight: 800; font-size: 0.8rem;
    text-transform: uppercase; letter-spacing: 0.16em; margin-bottom: 18px;
}
.hero-kicker::before, .hero-kicker::after { content: "\2014"; margin: 0 10px; opacity: .6; }
.hero-copy h1 {
    font-family: var(--font-display); color: var(--c-primary);
    font-size: clamp(2.1rem, 4vw, 3.2rem); font-weight: 700; line-height: 1.12;
    letter-spacing: -0.01em; margin-bottom: 18px;
}
.hero-sub { font-size: 1.12rem; color: var(--c-muted); max-width: 720px; margin: 0 auto 30px; }
.hero-meta { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--c-border); }
.hero-meta li { padding: 18px 28px 0; display: flex; flex-direction: column; gap: 2px; }
.hero-meta li + li { border-left: 1px solid var(--c-border); }
.meta-label { font-size: 0.72rem; color: var(--c-muted); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; }
.meta-value { font-family: var(--font-display); color: var(--c-primary); font-weight: 600; font-size: 1rem; }
.hero-banner { margin: 0; }
.hero-banner img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }

/* ---------- Body: sidebar left, article right ---------- */
.body-section { padding: 64px 0 80px; }
.body-grid { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 60px; }

.sidebar { min-width: 0; }
.sidebar-sticky { position: sticky; top: 28px; display: flex; flex-direction: column; gap: 24px; }
.side-card { background: var(--c-white); border: 1px solid var(--c-border); border-radius: 14px; padding: 26px; }
.side-card-accent { background: var(--c-sand); border-color: var(--c-sand); }
.side-title { font-family: var(--font-display); color: var(--c-primary); font-size: 1.15rem; font-weight: 700; margin-bottom: 16px; }
.toc { display: flex; flex-direction: column; counter-reset: toc; }
.toc a {
    counter-increment: toc; position: relative; padding: 10px 0 10px 40px;
    font-size: 0.93rem; font-weight: 600; line-height: 1.4; border-bottom: 1px solid var(--c-border);
    transition: color .2s ease;
}
.toc a:last-child { border-bottom: 0; }
.toc a::before {
    content: counter(toc); position: absolute; left: 0; top: 8px;
    width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
    border: 1.5px solid var(--c-accent); color: var(--c-accent); font-size: 0.78rem; font-weight: 800;
    transition: background .2s ease, color .2s ease;
}
.toc a:hover, .toc a.is-active { color: var(--c-accent); }
.toc a:hover::before, .toc a.is-active::before { background: var(--c-accent); color: var(--c-white); }
.glance { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.glance li { position: relative; padding-left: 30px; font-size: 0.93rem; line-height: 1.55; color: var(--c-primary); }
.glance li::before {
    content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A2F1E' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7' y='2' width='10' height='20' rx='2'/%3E%3Cpath d='M11 18h2'/%3E%3C/svg%3E") center / contain no-repeat;
}

.content-block { margin-bottom: 44px; scroll-margin-top: 24px; }
.content-block:last-child { margin-bottom: 0; }
.content-block h2 {
    font-family: var(--font-display); color: var(--c-primary);
    font-size: 1.95rem; font-weight: 700; line-height: 1.22; margin-bottom: 18px;
}
.content-block h2::after { content: ""; display: block; width: 56px; height: 3px; background: var(--c-accent); margin-top: 14px; }
.content-block p { font-size: 1.08rem; margin-bottom: 18px; }
.content-block .lead { font-size: 1.2rem; color: var(--c-primary); }
.content-block .lead::first-letter {
    font-family: var(--font-display); float: left; font-size: 3.6rem; line-height: 0.9;
    color: var(--c-accent); margin: 6px 10px 0 0; font-weight: 700;
}

.pull-quote {
    margin: 0 0 44px; padding: 30px 34px; background: var(--c-primary); color: #F1ECE4;
    border-radius: 14px; position: relative;
}
.pull-quote::before {
    content: "\201C"; position: absolute; top: -18px; left: 24px;
    font-family: var(--font-display); font-size: 5rem; line-height: 1; color: var(--c-tan);
}
.pull-quote p { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.45; }

.figure-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 0 0 44px; }
.figure-pair figure { margin: 0; }
.figure-pair img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.figure-pair figcaption { font-size: 0.88rem; color: var(--c-muted); margin-top: 10px; line-height: 1.5; }

.tip-box { background: var(--c-white); border: 1px solid var(--c-border); border-left: 5px solid var(--c-accent); border-radius: 12px; padding: 24px 26px; margin: 4px 0 20px; }
.tip-title { font-family: var(--font-display); font-weight: 700; color: var(--c-primary); font-size: 1.15rem !important; margin-bottom: 10px !important; }
.tip-box ul { list-style: none; display: grid; gap: 8px; }
.tip-box li { position: relative; padding-left: 26px; }
.tip-box li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); }

/* ---------- CTA: centered stack ---------- */
.cta-section { padding: 0 0 80px; }
.cta-box {
    max-width: 860px; margin: 0 auto; text-align: center;
    background: var(--c-white); border: 4px solid var(--c-accent); border-radius: 20px;
    padding: 56px 56px 48px; display: flex; flex-direction: column; align-items: center;
    box-shadow: 0 24px 50px rgba(163, 150, 130, 0.12);
}
.cta-badge {
    display: inline-flex; background: var(--c-white); padding: 14px 20px; border-radius: 14px; margin-bottom: 26px;
    box-shadow: 0 8px 22px rgba(42,29,22,.12), 0 0 0 3px var(--c-sand);
    transition: transform .2s ease;
}
.cta-badge:hover { transform: scale(1.03); }
.cta-badge img { height: 28px; width: auto; }
.cta-box h2 { font-family: var(--font-display); color: var(--c-primary); font-size: 2.4rem; line-height: 1.15; margin-bottom: 16px; }
.cta-box > p { font-size: 1.08rem; max-width: 640px; margin-bottom: 30px; }
.cta-btn { min-width: 280px; }
.cta-note { font-size: 0.92rem; color: var(--c-muted); margin-top: 22px; }

/* ---------- Disclaimer & footer ---------- */
.disclaimer-section { background: var(--c-white); border-top: 1px solid var(--c-border); padding: 50px 0; }
.disclaimer-section h2 { font-family: var(--font-display); color: var(--c-primary); font-size: 1.1rem; margin-bottom: 14px; }
.disclaimer-section p { font-size: 0.86rem; color: var(--c-muted); line-height: 1.65; margin-bottom: 12px; }
.disclaimer-section a, .prose a { color: var(--c-accent-dark); text-decoration: underline; text-underline-offset: 3px; }

.site-footer { background: var(--c-sand); color: var(--c-muted); padding: 44px 0 30px; border-top: 4px solid var(--c-accent); }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 24px; border-bottom: 1px solid rgba(66, 61, 58, .12); }
.footer-logo { height: 54px; width: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 0.9rem; }
.footer-links a { color: var(--c-primary); font-weight: 600; }
.footer-links a:hover { color: var(--c-accent); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; padding-top: 22px; }
.footer-identity p { font-size: 0.86rem; line-height: 1.6; }
.footer-identity a { color: var(--c-accent); font-weight: 600; }
.footer-copy { font-size: 0.85rem; color: var(--c-muted); }

/* ---------- Subpages: centered hero, site-pages sidebar left, numbered questions ---------- */
.page-hero {
    background: radial-gradient(circle at 85% 25%, rgba(163, 150, 130, .32), transparent 40%), radial-gradient(circle at 10% 90%, rgba(163, 150, 130, .18), transparent 35%), var(--c-primary);
    color: #EDE7DE; padding: 66px 0 60px; text-align: center;
}
.page-kicker { display: inline-block; color: #C9BBA3; font-weight: 800; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.18em; margin-bottom: 14px; }
.page-kicker::before, .page-kicker::after { content: "\2014"; margin: 0 10px; opacity: .6; }
.page-hero h1 { font-family: var(--font-display); color: var(--c-white); font-size: clamp(2.2rem, 4.4vw, 3.2rem); line-height: 1.12; margin-bottom: 12px; }
.page-hero p { font-size: 1.1rem; max-width: 620px; margin: 0 auto; }
.page-body { padding: 60px 0 80px; }
.page-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; align-items: start; }
.aside-sticky { position: sticky; top: 28px; display: flex; flex-direction: column; gap: 20px; }
.page-nav { display: flex; flex-direction: column; }
.page-nav a {
    display: flex; justify-content: space-between; align-items: center; gap: 10px;
    padding: 10px 0; border-bottom: 1px solid var(--c-border); font-weight: 600; font-size: 0.93rem;
    transition: color .2s ease;
}
.page-nav a:last-child { border-bottom: 0; }
.page-nav a::after { content: "\2192"; color: var(--c-border); transition: color .2s ease, transform .2s ease; }
.page-nav a:hover, .page-nav a.is-current { color: var(--c-accent); }
.page-nav a:hover::after, .page-nav a.is-current::after { color: var(--c-accent); transform: translateX(3px); }
.aside-line { font-size: 0.92rem; overflow-wrap: anywhere; margin-bottom: 4px; }
.aside-line a { color: var(--c-accent-dark); font-weight: 600; }
.prose { max-width: 760px; }
.prose h2 { font-family: var(--font-display); color: var(--c-primary); font-size: 1.55rem; line-height: 1.3; margin: 38px 0 12px; scroll-margin-top: 24px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 1.05rem; }
.prose p { margin-bottom: 14px; }
.prose ul { margin: 0 0 16px 20px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--c-accent); }
.prose .updated { display: inline-block; font-size: 0.85rem; font-weight: 700; color: var(--c-accent-dark); background: var(--c-sand); padding: 5px 12px; border-radius: 6px; margin-bottom: 22px; }
.prose-numbered { counter-reset: q; }
.prose-numbered h2 { counter-increment: q; display: flex; gap: 14px; align-items: baseline; padding-top: 26px; border-top: 1px solid var(--c-border); }
.prose-numbered h2::before {
    content: counter(q, decimal-leading-zero); flex-shrink: 0;
    font-family: var(--font-sans); font-size: 0.8rem; font-weight: 800; color: var(--c-white);
    background: var(--c-accent); border-radius: 6px; padding: 3px 8px; transform: translateY(-3px);
}
.reach-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 18px 0 8px; }
.reach-item { display: flex; gap: 14px; align-items: flex-start; background: var(--c-white); border: 1px solid var(--c-border); border-radius: 12px; padding: 18px; overflow-wrap: anywhere; }
.reach-item svg { width: 40px; height: 40px; padding: 9px; flex-shrink: 0; border-radius: 10px; background: var(--c-sand); fill: none; stroke: var(--c-accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.reach-item strong { display: block; color: var(--c-primary); font-family: var(--font-display); font-size: 1.02rem; }
.reach-item a { color: var(--c-accent-dark); font-weight: 600; }
.contact-form { display: grid; gap: 14px; margin-top: 10px; background: var(--c-white); border: 1px solid var(--c-border); border-radius: 14px; padding: 26px; }
.contact-form label { font-weight: 700; color: var(--c-primary); font-size: 0.92rem; }
.contact-form input, .contact-form textarea {
    width: 100%; font: inherit; color: var(--c-text); background: var(--c-bg);
    border: 1px solid var(--c-border); border-radius: 8px; padding: 12px 14px; margin-top: 6px;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--c-accent); outline-offset: 1px; }
.contact-form button { justify-self: start; }
.form-note { font-size: 0.88rem; color: var(--c-muted); }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
    .body-grid { grid-template-columns: 1fr; gap: 40px; }
    .sidebar-sticky { position: static; flex-direction: row; flex-wrap: wrap; }
    .side-card { flex: 1 1 280px; }
    .hero-copy { padding: 44px 28px 32px; }
    .page-grid { grid-template-columns: 1fr; gap: 36px; }
    .page-aside { order: 2; }
    .aside-sticky { position: static; flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 680px) {
    .container { padding: 0 16px; }
    .header-inner { padding: 14px 16px; }
    .header-logo { height: 46px; }
    .btn-nav-cta { padding: 10px 16px; font-size: 0.84rem; }
    .hero { padding-top: 28px; }
    .hero-copy { padding: 34px 20px 26px; }
    .hero-copy h1 { font-size: 1.9rem; }
    .hero-meta li { padding: 14px 14px 0; }
    .hero-meta li + li { border-left: 0; }
    .hero-banner img { aspect-ratio: 4 / 3; }
    .content-block h2 { font-size: 1.55rem; }
    .figure-pair { grid-template-columns: 1fr; }
    .cta-box { padding: 40px 22px; }
    .cta-box h2 { font-size: 1.8rem; }
    .cta-btn { min-width: 0; width: 100%; }
    .page-hero { padding: 48px 0 44px; }
    .prose h2 { font-size: 1.35rem; }
    .reach-list { grid-template-columns: 1fr; }
}
