:root {
    --brand-accent: #c45c00;
    --brand-accent-hover: #a34d00;
    --call-bar-height: 3.25rem;
}

body {
    padding-bottom: var(--call-bar-height);
}

.site-header strong small {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--pico-muted-color);
}

h2 {
    padding-bottom: 0.35rem;
    border-bottom: 2px solid var(--pico-primary);
    display: inline-block;
}

section {
    margin-bottom: 2.5rem;
}

.call-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.5rem 1rem;
    background: #111;
    color: #fff;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.15);
}

.call-bar a {
    color: #fff;
    text-decoration: none;
}

.call-bar-brand {
    font-weight: 800;
    letter-spacing: 0.04em;
    font-size: 0.95rem;
}

.call-bar-actions {
    display: flex;
    gap: 0.5rem;
}

.call-bar-actions a[role="button"] {
    margin: 0;
    padding: 0.4rem 0.85rem;
    font-size: 0.9rem;
    background: var(--brand-accent);
    border-color: var(--brand-accent);
    color: #fff;
}

.call-bar-actions a.outline {
    background: transparent;
    border-color: #fff;
    color: #fff;
}

.site-header {
    padding-top: 1rem;
    padding-bottom: 0.5rem;
}

.site-header nav {
    align-items: center;
    position: relative;
}

/* Hamburger menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: auto;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--pico-color);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--pico-card-background-color);
        border: 1px solid var(--pico-muted-border-color);
        border-radius: var(--pico-border-radius);
        padding: 0.5rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        z-index: 100;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links li a {
        display: block;
        padding: 0.5rem 0.75rem;
        border-radius: var(--pico-border-radius);
    }

    .nav-links li a[role="button"] {
        margin: 0.25rem 0.75rem 0.25rem 0.75rem;
    }
}

.hero {
    padding: 2rem 1rem 1rem;
}

.hero h1 {
    margin-bottom: 0.5rem;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
}

.hero .lead {
    font-size: 1.15rem;
    max-width: 42rem;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.cta-row a[role="button"] {
    background: var(--brand-accent);
    border-color: var(--brand-accent);
}

.cta-row a[role="button"]:hover {
    background: var(--brand-accent-hover);
    border-color: var(--brand-accent-hover);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.card-grid article {
    margin: 0;
    padding: 1.25rem;
    border: 1px solid var(--pico-muted-border-color);
    border-radius: var(--pico-border-radius);
}

.card-grid h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 768px) {
    .split {
        grid-template-columns: 1fr 1.2fr;
    }
}

.about-photo {
    width: 100%;
    max-width: 320px;
    border-radius: var(--pico-border-radius);
    aspect-ratio: 4 / 5;
    object-fit: cover;
    background: var(--pico-muted-border-color);
}

.faq details {
    background: var(--pico-card-background-color);
    border: 1px solid var(--pico-muted-border-color);
    border-left: 4px solid var(--pico-primary);
    border-radius: var(--pico-border-radius);
    padding: 0.75rem 1rem;
    margin-bottom: 0.75rem;
}

.faq details[open] {
    border-left-color: var(--pico-primary-hover);
}

.faq summary {
    color: var(--pico-primary);
    font-weight: 600;
    cursor: pointer;
    transition: color 0.15s ease;
}

.faq summary:hover {
    color: var(--pico-primary-hover);
}

.faq details > *:not(summary) {
    margin-top: 0.5rem;
    color: var(--pico-color);
}

.site-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--pico-muted-border-color);
}

.site-footer section {
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.35rem;
}

.prose-narrow {
    max-width: 48rem;
}

.area-list {
    columns: 2;
    column-gap: 2rem;
}

@media (max-width: 600px) {
    .area-list {
        columns: 1;
    }
}

/* Hero with headshot */
.hero-split {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-text {
    flex: 1;
}

.hero-photo {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--brand-accent);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .hero-split {
        flex-direction: column-reverse;
        text-align: center;
    }
    .hero-photo {
        width: 180px;
        height: 180px;
    }
}

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: 1rem;
}

.breadcrumbs ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    font-size: 0.875rem;
}

.breadcrumbs li:not(:last-child)::after {
    content: '/';
    margin-left: 0.25rem;
    color: var(--pico-muted-color);
}

.breadcrumbs a {
    color: var(--pico-muted-color);
}

/* Blog */
.blog-list {
    display: grid;
    gap: 1.5rem;
}

.blog-card {
    margin: 0;
    padding: 1.5rem;
    border: 1px solid var(--pico-muted-border-color);
    border-radius: var(--pico-border-radius);
}

.blog-card h2 {
    margin-bottom: 0.25rem;
    font-size: 1.25rem;
}

.blog-card h2 a {
    text-decoration: none;
}

.blog-meta {
    font-size: 0.9rem;
    color: var(--pico-muted-color);
    margin-bottom: 0.75rem;
}

.blog-content h2 {
    margin-top: 2rem;
}

.blog-content h3 {
    margin-top: 1.5rem;
}

.blog-content blockquote {
    border-left: 4px solid var(--brand-accent);
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
}

.blog-content ul,
.blog-content ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.blog-content li {
    margin-bottom: 0.5rem;
}

/* Reviews */
.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin: 1.5rem 0;
}

.review-card {
    margin: 0;
    padding: 1.25rem;
    border: 1px solid var(--pico-muted-border-color);
    border-radius: var(--pico-border-radius);
    border-left: 4px solid var(--brand-accent);
}

.review-card p {
    font-style: italic;
    margin-bottom: 0.5rem;
}

.review-card footer {
    font-weight: 600;
    font-style: normal;
    color: var(--pico-muted-color);
}

.review-stars {
    color: var(--brand-accent);
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}
