/* Stars of Wellbeing
   Colours from the logo: charcoal + star orange. Fonts self-hosted (SIL OFL). */

@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --ink: #161413;
  --ink-2: #211e1c;
  --charcoal: #292929;
  --orange: #ff6b00;
  --orange-hi: #ff8a33;
  --orange-text: #b84d00; /* orange for small text on light grounds (AA) */
  --peach: #fdd9c0;
  --sand: #f3ebe1;
  --cream: #faf6f0;
  --text: #221f1d;
  --muted: #6d655e;
  --line: rgba(34, 31, 29, .14);
  --on-dark: #f4efe9;
  --on-dark-muted: #b9b0a8;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--sans);
  font-size: clamp(1.02rem, .97rem + .25vw, 1.15rem);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--orange); color: var(--ink); padding: 10px 16px; font-weight: 700;
}
.skip:focus { left: 12px; top: 12px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--sans); font-size: .78rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  margin: 0 0 1.4rem;
}
.eyebrow .star { color: var(--orange); font-size: 1.05em; letter-spacing: 0; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  color: var(--on-dark);
  transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease);
  padding: 22px 0;
}
.site-header.scrolled {
  background: rgba(22, 20, 19, .82);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
  padding: 12px 0;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: block; flex: 0 1 auto; }
.logo img { width: clamp(170px, 20vw, 240px); }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 36px); }
.nav a {
  position: relative; text-decoration: none; font-weight: 600; font-size: .95rem;
  letter-spacing: .04em; padding: 6px 0;
}
.nav a:not(.pill)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav a:not(.pill):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.pill {
  padding: 10px 20px !important; border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, .4);
  transition: background .3s, border-color .3s, color .3s;
}
.pill:hover { background: var(--orange); border-color: var(--orange); color: var(--ink); }

.menu-toggle { display: none; }

/* ---------- Mobile menu ---------- */
.menu-panel { display: none; }

@media (max-width: 820px) {
  .js .nav { display: none; }
  .js .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin-right: -8px;
    background: none; border: 0; color: inherit; cursor: pointer; border-radius: 50%;
    position: relative; z-index: 2;
  }
  .menu-toggle .bars { position: relative; width: 26px; height: 12px; }
  .menu-toggle .bars span {
    position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor;
    transition: transform .45s var(--ease), top .45s var(--ease), width .45s var(--ease);
  }
  .menu-toggle .bars span:first-child { top: 0; }
  .menu-toggle .bars span:last-child { top: 10px; width: 70%; left: auto; }
  .menu-toggle[aria-expanded="true"] .bars span:first-child { top: 5px; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .bars span:last-child { top: 5px; width: 100%; transform: rotate(-45deg); }

  .js .menu-panel {
    display: flex; flex-direction: column; justify-content: space-between;
    position: fixed; inset: 0; z-index: 45;
    padding: 120px var(--gutter) 40px;
    background:
      radial-gradient(120% 60% at 100% 0%, rgba(255, 107, 0, .28), transparent 60%),
      var(--ink);
    color: var(--on-dark);
    visibility: hidden; opacity: 0;
    clip-path: circle(0% at calc(100% - 40px) 46px);
    transition: clip-path .7s var(--ease), opacity .3s, visibility 0s linear .7s;
    overflow-y: auto;
  }
  .js .menu-panel.open {
    visibility: visible; opacity: 1;
    clip-path: circle(150% at calc(100% - 40px) 46px);
    transition: clip-path .7s var(--ease), opacity .2s, visibility 0s;
  }
  .menu-panel ul { list-style: none; margin: 0; padding: 0; }
  .menu-panel li { overflow: hidden; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .menu-panel li a {
    display: flex; align-items: baseline; justify-content: space-between;
    padding: 18px 0; text-decoration: none;
    font-family: var(--serif); font-weight: 350; font-size: clamp(2.4rem, 12vw, 3.4rem);
    line-height: 1.1; letter-spacing: -.02em;
    transform: translateY(105%); transition: transform .7s var(--ease), color .3s;
  }
  .menu-panel li a small { font-family: var(--sans); font-size: .8rem; color: var(--on-dark-muted); letter-spacing: .15em; }
  .menu-panel li a[aria-current="page"] { color: var(--orange); }
  .menu-panel.open li a { transform: none; }
  .menu-panel.open li:nth-child(2) a { transition-delay: .07s; }
  .menu-panel.open li:nth-child(3) a { transition-delay: .14s; }
  .menu-foot { margin-top: 48px; opacity: 0; transform: translateY(12px); transition: opacity .5s .25s, transform .5s .25s var(--ease); }
  .menu-panel.open .menu-foot { opacity: 1; transform: none; }
  .menu-foot a { display: block; text-decoration: none; font-weight: 600; font-size: 1.05rem; padding: 6px 0; overflow-wrap: anywhere; }
  .menu-foot a:hover { color: var(--orange); }
  .menu-foot p { margin: 18px 0 0; font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--on-dark-muted); }

  /* no-JS fallback: plain links under the logo */
  html:not(.js) .site-header { position: absolute; }
  html:not(.js) .site-header .wrap { flex-wrap: wrap; }
}


/* ---------- Logo bumper banner (Julian, 17 Nov 2026) ----------
   A short strip cut from the middle of the 16:9 film: just the logo and
   some sky; the copyright line at the bottom is cropped off. */
.logo-banner {
  background: #071018;
  padding-top: 96px; /* clear the fixed header */
}
.logo-banner .crop {
  position: relative; overflow: hidden;
  height: clamp(110px, 12.5vw, 180px);
}
.logo-banner video {
  position: absolute; left: 50%; top: 50%;
  width: 100%; height: auto; display: block;
  transform: translate(-50%, -50%);
  background: #071018;
}
@media (max-width: 820px) {
  .logo-banner { padding-top: 60px; }
  /* Phones: zoom in a little so the logo reads bigger */
  .logo-banner .crop { height: auto; aspect-ratio: 1300 / 360; }
  .logo-banner video { width: 148%; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: var(--on-dark); background: var(--ink);
  padding: 140px 0 clamp(56px, 9vh, 110px);
}
.hero.short { min-height: 60vh; min-height: 60svh; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  animation: drift 24s var(--ease) both;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(22, 20, 19, .65) 0%, rgba(22, 20, 19, .1) 28%, rgba(22, 20, 19, .25) 55%, rgba(22, 20, 19, .92) 100%),
    linear-gradient(90deg, rgba(22, 20, 19, .55) 0%, rgba(22, 20, 19, 0) 70%);
}
@keyframes drift { from { transform: scale(1.12); } to { transform: scale(1.02); } }

/* About: Julian's portrait on black, words beside the photo (Steve, 17 Nov).
   Photo fills the right side and fades into the black on its left edge. */
.hero-portrait { background: #000; }
.hero-portrait .hero-media { left: auto; width: 50%; }
.hero-portrait .hero-media img {
  object-position: 50% 0%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
}
.hero-portrait::before { background: linear-gradient(180deg, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, 0) 22%); }
@media (max-width: 820px) {
  .hero-portrait.short { min-height: 0; align-items: center; padding: 84px 0 28px; }
  .hero-portrait .hero-media { top: 60px; width: 46%; }
  .hero-portrait .hero-media img {
    animation: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 28%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 28%);
  }
  .hero-portrait::before { display: none; }
  .hero-portrait .wrap { padding-right: calc(44% + 4px); }
  .hero-portrait h1 { font-size: clamp(1.75rem, 1rem + 3.4vw, 2.6rem); margin-bottom: .8rem; }
  .hero-portrait .lead { font-size: .95rem; line-height: 1.5; margin: 0; }
  .hero-portrait .eyebrow { margin-bottom: .8rem; font-size: .7rem; }
}

/* Home: compact intro band, so the films show above the fold (Julian, 17 Nov) */
.hero.hero-compact {
  min-height: 0; align-items: center;
  padding: clamp(24px, 3.2vw, 44px) 0;
}
.hero-compact::before {
  background: linear-gradient(90deg, rgba(22, 20, 19, .82) 0%, rgba(22, 20, 19, .55) 60%, rgba(22, 20, 19, .45) 100%);
}
.hero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(20px, 4vw, 64px); align-items: end; }
.hero-compact h1 { margin: 0; max-width: none; font-size: clamp(2.2rem, 1rem + 3.4vw, 4rem); }
/* Films straight after the intro: less space above, shown without waiting for scroll */
.hero-compact + .films { padding-top: clamp(26px, 3.4vw, 46px); }
.hero-compact + .films .films-head { margin-bottom: clamp(14px, 2vw, 24px); }
.hero-compact .lead { margin: 0 0 1.3rem; font-size: clamp(1rem, .95rem + .3vw, 1.15rem); }
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 640px) {
  .hero-compact .hero-actions { gap: 10px; }
  .hero-compact .btn { padding: 13px 12px; font-size: .92rem; }
}

.hero h1 {
  font-family: var(--serif); font-weight: 340;
  font-variation-settings: "opsz" 144;
  font-size: clamp(2.6rem, 1.1rem + 5.6vw, 6rem);
  line-height: 1; letter-spacing: -.022em;
  margin: 0 0 1.6rem; max-width: 12ch;
}
.hero h1 em { font-style: normal; color: var(--orange); }
.hero .lead {
  max-width: 38rem; margin: 0 0 2.2rem;
  font-size: clamp(1.08rem, 1rem + .45vw, 1.3rem); line-height: 1.6; color: #ece5de;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-flex; align-items: center; gap: .7em;
  padding: 16px 28px; border-radius: 999px; text-decoration: none;
  font-weight: 700; font-size: .98rem; letter-spacing: .02em;
  transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: var(--orange-hi); }
.btn-ghost { border: 1.5px solid rgba(255, 255, 255, .45); color: var(--on-dark); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn .tri { width: 0; height: 0; border-left: 8px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }

.scroll-cue {
  position: absolute; right: var(--gutter); bottom: clamp(56px, 9vh, 110px);
  writing-mode: vertical-rl; font-size: .7rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--on-dark-muted); text-decoration: none; display: flex; align-items: center; gap: 14px;
}
.scroll-cue::after { content: ""; width: 1px; height: 56px; background: linear-gradient(var(--on-dark-muted), transparent); }
@media (max-width: 820px) { .scroll-cue { display: none; } }

/* ---------- Sections ---------- */
.section { padding: clamp(52px, 7.5vw, 104px) 0; }

/* Home: Whether you are */
.uses-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.uses-head { position: sticky; top: 120px; }
.uses-head h2, .big-serif {
  font-family: var(--serif); font-weight: 340; font-variation-settings: "opsz" 144;
  font-size: clamp(2.1rem, 1.3rem + 2.8vw, 3.6rem); line-height: 1.04; letter-spacing: -.02em; margin: 0;
}
.uses-head .eyebrow { color: var(--orange-text); }
.uses { list-style: none; margin: 0; padding: 0; counter-reset: use; }
.uses li.use {
  counter-increment: use;
  display: grid; grid-template-columns: 2.4em 1fr; gap: clamp(14px, 2.4vw, 32px); align-items: baseline;
  padding: clamp(16px, 2.2vw, 28px) 0; border-top: 1px solid var(--line);
}
.uses li.use:last-child { border-bottom: 1px solid var(--line); }
.uses li.use::before {
  content: "0" counter(use);
  font-family: var(--serif); font-variation-settings: "opsz" 144; font-weight: 300;
  font-size: clamp(1rem, .9rem + .4vw, 1.2rem); color: var(--orange-text); letter-spacing: .05em;
}
.uses li.use span {
  font-family: var(--serif); font-variation-settings: "opsz" 48; font-weight: 380;
  font-size: clamp(1.3rem, 1.05rem + 1vw, 1.9rem); line-height: 1.22; letter-spacing: -.015em;
  transition: color .3s, transform .5s var(--ease); display: inline-block;
}
.uses li.use:hover span { color: var(--orange-text); transform: translateX(6px); }
.uses li.or {
  position: relative; height: 0; text-align: left;
}
.uses li.or span {
  position: absolute; left: 0; top: 0; transform: translateY(-50%);
  background: var(--cream); padding: 0 12px 0 0;
  font-size: .72rem; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; color: var(--muted);
}

/* Contact band */
.contact-band {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--orange); color: var(--ink);
  padding: clamp(52px, 7vw, 100px) 0;
}
.contact-band .bg-star {
  position: absolute; z-index: -1; right: -8vw; top: 50%; transform: translateY(-50%) rotate(-12deg);
  width: min(70vw, 760px); height: auto; color: rgba(22, 20, 19, .07);
  animation: spin 120s linear infinite;
}
@keyframes spin { to { transform: translateY(-50%) rotate(348deg); } }
.contact-band .eyebrow { color: var(--ink); }
.contact-band .eyebrow .star { color: var(--ink); }
.contact-band h2 {
  font-family: var(--serif); font-weight: 340; font-variation-settings: "opsz" 144;
  font-size: clamp(2.5rem, 1.2rem + 5vw, 5.6rem); line-height: .98; letter-spacing: -.025em; margin: 0 0 clamp(20px, 3vw, 40px);
}
.contact-lines { margin: 0; max-width: 980px; }
.contact-lines .say { display: block; font-size: clamp(1rem, .95rem + .4vw, 1.25rem); font-weight: 600; margin: 0 0 .3rem; }
.contact-lines .big {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  text-decoration: none; margin: 0 0 clamp(18px, 2.4vw, 28px);
  padding: 10px 0 18px; border-bottom: 2px solid rgba(22, 20, 19, .85);
  font-family: var(--serif); font-variation-settings: "opsz" 96; font-weight: 400;
  font-size: clamp(1.5rem, .8rem + 3.2vw, 3.2rem); line-height: 1.08; letter-spacing: -.015em;
}
.contact-lines .big .arrow {
  flex: 0 0 auto; width: clamp(44px, 6vw, 68px); height: clamp(44px, 6vw, 68px); border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: var(--orange);
  font-family: var(--sans); font-size: clamp(1.1rem, 2vw, 1.5rem);
  transition: transform .4s var(--ease), background .3s, color .3s;
}
.contact-lines .big:hover .arrow { transform: rotate(-45deg); background: var(--cream); color: var(--ink); }
.contact-lines .big:last-child { margin-bottom: 0; }

/* Films: the screening room */
.films {
  position: relative; background: var(--ink); color: var(--on-dark);
  padding: clamp(40px, 5.5vw, 80px) 0 clamp(52px, 7vw, 96px);
}
.films-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(18px, 2.8vw, 34px); }
.films-head h2 {
  font-family: var(--serif); font-weight: 340; font-variation-settings: "opsz" 144;
  font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3.2rem); line-height: 1.02; letter-spacing: -.02em; margin: 0;
}
.films-head .eyebrow { color: var(--on-dark-muted); margin-bottom: .6rem; }
.film-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 32px); }
.film { margin: 0; }
.frame {
  position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: var(--radius); background: #000;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
}
.frame img, .frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.frame img { transition: transform 1s var(--ease), filter .6s; filter: saturate(.92) brightness(.9); }
a.frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .55));
}
.play {
  position: absolute; z-index: 2; left: 18px; bottom: 18px;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--orange); display: grid; place-items: center;
  box-shadow: 0 0 0 0 rgba(255, 107, 0, .5);
  transition: transform .5s var(--ease), box-shadow .6s;
}
.play::before {
  content: ""; margin-left: 4px; width: 0; height: 0;
  border-left: 15px solid var(--ink); border-top: 9px solid transparent; border-bottom: 9px solid transparent;
}
.play.out::before { margin: 0; border: 0; width: auto; height: auto; content: "\2197"; color: var(--ink); font-weight: 800; font-size: 1.3rem; }
a.frame:hover img { transform: scale(1.06); filter: saturate(1.05) brightness(1); }
a.frame:hover .play { transform: scale(1.12); box-shadow: 0 0 0 12px rgba(255, 107, 0, .18); }
.tag {
  position: absolute; z-index: 2; top: 14px; right: 14px;
  font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  background: rgba(22, 20, 19, .7); color: var(--on-dark); padding: 6px 10px; border-radius: 999px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.film figcaption { padding: 18px 4px 0; }
.film figcaption strong {
  display: block; font-family: var(--serif); font-variation-settings: "opsz" 36; font-weight: 420;
  font-size: 1.28rem; line-height: 1.25; letter-spacing: -.01em;
}
.film figcaption small { display: block; margin-top: 4px; color: var(--on-dark-muted); font-size: .88rem; }

/* About */
.about-body { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 96px); }
.about-body .side .eyebrow { color: var(--orange-text); margin-top: .6rem; }
.about-body .main > p:first-child {
  font-family: var(--serif); font-variation-settings: "opsz" 48; font-weight: 360;
  font-size: clamp(1.45rem, 1.05rem + 1.5vw, 2.25rem); line-height: 1.32; letter-spacing: -.015em;
  margin: 0 0 1.4em;
}
.about-body .main > p { margin: 0 0 1.2em; max-width: 40rem; color: #3a3532; }

.marquee {
  overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 22px 0; background: var(--cream);
}
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span {
  display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; white-space: nowrap;
  font-family: var(--serif); font-variation-settings: "opsz" 96; font-weight: 340;
  font-size: clamp(1.6rem, 1rem + 2.4vw, 2.8rem); letter-spacing: -.02em;
}
.marquee-track span i { font-style: normal; color: var(--orange); font-size: .6em; }
@keyframes marquee { to { transform: translateX(-50%); } }

.quote-section { background: var(--sand); position: relative; overflow: hidden; }
.quote {
  margin: 0; max-width: 1050px;
}
.quote .mark { display: block; color: var(--orange); font-size: 2.2rem; line-height: 1; margin-bottom: 26px; }
.quote p {
  margin: 0; font-family: var(--serif); font-variation-settings: "opsz" 144; font-weight: 320;
  font-size: clamp(1.7rem, 1rem + 2.8vw, 3.4rem); line-height: 1.12; letter-spacing: -.02em;
}
.quote p em { font-style: normal; color: var(--orange-text); }
.quote-after {
  margin: clamp(28px, 4vw, 48px) 0 0; max-width: 36rem; margin-left: auto;
  padding-top: 24px; border-top: 1px solid var(--line); font-size: 1.1rem; color: #3a3532;
}

/* Footer */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding: 0 0 36px; font-size: .92rem; }
.site-footer .top {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  padding: 44px 0; border-top: 1px solid rgba(255, 255, 255, .08); border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.site-footer .logo img { width: 200px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.site-footer .bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 26px; }
.site-footer .bottom .contact a { overflow-wrap: anywhere; }

/* Grain on dark sections */
.grain { position: relative; }
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Reveal on scroll (only when JS is on) */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal="2"] { transition-delay: .12s; }
.js [data-reveal="3"] { transition-delay: .24s; }
.hero [data-rise] { animation: rise 1.2s var(--ease) both; }
.hero [data-rise="2"] { animation-delay: .15s; }
.hero [data-rise="3"] { animation-delay: .3s; }
.hero [data-rise="4"] { animation-delay: .45s; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .film-row { grid-template-columns: 1fr 1fr; }
  .film-row .film:last-child { grid-column: 1 / -1; }
  .film-row .film:last-child .frame { aspect-ratio: 21 / 9; }
}
@media (max-width: 820px) {
  .uses-grid, .about-body { grid-template-columns: 1fr; }
  .uses-head { position: static; }
  .site-header { padding: 8px 0; }
  .site-header.scrolled { padding: 6px 0; }
  .logo img { width: 150px; }
}
@media (max-width: 640px) {
  .film-row { grid-template-columns: 1fr; }
  .film-row .film:last-child .frame { aspect-ratio: 16 / 9; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .films-head { display: block; }
  .site-footer .top { flex-direction: column; align-items: flex-start; }
  .contact-lines .big { padding-bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* Facebook card: centre the button over the play icon baked into the thumbnail */
.play.out { left: 50%; top: 50%; bottom: auto; width: 76px; height: 76px; transform: translate(-50%, -50%); }
a.frame:hover .play.out { transform: translate(-50%, -50%) scale(1.1); }


/* Email line: shrink to fit on phones, break only after the @ */
.contact-lines .big.email { font-size: clamp(1.2rem, .4rem + 4vw, 3.2rem); }
.contact-lines .big span:first-child { min-width: 0; }

/* Phones: films as a compact list (small thumb left, title right).
   A film being played goes full width. (Steve, 17 Nov) */
@media (max-width: 640px) {
  .film-row { gap: 14px; }
  .film { display: grid; grid-template-columns: 42% 1fr; gap: 14px; align-items: center; }
  .film .frame { border-radius: 10px; box-shadow: none; }
  .film figcaption { padding: 0; }
  .film figcaption strong { font-size: 1.04rem; line-height: 1.25; }
  .film figcaption small { font-size: .8rem; margin-top: 2px; }
  .play { width: 34px; height: 34px; left: 8px; bottom: 8px; }
  .play::before { margin-left: 3px; border-left-width: 10px; border-top-width: 6px; border-bottom-width: 6px; }
  .play.out { width: 40px; height: 40px; left: 50%; bottom: auto; }
  .play.out::before { font-size: 1rem; }
  .tag { display: none; }
  .film.playing { grid-template-columns: 1fr; }
  .film.playing .frame { border-radius: var(--radius); }
  .film.playing figcaption { padding-top: 10px; }
  /* Intro a touch smaller so the films sit higher */
  .hero-compact .lead { font-size: .98rem; line-height: 1.55; margin-bottom: 1.1rem; }
  .hero-compact .btn { padding: 12px 12px; }
}

/* About page: white on black all the way down to the contact band (Steve, 17 Nov) */
.page-about main { background: #000; color: var(--on-dark); }
.page-about .marquee { background: #000; border-color: rgba(255, 255, 255, .12); }
.page-about .about-body .side .eyebrow { color: var(--orange); }
.page-about .about-body .main > p { color: #cfc7bf; }
.page-about .about-body .main > p:first-child { color: var(--on-dark); }
.page-about .quote-section { background: #000; border-top: 1px solid rgba(255, 255, 255, .1); }
.page-about .quote p em { color: var(--orange); }
.page-about .quote-after { color: #cfc7bf; border-top-color: rgba(255, 255, 255, .14); }
.page-about .films { background: #000; border-top: 1px solid rgba(255, 255, 255, .1); }
