.container {
    width: 100%;
    max-width: var(--max-width);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.container--narrow {
    max-width: var(--max-width-narrow);
}

.container--wide {
    max-width: var(--max-width-wide);
}

.container--full {
    max-width: 100%;
    padding-inline: 0;
}

.section {
    padding-block: var(--space-section);
}

.section--flush {
    padding-block: 0;
}

/* ── Hero ── */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    overflow: hidden;
}

.hero__content {
    position: relative;
    z-index: 2;
    padding: var(--gutter);
    padding-bottom: clamp(2.5rem, 2rem + 4vw, 6rem);
}

.hero__brand {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hero__title {
    font-family: var(--font-sans);
    font-size: var(--fs-hero);
    font-weight: 900;
    line-height: 0.88;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    color: #EDE9E3;
}

.hero__title .accent {
    color: var(--accent);
}

.hero__tagline {
    font-family: var(--font-serif);
    font-size: var(--fs-xl);
    font-style: italic;
    font-weight: 400;
    color: rgba(237, 233, 227, 0.65);
    margin-top: 0.4em;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(6, 5, 4, 0.75) 0%,
        rgba(6, 5, 4, 0.15) 45%,
        transparent 100%
    );
    z-index: 1;
    pointer-events: none;
}

.hero__scroll {
    position: absolute;
    bottom: var(--space-md);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--fs-xs);
    letter-spacing: var(--ls-wider);
    text-transform: uppercase;
}

.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.hero__scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent);
    animation: scrollLine 2s var(--ease-in-out) infinite;
}

@keyframes scrollLine {
    0% { top: -100%; }
    50% { top: 100%; }
    100% { top: 100%; }
}

/* ── Hero Video ── */

.hero-video {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-video__poster {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-video__iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 177.78vh;
    height: 100vh;
    min-width: 100%;
    min-height: 56.25vw;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}

.hero-video__controls {
    position: absolute;
    bottom: var(--space-lg);
    right: var(--gutter);
    z-index: 3;
}

.hero-video__sound {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--duration-fast);
    cursor: pointer;
}

.hero-video__sound:hover {
    color: #FFFFFF;
}

/* ── Section Headers ── */

.section-header {
    margin-bottom: clamp(2rem, 1.5rem + 2.5vw, 4.5rem);
}

/* ── Project Grid ── */

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.project-grid--two {
    grid-template-columns: repeat(2, 1fr);
}

.project-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.project-card--featured {
    grid-column: 1 / -1;
}

.project-card--featured .project-card__media {
    aspect-ratio: 21/9;
}

.project-card__media {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--bg-card);
}

.project-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}

.project-card:hover .project-card__img {
    transform: scale(1.03);
}

.project-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--duration-normal) var(--ease-smooth);
}

.project-card:hover .project-card__overlay {
    background: rgba(0, 0, 0, 0.3);
}

.project-card__play {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity var(--duration-normal) var(--ease-out),
                transform var(--duration-normal) var(--ease-out);
    color: #FFFFFF;
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: var(--ls-wider);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-card:hover .project-card__play {
    opacity: 1;
    transform: scale(1);
}

.project-card__info {
    padding-top: var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-sm);
}

.project-card__title {
    font-size: var(--fs-md);
    font-weight: 600;
    line-height: var(--lh-snug);
    transition: color var(--duration-fast);
}

.project-card:hover .project-card__title {
    color: var(--accent);
}

.project-card__meta {
    font-size: var(--fs-xs);
    color: var(--text-secondary);
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
    display: flex;
    gap: var(--space-sm);
    flex-shrink: 0;
}

.project-card__client {
    color: var(--text-muted);
}

/* ── Vimeo Player ── */

.vimeo-player--responsive {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: var(--bg-pure);
}

.vimeo-player--responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.vimeo-lazy {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--bg-card);
    cursor: pointer;
}

.vimeo-lazy__poster {
    position: relative;
    width: 100%;
    height: 100%;
}

.vimeo-lazy__poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vimeo-lazy__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #FFFFFF;
    transition: transform var(--duration-normal) var(--ease-out),
                color var(--duration-fast);
    cursor: pointer;
    z-index: 2;
}

.vimeo-lazy:hover .vimeo-lazy__play {
    transform: translate(-50%, -50%) scale(1.1);
    color: var(--accent);
}

/* ── Divider ── */

.divider {
    width: 100%;
    height: 1px;
    background: var(--border);
    border: none;
}

.divider--accent {
    background: var(--accent);
    height: 2px;
    width: 60px;
}
