/* Framora Corporate: black, gold and white. One display serif, one working sans. */

:root {
  --black: #000000;
  --panel: #121212;
  --panel-2: #1b1b1b;
  --gold: #c9a962;
  --gold-light: #e6cf95;
  --white: #f5f2ec;
  --mute: #a39c8d;
  --line: rgba(201, 169, 98, 0.32);
  --line-soft: rgba(245, 242, 236, 0.12);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
  --measure: 36rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold-light); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--black); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0;
  color: var(--white);
}
h1 { font-size: clamp(2.9rem, 6.6vw, 6.2rem); line-height: 0.98; letter-spacing: -0.012em; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.9rem); line-height: 1.04; letter-spacing: -0.01em; }
h3 { font-size: clamp(1.45rem, 2.2vw, 1.95rem); line-height: 1.15; }
p { margin: 0 0 1.1em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }
.lede { font-size: 1.2rem; line-height: 1.55; color: var(--white); }
.mute { color: var(--mute); }
.serif { font-family: var(--serif); }
.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }
.narrow { max-width: 1240px; margin-left: auto; margin-right: auto; }

/* Buttons: one solid gold, one quiet outline */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 30px;
  font-family: var(--sans); font-weight: 400; font-size: 0.98rem; letter-spacing: 0.02em;
  border: 1px solid var(--gold); color: var(--gold-light); background: transparent;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
  cursor: pointer;
}
.btn:hover { background: var(--gold); color: var(--black); }
.btn.solid { background: var(--gold); color: var(--black); }
.btn.solid:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn.small { min-height: 42px; padding: 0 20px; font-size: 0.9rem; }
.textlink {
  display: inline-block; padding-bottom: 2px;
  border-bottom: 1px solid var(--line); color: var(--gold-light);
}
.textlink:hover { border-bottom-color: var(--gold-light); }

/* Header */
.site-header {
  position: absolute; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px var(--gutter);
}
.site-header.solid { position: relative; background: var(--black); border-bottom: 1px solid var(--line-soft); }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 30px; width: auto; }
.brand span {
  font-family: var(--serif); font-weight: 500; font-size: 1.35rem; letter-spacing: 0.34em;
  padding-left: 0.1em; color: var(--white);
}
.nav { display: flex; align-items: center; gap: 36px; }
.nav a { font-size: 0.98rem; color: var(--white); }
.nav a[aria-current="page"] { color: var(--gold-light); }
.nav .btn { margin-left: 8px; }
.menu-toggle {
  display: none; background: none; border: 1px solid var(--line); color: var(--white);
  font-family: var(--sans); font-size: 0.9rem; padding: 9px 14px; cursor: pointer;
}

/* Hero: a cinematic frame, headline as the lower third */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  overflow: hidden; isolation: isolate;
}
.hero picture, .hero img, .hero .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; background: var(--black); }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.35) 38%, rgba(0,0,0,0) 62%),
    linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.05) 40%, rgba(0,0,0,0.82) 78%, #000 100%);
}
.hero .frame {
  width: 100%; padding: 0 var(--gutter) clamp(44px, 7vh, 88px);
  border-bottom: 1px solid var(--line);
}
.hero .frame > * { max-width: 13ch; }
.hero .lede { max-width: 34rem; margin-top: 26px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; max-width: none; }
/* YouTube fallback for the hero: a 16:9 frame scaled to cover the viewport */
.hero .hero-yt { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; background: var(--black); }
.hero .hero-yt.interactive { pointer-events: auto; }
.hero .hero-yt iframe { position: absolute; top: 50%; left: 50%; width: max(100vw, 177.78vh); height: max(100vh, 56.25vw); transform: translate(-50%, -50%); border: 0; }
.hero .hero-note { margin-top: 22px; font-size: 0.92rem; color: var(--mute); max-width: 34rem; }
.sound-toggle { background: none; border: 0; border-bottom: 1px solid var(--line); color: var(--gold-light); font: inherit; padding: 0 0 1px; cursor: pointer; }
.sound-toggle:hover { border-bottom-color: var(--gold-light); }
.hero .bar { position: absolute; left: 0; right: 0; height: 0; background: var(--black); z-index: 1; }
.hero .bar.top { top: 0; }
.hero .bar.bottom { bottom: 0; }
.hero.reveal .bar { height: 11vh; }
@media (prefers-reduced-motion: no-preference) {
  .hero .bar { transition: height 1100ms cubic-bezier(0.7, 0, 0.2, 1) 150ms; }
  .hero .frame > * { opacity: 0; transform: translateY(14px); transition: opacity 900ms ease 700ms, transform 900ms ease 700ms; }
  .hero.ready .frame > * { opacity: 1; transform: none; }
  .hero.ready .bar { height: 0; }
}
@media (prefers-reduced-motion: reduce) { .hero.reveal .bar { height: 0; } }

/* Page intro for inner pages */
.intro { padding: clamp(80px, 13vh, 150px) var(--gutter) clamp(40px, 7vh, 80px); }
.intro h1 { max-width: 14ch; }
.intro .lede { margin-top: 26px; }

/* Sections */
.section { padding: clamp(72px, 11vh, 132px) var(--gutter); }
.section + .section { padding-top: 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; margin-bottom: clamp(32px, 5vh, 56px); }
.section-head h2 { max-width: 16ch; }
.section-head p { max-width: 30rem; }
.rule { border: 0; border-top: 1px solid var(--line-soft); margin: 0; }

/* Films: click to play, poster first */
.film { position: relative; aspect-ratio: 16 / 9; background: var(--panel); overflow: hidden; }
.film img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms ease; }
.film:hover img { transform: scale(1.025); }
.film .play {
  position: absolute; inset: 0; width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.55) 100%);
  border: 0; cursor: pointer; display: grid; place-items: center; color: var(--white);
}
.film .play span {
  display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%;
  border: 1px solid var(--gold-light); background: rgba(0,0,0,0.35);
  font-family: var(--sans); font-weight: 400; font-size: 0.86rem; letter-spacing: 0.08em;
  transition: background 160ms ease, color 160ms ease;
}
.film .play:hover span { background: var(--gold); color: var(--black); border-color: var(--gold); }
.film iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.film-caption { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0 0; }
.film-caption h3 { font-size: 1.35rem; }
.film-caption .mute { font-size: 0.95rem; white-space: nowrap; padding-top: 5px; }

/* Featured documentary */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.feature .copy h2 { max-width: 12ch; }
.feature .copy .lede { margin-top: 22px; }
.feature .copy .textlink { margin-top: 26px; }
.stills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: clamp(40px, 6vh, 72px); }
.stills img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.stills img:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; height: 100%; }

/* Work grid */
.work { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px) clamp(20px, 3vw, 40px); }
.work.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.work-item p { margin-top: 10px; color: var(--mute); font-size: 0.98rem; }
.still { margin: 0; }
.still img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.service img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.service h3 { margin-top: 22px; }
.service p { margin-top: 10px; color: var(--mute); }
.service-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; padding: clamp(48px, 8vh, 96px) 0; border-top: 1px solid var(--line-soft); }
.service-row:first-of-type { border-top: 0; padding-top: 0; }
.service-row.flip .media { order: 2; }
.service-row .media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.service-row h2 { max-width: 13ch; }
.service-row .lede { margin-top: 20px; }
.service-row ul { margin: 22px 0 0; padding: 0; list-style: none; max-width: 32rem; }
.service-row li { padding: 11px 0; border-top: 1px solid var(--line-soft); color: var(--mute); }
.service-row li:last-child { border-bottom: 1px solid var(--line-soft); }

/* Process: a real sequence, so the numbers earn their place */
.process { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); border-top: 1px solid var(--line); padding-top: 32px; }
.step .num { font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--gold); }
.step h3 { margin-top: 14px; }
.step p { margin-top: 10px; color: var(--mute); }

/* Brand logos, supplied on black so they sit flush with the page */
.brands { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px clamp(24px, 4vw, 64px); max-width: 980px; }
.brands li { margin: 0; display: grid; place-items: center; min-height: 72px; }
.brands img { max-height: 64px; max-width: 200px; width: auto; height: auto; }
@media (max-width: 760px) {
  .brands { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .brands img { max-height: 48px; max-width: 140px; }
}

/* Call to action band */
.cta { background: var(--panel); padding: clamp(72px, 12vh, 140px) var(--gutter); }
.cta .inner { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 60px; }
.cta h2 { max-width: 14ch; }
.cta p { margin-top: 14px; max-width: 30rem; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100svh; }
.contact .photo { position: relative; min-height: 50vh; }
.contact .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact .panel { padding: clamp(110px, 16vh, 170px) var(--gutter) clamp(56px, 8vh, 96px); display: flex; flex-direction: column; justify-content: center; }
.contact h1 { font-size: clamp(2.6rem, 5vw, 4.6rem); max-width: 12ch; }
.contact .lede { margin-top: 22px; }
form.enquiry { margin-top: 40px; max-width: 34rem; }
.field { display: block; margin-bottom: 24px; }
.field span { display: block; font-size: 0.92rem; color: var(--mute); margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; background: transparent; color: var(--white);
  border: 0; border-bottom: 1px solid var(--line); padding: 10px 0 12px;
  font: inherit; font-weight: 300; font-size: 1.05rem; border-radius: 0;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold-light); }
.form-note { margin-top: 18px; font-size: 0.95rem; color: var(--mute); }
.form-status { margin-top: 18px; font-size: 1rem; color: var(--gold-light); min-height: 1.5em; }
.form-status.error { color: #f0b7a4; }
.contact-details { margin-top: 44px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 32px; max-width: 34rem; }
.contact-details span { display: block; color: var(--mute); font-size: 0.92rem; }
.contact-details a { font-size: 1.1rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line-soft); padding: 56px var(--gutter) 40px; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; }
.site-footer img { height: 44px; width: auto; }
.site-footer p { margin-top: 18px; color: var(--mute); font-size: 0.95rem; max-width: 26rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 5px 0; }
.site-footer .legal { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line-soft); color: var(--mute); font-size: 0.88rem; display: flex; flex-wrap: wrap; gap: 10px 30px; justify-content: space-between; }

/* Responsive */
@media (max-width: 1000px) {
  .services, .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature { grid-template-columns: 1fr; }
  .work.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .nav { display: none; position: absolute; top: 100%; right: var(--gutter); left: var(--gutter); flex-direction: column; align-items: flex-start; gap: 18px; padding: 24px; background: var(--black); border: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav .btn { margin-left: 0; }
  .menu-toggle { display: inline-block; }
  .site-header { padding: 20px var(--gutter); }
  .work, .work.three, .services, .process { grid-template-columns: 1fr; }
  .stills { grid-template-columns: repeat(2, 1fr); }
  .stills img:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 3 / 2; }
  .service-row { grid-template-columns: 1fr; }
  .service-row.flip .media { order: 0; }
  .contact { grid-template-columns: 1fr; }
  .contact .photo { min-height: 46vh; order: 2; }
  .contact-details { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .hero .frame > * { max-width: none; }
  .film .play span { width: 62px; height: 62px; }
  /* Phones: the trailer sits above the words instead of behind them */
  .hero { min-height: 0; display: block; padding-top: 84px; }
  .hero::after, .hero .bar { display: none; }
  .hero .hero-video, .hero .hero-yt, .hero picture, .hero img { position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 16 / 9; z-index: 0; transform: none; }
  .hero .hero-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; transform: none; }
  .hero .frame { padding-top: 30px; border-bottom: 0; }
  .hero h1 { font-size: clamp(2.3rem, 10vw, 3rem); }
  .hero .lede { margin-top: 18px; font-size: 1.08rem; }
  .hero .actions { margin-top: 28px; }
  .hero .actions .btn { flex: 1 1 auto; }
}
