:root {
  --ink: #10100f;
  --paper: #f3efe6;
  --paper-2: #e8e1d4;
  --accent: #ff4d1c;
  --gold: #d9a927;
  --muted: #706d66;
  --line: rgba(16, 16, 15, .16);
  --display: "Oswald", Impact, sans-serif;
  --body: "Manrope", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); }
body.dialog-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
input[type="search"]::-webkit-search-cancel-button { -webkit-appearance:none; appearance:none; }

.site-header {
  position: sticky; top: 0; z-index: 20;
  height: 76px; padding: 0 clamp(20px, 4vw, 64px);
  display: flex; align-items: center; justify-content: space-between; gap:20px;
  color: var(--paper); background: rgba(16,16,15,.96); border-bottom: 1px solid #333;
  backdrop-filter: blur(12px);
}
.brand { display: flex; align-items: center; gap: 10px; font: 700 22px var(--display); letter-spacing: .03em; }
.brand-logo { width:58px; height:40px; flex:0 0 auto; object-fit:contain; }
.brand-accent, .footer-brand span { color: var(--accent); }
nav { display: flex; gap: 34px; font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
nav a { opacity: .72; transition: opacity .2s; }
nav a:hover, nav a:focus-visible { opacity: 1; }
.find-me-link { min-height:40px; padding:0 15px; display:inline-flex; align-items:center; justify-content:center; color:white; background:var(--accent); font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.09em; white-space:nowrap; transition:transform .2s,background .2s; }
.find-me-link:hover, .find-me-link:focus-visible { transform:translateY(-2px); background:#ff6139; }
.inline-arrow { width:15px; height:15px; margin-left:6px; flex:0 0 auto; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:square; stroke-linejoin:miter; }

.hero { padding: clamp(56px, 8vw, 110px) clamp(20px, 6vw, 90px) 0; background: var(--ink); color: var(--paper); overflow: hidden; }
.hero-kicker { display: flex; align-items: center; gap: 14px; color: #aaa69d; font-size: 11px; font-weight: 700; letter-spacing: .2em; }
.hero-kicker span { width: 50px; height: 2px; background: var(--accent); }
.hero-grid { max-width: 1400px; margin: 34px auto 0; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(48px, 7vw, 110px); align-items: end; }
h1, h2, h3 { font-family: var(--display); text-transform: uppercase; margin: 0; }
h1 { font-size: clamp(70px, 10vw, 155px); line-height: .84; letter-spacing: -.045em; }
h1 em { color: var(--accent); font-style: normal; }
.hero-intro { max-width: 660px; margin: 36px 0 0; color: #bcb8ae; font-size: clamp(15px, 1.3vw, 19px); line-height: 1.7; }
.header-search { flex:1; max-width:350px; min-width:200px; min-height:40px; display:grid; grid-template-columns:auto minmax(0,1fr) auto auto; align-items:center; color:var(--ink); background:var(--paper); border:2px solid var(--paper); }
.header-search:focus-within { border-color:var(--accent); }
.header-search svg { width:17px; margin-left:10px; fill:none; stroke:currentColor; stroke-width:1.8; }
.header-search input { min-width:0; width:100%; height:36px; padding:0 10px; color:var(--ink); background:transparent; border:0; outline:0; font-size:12px; }
.header-search button[type="submit"] { align-self:stretch; padding:0 12px; color:white; background:var(--accent); border:0; cursor:pointer; font-size:10px; font-weight:800; letter-spacing:.07em; text-transform:uppercase; }
.search-clear { width:32px; height:32px; padding:0; display:grid; place-items:center; color:var(--muted); background:transparent; border:0; cursor:pointer; }
.search-clear:hover, .search-clear:focus-visible { color:var(--accent); outline:2px solid var(--accent); outline-offset:-4px; }
.search-clear svg { width:16px !important; height:16px !important; margin:0 !important; padding:0 !important; fill:none !important; stroke:currentColor !important; stroke-width:2 !important; stroke-linecap:square; }
.search-clear[hidden] { display:none; }
.mobile-sticky-search { display:none; }
.hero, .section { scroll-margin-top:90px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 0 24px; border: 1px solid transparent; cursor: pointer; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: white; }
.button-secondary { background:transparent; border-color: #56534e; color: var(--paper); }
.button-secondary:hover { background: var(--paper); color: var(--ink); }

.latest-feature { min-height: 560px; padding: clamp(30px, 4vw, 54px); position: relative; display: flex; flex-direction: column; justify-content: flex-end; background: #25231f; color: white; isolation: isolate; overflow: hidden; }
.latest-feature::before, .latest-feature::after { display:none; }
.feature-poster { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 18%; z-index:-3; }
.feature-shade { position:absolute; inset:0; z-index:-2; background:linear-gradient(180deg,rgba(10,10,9,.06) 0%,rgba(10,10,9,.48) 43%,rgba(10,10,9,.97) 100%); }
.feature-content { display:block; }
.feature-label { position:absolute; top:26px; left:28px; padding:7px 10px; background:var(--accent); font-size:10px; letter-spacing:.15em; font-weight:700; }
.feature-date { margin-bottom: 14px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.latest-feature h2 { font-size: clamp(45px, 5vw, 78px); line-height: .96; }
.feature-rating { margin: 18px 0; font: 700 20px var(--display); }
.feature-excerpt { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; line-height: 1.65; }
.feature-open { margin-top: 24px; align-self: flex-start; padding: 0 0 5px; color: white; background: none; border: 0; border-bottom: 2px solid var(--ink); cursor: pointer; font-size: 11px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.stats { max-width: 1400px; margin: 72px auto 0; border-top: 1px solid #353431; display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 18px 30px 0; border-right: 1px solid #353431; }
.stat:last-child { border-right: 0; padding-left: 28px; }
.stat:not(:first-child) { padding-left: 28px; }
.stat strong { display: block; font: 600 clamp(28px, 3vw, 44px) var(--display); }
.stat span { color: #8f8c85; font-size: 10px; text-transform: uppercase; letter-spacing: .15em; }
.ticker { overflow: hidden; padding: 17px 0; background: var(--gold); white-space: nowrap; font: 700 15px var(--display); letter-spacing: .13em; }
.ticker div { min-width: max-content; animation: ticker 26s linear infinite; }
.ticker span { margin: 0 28px; color: var(--accent); }
@keyframes ticker { to { transform: translateX(-30%); } }

.section { padding: clamp(70px, 9vw, 130px) clamp(20px, 6vw, 90px); }
.section-heading { max-width: 1400px; margin: 0 auto 42px; display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.eyebrow { margin: 0 0 8px; color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.section-heading h2 { font-size: clamp(48px, 7vw, 96px); line-height: 1; letter-spacing: -.03em; }
.section-heading > p { max-width: 430px; margin: 0 0 8px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.top-shelf { background: var(--paper-2); }
.shelf-grid { max-width: 1400px; margin: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--ink); border: 2px solid var(--ink); }
.shelf-card { position:relative; display:flex; flex-direction:column; background:var(--paper); cursor:pointer; overflow:hidden; transition:background .2s,color .2s; }
.shelf-card:hover { background: var(--ink); color: var(--paper); }
.shelf-poster-wrap { position:relative; aspect-ratio:16/10; overflow:hidden; background:#24231f; }
.shelf-poster { width:100%; height:100%; object-fit:cover; object-position:center 22%; filter:saturate(.85); transition:transform .35s,filter .35s; }
.shelf-card:hover .shelf-poster { transform:scale(1.035); filter:saturate(1); }
.shelf-number { position:absolute; left:16px; bottom:-13px; color:var(--paper); text-shadow:0 3px 18px rgba(0,0,0,.55); font:700 72px var(--display); line-height:1; }
.shelf-copy { min-height:180px; padding:24px; display:flex; flex-direction:column; justify-content:space-between; }
.shelf-card h3 { font-size: clamp(26px, 2.6vw, 42px); line-height: 1.02; }
.shelf-meta { display:flex; justify-content:space-between; gap:10px; margin-top:20px; font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.08em; }
.rating { color: var(--accent); }

.archive { background: var(--paper); }
.archive-count { min-width: 120px; text-align: right; }
.archive-count strong { display: block; font: 600 44px var(--display); }
.archive-count span { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.filters { max-width: 1400px; margin: 0 auto 34px; display:grid; grid-template-columns: minmax(260px, 1fr) repeat(3, auto); border: 1px solid var(--ink); background: var(--paper); }
.filters label { border-right: 1px solid var(--line); }
.filters label:last-child { border-right: 0; }
.search-field { display:flex; align-items:center; padding-left:17px; }
.search-field svg { width:20px; fill:none; stroke:currentColor; stroke-width:1.8; }
.filters input, .filters select { width:100%; height:56px; padding:0 42px 0 16px; color:var(--ink); background:transparent; border:0; outline:0; font-size:12px; font-weight:600; }
.search-field input { padding-right:8px; }
.search-field .search-clear { flex:0 0 38px; margin-right:7px; }
.filters select { min-width:150px; cursor:pointer; }
.filters label:focus-within { box-shadow: inset 0 -3px var(--accent); }
.review-grid { max-width:1400px; margin:auto; display:grid; grid-template-columns:repeat(3, 1fr); gap: 22px; }
.review-card { min-height: 520px; display:grid; grid-template-rows:auto 1fr; background:white; border:1px solid var(--line); overflow:hidden; transition:transform .2s,box-shadow .2s; }
.review-card:hover { transform:translateY(-4px); box-shadow: 8px 10px 0 var(--ink); }
.poster-button { width:100%; aspect-ratio:16/9; padding:0; background:#24231f; border:0; cursor:pointer; overflow:hidden; }
.card-poster { width:100%; height:100%; object-fit:cover; transition:transform .35s,filter .35s; }
.review-card:hover .card-poster { transform:scale(1.04); }
.card-body { min-width:0; min-height:285px; padding:25px 24px; display:flex; flex-direction:column; }
.card-top { display:flex; justify-content:space-between; gap:20px; color:var(--muted); font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.1em; }
.rewatch { color:var(--accent); }
.review-card h3 { margin:24px 0 12px; font-size:clamp(25px, 2.1vw, 36px); line-height:1; }
.movie-year { color:var(--muted); font-weight:400; }
.cast-tags { display:flex; flex-wrap:wrap; gap:6px; margin:0 0 15px; }
.cast-tag { padding:5px 8px; color:#5c5850; background:#f0eee8; border:1px solid #dedbd2; font-size:9px; font-weight:700; line-height:1; letter-spacing:.04em; text-transform:uppercase; }
.card-review { margin:0; display:-webkit-box; -webkit-line-clamp:5; -webkit-box-orient:vertical; overflow:hidden; color:#4d4b47; font-size:13px; line-height:1.65; }
.card-bottom { margin-top:auto; padding-top:24px; display:flex; justify-content:space-between; align-items:end; }
.card-rating { font:600 21px var(--display); color:var(--accent); }
.read-review { padding:0 0 3px; background:transparent; border:0; border-bottom:1px solid var(--ink); cursor:pointer; font-size:10px; font-weight:800; letter-spacing:.09em; text-transform:uppercase; }
.button-load { margin:45px auto 0; color:var(--ink); background:transparent; border-color:var(--ink); }
.button-load:hover { background:var(--ink); color:var(--paper); }
.button-load[hidden] { display:none; }
.empty-state { max-width:1400px; margin:50px auto; text-align:center; }
.empty-state strong { font:600 38px var(--display); text-transform:uppercase; }

footer { padding: 70px clamp(20px, 6vw, 90px) 24px; color: var(--paper); background: var(--ink); }
.footer-brand { font:700 clamp(55px, 8vw, 115px) var(--display); letter-spacing:-.04em; }
.footer-logo { width:clamp(94px,11vw,150px); height:auto; margin-bottom:18px; opacity:.72; }
footer > p { color:#99958c; max-width:600px; }
.signoff { margin-top:30px; color:var(--paper); font-weight:600; }
.tmdb-notice { margin-top:34px; font-size:10px; line-height:1.5; text-transform:uppercase; letter-spacing:.08em; }
.footer-bottom { margin-top:70px; padding-top:20px; display:flex; justify-content:space-between; gap:20px; border-top:1px solid #343330; color:#77746e; font-size:10px; text-transform:uppercase; letter-spacing:.1em; }

.socials-page { min-height:100vh; color:var(--paper); background:var(--ink); }
.socials-header { position:relative; }
.socials-back { border-bottom:1px solid var(--accent); padding-bottom:3px; font-size:11px; font-weight:800; letter-spacing:.09em; text-transform:uppercase; }
.socials-main { position:relative; overflow:hidden; padding:clamp(58px,8vw,110px) 20px 90px; }
.socials-main::before { content:""; position:absolute; inset:0; opacity:.36; pointer-events:none; background-image:linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px); background-size:38px 38px; }
.socials-shell { position:relative; width:min(620px,100%); margin:auto; }
.socials-intro { margin-bottom:34px; text-align:center; }
.socials-intro .eyebrow { margin-bottom:12px; }
.socials-intro h1 { font-size:clamp(62px,12vw,118px); line-height:.88; }
.socials-intro p:last-child { max-width:520px; margin:24px auto 0; color:#aaa69d; font-size:15px; line-height:1.65; }
.socials-primary { min-height:62px; margin-bottom:12px; padding:0 20px; display:flex; align-items:center; justify-content:space-between; gap:20px; color:white; background:var(--accent); font-size:12px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; transition:transform .2s,background .2s; }
.socials-primary:hover, .socials-primary:focus-visible { transform:translateY(-2px); background:#ff6139; }
.socials-list { display:grid; gap:10px; }
.social-link { min-height:72px; padding:12px 16px; display:grid; grid-template-columns:44px minmax(0,1fr) auto; align-items:center; gap:14px; color:var(--paper); background:#191918; border:1px solid #3a3935; transition:transform .2s,border-color .2s,background .2s; }
.social-link:hover, .social-link:focus-visible { transform:translateX(4px); border-color:var(--accent); background:#211c1a; }
.social-mark { width:44px; height:44px; display:grid; place-items:center; color:var(--accent); background:#292927; }
.social-icon { width:24px; height:24px; overflow:visible; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.social-icon-fill, .social-icon-facebook path { fill:currentColor; stroke:none; }
.social-icon-cutout { fill:#292927; stroke:none; }
.social-icon-letterboxd circle { fill:currentColor; stroke:none; opacity:.74; }
.social-icon-letterboxd circle:nth-child(2) { opacity:1; }
.social-icon-youtube > path:first-child { fill:currentColor; stroke:none; }
.social-icon-kon { object-fit:contain; }
.social-copy { min-width:0; }
.social-copy strong { display:block; font-size:14px; }
.social-copy span { display:block; margin-top:3px; overflow:hidden; color:#918e86; font-size:11px; text-overflow:ellipsis; white-space:nowrap; }
.social-arrow { width:28px; height:28px; display:grid; flex:0 0 28px; place-items:center; color:#8a877f; border:1px solid #4a4843; }
.social-arrow svg { width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:square; stroke-linejoin:miter; }
.social-arrow-light { color:white; border-color:rgba(255,255,255,.5); }
.socials-note { margin:30px 0 0; color:#77746e; font-size:10px; letter-spacing:.12em; text-align:center; text-transform:uppercase; }

.review-overlay { position:fixed; inset:0; z-index:100; display:grid; place-items:center; padding:5vh 12px; background:rgba(0,0,0,.78); backdrop-filter:blur(5px); }
.review-overlay[hidden] { display:none; }
.review-panel { position:relative; width:min(1080px, 100%); max-height:90vh; overflow:hidden; color:var(--ink); background:var(--paper); box-shadow:0 30px 100px rgba(0,0,0,.5); }
#dialog-content { max-height:90vh; overflow-y:auto; overscroll-behavior:contain; -webkit-overflow-scrolling:touch; }
.dialog-close { position:absolute; top:12px; right:12px; z-index:2; width:42px; height:42px; color:white; background:var(--ink); border:0; cursor:pointer; font-size:26px; }
.dialog-layout { display:block; min-height:620px; }
.dialog-poster-wrap { position:relative; width:100%; aspect-ratio:16/7; max-height:500px; background:var(--ink); overflow:hidden; }
.dialog-poster { width:100%; height:100%; object-fit:cover; }
.dialog-poster-wrap::after { content:""; position:absolute; inset:auto 0 0; height:30%; background:linear-gradient(transparent,rgba(0,0,0,.9)); }
.dialog-poster-wrap span { position:absolute; z-index:1; left:22px; bottom:20px; color:white; font:600 24px var(--display); }
.dialog-article { padding:clamp(36px, 6vw, 70px); }
.dialog-kicker { color:var(--accent); font-size:10px; font-weight:800; letter-spacing:.16em; text-transform:uppercase; }
.dialog-article h2 { max-width:700px; margin:12px 0 20px; font-size:clamp(45px, 8vw, 82px); line-height:.98; }
.dialog-meta { display:flex; flex-wrap:wrap; gap:10px 22px; padding:18px 0; border-block:1px solid var(--line); color:var(--muted); font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.08em; }
.dialog-cast { margin-top:24px; }
.dialog-cast > strong { display:block; margin-bottom:10px; color:var(--muted); font-size:10px; letter-spacing:.12em; text-transform:uppercase; }
.dialog-cast .cast-tags { margin:0; }
.dialog-review { margin:35px 0; font-family:"DM Sans", sans-serif; font-size:clamp(17px, 2vw, 20px); line-height:1.8; white-space:pre-wrap; }
.dialog-actions { display:flex; flex-wrap:wrap; gap:12px; }
.dialog-actions a, .dialog-actions button { min-height:44px; padding:0 17px; display:inline-flex; align-items:center; color:var(--ink); background:transparent; border:1px solid var(--ink); cursor:pointer; font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:.09em; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

@media (max-width: 1100px) {
  nav { display:none; }
}
@media (max-width: 900px) {
  nav { display:none; }
  .header-search { max-width:420px; }
  .hero-grid { grid-template-columns:1fr; align-items:start; }
  .latest-feature { min-height:430px; }
  .shelf-grid, .review-grid { grid-template-columns:repeat(2,1fr); }
  .review-card { min-height:500px; }
  .filters { grid-template-columns:1fr 1fr; }
  .filters label { border-bottom:1px solid var(--line); }
  .filters .search-field { grid-column:1/-1; }
}
@media (max-width: 600px) {
  .mobile-sticky-search {
    position:sticky; top:0; z-index:30;
    min-height:62px; padding:10px 12px;
    display:grid; grid-template-columns:auto minmax(0,1fr) auto auto; align-items:center;
    color:var(--ink); background:rgba(16,16,15,.98); border-bottom:1px solid #333;
    backdrop-filter:blur(12px);
  }
  .mobile-sticky-search svg { box-sizing:content-box; width:18px; height:20px; padding:11px 0 11px 14px; fill:none; stroke:currentColor; stroke-width:1.8; background:var(--paper); }
  .mobile-sticky-search input { min-width:0; width:100%; height:42px; padding:0 10px; color:var(--ink); background:var(--paper); border:0; outline:0; font-size:12px; }
  .mobile-sticky-search button[type="submit"] { align-self:stretch; padding:0 14px; color:white; background:var(--accent); border:0; cursor:pointer; font-size:10px; font-weight:800; letter-spacing:.07em; text-transform:uppercase; }
  .mobile-sticky-search .search-clear { width:36px; height:42px; color:var(--muted); background:var(--paper); }
  .mobile-sticky-search:focus-within { box-shadow:inset 0 -3px var(--accent); }
  .site-header { position:relative; top:auto; height:64px; min-height:64px; padding:0 20px; flex-wrap:nowrap; gap:10px; }
  .site-header .header-search { display:none; }
  .brand-logo { width:48px; height:34px; }
  .find-me-link { min-height:38px; padding:0 12px; font-size:10px; }
  .hero { padding-top:44px; }
  h1 { font-size:68px; }
  .hero, .section { scroll-margin-top:74px; }
  .stats { grid-template-columns:1fr 1fr; }
  .stat { border-bottom:1px solid #353431; }
  .stat:nth-child(2) { border-right:0; }
  .stat:nth-child(3) { padding-left:0; }
  .section-heading { align-items:start; flex-direction:column; }
  .archive-heading { flex-direction:row; align-items:end; }
  .shelf-grid, .review-grid { grid-template-columns:1fr; }
  .filters { grid-template-columns:1fr; }
  .filters .search-field { grid-column:auto; }
  .filters label { border-right:0; }
  .review-card { min-height:490px; }
  .card-body { padding:22px 18px; }
  .dialog-poster-wrap { aspect-ratio:16/9; height:auto; }
  .dialog-poster { object-position:center 22%; }
  .footer-bottom { flex-direction:column; }
  .socials-back { font-size:10px; }
  .socials-main { padding-top:52px; }
  .socials-intro h1 { font-size:62px; }
  .social-link { min-height:68px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior:auto; } .ticker div { animation:none; } * { transition:none !important; } }
