/* Appert Films - A24-language rebuild. Original code. */
:root {
  --ink: #0e0e0d;          /* warm-neutral-1000 */
  --ink-975: #141313;
  --ink-925: #42403d;
  --paper: #fcfbfa;        /* warm-neutral-25 */
  --bg: #f2f0ed;           /* warm-neutral-50 */
  --line-l: #e8e6e2;       /* warm-neutral-100 */
  --line-l2: #d6d4d1;      /* warm-neutral-200 */
  --ph-l: #e8e6e2;         /* placeholder on light */
  --ph-d: #31302e;         /* warm-neutral-950 placeholder on dark */
  --mut-l: #6f6d6a;        /* warm-neutral-800 */
  --mut-d: #9e9b94;        /* warm-neutral-600 */
  --gut: 24px;             /* outer gutter */
  --col-gut: 24px;
  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --mono: "Spline Sans Mono", "Courier New", ui-monospace, monospace;
  --nav-h: 64px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); font-weight: 400; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
body.dark { background: var(--ink); color: var(--paper); }
img { display: block; }
a { color: inherit; text-decoration: none; }
.mono { font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- nav ---------- */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gut); height: var(--nav-h); color: #fff; mix-blend-mode: difference; }
nav .logo img { height: 28px; width: auto; }
nav .logo img { display: block; }
nav .links { display: flex; gap: 28px; align-items: center; }
nav .links a { font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
nav .links a:hover { opacity: 1; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: inherit; background: transparent; border: 1px solid currentColor; padding: 11px 18px; cursor: pointer; transition: background .18s ease, color .18s ease; }
.btn:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.on-light .btn:hover, .light .btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn.solid { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn.solid:hover { opacity: .9; }

/* ---------- home hero (stacking slides) ---------- */
.hero-stack { position: relative; }
.slide { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.slide .media { position: absolute; inset: 0; background: var(--ink-975); display: flex; align-items: center; justify-content: center; }
.slide .media .ph-note { color: var(--mut-d); }
.slide:nth-child(2) .media { background: var(--ph-d); }
.slide .body { position: absolute; left: var(--gut); right: var(--gut); bottom: 40px; color: var(--paper); }
.slide .kicker { margin-bottom: 14px; color: var(--mut-d); }
.slide h1 { font-weight: 500; font-size: clamp(52px, 9vw, 136px); letter-spacing: -.03em; line-height: .95; margin-bottom: 26px; }
.slide .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- sections ---------- */
section.block { padding: 72px var(--gut) 88px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; border-top: 1px solid var(--line-l); padding-top: 12px; margin-bottom: 36px; }
.dark .sec-head { border-color: var(--ph-d); }
.sec-head .left { display: flex; gap: 10px; align-items: baseline; }
.sec-head a.arr { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.sec-head a.arr:hover { text-decoration: underline; }
.sec-head .right { color: var(--mut-d); }
.light .sec-head .right { color: var(--mut-l); }

/* poster carousel */
.posters { display: flex; gap: var(--col-gut); overflow-x: auto; scrollbar-width: none; }
.posters::-webkit-scrollbar { display: none; }
.posters .card { flex: 0 0 200px; }
.posters .card .art { aspect-ratio: 2/3; background: var(--ph-d); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.light .posters .card .art { background: var(--ph-l); }
.posters .card .art span { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: var(--mut-d); text-transform: uppercase; }
.light .posters .card .art span { color: var(--mut-l); }
.posters .card .t { font-weight: 500; font-size: 15px; letter-spacing: -.01em; }
.posters .card .y { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--mut-d); margin-top: 3px; text-transform: uppercase; }
.light .posters .card .y { color: var(--mut-l); }

/* upcoming feature */
.feature { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--col-gut); align-items: end; }
.feature .media { aspect-ratio: 16/9; background: var(--ph-d); display: flex; align-items: center; justify-content: center; }
.light .feature .media { background: var(--ph-l); }
.feature .kicker { color: var(--mut-d); margin-bottom: 14px; }
.light .feature .kicker { color: var(--mut-l); }
.feature h2 { font-weight: 500; font-size: clamp(40px, 5vw, 76px); letter-spacing: -.03em; line-height: .95; margin-bottom: 18px; }
.feature .credits { margin: 18px 0 26px; display: grid; gap: 6px; }
.feature .credits p { font-size: 15px; }
.feature .credits .mono { color: var(--mut-d); }
.light .feature .credits .mono { color: var(--mut-l); }

/* showcase band */
.band { text-align: left; }
.band h2 { font-weight: 500; font-size: clamp(48px, 7vw, 110px); letter-spacing: -.03em; line-height: .95; margin: 14px 0 26px; max-width: 12ch; }
.band p.lede { font-size: 17px; line-height: 1.45; max-width: 52ch; margin-bottom: 30px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--ph-d); padding: 72px var(--gut) 0; background: var(--ink); color: var(--paper); }
.foot-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--col-gut); }
.subscribe { grid-column: 1 / 7; }
.subscribe h3 { font-weight: 500; font-size: clamp(32px, 3.6vw, 54px); letter-spacing: -.02em; line-height: 1; margin-bottom: 24px; }
.subscribe form { display: flex; max-width: 440px; border-bottom: 1px solid var(--paper); }
.subscribe input { flex: 1; background: none; border: none; outline: none; color: var(--paper); font-family: var(--sans); font-size: 15px; padding: 10px 0; }
.subscribe input::placeholder { color: var(--mut-d); }
.subscribe button { background: none; border: none; color: var(--paper); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; padding: 0 4px; }
.subscribe .note { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; color: var(--mut-d); margin-top: 12px; text-transform: uppercase; }
.foot-nav { grid-column: 8 / 13; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: var(--col-gut); }
.foot-nav ul { list-style: none; display: grid; gap: 10px; align-content: start; }
.foot-nav a { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.foot-nav a:hover { opacity: 1; text-decoration: underline; }
.legal { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--ph-d); margin-top: 64px; padding: 20px 0 22px; }
.legal p { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; color: var(--mut-d); text-transform: uppercase; }

/* ---------- films page ---------- */
.page-head { padding: calc(var(--nav-h) + 64px) var(--gut) 48px; }
.page-head .mono { color: var(--mut-l); }
.page-head h1 { font-weight: 500; font-size: clamp(72px, 15vw, 240px); letter-spacing: -.035em; line-height: .88; margin-top: 10px; }
.film-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px var(--col-gut); padding: 24px var(--gut) 120px; }
.film-grid .card .art { aspect-ratio: 2/3; background: var(--ph-l); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; transition: opacity .18s ease; }
.film-grid .card:hover .art { opacity: .88; }
.film-grid .card .art span { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: var(--mut-l); text-transform: uppercase; }
.film-grid .card .t { font-weight: 500; font-size: 15px; }
.film-grid .card .y { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--mut-l); margin-top: 3px; text-transform: uppercase; }

/* ---------- title page ---------- */
.title-hero { position: relative; height: 100svh; background: var(--ink-975); display: flex; align-items: center; justify-content: center; }
.title-hero .play { width: 76px; height: 76px; border: 1px solid var(--paper); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--paper); background: transparent; cursor: pointer; transition: background .18s ease, color .18s ease; }
.title-hero .play:hover { background: var(--paper); color: var(--ink); }
.title-hero .play svg { width: 20px; height: 20px; margin-left: 3px; }
.title-hero .ph-note { position: absolute; bottom: 32px; left: 0; right: 0; text-align: center; color: var(--mut-d); }
.title-body { padding: 64px var(--gut) 96px; background: var(--bg); }
.title-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.title-top h1 { font-weight: 500; font-size: clamp(56px, 9vw, 140px); letter-spacing: -.035em; line-height: .9; }
.title-actions { display: flex; gap: 20px; }
.title-actions a { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.title-actions a::before { content: "▸ "; }
.title-actions a:hover { text-decoration: underline; }
.title-meta { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--col-gut); border-top: 1px solid var(--line-l2); padding-top: 28px; }
.title-meta .lab { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; color: var(--mut-l); text-transform: uppercase; margin-bottom: 10px; }
.title-meta p { font-size: 15px; line-height: 1.5; }

/* ---------- showcase page ---------- */
.show-hero { padding: calc(var(--nav-h) + 72px) var(--gut) 72px; }
.show-hero .mono { color: var(--mut-l); }
.show-hero h1 { font-weight: 500; font-size: clamp(56px, 10vw, 160px); letter-spacing: -.035em; line-height: .9; margin: 12px 0 32px; max-width: 11ch; }
.show-hero .lede { font-size: 17px; line-height: 1.45; max-width: 52ch; margin-bottom: 36px; }
.show-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--col-gut); padding: 0 var(--gut) 80px; }
.show-cols .c { border-top: 1px solid var(--line-l2); padding-top: 14px; }
.show-cols .lab { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; color: var(--mut-l); text-transform: uppercase; margin-bottom: 12px; }
.show-cols p { font-size: 15px; line-height: 1.5; }
.show-cta { padding: 0 var(--gut) 120px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.show-cta .mono { color: var(--mut-l); max-width: 320px; line-height: 1.8; }

@media (max-width: 900px) {
  :root { --gut: 16px; --col-gut: 16px; --nav-h: 56px; }
  nav .links { gap: 18px; }
  nav .links a:nth-child(4) { display: none; }
  .feature { grid-template-columns: 1fr; align-items: start; }
  .subscribe { grid-column: 1 / 13; margin-bottom: 48px; }
  .foot-nav { grid-column: 1 / 13; }
  .film-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 16px; }
  .title-meta { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .show-cols { grid-template-columns: 1fr; gap: 28px; }
  .slide .body { bottom: 28px; }
}

.legal .foot-mark { height: 18px; width: auto; opacity: .85; }

/* Public launch: no placeholder titles or signup. */
.launch-hero { min-height: 88svh; padding: 150px var(--gut) 64px; display:flex; flex-direction:column; align-items:flex-start; justify-content:flex-end; }
.launch-hero .kicker { color:var(--mut-d); margin-bottom:24px; }
.launch-hero h1 { font-size:clamp(58px,10vw,150px); font-weight:500; letter-spacing:-.035em; line-height:.92; margin-bottom:32px; }
.foot-nav { grid-column:1 / 13; grid-template-columns:1fr 1fr 2fr; }
@media (max-width:600px) { .foot-nav { grid-template-columns:1fr 1fr; } .foot-nav ul:last-child { grid-column:1 / -1; } nav .links {gap:16px;} }
