:root {
    --bg: #f4f0eb;
    --bg-soft: #fbf8f4;
    --surface: rgba(255, 255, 255, 0.78);
    --surface-strong: #ffffff;
    --surface-dark: #111111;
    --border: rgba(20, 20, 20, 0.1);
    --border-strong: rgba(20, 20, 20, 0.18);
    --text: #141414;
    --muted: #66605a;
    --shadow: 0 26px 80px rgba(30, 22, 13, 0.12);
    --radius: 30px;
    --container: 1280px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Syne", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 20% 0%, rgba(255, 209, 120, 0.24), transparent 26%),
        radial-gradient(circle at 84% 16%, rgba(86, 202, 182, 0.16), transparent 24%),
        linear-gradient(180deg, #faf6f0 0%, #f4efe8 42%, #f8f5f0 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(20, 20, 20, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(20, 20, 20, 0.03) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(circle at center, black 38%, transparent 88%);
    pointer-events: none;
    z-index: 0;
}

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

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

button {
    font: inherit;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.page-glow {
    position: fixed;
    border-radius: 999px;
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
}

.glow-one {
    width: 340px;
    height: 340px;
    top: 120px;
    left: -80px;
    background: rgba(86, 202, 182, 0.24);
}

.glow-two {
    width: 360px;
    height: 360px;
    top: 180px;
    right: -120px;
    background: rgba(235, 116, 84, 0.18);
}

.site-header,
main,
.site-footer,
.video-modal,
.scroll-top {
    position: relative;
    z-index: 2;
}

.shell {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    padding: 16px 0 0;
    z-index: 30;
}

.header-shell {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 14px 18px;
    border: 1px solid rgba(20, 20, 20, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.74);
    backdrop-filter: blur(18px);
    box-shadow: 0 12px 40px rgba(30, 22, 13, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled .header-shell {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 54px rgba(30, 22, 13, 0.14);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand img,
.footer-branding img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    padding: 8px;
    border-radius: 999px;
    background: var(--surface-dark);
    box-shadow: 0 10px 20px rgba(17, 17, 17, 0.16);
}

.brand span {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.desktop-nav {
    justify-self: center;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(20, 20, 20, 0.05);
}

.desktop-nav a {
    padding: 11px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    color: var(--muted);
    transition: background 0.2s ease, color 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
    background: rgba(20, 20, 20, 0.08);
    color: var(--text);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-cta,
.btn-primary,
.video-modal-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 999px;
    background: var(--surface-dark);
    color: #f8f4ef;
    box-shadow: 0 16px 34px rgba(17, 17, 17, 0.14);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-secondary,
.filter-btn,
.load-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 20px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.66);
    color: var(--muted);
    transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.header-cta:hover,
.btn-primary:hover,
.btn-secondary:hover,
.filter-btn:hover,
.load-more-btn:hover {
    transform: translateY(-2px);
}

.btn-secondary:hover,
.filter-btn:hover,
.filter-btn.is-active,
.load-more-btn:hover {
    color: var(--text);
    border-color: var(--border-strong);
}

.filter-btn.is-active {
    background: rgba(20, 20, 20, 0.08);
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 999px;
    background: rgba(20, 20, 20, 0.08);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--text);
}

.mobile-nav {
    display: none;
    width: min(var(--container), calc(100% - 40px));
    margin: 12px auto 0;
    padding: 14px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
}

.mobile-nav a {
    display: block;
    padding: 12px 8px;
    border-bottom: 1px solid rgba(20, 20, 20, 0.08);
}

.mobile-nav a:last-child {
    border-bottom: 0;
}

.mobile-nav.is-open {
    display: block;
}

.hero-section {
    padding: 84px 0 52px;
}

.hero-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 34px;
    align-items: center;
}

.hero-chip,
.section-kicker,
.video-copy span,
.video-modal-meta span,
.info-card strong {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(20, 20, 20, 0.1);
    background: rgba(255, 255, 255, 0.7);
    color: var(--text);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-copy h1,
.section-head h2,
.cta-copy h2,
.video-copy h3,
.info-card h3 {
    font-family: "Marcellus", serif;
    font-weight: 400;
    letter-spacing: -0.045em;
}

.hero-copy h1 {
    margin: 22px 0 18px;
    font-size: clamp(3.3rem, 7vw, 6.4rem);
    line-height: 0.94;
}

.hero-copy h1 span {
    display: block;
}

.hero-copy p,
.section-head p,
.video-copy p,
.info-card p,
.hero-points li,
.cta-copy p,
.footer-branding p {
    color: var(--muted);
}

.hero-points {
    list-style: none;
    display: grid;
    gap: 12px;
    margin: 26px 0 0;
    padding: 0;
}

.hero-points li {
    position: relative;
    padding-left: 24px;
}

.hero-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--surface-dark);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.hero-stats article,
.stat-card,
.info-card {
    padding: 22px;
    border-radius: 24px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow);
}

.hero-stats strong,
.stat-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.7rem;
}

.hero-media {
    position: relative;
}

.hero-video-frame {
    overflow: hidden;
    min-height: 620px;
    border-radius: 34px;
    box-shadow: var(--shadow);
}

.hero-video-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-note {
    position: absolute;
    left: 20px;
    bottom: 20px;
    width: min(260px, calc(100% - 40px));
    padding: 18px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(17, 17, 17, 0.78);
    color: #f8f4ef;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.18);
}

.hero-note p {
    margin: 8px 0 0;
    color: rgba(248, 244, 239, 0.68);
}

.stats-strip {
    padding: 0 0 44px;
}

.stats-strip-shell {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.stat-card span {
    color: var(--muted);
}

.portfolio-section {
    padding: 110px 0;
    background: #111111;
    color: #f8f4ef;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 34px;
}

.section-head.simple {
    margin-bottom: 28px;
}

.section-head h2 {
    margin: 14px 0 14px;
    max-width: 760px;
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    line-height: 0.96;
}

.portfolio-section .section-head p,
.portfolio-section .section-kicker,
.portfolio-section .video-copy p,
.portfolio-section .video-copy span {
    color: rgba(248, 244, 239, 0.72);
}

.portfolio-section .section-kicker,
.portfolio-section .video-copy span {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(248, 244, 239, 0.64);
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.portfolio-section .filter-btn {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(248, 244, 239, 0.7);
}

.portfolio-section .filter-btn:hover,
.portfolio-section .filter-btn.is-active {
    background: rgba(255, 255, 255, 0.08);
    color: #f8f4ef;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.video-card {
    display: none;
    border-radius: 28px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
    cursor: pointer;
}

.video-card.is-visible {
    display: block;
}

.video-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 26px 54px rgba(0, 0, 0, 0.22);
}

.video-media {
    aspect-ratio: 0.88 / 1;
    overflow: hidden;
}

.video-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.video-card:hover .video-media video {
    transform: scale(1.03);
}

.video-copy {
    padding: 18px 18px 22px;
}

.video-copy h3 {
    margin: 14px 0 12px;
    font-size: 1.55rem;
    line-height: 1.04;
}

.load-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.load-more-btn {
    background: #f8f4ef;
    color: #111111;
    border-color: transparent;
}

.process-section,
.directions-section {
    padding: 104px 0;
}

.process-grid,
.directions-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.directions-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card strong {
    margin-bottom: 16px;
}

.info-card h3 {
    margin: 0 0 12px;
    font-size: 1.55rem;
    line-height: 1.04;
}

.cta-section {
    padding: 0 0 42px;
}

.cta-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    padding: 44px;
    border-radius: 34px;
    background: #111111;
    color: #f8f4ef;
    box-shadow: 0 28px 84px rgba(17, 17, 17, 0.18);
}

.cta-copy h2 {
    margin: 0 0 16px;
    font-size: clamp(2.4rem, 4vw, 4.3rem);
    line-height: 0.98;
}

.cta-copy p {
    max-width: 760px;
    color: rgba(248, 244, 239, 0.72);
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cta-shell .btn-secondary {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.16);
    color: #f8f4ef;
}

.site-footer {
    padding: 34px 0 44px;
}

.footer-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    padding: 24px 0 0;
    border-top: 1px solid rgba(20, 20, 20, 0.12);
}

.footer-branding {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-branding strong {
    display: block;
    margin-bottom: 4px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-links a {
    color: var(--muted);
}

.video-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 60;
}

.video-modal.is-open {
    display: flex;
}

.video-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 8, 8, 0.62);
    backdrop-filter: blur(12px);
}

.video-modal-dialog {
    position: relative;
    width: min(960px, calc(100% - 24px));
    padding: 18px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.26);
}

.video-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 48px;
    min-height: 48px;
    padding: 0;
    border: 0;
    cursor: pointer;
}

.video-modal-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.video-modal-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(20, 20, 20, 0.06);
    color: var(--text);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

#modalVideo {
    width: 100%;
    max-height: 72vh;
    border-radius: 22px;
    background: #000;
}

.hero-playlist-cover {
    position: relative;
    display: block;
    min-height: 620px;
    isolation: isolate;
}

.hero-playlist-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 17, 17, 0.06) 0%, rgba(17, 17, 17, 0.62) 100%);
}

.hero-playlist-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-playlist-badge,
.hero-play-button {
    position: absolute;
    left: 22px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    backdrop-filter: blur(12px);
}

.hero-playlist-badge {
    top: 22px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #f8f4ef;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-play-button {
    bottom: 22px;
    background: rgba(17, 17, 17, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f8f4ef;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
}

.playlist-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: 28px;
    align-items: start;
}

.playlist-stage {
    border-radius: 30px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 26px 54px rgba(0, 0, 0, 0.18);
}

.playlist-player-shell {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
}

.playlist-player-shell iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.playlist-stage-meta {
    padding: 22px;
}

.playlist-stage-label {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(248, 244, 239, 0.74);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.playlist-stage-meta h3 {
    margin: 16px 0 12px;
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 0.98;
}

.playlist-stage-meta p {
    margin: 0;
    color: rgba(248, 244, 239, 0.72);
}

.playlist-thumb-grid {
    display: grid;
    gap: 14px;
}

.playlist-thumb {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    width: 100%;
    padding: 12px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: #f8f4ef;
    text-align: left;
    cursor: pointer;
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.playlist-thumb:hover,
.playlist-thumb.is-active {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 22px 40px rgba(0, 0, 0, 0.16);
}

.playlist-thumb-image {
    display: block;
    overflow: hidden;
    border-radius: 18px;
    aspect-ratio: 16 / 10;
    background: rgba(255, 255, 255, 0.06);
}

.playlist-thumb-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.playlist-thumb-copy {
    display: grid;
    gap: 6px;
}

.playlist-thumb-copy strong {
    font-size: 1.08rem;
    line-height: 1.05;
}

.playlist-thumb-copy small {
    color: rgba(248, 244, 239, 0.66);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.scroll-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 56px;
    height: 56px;
    border: 0;
    border-radius: 999px;
    background: #111111;
    color: #f8f4ef;
    box-shadow: 0 18px 40px rgba(17, 17, 17, 0.18);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 40;
}

.scroll-top.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.scroll-top:hover {
    transform: translateY(-2px);
}

@media (max-width: 1180px) {
    .desktop-nav,
    .header-cta {
        display: none;
    }

    .menu-toggle {
        display: inline-block;
    }

    .hero-shell,
    .cta-shell,
    .footer-shell {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .playlist-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .shell,
    .mobile-nav {
        width: min(var(--container), calc(100% - 24px));
    }

    .site-header {
        padding-top: 10px;
    }

    .header-shell {
        grid-template-columns: auto 1fr auto;
        padding: 12px 14px;
    }

    .hero-section {
        padding-top: 58px;
    }

    .hero-copy h1 {
        font-size: clamp(2.8rem, 12vw, 4.6rem);
    }

    .hero-stats,
    .stats-strip-shell,
    .process-grid,
    .directions-grid {
        grid-template-columns: 1fr;
    }

    .section-head {
        align-items: start;
        flex-direction: column;
    }

    .hero-video-frame,
    .hero-playlist-cover {
        min-height: 420px;
    }

    .playlist-thumb {
        grid-template-columns: 96px minmax(0, 1fr);
        gap: 12px;
    }

    .cta-shell {
        padding: 28px 22px;
    }

}
