/*
Theme Name: TR
Description: Persistent music player theme
Version: 1.0.0
*/

@import url('assets/css/main.css');
@import url('assets/css/player.css');
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;1,400&display=swap");

/* @group Fonts */

/* Mijo / TIM ROBBINS logo */
@font-face {
  font-family: "Mijo";
  src: url("assets/fonts/Mijo-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Collidge / ROBBINS RADIO logo */
@font-face {
  font-family: "Collidge";
  src: url("assets/fonts/Collidge-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Knockout / display, nav, buttons */
@font-face {
  font-family: "Knockout Junior Bantamweight";
  src: url("assets/fonts/Knockout-HTF27-JuniorBantamwt.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
    font-display: block;
}
@font-face {
  font-family: "Jaywalker";
  src: url("assets/fonts/jaywalker.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "SwingSnug";
  src:
    url("assets/fonts/swingsnug-webfont-regular.woff2") format("woff2"),
    url("assets/fonts/swingsnug-webfont-regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

/* @end */


/* @group Custom Properties */

:root {
  /* Structure */
  --player-height: 65px;
  --site-header-height: 206px;
  --player-torn-overlap: 20px;
  --footer-height: 72px;

  /* Core neutrals */
  --tr-black: #1C1B1B;
  --tr-ink: #111111;
  --tr-charcoal: #1b1b1a;
  --tr-charcoal-2: #242423;
  --tr-white: #ffffff;
  --tr-off-white: #f2f0ea;
  --tr-muted: #DACFC4;

  /* Brand palette */
  --tr-yellow: #e5b438;
  --tr-green: #719f4f;
  --tr-red: #d14d39;
  --tr-blue: #328aae;
  --tr-purple: #bf73b8;
  --tr-brown: #A67946;
  --tr-hot-pink: #ff1e59;

  /* Slightly adjusted UI colors */
  --tr-yellow-ui: #e8b832;
  --tr-green-ui: #74a851;
  --tr-red-ui: #d84d3a;
  --tr-blue-ui: #3594b8;
  --tr-purple-ui: #c574bd;
  --tr-brown-ui: #ad7d45;

  /* Site colors */
  --color-bg: #ffffff;
  --color-surface: #f5f5f5;
  --color-border: #e4e4e4;
  --color-text: #1a1a1a;
  --color-text-muted: #888888;
  --color-muted: rgba(26, 26, 26, 0.65);
  --color-rule: rgba(26, 26, 26, 0.25);
  --color-link: #1a1a1a;
  --color-accent: #1a1a1a;

  /* Player colors */
  --player-bg: #0f0f0f;
  --player-border: #666666;
  --player-text: #e0e0e0;
  --player-text-muted: #aaaaaa;
  --player-accent: #ffffff;

  /* Fonts */
  --font-sans: system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, "Cascadia Code", monospace;
  --font-logo: "Mijo", sans-serif;
  --font-radio: "Collidge", sans-serif;
  --font-display: "Knockout Junior Bantamweight", "Impact", "Arial Narrow", sans-serif;
  --font-body: "Roboto", Arial, Helvetica, sans-serif;
  --font-jaywalker: "Jaywalker", sans-serif;
    --font-swingsnug: "SwingSnug", sans-serif;

  /* Type scale */
  --text-xs: clamp(0.72rem, 0.68rem + 0.18vw, 0.82rem);
  --text-sm: clamp(0.85rem, 0.8rem + 0.25vw, 1rem);
  --text-md: clamp(1rem, 0.94rem + 0.3vw, 1.15rem);
  --text-lg: clamp(1.25rem, 1rem + 1vw, 1.8rem);
  --text-xl: clamp(2.2rem, 1.6rem + 3vw, 4rem);
  --text-hero: clamp(3rem, 2rem + 5.4vw, 7rem);

  /* Layout */
  --page-max: 1440px;
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --section-gap: clamp(4rem, 8vw, 8rem);
  --card-gap: clamp(1.5rem, 3vw, 3.5rem);

  /* Circular category system */
  --circle-sm: clamp(4.75rem, 9vw, 7.5rem);
  --circle-md: clamp(7rem, 16vw, 13rem);
  --circle-lg: clamp(10rem, 22vw, 17.5rem);

  /* Motion */
  --transition: 200ms ease;
  --ease: 180ms ease;
}

/* @end */


/* @group Base */

body {
  margin: 0;
  
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.55;
}
/* --------------------------------
   Shared Interior Page Background
-------------------------------- */

body:not(.wp-admin):not(.login):not(.home):not(.front-page)  {
  background-color: #000000;
 /* background-image:
    url("assets/img/tr-bg.jpg");
  background-repeat: repeat;
  background-size: 720px auto;
  background-position: center top;*/
  color: var(--tr-off-white);   
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.12;
  mix-blend-mode: screen;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.03) 0 1px,
    transparent 1px 3px
  );
}
html {
  scroll-behavior: smooth;
}
.entry-content {
    width: 100%;
    max-width: 1180px;
    margin: 40px auto;
    padding: 0 40px;
}
h1 {
  font-family: var(--font-display);
}
h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(42px, 5vw, 55px);
    line-height: 0.9;
    letter-spacing:0;
    text-transform: uppercase;
    align-items: center;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

h4 {
    margin: 0 0 0.35rem;
    font-family: var(--font-body);
    font-size: clamp(20px, 2vw, 25px);
    line-height: 1.2;
    font-weight: 700;
    line-height: 26px;
    letter-spacing: -0.04em;
}
img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

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

a:hover,
a:focus-visible {
  color: var(--tr-yellow);
  
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
p {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(16px, 1vw, 20px);
  line-height: 1.55;
  color: var(--tr-off-white);
}

/* @end */


/* @group Music Player Updates */

/* Black torn edge under the radio/music bar */
.music-player::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -24px;
  z-index: -1;

  height: 44px;
  background-image: url("assets/img/radio-paper.png");
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 100% 100%;

  pointer-events: none;
}

/* @end */


/* @group Site Navigation */

.site-header {
    --header-color: var(--tr-yellow);
    position: relative;
    z-index: 30;
    overflow: visible;
    background: transparent;
    color: var(--tr-black);
    padding: 2.75rem var(--gutter) 2rem;
    padding-top: calc(clamp(42px, 11vw, 83px) + var(--player-torn-overlap));
}
/* This is now the actual colored header background */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;

  background: var(--header-color);
  pointer-events: none;
}



.site-header--yellow {
  --header-color: var(--tr-yellow);
}

.site-header--brown {
  --header-color: var(--tr-brown);
}

.site-header--green {
  --header-color: var(--tr-green);
}

.site-header--red {
  --header-color: var(--tr-red);
}

.site-header--blue {
  --header-color: var(--tr-blue);
}

.site-header--purple {
  --header-color: var(--tr-purple);
}

.site-header__inner {
    position: relative;
    z-index: 4;
    width: min(var(--page-max), calc(100% - var(--gutter) * 2));
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(32px, 5vw, 80px);
}

.site-logo {
  display: block;
  flex: 1 1 auto;
  min-width: 0;

  font-family: var(--font-logo);
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1;
  font-style: normal;
  font-weight: 400;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--tr-black);
  text-decoration: none;
  overflow: visible;
}
.site-logo:hover {
	color: initial;
}
.site-nav {
  flex: 0 0 400px;
  width: 400px;
  max-width: 400px;
  padding-top: 0;
      z-index: 2;
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__list--primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  border-bottom: 1px solid currentColor;
  padding-bottom: 10px;

  font-family: var(--font-display);
  font-size: 30px;
  line-height: 31px;
  font-style: normal;
  font-weight: 400;
  text-transform: uppercase;
}

.site-nav__list--secondary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;

  padding-top: 8px;

  font-family: var(--font-display);
  font-size: 21px;
  line-height: 22px;
  font-style: normal;
  font-weight: 400;
  text-transform: uppercase;
}

.site-nav a {
  color: inherit;
  text-decoration: none;
}

.site-nav .current-menu-item > a,
.site-nav .current-page-ancestor > a,
.site-nav a[aria-current="page"] {
  border-bottom: 3px solid currentColor;
}
.site-header__inner {
  position: relative;
}

.subpage-ball-nav {
  position: absolute;
  left: 50%;
  bottom: -20px;
  z-index: 1;

  width: min(var(--page-max), calc(100% - var(--gutter) * 2));

  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 0;

  transform: translate(-50%, 62%);
  pointer-events: none;
}

.subpage-ball {
  --subpage-ball-color: var(--tr-yellow);
  --subpage-ball-size: clamp(100px, 11vw, 170px);
  --subpage-ball-rotate: 0deg;
  --subpage-ball-y: 0px;

  width: var(--subpage-ball-size);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding: 0.65rem;

  background: var(--subpage-ball-color);
  color: var(--tr-black);

  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 53px);
  line-height: 0.86;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;

  transform: translateY(var(--subpage-ball-y)) rotate(var(--subpage-ball-rotate));
  transition:
    transform 180ms ease,
    opacity 180ms ease;

  pointer-events: auto;
  cursor: pointer;
}

/* This is the important fix */
.subpage-ball__text {
  display: inline-block;
  max-width: 100%;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  text-align: center;
  text-transform: inherit;
}

/* Actor / Director / Writer should stay as one word */
.subpage-ball--actor .subpage-ball__text,
.subpage-ball--director .subpage-ball__text,
.subpage-ball--writer .subpage-ball__text,
.subpage-ball--words .subpage-ball__text {
  white-space: nowrap;
}

/* Radio and Photos can wrap intentionally */
.subpage-ball--radio .subpage-ball__text,
.subpage-ball--photos .subpage-ball__text {
  white-space: normal;
}

.subpage-ball + .subpage-ball {
  margin-left: clamp(-24px, -2vw, -12px);
}


/* --------------------------------
   Individual Ball Colors / Fonts
-------------------------------- */

.subpage-ball--actor {
  --subpage-ball-color: var(--tr-brown);
  --subpage-ball-rotate: -7deg;
  --subpage-ball-y: 8px;

  font-family: var(--font-jaywalker);
  font-size: clamp(24px, 2.65vw, 38px);
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.subpage-ball--director {
  --subpage-ball-color: var(--tr-green);
  --subpage-ball-rotate: 3deg;
  --subpage-ball-y: -4px;

  font-family: var(--font-jaywalker);
  font-size: clamp(24px, 2.65vw, 38px);
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.subpage-ball--writer,
.subpage-ball--words {
  --subpage-ball-color: var(--tr-blue);
  --subpage-ball-rotate: -5deg;
  --subpage-ball-y: -2px;

  font-family: var(--font-jaywalker);
  font-size: clamp(24px, 2.65vw, 38px);
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.subpage-ball--radio {
  --subpage-ball-color: var(--tr-red);
  --subpage-ball-rotate: 5deg;
  --subpage-ball-y: 10px;

  font-family: var(--font-radio);
  font-size: clamp(18px, 2vw, 19px);
  line-height: 1.82;
  letter-spacing: -0.02em;
}

.subpage-ball--photos {
  --subpage-ball-color: var(--tr-purple);
  --subpage-ball-rotate: 4deg;
  --subpage-ball-y: 7px;

  font-family: var(--font-swingsnug);
  font-size: clamp(22px, 1.95vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-transform: none;
}


/* --------------------------------
   Muted T / R Hover
-------------------------------- */

.subpage-ball__letter-muted {
  display: inline;
  color: inherit;
  transition: color 160ms ease;
}

.subpage-ball:hover .subpage-ball__letter-muted,
.subpage-ball:focus-visible .subpage-ball__letter-muted {
  color: var(--tr-muted);
}


/* --------------------------------
   Hover / Focus Rotation
-------------------------------- */

.subpage-ball:hover,
.subpage-ball:focus-visible {
  color: var(--tr-black);
  transform:
    translateY(var(--subpage-ball-y))
    rotate(calc(var(--subpage-ball-rotate) + 7deg))
    scale(1.025);
}

.subpage-ball--actor:hover,
.subpage-ball--actor:focus-visible {
  transform:
    translateY(var(--subpage-ball-y))
    rotate(calc(var(--subpage-ball-rotate) - 7deg))
    scale(1.025);
}

.subpage-ball--director:hover,
.subpage-ball--director:focus-visible {
  transform:
    translateY(var(--subpage-ball-y))
    rotate(calc(var(--subpage-ball-rotate) + 7deg))
    scale(1.025);
}

.subpage-ball--writer:hover,
.subpage-ball--writer:focus-visible,
.subpage-ball--words:hover,
.subpage-ball--words:focus-visible {
  transform:
    translateY(var(--subpage-ball-y))
    rotate(calc(var(--subpage-ball-rotate) + 8deg))
    scale(1.025);
}

.subpage-ball--photos:hover,
.subpage-ball--photos:focus-visible {
  transform:
    translateY(var(--subpage-ball-y))
    rotate(calc(var(--subpage-ball-rotate) - 6deg))
    scale(1.025);
}

/* =========================================================
   Home Category Balls — same hover state as subpage balls
========================================================= */

.home-category-ball {
  --home-category-ball-y: 0px;
  --home-category-ball-rotate: 0deg;

  transition:
    color 160ms ease,
    transform 180ms ease;

  transform:
    translateY(var(--home-category-ball-y))
    rotate(var(--home-category-ball-rotate));

  transform-origin: center;
}

.home-category-ball__letter-muted {
  display: inline;
  color: inherit;
  transition: color 160ms ease;
}

.home-category-ball:hover .home-category-ball__letter-muted,
.home-category-ball:focus-visible .home-category-ball__letter-muted {
  color: var(--tr-muted);
}


/* --------------------------------
   Hover / Focus Rotation
-------------------------------- */
/* --------------------------------
   Reduced Motion
-------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .subpage-ball,
  .subpage-ball:hover,
  .subpage-ball:focus-visible {
    transition: none !important;
    transform:
      translateY(var(--subpage-ball-y))
      rotate(var(--subpage-ball-rotate)) !important;
  }

  .subpage-ball__letter-muted {
    transition: none !important;
  }
}
/* --------------------------------
   Actor / Director / Writer Ball Font
-------------------------------- */

.home-category-ball--actor,
.home-category-ball--director,
.home-category-ball--words,
.subpage-ball--actor,
.subpage-ball--director,
.subpage-ball--words,
.actor-hero__ball,
.actor-hero__ball-text,
.director-hero__ball,
.director-hero__ball-text,
.writer-hero__ball,
.writer-hero__ball-text,
.words-hero__ball,
.words-hero__ball-text,
.actor-feature-nav__ball,
.director-subnav__ball,
.director-subnav a,
.writer-subnav__ball,
.words-subnav__ball {
  font-family: var(--font-jaywalker);
}
/* Jaywalker subpage balls: Actor / Director / Writer */
.subpage-ball--actor,
.subpage-ball--director,
.subpage-ball--writer,
.subpage-ball--words {
  font-family: var(--font-jaywalker);
  font-size: clamp(24px, 2.65vw, 38px);
  line-height: 0.86;
}


/* @group Unique Home Page */

.home #page-content {
  padding: 0;
}

@media (min-width: 768px) {
  body.home,
  body.front-page {
    min-height: 100svh;
    overflow: hidden;
  }

  body.home .site-main,
  body.front-page .site-main {
    min-height: calc(
      100svh
      - var(--player-height)
      - var(--site-header-height)
    );
  }
/*
  body.home .home-hero,
  body.front-page .home-hero {
    position: relative;
    min-height: calc(
      100svh
      - var(--player-height)
      - var(--site-header-height)
    );
    overflow: hidden;

    background-image: url("assets/img/home-bg.jpg");
    background-repeat: repeat;
    background-size: 720px auto;
    background-position: center top;
  }*/
  
  body.home .home-hero, body.front-page .home-hero {
    position: relative;
    min-height: calc(
      100svh
      - var(--player-height)
      - var(--site-header-height)
    );
    overflow: hidden;
    background-image: url("assets/img/tim-home2.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
}

  body.home .home-hero__inner,
  body.front-page .home-hero__inner {
    position: relative;
    min-height: inherit;
  }

  body.home .home-hero__figure,
  body.front-page .home-hero__figure {
    position: absolute;
    z-index: 3;

    left: 50%;
    bottom: 0;

    width: clamp(420px, 54vw, 920px);
    max-width: none;
    height: auto;

    pointer-events: none;

    opacity: 0;
    transform: translate(-50%, 28px);
    filter: blur(8px);

    animation: timHeroReveal 900ms ease-out forwards;
    animation-delay: 2650ms;

    will-change: opacity, transform, filter;
  }
  html.has-home-intro-played body.home .home-hero__figure,
html.has-home-intro-played body.front-page .home-hero__figure {
	opacity: 1;
	transform: translate(-50%, 0);
	filter: blur(0);
	animation: none !important;
	animation-delay: 0ms !important;
	will-change: auto;
}
}

.home-category-nav {
  position: absolute;
  left: 50%;
  bottom: calc(var(--footer-height) + clamp(6px, 2vw, 36px));
  transform: translateX(-50%);
  z-index: 8;

  width: min(100%, 1280px);

  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(0px, 1vw, 18px);
}

.home-category-ball {
    --ball-color: var(--tr-yellow);
    --ball-size: clamp(150px, 18vw, calc(280px - 2rem));
    --ball-rotate: -4deg;
    --ball-delay: 0ms;
    --ball-x: 0px;
    --ball-y: 0px;
    --ball-scale: 1;
    width: var(--ball-size);
    aspect-ratio: 1;
    border-radius: 50%;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: var(--ball-color);
    color: var(--tr-black);
    font-family: var(--font-jaywalker);
    font-size: clamp(44px, 3.45vw, 57px);
    line-height: clamp(46px, 6.6vw, 57px);
    letter-spacing: -0.04em;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    transform: translate(var(--ball-x), -120vh) rotate(var(--ball-rotate)) scale(var(--ball-scale));
    opacity: 0;
    filter: blur(12px);
    animation: ballDropIn 1400ms cubic-bezier(.18, .85, .22, 1) forwards;
    animation-delay: var(--ball-delay);
    will-change: transform, opacity, filter;
}

.home-category-ball--actor {
    --ball-color: var(--tr-brown);
    --ball-rotate: -13deg;
    --ball-delay: 150ms;
    --ball-x: -189px;
    --ball-y: 118px;
    --ball-scale: 1;
    z-index: 2;
}

.home-category-ball--director {
    --ball-color: var(--tr-green);
    --ball-rotate: 2deg;
    --ball-delay: 420ms;
    --ball-x: -200px;
    --ball-y: 105px;
    --ball-scale: 0.96;
    z-index: 1;
}

.home-category-ball--radio {
    --ball-color: var(--tr-red);
    --ball-rotate: 5deg;
    --ball-delay: 690ms;
    --ball-x: 180px;
    --ball-y: 112px;
    --ball-scale: 1.08;
    font-family: var(--font-radio);
    font-size: clamp(20px, 1.8vw, 26px);
    line-height: 1.82;
    letter-spacing: -0.02em;
}

.home-category-ball--words {
    --ball-color: var(--tr-blue);
    --ball-rotate: -9deg;
    --ball-delay: 960ms;
    --ball-x: -212px;
    --ball-y: 113px;
    --ball-scale: 1;
}

.home-category-ball--photos {
    --ball-color: var(--tr-purple);
    --ball-rotate: 4deg;
    --ball-delay: 1230ms;
    --ball-x: 192px;
    --ball-y: 107px;
    --ball-scale: 1;
    font-family: var(--font-swingsnug);
    text-transform: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: clamp(38px, 2.45vw, 44px);
}
.home-category-ball + .home-category-ball {
  margin-left: clamp(-46px, -3vw, -22px);
}

@keyframes ballDropIn {
  0% {
    transform: translate(var(--ball-x), -120vh) rotate(var(--ball-rotate)) scale(calc(var(--ball-scale) * 0.96));
    opacity: 0;
    filter: blur(14px);
  }

  35% {
    opacity: 0.85;
    filter: blur(10px);
  }

  62% {
    filter: blur(4px);
  }

  70% {
    transform: translate(
      var(--ball-x),
      calc(var(--ball-y) + 14px)
    ) rotate(var(--ball-rotate)) scale(calc(var(--ball-scale) * 1.015));
    opacity: 1;
    filter: blur(1.5px);
  }

  86% {
    transform: translate(
      var(--ball-x),
      calc(var(--ball-y) - 6px)
    ) rotate(var(--ball-rotate)) scale(calc(var(--ball-scale) * 0.998));
    opacity: 1;
    filter: blur(0.5px);
  }

  100% {
    transform: translate(
      var(--ball-x),
      var(--ball-y)
    ) rotate(var(--ball-rotate)) scale(var(--ball-scale));
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes timHeroReveal {
  0% {
    opacity: 0;
    transform: translate(-50%, 28px);
    filter: blur(8px);
  }

  100% {
    opacity: 1;
    transform: translate(-50%, 0);
    filter: blur(0);
  }
}
html.has-home-intro-played body.home .home-category-ball,
html.has-home-intro-played body.front-page .home-category-ball {
	opacity: 1;
	filter: blur(0);
	animation: none !important;
	animation-delay: 0ms !important;
	transform:
		translate(var(--ball-x), var(--ball-y))
		rotate(var(--ball-rotate))
		scale(var(--ball-scale));
	will-change: auto;
}
@media (min-width: 768px) and (max-height: 760px) {
  body.home .home-hero__figure,
  body.front-page .home-hero__figure {
    width: clamp(340px, 40vw, 600px);
    bottom: calc(var(--footer-height) - 10px);
  }

  .home-category-nav {
    bottom: calc(var(--footer-height) + 4px);
  }

  .home-category-ball {
    --ball-size: clamp(120px, 14vw, 190px);
    font-size: clamp(34px, 4vw, 58px);
    line-height: clamp(36px, 4.2vw, 60px);
  }

  .home-category-ball--radio {
    font-size: clamp(26px, 3vw, 42px);
    line-height: 0.82;
  }
}

@media (min-width: 768px) and (max-height: 640px) {
  body.home .home-hero__figure,
  body.front-page .home-hero__figure {
    width: clamp(300px, 34vw, 500px);
    bottom: calc(var(--footer-height) - 12px);
  }

  .home-category-nav {
    bottom: calc(var(--footer-height) - 4px);
  }

  .home-category-ball {
    --ball-size: clamp(100px, 12vw, 160px);
    font-size: clamp(28px, 3.5vw, 48px);
    line-height: clamp(30px, 3.7vw, 50px);
  }

  .home-category-ball--radio {
    font-size: clamp(22px, 2.8vw, 34px);
    line-height: 0.82;
  }
}

@media (max-width: 767px) {
  body.home,
  body.front-page {
    overflow: visible;
  }

/*  body.home .home-hero,
  body.front-page .home-hero {
    position: relative;
    min-height: auto;
    padding: 3rem 1rem;
    overflow: hidden;

    background-image: url("assets/img/home-bg.jpg");
    background-repeat: repeat;
    background-size: 520px auto;
    background-position: center top;
  }*/


body.home .home-hero, body.front-page .home-hero {
    position: relative;
    min-height: auto;
    padding: 3rem 1rem;
    overflow: hidden;
    background-image: url("assets/img/tim-home2.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
    min-height: calc(100vh - 245px);
}
body.home .home-hero__inner, body.front-page .home-hero__inner {
    position: relative;
    min-height: calc(-298px + 100vh);
}

 body.home .home-hero__figure,
  body.front-page .home-hero__figure {
    position: relative;
    z-index: 3;

    left: 50% !important;
    right: auto !important;
    bottom: auto !important;

    display: block;
    width: min(100%, 420px);
    max-width: none;
    height: auto;

    margin: 0 0 2rem !important;

    pointer-events: none;
    opacity: 1;
    filter: blur(0);
    animation: none;

    transform: translateX(-50%) scale(1) !important;
    transform-origin: center bottom;
  }

  body.home .home-hero__image,
  body.front-page .home-hero__image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center bottom;
  }
  .home-category-nav {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;

    width: 100%;
    overflow-x: auto;

    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    padding-bottom: 1rem;
  }

  .home-category-ball {
    --ball-size: 132px;

    flex: 0 0 var(--ball-size);

    font-size: 38px;
    line-height: 40px;

    animation: none;
    transform: rotate(var(--ball-rotate));
    opacity: 1;
    filter: blur(0);
  }

  .home-category-ball--radio {
    font-size: 30px;
    line-height: 0.82;
  }
}

@media (prefers-reduced-motion: reduce) {
    html {
    scroll-behavior: auto;
  }
  body.home .home-hero__figure,
  body.front-page .home-hero__figure {
    animation: none;
    opacity: 1;
    transform: translate(-50%, 0);
    filter: blur(0);
  }
  .home-category-ball {
    animation: none;
    transform: translate(var(--ball-x), var(--ball-y)) rotate(var(--ball-rotate)) scale(var(--ball-scale));
    opacity: 1;
    filter: blur(0);
  }
}

@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  body.home .home-hero__figure,
  body.front-page .home-hero__figure {
    transform: none;
  }
}

/* @end */


/* @group Footer */

.site-footer {
  position: relative;
  z-index: 20;

  min-height: var(--footer-height);
  margin: 0;

  background: var(--tr-yellow);
  color: var(--tr-black);
}

.site-footer__inner {
  width: min(var(--page-max), calc(100% - var(--gutter) * 2));
  min-height: var(--footer-height);
  margin-inline: auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 3vw, 3rem);
}

.site-footer__copyright {
  margin: 0;

  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 400;

  color: var(--tr-black);
}

.site-footer__nav {
  margin-left: auto;
}

.site-footer__menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(1rem, 2.5vw, 2.25rem);

  list-style: none;
  margin: 0;
  padding: 0;

  font-family: var(--font-display);
  font-size: clamp(18px, 1.8vw, 28px);
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-footer__menu li {
  margin: 0;
  padding: 0;
}

.site-footer__menu a {
  color: var(--tr-black);
  text-decoration: none;
}

.site-footer__menu a:hover,
.site-footer__menu a:focus-visible,
.site-footer__menu .current-menu-item > a,
.site-footer__menu .current_page_item > a,
.site-footer__menu a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* --------------------------------
   AJAX / Turbo Page Loader
   Radial Wipe Style
-------------------------------- */
/*@property --loader-fill {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}*/

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: grid;
  place-items: center;

  background: rgba(5, 5, 5, 0.12);
  backdrop-filter: blur(2px);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 180ms ease,
    visibility 180ms ease;
}

.page-loader.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.page-loader__ball {
  position: relative;

  width: clamp(54px, 6vw, 82px);
  aspect-ratio: 1;
  border-radius: 50%;

  overflow: hidden;

  background: var(--tr-yellow);
  border: 3px solid var(--tr-black);

  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.22),
    inset 0 0 0 2px rgba(255, 255, 255, 0.16);
}

/* The radial wipe */
.page-loader__fill {
  position: absolute;
  inset: 0;
  border-radius: 50%;

  background: conic-gradient(
    var(--tr-red) 0deg,
    var(--tr-red) var(--loader-fill, 0deg),
    transparent var(--loader-fill, 0deg),
    transparent 360deg
  );

animation: pageLoaderRadialWipe 1800ms cubic-bezier(.45, 0, .25, 1) infinite;
}

/* Keeps the fill cleanly inside the ball */
.page-loader__fill::after {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;

  background: var(--tr-yellow);
  opacity: 0;
}

/* Optional highlight */
.page-loader__ball::after {
  content: "";
  position: absolute;
  inset: 13% 18% auto auto;

  width: 22%;
  aspect-ratio: 1;
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.38);
  pointer-events: none;
}

@keyframes pageLoaderRadialWipe {
  0% {
    --loader-fill: 0deg;
    transform: rotate(-90deg);
  }

  18% {
    --loader-fill: 55deg;
    transform: rotate(-90deg);
  }

  42% {
    --loader-fill: 175deg;
    transform: rotate(-90deg);
  }

  72% {
    --loader-fill: 315deg;
    transform: rotate(-90deg);
  }

  88% {
    --loader-fill: 360deg;
    transform: rotate(-90deg);
  }

  100% {
    --loader-fill: 360deg;
    transform: rotate(-90deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-loader__fill {
    animation: none;
    background: conic-gradient(
      var(--tr-red) 0deg,
      var(--tr-red) 270deg,
      transparent 270deg,
      transparent 360deg
    );
    transform: rotate(-90deg);
  }
}
@media (min-width: 768px) {
  body.home .site-footer,
  body.front-page .site-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;

    width: 100%;
    z-index: 50;
  }
}

@media (max-width: 767px) {
  .site-footer {
    min-height: auto;
  }

  .site-footer__inner {
    min-height: auto;
    padding-block: 1rem;

    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.75rem;
  }

  .site-footer__nav {
    width: 100%;
    margin-left: 0;
  }

  .site-footer__menu {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;

    font-size: 20px;
    line-height: 1;
  }

  .site-footer__copyright {
    font-size: 11px;
  }
}

/* @end */


/* --------------------------------
   Mobile Menu Toggle
   Keeps desktop nav untouched
-------------------------------- */

.mobile-menu-toggle {
  display: none;
}

/* --------------------------------
   Mobile Navigation Only
-------------------------------- */

@media (max-width: 767px) {
  .site-header {
    padding:
      calc(clamp(42px, 11vw, 83px) + var(--player-torn-overlap))
      var(--gutter)
      1.25rem;
  }

.site-header__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    justify-content: normal;
    gap: 1rem;
    width: 100%;
}

  .site-logo {
    font-size: clamp(42px, 13vw, 72px);
    line-height: 0.9;
  }

  .mobile-menu-toggle {
  display: block;
  position: relative;
  z-index: 6;

  width: 44px;
  height: 44px;
  padding: 0;
  margin-top: -10px;

  border: 0;
  background: transparent;
  color: var(--tr-black);

  cursor: pointer;
}

.mobile-menu-toggle__line {
  position: absolute;
  left: 7px;

  display: block;
  width: 30px;
  height: 3px;
  margin: 0;

  background: currentColor;
  transform-origin: center;

  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.mobile-menu-toggle__line:nth-child(1) {
  top: 12px;
}

.mobile-menu-toggle__line:nth-child(2) {
  top: 20px;
}

.mobile-menu-toggle__line:nth-child(3) {
  top: 28px;
}

body.mobile-menu-open .mobile-menu-toggle__line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

body.mobile-menu-open .mobile-menu-toggle__line:nth-child(2) {
  opacity: 0;
}

body.mobile-menu-open .mobile-menu-toggle__line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu-toggle:focus-visible {
  outline: 2px solid var(--tr-black);
  outline-offset: 4px;
}

  .site-nav {
    position: absolute;
    left: calc(var(--gutter) * -1);
    right: calc(var(--gutter) * -1);
    top: 100%;

    width: auto;
    max-width: none;
    flex: none;
    z-index: 5;

    padding: 1.5rem var(--gutter) 2rem;

    background: var(--header-color);
    color: var(--tr-black);

    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.24);

    transition:
      opacity 180ms ease,
      transform 180ms ease,
      visibility 0ms linear 180ms;
  }

  body.mobile-menu-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transition:
      opacity 180ms ease,
      transform 180ms ease,
      visibility 0ms;
  }

  .site-nav__list {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .site-nav__list--primary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem 1rem;

    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid currentColor;

    font-family: var(--font-display);
    font-size: clamp(30px, 9vw, 46px);
    line-height: 0.95;
    text-transform: uppercase;
  }

  .site-nav__list--primary li {
    text-align: center;
  }

 .site-nav__list--primary a {
    display: block;
    color: var(--tr-black);
    text-decoration: none;
    font-size: clamp(28px, 6vw, 46px);
}

  .site-nav__list--secondary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem 1rem;

    padding-top: 0;

    font-family: var(--font-display);
    font-size: clamp(22px, 7vw, 34px);
    line-height: 0.95;
    text-transform: uppercase;
  }

  .site-nav__list--secondary a {
    display: flex;
    align-items: center;
    gap: 0.55rem;

    color: var(--tr-black);
    text-decoration: none;
  }

  .site-nav .current-menu-item > a,
  .site-nav .current-page-ancestor > a,
  .site-nav a[aria-current="page"] {
    border-bottom: 3px solid currentColor;
  }

  .subpage-ball-nav {
    display: none;
  }

  body.mobile-menu-open {
    overflow: hidden;
  }
}

@media (max-width: 767px) {
  .site-logo {
    font-size: clamp(32px, 9vw, 44px);
    line-height: 0.9;
  }
  #wpadminbar {
  	display: none;
  }
}



@media (max-width: 767px) {
 .site-nav__list--secondary .menu-ball > a {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: clamp(22px, 6vw, 34px);
}

  .site-nav__list--secondary .menu-ball > a::before {
    content: "";
    display: inline-block;
    flex: 0 0 auto;

    width: 20px;
    height: 20px;
    border-radius: 50%;

    background: var(--tr-yellow);
  }

  .site-nav__list--secondary .menu-ball--actor > a::before {
    background: var(--tr-brown);
  }

  .site-nav__list--secondary .menu-ball--director > a::before {
    background: var(--tr-green);
  }

  .site-nav__list--secondary .menu-ball--writer > a::before,
  .site-nav__list--secondary .menu-ball--words > a::before {
    background: var(--tr-blue);
  }

  .site-nav__list--secondary .menu-ball--radio > a::before {
    background: var(--tr-red);
  }

  .site-nav__list--secondary .menu-ball--photos > a::before {
    background: var(--tr-purple);
  }
  
  .site-nav__list--secondary .current-menu-item > a::before,
  .site-nav__list--secondary .current_page_item > a::before,
  .site-nav__list--secondary a[aria-current="page"]::before {
    background: var(--tr-muted) !important;
  }

  .site-nav__list--secondary .current-menu-item > a,
  .site-nav__list--secondary .current_page_item > a,
  .site-nav__list--secondary a[aria-current="page"] {
    border-bottom: 0;
  }
  body.single-writer-items .site-nav__list--secondary .menu-ball--writer > a::before {
    background: var(--tr-muted) !important;
  }

  body.single-writer-items .site-nav__list--secondary .menu-ball--writer > a {
    border-bottom: 0;
  }
}

.fa-bag-shopping {
height: 22px;
}

/* --------------------------------
   Home Mobile Ball Layout
-------------------------------- */

@media (max-width: 767px) {
body.home .home-category-nav, body.front-page .home-category-nav {
    position: absolute;
    left: auto;
    bottom: -70px;
    transform: none;
    width: min(100%, 720px);
    margin: -85px auto 0;
    padding: 0 clamp(0.75rem, 3vw, 1rem) 0;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    align-items: center;
    justify-items: center;
    gap: 0;
    overflow: visible;
}
body.home .home-category-ball, body.front-page .home-category-ball {
    --ball-size: clamp(104px, 28vw, 148px);
    width: var(--ball-size);
    flex: none;
    font-size: clamp(26px, 7vw, 32px);
    line-height: 0.9;
    animation: none;
    opacity: 1;
    filter: none;
    transform: rotate(var(--ball-rotate));
}

  body.home .home-category-ball + .home-category-ball,
  body.front-page .home-category-ball + .home-category-ball {
    margin-left: 0;
  }
body.home .home-category-ball--actor, body.front-page .home-category-ball--actor {
    grid-column: 1 / span 2;
    grid-row: 1;
    --ball-x: 0px;
    --ball-y: 0px;
    --ball-rotate: -8deg;
    scale: 1.2;
}

  body.home .home-category-ball--director,
  body.front-page .home-category-ball--director {
    grid-column: 3 / span 2;
    grid-row: 1;
    --ball-x: 0px;
    --ball-y: 0px;
    --ball-rotate: 3deg;
	 scale: 1.2;
  }

  body.home .home-category-ball--writer,
  body.front-page .home-category-ball--writer,
  body.home .home-category-ball--words,
  body.front-page .home-category-ball--words {
    grid-column: 5 / span 2;
    grid-row: 1;
    --ball-x: 0px;
    --ball-y: 0px;
    --ball-rotate: -6deg;
	 scale: 1.2;
  }

 body.home .home-category-ball--radio, body.front-page .home-category-ball--radio {
    grid-column: 2 / span 2;
    grid-row: 2;
    --ball-x: 0px;
    --ball-y: 0px;
    --ball-rotate: 5deg;
    font-size: clamp(14px, 2.5vw, 30px);
    line-height: 1.65;
	 scale: 1.2;
}

body.home .home-category-ball--photos, body.front-page .home-category-ball--photos {
    grid-column: 4 / span 2;
    grid-row: 2;
    --ball-x: 0px;
    --ball-y: 0px;
    --ball-rotate: 4deg;
    font-size: clamp(24px, 4vw, 38px);
    line-height: 1.15;
	 scale: 1.2;
}
}
/* =========================================================
   Home Category Balls — hover state using existing ball vars
========================================================= */

.home-category-ball {
  transition:
    color 160ms ease,
    transform 180ms ease;

/*  transform:
    translate(var(--ball-x, 0px), var(--ball-y, 0px))
    rotate(var(--ball-rotate, 0deg))
    scale(var(--ball-scale, 1)) !important;*/

  transform-origin: center;
}

/* muted letters */
.home-category-ball__letter-muted {
  display: inline !important;
  color: inherit;
  transition: color 160ms ease;
}

.home-category-ball:hover .home-category-ball__letter-muted,
.home-category-ball:focus-visible .home-category-ball__letter-muted {
  color: var(--tr-muted) !important;
}


/* --------------------------------
   Hover / Focus Rotation
-------------------------------- */

.home-category-ball:hover,
.home-category-ball:focus-visible {
  color: var(--tr-black) !important;

  transform:
    translate(var(--ball-x, 0px), var(--ball-y, 0px))
    rotate(calc(var(--ball-rotate, 0deg) + 7deg))
    scale(calc(var(--ball-scale, 1) * 1.025)) !important;
}

.home-category-ball--actor:hover,
.home-category-ball--actor:focus-visible {
  transform:
    translate(var(--ball-x, 0px), var(--ball-y, 0px))
    rotate(calc(var(--ball-rotate, 0deg) - 7deg))
    scale(calc(var(--ball-scale, 1) * 1.025)) !important;
}

.home-category-ball--director:hover,
.home-category-ball--director:focus-visible {
  transform:
    translate(var(--ball-x, 0px), var(--ball-y, 0px))
    rotate(calc(var(--ball-rotate, 0deg) + 7deg))
    scale(calc(var(--ball-scale, 1) * 1.025)) !important;
}

.home-category-ball--words:hover,
.home-category-ball--words:focus-visible {
  transform:
    translate(var(--ball-x, 0px), var(--ball-y, 0px))
    rotate(calc(var(--ball-rotate, 0deg) + 8deg))
    scale(calc(var(--ball-scale, 1) * 1.025)) !important;
}

.home-category-ball--radio:hover,
.home-category-ball--radio:focus-visible {
  transform:
    translate(var(--ball-x, 0px), var(--ball-y, 0px))
    rotate(calc(var(--ball-rotate, 0deg) + 7deg))
    scale(calc(var(--ball-scale, 1) * 1.025)) !important;
}

.home-category-ball--photos:hover,
.home-category-ball--photos:focus-visible {
  transform:
    translate(var(--ball-x, 0px), var(--ball-y, 0px))
    rotate(calc(var(--ball-rotate, 0deg) - 6deg))
    scale(calc(var(--ball-scale, 1) * 1.025)) !important;
}


/* --------------------------------
   Reduced Motion
-------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .home-category-ball,
  .home-category-ball:hover,
  .home-category-ball:focus-visible {
    transition: none !important;

    transform:
      translate(var(--ball-x, 0px), var(--ball-y, 0px))
      rotate(var(--ball-rotate, 0deg))
      scale(var(--ball-scale, 1)) !important;
  }

  .home-category-ball__letter-muted {
    transition: none !important;
  }
}

/* =========================================================
   Contact Page — layout polish
========================================================= */

.section-page--contact {
  padding-top: clamp(6rem, 10vw, 10rem);
}

.contact-page__inner {
  width: min(1180px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

/* Give the intro/form room below the header balls */
.contact-hero {
  margin-top: clamp(2.5rem, 5vw, 5rem);
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

/* Keep intro from stretching too wide */
.contact-hero__content {
  max-width: 760px;
}

/* Form section should not span the entire browser */
.contact-form-section {
  width: min(100%, 960px);
  margin: clamp(3rem, 6vw, 5rem) auto 0;
}

/* Keep the heading/rule within the same contained width */
.contact-form-section .section-heading {
  width: 100%;
}

/* Gravity form panel */
.contact-form-panel {
  width: 100%;
  max-width: 960px;
  margin: clamp(2rem, 4vw, 3.5rem) auto 0;
}

/* Gravity Forms itself */
.contact-form-panel .gform_wrapper,
.contact-form-panel form {
  width: 100%;
}

/* Make Gravity Forms grid feel less edge-to-edge */
.contact-form-panel .gform_body {
  width: 100%;
}

/* Optional: slightly tighter field spacing */
.contact-form-panel .gform_fields {
  row-gap: 1.15rem;
  column-gap: 1rem;
}

/* Inputs */
.contact-form-panel input[type="text"],
.contact-form-panel input[type="email"],
.contact-form-panel input[type="tel"],
.contact-form-panel input[type="url"],
.contact-form-panel textarea,
.contact-form-panel select {
  min-height: 42px;
}

/* Message box */
.contact-form-panel textarea {
  min-height: 150px;
}

/* Hide the extra page content underneath the form if this is coming from the regular page template */
.contact-page .entry-footer,
.contact-page .page-meta,
.contact-page .post-meta,
.contact-page .wp-block-separator {
  display: none;
}

/* =========================================================
   Contact Page — contained layout
========================================================= */

.section-page--contact {
  padding-top: clamp(6rem, 10vw, 10rem);
      padding-bottom: 40px;
}

.contact-page__inner {
  width: min(1180px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.contact-hero {
  margin-top: clamp(2.5rem, 5vw, 5rem);
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.contact-form-section {
  width: min(100%, 960px);
  margin: clamp(3rem, 6vw, 5rem) auto 0;
}

.contact-form-panel {
  width: 100%;
  max-width: 960px;
  margin: clamp(2rem, 4vw, 3.5rem) auto 0;
}


/* =========================================================
   Gravity Forms — Tim Robbins styling
========================================================= */

.contact-form-panel .gform_wrapper {
  width: 100%;
  margin: 0;
  color: var(--tr-off-white);

  /* Override Gravity Forms Orbital CSS variables */
  --gf-color-primary: var(--tr-brown);
  --gf-color-primary-contrast: var(--tr-black);
  --gf-color-in-ctrl: transparent;
  --gf-color-in-ctrl-contrast: var(--tr-off-white);
  --gf-color-in-ctrl-darker: transparent;
  --gf-color-out-ctrl-dark: rgba(242, 240, 234, 0.82);
  --gf-ctrl-border-color: rgba(242, 240, 234, 0.82);
  --gf-radius: 0;
}

.contact-form-panel .gform_fields {
  row-gap: clamp(1.35rem, 2vw, 2rem);
  column-gap: clamp(1rem, 2vw, 1.5rem);
}

.contact-form-panel .gfield {
  margin: 0;
}


/* Section breaks: About You / How Can We Reach You / What's on your mind */
.contact-form-panel .gsection {
  margin: clamp(2rem, 4vw, 3.5rem) 0 0;
  padding: clamp(1rem, 2vw, 1.4rem) 0 0;
  border-top: 1px solid rgba(242, 240, 234, 0.35);
}

.contact-form-panel .gsection:first-child {
  margin-top: 0;
}

.contact-form-panel .gsection_title {
  margin: 0 0 0.35rem;

  color: var(--tr-off-white);
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 62px);
  line-height: 0.86;
  letter-spacing: 0;
  text-transform: uppercase;
  font-weight: 400;
}

.contact-form-panel .gsection_description {
  margin: 0;

  color: rgba(242, 240, 234, 0.78);
  font-family: var(--font-body);
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.45;
}


/* Labels */
.contact-form-panel .gfield_label,
.contact-form-panel .gform-field-label,
.contact-form-panel legend.gfield_label {
  color: rgba(242, 240, 234, 0.82) !important;

  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.contact-form-panel .gform-field-label--type-sub {
  margin-bottom: 0.35rem;
  color: rgba(242, 240, 234, 0.62) !important;
  font-size: 12px;
  font-weight: 500;
}

.contact-form-panel .gfield_required,
.contact-form-panel .gfield_required_text {
  color: var(--tr-red, #d14d39) !important;
  font-size: 11px;
}


/* Inputs */
.contact-form-panel input[type="text"],
.contact-form-panel input[type="email"],
.contact-form-panel input[type="tel"],
.contact-form-panel input[type="url"],
.contact-form-panel textarea,
.contact-form-panel select {
  width: 100% !important;
  min-height: 46px;

  border: 1px solid rgba(242, 240, 234, 0.82) !important;
  border-radius: 0 !important;
  background: rgba(242, 240, 234, 0.96) !important;
  color: var(--tr-black) !important;

  font-family: var(--font-body) !important;
  font-size: 15px !important;
  line-height: 1.4 !important;

  padding: 0.75rem 0.9rem !important;
  box-shadow: none !important;
}

.contact-form-panel textarea {
  min-height: 170px;
  resize: vertical;
}

.contact-form-panel select {
  appearance: auto;
}

.contact-form-panel input:focus,
.contact-form-panel textarea:focus,
.contact-form-panel select:focus {
  outline: 2px solid var(--tr-brown);
  outline-offset: 2px;
  border-color: var(--tr-brown) !important;
}


/* Complex fields like name/email/address */
.contact-form-panel .ginput_complex {
  gap: 1rem;
}

.contact-form-panel .gform-grid-row {
  row-gap: 1rem;
}


/* Submit button */
.contact-form-panel .gform-footer,
.contact-form-panel .gform_footer {
  margin-top: clamp(2rem, 4vw, 3rem) !important;
  padding-top: 0 !important;
}

.contact-form-panel .gform_button,
.contact-form-panel button[type="submit"],
.contact-form-panel input[type="submit"] {
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--tr-brown) !important;
  color: var(--tr-black) !important;
  cursor: pointer;

  font-family: var(--font-display) !important;
  font-size: clamp(28px, 3vw, 48px) !important;
  line-height: 0.86 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
  font-weight: 400 !important;

  padding: 0.75rem 1.15rem 0.6rem !important;

  transition:
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.contact-form-panel .gform_button:hover,
.contact-form-panel .gform_button:focus-visible,
.contact-form-panel button[type="submit"]:hover,
.contact-form-panel button[type="submit"]:focus-visible,
.contact-form-panel input[type="submit"]:hover,
.contact-form-panel input[type="submit"]:focus-visible {
  background: var(--tr-off-white) !important;
  color: var(--tr-black) !important;
  transform: translateY(-2px);
}


/* Validation / confirmation */
.contact-form-panel .gform_validation_errors,
.contact-form-panel .validation_message {
  color: var(--tr-off-white) !important;
  border-color: var(--tr-red, #d14d39) !important;
  background: transparent !important;
  box-shadow: none !important;
}

.contact-form-panel .gform_confirmation_message {
  color: var(--tr-off-white);
  font-family: var(--font-body);
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1.5;
}


/* Responsive */
@media (max-width: 800px) {
  .section-page--contact {
    padding-top: clamp(4rem, 12vw, 6rem);
  }

  .contact-form-section,
  .contact-form-panel {
    width: 100%;
  }

  .contact-form-panel .ginput_complex,
  .contact-form-panel .gform-grid-row {
    display: block;
  }

  .contact-form-panel .ginput_complex > span,
  .contact-form-panel .gform-grid-col {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
  }
}

@media (max-width: 1050px) {
  .site-header__inner {
    flex-direction: column;
    gap: 18px;
  }

.site-logo {
    font-size: clamp(38px, 8vw, 44px);
    line-height: clamp(46px, 9vw, 78px);
}
.site-header {
    padding-top: 56px;
}

  .site-nav {
    flex: 0 1 auto;
    width: 100%;
    max-width: 400px;
    padding-top: 0;
  }
  .subpage-ball-nav {
    right: auto;
    left: 50%;
    bottom: -20px;
}

.subpage-ball {
    --subpage-ball-size: clamp(62px, 11vw, 92px);
    font-size: clamp(20px, 4vw, 24px);
    width: clamp(62px, 11vw, 110px);
}

  .subpage-ball--radio {
    font-size: clamp(12px, 1.2vw, 14px);
  }
   .subpage-ball--photos {
   font-size:clamp(18px, 5.2vw, 20px)
  
  }
  .home-category-ball--actor {
    --ball-x: -16px;
    --ball-y: 30px;
}
.home-category-ball--director {
    --ball-x: -15px;
    --ball-y: 28px;
    --ball-scale: 1;
	    font-size: clamp(42px, 3.45vw, 57px);
}
.home-category-ball--words {
    --ball-x: -12px;
    --ball-y: 32px;
}
.home-category-ball--radio {
    --ball-x: 0;
    --ball-y: 41px;
    --ball-scale: 1;
}
.home-category-ball--photos {
    --ball-x: 0px;
    --ball-y: 46px;
    --ball-scale: 1;
    font-size: clamp(30px, 2.45vw, 44px);
    line-height: 1.2;
}
}

@media (max-width: 480px) {
  .site-nav {
    max-width: 100%;
  }

  .site-nav__list--primary {
    gap: 10px;
    font-size: clamp(24px, 7vw, 30px);
    line-height: clamp(25px, 7.2vw, 31px);
  }

  .site-nav__list--secondary {
    gap: 14px;
    font-size: clamp(17px, 5.5vw, 21px);
    line-height: clamp(18px, 5.7vw, 22px);
  }
   .subpage-ball-nav {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;

    margin-top: 1rem;
    width: 100%;

    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.5rem;
  }

  .subpage-ball {
    --subpage-ball-size: 72px;
    flex: 0 0 var(--subpage-ball-size);
    font-size: 24px;
  }

  .subpage-ball--radio {
    font-size: 18px;
  }
  .music-player__button {
  font-family: Arial, Helvetica, sans-serif !important;
  font-variant-emoji: text;
}
}

/* @end */

/* =========================================================
   Home Page — short screen height fixes
   Prevent Tim's head from getting cut off
========================================================= */

@media (max-height: 820px) and (min-width: 768px) {
  
    body.home,
  body.front-page {
    overflow: visible;
  }
  
  body.home .site-footer, body.front-page .site-footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    z-index: 50;
    top: 103%;
}

    .home-category-ball {
        --ball-size: clamp(120px, 14vw, 190px);
        font-size: clamp(34px, 3vw, 58px);
        line-height: clamp(36px, 4.2vw, 60px);
		    --ball-y: 38px;
    }
  body.home .site-main,
  body.front-page .site-main {
    min-height: auto !important;
  }

  body.home .home-hero,
  body.front-page .home-hero {
    min-height: calc(100vh - 178px) !important;
    height: auto !important;
   /* padding-top: clamp(1rem, 2vh, 2rem) !important;*/
    overflow: visible !important;
  }

body.home .home-hero__figure, body.front-page .home-hero__figure {
        top: auto !important;
        bottom: 0 !important;
        height: min(81vh, 644px) !important;
        max-height: calc(100vh - 78px) !important;
        overflow: visible !important;
        width: auto !important;
    }

  body.home .home-hero__image,
  body.front-page .home-hero__image {
    height: 100% !important;
    max-height: calc(100vh - 190px) !important;
    object-fit: contain !important;
    object-position: center top !important;
  }

  body.home .home-category-nav,
  body.front-page .home-category-nav {
    bottom: 14px !important;
  }

  body.home .home-category-ball,
  body.front-page .home-category-ball {
    scale: 0.88;
  }
 /* Peeking/resting state */
  body.home .home-category-nav .home-category-ball,
  body.front-page .home-category-nav .home-category-ball {
    transition:
      color 160ms ease,
      transform 220ms ease !important;
    transform:
      translate(var(--ball-x, 0px), var(--ball-y, 0px))
      rotate(var(--ball-rotate, 0deg))
      scale(var(--ball-scale, 1)) !important;
  }
.home-category-ball.home-category-ball--radio {
    font-size: clamp(20px, 1vw, 28px) !important;
    line-height: clamp(38px, 1.2vw, 49px) !important;
}
  .home-category-ball.home-category-ball--photos {
  	font-size: clamp(31px, 2vw, 58px);
    line-height: clamp(36px, 2.2vw, 60px);
}
}

/* =========================================================
   Home Page — medium-short screens
   821px–900px height: make Tim smaller only
========================================================= */

@media (min-height: 821px) and (max-height: 900px) and (min-width: 768px) {
  body.home .home-hero__figure,
  body.front-page .home-hero__figure {
    height: min(78vh, 720px) !important;
    max-height: calc(100vh - 170px) !important;
	width: auto;
  }

  body.home .home-hero__image,
  body.front-page .home-hero__image {
    height: 100% !important;
    max-height: calc(100vh - 170px) !important;
    object-fit: contain !important;
    object-position: center top !important;
	width: auto;
  }
}


/* =========================================================
   Home balls — tablet/narrow mobile: one-line layout
   Applies from 613px to 767px wide
========================================================= */

@media (min-width: 613px) and (max-width: 767px) {
  body.home .home-category-nav,
  body.front-page .home-category-nav {
    display: grid !important;
    grid-template-columns: repeat(10, minmax(0, 1fr)) !important;
    grid-template-rows: 1fr !important;
    align-items: center !important;
    justify-items: center !important;
    gap: 0 !important;
  }

  body.home .home-category-ball,
  body.front-page .home-category-ball {
    grid-row: 1 !important;
    --ball-x: 0px;
    --ball-y: 0px;
    scale: 1 !important;
  }

  body.home .home-category-ball--actor,
  body.front-page .home-category-ball--actor {
    grid-column: 1 / span 2 !important;
    --ball-rotate: -8deg;
    scale: 1.1 !important;
  }

  body.home .home-category-ball--director,
  body.front-page .home-category-ball--director {
    grid-column: 3 / span 2 !important;
    --ball-rotate: 6deg;
    scale: 1.08 !important;
  }

  body.home .home-category-ball--words,
  body.front-page .home-category-ball--words {
    grid-column: 5 / span 2 !important;
    --ball-rotate: -4deg;
    scale: 1.08 !important;
  }

  body.home .home-category-ball--radio,
  body.front-page .home-category-ball--radio {
    grid-column: 7 / span 2 !important;
    --ball-rotate: 5deg;
    scale: 1.08 !important;
  }

  body.home .home-category-ball--photos,
  body.front-page .home-category-ball--photos {
    grid-column: 9 / span 2 !important;
    --ball-rotate: -5deg;
    scale: 1.1 !important;
  }
      body.home .home-hero, body.front-page .home-hero {
        padding: 3rem 1rem 0;
    }
	    .site-header {
        padding: calc(clamp(42px, 5vw, 83px) + var(--player-torn-overlap)) var(--gutter) 1.25rem;
    }
}


/* Header logo adjustment for 1050px–1220px */
@media (min-width: 1050px) and (max-width: 1220px) {
  .site-logo {
    font-size: clamp(34px, 4.2vw, 52px) !important;
  }
}

/* =========================================================
   Home Hero — make Tim larger on tablet / small desktop
   768px–1220px wide, normal-height screens only
========================================================= */

@media (min-width: 768px) and (max-width: 1220px) and (min-height: 901px) {
  body.home .home-hero__figure,
  body.front-page .home-hero__figure {
    width: clamp(560px, 72vw, 900px) !important;
  }
}

/* =========================================================
   Home Hero — medium-short screens, tablet/small desktop
   Bigger than current, but height-safe
========================================================= */

@media (min-width: 768px) and (max-width: 1220px) and (min-height: 821px) and (max-height: 900px) {
  body.home .home-hero__figure,
  body.front-page .home-hero__figure {
    width: auto !important;
    height: min(76vh, 700px) !important;
    max-height: calc(100vh - 170px) !important;
  }

  body.home .home-hero__image,
  body.front-page .home-hero__image {
    height: 100% !important;
    max-height: calc(100vh - 170px) !important;
    object-fit: contain !important;
    object-position: center top !important;
  }
}

/* =========================================================
   Home balls — 1042px–1390px width containment
   Keeps the ball row from extending beyond the screen
========================================================= */

@media (min-width: 1042px) and (max-width: 1390px) {
  body.home .home-category-nav,
  body.front-page .home-category-nav {
    width:100%  !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    overflow: visible !important;
  }

body.home .home-category-ball, body.front-page .home-category-ball {
    scale: 0.9 !important;
    width: 190px;
}
body.home .home-category-ball--radio, body.front-page .home-category-ball--radio {
    --ball-x: 0px !important;
    scale: 0.88 !important;
    font-size: 19px !important;
    line-height: 1.8 !important;
}

  body.home .home-category-ball--actor,
  body.front-page .home-category-ball--actor {
    --ball-x: 0px !important;
    scale: 0.92 !important;
  }

  body.home .home-category-ball--director,
  body.front-page .home-category-ball--director {
    --ball-x: 0px !important;
    scale: 0.9 !important;
  }

  body.home .home-category-ball--words,
  body.front-page .home-category-ball--words {
    --ball-x: 0px !important;
    scale: 0.9 !important;
  }

  body.home .home-category-ball--radio,
  body.front-page .home-category-ball--radio {
    --ball-x: 0px !important;
    scale: 0.88 !important;
  }

  body.home .home-category-ball--photos,
  body.front-page .home-category-ball--photos {
    --ball-x: 0px !important;
    scale: 0.92 !important;
  }
}

@media (max-width: 480px) {
  .site-logo {
    font-size: clamp(28px, 5vw, 34px);
	padding-left: var(--gutter);
  }
     .mobile-menu-toggle  {
	 	margin-right: var(--gutter);
	 }
  .site-header {
    padding: calc(clamp(56px, 2vw, 65px) + var(--player-torn-overlap)) 0px 1.25rem;
}
body.mobile-menu-open .site-nav {
transform: translate(-50%, 11px);
opacity: 1;
visibility: visible;
pointer-events: auto;
transition: opacity 180ms ease,
transform 180ms ease,
visibility 0ms;
left: 50%;
right: auto;
}
}

.site-footer__social a:hover {
	color: initial;
}
/* =========================================================
   Page Hero Gallery — featured-image replacement slider
   Uses Credit Slider + Credit Lightbox visual language
========================================================= */

/*.page-hero-gallery {
  width: min(100%, 1180px);
  margin: 0 auto clamp(3rem, 6vw, 5rem);
  overflow: visible !important;
}

.page-hero-gallery__slider {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}

/* This is the clipped sliding viewport only *!/
.page-hero-gallery__slider .credit-detail-slider__slides {
  position: relative !important;
  height: var(--page-gallery-image-height, auto) !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

/* Slides *!/
.page-hero-gallery__slide {
  margin: 0 !important;
  width: 100% !important;
  transition:
    transform 520ms ease,
    opacity 520ms ease,
    visibility 520ms ease;
  will-change: transform, opacity;
}

.page-hero-gallery__slide.is-active {
  position: relative !important;
  z-index: 2;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}

.page-hero-gallery__slide:not(.is-active) {
  position: absolute !important;
  inset: 0;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(100%);
}

.page-hero-gallery__slide.is-leaving {
  position: absolute !important;
  inset: 0;
  z-index: 1;
  opacity: 0;
  visibility: visible;
  pointer-events: none;
}

.page-hero-gallery__slide.is-entering {
  position: relative !important;
  z-index: 2;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Direction: next *!/
.page-hero-gallery__slider.is-sliding-next .page-hero-gallery__slide.is-entering {
  transform: translateX(0);
}

.page-hero-gallery__slider.is-sliding-next .page-hero-gallery__slide.is-leaving {
  transform: translateX(-100%);
}

/* Direction: previous *!/
.page-hero-gallery__slider.is-sliding-prev .page-hero-gallery__slide.is-entering {
  transform: translateX(0);
}

.page-hero-gallery__slider.is-sliding-prev .page-hero-gallery__slide.is-leaving {
  transform: translateX(100%);
}

/* Starting positions before transition *!/
.page-hero-gallery__slider.is-prepping-next .page-hero-gallery__slide.is-entering {
  transform: translateX(100%);
}

.page-hero-gallery__slider.is-prepping-prev .page-hero-gallery__slide.is-entering {
  transform: translateX(-100%);
}

/* Image button *!/
.page-hero-gallery__button,
.credit-gallery__button.page-hero-gallery__button {
  display: grid !important;
  place-items: center !important;
  width: 100% !important;
  height: var(--page-gallery-image-height, auto) !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  cursor: pointer;
}

.page-hero-gallery__button img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: min(72vh, 760px);
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center;
  background: transparent !important;
  filter: grayscale(1);
  transition:
    filter 180ms ease,
    transform 180ms ease;
}

.page-hero-gallery__button:hover img,
.page-hero-gallery__button:focus-visible img {
  filter: grayscale(0);
  transform: scale(1.01);
}

/* External visible caption — lives outside clipped slide area *!/
.page-hero-gallery__caption {
  display: block !important;
  position: relative !important;
  z-index: 30 !important;

  width: min(100% - 2rem, 760px) !important;
  margin: 0.85rem auto 0 !important;
  padding: 0 !important;

  color: var(--tr-off-white) !important;
  font-family: var(--font-display) !important;
  font-size: clamp(18px, 2vw, 28px) !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
  text-align: center !important;

  opacity: 1 !important;
  visibility: visible !important;
}

.page-hero-gallery__caption.is-empty {
  display: none !important;
}

/* Page slider arrows *!/
.page-hero-gallery__slider > .credit-detail-slider__nav,
.page-hero-gallery__slider .credit-detail-slider__nav {
  position: absolute !important;
  top: calc(var(--page-gallery-image-height, 500px) / 2) !important;
  z-index: 25 !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: clamp(34px, 4vw, 52px) !important;
  height: clamp(34px, 4vw, 52px) !important;

  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;

  color: var(--tr-off-white) !important;
  font-size: 0 !important;
  line-height: 1 !important;
  text-indent: -9999px !important;

  transform: translateY(-50%) !important;
  cursor: pointer !important;
}

.page-hero-gallery__slider > .credit-detail-slider__nav--prev,
.page-hero-gallery__slider .credit-detail-slider__nav--prev {
  left: clamp(-4rem, -4vw, -2rem) !important;
  right: auto !important;
}

.page-hero-gallery__slider > .credit-detail-slider__nav--next,
.page-hero-gallery__slider .credit-detail-slider__nav--next {
  right: clamp(-4rem, -4vw, -2rem) !important;
  left: auto !important;
}

.page-hero-gallery__slider .credit-detail-slider__nav::before {
  content: "" !important;
  display: block !important;
  width: 42% !important;
  height: 42% !important;
  border-top: 2px solid currentColor !important;
  border-left: 2px solid currentColor !important;
  text-indent: 0 !important;
}

.page-hero-gallery__slider .credit-detail-slider__nav--prev::before {
  transform: rotate(-45deg) !important;
}

.page-hero-gallery__slider .credit-detail-slider__nav--next::before {
  transform: rotate(135deg) !important;
}

.page-hero-gallery__slider .credit-detail-slider__nav:hover,
.page-hero-gallery__slider .credit-detail-slider__nav:focus-visible {
  color: var(--tr-yellow) !important;
}

/* Center dots *!/
.page-hero-gallery__dots,
.page-hero-gallery__slider .credit-detail-slider__dots {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  width: 100% !important;
  margin: clamp(1rem, 2vw, 1.5rem) auto 0 !important;
  padding: 0 !important;
  gap: 0.55rem !important;
}

@media (max-width: 800px) {
  .page-hero-gallery {
    width: min(100%, 560px);
  }

  .page-hero-gallery__button img {
    max-height: min(58vh, 520px);
  }

  .page-hero-gallery__dots,
  .page-hero-gallery__slider .credit-detail-slider__dots {
    display: none !important;
  }

  .page-hero-gallery__slider > .credit-detail-slider__nav--prev,
  .page-hero-gallery__slider .credit-detail-slider__nav--prev {
    left: -0.25rem !important;
  }

  .page-hero-gallery__slider > .credit-detail-slider__nav--next,
  .page-hero-gallery__slider .credit-detail-slider__nav--next {
    right: -0.25rem !important;
  }
}*/


/* =========================================================
   Credit / Page Hero Lightbox — global lightbox reset
========================================================= */

/*.credit-lightbox {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9999 !important;

  display: none !important;
  align-items: center !important;
  justify-content: center !important;

  width: 100vw !important;
  height: 100vh !important;
  padding: clamp(1rem, 3vw, 3rem) !important;

  background: rgba(5, 5, 5, 0.94) !important;
}

.credit-lightbox.is-open {
  display: flex !important;
}

html.has-lightbox-open,
html.has-lightbox-open body {
  overflow: hidden !important;
}

.credit-lightbox__dialog {
  position: relative !important;
  width: min(100%, 1180px) !important;
  height: min(100%, 88vh) !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  outline: none !important;
}

.credit-lightbox__slides {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  overflow: hidden !important;
}

.credit-lightbox__slide {
  position: absolute !important;
  inset: 0 !important;

  display: none !important;
  align-items: center !important;
  justify-content: center !important;

  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;

  transition:
    transform 520ms ease,
    opacity 520ms ease,
    visibility 520ms ease !important;
  will-change: transform, opacity;
}

.credit-lightbox__slide.is-active {
  display: flex !important;
  transform: translateX(0) !important;
}

.credit-lightbox__slide:not(.is-active) {
  transform: translateX(100%) !important;
}

.credit-lightbox__slide.is-entering {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.credit-lightbox__slide.is-leaving {
  display: flex !important;
  visibility: visible !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.credit-lightbox.is-sliding-next .credit-lightbox__slide.is-entering {
  transform: translateX(0) !important;
}

.credit-lightbox.is-sliding-next .credit-lightbox__slide.is-leaving {
  transform: translateX(-100%) !important;
}

.credit-lightbox.is-sliding-prev .credit-lightbox__slide.is-entering {
  transform: translateX(0) !important;
}

.credit-lightbox.is-sliding-prev .credit-lightbox__slide.is-leaving {
  transform: translateX(100%) !important;
}

.credit-lightbox.is-prepping-next .credit-lightbox__slide.is-entering {
  transform: translateX(100%) !important;
}

.credit-lightbox.is-prepping-prev .credit-lightbox__slide.is-entering {
  transform: translateX(-100%) !important;
}

.credit-lightbox__slide img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 78vh !important;
  object-fit: contain !important;
  object-position: center !important;
  background: transparent !important;
}

/* Lightbox captions *!/
.credit-lightbox__caption {
  position: absolute !important;
  left: 50% !important;
  bottom: clamp(0.5rem, 2vw, 1.5rem) !important;
  transform: translateX(-50%) !important;
  z-index: 10002 !important;

  width: min(100% - 2rem, 760px) !important;
  margin: 0 !important;
  padding: 0.45rem 0.75rem !important;

  color: var(--tr-off-white) !important;
  background: rgba(5, 5, 5, 0.55) !important;
  font-family: var(--font-body) !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  text-align: center !important;
}

/* Close button *!/
.credit-lightbox__close {
  position: fixed !important;
  top: clamp(1rem, 3vw, 2rem) !important;
  right: clamp(1rem, 3vw, 2rem) !important;
  z-index: 10001 !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;

  color: var(--tr-off-white) !important;
  font-family: var(--font-display) !important;
  font-size: clamp(48px, 6vw, 86px) !important;
  line-height: 0.7 !important;

  cursor: pointer !important;
}

/* Lightbox arrows — clean line arrows matching page slider *!/
.credit-lightbox__nav {
  position: fixed !important;
  top: 50% !important;
  z-index: 10000 !important;
  transform: translateY(-50%) !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: clamp(34px, 4vw, 54px) !important;
  height: clamp(34px, 4vw, 54px) !important;
  min-width: 0 !important;
  min-height: 0 !important;

  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;

  color: var(--tr-off-white) !important;
  font-size: 0 !important;
  line-height: 1 !important;
  text-indent: -9999px !important;

  cursor: pointer !important;
}

.credit-lightbox__nav--prev {
  left: clamp(1rem, 3vw, 2rem) !important;
  right: auto !important;
}

.credit-lightbox__nav--next {
  right: clamp(1rem, 3vw, 2rem) !important;
  left: auto !important;
}

.credit-lightbox__nav::before {
  content: "" !important;
  display: block !important;

  width: 42% !important;
  height: 42% !important;

  border-top: 2px solid currentColor !important;
  border-left: 2px solid currentColor !important;

  text-indent: 0 !important;
}

.credit-lightbox__nav--prev::before {
  transform: rotate(-45deg) !important;
}

.credit-lightbox__nav--next::before {
  transform: rotate(135deg) !important;
}

.credit-lightbox__close:hover,
.credit-lightbox__close:focus-visible,
.credit-lightbox__nav:hover,
.credit-lightbox__nav:focus-visible {
  color: var(--tr-yellow) !important;
}

@media (max-width: 800px) {
  .credit-lightbox {
    padding: 1rem !important;
  }

  .credit-lightbox__dialog {
    height: 82vh !important;
  }

  .credit-lightbox__slide img {
    max-height: 72vh !important;
  }

  .credit-lightbox__nav {
    width: 38px !important;
    height: 38px !important;
  }

  .credit-lightbox__nav--prev {
    left: 0.75rem !important;
  }

  .credit-lightbox__nav--next {
    right: 0.75rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-hero-gallery__slide,
  .credit-lightbox__slide {
    transition: none !important;
  }
}


@media (max-width: 767px) {
  
    .page-hero-gallery__caption {
    font-size: clamp(22px, 2vw, 28px) !important;
}
}
@media (max-width: 767px) {
  .credit-detail-slider__slides img:is([sizes="auto" i], [sizes^="auto," i]) {
    contain-intrinsic-size: auto !important;
  }
  .credit-detail__header, .credit-detail__content, .credit-gallery {
    margin-top: 0;
}
}*/

/* =========================================================
   Radio Click-to-Enter Gate
   Session-based, all screen sizes
========================================================= */

.tr-radio-enter {
	position: fixed;
	inset: 0;
	z-index: 999999;

	display: none;
	place-items: center;
	align-items: start;

	padding: 0;
	background: var(--tr-black);
	color: var(--tr-off-white);
}

.tr-radio-enter.is-visible {
	display: grid;
}

html.has-radio-enter-open,
html.has-radio-enter-open body {
	overflow: hidden;
}

.tr-radio-enter__button-header {
	width: 100%;
	border: 0;
	background: var(--tr-yellow);
	padding: 30px 0;
	cursor: pointer;
}

.tr-radio-enter__button {
	appearance: none;
	-webkit-appearance: none;
	border: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
	text-align: center;
	padding: 0;
	margin: clamp(3rem, 9vh, 7rem) auto 1.25rem;
}
/*
.tr-radio-enter__image {
	display: block;
	width: clamp(220px, 34vw, 460px);
	height: auto;
	margin: 0 auto;
}

.tr-radio-enter__button:hover .tr-radio-enter__image,
.tr-radio-enter__button:focus-visible .tr-radio-enter__image {
	transform: rotate(-2deg) scale(1.025);
}*/

.tr-radio-enter__button:focus-visible {
	outline: 3px solid var(--tr-off-white);
	outline-offset: 8px;
}
.tr-radio-enter__eyebrow {
	display: block;
	margin-bottom: 1rem;
	font-family: var(--font-display);
	font-size: clamp(18px, 5vw, 28px);
	line-height: 1;
	text-transform: uppercase;
}
.tr-radio-enter__image {
	display: block;
	width: clamp(220px, 34vw, 460px);
	height: auto;
	margin: 0 auto;

	transform: rotate(0deg) scale(1);
	transform-origin: center;
	transition:
		transform 220ms cubic-bezier(.18, .85, .22, 1),
		filter 220ms ease;
}

.tr-radio-enter__button:hover .tr-radio-enter__image,
.tr-radio-enter__button:focus-visible .tr-radio-enter__image {
	transform: rotate(-3deg) scale(1.06);
	filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.35));
}
/*.tr-radio-enter__title {
	display: grid;
	place-items: center;

	width: clamp(210px, 42vw, 340px);
	aspect-ratio: 1;
	margin: clamp(3rem, 9vh, 7rem) auto 1.25rem;

	border-radius: 50%;
	background: var(--tr-green);
	color: var(--tr-black);

	font-family: var(--font-display);
	font-size: clamp(54px, 10vw, 92px);
	line-height: 0.82;
	letter-spacing: -0.05em;
	text-transform: uppercase;
}*/

.tr-radio-enter__play {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	min-width: 92px;
	min-height: 44px;

	border: 2px solid currentColor;
	border-radius: 999px;

	font-family: var(--font-display);
	font-size: 22px;
	line-height: 1;
	text-transform: uppercase;
}

.tr-radio-enter button:focus-visible {
	outline: 3px solid var(--tr-off-white);
	outline-offset: 4px;
}

@media (max-width: 767px) {
	.tr-radio-enter__image {
		width: clamp(220px, 72vw, 360px);
	}

	.tr-radio-enter__button {
		margin-top: clamp(3rem, 10vh, 6rem);
	}
}

.page-general-photo-credit {
	text-align: center;
    margin-top: 20px;
}
.page-general-photo-credit p {
    color: var(--tr-muted);
	    font-style: italic;
}

@media screen and (min-width:481px) and (max-width: 540px) {
	
    .site-header {
        padding-top: 82px;
    }
}
@media screen and (min-width:541px) and (max-width: 700px) {
.site-header {
    padding-top: 80px;
}
}


.site-footer__policies a{
	font-family: var(--font-body);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 400;
    color: var(--tr-black);
	    padding: 0 10px;
}

@media screen and (min-width:1024px) and (max-width:1180px) {
	.subpage-ball--radio {
    font-size: clamp(14px, 1vw, 18px);
}
}


@media (min-height: 600px) and (max-height: 800px) and (max-width: 1390px) {
body.home .home-category-nav .home-category-ball, body.front-page .home-category-nav .home-category-ball {
    width: 135px;
	        font-size: clamp(32px, 2vw, 58px);
}
    body .home-category-ball.home-category-ball--radio span {
        font-size: clamp(15px, 1vw, 28px);
        line-height: 1.8;
    }
	body.home .home-category-ball--photos, body.front-page .home-category-ball--photos {
		
	        font-size: clamp(25px, 2vw, 58px);
        line-height: 1.2;
    }
}

@media (max-width:610px) {
	
	body.home .home-category-nav .home-category-ball, body.front-page .home-category-nav .home-category-ball {
    width: 100px;
    font-size: clamp(24px, 2vw, 58px);
}
body.home .home-category-nav, body.front-page .home-category-nav {
    left: 50%;
    transform: translate(-50%, 0);
    width: min(100%, 350px);
    margin: -85px auto 0;
}
body .home-category-ball.home-category-ball--radio span {
    font-size: clamp(11px, 1vw, 28px);
}
body.home .home-category-ball--photos, body.front-page .home-category-ball--photos {
    font-size: clamp(17px, 2vw, 58px) !important;
    line-height: 1.2;
}
}


/* =========================================================
   Home Short Screen Layout
   Move category balls below hero image
========================================================= */

@media (min-width: 768px) and (max-height: 820px) {
	body.home,
	body.front-page {
		overflow: auto;
	}

	body.home .site-main,
	body.front-page .site-main {
		min-height: auto;
	}

	body.home .home-hero,
	body.front-page .home-hero {
		display: flex;
		flex-direction: column;

		min-height: auto;
		overflow: visible;

		background-image: none;
		background-color: #000000;
	}

	body.home .home-hero::before,
	body.front-page .home-hero::before {
		content: "";

		display: block;
		width: 100%;
		height: clamp(390px, calc(100svh - var(--site-header-height) - var(--footer-height) - 190px), 620px);

		background-image: url("assets/img/tim-home2.jpg");
		background-repeat: no-repeat;
		background-size: cover;
		background-position: center 58%;
	}

	body.home .home-hero__inner,
	body.front-page .home-hero__inner {
		display: contents;
		min-height: 0;
	}

	body.home .home-category-nav,
	body.front-page .home-category-nav {
		position: relative;
		left: auto;
		right: auto;
		bottom: auto;
		transform: none;

		z-index: 8;

		width: 100%;
		max-width: none;

		display: flex;
		align-items: center;
		justify-content: center;
		gap: clamp(0.25rem, 1vw, 1rem);

		padding: clamp(1.25rem, 2.5vh, 2rem) var(--gutter);
		margin: 0;

		background: #000000;
	}

	body.home .home-category-ball,
	body.front-page .home-category-ball {
		--ball-size: clamp(118px, 12vw, 165px);

		width: var(--ball-size);
		flex: 0 0 var(--ball-size);

		font-size: clamp(30px, 3vw, 44px);
		line-height: 0.9;

		opacity: 1;
		filter: none;
		animation: none !important;

		transform:
			rotate(var(--ball-rotate))
			scale(var(--ball-scale));
	}

	body.home .home-category-ball--actor,
	body.front-page .home-category-ball--actor,
	body.home .home-category-ball--director,
	body.front-page .home-category-ball--director,
	body.home .home-category-ball--writer,
	body.front-page .home-category-ball--writer,
	body.home .home-category-ball--words,
	body.front-page .home-category-ball--words,
	body.home .home-category-ball--radio,
	body.front-page .home-category-ball--radio,
	body.home .home-category-ball--photos,
	body.front-page .home-category-ball--photos {
		--ball-x: 0px;
		--ball-y: 0px;
	}

	body.home .home-category-ball + .home-category-ball,
	body.front-page .home-category-ball + .home-category-ball {
		margin-left: clamp(-1rem, -1.5vw, -0.35rem);
	}

	body.home .site-footer,
	body.front-page .site-footer {
		position: relative;
	}
	body.home .home-category-ball--photos, body.front-page .home-category-ball--photos {
    --ball-x: 0px !important;
    scale: 0.92 !important;
    font-size: 24px !important;
    line-height: 1.3  !important;
}
}


/* =========================================================
   Home Mobile: Separate Tim Image and Category Balls
========================================================= */

@media (max-width: 767px) {
	body.home .home-hero,
	body.front-page .home-hero {
		display: flex;
		flex-direction: column;

		min-height: auto;
		padding: 0;
		overflow: visible;

		background-image: none;
		background-color: var(--tr-black);
	}

	body.home .home-hero::before,
	body.front-page .home-hero::before {
		content: "";

		display: block;
		width: 100%;
		aspect-ratio: 4 / 3;

		background-image: url("assets/img/tim-home2.jpg");
		background-repeat: no-repeat;
		background-size: cover;
		background-position: center 46%;
	}

	body.home .home-hero__inner,
	body.front-page .home-hero__inner {
		display: contents;
		min-height: 0;
	}

	body.home .home-category-nav,
	body.front-page .home-category-nav {
		position: relative;
		left: auto;
		right: auto;
		bottom: auto;
		transform: none;

		width: 100%;
		max-width: none;
		margin: 0;
		padding: 1.25rem 0.75rem 1.5rem;

		display: grid;
		grid-template-columns: repeat(6, 1fr);
		align-items: center;
		justify-items: center;
		gap: 0;

		overflow: visible;
		background: var(--tr-black);
	}

	body.home .home-category-ball,
	body.front-page .home-category-ball {
		--ball-size: clamp(104px, 28vw, 148px);

		width: var(--ball-size);
		flex: none;

		font-size: clamp(26px, 7vw, 32px);
		line-height: 0.9;

		animation: none !important;
		opacity: 1;
		filter: none;

		transform: rotate(var(--ball-rotate));
	}

	body.home .home-category-ball + .home-category-ball,
	body.front-page .home-category-ball + .home-category-ball {
		margin-left: 0;
	}

	body.home .home-category-ball--actor,
	body.front-page .home-category-ball--actor {
		grid-column: 1 / span 2;
		grid-row: 1;
		--ball-rotate: -8deg;
		scale: 1.12;
	}

	body.home .home-category-ball--director,
	body.front-page .home-category-ball--director {
		grid-column: 3 / span 2;
		grid-row: 1;
		--ball-rotate: 3deg;
		scale: 1.12;
	}

	body.home .home-category-ball--writer,
	body.front-page .home-category-ball--writer,
	body.home .home-category-ball--words,
	body.front-page .home-category-ball--words {
		grid-column: 5 / span 2;
		grid-row: 1;
		--ball-rotate: -6deg;
		scale: 1.12;
	}

	body.home .home-category-ball--radio,
	body.front-page .home-category-ball--radio {
		grid-column: 2 / span 2;
		grid-row: 2;
		--ball-rotate: 5deg;
		font-size: clamp(18px, 5vw, 30px);
		line-height: 1.45;
		scale: 1.12;
	}

	body.home .home-category-ball--photos,
	body.front-page .home-category-ball--photos {
		grid-column: 4 / span 2;
		grid-row: 2;
		--ball-rotate: 4deg;
		font-size: clamp(24px, 6vw, 38px);
		line-height: 1.1;
		scale: 1.12;
	}
}