/* Christian Stone — Production Design portfolio
   Static rebuild (no framework, no dependencies)

   Fonts: the live Squarespace site uses two Adobe Fonts (Typekit)
   faces — "bicyclette" for headings/logo and "acumin-pro-condensed"
   for nav/body text. These are the real fonts, served via your own
   Adobe Fonts kit (linked in the <head> of every page:
   https://use.typekit.net/qbb2oqi.css). Fallbacks below only kick in
   if that stylesheet fails to load. */

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: #000;
  color: #fff;
  font-family: "acumin-pro-condensed", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 200;
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

nav.primary-nav, .contact-link {
  font-family: "acumin-pro-condensed", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 300;
}

h1, h2, h3, .logo {
  font-family: "bicyclette", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 300;
}

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

/* ---------- Top nav ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 28px 40px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55), rgba(0,0,0,0));
  pointer-events: none;
}

.site-header a, .site-header nav { pointer-events: auto; }

.logo {
  font-size: 15px;
  letter-spacing: 6px;
  font-weight: 400;
  text-transform: uppercase;
}

nav.primary-nav {
  display: flex;
  gap: 22px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 6px;
}

nav.primary-nav a {
  opacity: 0.75;
  transition: opacity 0.2s ease;
}

nav.primary-nav a:hover,
nav.primary-nav a.active {
  opacity: 1;
}

.contact-link {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 6px;
  opacity: 0.85;
}
.contact-link:hover { opacity: 1; }

/* ---------- Hero (home page) ---------- */

.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(32px, 6vw, 64px);
  letter-spacing: 14px;
  font-weight: 300;
  text-transform: uppercase;
}

.hero h2 {
  margin-top: 14px;
  font-size: clamp(12px, 1.6vw, 16px);
  letter-spacing: 6px;
  font-weight: 300;
  text-transform: uppercase;
  opacity: 0.8;
}

.scroll-cue {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.6;
}

/* ---------- Gallery (narrative / commercial / music-video) ---------- */

.gallery-item {
  position: relative;
  height: 100vh;
  height: 100dvh;
  width: 100%;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid #111;
}

.gallery-item-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.gallery-item-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-embed-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000;
}

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

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.play-button:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: translate(-50%, -50%) scale(1.08);
}

.play-button::after {
  content: '';
  display: block;
  margin-left: 5px;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #fff;
}

.gallery-item.is-playing .play-button {
  display: none;
}

.gallery-item .caption {
  position: relative;
  z-index: 1;
  padding: 48px;
  background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0));
  width: 100%;
}

.gallery-item .caption h3 {
  font-size: clamp(18px, 2.4vw, 26px);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 400;
}

.gallery-item .caption p {
  margin-top: 6px;
  font-size: 13px;
  letter-spacing: 1px;
  opacity: 0.7;
}

/* Simple placeholder styling for images not yet supplied */
.gallery-item img[data-missing],
.hero img[data-missing] {
  background: #151515;
}

/* ---------- Contact page ---------- */

.contact-page {
  position: relative;
  height: 100vh;
  height: 100dvh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.contact-page img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  z-index: 0;
}

.contact-content {
  position: relative;
  z-index: 1;
}

.contact-content h1 {
  font-size: clamp(22px, 3.2vw, 34px);
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 400;
}

.contact-content h3 {
  margin-top: 18px;
  font-size: 15px;
  letter-spacing: 1px;
  font-weight: 300;
  opacity: 0.85;
}

.contact-content a { text-decoration: underline; }

/* ---------- Footer ---------- */

footer {
  text-align: center;
  font-size: 11px;
  letter-spacing: 1px;
  opacity: 0.5;
  padding: 22px 10px;
  background: #000;
}

@media (max-width: 640px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 18px 20px;
  }

  .logo {
    font-size: 13px;
    letter-spacing: 3px;
  }

  nav.primary-nav {
    flex-wrap: wrap;
    gap: 12px 16px;
    font-size: 11px;
    letter-spacing: 1px;
    margin-top: 0;
  }

  .contact-link {
    margin-top: 0;
    font-size: 11px;
  }

  .hero-content {
    padding: 0 24px;
  }

  .hero h1 {
    font-size: 26px;
    letter-spacing: 5px;
  }

  .hero h2 {
    margin-top: 10px;
    font-size: 10px;
    letter-spacing: 3px;
  }

  .scroll-cue {
    bottom: 24px;
  }

  .gallery-item .caption {
    padding: 20px;
  }

  .gallery-item .caption h3 {
    font-size: 16px;
    letter-spacing: 1px;
  }

  .gallery-item .caption p {
    font-size: 12px;
  }

  .play-button {
    width: 52px;
    height: 52px;
  }

  .play-button::after {
    border-width: 8px 0 8px 13px;
    margin-left: 3px;
  }

  .contact-content {
    padding: 0 24px;
  }

  .contact-content h1 {
    font-size: 18px;
    letter-spacing: 2px;
  }

  .contact-content h3 {
    font-size: 13px;
    margin-top: 14px;
  }

  /* Thumbnails were being cropped hard by object-fit: cover when forced
     into a full-screen-tall box on narrow phones (a 16:9 video crammed
     into a ~9:19 box gets zoomed way in, cutting off both edges). Give
     each item a properly-proportioned box instead of full height. */
  .gallery-item {
    height: auto;
    display: block;
  }

  .gallery-item-media {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .gallery-item .caption {
    position: relative;
    background: #0a0a0a;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 22px;
    letter-spacing: 3px;
  }

  nav.primary-nav {
    gap: 10px 14px;
  }
}
