/* Cinema Kororāreka — refreshed
   Faithful to the original cream + burnt-orange palette,
   modernised typography, mobile-first, no framework. */

:root {
  --cream: #fdf3e3;
  --cream-2: #f7ead2;
  --paper: #ffffff;
  --ink: #2b1d12;
  --ink-soft: #6b5a4b;
  --rule: rgba(43, 29, 18, 0.12);
  --accent: #c0533a;       /* burnt orange (matches his headings) */
  --accent-deep: #8e3a26;
  --teal: #1f5d63;         /* picked from the vintage logo's banner */
  --gold: #c9a35b;
  --shadow-sm: 0 1px 2px rgba(43, 29, 18, 0.06);
  --shadow: 0 8px 24px -10px rgba(43, 29, 18, 0.18);
  --radius: 10px;
  --radius-lg: 18px;
  --maxw: 1120px;
  --pad: clamp(1rem, 3vw, 2rem);
  --serif: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(16px, 1vw + 14px, 18px);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, iframe { max-width: 100%; height: auto; display: block; }

a { color: var(--accent-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2rem, 4.5vw + 1rem, 3.4rem); }
h2 { font-size: clamp(1.6rem, 2.5vw + 1rem, 2.4rem); }
h3 { font-size: clamp(1.2rem, 1vw + 1rem, 1.4rem); }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .8rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 .5em;
}
.lede { font-size: 1.1rem; color: var(--ink-soft); max-width: 60ch; }
.muted { color: var(--ink-soft); }

.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: .5rem .75rem;
}
.skip-link:focus { left: 1rem; top: 1rem; z-index: 100; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(253, 243, 227, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: .65rem;
}
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; color: inherit; }
.brand img { width: 44px; height: 44px; border-radius: 50%; box-shadow: var(--shadow-sm); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 1.05rem; font-weight: 600; }
.brand-sub { font-size: .75rem; color: var(--ink-soft); letter-spacing: .04em; }
.site-header nav { display: flex; gap: clamp(.6rem, 2vw, 1.4rem); }
.site-header nav a {
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem;
  padding: .35rem .25rem; border-bottom: 2px solid transparent;
}
.site-header nav a:hover { border-bottom-color: var(--accent); color: var(--accent-deep); }

@media (max-width: 540px) {
  .brand-sub { display: none; }
  .site-header nav a { font-size: .88rem; }
}

/* Hero */
.hero {
  position: relative; isolation: isolate;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}
.hero-img {
  width: 100%; aspect-ratio: 21 / 9; object-fit: cover; min-height: 300px; max-height: 70vh;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(43,29,18,0) 35%, rgba(43,29,18,.55) 100%);
  pointer-events: none;
}
.hero-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: clamp(1.25rem, 4vw, 3rem) var(--pad);
  color: #fff;
  z-index: 1;
}
.hero-tag { text-transform: uppercase; letter-spacing: .18em; font-size: .8rem; margin: 0 0 .25rem; opacity: .9; }
.hero-title {
  color: #fff; font-size: clamp(1.8rem, 3.6vw + 1rem, 3.6rem);
  max-width: 18ch; margin: 0 0 .5rem; text-shadow: 0 2px 24px rgba(0,0,0,.35);
}
.hero-sub { margin: 0 0 1.25rem; font-size: 1.05rem; opacity: .92; max-width: 50ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: .98rem; line-height: 1;
  padding: .85rem 1.2rem; border-radius: 999px;
  text-decoration: none; transition: transform .12s ease, background .12s ease, box-shadow .12s ease;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--accent); color: #fff;
}
.btn-primary:hover { background: var(--accent-deep); color: #fff; transform: translateY(-1px); }
.btn-ghost {
  background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.5);
  backdrop-filter: blur(2px);
}
.btn-ghost:hover { background: rgba(255,255,255,.22); color: #fff; }
.btn-outline {
  background: transparent; color: var(--accent-deep); border-color: var(--accent);
}
.btn-outline:hover { background: var(--accent); color: #fff; }

/* Programme */
.programme { padding-block: clamp(2rem, 5vw, 4rem); }
.prog-actions { margin: 1rem 0 1.75rem; }
.programme-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: .5rem 1.5rem;
  font-variant-numeric: tabular-nums;
}
.programme-list li {
  display: grid; grid-template-columns: 1fr auto; align-items: baseline;
  gap: .5rem 1rem;
  padding: .65rem 0;
  border-bottom: 1px dashed var(--rule);
}
.programme-list .when { color: var(--ink); font-weight: 500; }
.programme-list .what { color: var(--accent-deep); font-weight: 600; text-align: right; }

/* Films */
.films { padding-block: clamp(2rem, 5vw, 4rem); background: var(--cream-2); }
.film-grid {
  display: grid; gap: clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .film-grid { grid-template-columns: 1fr; }
}
.film {
  display: grid;
  grid-template-columns: minmax(180px, 280px) 1fr;
  gap: clamp(1rem, 2vw, 2rem);
  align-items: start;
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(1rem, 2vw, 1.5rem);
}
@media (max-width: 640px) {
  .film { grid-template-columns: 1fr; }
}
.film-poster {
  border-radius: var(--radius);
  overflow: hidden;
  background: #1a1410;
  aspect-ratio: 2 / 3;
  box-shadow: var(--shadow);
}
.film-poster img { width: 100%; height: 100%; object-fit: cover; }
.film-body h3 { color: var(--accent-deep); margin-top: 0; }
.film-synopsis { color: var(--ink); margin: 0 0 1rem; }
.film-showings { margin: 0 0 1rem; padding: 0; list-style: none; }
.film-showings li { padding: .25rem 0; color: var(--ink); }
.film-showings li::before { content: "▸ "; color: var(--accent); }
.trailer-wrap {
  position: relative; aspect-ratio: 16 / 9;
  background: #000; border-radius: var(--radius); overflow: hidden;
  margin-top: .5rem;
}
.trailer-wrap iframe, .trailer-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; }
.trailer-thumb {
  cursor: pointer; border: 0; padding: 0; background: transparent; width: 100%; height: 100%;
  position: relative; display: block;
}
.trailer-thumb img { object-fit: cover; }
.trailer-thumb::after {
  content: "▶";
  position: absolute; inset: 0; display: grid; place-items: center;
  color: rgba(255,255,255,.95); font-size: 3rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.4) 100%);
  transition: background .15s;
}
.trailer-thumb:hover::after { background: rgba(0,0,0,.18); }

/* Info cards */
.info { padding-block: clamp(2rem, 5vw, 4rem); }
.info-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.info-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(1.1rem, 2vw, 1.5rem);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--rule);
}
.info-card h3 { color: var(--accent-deep); margin-top: 0; }

/* Deals */
.deals { padding-block: clamp(2rem, 5vw, 4rem); background: var(--cream-2); }
.steps {
  margin: 1rem 0; padding: 0; counter-reset: step;
  list-style: none; display: grid; gap: .8rem;
  max-width: 60ch;
}
.steps li {
  position: relative; padding-left: 2.4rem;
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: -2px;
  width: 1.7rem; height: 1.7rem; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
  font-weight: 700; font-size: .9rem;
}

/* Ferry */
.ferry { padding-block: clamp(2rem, 5vw, 4rem); }
.ferry-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-bottom: 1rem;
}
.ferry-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: clamp(1rem, 2vw, 1.5rem);
}
.ferry-card h3 { margin-top: 0; color: var(--teal); }
.ferry-card ul { padding: 0; margin: .25rem 0 0; list-style: none; }
.ferry-card li { padding: .3rem 0; border-bottom: 1px dashed var(--rule); font-variant-numeric: tabular-nums; }
.ferry-card li:last-child { border-bottom: 0; }

/* Footer */
.site-footer {
  padding-block: 2rem;
  background: var(--ink);
  color: #f4e8d4;
}
.site-footer a { color: #f4d3a8; }
.site-footer .copyright { margin-top: 1rem; font-size: .9rem; opacity: .8; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
