/* ==========================================================================
   Oliver Boon — portfolio stylesheet
   ========================================================================== */

:root {
  /* Brand palette */
  --navy-950: #3a3a3a;
  --navy-900: #2e2e2e;
  --navy-800: #484848;
  --navy-700: #525252;
  --navy-600: #5e5e5e;
  --blue-accent: #1dbfb0;
  --orange: #1dbfb0;
  --orange-dark: #17a396;
  --orange-light: #4dd9ce;
  --white: #ffffff;
  --off-white: #f4f6fb;
  --gray-200: #d7dceb;
  --gray-400: #a7b0c6;
  --gray-500: #7c869e;

  /* Type */
  --font-head: "Montserrat", "Segoe UI", sans-serif;
  --font-body: "Raleway", "Segoe UI", sans-serif;

  /* Layout */
  --max-width: 1180px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.35);
  --transition: 220ms ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--navy-950);
  color: var(--off-white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.6em;
  color: var(--white);
}

p {
  margin: 0 0 1em;
  color: var(--gray-200);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 96px 0;
}

@media (max-width: 720px) {
  section {
    padding: 64px 0;
  }
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--orange-light);
}

.btn-outline {
  border-color: var(--orange);
  color: var(--orange);
  background: transparent;
}

.btn-outline:hover {
  background: var(--orange);
  color: var(--white);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(46, 46, 46, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  height: 40px;
  width: auto;
}

/* Pulsing sound wave icon in nav */
.brand svg rect {
  transform-origin: center bottom;
  animation: waveBar 1.4s ease-in-out infinite;
}
.brand svg rect:nth-child(1) { animation-delay: 0s; }
.brand svg rect:nth-child(2) { animation-delay: 0.2s; }
.brand svg rect:nth-child(3) { animation-delay: 0.4s; }
.brand svg rect:nth-child(4) { animation-delay: 0.2s; }
.brand svg rect:nth-child(5) { animation-delay: 0s; }

@keyframes waveBar {
  0%, 100% { transform: scaleY(0.5); }
  50%       { transform: scaleY(1); }
}

.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.01em;
  color: var(--orange);
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.main-nav ul {
  display: flex;
  gap: 34px;
}

.main-nav a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--gray-200);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition);
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--white);
}

.main-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    inset: 84px 0 0 0;
    background: var(--navy-900);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 48px 24px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition);
  }

  .main-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }

  .main-nav a {
    font-size: 1.25rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 140px 0 120px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% -10%, rgba(43, 171, 224, 0.16), transparent 55%),
    radial-gradient(circle at 90% 110%, rgba(255, 153, 0, 0.12), transparent 45%),
    var(--navy-950);
}

.hero .logo-mark {
  position: relative;
  width: 160px;
  aspect-ratio: 5091 / 3575;
  margin: 0 auto 32px;
  opacity: 0.95;
  transition: transform 300ms ease-in-out, opacity 300ms ease-in-out;
}

.hero .logo-mark:hover {
  transform: scale(1.05) translateY(-4px);
  opacity: 1;
}

.hero .logo-mark img {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
}

.hero-photo {
  position: relative;
  width: 176px;
  height: 176px;
  margin: 0 auto 32px;
  transition: transform 300ms ease-in-out;
}

.hero-photo:hover {
  transform: scale(1.05) translateY(-4px);
}

.hero-photo img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

.bb-man {
  transform-origin: 43.1% 50.9%;
  animation: manSway 3s ease-in-out infinite;
}

@keyframes manSway {
  0%,
  100% {
    transform: rotate(-4deg);
  }
  50% {
    transform: rotate(4deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bb-man {
    animation: none;
  }
}

/* Boom pole + mic — redrawn as a separate layer so it can swing */
.bb-boom-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.bb-boom-pole {
  transform-origin: 140px 115px;
  animation: boomSwing 3s ease-in-out infinite;
}

.bb-boom-pole line {
  stroke: var(--orange);
  stroke-width: 2.4;
  stroke-linecap: round;
}

.bb-boom-pole ellipse {
  fill: var(--orange);
}

@keyframes boomSwing {
  0%,
  100% {
    transform: rotate(-14deg);
  }
  50% {
    transform: rotate(14deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bb-boom-pole {
    animation: none;
  }
}

/* Sound-wave pulses radiating from the mic, like audio broadcasting outward */
.sound-ping {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid var(--blue-accent);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  animation: soundPulse 3s cubic-bezier(0.2, 0.7, 0.4, 1) infinite;
}

.sound-ping--alt {
  border-color: var(--orange);
  animation-delay: 1.5s;
}

@keyframes soundPulse {
  0% {
    transform: translate(-50%, -50%) scale(0.55);
    opacity: 0.55;
  }
  75% {
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.1);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sound-ping {
    animation: none;
    display: none;
  }
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  max-width: 900px;
  margin: 0 auto 20px;
}

.hero h1 span {
  color: var(--orange);
}

.hero p.lead {
  max-width: 640px;
  margin: 0 auto 40px;
  font-size: 1.15rem;
  color: var(--gray-200);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* ---------- Page header (interior pages) ---------- */
.page-header {
  padding: 120px 0 64px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(43, 171, 224, 0.14), transparent 60%),
    var(--navy-950);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--orange);
  margin-bottom: 12px;
}

.page-header .eyebrow {
  font-size: 0.8rem;
  margin-bottom: 14px;
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 14px;
}

.page-header p {
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.page-header .header-actions {
  margin-top: 26px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Section headings ---------- */
.section-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-heading h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 12px;
}

/* ---------- Poster grid ---------- */
.poster-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

@media (max-width: 900px) {
  .poster-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .poster-grid {
    grid-template-columns: 1fr;
    max-width: 340px;
    margin-inline: auto;
    gap: 20px;
  }
}

.poster-card {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-800);
  box-shadow: var(--shadow-soft);
}

.poster-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.poster-card:hover img {
  transform: scale(1.06);
}

.poster-card .poster-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 34px 16px 16px;
  background: linear-gradient(to top, rgba(10, 15, 28, 0.95), transparent);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--transition), transform var(--transition);
}

.poster-card:hover .poster-caption,
.poster-card:focus-within .poster-caption {
  opacity: 1;
  transform: translateY(0);
}

.poster-caption strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.95rem;
  color: var(--white);
}

/* Posters with a trailer: click-to-play, frame/border untouched */
.poster-card.has-trailer {
  cursor: pointer;
}

.poster-card.has-trailer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 28, 0);
  transition: background var(--transition);
  z-index: 1;
  pointer-events: none;
}

.poster-card.has-trailer:hover::before,
.poster-card.has-trailer:focus-visible::before {
  background: rgba(10, 15, 28, 0.35);
}

.trailer-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 52px;
  height: 52px;
  transform: translate(-50%, -50%);
  opacity: 0.9;
  color: var(--orange);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.55));
  transition: transform var(--transition), opacity var(--transition);
  z-index: 2;
  pointer-events: none;
}

.trailer-play svg {
  width: 100%;
  height: 100%;
}

.trailer-play .play-ring {
  fill: currentColor;
}

.trailer-play .play-triangle {
  fill: var(--navy-950);
}

.poster-card.has-trailer:hover .trailer-play,
.poster-card.has-trailer:focus-visible .trailer-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.12);
}

/* Posters without a trailer: whole card links out to its IMDb page */
.poster-imdb-link {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.imdb-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 5px 8px;
  border-radius: 6px;
  background: rgba(10, 15, 28, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0.85;
  transition: opacity var(--transition), transform var(--transition);
  pointer-events: none;
}

.imdb-badge img {
  width: 26px;
  height: auto;
  display: block;
}

.poster-card:hover .imdb-badge,
.poster-card:focus-within .imdb-badge {
  opacity: 1;
  transform: translateY(-2px);
}

/* ---------- Video grid ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

@media (max-width: 720px) {
  .video-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.video-card {
  margin: 0;
}

.video-caption {
  margin: 16px 4px 0;
  font-size: 1.05rem;
  text-align: center;
}

.video-fallback-link {
  display: block;
  margin-top: 6px;
  font-size: 0.85rem;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--gray-400);
  transition: color var(--transition);
}

.video-fallback-link:hover {
  color: var(--orange);
}

[data-yt-facade] {
  cursor: pointer;
}

.yt-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yt-thumb-error .yt-thumb {
  display: none;
}

.yt-thumb-error {
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
}

.yt-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  color: var(--orange);
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.45));
  transition: transform var(--transition), color var(--transition);
}

.yt-play svg {
  width: 100%;
  height: 100%;
}

.yt-play .play-ring {
  fill: currentColor;
}

.yt-play .play-triangle {
  fill: var(--navy-950);
}

[data-yt-facade]:hover .yt-play,
[data-yt-facade]:focus-visible .yt-play {
  color: var(--orange-light);
  transform: translate(-50%, -50%) scale(1.08);
}

/* ---------- Carousel (shared) ---------- */
[data-carousel] {
  position: relative;
}

.carousel-viewport {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 12%;
  padding: 4px 12% 8px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.carousel-viewport::-webkit-scrollbar {
  display: none;
}

.carousel-slide {
  flex: 0 0 76%;
  scroll-snap-align: center;
}

@media (max-width: 720px) {
  .carousel-viewport {
    scroll-padding-inline: 6%;
    padding: 4px 6% 8px;
    gap: 18px;
  }

  .carousel-slide {
    flex-basis: 88%;
  }
}

.carousel-slide.poster-slide {
  flex-basis: 27%;
}

@media (max-width: 900px) {
  .carousel-slide.poster-slide {
    flex-basis: 40%;
  }
}

@media (max-width: 720px) {
  .carousel-slide.poster-slide {
    flex-basis: 58%;
  }
}

.poster-frame {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy-800);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.poster-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.poster-slide:hover .poster-frame img {
  transform: scale(1.05);
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.carousel-caption {
  margin: 18px 4px 0;
  font-size: 1.05rem;
  text-align: center;
}

.carousel-btn {
  position: absolute;
  top: 44%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 15, 28, 0.75);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  z-index: 5;
}

.carousel-btn svg {
  width: 20px;
  height: 20px;
}

.carousel-btn:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--navy-950);
}

.carousel-btn.prev {
  left: 4px;
}

.carousel-btn.next {
  right: 4px;
}

@media (max-width: 720px) {
  .carousel-btn {
    width: 40px;
    height: 40px;
    top: 38%;
  }
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.carousel-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.carousel-dots button.is-active {
  background: var(--orange);
  transform: scale(1.2);
}

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

.testimonial-card {
  background: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.testimonial-card .quote-mark {
  font-family: Georgia, serif;
  font-size: 2rem;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 4px;
}

.testimonial-card p.quote {
  flex: 1;
  font-size: 0.93rem;
  color: var(--gray-200);
  line-height: 1.55;
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}

.testimonial-person img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--orange);
}

.testimonial-person strong {
  display: block;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.95rem;
}

.testimonial-person span {
  display: block;
  font-size: 0.82rem;
  color: var(--gray-500);
}

/* ---------- Client logos ---------- */
.client-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
  gap: 30px;
}

@media (max-width: 900px) {
  .client-strip {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 40px;
  }
}

@media (max-width: 540px) {
  .client-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

.client-strip img {
  width: 100%;
  height: 88px;
  object-fit: contain;
  background: var(--off-white);
  border-radius: 12px;
  padding: 18px 20px;
  filter: grayscale(1);
  opacity: 0.85;
  transition: filter var(--transition), opacity var(--transition), transform var(--transition);
}

.client-strip img:hover {
  filter: none;
  opacity: 1;
  transform: translateY(-3px);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  border-radius: var(--radius-lg);
  padding: 64px 40px;
  text-align: center;
  margin: 0 24px;
  max-width: calc(var(--max-width) - 48px);
  margin-inline: auto;
}

.cta-band h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 10px;
}

.cta-band p {
  max-width: 520px;
  margin: 0 auto 28px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

@media (max-width: 720px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.footer-brand > .brand-name {
  display: block;
  margin-bottom: 14px;
}

.footer-brand p {
  max-width: 320px;
  font-size: 0.92rem;
}

.footer-affiliate-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: opacity var(--transition);
}

.footer-affiliate-link:hover {
  opacity: 0.8;
}

.footer-affiliate-link img {
  height: 34px;
  width: auto;
  flex-shrink: 0;
}

.footer-affiliate-link span {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--gray-200);
}

@media (max-width: 720px) {
  .footer-affiliate-link {
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .footer-brand p {
    margin-inline: auto;
  }
}

.footer-col h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-400);
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: var(--gray-200);
  font-size: 0.95rem;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--orange);
}

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 22px;
}

@media (max-width: 720px) {
  .footer-social {
    justify-content: center;
  }
}

.footer-social a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.footer-social a:hover {
  background: var(--orange);
  border-color: var(--orange);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 23px;
  height: 23px;
  fill: var(--white);
}

.footer-social img {
  width: 28px;
  height: auto;
  display: block;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--gray-500);
}

.footer-bottom a:hover {
  color: var(--orange);
}

/* ==========================================================================
   About page
   ========================================================================== */

.founder {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 860px) {
  .founder {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.founder-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 16 / 9;
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-copy .eyebrow {
  margin-bottom: 10px;
}

.founder-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.services-intro {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: transform var(--transition), border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 153, 0, 0.4);
}

.service-card .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 153, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.service-card .icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--orange);
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.service-card p {
  font-size: 0.92rem;
  margin: 0;
}

.booking-panel {
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .booking-panel {
    padding: 32px 22px;
  }
}

/* ==========================================================================
   Credits page
   ========================================================================== */

.credits-filter-note {
  text-align: center;
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-top: -32px;
  margin-bottom: 48px;
}

.credits-hint {
  text-align: center;
  color: var(--gray-400);
  font-size: 0.9rem;
  margin: -32px 0 40px;
}

.credits-hint .hint-play {
  display: inline-block;
  width: 16px;
  height: 16px;
  vertical-align: -3px;
  margin: 0 2px;
  color: var(--orange);
}

.credits-hint .hint-play .play-ring {
  fill: currentColor;
}

.credits-hint .hint-play .play-triangle {
  fill: var(--navy-950);
}

/* Trailer lightbox */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.video-modal[hidden] {
  display: none;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 16, 0.88);
}

.video-modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 900px;
}

.video-modal .video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-modal .video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-modal-close {
  position: absolute;
  top: -46px;
  right: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(10, 15, 28, 0.85);
  color: var(--white);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition);
}

.video-modal-close:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--navy-950);
}

@media (max-width: 540px) {
  .video-modal-close {
    top: -40px;
    width: 32px;
    height: 32px;
  }
}

/* ==========================================================================
   Contact page
   ========================================================================== */

.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.contact-form {
  background: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  gap: 20px;
}

@media (max-width: 540px) {
  .contact-form {
    padding: 26px;
  }
}

.form-heading {
  margin: 0;
  font-size: 1.3rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 540px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-200);
}

.field input,
.field select,
.field textarea {
  background: var(--navy-900);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--orange);
  outline: none;
}

.field textarea {
  resize: vertical;
  min-height: 140px;
}

.form-note {
  font-size: 0.82rem;
  color: var(--gray-500);
  margin: 0;
}

.form-success {
  display: none;
  background: rgba(43, 171, 224, 0.12);
  border: 1px solid rgba(43, 171, 224, 0.35);
  color: var(--white);
  border-radius: 8px;
  padding: 16px 18px;
  font-size: 0.92rem;
}

.form-success.is-visible {
  display: block;
}

.form-error {
  display: none;
  background: rgba(255, 90, 90, 0.1);
  border: 1px solid rgba(255, 90, 90, 0.35);
  color: var(--white);
  border-radius: 8px;
  padding: 16px 18px;
  font-size: 0.92rem;
}

.form-error a {
  color: var(--orange);
  text-decoration: underline;
}

.form-error.is-visible {
  display: block;
}

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  background: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.contact-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 0.92rem;
  margin-bottom: 14px;
}

.contact-card p a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition);
}

.contact-card p a:hover {
  color: var(--orange-light);
}

.contact-card .btn {
  width: 100%;
}

.contact-card-meta {
  text-align: center;
  font-size: 0.82rem;
  color: var(--gray-400);
  margin: 10px 0 0;
}

/* ==========================================================================
   Privacy page
   ========================================================================== */

.legal-content {
  max-width: 760px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.3rem;
  margin-top: 2em;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--gray-200);
  font-size: 0.98rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 1em;
}

.legal-content li {
  margin-bottom: 6px;
}

.legal-content a {
  color: var(--blue-accent);
  text-decoration: underline;
}

/* ==========================================================================
   Small phones — headings and buttons were sitting too large/oversized
   ========================================================================== */

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.9rem;
  }

  .hero p.lead {
    font-size: 1rem;
  }

  .page-header h1 {
    font-size: 1.6rem;
  }

  .page-header p {
    font-size: 0.95rem;
  }

  .section-heading h2 {
    font-size: 1.4rem;
  }

  .cta-band h2 {
    font-size: 1.3rem;
  }

  .founder-copy h2 {
    font-size: 1.5rem;
  }

  .form-heading {
    font-size: 1.15rem;
  }

  .btn {
    padding: 12px 22px;
    font-size: 0.88rem;
  }
}

/* ==========================================================================
   Oliver Boon portfolio — page-specific additions
   ========================================================================== */

.video-single {
  max-width: 760px;
  margin: 0 auto;
}

/* ---------- Homepage intro video ---------- */
.video-intro {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 860px) {
  .video-intro {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.video-intro--flip {
  grid-template-columns: 1.15fr 0.85fr;
}

@media (max-width: 860px) {
  .video-intro--flip {
    grid-template-columns: 1fr;
  }
}

.video-intro-copy h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 14px;
}

.video-intro-copy p {
  color: var(--gray-200);
  font-size: 1.02rem;
  max-width: 46ch;
}

.video-intro .video-card {
  margin: 0;
}

.video-intro .video-caption {
  text-align: left;
  margin-left: 4px;
}

.video-role {
  display: block;
  font-size: 0.82rem;
  color: var(--gray-400);
  margin-top: 4px;
}

.carousel-cta {
  text-align: center;
  margin-top: 36px;
}

/* ---------- Skills ---------- */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 860px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }
}

.skills-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 860px) {
  .skills-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .skills-grid--4 {
    grid-template-columns: 1fr;
  }
}

.skill-card {
  background: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  transition: transform var(--transition), border-color var(--transition);
}

.skill-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 153, 0, 0.4);
}

.skill-card h3 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--orange);
  margin-bottom: 10px;
}

.skill-card p {
  font-size: 0.92rem;
  color: var(--gray-200);
  margin: 0;
}

.skill-card--cert img {
  width: 80px;
  height: auto;
  margin-bottom: 14px;
}

/* ---------- Testimonial fallback avatar ---------- */
.testimonial-avatar-fallback {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  background: var(--navy-700);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* ---------- Awards & News ---------- */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

@media (max-width: 720px) {
  .awards-grid {
    grid-template-columns: 1fr;
  }
}

.award-card {
  background: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition);
}

.award-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 153, 0, 0.4);
}

.award-card-media {
  overflow: hidden;
  background: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
}

.award-card-media img {
  width: 100%;
  height: auto;
  display: block;
}

.award-card-body {
  padding: 24px 26px;
}

.award-date {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}

.award-card-body h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.award-card-body p {
  font-size: 0.92rem;
  margin: 0 0 14px;
  color: var(--gray-200);
}

.award-link {
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-head);
  color: var(--orange);
  transition: color var(--transition);
}

.award-link:hover {
  color: var(--orange-light);
}

/* ---------- Resume page ---------- */
.resume-summary {
  max-width: 820px;
  margin: 0 auto;
}

.resume-stats {
  display: flex;
  justify-content: center;
  gap: 20px;
  width: 100%;
  margin-bottom: 56px;
}

.resume-stat {
  text-align: center;
  background: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  width: 200px;
}

.resume-stat-number {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--orange);
}

.resume-stat-label {
  display: block;
  font-size: 0.82rem;
  color: var(--gray-400);
  margin-top: 4px;
}

.resume-block {
  margin-bottom: 48px;
}

.resume-block h2 {
  font-size: 1.3rem;
  margin-bottom: 18px;
}

.resume-block > p {
  font-size: 1rem;
  color: var(--gray-200);
}

.resume-credits-list {
  display: grid;
  gap: 14px;
}

.resume-credit-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
  background: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 16px 20px;
}

.resume-credit-title {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--white);
}

.resume-credit-title .resume-credit-year {
  color: var(--gray-500);
  font-weight: 500;
  font-size: 0.85rem;
  margin-left: 6px;
}

.resume-credit-role {
  font-size: 0.85rem;
  color: var(--gray-400);
}

.resume-credit-note {
  width: 100%;
  font-size: 0.82rem;
  color: var(--orange);
}

.resume-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
  flex-wrap: wrap;
}

@media (max-width: 560px) {
  .resume-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .award-card-body {
    padding: 20px 22px;
  }
}
