/* ================================================================
   GRACE SUTHERLAND PHOTOGRAPHY
   Modern Editorial Portfolio — Complete Stylesheet
   ================================================================ */

/* ---------- CSS CUSTOM PROPERTIES ---------- */
:root {
    --cream:        #f4f1ed;
    --warm:         #efebe5;
    --sand:         #d0c3b8;
    --brown:        #623e2a;
    --brown-mid:    #8b5e46;
    --dark:         #1c1008;
    --white:        #ffffff;
    --text:         #3a2a1f;
    --text-muted:   #7a6255;

    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --nav-h:        70px;
    --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out:  cubic-bezier(0.76, 0, 0.24, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--cream);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar */
html {
    scrollbar-width: thin;
    scrollbar-color: var(--sand) var(--cream);
}
::-webkit-scrollbar       { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb {
    background: var(--sand);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--brown-mid); }

img     { max-width: 100%; height: auto; display: block; }
ul      { list-style: none; }
a       { text-decoration: none; color: inherit; }
button  { cursor: pointer; border: none; background: none; font-family: inherit; }
input,
textarea { font-family: inherit; }


/* ================================================================
   PAGE LOADER
   ================================================================ */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
}

.loader-panel {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background: var(--cream);
    z-index: 1;
}
.loader-panel--left  { left: 0; }
.loader-panel--right { right: 0; }

.loader-center {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.loader-monogram {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 300;
    color: var(--brown);
    letter-spacing: 0.35em;
    line-height: 1;
    opacity: 0;
    transform: translateY(24px);
}

.loader-divider {
    width: 48px;
    height: 1px;
    background: var(--sand);
    transform: scaleX(0);
    opacity: 0;
    transform-origin: center;
}

.loader-name {
    font-family: var(--font-display);
    font-size: clamp(0.9rem, 2.5vw, 1.25rem);
    font-weight: 300;
    color: var(--brown);
    letter-spacing: 0.5em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(12px);
}

.loader-tag {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.55em;
    text-transform: uppercase;
    opacity: 0;
}


/* ================================================================
   NAVIGATION
   ================================================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-h);
    z-index: 1000;
    transition: background 0.45s var(--ease-out),
                backdrop-filter 0.45s var(--ease-out),
                box-shadow 0.45s;
}

.header.scrolled {
    background: rgba(244, 241, 237, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 rgba(98, 62, 42, 0.1);
}

.nav {
    height: 100%;
    max-width: 90%;
    margin: 0 auto;
    padding: 0 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--white);
    letter-spacing: 0.25em;
    transition: color 0.3s;
    z-index: 10;
    flex-shrink: 0;
}

.header.scrolled .nav-logo { color: var(--brown); }

.nav-list {
    display: flex;
    gap: 2.75rem;
}

.nav-link {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
    transition: color 0.3s;
    position: relative;
    padding-bottom: 3px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.35s var(--ease-out);
}

.nav-link:hover        { color: var(--white); }
.nav-link:hover::after { width: 100%; }

.header.scrolled .nav-link       { color: var(--text-muted); }
.header.scrolled .nav-link:hover { color: var(--brown); }

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px 4px;
    z-index: 10;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--white);
    transition: background 0.3s, transform 0.35s var(--ease-out), opacity 0.3s;
}

.header.scrolled .nav-toggle span { background: var(--brown); }

.nav-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu overlay */
@media (max-width: 768px) {
    .nav { max-width: 100%; }
    .nav-toggle { display: flex; }

    .nav-menu {
        position: fixed;
        inset: 0;
        background: var(--cream);
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateX(100%);
        transition: transform 0.55s var(--ease-in-out);
        z-index: 5;
    }

    .nav-menu.open { transform: translateX(0); }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
    }

    .nav-link {
        font-family: var(--font-display);
        font-size: 2.25rem;
        font-weight: 300;
        letter-spacing: 0.08em;
        text-transform: none;
        color: var(--brown) !important;
    }

    .nav-link:hover::after,
    .nav-link::after { background: var(--brown); }

    .nav { padding: 0 1.5rem; }
}


/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: all 0.35s var(--ease-out);
    position: relative;
    white-space: nowrap;
}

.btn--primary {
    background: var(--brown);
    color: var(--white);
    border: 1px solid var(--brown);
}
.btn--primary:hover {
    background: var(--dark);
    border-color: var(--dark);
}

.btn--outline-white {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.55);
}
.btn--outline-white:hover {
    background: var(--white);
    color: var(--brown);
    border-color: var(--white);
}

.btn--text-white {
    background: transparent;
    color: rgba(255, 255, 255, 0.75);
    border: 1px solid transparent;
    padding-left: 0;
    padding-right: 0;
}
.btn--text-white:hover { color: var(--white); }
.btn--text-white i     { transition: transform 0.3s var(--ease-out); }
.btn--text-white:hover i { transform: translateX(5px); }

.btn--sm {
    padding: 0.6rem 1.25rem;
    font-size: 0.65rem;
}

.btn--full { width: 100%; justify-content: center; }


/* ================================================================
   SHARED TYPOGRAPHY
   ================================================================ */
.section-eyebrow {
    display: block;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.875rem;
}

.section-eyebrow--light { color: rgba(255, 255, 255, 0.5); }

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.75rem);
    font-weight: 300;
    line-height: 1.05;
    color: var(--brown);
    letter-spacing: -0.01em;
}


/* ================================================================
   HERO SECTION
   ================================================================ */
.hero {
    position: relative;
    height: 100svh;
    min-height: 580px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(28, 16, 8, 0.38) 0%,
        rgba(28, 16, 8, 0.12) 45%,
        rgba(28, 16, 8, 0.62) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    padding: 0 1.5rem;
    max-width: 960px;
}

.hero-eyebrow {
    display: block;
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.45em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 1.75rem;
    opacity: 0;
    transform: translateY(16px);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(4rem, 12vw, 10rem);
    font-weight: 300;
    line-height: 0.9;
    letter-spacing: -0.025em;
    margin-bottom: 1.25rem;
    color: var(--white);
}

.hero-title__line {
    display: block;
    overflow: hidden;
}

.hero-title__line--italic { font-style: italic; }

/* Characters are added via JS; each starts invisible */
.hero-title .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(110%);
}

.hero-descriptor {
    font-family: var(--font-display);
    font-size: clamp(0.9rem, 2vw, 1.375rem);
    font-weight: 300;
    letter-spacing: 0.55em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(16px);
}

.hero-actions {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(16px);
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.625rem;
    color: rgba(255, 255, 255, 0.45);
    z-index: 1;
    opacity: 0;
}

.hero-scroll span {
    font-size: 0.6rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
}

.hero-scroll__track {
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.18);
    position: relative;
    overflow: hidden;
}

.hero-scroll__thumb {
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.55);
    animation: scrollThumb 2.2s var(--ease-in-out) infinite;
}

@keyframes scrollThumb {
    0%   { top: -100%; }
    100% { top:  100%; }
}


/* ================================================================
   MARQUEE STRIP
   ================================================================ */
.marquee-strip {
    background: var(--brown);
    overflow: hidden;
    padding: 0.85rem 0;
    white-space: nowrap;
    user-select: none;
}

.marquee-track {
    display: inline-flex;
    animation: marqueeScroll 22s linear infinite;
}

.marquee-track span {
    font-size: 0.65rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
    padding: 0 1.75rem;
}

.marquee-track .dot {
    color: rgba(255, 255, 255, 0.3);
    padding: 0;
    letter-spacing: 0;
}

@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.marquee-track:hover {
    animation-play-state: paused;
}


/* ================================================================
   ABOUT SECTION
   ================================================================ */
.about {
    background: var(--cream);
    padding: clamp(5rem, 10vw, 9rem) 0;
    overflow: hidden;
}

.about-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 7rem);
    align-items: center;
}

/* Image side */
.about-media {
    position: relative;
}

.about-img-frame {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    aspect-ratio: 3 / 4;
    max-height: 72vh;
    box-shadow: 0 24px 64px rgba(28, 16, 8, 0.14);
}

.about-img-frame .about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    will-change: transform;
    transition: transform 0.7s var(--ease-out);
}

.about-img-frame:hover .about-img { transform: scale(1.04); }

.about-img-accent {
    position: absolute;
    top: -1.75rem;
    left: -1.75rem;
    width: 55%;
    height: 55%;
    border: 1px solid var(--sand);
    border-radius: 2px;
    z-index: -1;
    pointer-events: none;
}

/* Text side */
.about-content { padding: 1.5rem 0; }

.about-title { margin-bottom: 2rem; }

.about-text {
    display: flex;
    flex-direction: column;
    gap: 1.125rem;
    margin-bottom: 2.75rem;
}

.about-text p {
    font-size: 0.975rem;
    line-height: 1.85;
    color: var(--text-muted);
    font-weight: 300;
}

@media (max-width: 960px) {
    .about-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 2rem;
    }
    .about-img-frame { max-height: 60vw; min-height: 320px; }
    .about-img-accent { display: none; }
}

@media (max-width: 480px) {
    .about-inner { padding: 0 1.25rem; }
}


/* ================================================================
   SERVICES SECTION
   ================================================================ */
.services {
    background: var(--warm);
    padding: clamp(5rem, 10vw, 9rem) 0;
}

.services-header {
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.services-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: var(--cream);
    border-radius: 3px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.45s var(--ease-out),
                box-shadow 0.45s var(--ease-out);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 28px 70px rgba(98, 62, 42, 0.16);
}

.service-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
}

.service-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s var(--ease-out);
}

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

.service-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(28, 16, 8, 0.45) 0%, transparent 55%);
    opacity: 0;
    transition: opacity 0.45s;
}

.service-card:hover .service-card__overlay { opacity: 1; }

.service-card__body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    flex: 1;
}

.service-card__title {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--brown);
    letter-spacing: 0.01em;
}

.service-card__details { flex: 1; }

.service-card__details li {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.75;
    padding-left: 1rem;
    position: relative;
}

.service-card__details li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--sand);
    font-size: 0.65rem;
    line-height: 1.75;
}

.service-card__price {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 300;
    color: var(--brown);
    letter-spacing: -0.02em;
}

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

@media (max-width: 580px) {
    .services-grid { grid-template-columns: 1fr; padding: 0 1.25rem; }
}


/* ================================================================
   PORTFOLIO SECTION
   ================================================================ */
.portfolio {
    background: var(--cream);
    padding: clamp(5rem, 10vw, 9rem) 0;
}

.portfolio-header {
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.portfolio-grid {
    max-width: 85%;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 360px;
    grid-auto-flow: row dense;   /* pack gaps automatically */
    gap: 1rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 2px;
}

/* Wide + tall: 2 columns × 2 rows = 4× area, visually dominant */
.portfolio-item--lg {
    grid-column: span 2;
    grid-row: span 2;
}
.portfolio-item--tall { grid-row:    span 2; }

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.65s var(--ease-out);
    pointer-events: none;
}

.portfolio-item:hover img { transform: scale(1.06); }

/* Wide items show more of the top so portrait subjects aren't head-cropped */
.portfolio-item--lg img {
    object-position: center 18%;
}

.portfolio-item__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(28, 16, 8, 0.78) 0%,
        rgba(28, 16, 8, 0.08) 55%,
        transparent 100%
    );
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 1.75rem;
    gap: 0.875rem;
    opacity: 0;
    transition: opacity 0.4s var(--ease-out);
}

.portfolio-item:hover .portfolio-item__overlay { opacity: 1; }

.portfolio-item__name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--white);
    letter-spacing: 0.04em;
    text-align: center;
}

.portfolio-item__btn {
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.45);
    padding: 0.5rem 1.375rem;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
}

.portfolio-item__btn:hover {
    background: var(--white);
    color: var(--brown);
    border-color: var(--white);
}

/* Portfolio Lightbox */
.portfolio-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
}

.portfolio-modal.open {
    opacity: 1;
    pointer-events: all;
}

.portfolio-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 10, 4, 0.97);
    cursor: pointer;
}

.portfolio-modal__inner {
    position: relative;
    z-index: 1;
    width: 90vw;
    max-width: 1400px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.portfolio-modal__close {
    position: absolute;
    top: -3.25rem;
    right: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 2.625rem;
    cursor: pointer;
    transition: color 0.3s, transform 0.3s;
    line-height: 1;
}

.portfolio-modal__close:hover {
    color: var(--white);
    transform: rotate(90deg);
}

.portfolio-modal__title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 5vw, 3.25rem);
    font-weight: 300;
    color: var(--white);
    text-align: center;
    letter-spacing: 0.06em;
    font-style: italic;
}

.portfolio-modal__swiper { width: 100%; }

.portfolio-modal__swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 72vh;
}

.portfolio-modal__swiper .swiper-slide img {
    max-height: 72vh;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 2px;
}

.portfolio-modal__swiper .swiper-button-prev,
.portfolio-modal__swiper .swiper-button-next {
    color: rgba(255, 255, 255, 0.65);
    transition: color 0.3s;
}
.portfolio-modal__swiper .swiper-button-prev:hover,
.portfolio-modal__swiper .swiper-button-next:hover { color: var(--white); }

.portfolio-modal__swiper .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.35);
}
.portfolio-modal__swiper .swiper-pagination-bullet-active {
    background: var(--white);
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 270px;
        max-width: 100%;
    }
    .portfolio-item--tall { grid-row: span 1; }
}

@media (max-width: 480px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 260px;
        padding: 0 1.25rem;
    }
    .portfolio-item--lg,
    .portfolio-item--tall {
        grid-column: span 1;
        grid-row: span 1;
    }
}


/* ================================================================
   REVIEWS SECTION
   ================================================================ */
.reviews {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.reviews-bg {
    position: absolute;
    inset: 0;
}

.reviews-bg-img {
    position: absolute;
    left: 0;
    top: -15%;              /* start 15% above container for upward buffer */
    width: 100%;
    height: 130%;           /* 30% taller — always covers frame at both ends of travel */
    object-fit: cover;
    object-position: center;
    will-change: transform;
}

.reviews-overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 10, 4, 0.82);
}

.reviews-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 6rem 2rem;
    max-width: 760px;
    width: 100%;
}

.reviews-title {
    color: var(--white);
    margin-bottom: 4rem;
}

/* Carousel */
.reviews-carousel {
    position: relative;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-item {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.375rem;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
    pointer-events: none;
}

.review-item.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    position: relative;
}

.review-quote-icon {
    color: rgba(255, 255, 255, 0.22);
    font-size: 2.75rem;
    line-height: 1;
}

.review-body {
    font-family: var(--font-display);
    font-size: clamp(1.05rem, 2.5vw, 1.5rem);
    font-weight: 300;
    font-style: italic;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.75;
    max-width: 580px;
}

.review-author {
    font-size: 0.68rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.42);
}

.reviews-dots {
    display: flex;
    gap: 0.625rem;
    justify-content: center;
    margin-top: 2.75rem;
}

.reviews-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.28);
    cursor: pointer;
    transition: all 0.4s var(--ease-out);
    padding: 0;
    border: none;
}

.reviews-dot.active {
    background: var(--white);
    width: 22px;
    border-radius: 3px;
}

@media (max-width: 600px) {
    .reviews-inner { padding: 4rem 1.5rem; }
    .reviews-carousel { min-height: 260px; }
}


/* ================================================================
   CONTACT SECTION
   ================================================================ */
.contact {
    background: var(--dark);
    padding: clamp(5rem, 10vw, 9rem) 0;
}

.contact-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 7rem);
    align-items: start;
}

.contact .section-eyebrow { color: rgba(244, 241, 237, 0.35); }

.contact-title { color: var(--cream); }

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin: 2.25rem 0;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.88rem;
    color: rgba(244, 241, 237, 0.52);
}

.contact-info li i {
    font-size: 1rem;
    color: var(--sand);
    flex-shrink: 0;
}

.contact-info a {
    color: rgba(244, 241, 237, 0.52);
    transition: color 0.3s;
}
.contact-info a:hover { color: var(--cream); }

.contact-socials {
    display: flex;
    gap: 0.875rem;
    margin-top: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(244, 241, 237, 0.15);
    border-radius: 50%;
    color: rgba(244, 241, 237, 0.5);
    font-size: 0.95rem;
    transition: all 0.35s var(--ease-out);
}

.social-link:hover {
    border-color: var(--sand);
    color: var(--cream);
    background: rgba(244, 241, 237, 0.06);
}

/* Contact form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.125rem;
}

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

.form-field { position: relative; }

.form-input {
    width: 100%;
    background: rgba(244, 241, 237, 0.04);
    border: 1px solid rgba(244, 241, 237, 0.12);
    border-radius: 2px;
    padding: 1.5rem 1rem 0.6rem;
    color: var(--cream);
    font-size: 0.875rem;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.3s, background 0.3s;
    -webkit-appearance: none;
}

.form-input:focus {
    border-color: rgba(244, 241, 237, 0.35);
    background: rgba(244, 241, 237, 0.07);
}

/* Select — override all browser-native chrome */
select.form-input {
    background-color: rgba(244, 241, 237, 0.04);
    color: var(--cream);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    /* custom chevron */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(244,241,237,0.35)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

select.form-input:focus {
    border-color: rgba(244, 241, 237, 0.35);
    background-color: rgba(244, 241, 237, 0.07);
}

/* Style the dropdown list itself */
select.form-input option {
    background: #2a1a0e;
    color: var(--cream);
}

select.form-input option:disabled {
    color: rgba(244, 241, 237, 0.3);
}

/* Float the label when a valid option is chosen (select has no :placeholder-shown) */
select.form-input:focus         ~ .form-label,
select.form-input:valid         ~ .form-label {
    top: 0.4rem;
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    color: var(--sand);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    padding-top: 1.75rem;
}

.form-label {
    position: absolute;
    left: 1rem;
    top: 1.05rem;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    color: rgba(244, 241, 237, 0.38);
    pointer-events: none;
    transition: all 0.3s var(--ease-out);
}

.form-field:has(.form-textarea) .form-label { top: 1.1rem; }

.form-input:focus       ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
    top: 0.45rem;
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    color: var(--sand);
}

.contact .btn--primary {
    background: var(--brown);
    border-color: var(--brown);
    margin-top: 0.375rem;
}
.contact .btn--primary:hover {
    background: var(--brown-mid);
    border-color: var(--brown-mid);
}

@media (max-width: 900px) {
    .contact-inner {
        grid-template-columns: 1fr;
        gap: 4rem;
        padding: 0 1.5rem;
    }
    .form-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .form-row { grid-template-columns: 1fr; }
    .contact-inner { padding: 0 1.25rem; }
}


/* ================================================================
   FOOTER
   ================================================================ */
.footer {
    background: var(--dark);
    border-top: 1px solid rgba(244, 241, 237, 0.06);
    padding: 2rem 0;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(244, 241, 237, 0.4);
    letter-spacing: 0.25em;
}

.footer-copy {
    font-size: 0.65rem;
    color: rgba(244, 241, 237, 0.25);
    letter-spacing: 0.06em;
    text-align: center;
}

.footer-links {
    display: flex;
    gap: 1.75rem;
}

.footer-links a {
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(244, 241, 237, 0.35);
    transition: color 0.3s;
}

.footer-links a:hover { color: rgba(244, 241, 237, 0.75); }

@media (max-width: 600px) {
    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}


/* ================================================================
   SCROLL TO TOP BUTTON
   ================================================================ */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 42px;
    height: 42px;
    background: var(--brown);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.35s, transform 0.35s var(--ease-out), background 0.3s;
    z-index: 500;
    cursor: pointer;
    pointer-events: none;
    box-shadow: 0 4px 20px rgba(98, 62, 42, 0.35);
}

.scroll-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.scroll-top:hover { background: var(--dark); }
