/**
 * Event-space microsites (SEO Total edition).
 *
 * Renders brickelleventspace.com and wynwoodvenue.com.
 * Brand: dark, cinema-premium, red accent. Raleway/Rubik.
 * Motion: native CSS + IntersectionObserver (no library).
 */

:root {
    --ms-ease-out:    cubic-bezier(0.23, 1, 0.32, 1);
    --ms-ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
    --ms-dur-fast:    160ms;
    --ms-dur:         220ms;
    --ms-dur-slow:    420ms;

    /* Charcoal ramp (faint cool hint, not pure black) so the canvas reads as
       a deep room rather than a void — matches the live-site extraction. */
    --ms-color-bg:        #0e0e11;
    --ms-color-bg-2:      #15151a;
    --ms-color-bg-3:      #0a0a0c;
    --ms-color-surface:   #1c1c20;
    --ms-color-line:      rgba(255, 255, 255, 0.10);
    --ms-color-line-2:    rgba(255, 255, 255, 0.18);
    --ms-color-text:      #d6d6da;
    --ms-color-text-2:    #a3a3aa;
    --ms-color-text-soft: #8a8a91;
    --ms-color-white:     #ffffff;
    --ms-color-primary:   #DA0E0E;
    --ms-color-accent:    #f34747;

    --ms-radius-card: 16px;
}

* {
    box-sizing: border-box;
}

body.microsite {
    min-height: 100vh;
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, oklch(40% 0.18 28 / 0.18), transparent 60%),
        linear-gradient(180deg, var(--ms-color-bg-3) 0%, var(--ms-color-bg) 36%, var(--ms-color-bg-2) 72%, var(--ms-color-bg) 100%);
    color: var(--ms-color-text);
    font-family: var(--font-body);
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    text-rendering: optimizeLegibility;
}

/* ───────── Shell ───────── */

.ms-shell {
    width: min(100% - 2rem, 1180px);
    margin: 0 auto;
}

/* ───────── Header ───────── */

.ms-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: var(--spacing-md);
    align-items: center;
    padding: 0.9rem clamp(1rem, 4vw, 2.5rem);
    background: color-mix(in srgb, var(--ms-color-bg) 84%, transparent);
    border-bottom: 1px solid var(--ms-color-line);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.ms-logo img {
    width: 142px;
    height: auto;
    display: block;
}

.ms-nav {
    display: flex;
    justify-content: center;
    gap: clamp(0.75rem, 2.5vw, 1.6rem);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ms-color-text-2);
}

.ms-nav a,
.ms-phone,
.ms-footer a {
    transition: color var(--ms-dur) var(--ms-ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .ms-nav a:hover,
    .ms-phone:hover,
    .ms-footer a:hover {
        color: var(--ms-color-white);
    }
}

.ms-header__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.85rem;
}

.ms-phone {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--ms-color-text);
    white-space: nowrap;
    text-decoration: none;
}

/* ───────── Buttons ───────── */

.ms-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0.95rem 1.3rem;
    border: 1px solid transparent;
    border-radius: var(--border-radius);
    background: var(--ms-color-primary);
    color: var(--ms-color-white);
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0.02em;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition:
        transform var(--ms-dur) var(--ms-ease-out),
        background-color var(--ms-dur) var(--ms-ease-out),
        border-color var(--ms-dur) var(--ms-ease-out),
        box-shadow var(--ms-dur) var(--ms-ease-out);
    will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
    .ms-btn:hover {
        background: var(--ms-color-accent);
        transform: translateY(-2px);
    }
}

.ms-btn:active {
    transform: scale(0.97);
    transition-duration: var(--ms-dur-fast);
}

.ms-btn:focus-visible {
    outline: 2px solid var(--ms-color-accent);
    outline-offset: 3px;
}

.ms-btn--small {
    min-height: 42px;
    padding: 0.7rem 0.95rem;
    font-size: 0.74rem;
}

.ms-btn--ghost {
    background: transparent;
    border-color: oklch(100% 0 0 / 0.28);
    color: var(--ms-color-white);
}

@media (hover: hover) and (pointer: fine) {
    .ms-btn--ghost:hover {
        background: oklch(100% 0 0 / 0.08);
        border-color: oklch(100% 0 0 / 0.52);
        transform: translateY(-2px);
    }
}

/* ───────── Hero ───────── */

.ms-hero {
    position: relative;
    display: grid;
    min-height: 88vh;
    isolation: isolate;
    overflow: hidden;
}

.ms-hero__media {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.ms-hero__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.02);
    animation: ms-hero-zoom 20s var(--ms-ease-in-out) infinite alternate;
    transition: opacity 1.4s var(--ms-ease-in-out);
}

.ms-hero__media img.is-active {
    opacity: 1;
}

@keyframes ms-hero-zoom {
    to { transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
    .ms-hero__media img { animation: none; transform: none; }
}

.ms-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(120% 90% at 10% 118%, color-mix(in srgb, var(--ms-color-primary) 30%, transparent) 0%, transparent 60%),
        linear-gradient(90deg, var(--ms-color-bg) 0%, color-mix(in srgb, var(--ms-color-bg) 80%, transparent) 42%, color-mix(in srgb, var(--ms-color-bg) 18%, transparent) 100%),
        linear-gradient(0deg, var(--ms-color-bg) 0%, transparent 42%);
    pointer-events: none;
}

/* Blueprint grid texture over the darkened side of the hero, faded out
   toward the photo with a mask so it dissolves rather than hard-cutting. */
.ms-hero__grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(var(--ms-color-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--ms-color-line) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(65% 90% at 10% 100%, #000 30%, transparent 78%);
    mask-image: radial-gradient(65% 90% at 10% 100%, #000 30%, transparent 78%);
}

.ms-hero__content {
    align-self: end;
    padding: calc(var(--header-height) + 6rem) 0 5rem;
    max-width: 920px;
}

/* ───────── Crew strip (avatar cluster, its own band below the hero) ───────── */

.ms-crew-strip {
    padding: clamp(1.5rem, 3vw, 2.25rem) 0;
    background: var(--ms-color-bg);
    border-bottom: 1px solid var(--ms-color-line);
}

.ms-crew-strip__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.7rem;
    text-align: center;
}

.ms-hero__crew-avatars {
    display: flex;
}

.ms-hero__crew-avatars img {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    object-fit: cover;
    box-shadow: 0 0 0 2px var(--ms-color-bg);
    margin-left: -10px;
}

.ms-hero__crew-avatars img:first-child {
    margin-left: 0;
}

.ms-crew-strip__inner span {
    color: var(--ms-color-text-2);
    font-size: 0.86rem;
    line-height: 1.3;
}

.ms-crew-strip__inner strong {
    color: var(--ms-color-white);
    font-weight: 700;
}

/* ───────── Breadcrumb ───────── */

.ms-breadcrumb {
    margin-bottom: 1rem;
}

.ms-breadcrumb ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: var(--ms-color-text-soft);
}

.ms-breadcrumb li {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.ms-breadcrumb li:not(:last-child)::after {
    content: "/";
    color: var(--ms-color-text-soft);
}

.ms-breadcrumb a {
    color: var(--ms-color-text-2);
    text-decoration: none;
    transition: color var(--ms-dur) var(--ms-ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .ms-breadcrumb a:hover {
        color: var(--ms-color-white);
    }
}

.ms-breadcrumb [aria-current="page"] {
    color: var(--ms-color-text-2);
}

.ms-kicker {
    display: inline-block;
    margin-bottom: 0.9rem;
    color: var(--ms-color-primary);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

/* Demoted section label: same slot as .ms-kicker but no uppercase/tracking,
   used on sections where the headline alone is enough (eyebrow rationed to
   hero + use-cases + process + team + faq + final only). */
.ms-caption {
    display: inline-block;
    margin-bottom: 0.9rem;
    color: var(--ms-color-text-2);
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 600;
}

.ms-hero h1,
.ms-section h2,
.ms-final h2,
.ms-founder h2,
.ms-reviews h2,
.tmm-walkthrough__text h2 {
    color: var(--ms-color-white);
    font-family: var(--font-heading);
    font-weight: 900;
    letter-spacing: -0.01em;
    line-height: 1;
    text-wrap: balance;
}

.ms-hero h1 {
    font-size: clamp(2.6rem, 6.4vw, 5.4rem);
    max-width: 18ch;
}

.ms-hero__copy {
    max-width: 640px;
    margin-top: 1.4rem;
    color: var(--ms-color-text);
    font-size: clamp(1.02rem, 1.8vw, 1.25rem);
    line-height: 1.55;
}

.ms-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.8rem;
}

/* ───────── Alumni (Trusted by) ───────── */

.ms-alumni {
    padding: clamp(2.5rem, 5vw, 4rem) 0;
    background: var(--ms-color-bg-2);
    border-top: 1px solid var(--ms-color-line);
    border-bottom: 1px solid var(--ms-color-line);
}

.ms-alumni .ms-caption {
    text-align: center;
    display: block;
    margin: 0 auto 1.5rem;
    max-width: 60ch;
}

/* Seamless marquee: the track holds the alumni list twice back to back and
   slides exactly one half-width, so the loop has no visible seam. */
.ms-marquee-mask {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.ms-marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2.5rem;
    animation: ms-marquee 32s linear infinite;
    will-change: transform;
}

@keyframes ms-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .ms-marquee-track { animation: none; }
}

.ms-alumni__list li {
    color: oklch(99% 0 0 / 0.78);
    font-family: var(--font-heading);
    font-size: clamp(0.95rem, 1.6vw, 1.18rem);
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    position: relative;
    padding: 0 1.25rem 0 0;
    white-space: nowrap;
}

.ms-alumni__list li::after {
    content: "·";
    position: absolute;
    right: -0.2rem;
    top: -0.05em;
    color: var(--ms-color-primary);
    font-weight: 900;
}

/* ───────── Proof bar ───────── */

.ms-proof {
    background: var(--ms-color-bg-3);
}

.ms-proof__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.ms-proof__grid div {
    min-height: 132px;
    padding: 1.35rem;
    border-left: 1px solid var(--ms-color-line);
}

.ms-proof__grid div:last-child {
    border-right: 1px solid var(--ms-color-line);
}

.ms-proof strong {
    display: block;
    color: var(--ms-color-white);
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1;
}

.ms-proof span {
    display: block;
    margin-top: 0.5rem;
    color: var(--ms-color-text-2);
    font-size: 0.95rem;
    line-height: 1.45;
}

/* ───────── As seen on (brand logos) ───────── */

.ms-brands {
    padding: clamp(2rem, 4vw, 3rem) 0;
    background: var(--ms-color-bg);
    border-bottom: 1px solid var(--ms-color-line);
}

.ms-brands .ms-caption {
    text-align: center;
    display: block;
    margin: 0 auto 1.25rem;
}

.ms-brands__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.25rem 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ms-brands__list li {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.75rem;
    padding: 0 1rem;
    background: #fff;
    border-radius: 999px;
}

.ms-brands__list img {
    height: 60%;
    width: auto;
    max-width: 6rem;
    object-fit: contain;
}

/* ───────── Counters (real track record numbers) ───────── */

.ms-counters {
    background: var(--ms-color-bg-2);
    border-bottom: 1px solid var(--ms-color-line);
}

.ms-counters__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.ms-counters__grid div {
    min-height: 132px;
    padding: 1.35rem;
    text-align: center;
    border-left: 1px solid var(--ms-color-line);
}

.ms-counters__grid div:last-child {
    border-right: 1px solid var(--ms-color-line);
}

.ms-counters strong {
    display: block;
    color: var(--ms-color-white);
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1;
}

.ms-counters span {
    display: block;
    margin-top: 0.5rem;
    color: var(--ms-color-text-2);
    font-size: 0.95rem;
    line-height: 1.45;
}

/* ───────── Section + lead ───────── */

.ms-section {
    padding: clamp(4rem, 9vw, 7rem) 0;
}

.ms-lead {
    background: var(--ms-color-bg);
}

.ms-lead__col {
    max-width: 68ch;
}

.ms-lead__col p {
    max-width: 65ch;
}

.ms-two-col {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(2rem, 6vw, 5rem);
}

.ms-two-col--center {
    align-items: center;
}

.ms-section h2 {
    font-size: clamp(2rem, 4.6vw, 4rem);
    max-width: 18ch;
}

.ms-section p {
    color: var(--ms-color-text);
    font-size: clamp(1rem, 1.5vw, 1.16rem);
    line-height: 1.7;
}

.ms-section p strong,
.ms-hero__copy strong,
.tmm-walkthrough__text .section-subtitle strong,
.ms-zigzag__body p strong {
    color: var(--ms-color-white);
    font-weight: 800;
}

.ms-section p em,
.ms-hero__copy em,
.tmm-walkthrough__text .section-subtitle em,
.ms-zigzag__body p em {
    color: var(--ms-color-primary);
    font-style: italic;
}

.ms-section__heading {
    max-width: 880px;
    margin-bottom: 2.4rem;
}

.ms-section a {
    color: var(--ms-color-white);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: oklch(100% 0 0 / 0.4);
    transition: text-decoration-color var(--ms-dur) var(--ms-ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .ms-section a:hover {
        text-decoration-color: var(--ms-color-accent);
    }
}

/* ───────── Use cases (zig-zag) ───────── */

.ms-zigzag {
    display: grid;
    gap: 1.25rem;
}

.ms-zigzag__row {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: clamp(1.25rem, 3vw, 2.5rem);
    align-items: start;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border: 1px solid var(--ms-color-line);
    border-radius: var(--ms-radius-card);
    background: var(--ms-color-surface);
    transition: border-color var(--ms-dur) var(--ms-ease-out), background-color var(--ms-dur) var(--ms-ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .ms-zigzag__row:hover {
        border-color: var(--ms-color-line-2);
        background: color-mix(in srgb, var(--ms-color-surface) 85%, white 15%);
    }
}

.ms-zigzag__row--r {
    grid-template-columns: 1fr 80px;
}

.ms-zigzag__row--r .ms-zigzag__num { order: 2; }
.ms-zigzag__row--r .ms-zigzag__body { order: 1; }

.ms-zigzag__num {
    color: var(--ms-color-primary);
    font-family: var(--font-numeric);
    font-size: clamp(1.4rem, 2.4vw, 2rem);
    font-weight: 900;
    line-height: 1;
    padding-top: 0.4rem;
}

.ms-zigzag__body h3 {
    color: var(--ms-color-white);
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 1.7vw, 1.4rem);
    font-weight: 900;
    line-height: 1.18;
    margin-bottom: 0.6rem;
}

.ms-zigzag__body p {
    color: var(--ms-color-text-2);
    font-size: clamp(0.95rem, 1.3vw, 1.05rem);
    line-height: 1.65;
}

/* ───────── Gallery (Swiper carousel) ───────── */

.ms-gallery {
    padding: 0 0 clamp(3.5rem, 7vw, 6rem);
    background: var(--ms-color-bg);
    overflow: hidden;
}

.ms-gallerySwiper {
    padding: 0 clamp(1rem, 4vw, 2.5rem);
}

.ms-gallerySwiper .swiper-slide {
    height: 20rem;
    border-radius: var(--ms-radius-card);
    overflow: hidden;
    background: var(--ms-color-bg-2);
}

.ms-gallerySwiper .swiper-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.ms-gallerySwiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--ms-dur-slow) var(--ms-ease-out);
    will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
    .ms-gallerySwiper .swiper-slide:hover img {
        transform: scale(1.05);
    }
}

.ms-gallerySwiper__btn {
    color: var(--ms-color-white);
    background: color-mix(in srgb, var(--ms-color-bg) 60%, transparent);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.ms-gallerySwiper__btn::after {
    font-size: 1.1rem;
}

@media (max-width: 480px) {
    .ms-gallerySwiper__btn { display: none; }
}

/* ───────── Checklist ───────── */

.ms-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.6rem;
}

.ms-checklist li {
    position: relative;
    padding: 0.95rem 1rem 0.95rem 2.5rem;
    border: 1px solid var(--ms-color-line);
    border-radius: var(--ms-radius-card);
    background: var(--ms-color-surface);
    color: var(--ms-color-white);
    font-family: var(--font-heading);
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.35;
}

.ms-checklist li::before {
    content: "";
    position: absolute;
    left: 1rem;
    top: 1.15rem;
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 999px;
    background: var(--ms-color-primary);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--ms-color-primary) 24%, transparent);
}

/* ───────── Steps (timeline) ───────── */

.ms-steps {
    background: var(--ms-color-bg-2);
}

.ms-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.5rem;
    position: relative;
}

.ms-timeline::before {
    content: "";
    position: absolute;
    left: 1.65rem;
    top: 1.5rem;
    bottom: 1.5rem;
    width: 2px;
    background: linear-gradient(180deg, transparent, var(--ms-color-line-2) 12%, var(--ms-color-line-2) 88%, transparent);
    pointer-events: none;
}

.ms-timeline__item {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 1.25rem;
    align-items: start;
    position: relative;
}

.ms-timeline__num {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ms-color-white);
    font-family: var(--font-numeric);
    font-size: 0.95rem;
    font-weight: 800;
    background: var(--ms-color-primary);
    border-radius: 999px;
    box-shadow: 0 0 0 4px var(--ms-color-bg-2);
    z-index: 1;
}

.ms-timeline__item h3 {
    color: var(--ms-color-white);
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 1.7vw, 1.32rem);
    font-weight: 900;
    line-height: 1.18;
    margin-bottom: 0.5rem;
}

.ms-timeline__item p {
    color: var(--ms-color-text-2);
    font-size: 0.98rem;
    line-height: 1.6;
}

/* ───────── Walkthrough video (MacBook mockup, shared tmm-reel-player) ───────── */

.tmm-walkthrough-section {
    padding: clamp(4rem, 9vw, 7rem) 0;
    background:
        radial-gradient(ellipse at 70% 30%, color-mix(in srgb, var(--ms-color-primary) 12%, transparent) 0%, transparent 55%),
        var(--ms-color-bg);
}

.tmm-walkthrough__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    text-align: center;
}

.tmm-walkthrough__text {
    max-width: 640px;
}

.tmm-walkthrough__text h2 {
    font-size: clamp(2rem, 4.6vw, 3.4rem);
}

.tmm-walkthrough__text .section-subtitle {
    margin-top: 1rem;
    color: var(--ms-color-text-2);
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    line-height: 1.6;
}

.tmm-walkthrough__video {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* ───────── Reviews split ───────── */

.ms-reviews {
    background: var(--ms-color-bg);
}

.ms-reviews__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.ms-review {
    margin: 0;
    padding: 1.6rem;
    border: 1px solid var(--ms-color-line);
    border-radius: var(--ms-radius-card);
    background: var(--ms-color-surface);
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    min-height: 240px;
}

.ms-review blockquote {
    margin: 0;
    flex: 1;
}

.ms-review blockquote p {
    color: var(--ms-color-white);
    font-family: var(--font-heading);
    font-size: clamp(1rem, 1.45vw, 1.16rem);
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.005em;
    text-wrap: balance;
}

.ms-review figcaption {
    border-top: 1px solid var(--ms-color-line);
    padding-top: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.ms-review figcaption strong {
    color: var(--ms-color-white);
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.ms-review figcaption span {
    color: var(--ms-color-text-2);
    font-size: 0.82rem;
}

/* ───────── Featured testimonial ───────── */

.ms-featured-testimonial {
    background: var(--ms-color-bg-2);
}

.ms-featured-testimonial__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.ms-featured-testimonial__photo {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: var(--ms-radius-card);
    background: var(--ms-color-bg-3);
    max-width: 480px;
}

.ms-featured-testimonial__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ms-featured-testimonial .ms-review__stars {
    color: var(--ms-color-primary);
    font-size: 1.1rem;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.ms-featured-testimonial__body blockquote {
    margin: 0;
}

.ms-featured-testimonial__body blockquote p {
    color: var(--ms-color-white);
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 1.8vw, 1.4rem);
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: -0.005em;
    text-wrap: balance;
    margin-bottom: 1rem;
}

.ms-featured-testimonial__body cite {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin-top: 1.2rem;
    font-style: normal;
}

.ms-featured-testimonial__body cite strong {
    color: var(--ms-color-white);
    font-family: var(--font-heading);
    font-size: 0.98rem;
    font-weight: 800;
}

.ms-featured-testimonial__body cite span {
    color: var(--ms-color-text-2);
    font-size: 0.88rem;
}

/* ───────── Founder ───────── */

.ms-founder {
    background: var(--ms-color-bg-2);
}

.ms-founder__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.ms-founder__photo {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: var(--ms-radius-card);
    background: var(--ms-color-bg-3);
    max-width: 480px;
}

.ms-founder__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ms-founder__body blockquote {
    margin: 1.2rem 0 0;
    padding: 0;
    border: 0;
}

.ms-founder__body blockquote p {
    color: var(--ms-color-white);
    font-family: var(--font-heading);
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    font-weight: 800;
    line-height: 1.45;
    letter-spacing: -0.005em;
    text-wrap: balance;
}

.ms-founder__body cite {
    display: block;
    margin-top: 1rem;
    color: var(--ms-color-text-2);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-style: normal;
}

/* ───────── Team ───────── */

.ms-team {
    background: var(--ms-color-bg);
}

.ms-team__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 320px));
    justify-content: center;
    gap: 1.5rem;
}

.ms-team__member {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--ms-color-line);
    border-radius: var(--ms-radius-card);
    background: var(--ms-color-bg-2);
    display: flex;
    flex-direction: column;
}

.ms-team__member img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
    transition: transform var(--ms-dur-slow) var(--ms-ease-out);
    will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
    .ms-team__member:hover img { transform: scale(1.04); }
}

.ms-team__member figcaption {
    padding: 1rem 1.1rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
}

.ms-team__member strong {
    color: var(--ms-color-white);
    font-family: var(--font-heading);
    font-size: 0.98rem;
    font-weight: 900;
    letter-spacing: 0.01em;
}

.ms-team__member span {
    color: var(--ms-color-text-2);
    font-size: 0.85rem;
}

/* ───────── FAQ ───────── */

.ms-faq-list {
    display: grid;
    gap: 0.5rem;
}

.ms-faq {
    border: 1px solid var(--ms-color-line);
    border-radius: var(--ms-radius-card);
    background: var(--ms-color-surface);
    transition: border-color var(--ms-dur) var(--ms-ease-out);
}

.ms-faq[open] {
    border-color: var(--ms-color-line-2);
}

.ms-faq summary {
    cursor: pointer;
    list-style: none;
    padding: 1.1rem 3rem 1.1rem 1.1rem;
    color: var(--ms-color-white);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.35;
    position: relative;
    transition: color var(--ms-dur) var(--ms-ease-out);
}

.ms-faq summary::-webkit-details-marker { display: none; }

.ms-faq summary::after {
    content: "+";
    position: absolute;
    right: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ms-color-primary);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 900;
    line-height: 1;
    transition: transform var(--ms-dur) var(--ms-ease-out);
}

.ms-faq[open] summary::after {
    content: "−";
}

@media (hover: hover) and (pointer: fine) {
    .ms-faq summary:hover { color: var(--ms-color-white); }
}

.ms-faq p {
    padding: 0 1.1rem 1.1rem;
    color: var(--ms-color-text-2);
    font-size: 0.96rem;
    line-height: 1.6;
}

/* ───────── Final CTA ───────── */

.ms-final {
    padding: clamp(4rem, 10vw, 8rem) 0;
    background: var(--ms-color-bg-3);
}

.ms-final__inner {
    max-width: 860px;
}

.ms-final h2 {
    font-size: clamp(2rem, 4.6vw, 4rem);
}

.ms-final p {
    max-width: 720px;
    margin-top: 1rem;
    color: var(--ms-color-text);
    font-size: clamp(1.02rem, 1.7vw, 1.18rem);
    line-height: 1.65;
}

.ms-final .ms-actions { margin-top: 2rem; }

.ms-final__meta {
    margin-top: 1.6rem;
    color: var(--ms-color-text-2);
    font-size: 0.92rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.ms-final__meta-item:not(:first-child) {
    margin-left: 0.75rem;
    padding-left: 0.75rem;
    border-left: 1px solid oklch(100% 0 0 / 0.18);
}

.ms-final__meta a {
    color: var(--ms-color-text);
    text-decoration: none;
    border-bottom: 1px solid oklch(100% 0 0 / 0.18);
    transition: color var(--ms-dur) var(--ms-ease-out), border-color var(--ms-dur) var(--ms-ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .ms-final__meta a:hover {
        color: var(--ms-color-white);
        border-bottom-color: var(--ms-color-accent);
    }
}

/* ───────── Footer ───────── */

.ms-footer {
    padding: 2.5rem 0 1.5rem;
    border-top: 1px solid var(--ms-color-line);
    background: var(--ms-color-bg-3);
}

.ms-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 0.8fr;
    gap: 2rem;
    align-items: start;
}

.ms-footer img {
    width: 124px;
    height: auto;
    margin-bottom: 1rem;
}

.ms-footer p {
    margin: 0 0 0.4rem;
    color: var(--ms-color-text-2);
    font-size: 0.92rem;
    line-height: 1.65;
}

.ms-footer a {
    color: var(--ms-color-text-2);
    text-decoration: none;
    transition: color var(--ms-dur) var(--ms-ease-out);
}

.ms-footer__legal {
    margin-top: 2rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--ms-color-line);
    color: var(--ms-color-text-soft);
    font-size: 0.82rem;
}

/* ───────── Reveal animations (IntersectionObserver) ───────── */

.ms-reveal {
    opacity: 0;
    transform: translateY(14px);
    transition:
        opacity 520ms var(--ms-ease-out),
        transform 520ms var(--ms-ease-out);
    will-change: opacity, transform;
}

.ms-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .ms-reveal,
    .ms-reveal.is-visible {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .ms-btn,
    .ms-btn--ghost,
    .ms-nav a,
    .ms-phone,
    .ms-footer a,
    .ms-section a,
    .ms-faq,
    .ms-final__meta a,
    .ms-gallery img,
    .ms-team__member img,
    .ms-zigzag__row {
        transition: none;
    }
}

/* ───────── Responsive ───────── */

@media (max-width: 1080px) {
    .ms-nav { display: none; }
    .ms-header { grid-template-columns: auto auto; }
    .ms-header__actions { justify-content: flex-end; }
    .ms-proof__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ms-counters__grid { grid-template-columns: 1fr; }
    .ms-counters__grid div { border-left: 0; border-bottom: 1px solid var(--ms-color-line); }
    .ms-counters__grid div:last-child { border-right: 0; border-bottom: 0; }
    .ms-two-col,
    .ms-founder__grid,
    .ms-featured-testimonial__grid { grid-template-columns: 1fr; }
    .ms-reviews__grid { grid-template-columns: 1fr; }
    .ms-team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ms-timeline::before { left: 27px; }
    .ms-timeline__item { grid-template-columns: 48px 1fr; gap: 1rem; }
    .ms-timeline__num { width: 48px; height: 48px; font-size: 0.85rem; }
}

@media (max-width: 720px) {
    .ms-shell { width: min(100% - 1.25rem, 1180px); }
    .ms-header { padding: 0.75rem; }
    .ms-logo img { width: 110px; }
    .ms-btn { width: 100%; }
    .ms-header .ms-btn { width: auto; min-height: 38px; padding: 0.6rem 0.75rem; font-size: 0.68rem; }
    .ms-phone { display: none; }
    .ms-hero { min-height: 82vh; }
    .ms-hero__content { padding: calc(var(--header-height) + 4.5rem) 0 3.5rem; }
    .ms-hero h1 { font-size: clamp(2.15rem, 11vw, 3.1rem); line-height: 1.04; }
    .ms-hero__copy { font-size: 1rem; }
    .ms-actions { display: grid; }
    .ms-actions .ms-btn { width: 100%; }
    .ms-proof__grid { grid-template-columns: 1fr; }
    .ms-proof__grid div,
    .ms-proof__grid div:last-child {
        min-height: auto;
        border-left: 0;
        border-right: 0;
        border-bottom: 1px solid var(--ms-color-line);
    }
    .ms-proof__grid div:last-child { border-bottom: 0; }
    .ms-zigzag__row,
    .ms-zigzag__row--r {
        grid-template-columns: 48px 1fr;
        gap: 1rem;
    }
    .ms-zigzag__row--r .ms-zigzag__num { order: 0; }
    .ms-zigzag__row--r .ms-zigzag__body { order: 1; }
    .ms-gallerySwiper { padding: 0 1.25rem; }
    .ms-gallerySwiper .swiper-slide { height: 14rem; }
    .ms-team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ms-founder__photo { max-width: 100%; }
    .ms-footer__grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .ms-marquee-track { gap: 1.5rem; animation-duration: 22s; }
    .ms-crew-strip__inner { row-gap: 0.5rem; }
    .ms-hero__crew-avatars img { width: 28px; height: 28px; }
    .ms-brands__list li { height: 2.15rem; padding: 0 0.75rem; }
    .ms-brands__list img { max-width: 4.25rem; }
    .ms-featured-testimonial__photo { max-width: 100%; }
}

@media (max-width: 480px) {
    .ms-reviews__grid { grid-template-columns: 1fr; }
    .ms-team__grid { grid-template-columns: 1fr 1fr; }
}
