/* =========================================================
   Ilana Woldenberg
   Warm beige + near-black. Huge condensed display type.
   Reference: zendaya.com — scale and whitespace, not shrinking.
   ========================================================= */

:root {
    --bg: #E8E3DA;          /* warm beige */
    --bg-alt: #DFD9CE;      /* a half-step darker, for banding */
    --ink: #141312;         /* near black */
    --ink-dim: #6B6660;
    --rule: #C9C1B4;
    --white: #FFFFFF;
    --dark: #0E0E0E;        /* the reviews band */
    --accent: #FF1493;      /* hover + links only */

    --display: 'Anton', 'Inter', sans-serif;   /* heavy condensed — the whole personality */
    --body: 'Inter', -apple-system, system-ui, sans-serif;

    --gutter: 5vw;
    --max: 1440px;
    --t: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

/* The display face. Anton only ships one weight; tighten the tracking
   and it reads very close to the condensed grotesque on the reference. */
.display {
    font-family: var(--display);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 0.86;
}

/* ---------- Cursor ---------- */
#custom-cursor {
    position: fixed; top: 0; left: 0;
    width: 10px; height: 10px;
    background: var(--ink);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width var(--t), height var(--t), background var(--t);
    z-index: 9999;
}
#custom-cursor.hover { width: 44px; height: 44px; background: var(--accent); }
@media (hover: none) { #custom-cursor { display: none; } }

/* ---------- Nav: tiny, bulleted, spread across the top ---------- */
.navbar {
    position: fixed; top: 0; left: 0; right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem var(--gutter);
    z-index: 1000;
}
.nav-links { display: flex; gap: 2.5rem; }
.nav-links a, .nav-social a {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    color: var(--ink);
    transition: color var(--t);
}
.nav-links a::before { content: '•'; margin-right: 0.4em; }   /* the reference's bullet */
.nav-links a:hover, .nav-social a:hover { color: var(--accent); }
.logo {
    font-family: var(--display);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--ink);
}
.nav-links { margin-right: auto; margin-left: 3.5rem; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: var(--ink); }

/* The hero is now a light, washed-back video rather than a dark one, so the
   nav stays ink the whole way down. Kept as a hook in case the hero goes dark. */
.navbar.on-video .nav-links a,
.navbar.on-video .nav-social a { color: var(--ink); }
.navbar.on-video .hamburger span { background: var(--ink); }

/* ---------- Hero: full-page video, washed back so the type can breathe ----------
   The video plays at partial strength over the beige page and under a white
   veil, instead of at full strength under dark type. That is what stops the
   footage and the wordmark competing for the same pixels. */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    overflow: hidden;
    padding: 9rem var(--gutter) 5rem;
    background: var(--bg);
}
.hero-bg-video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
    /* halfway between the old 0.25 wash and the current full-strength play */
    opacity: 0.5;
    filter: grayscale(20%) contrast(1.05);
}
/* the white veil: strongest through the middle band, where the type sits */
.hero-section::after {
    content: '';
    position: absolute; inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse 75% 75% at 25% 50%, rgba(245,242,236,0.88) 0%, rgba(245,242,236,0.45) 55%, rgba(245,242,236,0) 100%),
        linear-gradient(180deg, rgba(232,227,218,0.55) 0%, rgba(232,227,218,0.15) 35%, rgba(232,227,218,0.30) 70%, var(--bg) 100%);
}
.hero-content { position: relative; z-index: 2; width: 100%; max-width: 1500px; }

/* edge-to-edge, like the reference wordmark */
.hero-title {
    font-family: var(--display);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: -0.015em;
    line-height: 0.95;
    font-size: clamp(3.5rem, 13vw, 13rem);
    color: var(--ink);
}
/* the third line goes oblique and dimmed, as on the original */
.hero-title em {
    font-style: normal;
    display: inline-block;
    transform: skewX(-9deg);
    color: var(--ink-dim);
}
/* The magenta dot. Drawn as a circle rather than coloured type: Anton's
   period is a square, which reads as a glitch at this size. */
.hero-title .dot {
    display: inline-block;
    width: 0.14em;
    height: 0.14em;
    margin-left: 0.03em;
    border-radius: 50%;
    background: var(--accent);
    text-indent: -9999px;
    overflow: hidden;
}

.hero-credential {
    margin-top: 2rem;
    font-size: clamp(0.65rem, 1vw, 0.8rem);
    text-transform: uppercase;
    letter-spacing: 0.24em;
    font-weight: 700;
    color: var(--ink-dim);
    line-height: 2.2;
    max-width: 980px;
}

.reel-link-wrapper { display: flex; gap: 1rem; justify-content: flex-start; flex-wrap: wrap; margin-top: 2.5rem; }
.btn {
    display: inline-block;
    padding: 1rem 2.4rem;
    border: 2px solid var(--ink);
    color: var(--ink);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 800;
    transition: background var(--t), color var(--t), border-color var(--t);
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn.ghost { border-color: rgba(20,19,18,0.35); }
.btn.ghost:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }


/* ---------- Featured carousel ---------- */
.featured-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
}
.carousel-nav { display: flex; gap: 0.6rem; flex-shrink: 0; }
.carousel-arrow {
    width: 46px; height: 46px;
    border: 2px solid var(--ink);
    background: transparent;
    color: var(--ink);
    font-size: 1rem;
    cursor: pointer;
    transition: background var(--t), color var(--t), opacity var(--t);
}
.carousel-arrow:hover { background: var(--ink); color: var(--bg); }
.carousel-arrow:disabled { opacity: 0.25; cursor: default; }
.carousel-arrow:disabled:hover { background: transparent; color: var(--ink); }

.carousel { overflow: hidden; }
.carousel-track {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;              /* the arrows are the affordance */
    padding-bottom: 0.25rem;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track .card {
    flex: 0 0 calc((100% - 2 * 1.25rem) / 3);   /* three in view */
    scroll-snap-align: start;
}
/* the reels carousel is 9:16, so show five narrower cards in view */
.carousel.reels .carousel-track .card { flex: 0 0 calc((100% - 4 * 1.25rem) / 5); }
@media (max-width: 1024px) { .carousel.reels .carousel-track .card { flex-basis: calc((100% - 2 * 1.25rem) / 3); } }
@media (max-width: 640px)  { .carousel.reels .carousel-track .card { flex-basis: calc((100% - 1.25rem) / 2); } }
@media (max-width: 1024px) {
    .carousel-track .card { flex-basis: calc((100% - 1.25rem) / 2); }
}
@media (max-width: 640px) {
    .carousel-track .card { flex-basis: 100%; }
    .featured-header { flex-direction: column; align-items: flex-start; }
}

/* ---------- Marquee ---------- */
.marquee {
    background: var(--ink);
    color: var(--bg);
    overflow: hidden;
    padding: 1rem 0;
    white-space: nowrap;
}
.marquee-track { display: inline-flex; gap: 3rem; animation: slide 40s linear infinite; }
.marquee span {
    font-family: var(--display);
    font-size: 1.35rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.marquee span::after { content: '•'; margin-left: 3rem; opacity: 0.45; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- Intro: a lede, a body, and an index of facts ---------- */
.intro {
    max-width: var(--max);
    margin: 6rem auto 7rem;
    padding: 0 var(--gutter);
}
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}
.intro-lede {
    font-family: var(--display);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 0.94;
    font-size: clamp(1.8rem, 3.4vw, 3.2rem);
    color: var(--ink);
}
.intro-body p {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--ink-dim);
}
.intro-body p + p { margin-top: 1.4rem; }
.intro-body strong { color: var(--ink); font-weight: 700; }

/* the fact index — a rule of credentials, numbered like a contents page */
.intro-facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    list-style: none;
    margin-top: 4rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--rule);
}
.intro-facts li {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 700;
    color: var(--ink);
}
.intro-facts span { color: var(--accent); font-size: 0.62rem; }

@media (max-width: 900px) {
    .intro-grid { grid-template-columns: 1fr; gap: 2rem; }
    .intro-facts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
    .intro-facts { grid-template-columns: 1fr; }
}

/* ---------- Sections ---------- */
.work-section, .about-section, .connect-section {
    padding: 0 var(--gutter);
    max-width: var(--max);
    margin: 0 auto;
}
.section-header { margin: 5rem 0 1.75rem; }
.section-title {
    font-family: var(--display);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 0.9;
    font-size: clamp(2.6rem, 7vw, 6rem);   /* big, per the reference */
}
.section-note {
    display: none;   /* grey descriptor lines under section titles removed */
    margin-top: 0.6rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 700;
    color: var(--ink-dim);
}

/* ---------- Grids ---------- */
.projects-grid, .projects-grid-vertical, .projects-grid-theater {
    display: grid;
    gap: 2rem 1.25rem;
}
.grid-featured  { grid-template-columns: repeat(3, 1fr); }   /* 3  = 1 x 3 */
.grid-archive   { grid-template-columns: repeat(6, 1fr); }   /* 41 in a 6-wide index */
.projects-grid-theater  { grid-template-columns: repeat(3, 1fr); } /* 6 = 2 x 3 */

/* Vertical grid: flex-wrap with a centred last row, so a mixed count
   (Are You Okay episodes + social reels + more) always reads as an even
   block instead of leaving a ragged gap. */
.projects-grid-vertical {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem 1.25rem;
}
.projects-grid-vertical .card { flex: 0 0 calc((100% - 5 * 1.25rem) / 6); }

.card { display: block; }
.card .frame {
    position: relative;
    overflow: hidden;
    background: var(--bg-alt);
    border-radius: 4px;
}
.card.landscape .frame { aspect-ratio: 16 / 9; }
.card.vertical  .frame { aspect-ratio: 9 / 16; }
.card.poster    .frame { aspect-ratio: 2 / 3; }
.card .frame .img {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    /* tiles read in full colour; the mono wash is now the hover state */
    filter: grayscale(0%) contrast(1);
    transition: transform 0.7s cubic-bezier(0.4,0,0.2,1), filter 0.45s ease;
}
.card:hover .frame .img {
    transform: scale(1.05);
    filter: grayscale(100%) contrast(1.05);
}

/* Theater posters are full key art with the show title baked in near the
   bottom edge. 'cover' cropped that title off, so letterbox each poster on a
   black frame — the black border sits just inside the rectangle and gives the
   whole poster, title included, room to show. */
.card.poster .frame { background: #000; }
.card.poster .frame .img {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.card.poster:hover .frame .img { transform: scale(1.03); }

/* credit line under each card — bulleted, ruled, straight from the reference's list */
.card .meta {
    margin-top: 0.7rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid var(--rule);
    transition: border-color var(--t);
}
.card:hover .meta { border-color: var(--accent); }
.card .name {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 800;
    line-height: 1.35;
    /* reserve two lines so a wrapping title doesn't push its rule out of
       line with the rest of the row */
    min-height: calc(2 * 1.35em);
    transition: color var(--t);
}
.card .name::before { content: '•'; margin-right: 0.4em; }
.card:hover .name { color: var(--accent); }
.card .role {
    margin-top: 0.15rem;
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    line-height: 1.5;
    color: var(--ink-dim);
    /* reserve two lines, as with .name — an outlet credit that wraps must not
       drag its rule out of line with the rest of the row */
    min-height: calc(2 * 1.5em);
}

/* ---------- Go to Library CTA (index) ---------- */
.library-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 2.5rem;
    padding: 1.9rem 2.2rem;
    border: 2px solid var(--ink);
    border-radius: 6px;
    background: transparent;
    transition: background var(--t), color var(--t);
}
.library-cta:hover { background: var(--ink); }
.library-cta:hover .library-cta-title,
.library-cta:hover .library-cta-arrow { color: var(--bg); }
.library-cta:hover .library-cta-label { color: rgba(232,227,218,0.6); }
.library-cta-text { display: flex; flex-direction: column; gap: 0.35rem; }
.library-cta-label {
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    color: var(--ink-dim);
}
.library-cta-title {
    font-family: var(--display);
    text-transform: uppercase;
    letter-spacing: 0.01em;
    line-height: 1;
    font-size: clamp(1.6rem, 3.2vw, 2.4rem);
    color: var(--ink);
}
.library-cta-arrow {
    font-size: 1.8rem;
    color: var(--ink);
    flex-shrink: 0;
    transition: transform var(--t), color var(--t);
}
.library-cta:hover .library-cta-arrow { transform: translateX(6px); }

/* ---------- Long Form Library (library.html) ---------- */
.library-main {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--gutter) 6rem;
}
.library-header { padding: 9rem 0 3rem; }
.library-back {
    display: inline-block;
    margin-bottom: 2rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 700;
    color: var(--ink-dim);
    transition: color var(--t);
}
.library-back:hover { color: var(--accent); }
/* Flex wrap with a centred final row, so 41 tiles read as an even block
   instead of leaving a ragged gap where the grid runs short. */
.library-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem 1.25rem;
}
.library-grid .card { flex: 0 0 calc((100% - 5 * 1.25rem) / 6); }
.library-foot { margin-top: 4rem; text-align: center; }
@media (max-width: 1200px) {
    .library-grid .card { flex-basis: calc((100% - 2 * 1.25rem) / 3); }
}
@media (max-width: 900px) {
    .library-grid .card { flex-basis: calc((100% - 1.25rem) / 2); }
}
@media (max-width: 768px) {
    .library-grid .card { flex-basis: 100%; }
    .library-cta { flex-direction: row; }
}

/* ---------- Library subsections (Long Form / Short Form) ---------- */
.library-subhead {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin: 3.5rem 0 1.75rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid var(--rule);
}
.library-subhead:first-of-type { margin-top: 1rem; }
.library-subhead h2 {
    font-family: var(--display);
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 0.9;
    font-size: clamp(1.9rem, 4vw, 3rem);
}
.library-subhead .count {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-dim);
}

/* ---------- In the Press: an editorial two-column clip list ---------- */
.press-section { padding: 0 var(--gutter); max-width: var(--max); margin: 0 auto; }
.press-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem 4rem;
    margin-top: 1rem;
}
.press-col h3 {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 800;
    color: var(--accent);
    padding-bottom: 1rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--rule);
}
.press-item {
    display: block;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--rule);
    transition: padding-left var(--t);
}
.press-item:hover { padding-left: 0.6rem; }
.press-headline {
    font-size: 1.02rem;
    line-height: 1.35;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.01em;
    transition: color var(--t);
}
.press-item:hover .press-headline { color: var(--accent); }
.press-outlet {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 700;
    color: var(--ink-dim);
}
.press-all {
    display: inline-block;
    margin-top: 1.2rem;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 800;
    color: var(--ink);
    border-bottom: 2px solid var(--accent);
    padding-bottom: 2px;
}
@media (max-width: 768px) {
    .press-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ---------- Impact stats: a bold dark band of headline numbers ---------- */
.stats-section {
    background: var(--dark);
    color: var(--white);
    margin-top: 7rem;
    padding: 5rem var(--gutter);
}
.stats-inner {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
}
.stat { padding-left: 1.25rem; border-left: 2px solid var(--accent); }
.stat-num {
    font-family: var(--display);
    font-weight: 400;
    line-height: 0.86;
    letter-spacing: -0.01em;
    font-size: clamp(2.6rem, 4.2vw, 4rem);
    font-variant-numeric: tabular-nums;
}
.stat-num .unit { color: var(--accent); }
.stat-label {
    margin-top: 1rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 700;
    line-height: 1.4;
    color: rgba(255,255,255,0.55);
}
@media (max-width: 1000px) {
    .stats-inner { grid-template-columns: repeat(3, 1fr); gap: 2.5rem 1.5rem; }
}
@media (max-width: 620px) {
    .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1.25rem; }
}

/* the vertical carousel drops its format descriptor line for a cleaner look */
.carousel.reels .card .role { display: none; }

/* ---------- Reviews: a dark band cut into the beige ---------- */
.reviews-section {
    background: var(--dark);
    color: var(--white);
    margin-top: 9rem;
    padding: 6rem var(--gutter) 7rem;
}
.reviews-inner { max-width: var(--max); margin: 0 auto; }
.reviews-section .section-title { color: var(--white); }
.reviews-section .section-note { color: rgba(255,255,255,0.5); }
.reviews-section .section-header { margin-top: 0; }

/* Uniform testimonial cards on an even 3-across grid. grid-auto-rows:1fr keeps
   every card the same height regardless of quote length, so the block reads as
   a clean rectangle; the quote centres and the attribution pins to the bottom. */
.reviews-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}
.review-card {
    flex: 0 0 calc((100% - 2 * 1.5rem) / 3);
    display: flex;
    flex-direction: column;
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 10px;
    padding: 2.4rem 2rem 1.8rem;
    margin: 0;
}
.review-card blockquote {
    flex: 1;
    display: flex;
    align-items: center;
    margin: 0;
    position: relative;
    font-size: 1.06rem;
    line-height: 1.55;
    font-weight: 500;
    color: rgba(255,255,255,0.94);
    letter-spacing: -0.01em;
}
.review-card blockquote::before {
    content: '\201C';
    position: absolute;
    top: -1.9rem;
    left: -0.4rem;
    font-family: var(--display);
    font-size: 3.4rem;
    line-height: 1;
    color: var(--accent);
}
.review-card figcaption {
    margin-top: 1.6rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(255,255,255,0.12);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.rc-handle {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--white);
}
.rc-src {
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255,255,255,0.45);
}

/* ---------- My Story: two black-and-white photographs beside the bio ---------- */
.about-section {
    margin: 7rem auto 0;
    max-width: var(--max);
    padding: 0 var(--gutter);
}
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}
.story-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.story-photos img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
    /* the two personal photographs, entirely black and white */
    filter: grayscale(100%) contrast(1.05);
}
.story-text .section-title { font-size: clamp(2.4rem, 5vw, 4.5rem); }
.about-bio {
    margin-top: 1.2rem;
    font-size: 1rem;
    line-height: 1.9;
    color: var(--ink-dim);
}
.about-bio strong { color: var(--ink); font-weight: 700; }

/* ---------- Connect: the big type she asked for ---------- */
.connect-section { margin-top: 9rem; padding-bottom: 3rem; }
.contact-links {
    display: flex;
    flex-direction: column;
    border-top: 2px solid var(--ink);
}
.contact-link {
    font-family: var(--display);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    font-size: clamp(2.2rem, 6.5vw, 5.5rem);
    line-height: 1.25;
    padding: 0.6rem 0;
    border-bottom: 2px solid var(--ink);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color var(--t), padding-left var(--t);
}
.contact-link:hover { color: var(--accent); padding-left: 1.5rem; }
.contact-link .arrow { font-size: 0.35em; opacity: 0.4; }

footer {
    margin-top: 4rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 600;
    color: var(--ink-dim);
}

/* ---------- Reel modal ---------- */
.video-modal {
    position: fixed; inset: 0;
    background: rgba(10,10,10,0.97);
    display: none; align-items: center; justify-content: center;
    z-index: 2000;
}
.video-modal.active { display: flex; }
.video-modal-content { width: 90%; max-width: 1100px; }
.video-modal-content video { width: 100%; display: block; }
.close-video {
    position: absolute; top: 2rem; right: 2.5rem;
    font-size: 2rem; cursor: pointer; color: var(--white);
    transition: color var(--t);
}
.close-video:hover { color: var(--accent); }

/* ---------- Responsive: counts that still divide ---------- */
@media (max-width: 1200px) {
    .grid-archive           { grid-template-columns: repeat(3, 1fr); }  /* 6-wide steps to 3 */
    .projects-grid-vertical { grid-template-columns: repeat(3, 1fr); }  /* 6  = 2 x 3  */
    .projects-grid-theater  { grid-template-columns: repeat(2, 1fr); }  /* 6  = 3 x 2  */
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    
}
@media (max-width: 900px) {
    .grid-featured,
    .grid-archive { grid-template-columns: repeat(2, 1fr); }
    .projects-grid-vertical .card { flex-basis: calc((100% - 2 * 1.25rem) / 3); }
    .review-card { flex-basis: calc((100% - 1.5rem) / 2); }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .grid-featured,
    .grid-archive,
    .projects-grid-theater { grid-template-columns: 1fr; }
    .projects-grid-vertical .card { flex-basis: calc((100% - 1.25rem) / 2); }
    .review-card { flex-basis: 100%; }
    .story-strip { grid-template-columns: repeat(2, 1fr); }
    .section-header { margin: 5rem 0 2rem; }
    .intro { margin: 5rem auto; }
    footer { flex-direction: column; gap: 0.5rem; }
}
