 :root {
  --bg: #0b0b0d; --panel: #121215; --text: #f2eee8; --muted: #a09b97;
  --line: rgba(242,238,232,.16); --red: #d74b42; --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}
*{box-sizing:border-box} html{scroll-behavior:smooth;scroll-padding-top:85px}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--sans);line-height:1.55}
a{color:inherit;text-decoration:none} button{font:inherit}
.grain{position:fixed;inset:0;pointer-events:none;z-index:10;opacity:.045;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E")}
.topbar{height:78px;padding:0 6.2%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);position:sticky;top:0;background:rgba(11,11,13,.9);backdrop-filter:blur(16px);z-index:20}
.wordmark{font-size:19px;letter-spacing:.13em;font-weight:700}.wordmark span{font-weight:400}.wordmark i{font-size:9px;vertical-align:top;margin-left:3px;font-style:normal;color:var(--red)}
.topbar nav{display:flex;gap:34px}.topbar nav a,.eyebrow,.hero-bottom,.art-caption,.vertical-note,.signature,.quote-credit,.footer-copy{font-size:10px;letter-spacing:.15em;font-weight:600}
.topbar nav a{color:#c4bfba;transition:color .2s}.topbar nav a:hover,.text-link:hover{color:var(--red)}.menu-toggle{display:none;background:none;color:var(--text);border:0;font-size:23px}
.hero{min-height:650px;padding:90px 6.2% 24px;display:grid;grid-template-columns:1.05fr .95fr;gap:4%;position:relative;max-width:1600px;margin:auto}
.hero-copy{align-self:center;padding-bottom:45px}.eyebrow{color:var(--red);margin:0 0 25px;display:flex;align-items:center;gap:10px}.live-dot{width:6px;height:6px;background:var(--red);border-radius:50%;display:inline-block;box-shadow:0 0 12px #d74b42}
h1,h2{font-family:var(--serif);font-weight:500;letter-spacing:-.045em;line-height:1.04;margin:0}h1{font-size:clamp(54px,7.2vw,100px)}h1 em,h2 em{font-weight:500;color:#c9c0b7}
.intro{color:#aaa5a0;max-width:410px;margin:28px 0 31px;font-size:14px;line-height:1.9}
.hero-actions{display:flex;align-items:center;gap:25px;flex-wrap:wrap}.button{min-height:47px;padding:0 19px;display:inline-flex;align-items:center;gap:24px;font-size:11px;font-weight:700;letter-spacing:.02em;transition:transform .2s,background .2s}.button:hover{transform:translateY(-2px)}.button-light{background:var(--text);color:#111}.button-light span,.button-outline span{font-size:16px}.text-link{font-size:11px;color:#d2ccc6;transition:color .2s}.signature{margin-top:54px;display:flex;align-items:center;gap:12px;color:#77716d;font-size:9px}.signature-line{width:28px;height:1px;background:var(--red)}
.hero-art{align-self:center;position:relative;padding:12px 30px 12px 0}.art-frame{height:430px;position:relative;overflow:hidden;background:linear-gradient(160deg,#34353b 0%,#202027 40%,#8d5b4d 100%);border:1px solid rgba(255,255,255,.15);box-shadow:0 30px 90px #0008}
.art-frame:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 35%,#09090ce8 100%),radial-gradient(ellipse at 70% 35%,#e2a78b66,transparent 30%)}
.moon{position:absolute;width:135px;height:135px;border-radius:50%;background:#d9b4a0;top:60px;right:17%;box-shadow:0 0 80px #d9b4a044}
.art-horizon{position:absolute;bottom:0;left:0;right:0;height:42%;background:linear-gradient(170deg,#373239,#15151a 75%);clip-path:polygon(0 43%,22% 20%,43% 38%,65% 8%,100% 30%,100% 100%,0 100%)}
.silhouette{position:absolute;bottom:0;background:#08090c}.silhouette-one{height:52%;width:28%;left:14%;clip-path:polygon(36% 0,61% 0,68% 22%,84% 35%,100% 100%,0 100%,18% 36%,31% 22%)}.silhouette-two{height:35%;width:20%;right:11%;background:#0b0c10;clip-path:polygon(40% 0,60% 0,66% 22%,100% 100%,0 100%,34% 22%)}
.art-caption{position:absolute;bottom:18px;left:20px;right:20px;display:flex;justify-content:space-between;font-size:8px;color:#d4c7bf}
.vertical-note{position:absolute;right:0;top:35px;writing-mode:vertical-rl;color:#77716d;font-size:8px}
.hero-bottom{position:absolute;bottom:24px;left:6.2%;right:6.2%;display:flex;justify-content:space-between;color:#716c68;font-size:8px}
.section{padding:100px 8%;max-width:1600px;margin:auto}.diary-section{border-top:1px solid var(--line)}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:20px}.section-heading .eyebrow{margin-bottom:16px}h2{font-size:clamp(39px,5vw,62px)}.section-note{font-size:12px;color:#88827d;margin:0 0 35px}.section-note code{color:#d7a69d;background:#171619;padding:3px 5px}
.film-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.film-card{min-width:0}.poster{aspect-ratio:2/3;background:linear-gradient(145deg,#333139,#151519);position:relative;overflow:hidden;border:1px solid #ffffff12;display:flex;align-items:end;padding:15px}.poster:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 25%,#050507e8 100%)}.poster-art{position:absolute;inset:0;opacity:.8}.poster-art:after{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 55% 28%,#ffffff30,transparent 28%),linear-gradient(135deg,transparent,#0008)}
.poster-title{position:relative;z-index:1;font-family:var(--serif);font-size:clamp(20px,2.3vw,31px);line-height:1.05;text-shadow:0 2px 12px #000}.film-meta{padding-top:12px;display:flex;justify-content:space-between;gap:8px;color:#a8a19a;font-size:10px}.film-rating{color:#e5c8a1;white-space:nowrap}.film-card a:hover .poster{outline:1px solid var(--red)}
.quote-band{padding:78px 20px;text-align:center;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:radial-gradient(ellipse at center,#191619 0%,var(--bg) 70%)}.quote-mark{font-family:var(--serif);font-size:55px;color:var(--red);line-height:.8}.quote-band blockquote{font-family:var(--serif);font-size:clamp(25px,4vw,42px);line-height:1.25;margin:15px auto 20px}.quote-credit{font-size:8px;color:#817a75}
.about-section{display:grid;grid-template-columns:.5fr 1.5fr;gap:10%;align-items:center;padding-top:110px;padding-bottom:110px}.about-stamp{width:115px;height:145px;border:1px solid #51433f;display:flex;align-items:center;justify-content:center;flex-direction:column;font-family:var(--serif);font-size:35px;line-height:.9;color:#d7c8bc;transform:rotate(-7deg);position:relative}.about-stamp:after{content:"CINESOPHY FILM CLUB";position:absolute;bottom:9px;font:6px var(--sans);letter-spacing:.12em;color:#9a8178}.about-stamp span{color:var(--red);font-size:20px}.about-copy .eyebrow{margin-bottom:18px}.about-copy h2{margin-bottom:23px}.about-copy>p:not(.eyebrow){max-width:530px;color:#aaa39e;font-size:13px;line-height:1.9;margin-bottom:27px}.button-outline{border:1px solid #59504b;color:var(--text)}.button-outline:hover{background:#1b1717}
.footer{border-top:1px solid var(--line);padding:28px 6.2%;display:flex;align-items:center;justify-content:space-between;gap:20px}.footer p{color:#7f7974;font-size:10px}.footer-copy{font-size:8px;color:#6e6863}
@media(max-width:760px){.topbar{height:68px;padding:0 5%}.topbar nav{display:none;position:absolute;top:68px;left:0;right:0;padding:22px 5%;background:#111114;border-bottom:1px solid var(--line);flex-direction:column;gap:20px}.topbar nav.open{display:flex}.menu-toggle{display:block}.hero{padding:68px 6% 66px;grid-template-columns:1fr;gap:25px;min-height:0}.hero-copy{padding-bottom:0}h1{font-size:clamp(54px,14vw,82px)}.intro{font-size:13px}.signature{margin-top:32px}.hero-art{padding:0 15px 0 0}.art-frame{height:320px}.moon{width:100px;height:100px}.hero-bottom{bottom:18px;left:6%;right:6%;font-size:7px;gap:10px}.hero-bottom span:nth-child(2){display:none}.section{padding:72px 6%}.section-heading{align-items:start;flex-direction:column}.film-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 13px}.poster{padding:12px}.film-meta{font-size:9px}.about-section{grid-template-columns:1fr;gap:35px;padding-top:75px;padding-bottom:75px}.about-stamp{width:90px;height:115px;font-size:29px}.footer{padding:25px 6%;flex-wrap:wrap}.footer p{order:3;width:100%;margin:0}.footer-copy{margin-left:auto}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important}}

/* Real favourite poster cards */
.poster.real-poster{padding:0;background:#171519;isolation:isolate}
.poster.real-poster img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .45s ease;z-index:-1}
.film-card a:hover .poster.real-poster img{transform:scale(1.045)}
.poster.real-poster:before{z-index:0}
.poster.real-poster .poster-title{font-size:clamp(18px,2vw,27px)}
.poster-fallback{background:linear-gradient(145deg,#5e393b,#17151b)}
@media(max-width:760px){.poster.real-poster .poster-title{font-size:21px}}

.poster-source{display:inline-block;margin-top:8px;color:#9b928b;font-size:9px;letter-spacing:.04em}
.poster-source:hover,.poster-source-link:hover{color:var(--red)}
.poster-source-link{position:relative;z-index:2;margin-top:10px;color:#fff;font:600 10px var(--sans);text-decoration:underline;text-underline-offset:4px}
.poster-fallback{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end}

/* Poster image layering fix */
.poster.real-poster img{z-index:0}
.poster.real-poster:before{z-index:1}
.poster.real-poster .poster-title{z-index:2}

/* Featured Letterboxd review */
.featured-review{border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:grid;grid-template-columns:.7fr 1.3fr .3fr;gap:5%;align-items:center;position:relative;overflow:hidden}
.review-label{align-self:start}.review-label .eyebrow{margin-bottom:16px}.review-number,.review-kicker,.contact-caption{font-size:9px;letter-spacing:.14em;color:#7f7772;font-weight:600}
.review-content{padding:10px 0}.review-kicker{color:var(--red);margin:0 0 18px}.review-content h2{margin-bottom:22px}.review-description{max-width:440px;color:#aaa39e;font-size:13px;line-height:1.9;margin:0 0 26px}
.review-side-note{writing-mode:vertical-rl;justify-self:end;color:#655e59;font-size:9px;letter-spacing:.2em;line-height:2}
.contact-section{display:grid;grid-template-columns:1fr 1fr;gap:8%;align-items:center}
.contact-section h2{margin-top:10px}.contact-card{border:1px solid var(--line);padding:30px;background:linear-gradient(145deg,#151417,#0d0d0f)}
.contact-caption{color:var(--red)}.contact-card>p{font-size:12px;line-height:1.9;color:#a9a29c;max-width:390px;margin:18px 0 26px}
.telegram-link{display:flex;align-items:center;gap:14px;border-top:1px solid var(--line);padding-top:20px}.telegram-icon{width:39px;height:39px;display:grid;place-items:center;border:1px solid #4e5d68;border-radius:50%;color:#a7d5e9;font-size:18px}
.telegram-link small,.telegram-link strong{display:block}.telegram-link small{font-size:8px;letter-spacing:.15em;color:#88817b;margin-bottom:4px}.telegram-link strong{font-size:13px;letter-spacing:.03em}.telegram-link:hover strong{color:#a7d5e9}
@media(max-width:760px){.featured-review{grid-template-columns:1fr;gap:24px}.review-side-note{display:none}.review-content h2{font-size:46px}.contact-section{grid-template-columns:1fr;gap:30px}.contact-card{padding:23px}.topbar nav{max-height:80vh;overflow:auto}}

/* User-provided neon cinema photograph replacing the FIG. 01 illustration */
.art-frame .hero-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 35%;z-index:0}
.art-frame:before{z-index:1;pointer-events:none;background:linear-gradient(180deg,rgba(0,0,0,.02) 20%,rgba(7,7,10,.68) 100%),linear-gradient(90deg,rgba(0,0,0,.12),transparent 70%)}
.art-caption{z-index:2}
@media(max-width:760px){.art-frame .hero-photo{object-position:center 30%}}

/* Unified crimson grade for the four favourite-film posters */
.poster.real-poster::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:rgba(120,15,20,.25);
  mix-blend-mode:multiply;
  transition:opacity .35s ease, background-color .35s ease;
}
.film-card a:hover .poster.real-poster::after{
  background:rgba(120,15,20,.12);
}
.poster.real-poster img{z-index:0}
.poster.real-poster:before{z-index:2}
.poster.real-poster .poster-title{z-index:3}
@media(prefers-reduced-motion:reduce){
  .poster.real-poster::after{transition:none}
}


/* CINESOPHY polish pass: editorial details, accessibility and mobile refinement */
:root{--bg:#080808;--panel:#111010;--text:#eee9e2;--muted:#92908e;--line:rgba(238,233,226,.14);--red:#c62835}
body{background:var(--bg)}
.skip-link{position:fixed;left:12px;top:12px;z-index:1000;padding:12px 16px;background:var(--text);color:#080808;transform:translateY(-160%);transition:transform .2s}
.skip-link:focus{transform:translateY(0)}
.scroll-progress{position:fixed;top:0;left:0;width:0;height:2px;background:var(--red);z-index:1001;box-shadow:0 0 12px #c6283570}
.topbar{background:rgba(8,8,8,.88);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.wordmark{letter-spacing:.1em}.wordmark span{color:#d6cfc7}
.hero{background:radial-gradient(ellipse at 85% 30%,rgba(132,20,29,.09),transparent 36%),var(--bg)}
.hero h1{letter-spacing:-.045em}.hero h1 em,h2 em{color:#c9aaa6}
.hero-art{max-width:600px;width:100%;justify-self:end}
.art-frame{box-shadow:0 32px 100px rgba(0,0,0,.55),0 0 0 1px rgba(198,40,53,.08)}
.art-frame .hero-photo{filter:saturate(.88) contrast(1.04)}
.hero-bottom a{color:inherit;font-size:inherit}.hero-bottom a:hover{color:var(--text)}
.archive-key{display:flex;justify-content:space-between;gap:14px;border-top:1px solid var(--line);padding:13px 0 20px;margin-top:-14px;margin-bottom:12px;color:#77716e;font-size:8px;letter-spacing:.14em}
.archive-key span:first-child{display:flex;align-items:center;gap:8px}.archive-key i{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--red);box-shadow:0 0 10px #c6283570}
.film-grid{gap:24px 18px}.film-card{transition:transform .3s ease}.film-card:hover{transform:translateY(-3px)}
.poster.real-poster{border-color:rgba(255,255,255,.12);background:#151213;box-shadow:0 12px 32px rgba(0,0,0,.18)}
.poster.real-poster::after{background:rgba(120,15,20,.22);mix-blend-mode:multiply}
.film-card a:hover .poster.real-poster::after{background:rgba(120,15,20,.09)}
.poster-index{position:absolute;top:12px;left:13px;z-index:3;color:#fff;font-size:8px;letter-spacing:.16em;text-shadow:0 1px 8px #000}
.poster.real-poster .poster-title{left:0;right:0;padding:0 16px 17px;letter-spacing:-.025em}
.film-meta{font-size:9px;letter-spacing:.07em;text-transform:uppercase}.film-rating{font-size:8px;letter-spacing:.08em;color:#d68a8c}
.film-note{font-family:var(--serif);font-size:13px;line-height:1.5;color:#9b918d;margin:10px 0 0;min-height:40px}
.featured-review{background:radial-gradient(ellipse at 78% 50%,rgba(133,24,32,.1),transparent 43%)}
.review-content h2,.about-copy h2,.contact-section h2{letter-spacing:-.035em}
.button-light{transition:transform .25s ease,background .25s ease}.button-light:hover{background:#fff;transform:translateY(-2px)}
.button-outline{transition:background .25s ease,border-color .25s ease}.button-outline:hover{border-color:var(--red)}
.quote-band{background:radial-gradient(ellipse at center,rgba(95,22,28,.13) 0%,var(--bg) 72%)}
.contact-card{background:linear-gradient(145deg,#151112,#0b0b0c);border-color:rgba(198,40,53,.22)}
.footer{flex-wrap:wrap}.back-to-top{font-size:8px;letter-spacing:.12em;color:#8a817c}.back-to-top:hover{color:var(--text)}
.reveal-ready{opacity:0;transform:translateY(16px);transition:opacity .65s ease,transform .65s ease}.reveal-ready.is-visible{opacity:1;transform:translateY(0)}
.film-card.reveal-ready:nth-child(2){transition-delay:.07s}.film-card.reveal-ready:nth-child(3){transition-delay:.14s}.film-card.reveal-ready:nth-child(4){transition-delay:.21s}
:focus-visible{outline:2px solid #d94a54;outline-offset:4px}
@media(max-width:760px){
 .hero{padding-top:56px}.hero-art{justify-self:stretch;max-width:none}.art-frame{height:clamp(270px,78vw,380px)}
 .hero-bottom{align-items:center}.hero-bottom span:first-child{max-width:40%}.hero-bottom a{max-width:40%;text-align:right}
 .archive-key{font-size:7px;letter-spacing:.09em}.film-grid{gap:24px 12px}.film-note{font-size:12px;min-height:0}.poster.real-poster .poster-title{padding:0 12px 13px}
 .footer{gap:14px}.back-to-top{order:4;width:100%}
}
@media(max-width:380px){.hero-actions{align-items:flex-start;flex-direction:column;gap:16px}.archive-key{flex-direction:column;gap:8px}.film-meta{flex-wrap:wrap}.film-rating{white-space:normal}}
@media(prefers-reduced-motion:reduce){.reveal-ready{opacity:1;transform:none;transition:none}.film-card{transition:none}.scroll-progress{display:none}}

/* Appearance control */
.topbar-tools{display:flex;align-items:center;gap:15px}
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:36px;padding:0 11px;border:1px solid var(--line);background:transparent;color:var(--text);cursor:pointer;font:600 9px var(--sans);letter-spacing:.1em;transition:background .2s,border-color .2s,color .2s}
.theme-toggle:hover{border-color:var(--red);background:rgba(198,40,53,.08)}
.theme-icon{font-size:17px;line-height:1;color:var(--red)}
.theme-toggle:focus-visible,.menu-toggle:focus-visible{outline:2px solid var(--red);outline-offset:4px}
@media(max-width:760px){.topbar-tools{gap:10px}.theme-toggle{min-height:34px;padding:0 9px}.theme-label{display:none}.menu-toggle{font-size:22px}}

/* Light appearance: keep the CINESOPHY crimson identity while switching the canvas to paper. */
html[data-theme="light"]{color-scheme:light;--bg:#f6f2ed;--panel:#fffaf5;--text:#211c1b;--muted:#6f6763;--line:rgba(45,31,29,.17);--red:#b51f2c}
html[data-theme="light"] body{background:var(--bg);color:var(--text)}
html[data-theme="light"] .topbar{background:rgba(246,242,237,.91);border-color:var(--line)}
html[data-theme="light"] .topbar nav a{color:#625956}
html[data-theme="light"] .topbar nav a:hover,html[data-theme="light"] .text-link:hover{color:var(--red)}
html[data-theme="light"] .wordmark span{color:#544844}
html[data-theme="light"] .hero{background:radial-gradient(ellipse at 85% 30%,rgba(181,31,44,.07),transparent 36%),var(--bg)}
html[data-theme="light"] .hero h1 em,html[data-theme="light"] h2 em{color:#8e343b}
html[data-theme="light"] .intro,html[data-theme="light"] .about-copy>p:not(.eyebrow),html[data-theme="light"] .review-description,html[data-theme="light"] .contact-card>p{color:#655d59}
html[data-theme="light"] .text-link{color:#554b47}
html[data-theme="light"] .signature,html[data-theme="light"] .hero-bottom,html[data-theme="light"] .section-note,html[data-theme="light"] .film-meta,html[data-theme="light"] .footer p,html[data-theme="light"] .footer-copy{color:#746a65}
html[data-theme="light"] .button-light{background:#211c1b;color:#fffaf5}
html[data-theme="light"] .button-light:hover{background:#3a2c2a}
html[data-theme="light"] .button-outline{border-color:#a89a92;color:#29211f}
html[data-theme="light"] .button-outline:hover{background:#eee4dc;border-color:var(--red)}
html[data-theme="light"] .section,html[data-theme="light"] .diary-section,html[data-theme="light"] .featured-review,html[data-theme="light"] .quote-band,html[data-theme="light"] .footer{border-color:var(--line)}
html[data-theme="light"] .archive-key{border-color:var(--line);color:#746965}
html[data-theme="light"] .poster.real-poster{border-color:rgba(40,24,24,.18);box-shadow:0 12px 32px rgba(65,35,35,.12)}
html[data-theme="light"] .featured-review{background:radial-gradient(ellipse at 78% 50%,rgba(181,31,44,.06),transparent 43%)}
html[data-theme="light"] .review-number,html[data-theme="light"] .review-kicker,html[data-theme="light"] .contact-caption{color:#756965}
html[data-theme="light"] .review-kicker,html[data-theme="light"] .contact-caption{color:var(--red)}
html[data-theme="light"] .review-side-note{color:#8b7c76}
html[data-theme="light"] .quote-band{background:radial-gradient(ellipse at center,rgba(181,31,44,.06) 0%,var(--bg) 72%)}
html[data-theme="light"] .quote-credit{color:#766b66}
html[data-theme="light"] .about-stamp{border-color:#b8a8a0;color:#493b36}
html[data-theme="light"] .about-stamp:after{color:#8b6e66}
html[data-theme="light"] .contact-card{background:linear-gradient(145deg,#fffaf5,#eee6df);border-color:rgba(181,31,44,.24)}
html[data-theme="light"] .telegram-link{border-color:var(--line)}
html[data-theme="light"] .telegram-link small{color:#756b66}
html[data-theme="light"] .telegram-link strong{color:#29211f}
html[data-theme="light"] .telegram-icon{border-color:#9abac7;color:#28718b}
html[data-theme="light"] .back-to-top{color:#6d625d}
html[data-theme="light"] .back-to-top:hover{color:var(--red)}
html[data-theme="light"] .scroll-progress{box-shadow:0 0 10px rgba(181,31,44,.25)}
html[data-theme="light"] .skip-link{background:#211c1b;color:#fffaf5}
html[data-theme="light"] .topbar nav.open{background:#f6f2ed}
html[data-theme="light"] .theme-toggle{border-color:rgba(45,31,29,.24)}
@media(prefers-reduced-motion:reduce){.theme-toggle{transition:none}}

/* Live Letterboxd diary */
.live-film-grid{min-height:30px}
.live-film-card .poster.real-poster{aspect-ratio:2/3}
.live-film-card .poster.real-poster img{width:100%;height:100%;object-fit:cover;display:block}
.live-film-card .poster.real-poster.poster-fallback{display:flex;align-items:flex-end;padding:0;background:linear-gradient(145deg,#7e3a3e,#292022 65%,#101010)!important}
.live-film-card .poster.real-poster.poster-fallback .poster-title{position:relative;display:block;padding:20px 16px;line-height:1.15}
.live-film-meta{justify-content:space-between;gap:8px;align-items:flex-start}
.live-film-meta>span:first-child{max-width:65%}
.diary-fallback-link{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 16px;text-decoration:none}
html[data-theme="light"] .live-film-card .poster.real-poster{border-color:rgba(40,24,24,.18)}
@media(max-width:760px){.live-film-meta{font-size:8px}.live-film-meta>span:first-child{max-width:58%}}


/* CINESOPHY cinematic scroll treatment */
html { scroll-behavior: smooth; }
.hero-copy > *, .hero-art, .hero-bottom > * {
  animation: cinesophy-intro .85s cubic-bezier(.2,.7,.2,1) both;
}
.hero-copy > *:nth-child(1) { animation-delay: .05s; }
.hero-copy > *:nth-child(2) { animation-delay: .13s; }
.hero-copy > *:nth-child(3) { animation-delay: .21s; }
.hero-copy > *:nth-child(4) { animation-delay: .29s; }
.hero-art { animation-delay: .18s; }
.hero-bottom > *:nth-child(1) { animation-delay: .35s; }
.hero-bottom > *:nth-child(2) { animation-delay: .42s; }
.hero-bottom > *:nth-child(3) { animation-delay: .49s; }

@keyframes cinesophy-intro {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll reveals are activated by IntersectionObserver in script.js. */
.reveal-ready {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .72s cubic-bezier(.2,.7,.2,1),
              transform .72s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.reveal-ready.is-visible { opacity: 1; transform: translateY(0); }
.film-card.reveal-ready:nth-child(2) { transition-delay: .08s; }
.film-card.reveal-ready:nth-child(3) { transition-delay: .16s; }
.film-card.reveal-ready:nth-child(4) { transition-delay: .24s; }
.live-film-card.reveal-ready:nth-child(2) { transition-delay: .07s; }
.live-film-card.reveal-ready:nth-child(3) { transition-delay: .14s; }
.live-film-card.reveal-ready:nth-child(4) { transition-delay: .21s; }

/* Gentle image depth: no forced scroll or pinned sections. */
.art-frame { transform: translateZ(0); }
.art-frame .hero-photo {
  transform: scale(1.04);
  transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .5s ease;
  will-change: transform;
}
.hero-art:hover .hero-photo { transform: scale(1.075); }
.film-card .poster { transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s ease; }
.film-card a:hover .poster { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(0,0,0,.24); }
.section-heading h2 em { transition: letter-spacing .45s ease, color .35s ease; }
.section-heading.is-visible h2 em { letter-spacing: -.015em; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy > *, .hero-art, .hero-bottom > * { animation: none !important; }
  .reveal-ready { opacity: 1 !important; transform: none !important; transition: none !important; }
  .art-frame .hero-photo, .film-card .poster, .section-heading h2 em { transition: none !important; transform: none !important; }
}


/* Editorial layout + horizontal Letterboxd diary strip */
.diary-carousel-wrap { position: relative; }
.diary-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(190px, 22%);
  grid-template-columns: none;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 2px 22px;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--red, #c62835) transparent;
  -webkit-overflow-scrolling: touch;
}
.diary-carousel > .film-card { scroll-snap-align: start; }
.diary-carousel::-webkit-scrollbar { height: 5px; }
.diary-carousel::-webkit-scrollbar-track { background: transparent; }
.diary-carousel::-webkit-scrollbar-thumb { background: var(--red, #c62835); border-radius: 8px; }
.carousel-arrow {
  position: absolute;
  z-index: 5;
  top: 34%;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--red, #c62835);
  border-radius: 50%;
  color: var(--text, #eee);
  background: var(--surface, #111);
  font-size: 20px;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.carousel-arrow:hover { transform: scale(1.06); background: var(--red, #c62835); color: #fff; }
.carousel-prev { left: -17px; }
.carousel-next { right: -17px; }
.diary-carousel .poster { aspect-ratio: 2/3; }
.diary-carousel .live-film-meta { flex-wrap: wrap; }
.diary-carousel .film-note { font-size: 11px; line-height: 1.5; }
.diary-carousel:focus-visible { outline: 2px solid var(--red, #c62835); outline-offset: 5px; }
.favourites-section .film-grid { margin-top: 4px; }
.section-heading.reveal-ready { transform: translateY(18px); }
.featured-review.reveal-ready { transform: translateX(24px); }
.featured-review.reveal-ready.is-visible { transform: translateX(0); }
.contact-section.reveal-ready { transform: translateX(-20px); }
.contact-section.reveal-ready.is-visible { transform: translateX(0); }

html[data-theme="light"] .carousel-arrow { color: var(--text, #222); background: var(--surface, #fff); }
html[data-theme="light"] .carousel-arrow:hover { color: #fff; background: var(--red, #c62835); }

.diary-page-main { min-height: 70vh; padding-top: clamp(70px, 10vw, 130px); }
.diary-page-hero { padding-bottom: 32px; border-bottom: 1px solid var(--border, #292323); margin-bottom: 34px; }
.diary-page-hero h1 { font-family: var(--serif); font-size: clamp(46px, 8vw, 92px); line-height: .98; margin: 12px 0 18px; }
.diary-page-hero h1 em { color: var(--red, #c62835); font-weight: 500; }
.full-diary-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 26px 18px;
  overflow: visible;
}
.full-diary-grid .film-card { min-width: 0; }
.full-diary-grid .poster { aspect-ratio: 2/3; }
.diary-page-back { display: inline-flex; margin-top: 30px; }
@media (max-width: 900px) {
  .diary-carousel { grid-auto-columns: minmax(170px, 30%); }
  .full-diary-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .diary-carousel { grid-auto-columns: minmax(150px, 43%); gap: 12px; padding-bottom: 18px; }
  .carousel-arrow { display: none; }
  .full-diary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .diary-page-main { padding-top: 55px; }
}
