/* =============================================
   KELLSBURY — LANDING (MVP)
   Shares the brand palette with style.css but is
   self-contained so the two pages stay independent.
   ============================================= */

:root {
    --color-bg: #faf9f7;
    --color-surface: #ffffff;
    --color-text: #1a1a1a;
    --color-text-secondary: #5a5a5a;
    --color-accent: #1a3a4a;
    --color-accent-hover: #0f2a36;
    --color-warm: #c49a6c;
    --color-border: #e8e6e3;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --container-max: 1080px;
    --gutter: 40px;
    --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.65;
    font-size: 16px;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* Header */
.header {
    position: sticky; top: 0; z-index: 10;
    background: rgba(250, 249, 247, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--color-border);
}
.header-inner { display: flex; align-items: center; gap: 32px; height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-img { height: 42px; width: auto; }
.logo-text {
    font-family: var(--font-display);
    font-size: 22px; font-weight: 700;
    letter-spacing: -0.02em;
}
.nav { display: flex; gap: 28px; margin-left: auto; font-size: 14px; font-weight: 500; }
.nav a { color: var(--color-text-secondary); transition: color 0.2s; }
.nav a:hover { color: var(--color-text); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 24px; font-size: 14px; font-weight: 500;
    border-radius: var(--radius); transition: all 0.2s;
}
.btn-solid { background: var(--color-accent); color: #fff; }
.btn-solid:hover { background: var(--color-accent-hover); }
.btn-ghost { border: 1px solid var(--color-border); background: var(--color-surface); }
.btn-ghost:hover { border-color: var(--color-text-secondary); }
.btn-lg { padding: 16px 28px; font-size: 15px; }

/* Hero */
.hero { padding: 110px 0 90px; text-align: center; }
.eyebrow {
    font-size: 12px; font-weight: 600;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--color-warm); margin-bottom: 20px;
}
.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(40px, 7vw, 64px);
    line-height: 1.08; font-weight: 700;
    letter-spacing: -0.01em; margin-bottom: 24px;
}
.hero-sub {
    max-width: 620px; margin: 0 auto 36px;
    font-size: 18px; font-weight: 300;
    color: var(--color-text-secondary);
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Sections */
section h2 {
    font-family: var(--font-display);
    font-size: 32px; font-weight: 700; margin-bottom: 36px;
}

/* Services */
.services { padding: 72px 0; background: var(--color-surface); border-block: 1px solid var(--color-border); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.services-grid h3 { font-family: var(--font-display); font-size: 19px; margin-bottom: 10px; }
.services-grid p { font-size: 14.5px; color: var(--color-text-secondary); }

/* Featured authors */
.authors { padding: 80px 0; }
.authors-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
.author-card {
    display: flex; gap: 28px; align-items: flex-start;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px; padding: 28px;
}
.cover-strip { display: flex; gap: 14px; flex-shrink: 0; }
.book-cover {
    width: 110px; aspect-ratio: 313 / 500; object-fit: cover; align-self: flex-start;
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    transition: transform 0.2s;
}
.cover-strip a:hover .book-cover, a.cover-strip:hover .book-cover { transform: translateY(-3px); }
.author-body h3 { font-family: var(--font-display); font-size: 21px; }
.author-tag {
    font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--color-warm); margin: 4px 0 12px;
}
.author-body > p:not(.author-tag) { font-size: 14.5px; color: var(--color-text-secondary); }
.author-link {
    display: inline-block; margin-top: 12px;
    font-size: 13px; font-weight: 600; color: var(--color-accent);
    border-bottom: 1px solid var(--color-warm);
    transition: color 0.2s;
}
.author-link:hover { color: var(--color-accent-hover); }
.authors-note { margin-top: 36px; font-size: 14px; color: var(--color-text-secondary); font-style: italic; }

/* Submissions */
.submissions { padding: 72px 0; background: var(--color-accent); color: #fff; }
.submissions h2 { color: #fff; }
.submissions-inner {
    display: grid; grid-template-columns: 1.4fr 1fr;
    gap: 56px; align-items: center;
}
.submissions p, .submissions li { color: rgba(255,255,255,0.85); }
.submissions ul { margin: 8px 0 16px; padding-left: 2px; }
.submissions li { padding: 3px 0 3px 22px; position: relative; }
.submissions li::before {
    content: ""; position: absolute; left: 0; top: 12px;
    width: 10px; height: 2px; background: var(--color-warm);
}
.submissions .fine { font-size: 13px; color: rgba(255,255,255,0.6); }
.submissions-cta { text-align: center; }
.submissions-cta .btn-solid { background: var(--color-warm); color: var(--color-text); width: 100%; }
.submissions-cta .btn-solid:hover { background: #d2ab7e; }
.submissions-cta .fine { margin-top: 12px; }

/* Footer */
.footer { background: var(--color-text); color: #fff; padding: 56px 0 0; }
.footer-inner {
    display: flex; justify-content: space-between;
    gap: 40px; flex-wrap: wrap; padding-bottom: 40px;
}
.footer .logo-text { color: #fff; }
.footer .logo { margin-bottom: 16px; }
.footer .logo-img { height: 48px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.65); }
.footer-contact h4 {
    font-size: 12px; font-weight: 600; letter-spacing: 0.1em;
    text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 12px;
}
.footer-contact a { color: rgba(255,255,255,0.85); }
.footer-contact a:hover { color: #fff; }
.footer-legal {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 20px; padding-bottom: 20px;
    font-size: 13px; color: rgba(255,255,255,0.45);
}

/* Responsive */
@media (max-width: 1024px) {
    :root { --gutter: 32px; }
    .services-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
    .submissions-inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 768px) {
    :root { --gutter: 24px; }
    .nav { display: none; }
    .hero { padding: 72px 0 64px; }
}
@media (max-width: 480px) {
    :root { --gutter: 20px; }
    .header-cta { display: none; }
    .services-grid { grid-template-columns: 1fr; }
    .author-card { flex-direction: column; }
    .book-cover { width: 92px; }
}
