/* ═══════════════════════════════════════════════════════
   FDZ Designs — Custom Stylesheet
   Overrides Pico CSS with project design tokens
   ═══════════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ─── */
:root {
    /* Core Palette */
    --teal: #6B9DA1;
    --teal-light: #8FB8BB;
    --teal-subtle: #C1D8DA;
    --teal-wash: #E8F1F2;

    --charcoal: #1E2B2E;
    --charcoal-deep: #162023;
    --slate: #3A4D51;
    --stone: #5C6E72;

    --cream: #F5F3F0;
    --warm-white: #FAFAF8;
    --pure-white: #FFFFFF;

    --divider: #D9D5D0;
    --divider-light: #ECEAE7;

    /* Semantic Tokens */
    --bg-page: var(--warm-white);
    --bg-card: var(--pure-white);
    --bg-dark: var(--charcoal-deep);

    --text-primary: var(--charcoal);
    --text-secondary: var(--stone);
    --text-accent: var(--teal);
    --text-on-dark: var(--cream);

    --border: var(--divider);
    --border-light: var(--divider-light);

    /* Typography */
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;
    --font-mono: 'Spline Sans Mono', 'Courier New', monospace;
}


/* ─── PICO CSS OVERRIDES ─── */
:root {
    --pico-font-family: var(--font-body);
    --pico-font-size: 16px;
    --pico-line-height: 1.6;
    --pico-color: var(--text-primary);
    --pico-background-color: var(--bg-page);
    --pico-primary: var(--teal);
    --pico-primary-hover: var(--slate);
    --pico-border-radius: 6px;
    --pico-card-background-color: var(--bg-card);
    --pico-card-border-color: var(--border-light);
    --pico-muted-color: var(--text-secondary);
    --pico-muted-border-color: var(--border);
    --pico-form-element-border-color: var(--border);
    --pico-form-element-focus-color: var(--teal);
}


/* ─── GLOBAL RESETS ─── */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* Fixed site header lives at ~64px tall; pad anchored scrolls so the
       top of the target section isn't hidden behind it. */
    scroll-padding-top: 64px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bg-page);
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0;
}

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

a {
    color: var(--teal);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--slate);
}


/* ─── SECTION LABEL (mono uppercase accent) ─── */
.section-label {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-accent);
    display: block;
    margin-bottom: 10px;
}


/* ─── BUTTONS ─── */
.btn-primary {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 14px 32px;
    background: var(--teal);
    color: var(--pure-white);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.15s ease;
    display: inline-block;
    text-align: center;
    line-height: 1;
}

.btn-primary:hover {
    background: var(--slate);
    color: var(--pure-white);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 14px 32px;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.25s ease, color 0.25s ease;
    display: inline-block;
    text-align: center;
    line-height: 1;
}

.btn-outline:hover {
    border-color: var(--teal);
    color: var(--teal);
}


/* ─── FORM INPUTS ─── */
.input-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 8px;
    display: block;
}

.input-field {
    font-family: var(--font-body);
    font-size: 15px;
    padding: 14px 18px;
    border: 1px solid var(--divider);
    border-radius: 6px;
    width: 100%;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    color: var(--text-primary);
    background: var(--pure-white);
}

.input-field:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px var(--teal-wash);
}

.input-field::placeholder {
    color: var(--divider);
}


/* ─── DIVIDER ACCENT ─── */
.divider-accent {
    width: 48px;
    height: 3px;
    background: var(--teal);
    margin-bottom: 32px;
    border-radius: 2px;
}


/* ═══════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding: 120px 40px 60px;
    overflow: hidden;
}

.hero__inner {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero__content {
    position: relative;
    z-index: 2;
}

.hero__subtitle {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--teal);
    display: block;
    margin-bottom: 24px;
}

.hero__title {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(48px, 7vw, 84px);
    line-height: 1.0;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.hero__tagline {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 420px;
    margin-bottom: 40px;
}

.hero__cta {
    text-decoration: none;
}

/* Hero Image */
.hero__image-wrap {
    position: relative;
    z-index: 1;
}

.hero__image-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    box-shadow: 0 32px 64px rgba(22, 32, 35, 0.12);
}

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hero__image-frame:hover .hero__image {
    transform: scale(1.03);
}

.hero__image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--teal-subtle);
    border-radius: 16px;
    z-index: -1;
    pointer-events: none;
}

/* Scroll hint */
.hero__scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--stone);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero__scroll-dot {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
        opacity: 0.3;
    }
}


/* ═══════════════════════════════════════════════════════
   ABOUT SECTION
   ═══════════════════════════════════════════════════════ */
.about {
    padding: 120px 40px;
    background: var(--cream);
}

.about__inner {
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 60px;
    align-items: start;
}

.about__label-wrap {
    position: sticky;
    top: 120px;
}

.about__heading {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(28px, 3.5vw, 42px);
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 28px;
}

.about__heading em {
    font-style: italic;
    color: var(--teal);
}

.about__text {
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 16px;
    max-width: 560px;
}

.about__text:last-child {
    margin-bottom: 0;
}


/* ═══════════════════════════════════════════════════════
   SERVICES SECTION
   ═══════════════════════════════════════════════════════ */
.services {
    padding: 120px 40px;
    background: var(--bg-page);
}

.services__inner {
    max-width: 1120px;
    margin: 0 auto;
}

.services__header {
    text-align: center;
    margin-bottom: 64px;
}

.services__heading {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.1;
    color: var(--text-primary);
    margin: 12px 0 20px;
}

.services__header .divider-accent {
    margin: 0 auto;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 36px 28px;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.service-card:hover {
    border-color: var(--teal-subtle);
    transform: translateY(-2px);
}

.service-card__title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 22px;
    line-height: 1.25;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.service-card__body {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--text-secondary);
}


/* ═══════════════════════════════════════════════════════
   PROCESS SECTION
   ═══════════════════════════════════════════════════════ */
.process {
    padding: 120px 40px;
    background: var(--cream);
}

.process__inner {
    max-width: 1120px;
    margin: 0 auto;
}

.process__header {
    text-align: center;
    margin-bottom: 64px;
}

.process__heading {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.1;
    color: var(--text-primary);
    margin: 12px 0 20px;
}

.process__header .divider-accent {
    margin: 0 auto;
}

.process__steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px 32px;
    counter-reset: step;
}

.process-step {
    position: relative;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}

.process-step__number {
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    color: var(--teal);
    margin-bottom: 12px;
}

.process-step__title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 22px;
    line-height: 1.25;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.process-step__body {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--text-secondary);
}


/* ═══════════════════════════════════════════════════════
   TESTIMONIALS SECTION
   ═══════════════════════════════════════════════════════ */
.testimonials {
    padding: 120px 40px;
    background: var(--bg-page);
}

.testimonials__inner {
    max-width: 1120px;
    margin: 0 auto;
}

.testimonials__header {
    text-align: center;
    margin-bottom: 64px;
}

.testimonials__heading {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.1;
    color: var(--text-primary);
    margin: 12px 0 20px;
}

.testimonials__header .divider-accent {
    margin: 0 auto;
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 36px 32px;
    margin: 0;
}

.testimonial-card__quote {
    font-family: var(--font-display);
    font-weight: 300;
    font-style: italic;
    font-size: 19px;
    line-height: 1.55;
    color: var(--text-primary);
    margin: 0 0 24px;
}

.testimonial-card__attribution {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.testimonial-card__author {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal);
}

.testimonial-card__role {
    font-size: 12.5px;
    color: var(--text-secondary);
}


/* ═══════════════════════════════════════════════════════
   REQUEST ACCESS SECTION
   ═══════════════════════════════════════════════════════ */
.request {
    padding: 120px 40px;
    background: var(--bg-dark);
    color: var(--text-on-dark);
}

.request__inner {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}

.request__header {
    margin-bottom: 48px;
}

.request .section-label {
    color: var(--teal-light);
}

.request__heading {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.1;
    color: var(--cream);
    margin-bottom: 16px;
}

.request__description {
    font-size: 15px;
    line-height: 1.7;
    color: var(--stone);
    max-width: 440px;
    margin: 0 auto;
}

/* Request Form */
.request-form {
    text-align: left;
}

.request-form__error {
    text-align: left;
    font-size: 14px;
    line-height: 1.5;
    color: #f0b9b9;
    background: rgba(160, 32, 32, 0.18);
    border: 1px solid rgba(240, 185, 185, 0.35);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 24px;
}

.request-form__group {
    margin-bottom: 24px;
}

/* Progressive reveal: email group hidden until the name field is filled */
.request-form__group--email {
    max-height: 200px;
    transition: max-height 0.45s ease, opacity 0.45s ease, margin-bottom 0.45s ease;
}

.request-form__group--email.is-pending {
    max-height: 0;
    opacity: 0;
    margin-bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.request-form .input-label {
    color: var(--stone);
}

.request-form .input-field {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--slate);
    color: var(--cream);
    font-size: 15px;
}

.request-form .input-field::placeholder {
    color: var(--slate);
}

.request-form .input-field:focus {
    border-color: var(--teal-light);
    box-shadow: 0 0 0 3px rgba(107, 157, 161, 0.15);
    background: rgba(255, 255, 255, 0.08);
}

.request-form__captcha {
    margin-bottom: 28px;
    display: flex;
    justify-content: center;
}

.request-form__submit {
    width: 100%;
    padding: 16px 32px;
    font-size: 14px;
}


/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
.footer {
    padding: 40px 40px 36px;
}

.footer__divider {
    width: 48px;
    height: 2px;
    background: var(--teal);
    margin: 0 auto 32px;
    border-radius: 1px;
    opacity: 0.6;
}

.footer__inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__brand {
    display: flex;
    align-items: baseline;
    gap: 16px;
}

.footer__name {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal-light);
}

.footer__tagline {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 300;
    font-style: italic;
    letter-spacing: 0.02em;
    color: var(--slate);
}

.footer__meta {
    display: flex;
    align-items: baseline;
    gap: 16px;
}

.footer__build {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal);
    opacity: 0.7;
}

.footer__year {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--slate);
}


/* ═══════════════════════════════════════════════════════
   MESSAGE PAGES (confirmation, expired link, etc.)
   ═══════════════════════════════════════════════════════ */
.message-page {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
    background: var(--bg-page);
}

.message-page__inner {
    text-align: center;
    max-width: 480px;
}

.message-page__icon {
    color: var(--teal);
    margin-bottom: 32px;
}

.message-page__icon--expired {
    color: var(--stone);
}

.message-page__title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.message-page__text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.message-page__hint {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--stone);
    letter-spacing: 0.02em;
    margin-bottom: 40px;
}

.message-page__back {
    text-decoration: none;
    margin: 0 8px;
}


/* ═══════════════════════════════════════════════════════
   AOS OVERRIDES
   ═══════════════════════════════════════════════════════ */

/* Slightly softer AOS transitions */
[data-aos] {
    transition-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* Prevent layout shift from AOS hidden elements */
[data-aos="fade-up"] {
    transform: translate3d(0, 30px, 0);
}

[data-aos="fade-left"] {
    transform: translate3d(30px, 0, 0);
}


/* ═══════════════════════════════════════════════════════
   RESPONSIVE — Mobile First Adjustments
   ═══════════════════════════════════════════════════════ */

/* Tablet and below */
@media (max-width: 900px) {
    .hero {
        padding: 80px 24px 40px;
    }

    .hero__inner {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero__tagline {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__image-wrap {
        max-width: 400px;
        margin: 0 auto;
    }

    .hero__image-accent {
        top: -12px;
        right: -12px;
    }

    .about {
        padding: 80px 24px;
    }

    .about__inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about__label-wrap {
        position: static;
    }

    .request {
        padding: 80px 24px;
    }

    .footer {
        padding: 24px;
    }

    .message-page {
        padding: 60px 24px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .hero {
        padding: 60px 20px 32px;
        min-height: auto;
        min-height: 100svh;
    }

    .hero__title {
        font-size: clamp(36px, 10vw, 52px);
    }

    .hero__tagline {
        font-size: 15px;
    }

    .hero__image-frame {
        aspect-ratio: 4 / 5;
    }

    .hero__scroll-hint {
        display: none;
    }

    .about {
        padding: 60px 20px;
    }

    .about__heading {
        font-size: 28px;
    }

    .about__text {
        font-size: 15px;
    }

    .request {
        padding: 60px 20px;
    }

    .request__heading {
        font-size: 28px;
    }

    .footer__brand {
        flex-direction: column;
        gap: 4px;
        align-items: center;
    }

    .footer__inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .message-page__back {
        display: block;
        margin: 8px 0;
    }
}

/* Large screens — add more breathing room */
@media (min-width: 1400px) {
    .hero {
        padding: 140px 60px 80px;
    }

    .hero__inner {
        gap: 80px;
    }

    .about {
        padding: 160px 60px;
    }

    .request {
        padding: 160px 60px;
    }
}

/* ═══════════════════════════════════════════════════════
   SITE HEADER (sticky top nav)
   ═══════════════════════════════════════════════════════ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 40px;
    background: rgba(22, 32, 35, 0);
    border-bottom: 1px solid transparent;
    transition: background 0.3s ease, border-color 0.3s ease,
                color 0.3s ease, backdrop-filter 0.3s ease;
    color: var(--pure-white);
    pointer-events: auto;
}

.site-header.is-scrolled {
    background: rgba(22, 32, 35, 0.92);
    backdrop-filter: saturate(140%) blur(12px);
    -webkit-backdrop-filter: saturate(140%) blur(12px);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.site-header__brand {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 18px;
    letter-spacing: 0.02em;
    color: inherit;
    text-decoration: none;
}

.site-header__nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-header__link {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: inherit;
    text-decoration: none;
    opacity: 0.78;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.site-header__link:hover,
.site-header__link:focus-visible { opacity: 1; color: var(--teal-light); }

.site-header__toggle {
    display: none;
    background: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
    padding: 6px;
}

@media (max-width: 768px) {
    .site-header { padding: 12px 20px; }
    .site-header__nav {
        position: fixed;
        inset: 60px 0 auto 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 16px 24px 24px;
        background: rgba(22, 32, 35, 0.96);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        transform: translateY(-12px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease, transform 0.2s ease;
    }
    .site-header__nav.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .site-header__link {
        display: block;
        width: 100%;
        padding: 14px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
    .site-header__toggle { display: inline-flex; }
}

/* ═══════════════════════════════════════════════════════
   CAROUSEL SECTION (replaces hero)
   ═══════════════════════════════════════════════════════ */
.carousel {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
    background: var(--charcoal-deep);
    color: var(--pure-white);
}

.carousel__viewport {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.carousel__track {
    display: flex;
    height: 100%;
    width: max-content;
    animation: carousel-scroll 80s linear infinite;
    will-change: transform;
}

.carousel:hover .carousel__track,
.carousel:focus-within .carousel__track {
    animation-play-state: paused;
}

/* When JS enhances the carousel it drives the scroll via rAF (for dot tracking,
   click-to-navigate, and the play/pause control), so the CSS marquee is disabled. */
.carousel.is-enhanced .carousel__track {
    animation: none;
}

.carousel__slide {
    flex: 0 0 auto;
    height: 100%;
    aspect-ratio: 3 / 2;
    margin: 0;
}

.carousel__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
    -webkit-user-drag: none;
}

@keyframes carousel-scroll {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .carousel__track { animation: none; }
}

.carousel__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Vignette so any background image keeps text legible. */
    background:
        radial-gradient(ellipse at center, rgba(22, 32, 35, 0.25), rgba(22, 32, 35, 0.7) 70%),
        linear-gradient(180deg, rgba(22, 32, 35, 0.5) 0%, rgba(22, 32, 35, 0.2) 30%, rgba(22, 32, 35, 0.6) 100%);
    padding: 120px 24px 80px;
    text-align: center;
}

.carousel__content {
    max-width: 720px;
    color: var(--pure-white);
}

.carousel__subtitle {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--teal-light);
    display: block;
    margin-bottom: 20px;
}

.carousel__title {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(48px, 8vw, 96px);
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--pure-white);
    margin-bottom: 24px;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.carousel__tagline {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 auto 36px;
    max-width: 520px;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.carousel__cta { text-decoration: none; }

.carousel__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: var(--stone);
    background: var(--cream);
}

.carousel__scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    z-index: 1;
}

.carousel__scroll-dot {
    animation: scrollBounce 2s ease-in-out infinite;
}

/* ── Unified control bar: [play/pause] | dots — centered at the bottom ── */
.carousel__controls {
    position: absolute;
    bottom: 56px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    max-width: min(92vw, 560px);
}

.carousel__divider {
    flex: 0 0 auto;
    width: 1px;
    height: 22px;
    background: rgba(255, 255, 255, 0.28);
}

.carousel__playpause {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.2em;
    height: 1.2em;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    background: rgba(22, 32, 35, 0.45);
    color: var(--pure-white);
    opacity: 0.7; /* 70% opaque per design; full opacity on interaction */
    cursor: pointer;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    transition: opacity 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.carousel__playpause:hover,
.carousel__playpause:focus-visible {
    opacity: 1;
    background: rgba(22, 32, 35, 0.7);
    border-color: var(--teal-light);
}

.carousel__icon {
    display: block;
    width: 18px;
    height: 18px;
}

/* Default state is playing → show the pause glyph; .is-paused flips to the play glyph. */
.carousel__icon--play { display: none; }
.carousel.is-paused .carousel__icon--pause { display: none; }
.carousel.is-paused .carousel__icon--play { display: block; }

/* ── Dot navigation ── */
.carousel__nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0;
}

.carousel__dot {
    flex: 0 0 auto;
    display: block;
    width: 22px;
    height: 22px;
    padding: 0;
    margin: 0;
    border: 0;
    background: none;
    box-shadow: none;
    cursor: pointer;
    line-height: 0;
}

.carousel__pipgfx {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

/* Core: hollow circle by default, filled when this dot is active. */
.carousel__pip {
    fill: none;
    stroke: rgba(255, 255, 255, 0.55);
    stroke-width: 1.6;
    transition: fill 0.25s ease, stroke 0.25s ease;
}

.carousel__dot:hover .carousel__pip,
.carousel__dot:focus-visible .carousel__pip {
    stroke: rgba(255, 255, 255, 0.9);
}

.carousel__dot.is-active .carousel__pip {
    fill: var(--pure-white);
    stroke: none;
}

/* Progress ring: hidden unless active; JS sets stroke-dashoffset to "draw" it
   around the dot over the time the image stays in view. Starts at 12 o'clock. */
.carousel__ring {
    fill: none;
    stroke: var(--teal-light);
    stroke-width: 1.8;
    stroke-linecap: round;
    opacity: 0;
    transform: rotate(-90deg);
    transform-box: fill-box;
    transform-origin: center;
}

.carousel__dot.is-active .carousel__ring {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .carousel__pip { transition: none; }
}

/* ═══════════════════════════════════════════════════════
   FULL-VIEWPORT LANDING SECTIONS
   Each non-hero section fills the viewport so the header
   anchors land on whole "screens" while scrolling.
   ═══════════════════════════════════════════════════════ */
.about,
.services,
.process,
.testimonials,
.request {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Header pushes content down on anchored scrolls so the top
   of each section isn't hidden under the fixed bar. */
.about,
.services,
.process,
.testimonials,
.request,
.carousel {
    scroll-margin-top: 64px;
}