:root {
    --bg: #f1ece4;
    --bg-alt: #e6ddd1;
    --ink: #171411;
    --ink-soft: rgba(23, 20, 17, 0.72);
    --line: rgba(23, 20, 17, 0.14);
    --panel: rgba(255, 255, 255, 0.42);
    --panel-strong: rgba(255, 255, 255, 0.68);
    --gold: #a57b42;
    --gold-soft: rgba(165, 123, 66, 0.14);
    --shadow: 0 24px 80px rgba(27, 20, 10, 0.12);
    --radius-xl: 36px;
    --radius-lg: 26px;
    --radius-md: 20px;
    --container: min(1240px, calc(100% - 40px));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(165, 123, 66, 0.16), transparent 28%),
        linear-gradient(180deg, #f4efe8 0%, #efe7dc 40%, #e9dfd3 100%);
    font-family: "Manrope", sans-serif;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.site-shell {
    position: relative;
    overflow: clip;
}

.site-shell::before,
.site-shell::after {
    content: "";
    position: fixed;
    inset: auto;
    pointer-events: none;
    z-index: 0;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.5;
}

.site-shell::before {
    width: 240px;
    height: 240px;
    top: 100px;
    right: -60px;
    background: rgba(165, 123, 66, 0.16);
}

.site-shell::after {
    width: 180px;
    height: 180px;
    left: -40px;
    bottom: 160px;
    background: rgba(255, 255, 255, 0.42);
}

.container {
    width: var(--container);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 18px 0;
    backdrop-filter: blur(20px);
    background: rgba(241, 236, 228, 0.72);
    border-bottom: 1px solid rgba(23, 20, 17, 0.06);
}

.header-row {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 22px;
    align-items: center;
}

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

.brand-monogram {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #efe5d9, #d5c2a6);
    border: 1px solid rgba(23, 20, 17, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.56);
    font-size: 0.9rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-text strong,
.footer-brand {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.7rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.brand-text small {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--ink-soft);
}

.desktop-nav {
    display: flex;
    justify-content: center;
    gap: 26px;
}

.desktop-nav a,
.footer-links a {
    position: relative;
    color: var(--ink-soft);
    font-size: 0.95rem;
}

.desktop-nav a::after,
.footer-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 240ms ease;
}

.desktop-nav a:hover::after,
.footer-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.menu-toggle,
.mobile-nav {
    display: none;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 24px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease, border-color 220ms ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-gold {
    background: linear-gradient(135deg, #b48a4a, #8f6631);
    color: #fff8f0;
    box-shadow: 0 12px 30px rgba(143, 102, 49, 0.2);
}

.button-outline {
    background: rgba(255, 255, 255, 0.34);
    border-color: rgba(23, 20, 17, 0.1);
    color: var(--ink);
}

.hero-section,
.about-section,
.portfolio-section,
.film-section,
.values-section,
.testimonials-section,
.cta-section {
    padding: 110px 0;
}

.hero-layout,
.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 56px;
    align-items: center;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    font-size: 0.76rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--gold);
}

.kicker::before {
    content: "";
    width: 44px;
    height: 1px;
    background: currentColor;
}

.hero-intro {
    margin: 0 0 8px;
    color: var(--ink-soft);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.hero-copy h1,
.about-copy h2,
.section-heading h2,
.values-heading h2,
.cta-copy h2 {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 0.94;
}

.hero-copy h1 {
    max-width: 11ch;
    font-size: clamp(4rem, 9vw, 7.2rem);
}

.hero-description,
.about-copy p,
.section-heading p,
.film-copy p,
.value-card p,
.testimonial-card p,
.cta-copy p,
.footer-copy {
    color: var(--ink-soft);
    line-height: 1.8;
    font-size: 1rem;
}

.hero-description {
    max-width: 580px;
    margin: 26px 0 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.hero-notes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 42px;
}

.hero-notes div,
.hero-badge,
.values-panel,
.testimonial-card,
.cta-panel,
.about-frame,
.film-card,
.portfolio-trigger {
    background: var(--panel);
    border: 1px solid rgba(255, 255, 255, 0.52);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

.hero-notes div {
    border-radius: var(--radius-md);
    padding: 20px 22px;
}

.hero-notes span,
.lightbox-caption span {
    display: block;
    color: var(--ink-soft);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 8px;
}

.hero-notes strong {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
}

.hero-visual {
    position: relative;
    min-height: 740px;
}

.hero-card {
    position: absolute;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 0 24px 60px rgba(53, 35, 11, 0.18);
}

.hero-card img,
.about-frame img,
.portfolio-trigger img,
.film-poster img,
.lightbox img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-card-main {
    inset: 0 70px 70px 0;
}

.hero-card-accent {
    width: 240px;
    height: 300px;
    right: 0;
    bottom: 0;
}

.hero-badge {
    position: absolute;
    left: 30px;
    bottom: 34px;
    z-index: 2;
    border-radius: 22px;
    padding: 20px 22px;
}

.hero-badge span {
    display: block;
    color: var(--ink-soft);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    margin-bottom: 8px;
}

.hero-badge strong {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.5rem;
    font-weight: 600;
}

.about-frame {
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.about-copy h2,
.section-heading h2,
.values-heading h2,
.cta-copy h2 {
    font-size: clamp(2.9rem, 6vw, 5rem);
    max-width: 11ch;
}

.section-heading {
    display: grid;
    gap: 16px;
    margin-bottom: 36px;
}

.section-heading-split {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: end;
}

.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.portfolio-filters button {
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.3);
    color: var(--ink-soft);
}

.portfolio-filters button.is-active,
.portfolio-filters button:hover {
    background: #1d1814;
    color: #f7f0e7;
    border-color: #1d1814;
}

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

.portfolio-card:nth-child(4n + 1),
.portfolio-card:nth-child(4n + 4) {
    grid-column: span 7;
}

.portfolio-card:nth-child(4n + 2),
.portfolio-card:nth-child(4n + 3) {
    grid-column: span 5;
}

.portfolio-card.is-hidden {
    display: none;
}

.portfolio-trigger {
    position: relative;
    width: 100%;
    min-height: 420px;
    padding: 0;
    border-radius: 28px;
    overflow: hidden;
    border: 0;
    text-align: left;
}

.portfolio-trigger::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 10, 9, 0.02) 25%, rgba(12, 10, 9, 0.82) 100%);
}

.portfolio-trigger img {
    transition: transform 420ms ease, filter 420ms ease;
}

.portfolio-trigger:hover img {
    transform: scale(1.05);
    filter: saturate(1.05);
}

.portfolio-overlay {
    position: absolute;
    inset: auto 0 0;
    z-index: 1;
    display: grid;
    gap: 6px;
    padding: 28px;
    color: #fff5e9;
}

.portfolio-overlay small,
.portfolio-overlay em {
    color: rgba(255, 245, 233, 0.72);
    font-style: normal;
}

.portfolio-overlay strong,
.film-copy h3,
.value-card h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: 2rem;
    font-weight: 600;
}

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

.film-card {
    border-radius: 30px;
    overflow: hidden;
}

.film-poster {
    position: relative;
    width: 100%;
    aspect-ratio: 1.05;
    border: 0;
    padding: 0;
    background: #1a1612;
    overflow: hidden;
}

.film-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 14, 12, 0.04), rgba(17, 14, 12, 0.64));
}

.film-play {
    position: absolute;
    left: 22px;
    bottom: 22px;
    z-index: 1;
    padding: 14px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff8f0;
    backdrop-filter: blur(8px);
}

.film-copy {
    padding: 26px;
}

.film-copy h3,
.value-card h3 {
    margin: 0 0 12px;
}

.film-frame {
    aspect-ratio: 1.05;
}

.film-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.values-panel {
    border-radius: 34px;
    padding: 40px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.value-card {
    padding: 26px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(23, 20, 17, 0.08);
}

.value-card span {
    display: inline-block;
    margin-bottom: 22px;
    color: var(--gold);
    font-size: 0.78rem;
    letter-spacing: 0.24em;
}

.testimonial-slider {
    position: relative;
}

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

.testimonial-card {
    padding: 30px;
    border-radius: 28px;
}

.testimonial-card p {
    margin: 0 0 26px;
    font-size: 1.04rem;
}

.testimonial-card strong {
    display: block;
    margin-bottom: 6px;
}

.testimonial-card span {
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.testimonial-dots {
    display: none;
}

.cta-panel {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: end;
    gap: 30px;
    padding: 42px;
    border-radius: 36px;
}

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

.site-footer {
    padding: 0 0 40px;
}

.footer-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 28px;
    align-items: start;
    padding-top: 28px;
    border-top: 1px solid rgba(23, 20, 17, 0.08);
}

.footer-links {
    display: grid;
    gap: 12px;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(13, 11, 9, 0.82);
    backdrop-filter: blur(18px);
}

.lightbox[hidden] {
    display: none;
}

.lightbox-dialog {
    width: min(920px, 100%);
}

.lightbox-dialog img {
    width: 100%;
    max-height: 78vh;
    border-radius: 26px;
    object-fit: cover;
}

.lightbox-caption {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
    color: #fff5e9;
}

.lightbox-caption strong {
    font-family: "Cormorant Garamond", serif;
    font-size: 2rem;
    font-weight: 600;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.08);
    color: #fff8f0;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 680ms ease, transform 680ms ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

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

    .menu-toggle {
        display: inline-flex;
        flex-direction: column;
        gap: 6px;
        justify-self: end;
        width: 48px;
        height: 48px;
        padding: 0;
        border-radius: 50%;
        border: 1px solid var(--line);
        background: rgba(255, 255, 255, 0.36);
        align-items: center;
        justify-content: center;
    }

    .menu-toggle span {
        width: 18px;
        height: 1px;
        background: var(--ink);
    }

    .header-row {
        grid-template-columns: auto 1fr auto;
    }

    .mobile-nav {
        display: none;
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 0 var(--container);
        width: var(--container);
        margin: 16px auto 0;
    }

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

    .mobile-nav a {
        color: var(--ink-soft);
    }

    .hero-layout,
    .about-layout,
    .section-heading-split,
    .cta-panel,
    .footer-row,
    .film-grid,
    .testimonial-track {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 620px;
    }

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

    .portfolio-card:nth-child(n) {
        grid-column: span 6;
    }

    .cta-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 720px) {
    .hero-section,
    .about-section,
    .portfolio-section,
    .film-section,
    .values-section,
    .testimonials-section,
    .cta-section {
        padding: 88px 0;
    }

    .hero-copy h1 {
        font-size: clamp(3.2rem, 17vw, 4.8rem);
    }

    .hero-notes,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 460px;
    }

    .hero-card-main {
        inset: 0 26px 62px 0;
    }

    .hero-card-accent {
        width: 160px;
        height: 210px;
    }

    .hero-badge {
        left: 14px;
        right: 14px;
        bottom: 16px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-card:nth-child(n) {
        grid-column: auto;
    }

    .portfolio-trigger {
        min-height: 360px;
    }

    .values-panel,
    .cta-panel,
    .testimonial-card,
    .film-copy {
        padding: 24px;
    }

    .testimonial-track {
        display: flex;
        overflow: hidden;
    }

    .testimonial-card {
        min-width: 100%;
    }

    .testimonial-dots {
        display: flex;
        gap: 10px;
        justify-content: center;
        margin-top: 20px;
    }

    .testimonial-dots button {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        border: 0;
        background: rgba(23, 20, 17, 0.18);
        padding: 0;
    }

    .testimonial-dots button.is-active {
        background: var(--gold);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
