/* Lemon Salad Studio — deep ink cinematic (B2 night / B1 day)
   One design, two themes via CSS variables. Night is the signature. */
:root{
  --bg:#0d1017; --bg2:#141926; --card:#171d2e;
  --ink:#f3ecdd; --muted:#b3ac9c; --line:rgba(243,236,221,.14);
  --accent:#d4704e; --accent2:#d9a441; --shadow:rgba(0,0,0,.45);
  --hero-shade:linear-gradient(180deg,rgba(9,11,17,.28) 0%,rgba(9,11,17,.06) 34%,rgba(9,11,17,.66) 78%,rgba(9,11,17,.92) 100%);
}
html[data-theme="light"]{
  --bg:#f6f0e1; --bg2:#fdf8ec; --card:#fffdf5;
  --ink:#1d2433; --muted:#5d6472; --line:rgba(29,36,51,.14);
  --accent:#a84a30; --accent2:#9c741c; --shadow:rgba(83,64,28,.18);
  --hero-shade:linear-gradient(180deg,rgba(246,240,225,.16) 0%,rgba(246,240,225,0) 34%,rgba(246,240,225,.55) 76%,rgba(246,240,225,.94) 100%);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0; background:var(--bg); color:var(--ink);
  font-family:"Manrope",system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:17px; line-height:1.65;
  transition:background .35s ease,color .35s ease;
}
h1,h2,h3,.serif{font-family:"Fraunces",Georgia,"Times New Roman",serif; font-weight:600; line-height:1.14; margin:0}
a{color:var(--accent); text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%; display:block}
.wrap{max-width:1120px; margin:0 auto; padding:0 22px}

/* header */
header.site{
  position:sticky; top:0; z-index:40;
  background:color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter:blur(10px); border-bottom:1px solid var(--line);
}
.header-in{display:flex; align-items:center; gap:26px; padding:14px 0}
.wordmark{font-family:"Fraunces",Georgia,serif; font-size:21px; font-weight:700; letter-spacing:.2px; color:var(--ink)}
.wordmark:hover{text-decoration:none}
.wordmark em{font-style:normal; color:var(--accent)}
nav.main{margin-left:auto; display:flex; gap:24px; align-items:center; flex-wrap:wrap}
nav.main a{color:var(--ink); font-size:15px; font-weight:600}
nav.main a:hover{color:var(--accent); text-decoration:none}
.toggle{
  font:inherit; font-size:14px; font-weight:700; letter-spacing:.04em;
  background:transparent; color:var(--ink); border:1px solid var(--line);
  padding:7px 14px; border-radius:999px; cursor:pointer;
}
.toggle:hover{border-color:var(--accent); color:var(--accent)}

/* hero */
.hero{position:relative; height:min(92vh,56.25vw); min-height:600px; display:flex; align-items:flex-end; overflow:hidden}
.hero img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 42%;
  opacity:0; transition:opacity .6s ease;
}
@media (max-width:820px){ .hero{min-height:86vh} .hero img{object-position:32% 45%} }
.hero img.day{opacity:0}
html[data-theme="dark"] .hero img.night{opacity:1}
html[data-theme="light"] .hero img.day{opacity:1}
.hero::after{content:""; position:absolute; inset:0; background:var(--hero-shade)}
.hero-in{position:relative; z-index:2; width:100%; padding:120px 0 64px}
.kicker{font-size:14px; font-weight:800; letter-spacing:.22em; text-transform:uppercase; color:var(--accent2); margin:0 0 14px}
.hero h1{font-size:clamp(44px,7.2vw,84px); max-width:12em; letter-spacing:-.01em}
.hero p.lede{font-size:clamp(18px,2.3vw,23px); max-width:34em; color:var(--ink); opacity:.92; margin:20px 0 0}
html[data-theme="dark"] .hero h1, html[data-theme="dark"] .hero p.lede{text-shadow:0 2px 26px rgba(0,0,0,.5)}
.cta-row{display:flex; gap:14px; flex-wrap:wrap; margin-top:30px}
.btn{
  display:inline-block; padding:13px 24px; border-radius:999px; font-weight:700; font-size:15.5px;
  background:var(--accent); color:#fff8ec; border:1px solid var(--accent);
}
.btn:hover{text-decoration:none; filter:brightness(1.07)}
.btn.ghost{background:transparent; color:var(--ink); border-color:var(--line)}
.btn.ghost:hover{border-color:var(--accent); color:var(--accent)}

/* sections */
section.block{padding:84px 0 8px}
section.block h2{font-size:clamp(30px,4vw,44px); margin-bottom:14px}
section.block .sub{color:var(--muted); max-width:44em; margin:0 0 34px; font-size:18px}
.grid{display:grid; gap:20px}
.grid.two{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}
.grid.three{grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}
.card{
  background:var(--card); border:1px solid var(--line); border-radius:6px; padding:28px;
  box-shadow:0 14px 34px -22px var(--shadow);
}
.card .card-img{display:block; width:calc(100% + 56px); max-width:none; margin:-28px -28px 20px; aspect-ratio:16/9; object-fit:cover; border-radius:6px 6px 0 0}
.card h3{font-size:23px; margin-bottom:10px}
.card p{margin:0; color:var(--muted)}
.card .tag{font-size:14px; font-weight:800; letter-spacing:.18em; text-transform:uppercase; color:var(--accent2); display:block; margin-bottom:12px}
.rule{height:1px; background:var(--line); margin:64px 0 0}

/* IP band */
.band{display:grid; grid-template-columns:1.05fr 1fr; gap:0; border:1px solid var(--line); border-radius:6px; overflow:hidden; background:var(--card)}
.band img{width:100%; height:100%; object-fit:cover; min-height:320px}
.band .txt{padding:42px}
.band h3{font-size:32px; margin-bottom:12px}
.band p{color:var(--muted); margin:0 0 18px}
@media (max-width:820px){ .band{grid-template-columns:1fr} .band img{min-height:240px} }

/* category list */
.cats{display:flex; flex-wrap:wrap; gap:12px; padding:0; margin:0; list-style:none}
.cats li{border:1px solid var(--line); border-radius:999px; padding:9px 18px; font-weight:600; font-size:15.5px; background:var(--bg2)}

/* page head (subpages) */
.pagehead{padding:76px 0 10px}
.pagehead h1{font-size:clamp(38px,5.4vw,60px); max-width:14em}
.pagehead .sub{color:var(--muted); font-size:19px; max-width:42em; margin-top:16px; font-style:italic}
.prose{max-width:46em}
.prose .inline-fig{float:right; width:190px; margin:2px 0 12px 20px; border-radius:6px; border:1px solid var(--line)}
.prose .inline-fig.left{float:left; margin:2px 20px 12px 0}
.prose .inline-fig.wide{width:280px}
@media (max-width:640px){ .prose .inline-fig{width:132px; margin-left:14px} .prose .inline-fig.left{margin-left:0; margin-right:14px} .prose .inline-fig.wide{width:170px} }
.prose p{color:var(--muted); margin:0 0 18px}
.prose p strong, .prose h3{color:var(--ink)}
.prose h3{font-size:24px; margin:34px 0 10px}
.figure{margin:36px 0}
.figure img{border-radius:6px; border:1px solid var(--line)}
.figure video{display:block; width:100%; border-radius:6px; border:1px solid var(--line); background:#000}
.figure figcaption{color:var(--muted); font-size:14.5px; margin-top:10px}
.gallery{display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:20px; margin:36px 0}
.gallery figure{margin:0; display:flex; flex-direction:column}
.gallery img{border-radius:6px; border:1px solid var(--line); width:100%; aspect-ratio:3/2; object-fit:cover}
.gallery.portraits{display:flex; flex-wrap:wrap; gap:20px}
.gallery.portraits img{height:460px; width:auto; aspect-ratio:9/16; object-fit:cover}
@media (max-width:640px){ .gallery.portraits figure{width:calc(50% - 10px)} .gallery.portraits img{height:auto; width:100%} }
.gallery figcaption{color:var(--muted); font-size:14.5px; margin-top:10px}

/* footer */
footer.site{margin-top:96px; border-top:1px solid var(--line); background:var(--bg2)}
.footer-in{padding:44px 0 54px; display:grid; gap:18px}
footer.site .wordmark{font-size:19px}
footer.site p{color:var(--muted); margin:0; font-size:15px; max-width:52em}
footer.site nav{display:flex; gap:20px; flex-wrap:wrap}
footer.site nav a{color:var(--ink); font-size:14.5px; font-weight:600}
.small{font-size:14px; color:var(--muted)}
.cast-row{display:flex; gap:30px; margin:28px 0 10px; max-width:590px}
.cast-row figure{flex:1; margin:0}
.cast-row img{width:100%; aspect-ratio:4/5; object-fit:cover; border-radius:6px; border:1px solid var(--line); display:block}
.cast-row figcaption{color:var(--muted); font-size:14.5px; margin-top:9px; line-height:1.5}
.cast-row figcaption strong{color:var(--ink)}
.cast-row img.pos-top{object-position:50% 0}
@media (max-width:640px){.cast-row{gap:16px}.cast-row figcaption{font-size:14px}}
