/* Jesse Buys Messy Houses
   Hand-written CSS, no framework. Colors live in the tokens below. */

:root {
    --cream: #f7f1e6;
    --sand: #ece1cc;
    --line: #d9c9ad;
    --clay: #a94e27;
    --clay-dark: #85391a;
    --olive: #55623a;
    --olive-dark: #3b4527;
    --bark: #4a3426;
    --ink: #2a2420;
    --muted: #6b5d50;

    --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
    --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    --radius: 10px;
    --shadow: 0 1px 2px rgba(42, 36, 32, .06), 0 8px 24px rgba(42, 36, 32, .08);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 1.0625rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
    font-family: var(--serif);
    line-height: 1.15;
    margin: 0 0 .75rem;
    color: var(--bark);
}

h1 {
    font-size: clamp(2.4rem, 6vw, 3.9rem);
    letter-spacing: -.01em;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
}

h3 {
    font-size: 1.3rem;
}

p {
    margin: 0 0 1rem;
}

a {
    color: var(--clay);
}

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

.container-narrow {
    max-width: 780px;
}

/* .offer-form repeats the class so the form's input styles can't override it. */
.visually-hidden,
.offer-form .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.eyebrow {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--clay);
    margin-bottom: .5rem;
}

.accent {
    color: var(--clay);
}


/* ---------- Buttons ---------- */

.button {
    display: inline-block;
    padding: .85rem 1.5rem;
    border: 2px solid var(--clay);
    border-radius: 999px;
    background: var(--clay);
    color: #fff;
    font: 600 1rem/1.2 var(--sans);
    text-decoration: none;
    cursor: pointer;
    transition: background .15s, border-color .15s, color .15s;
}

.button:hover {
    background: var(--clay-dark);
    border-color: var(--clay-dark);
}

.button-ghost {
    background: transparent;
    color: var(--bark);
    border-color: var(--line);
}

.button-ghost:hover {
    background: var(--sand);
    border-color: var(--sand);
}

.button-dark {
    background: var(--bark);
    border-color: var(--bark);
}

.button-dark:hover {
    background: var(--ink);
    border-color: var(--ink);
}

.button-small {
    padding: .55rem 1.1rem;
    font-size: .95rem;
}

:focus-visible {
    outline: 3px solid var(--olive);
    outline-offset: 2px;
}


/* ---------- Header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(247, 241, 230, .94);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 4.25rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: .55rem;
    color: var(--bark);
    font: 700 1.2rem/1 var(--serif);
    text-decoration: none;
}

.logo img {
    flex: none;
    border-radius: 50%;
}

.menu-toggle {
    display: none;
    padding: .4rem;
    border: 0;
    background: none;
    color: var(--bark);
    cursor: pointer;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links a:not(.button) {
    color: var(--bark);
    font-weight: 500;
    text-decoration: none;
}

.nav-links a:not(.button):hover {
    color: var(--clay);
}

@media (max-width: 860px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: .5rem 1rem 1rem;
        background: var(--cream);
        border-bottom: 1px solid var(--line);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a:not(.button) {
        padding: .75rem 0;
        border-bottom: 1px solid var(--sand);
    }

    .nav-links .button {
        margin-top: .75rem;
        text-align: center;
    }
}


/* ---------- Hero ---------- */

.hero {
    padding: 3.5rem 0 4rem;
    background:
        radial-gradient(ellipse at 85% 20%, rgba(169, 78, 39, .12), transparent 55%),
        var(--cream);
}

.hero-grid {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 900px) {
    .hero {
        padding: 5rem 0 5.5rem;
    }

    .hero-grid {
        grid-template-columns: 1.1fr 1fr;
        gap: 3.5rem;
    }
}

.lead {
    font-size: 1.2rem;
    color: var(--muted);
    max-width: 36rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin: 1.75rem 0;
}

.trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: .95rem;
    font-weight: 600;
    color: var(--olive-dark);
}

.trust-list li::before {
    content: "✓";
    margin-right: .4rem;
    color: var(--olive);
}

/* The logo is a circular badge; the round crop hides its square background. */
.hero-art img {
    display: block;
    width: 100%;
    max-width: 440px;
    height: auto;
    margin: 0 auto;
    border-radius: 50%;
    box-shadow: 0 18px 40px rgba(74, 52, 38, .18);
}


/* ---------- Sections ---------- */

.section {
    padding: 4.5rem 0;
}

.section-sand {
    background: var(--sand);
}

.section-intro {
    max-width: 44rem;
    font-size: 1.1rem;
    color: var(--muted);
    margin-bottom: 2.25rem;
}

.section-olive {
    background: var(--olive-dark);
    color: #efe8da;
}

.section-olive h2,
.section-olive .section-intro {
    color: #f7f1e6;
}

.section-olive .eyebrow {
    color: #e3b28f;
}

.section-clay {
    background: var(--clay);
    color: #fbf3e8;
}

.section-clay h2 {
    color: #fff;
}

.section-clay .eyebrow {
    color: #f6d6bf;
}


/* Situations */

.situation-grid {
    display: grid;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 640px) {
    .situation-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1000px) {
    .situation-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.situation-grid li {
    padding: 1.25rem;
    background: var(--cream);
    border: 1px solid var(--line);
    border-left: 4px solid var(--clay);
    border-radius: var(--radius);
}

.situation-grid strong {
    display: block;
    margin-bottom: .3rem;
    color: var(--bark);
}

.situation-grid span {
    font-size: .95rem;
    color: var(--muted);
}


/* Steps */

.steps {
    display: grid;
    gap: 1.25rem;
    margin: 2rem 0 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 860px) {
    .steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

.steps li {
    padding: 1.75rem;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.steps p {
    color: var(--muted);
    margin: 0;
}

.step-number {
    display: inline-grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: var(--olive);
    color: #fff;
    font: 700 1.15rem/1 var(--serif);
}


/* Sell or list */

.option-grid {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 800px) {
    .option-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.option-card {
    padding: 2rem;
    background: var(--cream);
    color: var(--ink);
    border-radius: var(--radius);
}

.option-card-muted {
    background: rgba(247, 241, 230, .1);
    color: #e6dccb;
    border: 1px solid rgba(247, 241, 230, .25);
}

.option-card-muted h3 {
    color: #f7f1e6;
}

.check-list,
.x-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.check-list li,
.x-list li {
    position: relative;
    padding: .4rem 0 .4rem 1.75rem;
    border-top: 1px solid var(--sand);
}

.x-list li {
    border-top-color: rgba(247, 241, 230, .2);
}

.check-list li::before,
.x-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--olive);
    font-weight: 700;
}

.x-list li::before {
    content: "✕";
    color: #e3b28f;
}


/* About */

.about-grid {
    display: grid;
    gap: 2.5rem;
    align-items: start;
}

@media (min-width: 860px) {
    .about-grid {
        grid-template-columns: 320px 1fr;
        gap: 3.5rem;
    }
}

.about-photo {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1;
    border-radius: var(--radius);
    object-fit: cover;
}

.about-areas {
    padding: 1rem 1.25rem;
    background: var(--sand);
    border-radius: var(--radius);
}


/* FAQ */

details {
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-bottom: .75rem;
}

summary {
    padding: 1.1rem 1.25rem;
    font-weight: 600;
    color: var(--bark);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: "+";
    color: var(--clay);
    font-size: 1.4rem;
    line-height: 1;
}

details[open] summary::after {
    content: "–";
}

details p {
    padding: 0 1.25rem 1.1rem;
    margin: 0;
    color: var(--muted);
}


/* Offer form */

.offer-grid {
    display: grid;
    gap: 2.5rem;
}

@media (min-width: 900px) {
    .offer-grid {
        grid-template-columns: 1fr 1.2fr;
        gap: 4rem;
        align-items: start;
    }
}

.offer-call a {
    color: #fff;
    font-weight: 700;
}

.offer-form {
    position: relative;
    display: grid;
    gap: 1rem;
    padding: 1.75rem;
    background: var(--cream);
    color: var(--ink);
    border-radius: var(--radius);
    box-shadow: 0 12px 32px rgba(42, 36, 32, .2);
}

.offer-form label {
    display: grid;
    gap: .35rem;
    font-size: .95rem;
    font-weight: 600;
    color: var(--bark);
}

.optional {
    font-weight: 400;
    color: var(--muted);
}

.form-row {
    display: grid;
    gap: 1rem;
}

@media (min-width: 560px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.offer-form input,
.offer-form select,
.offer-form textarea {
    width: 100%;
    padding: .7rem .8rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    font: 400 1rem/1.4 var(--sans);
}

.offer-form input:focus,
.offer-form select:focus,
.offer-form textarea:focus {
    outline: 2px solid var(--olive);
    border-color: var(--olive);
}

.form-success {
    margin: 0;
    padding: .9rem 1rem;
    border-radius: 8px;
    background: #e3ead3;
    color: var(--olive-dark);
    font-weight: 600;
}


/* ---------- Footer ---------- */

.site-footer {
    padding: 3rem 0;
    background: var(--ink);
    color: #cbbfae;
    font-size: .92rem;
}

.footer-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 800px) {
    .footer-grid {
        grid-template-columns: 1fr 1.6fr;
    }
}

.footer-brand {
    font: 700 1.2rem/1.2 var(--serif);
    color: #f7f1e6;
}

.footer-legal p {
    margin-bottom: .6rem;
}
