:root {
  --bg: #0c0d10;
  --bg-alt: #15171b;
  --fg: #f2f1ec;
  --muted: #9a9a94;
  --accent: #d5221b;
  --border: #2a2c31;
  --maxw: 1180px;
  /* Bicyclette is licensed via Adobe Fonts. Add your Adobe Fonts kit embed
     (see the comment in the HTML <head>) and it will apply automatically here. */
  --font-heading: "bicyclette", "Helvetica Neue", Arial, sans-serif;
  --font-heading-weight: 300; /* Bicyclette Light. Use 100 for Bicyclette Thin. */
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Helvetica Neue", Arial, sans-serif;
  scroll-behavior: smooth;
}

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

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

/* Header / Nav */
.site-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 40px 32px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
}

.brand {
  display: block;
  position: relative;
}

/* The three knob icons sit in the right ~30% of the logo file (measured in px:
   828-1160 of 1180 wide). This overlay hit zone lets them trigger the hidden
   game without the whole wordmark being clickable. */
.brand-knobs {
  position: absolute;
  top: 0;
  right: 0;
  width: 30%;
  height: 100%;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

.brand-knobs:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  mix-blend-mode: overlay;
  border-radius: 6px;
}

@media (hover: hover) and (pointer: fine) {
  .brand-knobs:hover {
    background: rgba(255, 255, 255, 0.06);
    mix-blend-mode: overlay;
    border-radius: 6px;
  }
}

.brand img {
  height: auto;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.site-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.site-nav a {
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 0.1em;
  font-weight: var(--font-heading-weight);
  color: var(--muted);
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--fg);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 4px;
}

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

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--fg);
}

/* Main content */
main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 20px 32px 80px;
}

.hero {
  padding: 8px 0 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-size: 32px;
  letter-spacing: 0.1em;
  margin: 0 0 20px;
  color: var(--fg);
}

.hero p {
  line-height: 1.7;
  color: var(--muted);
  font-size: 16px;
  margin: 0 0 16px;
}

.hero p a {
  color: var(--accent);
  font-weight: 600;
}

.hero p a:hover { text-decoration: underline; }

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

.video-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: var(--bg-alt);
  border-radius: 4px;
  overflow: hidden;
}

.video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* Source video has black bars baked into the encoded frame (top and
   bottom). Scale the iframe vertically and re-center so the bars land
   outside the visible box and get clipped by the parent's overflow:hidden.
   Verified against live playback at multiple timestamps. */
.video-wrap.video-crop-letterbox iframe {
  height: 156%;
  top: -28%;
}

/* Travelers ("Zaadii's Unfinished Story") — bars measured at 88px top /
   87px bottom of a 720px frame. Scale factor 720/545 = 132.11%. */
.video-wrap.video-crop-letterbox-travelers iframe {
  height: 132.11%;
  top: -16.15%;
}

/* Fight Knight (TV Documentary) — crop letterbox bars. */
.video-wrap.video-crop-letterbox-fight-knight iframe {
  height: 175%;
  top: -37.5%;
}

.video-facade {
  cursor: pointer;
  background-size: cover;
  background-position: center;
}

.video-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 68px; height: 68px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  border: 2px solid var(--fg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.video-play::after {
  content: "";
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent var(--fg);
  margin-left: 4px;
}

@media (hover: hover) and (pointer: fine) {
  .video-facade:hover .video-play {
    background: var(--accent);
    border-color: #fff;
    transform: translate(-50%, -50%) scale(1.08);
  }

  .video-facade:hover .video-play::after {
    border-left-color: #fff;
  }
}

.video-cover {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-alt);
}

.video-cover::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 68px; height: 68px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  border: 2px solid var(--fg);
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.video-cover::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-46%, -50%);
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent var(--fg);
}

@media (hover: hover) and (pointer: fine) {
  .video-cover:hover::before {
    background: var(--accent);
    border-color: #fff;
    transform: translate(-50%, -50%) scale(1.08);
  }

  .video-cover:hover::after {
    border-left-color: #fff;
  }
}

.video-cover.is-playing {
  background-image: none !important;
  background-color: transparent;
}

.video-cover.is-playing::before,
.video-cover.is-playing::after {
  display: none;
}

/* Touch: the real player is already mounted underneath, so this layer is art
   only — pointer-events off lets the first tap through to the player's own
   centred play button. Fades out once playback starts. */
.video-poster {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-alt);
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.video-poster::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 68px; height: 68px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  border: 2px solid var(--fg);
}

.video-poster::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-46%, -50%);
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent var(--fg);
}

.video-poster.is-hidden {
  opacity: 0;
}

.video-block .caption {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* Equipment */
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.equip-col h2 {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin: 24px 0 10px;
}

.equip-col h2:first-child { margin-top: 0; }

.equip-col ul {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
}

.equip-col li {
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}

/* Testimonials */
.testimonials {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

blockquote {
  margin: 0;
  padding: 24px 28px;
  background: var(--bg-alt);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
}

blockquote p {
  margin: 0 0 12px;
  line-height: 1.7;
  color: var(--fg);
  font-size: 16px;
}

blockquote cite {
  color: var(--muted);
  font-style: normal;
  font-size: 14px;
}

.client-logos {
  margin-top: 48px;
  padding: 8px 0 0;
}

.client-logos img {
  width: 100%;
  height: auto;
  opacity: 0.85;
}

/* ---------- About page ---------- */

/* Intro: portrait + lead copy */
.about-intro {
  display: grid;
  grid-template-columns: 285px 1fr;
  gap: 48px;
  align-items: start;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.about-portrait {
  width: 100%;
  border-radius: 8px;
  display: block;
  margin-bottom: 16px;
}

.about-intro-copy {
  max-width: 620px;
}

.about-intro-copy h2 {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-size: 32px;
  letter-spacing: 0.03em;
  margin: 0 0 8px;
  color: var(--fg);
}

.about-role {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 24px;
  white-space: nowrap;
}

.about-lead {
  line-height: 1.7;
  margin: 0 0 18px;
}

.about-intro-copy p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 18px;
}

.about-intro-copy p a {
  color: var(--accent);
  font-weight: 600;
}

.about-intro-copy p a:hover {
  text-decoration: underline;
}

.about-intro-copy .social-links {
  margin: 24px 0 0;
}

/* Content blocks */
.about-block {
  padding: 44px 0;
  border-bottom: 1px solid var(--border);
}

.about-block h3 {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 20px;
}

.about-block h4 {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-size: 17px;
  letter-spacing: 0.03em;
  color: var(--fg);
  margin: 0 0 10px;
}

.about-block p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 16px;
  max-width: 70ch;
}

.about-block p:last-child { margin-bottom: 0; }

.about-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.about-cols p { margin-bottom: 0; }

/* Press feature */
.about-press .press-kicker {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.press-quote {
  margin: 0 0 22px;
  padding: 26px 30px;
  border-left: 3px solid var(--accent);
  border-radius: 0 4px 4px 0;
  max-width: 700px;
}

.press-quote p {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-size: 26px;
  line-height: 1.4;
  color: var(--fg);
  margin: 0 0 12px;
  max-width: 24ch;
}

.press-quote cite {
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.press-body { margin-bottom: 16px; }

.press-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.press-link:hover { text-decoration: underline; }

/* Credits */
.credits-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  max-width: 640px;
}

.credits-list li {
  display: flex;
  gap: 20px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}

.credit-client {
  flex: 0 0 200px;
  color: var(--muted);
}

.credit-project { color: var(--fg); }

.credits-brands {
  font-size: 14px;
  line-height: 1.7;
}

/* Gallery */
.about-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.about-gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 6px;
}

/* CTA */
.about-cta {
  padding: 52px 0 8px;
  text-align: center;
}

.about-cta h3 {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-size: 28px;
  letter-spacing: 0.03em;
  color: var(--fg);
  margin: 0 0 12px;
}

.about-cta p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0 auto 28px;
  max-width: 54ch;
}

.cta-button {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 13px 32px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.cta-button:hover { opacity: 0.9; }

.social-links {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
}

.social-links a {
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
}

.social-links a:hover { text-decoration: underline; }

/* Contact form */
.contact-direct {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 18px;
}

.contact-direct a {
  color: var(--accent);
  font-weight: 600;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 480px;
}

.contact-form label {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-top: 10px;
}

.contact-form input,
.contact-form textarea {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--fg);
  padding: 10px 12px;
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form button {
  margin-top: 16px;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 4px;
  cursor: pointer;
  align-self: flex-start;
}

@media (hover: hover) and (pointer: fine) {
  .contact-form button:hover { opacity: 0.9; }
}

.hidden-field { display: none; }

/* Footer */
.site-footer {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 24px 32px 40px;
  text-align: center;
  border-top: 1px solid var(--border);
}

.back-to-top {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 16px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 14px;
}

.social-icons a {
  color: var(--muted);
  display: inline-flex;
  transition: color 0.2s ease;
}

.social-icons a:hover {
  color: var(--accent);
}

.site-footer p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 860px) {
  .video-grid { grid-template-columns: 1fr; }
  .equipment-grid { grid-template-columns: 1fr; }
  .about-gallery { grid-template-columns: repeat(2, 1fr); }
  .about-intro {
    grid-template-columns: 240px 1fr;
    gap: 32px;
  }
  .about-cols { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 700px) {
  .about-intro {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .about-portrait { max-width: 260px; }
  .about-role { white-space: normal; }
  .about-intro-copy h2 { font-size: 27px; }
  .press-quote p { font-size: 21px; max-width: none; }
  .credits-list li { flex-direction: column; gap: 2px; }
  .credit-client { flex-basis: auto; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; }
  .about-cta h3 { font-size: 23px; }
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    width: 100%;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 16px;
  }
  .site-nav.open { display: block; }
  .site-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
}

.no-embed-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.no-embed-modal {
  position: relative;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  max-width: 420px;
  width: 100%;
  padding: 28px;
  text-align: center;
}

.no-embed-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  border-radius: 6px;
  margin-bottom: 18px;
}

.no-embed-title {
  color: var(--fg);
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 8px;
}

.no-embed-message {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 20px;
}

.no-embed-button {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 12px 28px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.no-embed-button:hover { opacity: 0.9; }

.no-embed-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
}

@media (hover: hover) and (pointer: fine) {
  .no-embed-close:hover { color: var(--fg); }
}
