/* Planter Happiness — restrained B2B styles
   Palette: cream #FFF5DF · ink #1F3D33 · terracotta #B4642A · sage #8A9B7E */

@font-face {
    font-family: 'Fraunces';
    src: url('fonts/Fraunces.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --cream: #FFF5DF;
    --cream-deep: #F7EFD8;
    --ink: #1F3D33;
    --ink-soft: #3A4F45;
    --muted: #6E655A;
    --terracotta: #B4642A;
    --sage: #8A9B7E;
    --line: #E4D9C2;
    --white: #FFFDF7;
    --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
    --max: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    background: var(--cream);
    color: var(--ink-soft);
    font-size: 17px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
    font-family: var(--serif);
    color: var(--ink);
    font-weight: 560;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 4.2vw, 3.1rem); margin-bottom: 1.1rem; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 0.9rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1.1rem; }
p.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 44rem; }

a { color: var(--terracotta); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
section.block { padding: 4.5rem 0; }
section.block.tight { padding: 3rem 0; }

.eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--terracotta);
    font-weight: 600;
    margin-bottom: 0.9rem;
}

/* ---------- header ---------- */
.site-header {
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 50;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1.5rem;
    max-width: var(--max);
    margin: 0 auto;
}
.brand { display: inline-flex; align-items: center; gap: 0.65rem; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand img { height: 42px; width: 42px; }
.brand span { font-family: 'Fraunces', Georgia, serif; font-size: 1.32rem; font-weight: 600; color: var(--ink); letter-spacing: 0.01em; white-space: nowrap; }
.brand .regmark, .footer-brand .regmark { font-size: 0.58em; font-weight: 400; margin-left: 0.12em; }
.footer-brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; margin-bottom: 1rem; }
.footer-brand:hover { text-decoration: none; }
.footer-brand img { height: 38px; width: 38px; }
.footer-brand span { font-family: 'Fraunces', Georgia, serif; font-size: 1.15rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: 1.6rem; }
.main-nav a { color: var(--ink); font-size: 0.95rem; font-weight: 500; }
.main-nav a:hover { color: var(--terracotta); text-decoration: none; }
.main-nav a.active { color: var(--terracotta); }
.main-nav a.btn { color: var(--cream); }
.main-nav a.btn:hover { background: transparent; color: var(--ink); }
.btn {
    display: inline-block;
    background: var(--ink);
    color: var(--cream);
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid var(--ink);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}
.btn:hover { background: transparent; color: var(--ink); text-decoration: none; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--cream); }
.btn-row { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-top: 1.6rem; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }

/* ---------- hero ---------- */
.hero { padding: 4.5rem 0 3.5rem; }
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}
.hero figure img { border: 1px solid var(--line); }
.hero figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 0.6rem; }

/* ---------- cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; margin-top: 2.2rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.8rem; margin-top: 2.2rem; }
.card {
    background: var(--white);
    border: 1px solid var(--line);
    padding: 0;
    display: flex;
    flex-direction: column;
}
.card img { border-bottom: 1px solid var(--line); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.card-body { padding: 1.6rem; }
.card-body p { font-size: 0.98rem; margin-bottom: 0.8rem; }
.card-body p:last-child { margin-bottom: 0; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.8rem; margin-top: 2.2rem; }
.step { border-top: 2px solid var(--terracotta); padding-top: 1.1rem; }
.step-num { font-family: var(--serif); color: var(--terracotta); font-size: 1.1rem; margin-bottom: 0.4rem; }
.step p { font-size: 0.95rem; }

.steps-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.2rem; margin-top: 2.4rem; }
.steps-6 .step p { font-size: 0.98rem; }

.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.8rem; margin-top: 2.2rem; }
.trust-item h3 { font-size: 1.05rem; }
.trust-item p { font-size: 0.95rem; color: var(--muted); }

/* ---------- split rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; margin: 3.5rem 0; }
.split.flip > div:first-child { order: 2; }
.split img { border: 1px solid var(--line); }
.split figure figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 0.6rem; }

/* ---------- quotes ---------- */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; margin-top: 2.2rem; }
.quote {
    background: var(--white);
    border: 1px solid var(--line);
    border-left: 3px solid var(--sage);
    padding: 1.8rem;
}
.quote p { font-family: var(--serif); font-size: 1.08rem; color: var(--ink); }
.quote cite { font-style: normal; font-size: 0.88rem; color: var(--muted); }
.sample-note {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--terracotta);
    border: 1px dashed var(--terracotta);
    padding: 0.15rem 0.6rem;
    margin-bottom: 0.9rem;
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: var(--cream); padding: 4rem 0; margin-top: 4.5rem; }
.cta-band h2 { color: var(--cream); }
.cta-band p { color: #D8CFBB; max-width: 40rem; }
.cta-band .btn { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.cta-band .btn:hover { background: transparent; color: var(--cream); }
.cta-band .btn.ghost { background: transparent; color: var(--cream); border-color: var(--cream); }
.cta-band .btn.ghost:hover { background: var(--cream); color: var(--ink); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 3.5rem 0 2rem; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }

.footer-grid h4 { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.9rem; font-family: var(--sans); font-weight: 600; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 0.5rem; }
.footer-grid a { color: var(--ink-soft); font-size: 0.95rem; }
.footer-bottom {
    border-top: 1px solid var(--line);
    padding-top: 1.4rem;
    font-size: 0.88rem;
    color: var(--muted);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 3.5rem; align-items: start; }
.contact-info h3 { font-size: 1.05rem; margin-top: 1.6rem; }
.contact-info h3:first-child { margin-top: 0; }
.contact-info p { font-size: 0.98rem; margin-bottom: 0.4rem; }
form.trade-form { background: var(--white); border: 1px solid var(--line); padding: 2.2rem; }
.field { margin-bottom: 1.3rem; }
.field label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--ink); margin-bottom: 0.4rem; }
.field input, .field select, .field textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: var(--cream);
    padding: 0.75rem 0.9rem;
    font-size: 1rem;
    font-family: var(--sans);
    color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: 2px solid var(--sage);
    border-color: var(--sage);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
textarea { resize: vertical; min-height: 140px; }
.form-note { font-size: 0.88rem; color: var(--muted); margin-top: 1rem; }
.form-status { padding: 2.5rem 2rem; text-align: center; }
.form-status h3 { margin-bottom: 0.6rem; }
.form-error { border: 1px solid #B4642A; background: #FBF1E4; padding: 1rem 1.2rem; margin-bottom: 1.3rem; font-size: 0.95rem; color: var(--ink); }

/* ---------- blog ---------- */
.post-list { display: grid; gap: 2rem; margin-top: 2.2rem; max-width: 46rem; }
.post-card { background: var(--white); border: 1px solid var(--line); display: grid; grid-template-columns: 240px 1fr; }
.post-card img { width: 100%; height: 100%; object-fit: cover; border-right: 1px solid var(--line); }
.post-card .card-body .date { font-size: 0.82rem; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.5rem; }
.article { max-width: 46rem; }
.article img.hero-img { border: 1px solid var(--line); margin: 1.8rem 0 0.6rem; }
.article .date { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.6rem; }
.article h2 { margin-top: 2.2rem; }
.article ul { margin: 0 0 1.1rem 1.3rem; }
.article li { margin-bottom: 0.5rem; }
.article figure figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 0.5rem; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
    .hero-grid, .split, .form-grid { grid-template-columns: 1fr; gap: 2rem; }
    .split.flip > div:first-child { order: 0; }
    .grid-3, .steps, .trust-grid, .steps-6 { grid-template-columns: 1fr 1fr; }
    .quotes { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--cream);
        flex-direction: column;
        align-items: flex-start;
        padding: 1.2rem 1.5rem 1.6rem;
        border-bottom: 1px solid var(--line);
        gap: 1rem;
    }
    .main-nav.open { display: flex; }
    .nav-toggle { display: block; }
    .site-header { position: sticky; }
    .header-inner { position: relative; }
    .post-card { grid-template-columns: 1fr; }
    .post-card img { border-right: 0; border-bottom: 1px solid var(--line); aspect-ratio: 16/9; }
}
@media (max-width: 560px) {
    .grid-3, .steps, .trust-grid, .steps-6, .grid-2 { grid-template-columns: 1fr; }
    .field-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    section.block { padding: 3rem 0; }
}
