/* ================================
   Holt's Custom Cabinets
   Premium Website Styles
   ================================ */

/* ---------- CSS Variables ---------- */
:root {
    --dark: #1f1b17;
    --dark-soft: #2b241e;
    --dark-card: #332a22;
    --cream: #f5efe6;
    --ivory: #f7f1e8;
    --gold: #c49a5a;
    --gold-soft: #d7b77a;
    --wood: #8b5e34;
    --text-dark: #2a211b;
    --muted: #b9aa98;
    --white: #ffffff;

    --heading-font: "Playfair Display", serif;
    --body-font: "Inter", sans-serif;

    --max-width: 1180px;
    --section-padding: 6rem 0;
}

/* ---------- Global Reset ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    background-color: var(--dark);
    color: var(--cream);
    line-height: 1.6;
}

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

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

p {
    color: rgba(245, 239, 230, 0.78);
    font-size: 1rem;
}

h1,
h2,
h3 {
    font-family: var(--heading-font);
    font-weight: 600;
    line-height: 1.1;
}

h1 {
    font-size: clamp(3rem, 7vw, 6.5rem);
    max-width: 900px;
}

h2 {
    font-size: clamp(2.2rem, 4vw, 4rem);
}

h3 {
    font-size: 1.55rem;
}

/* ---------- Layout Helpers ---------- */
.container {
    width: min(92%, var(--max-width));
    margin: 0 auto;
}

.section {
    padding: var(--section-padding);
}

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

.section-label,
.eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 3rem;
}

.section-heading p {
    margin-top: 1rem;
    font-size: 1.05rem;
}

.section-action {
    margin-top: 2.5rem;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.45rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--dark);
}

.btn-primary:hover {
    background-color: var(--gold-soft);
    transform: translateY(-2px);
}

.btn-secondary {
    border-color: rgba(245, 239, 230, 0.45);
    color: var(--cream);
    background-color: rgba(245, 239, 230, 0.05);
}

.btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold-soft);
    transform: translateY(-2px);
}

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

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

/* ---------- Header / Navbar ---------- */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    padding: 1.15rem 0;
}

.nav-container {
    width: min(92%, 1240px);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: inline-flex;
    align-items: center;
}

.site-logo {
    width: 150px;
    height: auto;
}

@media (max-width: 900px) {
    .nav-container {
        width: min(90%, 1240px);
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .site-logo {
        width: 125px;
        height: auto;
    }

    .nav-toggle {
        display: block;
        margin-left: auto;
    }

    .site-header {
        padding: 0.9rem 0;
    }

    .site-logo {
        width: 105px;
        height: auto;
    }

    .hero-content {
        padding-top: 8rem;
    }

    .site-header {
    background-color: rgba(31, 27, 23, 0.86);
    backdrop-filter: blur(10px);
}
}

@media (max-width: 600px) {
    .site-logo {
        width: 95px;
    }

    .hero-content {
        padding-top: 8.5rem;
    }

    .eyebrow {
        font-size: 0.7rem;
        letter-spacing: 0.14em;
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: clamp(2.35rem, 12vw, 3.2rem);
    }

    .hero-text {
        font-size: 1rem;
    }
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.65rem;
}

.main-nav a {
    position: relative;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(245, 239, 230, 0.82);
    transition: color 0.25s ease;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.35rem;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: width 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--gold);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background-color: var(--cream);
    margin: 6px 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav-toggle span {
    transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image:
        linear-gradient(90deg, rgba(31, 27, 23, 0.94), rgba(31, 27, 23, 0.72), rgba(31, 27, 23, 0.28)),
        url("../images/hero/hero-cabinets.jpg");
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(196, 154, 90, 0.16), transparent 30%),
        radial-gradient(circle at 80% 90%, rgba(139, 94, 52, 0.20), transparent 35%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 6rem;
}

.hero-text {
    max-width: 680px;
    margin-top: 1.5rem;
    font-size: 1.15rem;
    color: rgba(245, 239, 230, 0.84);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2.2rem;
}

/* ---------- Intro Section ---------- */
.intro-section {
    background-color: var(--dark);
}

.split-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: start;
}

.split-layout p + p {
    margin-top: 1.2rem;
}

/* ---------- Services Preview ---------- */
.services-preview {
    background-color: var(--ivory);
    color: var(--text-dark);
}

.services-preview p {
    color: rgba(42, 33, 27, 0.74);
}

.card-grid {
    display: grid;
    gap: 1.5rem;
}

.three-column {
    grid-template-columns: repeat(3, 1fr);
}

.service-card {
    background-color: var(--white);
    color: var(--text-dark);
    padding: 2.3rem;
    border-radius: 1.2rem;
    box-shadow: 0 20px 50px rgba(31, 27, 23, 0.08);
    border: 1px solid rgba(42, 33, 27, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 70px rgba(31, 27, 23, 0.14);
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card p {
    color: rgba(42, 33, 27, 0.72);
}

/* ---------- Featured Work ---------- */
.featured-work {
    background-color: var(--dark-soft);
}

.gallery-preview-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    grid-template-rows: repeat(2, 260px);
    gap: 1rem;
}

.gallery-preview-item {
    position: relative;
    overflow: hidden;
    border-radius: 1.2rem;
    background-color: var(--dark-card);
}

.gallery-preview-item.large {
    grid-row: span 2;
}

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

.gallery-preview-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(31, 27, 23, 0.28));
}

.gallery-preview-item:hover img {
    transform: scale(1.05);
    filter: brightness(1.04);
}

/* ---------- Process Section ---------- */
.process-section {
    background-color: var(--dark);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.process-step {
    padding: 2rem;
    border-radius: 1.1rem;
    background-color: rgba(245, 239, 230, 0.045);
    border: 1px solid rgba(245, 239, 230, 0.09);
}

.process-step span {
    display: inline-block;
    color: var(--gold);
    font-weight: 800;
    letter-spacing: 0.12em;
    margin-bottom: 1.25rem;
}

.process-step h3 {
    margin-bottom: 0.85rem;
}

/* ---------- CTA Section ---------- */
.cta-section {
    background-color: var(--ivory);
    color: var(--text-dark);
}

.cta-section p {
    color: rgba(42, 33, 27, 0.74);
}

.cta-box {
    background:
        linear-gradient(135deg, rgba(31, 27, 23, 0.96), rgba(43, 36, 30, 0.96)),
        url("../images/hero/hero-cabinets.jpg");
    background-size: cover;
    background-position: center;
    color: var(--cream);
    border-radius: 1.5rem;
    padding: 4rem;
    display: grid;
    grid-template-columns: 1.2fr auto;
    gap: 2rem;
    align-items: center;
    box-shadow: 0 30px 80px rgba(31, 27, 23, 0.18);
}

.cta-box p {
    color: rgba(245, 239, 230, 0.8);
    max-width: 620px;
    margin-top: 1rem;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ---------- Footer ---------- */
.site-footer {
    background-color: #15120f;
    padding: 4rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr auto auto;
    gap: 4rem;
    align-items: start;
}

.footer-logo {
    width: 240px;
}

.site-footer h3 {
    color: var(--cream);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-decoration: underline;
    width: fit-content;
}

.site-footer p {
    margin-bottom: 0.55rem;
    color: rgba(245, 239, 230, 0.68);
}

.site-footer a {
    color: rgba(245, 239, 230, 0.72);
    transition: color 0.25s ease;
}

.site-footer a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(245, 239, 230, 0.1);
    margin-top: 3rem;
    padding-top: 1.4rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.86rem;
}

/* ---------- Responsive Styles ---------- */
@media (max-width: 900px) {
    :root {
        --section-padding: 4.5rem 0;
    }

    .site-logo {
        width: 150px;
    }

    .nav-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        right: 4%;
        width: 230px;
        background-color: rgba(31, 27, 23, 0.98);
        border: 1px solid rgba(245, 239, 230, 0.12);
        border-radius: 1rem;
        padding: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.9rem;
        display: none;
    }

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

    .split-layout,
    .cta-box,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .three-column,
    .process-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-preview-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .gallery-preview-item,
    .gallery-preview-item.large {
        height: 320px;
        grid-row: auto;
    }

    .cta-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }

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

@media (max-width: 600px) {
    .hero {
        min-height: 92vh;
        background-image:
            linear-gradient(90deg, rgba(31, 27, 23, 0.96), rgba(31, 27, 23, 0.78)),
            url("../images/hero/hero-cabinets.jpg");
    }

    .hero-content {
        padding-top: 5.5rem;
    }

    .hero-actions,
    .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .three-column,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .service-card,
    .process-step {
        padding: 1.6rem;
    }

    .gallery-preview-item,
    .gallery-preview-item.large {
        height: 260px;
    }

    .cta-box {
        padding: 2rem;
    }
}

/* ---------- Inner Page Hero ---------- */
.page-hero {
    position: relative;
    padding: 10rem 0 5rem;
    background:
        linear-gradient(90deg, rgba(31, 27, 23, 0.95), rgba(31, 27, 23, 0.78)),
        url("../images/hero/hero-cabinets.jpg");
    background-size: cover;
    background-position: center;
}

.page-hero h1 {
    max-width: 820px;
    font-size: clamp(2.6rem, 5vw, 5rem);
}

.page-hero p:not(.eyebrow) {
    max-width: 640px;
    margin-top: 1rem;
    font-size: 1.1rem;
    color: rgba(245, 239, 230, 0.8);
}

@media (max-width: 600px) {
    .page-hero {
        padding: 8rem 0 4rem;
    }
}

/* ---------- About Page ---------- */
.about-intro {
    background-color: var(--dark);
}

.craftsmanship-section {
    background-color: var(--ivory);
    color: var(--text-dark);
}

.craftsmanship-section p {
    color: rgba(42, 33, 27, 0.74);
}

.feature-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4rem;
    align-items: center;
}

.feature-image {
    border-radius: 1.4rem;
    overflow: hidden;
    box-shadow: 0 28px 80px rgba(31, 27, 23, 0.18);
}

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

.feature-content p {
    margin-top: 1rem;
}

.feature-content .btn {
    margin-top: 2rem;
}

.values-section {
    background-color: var(--dark-soft);
}

.value-card {
    padding: 2.2rem;
    border-radius: 1.2rem;
    background-color: rgba(245, 239, 230, 0.045);
    border: 1px solid rgba(245, 239, 230, 0.09);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: rgba(196, 154, 90, 0.45);
}

.value-card h3 {
    margin-bottom: 1rem;
}

.story-section {
    background-color: var(--dark);
}

.story-box {
    max-width: 900px;
    text-align: center;
}

.story-box p:not(.section-label) {
    max-width: 760px;
    margin: 1.2rem auto 0;
    font-size: 1.08rem;
}

.story-actions {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .feature-image img {
        height: 420px;
    }
}

@media (max-width: 600px) {
    .page-hero {
        padding: 8rem 0 4rem;
    }

    .feature-image img {
        height: 300px;
    }

    .story-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ---------- Services Page ---------- */
.services-intro {
    background-color: var(--dark);
}

.services-list-section {
    background-color: var(--ivory);
    color: var(--text-dark);
}

.services-list-section p {
    color: rgba(42, 33, 27, 0.74);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.detailed-service-card {
    background-color: var(--white);
    border: 1px solid rgba(42, 33, 27, 0.08);
    border-radius: 1.2rem;
    padding: 2rem;
    box-shadow: 0 20px 50px rgba(31, 27, 23, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.detailed-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 28px 70px rgba(31, 27, 23, 0.14);
}

.detailed-service-card span {
    display: inline-block;
    color: var(--gold);
    font-weight: 800;
    letter-spacing: 0.12em;
    margin-bottom: 1rem;
    font-size: 0.8rem;
}

.detailed-service-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.85rem;
}

.detailed-service-card p {
    color: rgba(42, 33, 27, 0.72);
}

.featured-service-section {
    background-color: var(--dark-soft);
}

.featured-service-section .feature-content p {
    color: rgba(245, 239, 230, 0.78);
}

.service-process-section {
    background-color: var(--dark);
}

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

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

/* ---------- Gallery Page ---------- */
.gallery-intro {
    background-color: var(--dark);
}

.gallery-section-heading {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 3rem;
    align-items: end;
    margin-bottom: 3rem;
}

.gallery-section-heading p:not(.section-label) {
    font-size: 1.05rem;
}

.light-gallery {
    background-color: var(--ivory);
    color: var(--text-dark);
}

.light-gallery p {
    color: rgba(42, 33, 27, 0.74);
}

.dark-gallery {
    background-color: var(--dark-soft);
}

.project-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 230px;
    gap: 1rem;
}

.small-gallery {
    grid-template-columns: repeat(3, 1fr);
}

.project-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 1.1rem;
    background-color: var(--dark-card);
    box-shadow: 0 18px 50px rgba(31, 27, 23, 0.12);
}

.project-gallery-item.wide {
    grid-column: span 2;
}

.project-gallery-item.tall {
    grid-row: span 2;
}

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

.project-gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(31, 27, 23, 0.35));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-gallery-item:hover img {
    transform: scale(1.05);
    filter: brightness(1.05);
}

.project-gallery-item:hover::after {
    opacity: 1;
}

/* ---------- Gallery Lightbox ---------- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 999;
    background-color: rgba(15, 12, 10, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox.open {
    display: flex;
}

.lightbox-image {
    max-width: min(92vw, 1100px);
    max-height: 86vh;
    object-fit: contain;
    border-radius: 1rem;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.55);
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.8rem;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(245, 239, 230, 0.25);
    border-radius: 50%;
    background-color: rgba(245, 239, 230, 0.08);
    color: var(--cream);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.25s ease;
}

.lightbox-close:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: rotate(90deg);
}

body.lightbox-active {
    overflow: hidden;
}


@media (max-width: 1000px) {
    .project-gallery-grid,
    .small-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 230px;
    }

    .gallery-section-heading {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 600px) {
    .project-gallery-grid,
    .small-gallery {
        grid-template-columns: 1fr;
        grid-auto-rows: 260px;
    }

    .project-gallery-item.wide,
    .project-gallery-item.tall {
        grid-column: auto;
        grid-row: auto;
    }

    .lightbox {
        padding: 1rem;
    }

    .lightbox-close {
        top: 1rem;
        right: 1rem;
    }
}

/* ---------- Contact Page ---------- */
.contact-section {
    background-color: var(--dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: start;
}

.contact-content p {
    margin-top: 1rem;
    max-width: 680px;
}

.contact-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.contact-card {
    background-color: rgba(245, 239, 230, 0.045);
    border: 1px solid rgba(245, 239, 230, 0.09);
    border-radius: 1.3rem;
    padding: 2.4rem;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.contact-card h3 {
    margin-bottom: 1.6rem;
}

.contact-info-item {
    padding: 1.15rem 0;
    border-bottom: 1px solid rgba(245, 239, 230, 0.1);
}

.contact-info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-info-item span {
    display: block;
    color: var(--gold);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

.contact-info-item a {
    color: var(--cream);
    font-weight: 600;
    transition: color 0.25s ease;
}

.contact-info-item a:hover {
    color: var(--gold);
}

.contact-info-item p {
    margin: 0;
}

.project-prompt-section {
    background-color: var(--ivory);
    color: var(--text-dark);
}

.project-prompt-section p {
    color: rgba(42, 33, 27, 0.74);
}

.prompt-card {
    background-color: var(--white);
    color: var(--text-dark);
    padding: 2.3rem;
    border-radius: 1.2rem;
    box-shadow: 0 20px 50px rgba(31, 27, 23, 0.08);
    border: 1px solid rgba(42, 33, 27, 0.08);
}

.prompt-card h3 {
    margin-bottom: 1rem;
}

.prompt-card p {
    color: rgba(42, 33, 27, 0.72);
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 600px) {
    .contact-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ---------- Premium Reveal Animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.card-grid .reveal:nth-child(2),
.services-grid .reveal:nth-child(2),
.process-grid .reveal:nth-child(2),
.project-gallery-grid .reveal:nth-child(2) {
    transition-delay: 0.08s;
}

.card-grid .reveal:nth-child(3),
.services-grid .reveal:nth-child(3),
.process-grid .reveal:nth-child(3),
.project-gallery-grid .reveal:nth-child(3) {
    transition-delay: 0.16s;
}

.card-grid .reveal:nth-child(4),
.services-grid .reveal:nth-child(4),
.process-grid .reveal:nth-child(4),
.project-gallery-grid .reveal:nth-child(4) {
    transition-delay: 0.24s;
}

.feature-image,
.project-gallery-item,
.gallery-preview-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-image:hover,
.project-gallery-item:hover,
.gallery-preview-item:hover {
    transform: translateY(-4px);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

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