/* =====================================================
   PINESTRAW EXPRESS — MAIN STYLESHEET
   Sections:
   1. CSS Variables    8. Cards
   2. Base Styles       9. Gallery
   3. Typography       10. Lightbox
   4. Header            11. Contact
   5. Hero              12. Footer
   6. Buttons           13. Responsive Breakpoints
   7. Sections          14. Accessibility / Reduced Motion
   ===================================================== */

/* ============ 1. CSS VARIABLES ============ */
:root {
    --primary-green: #294B32;
    --dark-green: #1F3826;
    --pine-green: #456A4A;
    --natural-brown: #76502F;
    --warm-brown: #9A7146;
    --cream: #F5F0E7;
    --light-cream: #FBF9F4;
    --dark: #252A26;
    --white: #FFFFFF;

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --radius-sm: 4px;
    --radius-md: 8px;
    --shadow-soft: 0 10px 30px rgba(31, 56, 38, 0.10);
    --shadow-card: 0 4px 18px rgba(37, 42, 38, 0.08);

    --transition-base: 0.3s ease;
    --container-max: 1240px;
}

/* ============ 2. BASE STYLES ============ */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    background-color: var(--white);
    line-height: 1.65;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.container-xl {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

section {
    position: relative;
}

.bg-cream {
    background-color: var(--cream);
}

.bg-light-cream {
    background-color: var(--light-cream);
}

.bg-dark-green {
    background-color: var(--dark-green);
    color: var(--cream);
}

.bg-primary-green {
    background-color: var(--primary-green);
    color: var(--cream);
}

/* ============ 3. TYPOGRAPHY ============ */
h1,
h2,
h3,
h4,
h5,
.font-heading {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark-green);
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.bg-dark-green h1,
.bg-dark-green h2,
.bg-dark-green h3,
.bg-primary-green h1,
.bg-primary-green h2,
.bg-primary-green h3,
.text-on-dark h1,
.text-on-dark h2,
.text-on-dark h3,
.text-on-dark h4 {
    color: var(--white);
}

h1 {
    font-size: clamp(2.1rem, 4.2vw, 3.4rem);
}

h2 {
    font-size: clamp(1.7rem, 3vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.55rem);
}

p {
    color: #4B534C;
    max-width: 62ch;
}

.bg-dark-green p,
.bg-primary-green p,
.text-on-dark p {
    color: rgba(245, 240, 231, 0.86);
}

.lede {
    font-size: 1.1rem;
    color: #4B534C;
}

.eyebrow {
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--warm-brown);
    font-size: 0.95rem;
    margin-bottom: 8px;
    display: inline-block;
}

.section-heading {
    max-width: 640px;
    margin-bottom: 2.25rem;
}

.section-heading.centered {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* ============ 4. HEADER ============ */
.site-header {
    background-color: var(--light-cream);
    border-bottom: 1px solid rgba(37, 42, 38, 0.07);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow var(--transition-base), padding var(--transition-base);
}

.site-header.is-scrolled {
    box-shadow: 0 2px 20px rgba(37, 42, 38, 0.08);
}

.navbar {
    padding: 0;
}

.navbar .container-xl {
    min-height: 95px;
    position: relative;
}

.navbar-brand {
    position: absolute;
    top: -18px;
    left: 24px;
    width: 190px;
    height: 190px;
    z-index: 1001;
}

.navbar-brand img {
    height: 210px;
    width: 210px;
    object-fit: contain;
}

.navbar-collapse {
    margin-left: 230px;
}

.main-nav .nav-link {
    font-weight: 500;
    color: var(--dark);
    padding: 10px 16px !important;
    position: relative;
}

.main-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 6px;
    height: 2px;
    background-color: var(--pine-green);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after {
    transform: scaleX(1);
}

.main-nav .nav-link.active {
    color: var(--dark-green);
    font-weight: 600;
}

.header-cta {
    margin-left: 8px;
}

.navbar-toggler {
    border: none;
    padding: 4px 8px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(69, 106, 74, 0.3);
}

@media (max-width: 991.98px) {
    .navbar .container-xl {
        min-height: 80px;
    }

    .navbar-brand {
        top: 4px;
        width: 130px;
        height: 130px;
    }

    .navbar-brand img {
        height: 130px;
        width: 130px;
    }

    .navbar-toggler {
        position: absolute;
        top: 20px;
        right: 24px;
    }

    .navbar-collapse {
        margin-left: 0;
        margin-top: 150px;
        padding: 8px 0 16px;
    }
}

/* ============ 5. HERO ============ */
.hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    color: var(--white);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(31, 56, 38, 0.55) 0%, rgba(31, 56, 38, 0.72) 65%, rgba(20, 36, 25, 0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding: 90px 0;
}

.hero .eyebrow {
    color: var(--cream);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.82rem;
    font-weight: 600;
    opacity: 0.9;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 1.1rem;
}

.hero p.lede {
    color: rgba(245, 240, 231, 0.92);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.page-banner {
    position: relative;
    min-height: 46vh;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    color: var(--white);
}

.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(31, 56, 38, 0.5) 0%, rgba(20, 36, 25, 0.82) 100%);
}

.page-banner-content {
    position: relative;
    z-index: 2;
    padding: 64px 0 44px;
}

.page-banner .eyebrow {
    color: var(--cream);
    opacity: 0.9;
}

.page-banner h1 {
    color: var(--white);
    margin-bottom: 0;
}

.breadcrumb-line {
    font-size: 0.9rem;
    color: rgba(245, 240, 231, 0.75);
    margin-bottom: 10px;
}

.breadcrumb-line a {
    color: rgba(245, 240, 231, 0.95);
    border-bottom: 1px solid rgba(245, 240, 231, 0.4);
}

/* ============ 6. BUTTONS ============ */
.btn {
    font-family: var(--font-body);
    font-weight: 600;
    border-radius: var(--radius-sm);
    padding: 13px 28px;
    transition: all var(--transition-base);
    border-width: 2px;
    letter-spacing: 0.01em;
}

.btn-primary-brand {
    background-color: var(--pine-green);
    border-color: var(--pine-green);
    color: var(--white);
}

.btn-primary-brand:hover {
    background-color: var(--dark-green);
    border-color: var(--dark-green);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.btn-outline-brand {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline-brand:hover {
    background-color: var(--white);
    color: var(--dark-green);
    transform: translateY(-2px);
}

.btn-outline-green {
    background-color: transparent;
    border-color: var(--pine-green);
    color: var(--pine-green);
}

.btn-outline-green:hover {
    background-color: var(--pine-green);
    color: var(--white);
}

.btn-brown {
    background-color: var(--natural-brown);
    border-color: var(--natural-brown);
    color: var(--white);
}

.btn-brown:hover {
    background-color: var(--warm-brown);
    border-color: var(--warm-brown);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-sm-brand {
    padding: 9px 20px;
    font-size: 0.9rem;
}

/* ============ 7. SECTIONS ============ */
.section-pad {
    padding: 88px 0;
}

.section-pad-sm {
    padding: 56px 0;
}

@media (max-width: 767.98px) {
    .section-pad {
        padding: 56px 0;
    }

    .section-pad-sm {
        padding: 40px 0;
    }
}

.divider-line {
    width: 64px;
    height: 3px;
    background-color: var(--warm-brown);
    border: none;
    margin: 0 0 20px;
}

.centered .divider-line {
    margin-left: auto;
    margin-right: auto;
}

/* ============ 8. CARDS ============ */
.serve-card {
    background-color: var(--white);
    border: 1px solid rgba(37, 42, 38, 0.08);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    height: 100%;
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.serve-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
    border-color: rgba(69, 106, 74, 0.25);
}

.serve-card .icon-wrap {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background-color: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pine-green);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.serve-card h3 {
    margin-bottom: 10px;
}

.serve-card p {
    font-size: 0.96rem;
    margin-bottom: 0;
}

.feature-block {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.feature-block .icon-wrap {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(69, 106, 74, 0.1);
    color: var(--pine-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.feature-block h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.feature-block p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.step-card {
    position: relative;
    padding: 30px 24px 24px;
    background-color: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid rgba(37, 42, 38, 0.08);
    height: 100%;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    color: rgba(69, 106, 74, 0.28);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 12px;
}

.step-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.step-card p {
    font-size: 0.94rem;
    margin-bottom: 0;
}

.commitment-card {
    text-align: center;
    padding: 40px 24px;
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    height: 100%;
}

.commitment-card .icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--cream);
    color: var(--pine-green);
    font-size: 1.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

.value-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--white);
    border: 1px solid rgba(37, 42, 38, 0.1);
    border-radius: 30px;
    padding: 8px 18px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark-green);
}

/* Pine straw supply audiences */
.supply-needs .value-pill {
    width: 100%;
    min-height: 68px;
    justify-content: center;
    padding: 14px 18px;
    font-size: 1rem;
    font-weight: 600;
}

.supply-needs .value-pill i {
    font-size: 1.3rem;
    color: var(--pine-green);
}

/* Gallery preview / grid image cards */
.media-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    display: block;
}

.media-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.media-card:hover img {
    transform: scale(1.06);
}

.media-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(31, 56, 38, 0) 45%, rgba(20, 36, 25, 0.55) 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.media-card:hover::after {
    opacity: 1;
}

.media-card .media-label {
    position: absolute;
    left: 16px;
    bottom: 14px;
    color: var(--white);
    font-weight: 600;
    z-index: 2;
    opacity: 0;
    transform: translateY(6px);
    transition: all var(--transition-base);
}

.media-card:hover .media-label {
    opacity: 1;
    transform: translateY(0);
}

/* ============ 9. GALLERY ============ */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
}

.filter-btn {
    background-color: var(--white);
    border: 1px solid rgba(37, 42, 38, 0.14);
    color: var(--dark);
    padding: 9px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition-base);
    cursor: pointer;
}

.filter-btn:hover {
    border-color: var(--pine-green);
    color: var(--pine-green);
}

.filter-btn.active {
    background-color: var(--dark-green);
    border-color: var(--dark-green);
    color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

@media (max-width: 991.98px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 575.98px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1/1;
    cursor: pointer;
    border: none;
    padding: 0;
    display: block;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item .zoom-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(31, 56, 38, 0.28);
    color: var(--white);
    font-size: 1.4rem;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.gallery-item:hover .zoom-icon {
    opacity: 1;
}

.gallery-item.is-hidden {
    display: none;
}

/* ============ 10. LIGHTBOX ============ */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(20, 24, 21, 0.94);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.lightbox-overlay.is-open {
    display: flex;
}

.lightbox-inner {
    position: relative;
    max-width: 900px;
    width: 100%;
    text-align: center;
}

.lightbox-inner img {
    max-height: 78vh;
    margin: 0 auto;
    border-radius: var(--radius-sm);
    width: auto;
}

.lightbox-caption {
    color: var(--cream);
    margin-top: 16px;
    font-size: 0.95rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(245, 240, 231, 0.12);
    border: none;
    color: var(--white);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: background var(--transition-base);
    cursor: pointer;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(245, 240, 231, 0.28);
}

.lightbox-close {
    top: -56px;
    right: 0;
}

.lightbox-prev {
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 767.98px) {
    .lightbox-close {
        top: -50px;
        right: 0;
    }

    .lightbox-prev {
        left: 4px;
    }

    .lightbox-next {
        right: 4px;
    }
}

/* Video gallery */
.video-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(37, 42, 38, 0.08);
    height: 100%;
}

.ratio-16x9 iframe {
    border: none;
}

.video-card-body {
    padding: 20px 22px 24px;
}

.video-card-body h3 {
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.video-card-body p {
    font-size: 0.92rem;
    margin-bottom: 0;
}

/* ============ 11. CONTACT ============ */
.contact-info-card {
    background-color: var(--dark-green);
    color: var(--cream);
    border-radius: var(--radius-md);
    padding: 40px 32px;
}

.contact-info-card h3 {
    color: var(--white);
}

.contact-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 0;
    border-bottom: 1px solid rgba(245, 240, 231, 0.14);
}

.contact-detail:last-of-type {
    border-bottom: none;
}

.contact-detail .icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(245, 240, 231, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--white);
}

.contact-detail h4 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--white);
    margin-bottom: 3px;
}

.contact-detail p {
    color: rgba(245, 240, 231, 0.78);
    font-size: 0.92rem;
    margin-bottom: 0;
}

.quick-contact-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.contact-form-wrap {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 40px 36px;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(37, 42, 38, 0.06);
}

@media (max-width: 575.98px) {
    .contact-form-wrap {
        padding: 28px 20px;
    }

    .contact-info-card {
        padding: 32px 22px;
    }
}

.form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark);
    margin-bottom: 6px;
}

.form-control,
.form-select {
    border: 1px solid rgba(37, 42, 38, 0.16);
    border-radius: var(--radius-sm);
    padding: 11px 14px;
    font-size: 0.96rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--pine-green);
    box-shadow: 0 0 0 3px rgba(69, 106, 74, 0.16);
}

.map-embed-wrap {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.map-embed-wrap iframe {
    width: 100%;
    height: 420px;
    border: 0;
    display: block;
}

/* ============ 12. FOOTER ============ */
.site-footer {
    background-color: var(--dark-green);
    color: rgba(245, 240, 231, 0.82);
    padding-top: 68px;
}

.footer-cta-band {
    background-color: var(--primary-green);
    padding: 40px 0;
}

.footer-cta-band h2 {
    color: var(--white);
    margin-bottom: 4px;
}

.footer-brand img {
    height: 60px;
    margin-bottom: 16px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 48px;
}

.footer-navigation {
    text-align: left;
}

.footer-navigation .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    gap: 10px;
    max-width: 340px;
    margin: 0 auto;
}

.footer-navigation .footer-links li {
    margin: 0;
}

.footer-navigation .footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 7px 14px;
    border: 1px solid rgba(245, 240, 231, 0.24);
    border-radius: 999px;
    color: rgba(245, 240, 231, 0.9);
}

.footer-navigation .footer-links a:hover {
    background-color: rgba(245, 240, 231, 0.1);
    border-color: rgba(245, 240, 231, 0.55);
}

.footer-contact-column {
    justify-self: end;
    width: min(100%, 410px);
}

.footer-tagline {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--cream);
    font-size: 1.05rem;
    margin-bottom: 18px;
}

.footer-heading {
    color: var(--white);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 18px;
    letter-spacing: 0.02em;
}

.footer-links li {
    margin-bottom: 11px;
}

.footer-links a {
    color: rgba(245, 240, 231, 0.78);
    transition: color var(--transition-base);
    font-size: 0.95rem;
}

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

.footer-contact-list li {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 0.95rem;
    color: rgba(245, 240, 231, 0.78);
}

.social-row {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.social-row a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(245, 240, 231, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: background-color var(--transition-base), transform var(--transition-base);
}

.social-row a:hover {
    background-color: var(--pine-green);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(245, 240, 231, 0.12);
    margin-top: 50px;
    padding: 22px 0;
    font-size: 0.85rem;
}

.footer-bottom a {
    color: rgba(245, 240, 231, 0.7);
}

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

@media (max-width: 991.98px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 42px;
    }

    .footer-navigation {
        text-align: left;
    }

    .footer-navigation .footer-links {
        justify-content: flex-start;
        margin-left: 0;
    }

    .footer-contact-column {
        justify-self: start;
        grid-column: 1 / -1;
    }
}

@media (max-width: 575.98px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-contact-column {
        grid-column: auto;
    }
}

/* ============ 13. RESPONSIVE BREAKPOINTS ============ */
@media (max-width: 991.98px) {
    .hero {
        min-height: 78vh;
    }

    .hero-content {
        padding: 70px 0;
    }
}

@media (max-width: 767.98px) {
    .hero {
        min-height: 70vh;
    }

    .hero-content {
        padding: 54px 0;
    }

    .hero-cta-group .btn {
        width: 100%;
        text-align: center;
    }

    .hero-cta-group {
        flex-direction: column;
    }

    .page-banner {
        min-height: 34vh;
    }
}

@media (max-width: 575.98px) {
    .hero {
        min-height: 65vh;
    }

    .container-xl {
        padding-left: 18px;
        padding-right: 18px;
    }

    .navbar-brand {
        left: 18px;
    }

    .navbar-toggler {
        right: 18px;
    }
}

/* ============ 14. ACCESSIBILITY / REDUCED MOTION ============ */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.nav-link:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--warm-brown);
    outline-offset: 2px;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

.visually-hidden-focusable:not(:focus):not(:focus-within) {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

/* Skip link */
.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--dark-green);
    color: var(--white);
    padding: 12px 20px;
    z-index: 3000;
    border-radius: 0 0 6px 0;
}

.skip-link:focus {
    left: 0;
}
