/* ============================================
   renderful.com placeholder — same palette,
   fonts, and outlined wordmark as site7's footer
   ============================================ */

:root {
    --bg: #edf0e8;
    --bg-2: #e2e7da;
    --raised: rgba(36, 46, 34, 0.045);
    --line: rgba(36, 46, 34, 0.16);
    --line-soft: rgba(36, 46, 34, 0.09);
    --ink: #242e22;
    --ink-70: rgba(36, 46, 34, 0.68);
    --ink-45: rgba(36, 46, 34, 0.45);
    --patina: #4f8272;
    --patina-deep: #3c6659;
    --copper: #b96a3b;
    --copper-soft: #cd8453;

    --font-serif: 'Instrument Serif', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --font-mono: 'Space Mono', ui-monospace, monospace;

    --pad: clamp(1.5rem, 4vw, 4.5rem);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
}

/* Same grain overlay as site7 */
.grain {
    position: fixed;
    inset: 0;
    z-index: 999;
    pointer-events: none;
    opacity: 0.5;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--ink);
    color: var(--bg);
    padding: 0.7rem 1.1rem;
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    text-decoration: none;
    z-index: 1000;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
}

/* ---------- The wordmark ---------- */

.stage {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--pad);
}

/* Exact .f-word code from renderful7/styles.css, plus centering +
   mailto wrapper behavior */
.word {
    display: block;
    font-family: var(--font-serif);
    font-size: clamp(4.5rem, 16vw, 15.5rem);
    line-height: 0.85;
    letter-spacing: -0.03em;
    text-align: center;
    user-select: none;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(36, 46, 34, 0.32);
    text-decoration: none;
    transition: -webkit-text-stroke-color 0.4s var(--ease);
}

/* Image fill inside the letters — the site7 hero recipe:
   hero-landscape.jpg under the same cream scrim gradient
   (.hero-bg + .hero-bg-scrim), clipped to the glyphs. */
@supports (-webkit-background-clip: text) or (background-clip: text) {
    .word {
        background-image:
            linear-gradient(180deg,
                rgba(237, 240, 232, 0.68),
                rgba(237, 240, 232, 0.78) 55%,
                rgba(237, 240, 232, 0.95)),
            url("assets/hero-landscape.jpg");
        background-size: cover, cover;
        background-position: center, center;
        background-repeat: no-repeat, no-repeat;
        -webkit-background-clip: text;
        background-clip: text;
    }
}

.word:hover {
    -webkit-text-stroke-color: rgba(79, 130, 114, 0.6);
}

.word:focus-visible {
    outline: 2px solid var(--patina);
    outline-offset: 0.25em;
    border-radius: 4px;
}

/* ---------- Bottom desk ---------- */

.desk {
    padding: 0 var(--pad);
    padding-bottom: calc(var(--pad) * 0.6);
}

.desk-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1.4rem 0 0;
    border-top: 1px solid var(--line-soft);
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-45);
}

.desk-col {
    white-space: nowrap;
}

@media (max-width: 640px) {
    .desk-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.45rem;
    }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .word {
        transition: none;
    }
}
