/* =============================================================
   Lineage Films — styles.css
   Mobile-first. Custom CSS, no framework.
   ============================================================= */

/* -------------------------------------------------------------
   1. Tokens — colours, type, spacing
   ------------------------------------------------------------- */
:root {
  /* Brand palette — sampled from logo, see README */
  --heartwood: #5e2e22; /* primary warm — CTA, brand signature surface */
  --tallow:    #e8c9a0; /* primary light — text on dark, the mark */
  --parchment: #f3eada; /* page surface — light sections */
  --loam:      #1a1814; /* deep — hero, footer, near-black with brown undertone */
  --bracken:   #3d4438; /* forest — Approach, Services, warmer than blue-green */
  --moss:      #6f7a5e; /* accent — hover, supporting graphics */
  --smoke:     #857a6d; /* body copy on parchment */

  /* Legacy aliases — existing rules read these names */
  --deep-forest:    var(--bracken);
  --heartwood-rust: var(--heartwood);
  --bone:           var(--tallow);
  --bone-soft:      var(--parchment);
  --near-black:     var(--loam);

  /* Semantic */
  --bg: var(--parchment);
  --bg-dark: var(--bracken);
  --bg-accent: var(--heartwood);
  --text: #2a2218; /* warm near-black for body on parchment */
  --text-muted: var(--smoke);
  --text-on-dark: var(--tallow);
  --rule: rgba(42, 34, 24, 0.12);
  --rule-on-dark: rgba(232, 201, 160, 0.18);

  /* Typography */
  --font-serif: "Cormorant Garamond", "GT Sectra", Georgia, "Times New Roman",
    serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular,
    Menlo, monospace;

  /* Scale (clamped) */
  --fs-eyebrow: 0.72rem;       /* mono labels */
  --fs-body: 1.0625rem;        /* 17px */
  --fs-body-lg: 1.1875rem;
  --fs-h2: clamp(2.25rem, 5.5vw, 4rem);
  --fs-h3: clamp(1.5rem, 2.4vw, 2rem);
  --fs-hero: clamp(2.75rem, 11vw, 8rem);
  --fs-hero-sub: clamp(1.125rem, 2.2vw, 1.5rem);

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-2xl: 8rem;

  /* Layout */
  --container-max: 78rem;
  --container-pad: 1.25rem;
  --header-h: 4.5rem;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 48rem) {
  :root {
    --container-pad: 2.25rem;
    --header-h: 5rem;
  }
}

/* -------------------------------------------------------------
   2. Reset / base
   ------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
video,
svg {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.25em;
  text-decoration-thickness: 1px;
}

:focus-visible {
  outline: 2px solid var(--heartwood-rust);
  outline-offset: 3px;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.05;
}

p { margin: 0; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* -------------------------------------------------------------
   3. Shared section primitives
   ------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section-label {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--smoke);
  margin-bottom: var(--space-sm);
}

.section-label--centered { text-align: center; }
.section-label--on-rust  { color: rgba(232, 201, 160, 0.75); }

.section-heading {
  font-size: var(--fs-h2);
  font-weight: 400;
  text-transform: lowercase;
  letter-spacing: -0.01em;
}

.section-heading--centered { text-align: center; }

.section-header {
  margin-bottom: var(--space-lg);
}

@media (min-width: 48rem) {
  .section-header { margin-bottom: var(--space-xl); }
}

/* -------------------------------------------------------------
   4. Header / navigation
   ------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: 0.875rem var(--container-pad);
  background: transparent;
  color: var(--bone);
  transition: background 300ms var(--ease), color 300ms var(--ease),
    border-color 300ms var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(26, 24, 20, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: var(--rule-on-dark);
}

.site-header__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  letter-spacing: 0.01em;
}

.site-header__logo img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.site-header__wordmark {
  display: none;
}

@media (min-width: 36rem) {
  .site-header__wordmark { display: inline; }
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-nav a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-nav__cta {
  padding: 0.5rem 0.9rem;
  border: 1px solid currentColor;
  border-radius: 999px;
}

.site-nav__cta:hover,
.site-nav__cta:focus-visible {
  text-decoration: none;
  background: var(--heartwood-rust);
  border-color: var(--heartwood-rust);
  color: var(--bone);
}

/* Mobile toggle */
.site-header__toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.site-header__toggle-bar {
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: transform 200ms var(--ease), opacity 200ms var(--ease);
}

.site-header__toggle[aria-expanded="true"] .site-header__toggle-bar:nth-child(2) {
  transform: translateY(-4px) rotate(45deg);
}
.site-header__toggle[aria-expanded="true"] .site-header__toggle-bar:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}

@media (max-width: 47.99rem) {
  .site-header__toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--loam);
    color: var(--bone);
    border-top: 1px solid var(--rule-on-dark);
    max-height: 0;
    overflow: hidden;
    transition: max-height 320ms var(--ease);
  }

  .site-nav.is-open {
    max-height: 28rem;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: var(--space-sm) var(--container-pad) var(--space-md);
  }

  .site-nav li {
    width: 100%;
    border-bottom: 1px solid var(--rule-on-dark);
  }
  .site-nav li:last-child { border-bottom: 0; }

  .site-nav a {
    display: block;
    padding: 1rem 0;
    font-size: 0.85rem;
  }

  .site-nav__cta {
    border: 0;
    padding: 1rem 0;
    border-radius: 0;
  }
}

/* -------------------------------------------------------------
   5. Hero
   ------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bone);
  background: var(--near-black);
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

/* Iframe cover-fit: sized to the larger of 16:9 vs viewport ratio so the
   video always fills without letterboxing. Centered with translate. */
.hero__video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none; /* let scroll-cue / page receive events */
}

.hero__video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;       /* 100vw * 9/16 */
  min-height: 100vh;
  min-width: 177.78vh;   /* 100vh * 16/9 */
  transform: translate(-50%, -50%);
  border: 0;
}

/* Placeholder gradient — deep forest + warm rust glow */
.hero__gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 30% 75%,
      rgba(94, 46, 34, 0.55) 0%,
      rgba(94, 46, 34, 0) 55%
    ),
    radial-gradient(
      ellipse at 80% 20%,
      rgba(111, 122, 94, 0.35) 0%,
      rgba(111, 122, 94, 0) 60%
    ),
    linear-gradient(180deg, #1a1814 0%, #3d4438 55%, #1a1814 100%);
}

/* Vignette + dark overlay so text always sits on a calm field */
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(26, 24, 20, 0.4) 0%,
      rgba(26, 24, 20, 0) 30%,
      rgba(26, 24, 20, 0) 70%,
      rgba(26, 24, 20, 0.55) 100%
    );
  pointer-events: none;
}

.hero__inner {
  position: relative;
  text-align: center;
  padding: var(--header-h) var(--container-pad) var(--space-2xl);
  max-width: 64rem;
}

.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(232, 201, 160, 0.75);
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.hero__headline {
  font-family: var(--font-serif);
  font-size: var(--fs-hero);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: lowercase;
  color: var(--bone);
}

.hero__subline {
  margin-top: clamp(1rem, 2.5vw, 1.75rem);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--fs-hero-sub);
  color: rgba(232, 201, 160, 0.88);
}

.hero__scroll {
  position: absolute;
  bottom: clamp(1.25rem, 3vw, 2.25rem);
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  color: rgba(232, 201, 160, 0.7);
}

.hero__scroll-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 2.25rem;
  background: currentColor;
  transform-origin: top;
  animation: scroll-cue 2.4s var(--ease) infinite;
}

@keyframes scroll-cue {
  0%   { transform: scaleY(0.2); opacity: 0.4; }
  50%  { transform: scaleY(1);   opacity: 1; }
  100% { transform: scaleY(0.2); opacity: 0.4; transform-origin: bottom; }
}

/* -------------------------------------------------------------
   6. Approach
   ------------------------------------------------------------- */
.approach {
  background: var(--heartwood);
  color: var(--text-on-dark);
  padding: var(--space-2xl) 0;
}

.approach__grid {
  display: grid;
  gap: var(--space-xl);
}

@media (min-width: 56rem) {
  .approach__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
  }
}

.approach__intro .section-label { color: rgba(232, 201, 160, 0.65); }

.approach__manifesto {
  margin-top: var(--space-md);
  font-family: var(--font-serif);
  font-size: clamp(1.1875rem, 1.6vw, 1.5rem);
  line-height: 1.45;
  color: rgba(232, 201, 160, 0.92);
}

.approach__manifesto + .approach__manifesto { margin-top: var(--space-sm); }

.approach__pillars {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule-on-dark);
}

/* Pillar accordion */
.pillar {
  border-bottom: 1px solid var(--rule-on-dark);
}

.pillar__summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 0;
  cursor: pointer;
  list-style: none;
  transition: color 200ms var(--ease);
}

.pillar__summary::-webkit-details-marker { display: none; }
.pillar__summary::marker { content: ""; }

.pillar__summary:hover { color: #fff; }

.pillar__index {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: rgba(232, 201, 160, 0.55);
}

.pillar__title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 400;
  text-transform: lowercase;
  letter-spacing: -0.005em;
}

.pillar__icon {
  position: relative;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.pillar__icon::before,
.pillar__icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: currentColor;
  transition: transform 280ms var(--ease), opacity 280ms var(--ease);
}

.pillar__icon::before { width: 100%; height: 1px; }
.pillar__icon::after  { width: 1px; height: 100%; }

.pillar[open] .pillar__icon::after { transform: scaleY(0); opacity: 0; }

.pillar__body {
  overflow: hidden;
  padding-right: clamp(0, 5vw, 3rem);
}

.pillar__body p {
  padding: 0 0 1.75rem 3.5rem;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  line-height: 1.5;
  color: rgba(232, 201, 160, 0.78);
  max-width: 36rem;
}

/* JS-driven smooth open/close — see /js/main.js */
.pillar[data-animating] .pillar__body {
  transition: height 320ms var(--ease);
}

/* -------------------------------------------------------------
   7. Work / Projects
   ------------------------------------------------------------- */
.work {
  background: var(--bone-soft);
  color: var(--text);
  padding: var(--space-2xl) 0;
}

.work__grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
}

@media (min-width: 48rem) {
  .work__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl) var(--space-lg);
  }
}

.work-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  margin-bottom: 1.25rem;
  overflow: hidden;
}

.work-card__media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* GIF / image poster, click to swap in the Vimeo iframe */
.work-card__poster {
  padding: 0;
  border: 0;
  background: #000;
  cursor: pointer;
  display: block;
  width: 100%;
}

.work-card__poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease), filter 300ms var(--ease);
}

.work-card__poster:hover img,
.work-card__poster:focus-visible img {
  transform: scale(1.02);
  filter: brightness(1.05);
}

.work-card__play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(26, 24, 20, 0.55);
  color: var(--tallow);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  padding-left: 4px; /* optical centring of the triangle */
  transform: translate(-50%, -50%);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  transition: background 200ms var(--ease), transform 200ms var(--ease);
}

.work-card__poster:hover .work-card__play-icon,
.work-card__poster:focus-visible .work-card__play-icon {
  background: var(--heartwood);
  transform: translate(-50%, -50%) scale(1.05);
}

.work-card__client {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--smoke);
  margin-bottom: 0.5rem;
}

.work-card__title {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 400;
  text-transform: lowercase;
  letter-spacing: -0.005em;
}

/* -------------------------------------------------------------
   8. Services
   ------------------------------------------------------------- */
.services {
  background: var(--heartwood);
  color: var(--text-on-dark);
  padding: var(--space-2xl) 0;
}

.services .section-label { color: rgba(232, 201, 160, 0.65); }

.services__grid {
  display: grid;
  gap: 1px;
  background: var(--rule-on-dark);
  border-block: 1px solid var(--rule-on-dark);
}

@media (min-width: 48rem) {
  .services__grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  background: var(--heartwood);
  padding: clamp(2rem, 4vw, 3rem) clamp(1.25rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-card__label {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(232, 201, 160, 0.65);
}

.service-card__title {
  font-size: clamp(1.5rem, 2.4vw, 1.875rem);
  font-weight: 400;
  text-transform: lowercase;
}

.service-card__desc {
  color: rgba(232, 201, 160, 0.78);
  font-size: 1.0625rem;
  line-height: 1.55;
  max-width: 28rem;
}

/* -------------------------------------------------------------
   9. Clients
   ------------------------------------------------------------- */
.clients {
  background: var(--bone-soft);
  color: var(--text);
  padding: var(--space-2xl) 0;
}

.clients__cols {
  display: grid;
  gap: var(--space-xl);
}

@media (min-width: 48rem) {
  .clients__cols { grid-template-columns: 1fr 1fr; gap: var(--space-2xl); }
}

.clients__col-label {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--smoke);
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 0.75rem;
}

.clients__list li {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 400;
  text-transform: lowercase;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--rule);
  color: var(--text);
}

.clients__list li:last-child { border-bottom: 0; }

/* -------------------------------------------------------------
   10. Testimonials
   ------------------------------------------------------------- */
.testimonials {
  background: var(--heartwood);
  color: var(--text-on-dark);
  padding: var(--space-2xl) 0;
}

.testimonials .section-label { color: rgba(232, 201, 160, 0.65); }

.testimonials__grid {
  display: grid;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

@media (min-width: 48rem) {
  .testimonials__grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }
}

.testimonial__quote {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  line-height: 1.45;
  color: rgba(232, 201, 160, 0.92);
  margin: 0 0 1.5rem;
  font-style: italic;
  padding-left: 1rem;
  border-left: 2px solid var(--tallow);
}

.testimonial__attr {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.testimonial__name { color: var(--bone); }
.testimonial__role { color: rgba(232, 201, 160, 0.55); }

/* -------------------------------------------------------------
   10b. Trusted by — client / partner logo band
   ------------------------------------------------------------- */
.trusted {
  background: var(--loam);
  color: var(--tallow);
  padding: var(--space-xl) 0;
}

.trusted__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.trusted__label {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(232, 201, 160, 0.6);
  margin-bottom: var(--space-lg);
}

.trusted__label::before,
.trusted__label::after {
  content: "";
  display: block;
  width: clamp(2rem, 6vw, 4rem);
  height: 1px;
  background: rgba(232, 201, 160, 0.3);
}

.trusted__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg) var(--space-md);
  width: 100%;
  align-items: center;
  justify-items: center;
  text-align: center;
}

@media (min-width: 40rem) {
  .trusted__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
  }
}

@media (min-width: 64rem) {
  .trusted__grid {
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-xl) var(--space-lg);
  }
}

.trusted__grid li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 5rem;
  width: 100%;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.005em;
  color: rgba(232, 201, 160, 0.78);
  transition: color 200ms var(--ease), transform 200ms var(--ease);
  line-height: 1.15;
}

.trusted__grid li:hover {
  color: var(--tallow);
  transform: translateY(-1px);
}

/* Real logo PNGs: force monochrome cream tone so the band reads as
   one uniform set, regardless of the source logo colour. */
.trusted__grid img {
  --logo-scale: 1;
  max-height: 4rem;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transform: scale(var(--logo-scale));
  transform-origin: center center;
  /* black-on-transparent -> cream. brightness(0) collapses any colour
     to black, invert(1) flips to white, then sepia + saturate warms it
     toward Tallow. */
  filter: brightness(0) invert(1) sepia(0.35) saturate(0.6)
    hue-rotate(-10deg) opacity(0.85);
  transition: filter 200ms var(--ease), transform 200ms var(--ease);
}

@media (min-width: 64rem) {
  .trusted__grid li { min-height: 5.5rem; }
  .trusted__grid img { max-height: 4.5rem; }
}

/* Per-logo scale compensation. Source PNGs have different amounts of
   canvas whitespace, so logos that don't fill their bounding box get
   bumped up here. Eyeball values; tweak after seeing them live. */
.trusted__grid img[alt="The Breath Haus"]         { --logo-scale: 1.45; }
.trusted__grid img[alt="Convivio"]                { --logo-scale: 1.55; }
.trusted__grid img[alt="Kalio"]                   { --logo-scale: 1.25; }
.trusted__grid img[alt="Rogue Watches"]           { --logo-scale: 1.35; }
.trusted__grid img[alt="Byron Bay Film Festival"] { --logo-scale: 1.15; }
.trusted__grid img[alt="Noosa Film Festival"]     { --logo-scale: 1.15; }
.trusted__grid img[alt="Ultimate Ears"]           { --logo-scale: 1.3; }
.trusted__grid img[alt="Fat Fish Bikes"]          { --logo-scale: 1.35; }
.trusted__grid img[alt="Salty Cabins"]            { --logo-scale: 1.35; }
.trusted__grid img[alt="Away at Byron Bay"]       { --logo-scale: 1.2; }

.trusted__grid li:hover img {
  filter: brightness(0) invert(1) sepia(0.35) saturate(0.6)
    hue-rotate(-10deg) opacity(1);
  transform: scale(var(--logo-scale)) translateY(-1px);
}

/* -------------------------------------------------------------
   11. Latest film
   ------------------------------------------------------------- */
.latest {
  background: var(--near-black);
  color: var(--bone);
  padding: var(--space-2xl) 0;
}

.latest__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.latest .section-label { color: rgba(232, 201, 160, 0.55); }

.latest__desc {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(232, 201, 160, 0.7);
  margin-top: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.latest__player {
  position: relative;
  width: 100%;
  max-width: 64rem;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--rule-on-dark);
  overflow: hidden;
}

.latest__player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* -------------------------------------------------------------
   12. Contact
   ------------------------------------------------------------- */
.contact {
  background: var(--heartwood-rust);
  color: var(--bone);
  padding: var(--space-2xl) 0;
}

.contact__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-md);
}

.contact__headline {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 400;
  text-transform: lowercase;
  max-width: 22ch;
  line-height: 1.05;
}

.contact__email {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.125em;
}

.contact__email:hover,
.contact__email:focus-visible {
  text-decoration: none;
  color: var(--bone-soft);
}

.contact__founder {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(232, 201, 160, 0.82);
}

.contact__founder a { border-bottom: 1px solid currentColor; }

.contact__socials {
  display: flex;
  gap: 1.5rem;
  margin-top: var(--space-sm);
}

.contact__socials a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* -------------------------------------------------------------
   13. Footer
   ------------------------------------------------------------- */
.site-footer {
  background: var(--near-black);
  color: rgba(232, 201, 160, 0.7);
  padding: var(--space-xl) 0;
}

.site-footer__inner {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 48rem) {
  .site-footer__inner {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: var(--space-lg);
  }
}

.site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--bone);
}

.site-footer__brand img { width: 28px; height: 28px; border-radius: 50%; }

.site-footer__name {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
}

.site-footer__meta,
.site-footer__eco,
.site-footer__copy {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer__eco a { border-bottom: 1px solid var(--rule-on-dark); }

@media (min-width: 48rem) {
  .site-footer__meta { justify-self: center; text-align: center; }
  .site-footer__eco  { grid-column: 1 / -1; justify-self: center; text-align: center; }
  .site-footer__copy { grid-column: 1 / -1; justify-self: center; text-align: center; color: rgba(232, 201, 160, 0.45); }
}
