/* ===========================================================
   神田シネマ — Kanda Cinema  /  retro social-cinema landing
   =========================================================== */

:root{
  --ink:#16130f;        /* warm near-black  */
  --ink-2:#1f1a14;      /* slightly raised  */
  --ink-3:#2a231b;      /* card on dark     */
  --cream:#ece5d6;      /* primary text     */
  --cream-dim:#b6ad9c;  /* muted text       */
  --paper:#f1e9d8;      /* light section bg */
  --paper-ink:#241d15;  /* text on paper    */
  --red:#c4392a;        /* vermilion accent */
  --red-deep:#9e2c20;
  --amber:#d8a64a;      /* marquee bulbs    */
  --line:rgba(236,229,214,.18);
  --line-paper:rgba(36,29,21,.16);

  --mincho:"Shippori Mincho","Hiragino Mincho ProN",serif;
  --gothic:"Zen Kaku Gothic New","Hiragino Kaku Gothic ProN",sans-serif;
  --disp:"Oswald","Zen Kaku Gothic New",sans-serif;

  --maxw:1180px;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  background:var(--ink);
  color:var(--cream);
  font-family:var(--gothic);
  font-weight:400;
  line-height:1.85;
  -webkit-font-smoothing:antialiased;
  letter-spacing:.02em;
  overflow-x:hidden;
}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}

/* ---- film grain overlay (whole page) ---- */
body::after{
  content:"";
  position:fixed;inset:0;z-index:9000;pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity:.045;
  mix-blend-mode:screen;
}

/* ============ shared structural bits ============ */
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 32px}
section{position:relative}

.eyebrow{
  font-family:var(--disp);
  font-weight:500;
  letter-spacing:.42em;
  text-transform:uppercase;
  font-size:13px;
  color:var(--red);
}
.eyebrow.cream{color:var(--cream-dim)}

.section-num{
  font-family:var(--disp);
  font-weight:600;
  font-size:13px;
  letter-spacing:.3em;
  color:var(--cream-dim);
}

h1,h2,h3{font-family:var(--mincho);font-weight:600;line-height:1.28;letter-spacing:.04em}

/* horizontal sprocket / film-strip rule */
.filmrule{
  height:22px;width:100%;
  background:
    repeating-linear-gradient(90deg,
      transparent 0 18px,
      var(--ink) 18px 30px),
    var(--cream);
  -webkit-mask:
    linear-gradient(#000 0 0) center/100% 8px no-repeat;
  /* fallback solid line if mask unsupported */
}
/* film strip band — wide frame windows + small dense perforations (matches reference) */
.filmstrip{
  height:74px;
  background-color:#1a140e;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='112' height='74'%3E%3Crect width='112' height='74' fill='%231a140e'/%3E%3Crect x='4' y='16' width='104' height='42' fill='%23efe8d8'/%3E%3Cg fill='%23efe8d8'%3E%3Crect x='2' y='5' width='5' height='5'/%3E%3Crect x='11' y='5' width='5' height='5'/%3E%3Crect x='20' y='5' width='5' height='5'/%3E%3Crect x='29' y='5' width='5' height='5'/%3E%3Crect x='38' y='5' width='5' height='5'/%3E%3Crect x='47' y='5' width='5' height='5'/%3E%3Crect x='56' y='5' width='5' height='5'/%3E%3Crect x='65' y='5' width='5' height='5'/%3E%3Crect x='74' y='5' width='5' height='5'/%3E%3Crect x='83' y='5' width='5' height='5'/%3E%3Crect x='92' y='5' width='5' height='5'/%3E%3Crect x='101' y='5' width='5' height='5'/%3E%3Crect x='2' y='64' width='5' height='5'/%3E%3Crect x='11' y='64' width='5' height='5'/%3E%3Crect x='20' y='64' width='5' height='5'/%3E%3Crect x='29' y='64' width='5' height='5'/%3E%3Crect x='38' y='64' width='5' height='5'/%3E%3Crect x='47' y='64' width='5' height='5'/%3E%3Crect x='56' y='64' width='5' height='5'/%3E%3Crect x='65' y='64' width='5' height='5'/%3E%3Crect x='74' y='64' width='5' height='5'/%3E%3Crect x='83' y='64' width='5' height='5'/%3E%3Crect x='92' y='64' width='5' height='5'/%3E%3Crect x='101' y='64' width='5' height='5'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat:repeat-x;
  background-position:center;
  background-size:auto 74px;
  position:relative;
}

/* marquee bulbs */
.bulbs{
  display:flex;gap:0;justify-content:center;align-items:center;
  height:18px;
}
.bulbs i{
  width:7px;height:7px;border-radius:50%;
  background:var(--amber);
  margin:0 9px;
  box-shadow:0 0 8px 1px rgba(216,166,74,.5);
}
.bulbs i:nth-child(2n){background:#e6bd6e}

/* divider ornament */
.orn{display:flex;align-items:center;gap:18px;color:var(--cream-dim);font-size:14px}
.orn::before,.orn::after{content:"";height:1px;flex:1;background:var(--line)}

/* ============ NAV ============ */
.nav{
  position:fixed;top:0;left:0;right:0;z-index:8000;
  display:flex;align-items:center;justify-content:space-between;
  padding:14px 32px;
  background:transparent;
  transition:background .3s,border-color .3s;
  border-bottom:1px solid transparent;
}
.nav.solid{
  background:rgba(18,15,11,.92);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
}
.brand{display:flex;align-items:center;gap:12px}
.brand .mark{
  width:34px;height:34px;flex:0 0 auto;
  border:1.5px solid var(--cream);
  display:grid;place-items:center;
  font-family:var(--mincho);font-size:18px;font-weight:600;
  color:var(--cream);
}
.brand b{font-family:var(--mincho);font-weight:600;font-size:18px;letter-spacing:.12em}
.brand small{display:block;font-family:var(--disp);font-size:9px;letter-spacing:.34em;color:var(--cream-dim);margin-top:-2px}
.brand-logo{
  display:block;width:124px;height:auto;
}
.navlinks{display:flex;gap:30px;align-items:center}
.navlinks a{font-size:14.5px;font-weight:700;color:var(--cream);letter-spacing:.08em;transition:color .2s}
.navlinks a:hover{color:var(--red)}
.nav-cta{
  font-family:var(--gothic);font-size:13px;letter-spacing:.1em;
  padding:9px 20px;border:1.5px solid var(--red);color:var(--cream);
  background:var(--red);transition:.2s;
}
.nav-cta:hover{background:transparent;color:var(--red)}
@media(max-width:860px){.navlinks{display:none}}

/* ============ buttons ============ */
.btn{
  display:inline-flex;align-items:center;gap:12px;
  font-family:var(--gothic);font-size:15px;letter-spacing:.08em;
  padding:15px 30px;cursor:pointer;transition:.22s;border:1.5px solid transparent;
}
.btn .arr{font-family:var(--disp);transition:transform .22s}
.btn:hover .arr{transform:translateX(5px)}
.btn-red{background:var(--red);color:#fff;border-color:var(--red)}
.btn-red:hover{background:var(--red-deep);border-color:var(--red-deep)}
.btn-ghost{border-color:var(--line);color:var(--cream)}
.btn-ghost:hover{border-color:var(--cream)}
.btn-ink{background:var(--paper-ink);color:var(--paper);border-color:var(--paper-ink)}
.btn-ink:hover{background:transparent;color:var(--paper-ink)}
