:root {
    --paper: #f5f1ea;
    --paper-2: #ece6da;
    --ink: #16130e;
    --ink-soft: #5c5648;
    --accent: #e05d1a;
    --accent-ink: #b8480f;
    --line: #ddd4c4;
    --footer: #14110c;
    --footer-ink: #efe9dc;

    --font-display: "Fraunces", Georgia, "Times New Roman", serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

    --maxw: 1080px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--paper);
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* -------------------------------------------------------------------------
   Header
------------------------------------------------------------------------- */
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 1.6rem 1.5rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--ink);
}

.brand-mark {
    width: 1.05rem;
    height: 1.05rem;
    border-radius: 0.3rem;
    background: var(--ink);
    position: relative;
    flex-shrink: 0;
}

.brand-mark::after {
    content: "";
    position: absolute;
    inset: 0.28rem;
    border-radius: 0.12rem;
    background: var(--accent);
}

.brand-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.site-nav {
    display: flex;
    gap: 1.75rem;
}

.site-nav a {
    text-decoration: none;
    color: var(--ink-soft);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.15s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: var(--accent);
}

/* -------------------------------------------------------------------------
   Eyebrow / headings
------------------------------------------------------------------------- */
.eyebrow {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.4rem;
}

h1,
h2,
h3 {
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.12;
    text-wrap: balance;
}

/* -------------------------------------------------------------------------
   Hero
------------------------------------------------------------------------- */
.hero {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 6rem 1.5rem 7rem;
    background-image:
        linear-gradient(rgba(224, 93, 26, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(224, 93, 26, 0.05) 1px, transparent 1px);
    background-size: 2.5rem 2.5rem;
    border-bottom: 1px solid var(--line);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.6rem);
    max-width: 20ch;
    margin-bottom: 1.6rem;
}

.lede {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--ink-soft);
    max-width: 52ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 2.5rem;
}

.cta {
    display: inline-block;
    padding: 0.85rem 1.5rem;
    border-radius: 0.5rem;
    background: var(--ink);
    color: var(--paper);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: transform 0.12s ease, background 0.15s ease;
}

.cta:hover {
    background: var(--accent);
    transform: translateY(-1px);
}

.cta-ghost {
    background: transparent;
    color: var(--ink);
    box-shadow: inset 0 0 0 1px var(--line);
}

.cta-ghost:hover {
    background: transparent;
    box-shadow: inset 0 0 0 1px var(--accent);
    color: var(--accent);
}

/* -------------------------------------------------------------------------
   Focus section
------------------------------------------------------------------------- */
.focus {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 6rem 1.5rem;
}

.focus-intro h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    margin-bottom: 3rem;
}

.cards {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.card {
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: 0.85rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.card-num {
    font-family: var(--font-display);
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
}

.card h3 {
    font-size: 1.5rem;
}

.card p {
    color: var(--ink-soft);
    font-size: 0.98rem;
}

/* -------------------------------------------------------------------------
   Page (about)
------------------------------------------------------------------------- */
.page {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 6rem 1.5rem 7rem;
}

.page h1 {
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    max-width: 22ch;
    margin-bottom: 2.5rem;
}

.prose p {
    color: var(--ink-soft);
    font-size: 1.08rem;
    max-width: 60ch;
    margin-bottom: 1.4rem;
}

.prose .lede {
    color: var(--ink);
    font-size: 1.3rem;
}

/* -------------------------------------------------------------------------
   Footer
------------------------------------------------------------------------- */
.site-footer {
    background: var(--footer);
    color: var(--footer-ink);
}

.footer-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 4rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-inner p {
    color: #9a9078;
    max-width: 40ch;
}

.footer-fine {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: #6d654f !important;
}

/* -------------------------------------------------------------------------
   Store (Mikes Home Finds)
------------------------------------------------------------------------- */
.store {
    padding-top: 2.5rem;
}

.store h1 {
    margin-bottom: 1rem;
}

.store-toolbar {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2.5rem 0 2rem;
    flex-wrap: wrap;
}

.store-toolbar input[type="search"] {
    flex: 1 1 20rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--ink);
    background: #fffdf8;
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    padding: 0.85rem 1.1rem;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.store-toolbar input[type="search"]::placeholder {
    color: #9a9078;
}

.store-toolbar input[type="search"]:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(224, 93, 26, 0.15);
}

.store-count {
    font-size: 0.9rem;
    color: var(--ink-soft);
    white-space: nowrap;
}

.product-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.product {
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: 0.85rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product[hidden] {
    display: none;
}

.product-media {
    display: block;
    aspect-ratio: 1 / 1;
    background: #fffdf8;
    overflow: hidden;
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}

.product-media:hover img {
    transform: scale(1.04);
}

.product-body {
    padding: 1.25rem 1.4rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.product-number {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--accent);
}

.product-title {
    font-size: 1.25rem;
    line-height: 1.25;
}

.product-link {
    margin-top: auto;
    padding-top: 0.9rem;
    text-decoration: none;
    color: var(--ink);
    font-weight: 500;
    font-size: 0.92rem;
    transition: color 0.15s ease;
}

.product-link:hover {
    color: var(--accent);
}

.store-empty {
    padding: 3rem 1.5rem;
    text-align: center;
    color: var(--ink-soft);
    border: 1px dashed var(--line);
    border-radius: 0.85rem;
}

@media (max-width: 720px) {
    .cards {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 4rem 1.5rem 5rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }
}

