/* ============================================================
   Buzz KC Design — shared styles
   A workbench sketchbook: warm paper, etched line art, one
   honey-amber accent borrowed straight from the bulb artwork.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Work+Sans:wght@400;500;600&display=swap');

:root {
    --ink: #241f1a;
    --paper: #fbf7ef;
    --paper-deep: #f1e8d6;
    --bronze-line: #6b5636;
    --bronze-line-soft: rgba(107, 86, 54, 0.35);
    --honey: #e2a63b;
    --honey-deep: #a9701f;
    --bee-black: #1c1a17;
    --max-width: 1100px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: var(--paper);
    background-image: url('images/background_repeat.png');
    background-repeat: repeat-y;
    background-position: top center;
    background-size: 1000px auto;
    color: var(--ink);
    font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    line-height: 1.15;
    margin: 0 0 0.5em;
    color: var(--bee-black);
}

a {
    color: var(--honey-deep);
    text-decoration-thickness: 1.5px;
    text-underline-offset: 2px;
}

a:hover {
    color: var(--ink);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--honey-deep);
    outline-offset: 3px;
}

img {
    max-width: 100%;
    display: block;
}

.wrap {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 28px;
}

/* ---------------- Header ---------------- */

.site-header {
    border-bottom: 1px solid var(--bronze-line-soft);
    background: var(--paper);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 18px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand-mark {
    height: 34px;
    width: auto;
}

.site-nav {
    display: flex;
    gap: 28px;
    font-size: 16px;
}

.site-nav a {
    color: var(--ink);
    text-decoration: none;
    padding: 6px 2px;
    border-bottom: 2px solid transparent;
}

.site-nav a:hover {
    color: var(--honey-deep);
}

.site-nav a.is-active {
    border-bottom-color: var(--honey);
    color: var(--honey-deep);
}

/* ---------------- Hero ---------------- */

.hero {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 28px;
    text-align: center;
}

.hero-content {
    position: relative;
    max-width: 560px;
    margin: 0 auto;
}

.hero-badge {
    width: 108px;
    margin: 0 auto 22px;
}

.hero h1 {
    font-size: clamp(2.1rem, 4.4vw, 3.1rem);
    letter-spacing: -0.01em;
}

.hero p.hero-sub {
    font-size: 1.1rem;
    color: var(--bronze-line);
    max-width: 480px;
    margin: 0 auto;
}

/* ---------------- Intro / two-column section ---------------- */

.intro {
    padding: 40px 28px 88px;
}

.intro-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 56px;
    align-items: start;
}

.intro-figure {
    position: sticky;
    top: 32px;
}

.intro-figure img {
    width: 100%;
}

.intro-figure figcaption {
    margin-top: 14px;
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-size: 1rem;
    color: var(--bronze-line);
    text-align: center;
}

.intro-copy {
    max-width: 62ch;
}

.intro-copy p {
    margin: 0 0 1.3em;
    font-size: 1.05rem;
}

.intro-copy p:first-of-type {
    font-family: 'Fraunces', serif;
    font-size: 1.25rem;
    color: var(--bee-black);
}

.signature {
    margin-top: 2em;
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--honey-deep);
}

.divider {
    border: none;
    border-top: 1px solid var(--bronze-line-soft);
    margin: 2.4em 0;
}

.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 2.6em 0 0;
    padding: 0;
    list-style: none;
}

.pillars li {
    border-left: 2px solid var(--honey);
    padding-left: 14px;
}

.pillars .pillar-label {
    display: block;
    font-family: 'Fraunces', serif;
    font-size: 1.05rem;
    color: var(--bee-black);
    margin-bottom: 4px;
}

.pillars .pillar-detail {
    font-size: 0.94rem;
    color: var(--bronze-line);
}

.cta-row {
    margin-top: 2.6em;
}

.btn {
    display: inline-block;
    background: var(--bee-black);
    color: var(--paper);
    text-decoration: none;
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    padding: 13px 26px;
    border: 1px solid var(--bee-black);
    transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

.btn:hover {
    background: var(--honey-deep);
    border-color: var(--honey-deep);
    color: var(--paper);
}

.btn:active {
    transform: translateY(1px);
}

/* ---------------- Contact page ---------------- */

.contact-section {
    padding: 56px 28px 96px;
}

.contact-inner {
    max-width: 880px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 56px;
    align-items: start;
}

.contact-intro h1 {
    font-size: clamp(1.9rem, 3.6vw, 2.4rem);
}

.contact-intro p {
    color: var(--bronze-line);
    max-width: 34ch;
}

.contact-detail {
    margin-top: 2em;
    padding-top: 1.4em;
    border-top: 1px solid var(--bronze-line-soft);
}

.contact-detail dt {
    font-family: 'Fraunces', serif;
    color: var(--bee-black);
    margin-bottom: 2px;
}

.contact-detail dd {
    margin: 0 0 1.2em;
    color: var(--bronze-line);
}

.form-panel {
    background: var(--paper-deep);
    border: 1px solid var(--bronze-line-soft);
    padding: 32px;
}

.form-row {
    margin-bottom: 20px;
}

.form-row label {
    display: block;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--bee-black);
    margin-bottom: 6px;
}

.form-row input,
.form-row textarea {
    width: 100%;
    font-family: inherit;
    font-size: 1rem;
    padding: 11px 13px;
    border: 1px solid var(--bronze-line-soft);
    background: var(--paper);
    color: var(--ink);
}

.form-row textarea {
    min-height: 140px;
    resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
    border-color: var(--honey-deep);
}

/* honeypot field, hidden from real visitors */
.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
}

.form-note {
    font-size: 0.85rem;
    color: var(--bronze-line);
    margin-top: 14px;
}

.alert {
    padding: 14px 18px;
    margin-bottom: 24px;
    border-left: 3px solid var(--honey);
    background: var(--paper-deep);
    font-size: 0.96rem;
}

.alert.success {
    border-left-color: #4a7a4a;
}

.alert.error {
    border-left-color: #a94442;
}

.field-error {
    color: #a94442;
    font-size: 0.85rem;
    margin-top: 4px;
}

/* ---------------- Footer ---------------- */

.site-footer {
    border-top: 1px solid var(--bronze-line-soft);
    padding: 30px 28px 40px;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-mark {
    height: 30px;
    width: auto;
    opacity: 0.85;
}

.footer-copy {
    margin: 0;
    font-size: 0.88rem;
    color: var(--bronze-line);
}

.footer-copy a {
    color: var(--bronze-line);
}

.footer-copy a:hover {
    color: var(--honey-deep);
}

/* ---------------- Responsive ---------------- */

@media (max-width: 760px) {
    .intro-inner,
    .contact-inner {
        grid-template-columns: 1fr;
    }

    .intro-figure {
        position: static;
        max-width: 200px;
        margin: 0 auto;
    }

    .pillars {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 52px 20px 28px;
    }

    body {
        background-size: 640px auto;
    }

    .form-panel {
        padding: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        transition: none !important;
    }
}
