/* ========================================
   TRISTY S. SHAW, MD — Medical Website
   Bold Editorial Style · Emerald + Cream
   ======================================== */

/* ---------- RESET ---------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #1a1a1a;
    background-color: #faf8f5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg {
    display: block;
    max-width: 100%;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.2;
    font-weight: 600;
}

a {
    color: inherit;
    text-decoration: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

ul {
    list-style: none;
}

/* ---------- SKIP LINK ---------- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: #064e3b;
    color: #fff;
    padding: 0.75rem 1.25rem;
    z-index: 1000;
    border-radius: 0 0 8px 8px;
    font-weight: 500;
}
.skip-link:focus {
    top: 0;
}

/* ---------- CUSTOM PROPERTIES ---------- */
:root {
    --emerald-950: #042f23;
    --emerald-900: #064e3b;
    --emerald-800: #065f46;
    --emerald-700: #047857;
    --emerald-600: #059669;
    --cream-50: #faf8f5;
    --cream-100: #f5f0e8;
    --cream-200: #ebe4d6;
    --cream-300: #ddd3c0;
    --dark: #1a1a1a;
    --dark-700: #2d2d2d;
    --gray-600: #555;
    --gray-400: #999;
    --gray-200: #e5e5e5;
    --white: #ffffff;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', system-ui, sans-serif;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.04);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.04);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- LAYOUT ---------- */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 3rem;
    }
}

/* ---------- HEADER ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 248, 245, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(6, 78, 59, 0.08);
    transition: box-shadow var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* ---------- LOGO ---------- */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--emerald-900);
    font-family: var(--font-serif);
}

.logo-mark {
    color: var(--emerald-900);
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-name {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.logo-sub {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-600);
}

.logo-light {
    color: var(--white);
}

.logo-light .logo-sub {
    color: rgba(255,255,255,0.65);
}

/* ---------- NAV ---------- */
.nav {
    display: none;
}

@media (min-width: 900px) {
    .nav {
        display: flex;
        align-items: center;
        gap: 2rem;
    }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-menu a {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--dark-700);
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
}

.nav-menu a:hover {
    color: var(--emerald-800);
    background: rgba(6, 78, 59, 0.06);
}

/* ---------- NAV TOGGLE ---------- */
.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 101;
}

@media (min-width: 900px) {
    .nav-toggle {
        display: none;
    }
}

.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---------- MOBILE NAV ---------- */
@media (max-width: 899px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(250, 248, 245, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1.5rem;
        gap: 0.25rem;
        border-bottom: 1px solid rgba(6, 78, 59, 0.1);
        box-shadow: var(--shadow-lg);
        transform: translateY(-110%);
        opacity: 0;
        visibility: hidden;
        transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
    }

    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu a {
        padding: 1rem;
        font-size: 1rem;
        width: 100%;
    }
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--emerald-900);
    color: var(--white);
    border-color: var(--emerald-900);
}

.btn-primary:hover {
    background: var(--emerald-800);
    border-color: var(--emerald-800);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(6, 78, 59, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.4);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--emerald-900);
    border-color: var(--emerald-900);
}

.btn-outline:hover {
    background: var(--emerald-900);
    color: var(--white);
}

.btn-nav {
    background: var(--emerald-900);
    color: var(--white);
    border-radius: var(--radius-sm);
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
}

.btn-nav:hover {
    background: var(--emerald-800);
}

.btn-full {
    width: 100%;
}

/* ---------- EYEBROW ---------- */
.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--emerald-700);
    margin-bottom: 1rem;
}

/* ---------- SECTION TITLE ---------- */
.section-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    color: var(--dark);
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    overflow: hidden;
    background: var(--cream-50);
}

@media (min-width: 1024px) {
    .hero {
        grid-template-columns: 1fr 1fr;
        min-height: 100vh;
    }
}

.hero-bg {
    display: none;
}

@media (min-width: 1024px) {
    .hero-bg {
        display: block;
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, var(--cream-100) 0%, var(--cream-50) 100%);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 8rem 0 4rem;
    max-width: 640px;
}

@media (min-width: 1024px) {
    .hero-content {
        padding: 6rem 0;
    }
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--emerald-700);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hero-eyebrow::before {
    content: '';
    display: block;
    width: 32px;
    height: 2px;
    background: var(--emerald-700);
}

.hero-title {
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero-title em {
    font-style: italic;
    color: var(--emerald-800);
}

.hero-subtitle {
    font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 2.5rem;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--cream-200);
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--emerald-900);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-top: 0.375rem;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--cream-300);
}

.hero-image {
    display: none;
    position: relative;
    height: 100vh;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .hero-image {
        display: block;
    }
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--cream-50) 0%, transparent 30%);
}

@media (min-width: 1024px) {
    .hero-image-overlay {
        background: linear-gradient(to right, var(--cream-50) 0%, transparent 25%);
    }
}

/* ---------- INTRO ---------- */
.intro {
    padding: 6rem 0;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .intro-grid {
        grid-template-columns: 1.1fr 1fr;
        gap: 4rem;
    }
}

.intro-body {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray-600);
}

.intro-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

@media (min-width: 768px) {
    .intro-image img {
        height: 400px;
    }
}

/* ---------- SERVICES ---------- */
.services {
    padding: 6rem 0;
    background: var(--cream-100);
}

.services-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

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

@media (min-width: 600px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 2.25rem;
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid var(--cream-200);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(6, 78, 59, 0.08);
    border-radius: var(--radius-sm);
    color: var(--emerald-800);
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.375rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.service-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--gray-600);
}

/* ---------- ABOUT ---------- */
.about {
    padding: 6rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

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

.about-image-wrap {
    position: relative;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.about-accent {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    color: var(--emerald-200);
    opacity: 0.5;
}

@media (min-width: 768px) {
    .about-accent {
        bottom: -3rem;
        right: -3rem;
    }
}

.about-body {
    margin-bottom: 2.5rem;
}

.about-body p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 600px) {
    .about-values {
        grid-template-columns: repeat(3, 1fr);
    }
}

.value-item {
    padding: 1.5rem;
    background: var(--cream-50);
    border-radius: var(--radius-md);
    border: 1px solid var(--cream-200);
}

.value-number {
    font-family: var(--font-serif);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--emerald-700);
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.5rem;
}

.value-item h4 {
    font-size: 1.125rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.value-item p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--gray-600);
}

/* ---------- PATIENTS / TIMELINE ---------- */
.patients {
    padding: 6rem 0;
    background: var(--emerald-900);
    color: var(--white);
}

.patients-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.patients-header .section-eyebrow {
    color: rgba(255,255,255,0.6);
}

.patients-header .section-title {
    color: var(--white);
}

.patients-timeline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .patients-timeline {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .patients-timeline {
        grid-template-columns: repeat(4, 1fr);
    }
}

.timeline-step {
    padding: 2rem;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.08);
    position: relative;
}

@media (min-width: 768px) and (max-width: 1023px) {
    .timeline-step:nth-child(2) {
        grid-column: 1 / -1;
    }
}

.step-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255,255,255,0.15);
    line-height: 1;
    margin-bottom: 1rem;
}

.step-title {
    font-size: 1.375rem;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.step-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.65);
}

.timeline-connector {
    display: none;
}

/* ---------- LOCATION ---------- */
.location {
    padding: 6rem 0;
}

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

@media (min-width: 768px) {
    .location-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2.5rem;
}

.location-detail {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.detail-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(6, 78, 59, 0.08);
    border-radius: var(--radius-sm);
    color: var(--emerald-800);
    flex-shrink: 0;
}

.detail-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 0.25rem;
}

.detail-value {
    font-size: 1rem;
    color: var(--dark);
    line-height: 1.6;
}

.detail-value a {
    color: var(--emerald-800);
    transition: color var(--transition);
}

.detail-value a:hover {
    color: var(--emerald-600);
}

.location-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.map-placeholder {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.map-placeholder img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

@media (min-width: 768px) {
    .map-placeholder img {
        height: 450px;
    }
}

.map-overlay {
    position: absolute;
    inset: 0;
    background: rgba(6, 78, 59, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-pin {
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    animation: pinBounce 2s ease-in-out infinite;
}

@keyframes pinBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ---------- CTA ---------- */
.cta {
    padding: 6rem 0;
    background: var(--cream-100);
}

.cta-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

@media (min-width: 900px) {
    .cta-inner {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.cta-body {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--gray-600);
    margin-top: 1rem;
}

/* ---------- FORM ---------- */
.cta-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--cream-200);
}

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

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--dark-700);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1.5px solid var(--cream-300);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    color: var(--dark);
    background: var(--cream-50);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--emerald-700);
    box-shadow: 0 0 0 3px rgba(6, 78, 59, 0.1);
    background: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-privacy {
    font-size: 0.8125rem;
    color: var(--gray-400);
    text-align: center;
    margin-top: 1rem;
}

.form-success {
    text-align: center;
    padding: 3rem 2.5rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--cream-200);
}

.success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    color: var(--emerald-700);
}

.form-success h3 {
    font-size: 1.75rem;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.form-success p {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ---------- INSURANCE ---------- */
.insurance {
    padding: 4rem 0;
    background: var(--white);
    border-top: 1px solid var(--cream-200);
}

.insurance-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.insurance-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--emerald-700);
}

.insurance-text {
    font-size: 1.0625rem;
    color: var(--gray-600);
    max-width: 500px;
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--emerald-950);
    color: var(--white);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
}

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

.footer-tagline {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
    margin-top: 1rem;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    margin-bottom: 1.25rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.7);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact address {
    font-style: normal;
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.footer-contact a {
    color: rgba(255,255,255,0.7);
    transition: color var(--transition);
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
}

@media (min-width: 600px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.35);
}

.footer-disclaimer {
    font-size: 0.75rem !important;
    color: rgba(255,255,255,0.25) !important;
    max-width: 500px;
}

/* ---------- SCROLL REVEAL (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* ---------- FOCUS VISIBLE ---------- */
:focus-visible {
    outline: 2px solid var(--emerald-700);
    outline-offset: 2px;
}
