/* Amplitude Accent and Voice — deliberately its own look, sharing nothing with the
   personal site. Sans-serif and blue here vs. the serif personal site. */

:root {
    --ink: #1b2430;
    --ink-soft: #536379;
    --accent: #1857a4;
    --accent-deep: #103f7a;   /* gradient foot, for depth in the header */
    --accent-soft: #e8f0fb;   /* card wash */
    --rule: #dde4ed;
    --page: #ffffff;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--ink);
    background: var(--page);
    line-height: 1.65;
    -webkit-text-size-adjust: 100%;
}

/* --- hero --- */
.hero {
    background: linear-gradient(160deg, var(--accent) 0%, var(--accent-deep) 100%);
    color: #fff;
    padding: 5rem 1.5rem 4rem;
    text-align: center;
}

.hero-inner { max-width: 40rem; margin: 0 auto; }

/* The name is two rows: "Amplitude" big and bold, "Accent and Voice" quieter
   beneath it — the h1/.brand carry the second row's size, .brand-line the first. */
.hero h1 {
    margin: 0 0 0.75rem;
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.9);
}

.brand-line {
    display: block;
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-transform: none;
    line-height: 1;
    margin-bottom: 0.35rem;
    color: #fff;
}

/* Subtitle under the name: set apart by a short hairline and a lighter,
   italic voice so it doesn't read as a third line of the brand. */
.tagline {
    margin: 1.75rem auto 0;
    padding-top: 1.25rem;
    max-width: 30rem;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    font-size: 1.05rem;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.8);
}

/* Inner pages keep the brand but not the full-height banner — the name doubles
   as the link home. */
.hero.compact { padding: 2.25rem 1.5rem 2rem; }

.hero.compact .brand {
    display: inline-block;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 1.2;
}

.hero.compact .brand-line {
    font-size: 2.2rem;
    margin-bottom: 0.2rem;
}

/* --- nav --- */
nav {
    border-bottom: 1px solid var(--rule);
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    z-index: 10;
}

nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;          /* six tabs now — wrap rather than overflow on narrow screens */
    justify-content: center;
    gap: 0.6rem 1.5rem;
    margin: 0;
    padding: 1rem;
}

nav a {
    text-decoration: none;
    color: var(--ink-soft);
    font-weight: 500;
    font-size: 0.98rem;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
}

nav a:hover { color: var(--accent); }
nav a.active { color: var(--accent); border-bottom-color: var(--accent); }

/* "Coaching" dropdown — opens on hover (desktop) or tap (touch, via focus) */
.has-dropdown { position: relative; }

.has-dropdown .dropdown {
    display: none;
    list-style: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin: 0.6rem 0 0;
    padding: 0.4rem;
    min-width: 10rem;
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(27, 36, 48, 0.1);
    z-index: 20;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
    display: block;
}

.dropdown li { padding: 0; }

.dropdown a {
    display: block;
    padding: 0.5rem 0.75rem;
    border-bottom: none;
    border-radius: 6px;
    white-space: nowrap;
}

.dropdown a:hover,
.dropdown a:focus {
    background: var(--accent-soft);
}

/* --- content --- */
main {
    max-width: 44rem;
    margin: 0 auto;
    padding: 1rem 1.5rem 3rem;
}

.section { padding: 2.75rem 0; border-bottom: 1px solid var(--rule); }
.section:last-child { border-bottom: none; }

.section h1,
.section h2 {
    font-size: 1.6rem;
    font-weight: 600;
    margin: 0 0 1rem;
    letter-spacing: -0.01em;
}

.section p { margin: 0 0 1rem; color: var(--ink-soft); font-size: 1.05rem; }

/* Links inside body text (e.g. "book a free consultation") */
.section p a {
    color: var(--accent);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.section p a:hover { color: var(--accent-deep); }

/* Embedded booking calendar on the Contact page */
.booking {
    display: block;
    margin-top: 1rem;
    border-radius: 10px;
    background: var(--accent-soft);
}

/* --- About sign-off --- */
.signoff {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.75rem;
}

.signoff-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--accent-soft);
    flex-shrink: 0;
    object-fit: cover;
}

.signoff-text { line-height: 1.1; }

.signoff-name {
    margin: 0;
    font-weight: 600;
    color: var(--ink);
}

.signoff-title {
    margin: 0;
    font-style: italic;
    color: var(--ink-soft);
    font-size: 0.95rem;
}

/* --- cards --- */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

/* Cards are links down to their own section, so they must not look like body text */
.card {
    display: block;
    background: var(--accent-soft);
    border-radius: 10px;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease;
}

.card:hover { background: #dbe8fa; }

.card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--accent);
}

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

/* --- FAQs --- */
.faq { margin-top: 1.5rem; }
.faq:first-of-type { margin-top: 1rem; }

.faq h3 {
    margin: 0 0 0.35rem;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--ink);
}

.faq p { margin: 0; color: var(--ink-soft); font-size: 1rem; }
.faq p + p { margin-top: 0.75rem; }

/* --- testimonials --- */
.testimonial {
    margin: 1.5rem 0 0;
    padding-left: 1.25rem;
    border-left: 3px solid var(--accent-soft);
}

.testimonial p {
    color: var(--ink-soft);
    font-size: 1.05rem;
    font-style: italic;
}

.testimonial cite {
    display: block;
    margin-top: 0.75rem;
    font-style: normal;
    font-weight: 600;
    color: var(--ink);
}

/* --- contact form --- */
.contact-form {
    display: flex;
    flex-direction: column;
    max-width: 28rem;
    margin-top: 1.5rem;
}

.contact-form label {
    font-weight: 600;
    font-size: 0.95rem;
    margin: 1rem 0 0.4rem;
}

.contact-form label:first-child { margin-top: 0; }

.contact-form input,
.contact-form textarea {
    font: inherit;
    color: var(--ink);
    border: 1px solid var(--rule);
    border-radius: 8px;
    padding: 0.6rem 0.75rem;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.contact-form button {
    align-self: flex-start;
    margin-top: 1.5rem;
    background: var(--accent);
    color: #fff;
    font: inherit;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    padding: 0.7rem 1.5rem;
    cursor: pointer;
    transition: background 0.15s ease;
}

.contact-form button:hover { background: var(--accent-deep); }

/* --- footer --- */
footer {
    text-align: center;
    padding: 2.5rem 1.5rem;
    color: var(--ink-soft);
    font-size: 0.9rem;
    border-top: 1px solid var(--rule);
}

/* --- narrow screens --- */
@media (max-width: 34rem) {
    .hero { padding: 3.5rem 1.25rem 3rem; }
    .hero h1 { font-size: 1.1rem; }
    .brand-line { font-size: 2.9rem; }
    .tagline { font-size: 1rem; }
    nav ul { gap: 1.5rem; }
}

/* "Listen on Spotify" line at the foot of the Voice Coaching page */
.listen {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--rule);
}

/* Second listen line sits right under the first, no divider */
.listen-more {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

/* --- About photo (top of the section, text wraps beside it) --- */
.about-photo {
    float: left;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0.25rem 1.75rem 1rem 0;
    box-shadow: 0 6px 18px rgba(27, 36, 48, 0.12);
}

.section::after { content: ""; display: block; clear: both; }

.signoff { margin-top: 2.25rem; }

@media (max-width: 34rem) {
    .about-photo {
        float: none;
        display: block;
        width: 180px;
        height: 180px;
        margin: 0 auto 1.5rem;
    }
}

/* --- pricing --- */
.price-head {
    margin: 1.75rem 0 0.5rem;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--ink);
}

.price-head:first-of-type { margin-top: 0.5rem; }

.price-list {
    margin: 0 0 1rem;
    padding-left: 1.25rem;
    color: var(--ink-soft);
    font-size: 1.05rem;
}

.price-list li { margin-bottom: 0.5rem; }

.price-list strong { color: var(--ink); font-weight: 600; }

.price-total { color: var(--ink-soft); }
.price-total strong { color: var(--accent); font-weight: 600; }

/* "Based in the Bay Area" line on the Contact page.
   Scoped as .section p.location so it beats ".section p"'s margin shorthand,
   which otherwise resets the top margin to zero. */
.section p.location {
    margin-top: 3rem;
    font-weight: 500;
    color: var(--ink);
}

/* Parenthetical after the Accent Coaching heading — lighter and smaller */
.subhead {
    font-weight: 400;
    font-size: 1.05rem;
    color: var(--ink-soft);
}

/* Footnote in the pricing section */
.price-note {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: var(--ink-soft);
}

/* Lead line under the Pricing heading pointing to the founding rate */
.price-lead {
    margin-top: -0.5rem;
    font-weight: 500;
    color: var(--accent);
}

/* Highlighted box around the founding client rate */
.founding-box {
    margin-top: 2rem;
    padding: 1.5rem 1.75rem;
    background: var(--accent-soft);
    border: 1px solid #cfe0f6;
    border-radius: 12px;
}

.founding-box .price-head:first-child { margin-top: 0; }

/* List inside a FAQ answer (e.g. installment example) */
.faq-list {
    margin: 0.75rem 0;
    padding-left: 1.25rem;
    color: var(--ink-soft);
    font-size: 1rem;
}

.faq-list li { margin-bottom: 0.35rem; }
