/* Visual system for Dr. Suzanne Kuchel's website */

/* Import fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Source+Sans+3:wght@400;500;600;700&display=swap');

/* Color variables */
:root {
    --primary-color: #5a6f62;
    --secondary-color: #bb735a;
    --accent-color: #d8b391;
    --neutral-color: #efe4d7;
    --neutral-strong: #e2d3c0;
    --text-color: #3d362f;
    --muted-text: #6d6457;
    --light-bg: #fbf7f1;
    --surface-color: rgba(255, 252, 247, 0.9);
    --surface-strong: #fffdf9;
    --dark-bg: #4b4037;
    --shadow-color: rgba(70, 52, 39, 0.14);
    --border-color: rgba(90, 111, 98, 0.14);
}

/* Global styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    min-height: 100vh;
    line-height: 1.7;
    color: var(--text-color);
    background:
        radial-gradient(circle at top left, rgba(216, 179, 145, 0.28), transparent 34%),
        radial-gradient(circle at top right, rgba(90, 111, 98, 0.12), transparent 28%),
        linear-gradient(180deg, #fdf9f3 0%, #f5eee4 100%);
}

::selection {
    background: rgba(187, 115, 90, 0.2);
}

h1, h2, h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    color: var(--primary-color);
    line-height: 1.08;
    letter-spacing: 0.01em;
    margin-top: 0;
}

p {
    margin: 0 0 1rem;
}

ul {
    padding-left: 1.2rem;
}

li {
    margin-bottom: 0.45rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    text-underline-offset: 0.22em;
    transition: color 0.25s ease, text-decoration-color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
iframe:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 3px;
}

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: 1.1rem 2rem;
    background: rgba(251, 247, 241, 0.88);
    border-bottom: 1px solid rgba(90, 111, 98, 0.12);
    box-shadow: 0 14px 30px rgba(70, 52, 39, 0.08);
    backdrop-filter: blur(16px);
}

header h1 {
    margin: 0;
    font-size: 1.95rem;
    color: var(--primary-color);
}

nav ul {
    list-style: none;
    padding: 0.3rem;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    background: rgba(255, 252, 247, 0.72);
    border: 1px solid rgba(90, 111, 98, 0.12);
    border-radius: 999px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

nav ul li {
    margin: 0;
}

nav ul li a {
    display: inline-block;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    font-weight: 600;
    color: var(--muted-text);
}

nav ul li a:hover,
nav ul li a:focus-visible {
    color: var(--primary-color);
    background: rgba(216, 179, 145, 0.18);
    text-decoration: none;
}

nav ul li a[aria-current="page"] {
    color: var(--primary-color);
    background: rgba(216, 179, 145, 0.28);
    box-shadow: inset 0 0 0 1px rgba(187, 115, 90, 0.18);
    text-decoration: none;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.82rem 1.4rem;
    border: 1px solid rgba(187, 115, 90, 0.35);
    border-radius: 999px;
    background: linear-gradient(135deg, #c47d63 0%, #ad674e 100%);
    color: white;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 16px 30px rgba(187, 115, 90, 0.22);
}

.cta-button:hover {
    background: linear-gradient(135deg, #cf8970 0%, #b66f56 100%);
    transform: translateY(-1px);
    text-decoration: none;
    color: white;
    box-shadow: 0 20px 34px rgba(187, 115, 90, 0.26);
}

.cta-button:focus-visible {
    color: white;
    text-decoration: none;
}

/* Main content */
main {
    max-width: 1120px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 3rem;
}

.hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 1.75rem;
    padding: 3.2rem 2.5rem;
    border: 1px solid rgba(90, 111, 98, 0.14);
    border-radius: 30px;
    text-align: center;
    background:
        linear-gradient(145deg, rgba(255, 252, 247, 0.97), rgba(242, 229, 214, 0.88)),
        linear-gradient(180deg, rgba(216, 179, 145, 0.15), transparent);
    box-shadow: 0 24px 50px var(--shadow-color);
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero::before {
    width: 260px;
    height: 260px;
    right: -80px;
    top: -120px;
    background: radial-gradient(circle, rgba(216, 179, 145, 0.34), transparent 72%);
}

.hero::after {
    width: 220px;
    height: 220px;
    left: -90px;
    bottom: -120px;
    background: radial-gradient(circle, rgba(90, 111, 98, 0.14), transparent 70%);
}

.hero h1 {
    position: relative;
    z-index: 1;
    margin-bottom: 0.8rem;
    font-size: clamp(2.7rem, 5vw, 4.5rem);
}

.hero p {
    position: relative;
    z-index: 1;
    max-width: none;
    margin: 0 0 1rem;
    font-size: 1.12rem;
    color: var(--muted-text);
}

.hero .cta-button {
    position: relative;
    z-index: 1;
    margin-top: 0.65rem;
}

.section {
    margin-bottom: 2rem;
    padding: 1.9rem 2rem;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    background: var(--surface-color);
    box-shadow: 0 18px 38px rgba(70, 52, 39, 0.08);
    backdrop-filter: blur(4px);
}

.section h2 {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(184, 149, 118, 0.45);
    font-size: clamp(1.6rem, 3.2vw, 2.16rem);
}

.subsection-label {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin: 1.35rem 0 0.7rem;
    padding: 0.38rem 0.9rem 0.38rem 0.8rem;
    border: 1px solid rgba(187, 115, 90, 0.18);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(216, 179, 145, 0.16), rgba(255, 252, 247, 0.96));
    box-shadow: 0 10px 22px rgba(70, 52, 39, 0.06);
    font-family: 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    line-height: 1.35;
    text-transform: uppercase;
    color: var(--primary-color);
}

.subsection-label::before {
    content: '';
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    box-shadow: 0 0 0 4px rgba(216, 179, 145, 0.16);
    flex-shrink: 0;
}

.subsection-label strong {
    font: inherit;
}

.faq-item {
    margin-bottom: 1.1rem;
    padding: 1.15rem 1.2rem 1.05rem;
    border: 1px solid rgba(90, 111, 98, 0.12);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 14px 28px rgba(70, 52, 39, 0.05);
}

.faq-item:last-of-type {
    margin-bottom: 0;
}

.faq-item .subsection-label {
    display: block;
    margin-top: 0;
    margin-bottom: 0.45rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
}

.faq-item .subsection-label::before {
    display: none;
}

.faq-item p:last-child {
    margin-bottom: 0;
}

.faq-followup-heading {
    margin-top: 2.4rem;
}

.section p:last-child,
.section ul:last-child {
    margin-bottom: 0;
}

/* Footer */
footer.site-footer {
    margin-top: 3rem;
    padding: 2.5rem 1.5rem 1.4rem;
    background:
        radial-gradient(circle at top left, rgba(216, 179, 145, 0.2), transparent 30%),
        radial-gradient(circle at bottom right, rgba(90, 111, 98, 0.14), transparent 34%),
        linear-gradient(180deg, #493d35 0%, #392f29 100%);
    color: rgba(255, 248, 240, 0.92);
}

.footer-shell {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    max-width: 1120px;
    margin: 0 auto;
}

.footer-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 2.5rem;
}

.footer-block {
    min-width: 200px;
}

.footer-kicker {
    margin: 0;
    color: #f3cfb1;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.1rem;
    line-height: 1;
}

.footer-block h3 {
    color: #f0c8a8;
    font-size: 1.6rem;
    margin: 0 0 0.55rem;
}

.footer-block p {
    margin: 0;
    color: rgba(255, 248, 240, 0.82);
    line-height: 1.7;
}

.footer-block p + p {
    margin-top: 0.3rem;
}

.footer-block a {
    color: rgba(255, 248, 240, 0.92);
}

.footer-block a:hover {
    color: #f0c8a8;
}

.footer-bottom {
    max-width: 1120px;
    margin: 1.6rem auto 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 244, 230, 0.12);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 248, 240, 0.72);
    font-size: 0.94rem;
    letter-spacing: 0.02em;
}

.footer-bottom p:first-child {
    color: rgba(255, 248, 240, 0.82);
}

footer.site-footer > p {
    max-width: 1120px;
    margin: 1.9rem auto 0;
    padding-top: 1.35rem;
    border-top: 1px solid rgba(255, 244, 230, 0.12);
    text-align: center;
    font-size: 0.96rem;
    letter-spacing: 0.02em;
    color: rgba(255, 249, 241, 0.72);
}

/* Page layout helpers */
.page-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

.page-content {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.page-sidebar {
    position: sticky;
    top: 110px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 22px;
    background: rgba(255, 252, 247, 0.94);
    box-shadow: 0 18px 40px rgba(70, 52, 39, 0.1);
}

.page-sidebar h3 {
    margin-top: 0;
    color: var(--primary-color);
}

.page-sidebar p {
    margin: 0.6rem 0;
}

.page-sidebar .cta-button {
    width: 100%;
}

.two-column {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 2rem;
    align-items: start;
}

.two-column__content {
    min-width: 0;
}

.two-column__image {
    display: flex;
    flex-direction: column;
    gap: 1.65rem;
}

.two-column__image img,
iframe {
    width: 100%;
    border: 0;
    border-radius: 22px;
    box-shadow: 0 18px 36px rgba(70, 52, 39, 0.14);
    object-fit: cover;
}

.about-headshot {
    aspect-ratio: 1 / 1;
    object-position: 59% 28%;
}

.at-a-glance {
    position: relative;
    overflow: hidden;
    padding: 1.4rem 1.35rem 1.45rem;
    border: 1px solid rgba(90, 111, 98, 0.16);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 251, 245, 0.98), rgba(245, 235, 223, 0.94));
    box-shadow: 0 20px 38px rgba(70, 52, 39, 0.1);
}

.at-a-glance::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, rgba(187, 115, 90, 0.95), rgba(216, 179, 145, 0.9));
}

.at-a-glance h3 {
    position: relative;
    z-index: 1;
    margin-bottom: 0.7rem;
    font-size: 1.95rem;
}

.at-a-glance h4 {
    position: relative;
    z-index: 1;
    margin: 1rem 0 0.45rem;
    font-family: 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted-text);
}

.at-a-glance h3 + h4 {
    margin-top: 0.2rem;
}

.at-a-glance ul {
    position: relative;
    z-index: 1;
    margin: 0 0 0.35rem;
    padding-left: 1.1rem;
}

.at-a-glance li {
    margin-bottom: 0.5rem;
    color: var(--text-color);
    line-height: 1.6;
}

.at-a-glance li:last-child {
    margin-bottom: 0;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-top: 1.25rem;
}

.card,
article {
    padding: 1.45rem 1.4rem;
    border: 1px solid rgba(90, 111, 98, 0.12);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 14px 30px rgba(70, 52, 39, 0.08);
}

.card h3,
article h2 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

article + article {
    margin-top: 1rem;
}

.meta {
    margin-bottom: 0.7rem;
    color: var(--muted-text);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
}

input,
textarea {
    flex: 1 1 260px;
    width: min(100%, 360px);
    padding: 0.9rem 1rem;
    border: 1px solid rgba(90, 111, 98, 0.18);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--text-color);
    font: inherit;
    box-shadow: inset 0 1px 2px rgba(70, 52, 39, 0.04);
}

textarea {
    min-height: 140px;
    resize: vertical;
}

input::placeholder,
textarea::placeholder {
    color: rgba(109, 100, 87, 0.72);
}

.note {
    margin-top: 1rem;
    padding-left: 1rem;
    border-left: 3px solid rgba(187, 115, 90, 0.28);
    font-size: 1rem;
    color: var(--muted-text);
}

.section--alt {
    background:
        linear-gradient(135deg, rgba(255, 248, 240, 0.96), rgba(240, 230, 217, 0.92));
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Responsive */
@media (max-width: 900px) {
    header {
        justify-content: center;
    }

    header h1 {
        text-align: center;
    }

    .two-column {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 2.6rem 1.5rem;
    }

    .footer-shell {
        flex-direction: column;
    }

    .footer-details {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 1rem 1rem 1.2rem;
        text-align: center;
    }

    nav ul {
        justify-content: center;
        border-radius: 24px;
    }

    nav ul li a {
        padding: 0.5rem 0.8rem;
    }

    main {
        padding: 1.35rem 1rem 2.5rem;
    }

    .section,
    .hero {
        border-radius: 22px;
    }

    .section {
        padding: 1.5rem 1.25rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .footer-shell,
    .footer-details {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    form {
        flex-direction: column;
        align-items: stretch;
    }

    input,
    textarea {
        width: 100%;
    }

    form .cta-button,
    .page-sidebar .cta-button {
        width: 100%;
    }
}
