/* ============================================
   Maison Noir — Luxury Hair Atelier
   ============================================ */

:root {
    --black: #0a0a0a;
    --charcoal: #141414;
    --charcoal-2: #1c1c1c;
    --graphite: #2a2a2a;
    --gold: #c9a25f;
    --gold-light: #e2c894;
    --gold-deep: #a17e42;
    --cream: #f4efe7;
    --white: #ffffff;
    --neutral: #8c857b;
    --neutral-light: #b8b0a4;
    --line: rgba(201, 162, 95, 0.22);

    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --gutter: clamp(1.25rem, 5vw, 6rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

section[id], footer[id] { scroll-margin-top: 5rem; }

body {
    font-family: var(--sans);
    background: var(--black);
    color: var(--cream);
    line-height: 1.6;
    font-weight: 300;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

::selection { background: var(--gold); color: var(--black); }

/* ---------- Typography helpers ---------- */
.section__eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.42em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
    margin-bottom: 1.25rem;
}
.section__eyebrow--light { color: var(--gold-light); }

.section__title {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: var(--cream);
}
.section__title--light { color: var(--white); }

.section__sub {
    max-width: 42ch;
    margin-top: 1.5rem;
    color: var(--neutral-light);
    font-size: 1.02rem;
}

.section__head {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: clamp(2.5rem, 6vw, 5rem);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-family: var(--sans);
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 500;
    padding: 1.1rem 2.4rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.45s var(--ease);
    position: relative;
    overflow: hidden;
}
.btn--gold {
    background: linear-gradient(120deg, var(--gold-deep), var(--gold), var(--gold-light));
    color: var(--black);
    background-size: 200% 100%;
}
.btn--gold:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 14px 34px rgba(201,162,95,0.28); }
.btn--ghost {
    border-color: rgba(244,239,231,0.4);
    color: var(--cream);
    background: transparent;
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-light); background: rgba(201,162,95,0.06); }
.btn--sm { padding: 0.85rem 1.6rem; font-size: 0.72rem; }

.link-arrow {
    display: inline-block;
    margin-top: 2rem;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    border-bottom: 1px solid var(--line);
    padding-bottom: 0.4rem;
    transition: all 0.4s var(--ease);
}
.link-arrow:hover { color: var(--gold-light); border-color: var(--gold); letter-spacing: 0.26em; }

/* ---------- Preloader ---------- */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.8s var(--ease), visibility 0.8s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__mark {
    font-family: var(--serif);
    font-size: clamp(3rem, 10vw, 6rem);
    letter-spacing: 0.1em;
    color: var(--cream);
    opacity: 0;
    animation: markIn 1.4s var(--ease) forwards;
}
.preloader__mark span { color: var(--gold); }
@keyframes markIn {
    0% { opacity: 0; letter-spacing: 0.5em; filter: blur(8px); }
    100% { opacity: 1; letter-spacing: 0.1em; filter: blur(0); }
}

/* ---------- Navigation ---------- */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    transition: background 0.5s var(--ease), padding 0.5s var(--ease), box-shadow 0.5s var(--ease);
    padding: 1.6rem 0;
}
.nav.is-scrolled {
    background: rgba(10,10,10,0.82);
    backdrop-filter: blur(14px);
    padding: 0.9rem 0;
    box-shadow: 0 1px 0 var(--line);
}
.nav__inner {
    width: 100%;
    padding: 0 var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.nav__logo {
    font-family: var(--serif);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: var(--cream);
}
.nav__logo span { color: var(--gold); }
.nav__links {
    display: flex;
    gap: 2.4rem;
    margin-left: auto;
}
.nav__links a {
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--neutral-light);
    position: relative;
    padding: 0.3rem 0;
    transition: color 0.4s var(--ease);
}
.nav__links a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 1px;
    background: var(--gold);
    transition: width 0.4s var(--ease);
}
.nav__links a:hover { color: var(--cream); }
.nav__links a:hover::after { width: 100%; }

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1100;
}
.nav__toggle span {
    width: 26px; height: 2px;
    background: var(--cream);
    transition: all 0.4s var(--ease);
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6rem var(--gutter) 8.5rem;
    overflow: hidden;
}
.hero__media {
    position: absolute;
    inset: 0;
    background: url('images/owner-01.jpg') center/cover no-repeat;
    transform: scale(1.1);
    animation: heroZoom 12s var(--ease) forwards;
    z-index: 0;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.55) 45%, rgba(10,10,10,0.25) 100%),
        linear-gradient(to top, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0) 40%);
    z-index: 1;
}
.hero__content {
    position: relative;
    z-index: 2;
    max-width: 780px;
}
.hero__eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 1.8rem;
}
.hero__title {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(2.8rem, 8vw, 6.2rem);
    line-height: 1.02;
    letter-spacing: -0.015em;
    color: var(--white);
    margin-bottom: 1.8rem;
}
.hero__title em {
    font-style: italic;
    font-weight: 400;
    background: linear-gradient(120deg, var(--gold-light), var(--gold), var(--gold-deep));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero__lede {
    max-width: 50ch;
    font-size: 1.1rem;
    color: var(--neutral-light);
    margin-bottom: 2.8rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero__scroll {
    position: absolute;
    bottom: 2.4rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    font-size: 0.68rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--neutral-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
}
.hero__scroll-line {
    width: 1px; height: 46px;
    background: linear-gradient(var(--gold), transparent);
    animation: scrollPulse 2s var(--ease) infinite;
}
@keyframes scrollPulse {
    0%,100% { transform: scaleY(1); opacity: 1; transform-origin: top; }
    50% { transform: scaleY(0.4); opacity: 0.4; transform-origin: top; }
}

/* ---------- Marquee ---------- */
.marquee {
    background: var(--charcoal);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    padding: 1.3rem 0;
}
.marquee__track {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    white-space: nowrap;
    width: max-content;
    animation: scrollX 32s linear infinite;
}
.marquee__track span {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.5rem;
    color: var(--neutral-light);
}
.marquee__track .dot { color: var(--gold); font-style: normal; font-size: 0.9rem; }
@keyframes scrollX { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about { padding: clamp(4rem, 12vw, 9rem) var(--gutter); }
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 6vw, 6rem);
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
}
.about__images { position: relative; min-height: 560px; }
.about__img {
    position: absolute;
    object-fit: cover;
    background-size: cover;
    background-position: center;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}
.about__img--main {
    width: 74%; height: 78%;
    top: 0; left: 0;
    background-image: url('images/owner-02.jpg');
}
.about__img--accent {
    width: 52%; height: 52%;
    bottom: 0; right: 0;
    border: 6px solid var(--black);
    background-image: url('images/owner-03.jpg');
}
.about__badge {
    position: absolute;
    top: 8%; right: 2%;
    background: var(--gold);
    color: var(--black);
    width: 130px; height: 130px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 18px 40px rgba(201,162,95,0.35);
    z-index: 2;
}
.about__badge-num { font-family: var(--serif); font-size: 2.6rem; font-weight: 600; line-height: 1; }
.about__badge-txt { font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; margin-top: 0.3rem; font-weight: 500; }

.about__lede {
    font-family: var(--serif);
    font-size: 1.5rem;
    line-height: 1.5;
    color: var(--cream);
    margin: 1.8rem 0 1.4rem;
    font-weight: 400;
}
.about__body { color: var(--neutral-light); font-size: 1rem; }
.about__pillars {
    display: grid;
    gap: 1.4rem;
    margin-top: 2.4rem;
    border-top: 1px solid var(--line);
    padding-top: 2.4rem;
}
.about__pillars li {
    display: grid;
    grid-template-columns: 130px 1fr;
    align-items: baseline;
    color: var(--neutral-light);
    font-size: 0.95rem;
}
.about__pillars strong {
    font-family: var(--serif);
    font-size: 1.2rem;
    color: var(--gold);
    font-weight: 500;
}

/* ---------- Services ---------- */
.services {
    padding: clamp(4rem, 12vw, 9rem) var(--gutter);
    background: var(--charcoal);
    border-top: 1px solid var(--line);
}
.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 1.5rem;
    max-width: 1300px;
    margin: 0 auto;
}
.service-card {
    background: var(--charcoal-2);
    border: 1px solid rgba(255,255,255,0.06);
    padding: 2.6rem 2.2rem;
    position: relative;
    transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), background 0.5s var(--ease);
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, var(--gold-deep), var(--gold-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease);
}
.service-card:hover { transform: translateY(-6px); border-color: var(--line); background: #202020; }
.service-card:hover::before { transform: scaleX(1); }
.service-card--feature {
    background: linear-gradient(160deg, #232016, var(--charcoal-2));
    border-color: var(--line);
    padding-top: 4.8rem;
}
.service-card__tag {
    position: absolute;
    top: 1.4rem; right: 1.4rem;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-light);
    border: 1px solid var(--line);
    padding: 0.35rem 0.7rem;
}
.service-card__top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1.1rem;
    padding-bottom: 1.1rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.service-card__top h3 {
    font-family: var(--serif);
    font-size: 1.7rem;
    font-weight: 500;
    color: var(--cream);
    min-width: 0;
    overflow-wrap: anywhere;
}
.service-card__price {
    font-family: var(--serif);
    font-size: 1.5rem;
    color: var(--gold);
    white-space: nowrap;
}
.service-card p { color: var(--neutral-light); font-size: 0.95rem; }
.service-card__meta {
    display: inline-block;
    margin-top: 1.4rem;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--neutral);
}
.services__note {
    text-align: center;
    margin-top: 3rem;
    color: var(--neutral);
    font-size: 0.9rem;
    font-style: italic;
    font-family: var(--serif);
}

/* ---------- Team ---------- */
.team { padding: clamp(4rem, 12vw, 9rem) var(--gutter); }
.team__grid {
    display: grid;
    grid-template-columns: minmax(0, 780px);
    justify-content: center;
    gap: 1.8rem;
    max-width: 100%;
    margin: 0 auto;
}
.member {
    display: grid;
    grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
    align-items: center;
    gap: clamp(1.5rem, 4vw, 3rem);
    max-width: 780px;
    margin: 0 auto;
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid var(--line);
    background: linear-gradient(135deg, #292219, #1c1c1c 68%);
}
.member__photo {
    display: block;
    width: 100%;
    max-width: 190px;
    height: auto;
    object-fit: contain;
    object-position: center;
    border: 1px solid rgba(226,200,148,0.4);
    box-shadow: 0 14px 32px rgba(201,162,95,0.18);
    filter: saturate(1.08) contrast(1.06);
    transition: filter 0.45s var(--ease), transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.member:hover .member__photo {
    filter: saturate(1.12) contrast(1.1);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 22px 50px rgba(201,162,95,0.28);
}
.member__info { padding: 1.6rem 0.2rem 0; }
.member__info h3 {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--cream);
}
.member__role {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0.5rem 0 0.9rem;
}
.member__info p { color: var(--neutral-light); font-size: 0.92rem; }
.member__link {
    display: inline-block;
    margin-top: 0.9rem;
    color: var(--gold-light);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
}
.member__link:hover { color: var(--cream); }

/* ---------- Gallery ---------- */
.gallery {
    padding: clamp(4rem, 12vw, 9rem) var(--gutter);
    background: var(--charcoal);
    border-top: 1px solid var(--line);
}
.gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
    gap: 1rem;
    max-width: 1300px;
    margin: 0 auto;
}
.gallery__item {
    position: relative;
    overflow: hidden;
    filter: brightness(0.85);
    transition: filter 0.6s var(--ease), transform 0.8s var(--ease);
}
.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}
.gallery__item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,10,10,0.4), transparent);
    opacity: 0;
    transition: opacity 0.5s var(--ease);
}
.gallery__item:hover { filter: brightness(1.05); transform: scale(1.02); }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item:hover::after { opacity: 1; }
.gallery__credit {
    margin: 1.5rem auto 0;
    color: var(--neutral);
    font-size: 0.8rem;
    text-align: center;
}
.gallery__credit a {
    color: var(--gold-light);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

/* ---------- Testimonials ---------- */
.testimonials {
    padding: clamp(4rem, 12vw, 9rem) var(--gutter);
    background:
        linear-gradient(rgba(10,10,10,0.9), rgba(10,10,10,0.9)),
        url('https://images.unsplash.com/photo-1522337660859-02fbefca4702?auto=format&fit=crop&w=1600&q=80') center/cover fixed;
    text-align: center;
}
.testimonials__track {
    max-width: 860px;
    margin: 0 auto;
    position: relative;
    min-height: 220px;
}
.testimonial {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
    pointer-events: none;
}
.testimonial.is-active { opacity: 1; transform: translateY(0); position: relative; pointer-events: auto; }
.testimonial p {
    font-family: var(--serif);
    font-size: clamp(1.4rem, 3vw, 2.1rem);
    line-height: 1.5;
    font-style: italic;
    color: var(--cream);
    margin-bottom: 2rem;
}
.testimonial footer { display: flex; flex-direction: column; gap: 0.3rem; }
.testimonial__name {
    font-family: var(--sans);
    font-size: 0.85rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
}
.testimonial__role { font-size: 0.8rem; color: var(--neutral); letter-spacing: 0.1em; }
.testimonials__dots {
    display: flex;
    gap: 0.7rem;
    justify-content: center;
    margin-top: 3rem;
}
.testimonials__dots button {
    width: 9px; height: 9px;
    border-radius: 50%;
    border: 1px solid var(--gold);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.4s var(--ease);
}
.testimonials__dots button.is-active { background: var(--gold); transform: scale(1.3); }

/* ---------- Contact / Footer ---------- */
.contact {
    background: var(--black);
    padding: clamp(3.5rem, 8vw, 6rem) var(--gutter) 2rem;
    border-top: 1px solid var(--line);
}
.contact__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
    max-width: 1300px;
    margin: 0 auto;
    padding-bottom: 3.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.contact__logo {
    font-family: var(--serif);
    font-size: 1.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--cream);
    display: inline-block;
    margin-bottom: 1.2rem;
}
.contact__logo span { color: var(--gold); }
.contact__brand p { color: var(--neutral-light); font-size: 0.95rem; max-width: 34ch; }
.contact__col h4 {
    font-family: var(--serif);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--gold);
    margin-bottom: 1.1rem;
}
.contact__col p { color: var(--neutral-light); font-size: 0.95rem; line-height: 1.9; }
.contact__col a { transition: color 0.4s var(--ease); }
.contact__col a:hover { color: var(--gold-light); }
.contact__col .btn { margin-top: 1.4rem; }
.contact__bar {
    max-width: 1300px;
    margin: 0 auto;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.8rem;
}
.contact__bar p { font-size: 0.75rem; letter-spacing: 0.1em; color: var(--neutral); }

/* ---------- Reveal animation ---------- */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .nav.is-scrolled {
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    /* Keep blur off the menu's ancestor so fixed positioning uses the viewport. */
    .nav.is-scrolled::before {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(10,10,10,0.9);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        z-index: -1;
    }
    .nav__logo { position: relative; z-index: 1100; }
    .nav__links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        background: rgba(10,10,10,0.97);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: clamp(0.75rem, 4vh, 2.4rem);
        padding: calc(5rem + env(safe-area-inset-top, 0px)) var(--gutter) calc(2rem + env(safe-area-inset-bottom, 0px));
        overflow-y: auto;
        visibility: hidden;
        margin: 0;
        transform: translateX(100%);
        transition: transform 0.6s var(--ease), visibility 0.6s;
    }
    .nav__links.is-open { transform: translateX(0); visibility: visible; }
    .nav__links a { font-size: 1.1rem; padding: 0.6rem 0; flex-shrink: 0; }
    .nav__toggle { display: flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }

    .hero {
        min-height: 100svh;
        padding-top: calc(6rem + env(safe-area-inset-top, 0px));
        padding-bottom: calc(8.5rem + env(safe-area-inset-bottom, 0px));
    }
    .about__grid { grid-template-columns: 1fr; }
    .about__images { width: 100%; min-height: 0; aspect-ratio: 1 / 1.05; max-width: 480px; margin: 0 auto; }
    .contact__grid { grid-template-columns: 1fr 1fr; }
    .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
    .testimonials { background-attachment: scroll; }
}

@media (max-width: 560px) {
    .nav { padding: 1rem 0; }
    .nav__inner { gap: 1rem; }
    .nav__logo { font-size: 1.2rem; white-space: nowrap; }
    .hero__overlay {
        background: linear-gradient(to right, rgba(10,10,10,0.86), rgba(10,10,10,0.45)),
            linear-gradient(to top, rgba(10,10,10,0.9), transparent 60%);
    }
    .hero__eyebrow { font-size: 0.7rem; letter-spacing: 0.28em; margin-bottom: 1.25rem; }
    .hero__title { font-size: clamp(2.5rem, 11vw, 3.6rem); margin-bottom: 1.25rem; }
    .hero__lede { font-size: 1rem; margin-bottom: 2rem; }
    .hero__scroll { bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px)); gap: 0.5rem; }
    .hero__scroll-line { height: 30px; }
    .about__badge { width: 100px; height: 100px; right: 0; }
    .about__badge-num { font-size: 2rem; }
    .about__badge-txt { font-size: 0.55rem; }
    .service-card { padding: 1.75rem 1.25rem; }
    .service-card__top h3 { font-size: 1.5rem; }
    .service-card__tag { position: static; display: inline-block; margin-bottom: 1rem; }
    .contact__grid { grid-template-columns: 1fr; gap: 2rem; }
    .member { grid-template-columns: 1fr; gap: 0.5rem; }
    .member__photo { width: 170px; max-width: 100%; margin: 0 auto; }
    .member__info { text-align: center; }
    .about__pillars li { grid-template-columns: 100px 1fr; }
    .hero__actions { flex-direction: column; align-items: stretch; }
    .hero__actions .btn { width: 100%; }
    .gallery__grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
    .gallery__item { aspect-ratio: 4 / 3; }
    .marquee__track span { font-size: 1.2rem; }
}

@media (max-width: 980px) and (max-height: 560px) {
    .nav__links { justify-content: flex-start; gap: 0.5rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
}
