/* ===== RESET & TOKENS ===== */
* { margin:0; padding:0; box-sizing:border-box }

:root {
    --ink: #0e3a48;
    --muted: #6b5d52;
    --bg: #faf7f0;
    --accent: #c8553d;
    --accent-light: #f0e6df;
    --border: #e8dcd0;
    --rust: #c8553d;
    --cream: #faf7f0;
}

/* ===== BASE ===== */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    font-size: 17px;
    padding-top: 72px;
}

h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; }

p { color: var(--muted); margin-bottom: 1rem; }

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

/* ===== LAYOUT ===== */
.container { max-width: 800px; margin: 0 auto; padding: 0 2rem; }
main { padding-bottom: 4rem; }

/* ===== SECTION DEFAULTS ===== */
section { padding: 72px 0; border-top: 1px solid var(--border); }

section h2 {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -.01em;
    margin: 0 0 8px;
}

section .sub {
    color: var(--muted);
    margin: 0 0 36px;
    max-width: 680px;
    font-size: 17px;
}

/* ===== STICKY NAV ===== */
.sticky-header {
    position: fixed; top:0; left:0; right:0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0; z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
}

.sticky-header-content {
    max-width: 800px; margin: 0 auto; padding: 0 2rem;
    display: flex; justify-content: space-between; align-items: center;
}

.sticky-header-home { display: flex; align-items: center; text-decoration: none; }
.sticky-header-home:hover { background: none; }

.sticky-header-logo {
    width: 40px; height: 40px; display: block;
    opacity: 0; transition: opacity .3s; position: absolute;
}

.header-wordmark-nav {
    height: 40px; width: auto; max-width: 380px;
    opacity: 1; transition: opacity .3s;
}

.sticky-header.scrolled .sticky-header-logo { opacity: 1; position: relative; }
.sticky-header.scrolled .header-wordmark-nav { opacity: 0; position: absolute; pointer-events: none; }

.header-scroll-tagline {
    opacity: 0; position: absolute; pointer-events: none;
    transition: opacity .3s;
    font-size: 14px; font-weight: 600; color: var(--muted);
    white-space: nowrap; margin-left: 10px;
}
.sticky-header.scrolled .header-scroll-tagline { opacity: 1; position: relative; pointer-events: auto; }

.sticky-header-right { display: flex; align-items: center; gap: 1.5rem; }

.sticky-header-cta {
    background: var(--accent); color: white;
    border: none; padding: 8px 18px;
    font-size: 15px; font-weight: 600;
    cursor: pointer; border-radius: 6px;
    font-family: inherit; transition: filter .2s;
}
.sticky-header-cta:hover { filter: brightness(1.1); }

.phone-icon, .linkedin-icon {
    color: var(--ink); display: flex; align-items: center;
    transition: color .2s; text-decoration: none;
}
.phone-icon:hover, .linkedin-icon:hover { color: var(--accent); text-decoration: none; }
.linkedin-icon svg { width: 20px; height: 20px; }

/* ===== SITE HEADER ===== */
header { padding: 3rem 0 0; }

.header-name {
    font-size: 2rem; font-weight: 700;
    color: var(--ink); letter-spacing: -.01em;
}

/* ===== HERO ===== */
.hero { padding-top: 16px; padding-bottom: 0; border-top: 0; }

.eyebrow {
    text-transform: uppercase; letter-spacing: .14em;
    font-size: 13px; color: var(--accent); font-weight: 600; margin-bottom: 14px;
}

.hero h1 {
    font-size: 46px; line-height: 1.05;
    margin: 0 0 18px; font-weight: 800; letter-spacing: -.02em;
}

.hero p.lead {
    font-size: 21px; color: var(--muted);
    max-width: 760px; margin: 0 0 28px; line-height: 1.55;
}

.btn {
    display: inline-block; background: var(--accent); color: #fff;
    padding: 14px 22px; border-radius: 6px; font-weight: 600;
    border: 0; cursor: pointer; font-size: 16px; text-decoration: none;
}
.btn:hover { filter: brightness(1.05); text-decoration: none; }

/* ===== HERO TOOL STRIP ===== */
.hero-cta-row {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.hero-tool-strip {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero-tool-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--muted);
    white-space: nowrap;
    opacity: .7;
}

.hero-tool-strip img {
    width: 24px;
    height: 24px;
    filter: grayscale(100%) brightness(.35);
    opacity: .65;
    transition: filter .2s ease, opacity .2s ease, transform .2s ease;
}

.hero-tool-strip img:hover,
.hero-tool-strip img:focus-visible {
    filter: none;
    opacity: 1;
    transform: scale(1.08);
}

.stats {
    display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    padding: 28px 0; margin-top: 42px;
}
.stats .num { font-size: 34px; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.stats .lbl { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* ===== GAME PLAN ===== */
.phase-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }

.phase-card {
    background: #fff; border: 1px solid var(--border); border-radius: 10px;
    padding: 28px 24px; display: flex; flex-direction: column; gap: 14px;
}
.phase-badge {
    display: inline-block; background: var(--accent); color: #fff;
    font-size: 11px; font-weight: 700; letter-spacing: .1em;
    text-transform: uppercase; padding: 4px 10px; border-radius: 4px;
    align-self: flex-start;
}
.phase-card h3 { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.phase-card ul { margin: 0 0 0 16px; padding: 0; }
.phase-card li { margin: 5px 0; color: var(--muted); font-size: 13px; line-height: 1.4; }

/* ===== WHAT YOU GET ===== */
.value-list { display: flex; flex-direction: column; }

.value-item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
    align-items: start;
}
.value-item:first-child { border-top: 1px solid var(--border); }
.value-item:last-child { border-bottom: none; }

.value-meta .step {
    color: var(--accent); font-weight: 700; font-size: 12px;
    letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px;
}
.value-meta h4 { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.3; }
.value-body { padding-top: 28px; }
.value-body p { margin: 0; font-size: 15px; }

/* ===== TOOLS ===== */
.tool-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }

.tool {
    border: 1px solid var(--border); background: #fff; border-radius: 8px;
    padding: 12px 14px; font-size: 14px; color: var(--muted);
}

.tool b {
    display: block; font-size: 12px; color: var(--muted);
    text-transform: uppercase; letter-spacing: .1em; margin-bottom: 4px; font-weight: 700;
}

/* ===== ABOUT ===== */
.about { display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: start; }

.about .photo {
    width: 200px; height: 200px; border-radius: 50%;
    background: url('headshot.png') center 38% / cover;
    background-color: var(--accent-light);
}

.about h3 { margin: 0 0 10px; font-size: 24px; font-weight: 700; }
.about p { margin: 0 0 12px; }

/* ===== WRITING ===== */
.writing-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }

.writing-card {
    display: block;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 28px 28px;
    text-decoration: none;
    color: var(--ink);
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.writing-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14,58,72,.06);
    text-decoration: none;
}

.writing-card-eyebrow {
    color: var(--accent);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.writing-card h3 {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.01em;
    margin: 0 0 8px;
    color: var(--ink);
    line-height: 1.2;
}

.writing-card p {
    margin: 0 0 14px;
    font-size: 15px;
    color: var(--muted);
    line-height: 1.55;
}

.writing-card-link {
    color: var(--accent);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.writing-card:hover .writing-card-link { text-decoration: underline; }

/* ===== FAQ ===== */
.faq-item { border-bottom: 1px solid var(--border); }

.faq-question {
    width: 100%; padding: 18px 0; background: transparent; border: none;
    cursor: pointer; display: flex; justify-content: space-between; align-items: center;
    font-size: 17px; font-weight: 600; color: var(--ink);
    font-family: inherit; text-align: left; transition: color .2s;
}
.faq-question:hover { color: var(--accent); }

.faq-icon {
    font-size: 22px; color: var(--accent);
    margin-left: 16px; flex-shrink: 0; line-height: 1; transition: transform .3s;
}
.faq-question.active .faq-icon { transform: rotate(45deg); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease-out; }
.faq-answer.active { transition: max-height .3s ease-in; }
.faq-answer p { padding: 0 0 18px; font-size: 15px; margin: 0; }

/* ===== CONTACT ===== */
.contact-section {
    background: var(--ink); color: white;
    padding: 72px 0; border-top: 0;
}

.contact-section h2 {
    color: white; font-size: 36px; font-weight: 800;
    letter-spacing: -.01em; margin: 0 0 8px;
}

.contact-intro { color: rgba(255,255,255,.65); margin-bottom: 2.5rem; font-size: 17px; }

.contact-section form { display: grid; gap: 1.5rem; max-width: 600px; }
.form-group { display: grid; gap: 0.5rem; }

.contact-section label {
    font-size: 13px; font-weight: 600;
    color: rgba(255,255,255,.65); letter-spacing: .04em; text-transform: uppercase;
}

input, textarea {
    padding: 11px 12px; border: 1px solid rgba(255,255,255,.15);
    background: rgba(255,255,255,.08); color: white;
    font-family: inherit; font-size: 15px; border-radius: 6px; transition: border-color .2s;
}
input:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 2px; border-color: var(--accent); }
textarea { resize: vertical; min-height: 120px; }
input::placeholder, textarea::placeholder { color: rgba(255,255,255,.35); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

button[type="submit"] {
    background: var(--accent); color: white; border: none;
    padding: 14px 22px; font-size: 16px; font-weight: 600;
    cursor: pointer; border-radius: 6px; font-family: inherit;
    transition: filter .2s; grid-column: 1/-1;
}
button[type="submit"]:hover { filter: brightness(1.1); }

.contact-body {
    display: grid;
    grid-template-columns: 6fr 4fr;
    gap: 48px;
    align-items: start;
    margin-top: 36px;
}

.contact-aside h4 {
    color: white;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
}

.contact-aside p {
    color: rgba(255,255,255,.65);
    font-size: 15px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.contact-aside a { color: var(--accent); text-decoration: none; }
.contact-aside a:hover { text-decoration: underline; }

/* ===== FOOTER ===== */
footer {
    border-top: 1px solid var(--border); padding: 3rem 0;
    color: var(--muted); text-align: center; font-size: 14px;
}

.social-links { margin-top: 1.5rem; display: flex; justify-content: center; gap: 1.5rem; }
.social-links a { color: var(--muted); text-decoration: none; }
.social-links a:hover { color: var(--accent); text-decoration: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
    .writing-card { padding: 22px 20px; }
    .writing-card h3 { font-size: 18px; }
    .hero h1 { font-size: 38px; }
    section h2 { font-size: 28px; }
    section { padding: 48px 0; }
    .stats { grid-template-columns: 1fr; gap: 1.5rem; }
    .value-item { grid-template-columns: 1fr; gap: 8px; }
    .phase-grid { grid-template-columns: 1fr; }
    .contact-body { grid-template-columns: 1fr; gap: 32px; }
    .form-row { grid-template-columns: 1fr; }
    .container { padding: 0 1.5rem; }
    header { padding: 2rem 0 0; }
    .contact-section { padding: 48px 0; }
    .header-wordmark-nav { display: none; }
    .header-scroll-tagline { display: none; }
    .sticky-header-logo { opacity: 1 !important; position: relative !important; width: 36px; height: 36px; }
    .sticky-header.scrolled .header-wordmark-nav { display: none; }
    .hero-cta-row { flex-direction: column-reverse; align-items: flex-start; gap: 18px; }
    .hero-tool-strip { flex-wrap: wrap; gap: 10px; }
    .phone-icon { display: none; }
    .sticky-header-right { gap: 1rem; }
    .sticky-header-cta { padding: .5rem 1rem; font-size: .8rem; }
    .sticky-header-content { padding: 0 1rem; }
    .faq-question { font-size: 15px; }
    .tool-grid { grid-template-columns: repeat(2,1fr); }
    .about { grid-template-columns: 1fr; }
    .about .photo { width: 120px; height: 120px; }
}
