/* Straight Up Studios — static rebuild of the Squarespace site
   Font: the original used Adobe's Futura PT (Squarespace-licensed).
   Jost is a free, near-identical geometric sans from Google Fonts. */

:root {
  --black: #0f0f0f;
  --footer: #1a1a1a;
  --ink: #363636;
  --heading: #16161d;
  --white: #fff;
  --font: "Jost", "Futura PT", "Futura", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --header-h: 90px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 300;
  font-size: 22px;
  line-height: 1.65;
  letter-spacing: 0.05em;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
strong { font-weight: 700; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: var(--black);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px;
}
.header .logo img { height: 60px; width: auto; }
.nav { display: flex; gap: 32px; }
.nav a {
  color: var(--white);
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.05em; text-transform: lowercase;
}
.nav a.active, .nav a:hover { opacity: 0.7; }

/* ---------- Landing (hero) ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: calc(100vh - var(--header-h));
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--white);
  background: #000;
}
.hero-video {
  position: absolute; inset: 0; pointer-events: none;
}
.hero-video iframe {
  position: absolute; top: 50%; left: 50%;
  width: 177.78vh; height: 100vw;   /* cover for 16:9 */
  min-width: 100%; min-height: 100%;
  transform: translate(-50%, -50%);
  border: 0;
}
.hero-content { position: relative; z-index: 1; padding: 120px 24px 80px; }
.hero h1 {
  margin: 0; font-size: clamp(56px, 12vw, 120px); font-weight: 700;
  line-height: 0.95; letter-spacing: 0.01em;
}
.hero h3 {
  margin: 36px 0 0; font-weight: 300;
  font-size: clamp(14px, 2.6vw, 29px);
  letter-spacing: 0.25em; text-transform: uppercase; line-height: 1.5;
}
.hero h3 + h3 { margin-top: 16px; }

/* ---------- Generic sections ---------- */
.section { padding: 110px 0; }
.wrap { width: min(1200px, 100% - 80px); margin: 0 auto; }
.section h2 {
  margin: 0 0 40px; color: var(--heading);
  font-size: clamp(32px, 5vw, 48px); font-weight: 700; line-height: 1.25; letter-spacing: 0;
}
.section p { margin: 0 0 1.2em; }
.section p:last-child { margin-bottom: 0; }

/* Parallax image bands between sections */
.band {
  height: 70vh; min-height: 420px;
  background-position: center; background-size: cover;
  background-attachment: fixed;
}
@media (hover: none) { .band { background-attachment: scroll; } }

/* Sections with a photo behind them (white text) */
.section--photo { position: relative; color: var(--white); background-position: center; background-size: cover; }
.section--photo::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.55); }
.section--photo > .wrap { position: relative; }
.section--photo h2 { color: var(--white); }

/* Responsive Vimeo embed */
.embed { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.showreel { margin-top: 56px; }

/* ---------- Slideshow gallery (video) ---------- */
.slideshow { user-select: none; }
.slideshow-stage {
  position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden;
}
.slideshow-stage img { width: 100%; height: 100%; object-fit: cover; }
.slideshow-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 1; }
.slideshow-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18px 24px; font-size: 18px; letter-spacing: 0.05em; color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  pointer-events: none;
}
.play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 72px; height: 72px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(0,0,0,0.5); color: #fff; display: grid; place-items: center;
  transition: background .2s;
}
.play:hover { background: rgba(0,0,0,0.75); }
.play svg { width: 28px; height: 28px; margin-left: 4px; }
.slideshow-stage.playing .play,
.slideshow-stage.playing .slideshow-caption,
.slideshow-stage.playing img { display: none; }

.slideshow-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 48px; height: 48px; border: 0; cursor: pointer; border-radius: 50%;
  background: rgba(0,0,0,0.35); color: #fff; display: grid; place-items: center;
}
.slideshow-arrow:hover { background: rgba(0,0,0,0.6); }
.slideshow-arrow.prev { left: 12px; }
.slideshow-arrow.next { right: 12px; }
.slideshow-arrow svg { width: 20px; height: 20px; }

.thumbs {
  display: flex; gap: 6px; margin-top: 6px; overflow-x: auto; scrollbar-width: thin;
  padding-bottom: 4px;
}
.thumb {
  position: relative; flex: 0 0 auto; width: calc((100% - 30px) / 6);
  aspect-ratio: 16 / 9; cursor: pointer; opacity: 0.6; transition: opacity .2s;
  background: #111; border: 0; padding: 0;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover, .thumb.active { opacity: 1; }
.thumb::after {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 26px; height: 26px; border-radius: 50%; background: rgba(0,0,0,0.6)
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M8 5v14l11-7z"/></svg>') center/14px no-repeat;
}

/* ---------- Video tile grid (Branded Content) ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tile { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #000; cursor: pointer; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tile:hover img { transform: scale(1.04); }
.tile .tile-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px;
  font-size: 16px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,0.7));
}
.tile .play { width: 56px; height: 56px; }
.tile.playing img, .tile.playing .play, .tile.playing .tile-caption { display: none; }
.tile iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Client logo grid ---------- */
.logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; margin-top: 64px; }
.logos a { display: block; aspect-ratio: 1 / 1; background: #fff; }
.logos img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }

/* ---------- Team / Contact pages ---------- */
.page { padding: 90px 0 120px; }
.page h1 { margin: 0 0 56px; font-size: clamp(36px, 5vw, 48px); font-weight: 700; color: var(--heading); letter-spacing: 0; }
.bio { max-width: 1000px; margin-bottom: 64px; }
.bio h2 { font-size: clamp(26px, 3.6vw, 36px); margin-bottom: 20px; }
.bio h2 small { display: block; font-size: 0.72em; font-weight: 500; }
.contact { text-align: center; padding: 120px 0 160px; }
.contact h1 { margin-bottom: 24px; }
.contact p { font-size: 28px; margin: 0 0 12px; }
.contact a { border-bottom: 2px solid currentColor; }

/* ---------- Footer ---------- */
.footer {
  background: var(--footer); color: #fff;
  padding: 56px 40px; text-align: center;
}
.footer nav { display: flex; justify-content: center; gap: 36px; }
.footer a { font-size: 12px; font-weight: 500; letter-spacing: 0.25em; text-transform: uppercase; }
.footer small { display: block; margin-top: 28px; font-size: 12px; letter-spacing: 0.1em; opacity: 0.5; }

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  :root { --header-h: 70px; }
  body { font-size: 18px; }
  .header { padding: 0 20px; }
  .header .logo img { height: 40px; }
  .nav { gap: 18px; }
  .nav a { font-size: 12px; }
  .wrap { width: calc(100% - 32px); }
  .section { padding: 72px 0; }
  .band { height: 45vh; min-height: 260px; }
  .thumb { width: calc((100% - 18px) / 4); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .contact p { font-size: 22px; }
}

/* ---------- Contact form + map ---------- */
.contact { text-align: left; padding: 90px 0 120px; }
.contact h1 { margin-bottom: 64px; font-size: clamp(56px, 9vw, 120px); line-height: 1; letter-spacing: 0; }
.contact-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; align-items: start; }
.contact-form fieldset { border: 0; padding: 0; margin: 0 0 28px; }
.contact-form legend, .contact-form .field-title { display: block; font-size: 22px; margin-bottom: 8px; }
.contact-form small { font-size: 14px; opacity: 0.6; margin-left: 4px; }
.contact-form label { display: block; margin-bottom: 28px; }
.contact-form fieldset label { margin-bottom: 0; }
.contact-form fieldset label span { display: block; font-size: 14px; margin-bottom: 6px; }
.contact-form .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input, .contact-form textarea {
  width: 100%; font: inherit; font-size: 18px; color: var(--ink);
  padding: 18px 16px; background: #f5f5f5; border: 1px solid #c8c8c8; border-radius: 0;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--black); outline-offset: -1px; }
.contact-form textarea { resize: vertical; min-height: 150px; }
.hidden-field { display: none; }
.btn {
  display: inline-block; font: inherit; font-weight: 700; font-size: 18px;
  letter-spacing: 0.25em; text-transform: uppercase; color: var(--black);
  background: #fff; border: 2px solid var(--black); padding: 20px 56px; cursor: pointer;
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--black); color: #fff; }
.contact-aside { padding-top: 64px; font-size: 24px; line-height: 1.6; }
.contact-aside a { border-bottom: 1px solid currentColor; }
.contact-aside p { margin: 0 0 56px; font-size: inherit; }
.map { aspect-ratio: 1 / 1; filter: grayscale(1); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.thanks p { font-size: 24px; }
.thanks a { border-bottom: 1px solid currentColor; }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-aside { padding-top: 0; }
  .map { aspect-ratio: 4 / 3; }
}

/* ---------- Full-screen video player ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 1000; background: #000;
  display: none; align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-player { width: 100%; height: 100%; }
.lightbox-player iframe { width: 100%; height: 100%; border: 0; display: block; }
.lightbox-close {
  position: absolute; top: 20px; right: 20px; z-index: 2;
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,0.15); color: #fff; display: grid; place-items: center;
  transition: background .2s;
}
.lightbox-close:hover, .lightbox-close:focus-visible { background: rgba(255,255,255,0.35); outline: none; }
.lightbox-close svg { width: 24px; height: 24px; }
body.no-scroll { overflow: hidden; }
.slideshow-stage img { cursor: pointer; }

/* Show reel as a clickable poster */
.showreel { position: relative; cursor: pointer; background: #000; }
.showreel img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.showreel .play { width: 96px; height: 96px; }
.showreel .play svg { width: 40px; height: 40px; }
.showreel-poster { position: absolute; inset: 0; display: grid; place-items: center; background: #000; }
.showreel-poster img { width: min(46%, 520px); height: auto; object-fit: contain; opacity: 1; }

/* Contact: location headings + addresses above each map */
.map-title { font-size: 28px; font-weight: 700; color: var(--heading); margin: 0 0 14px; letter-spacing: 0; }
.map + .map-title { margin-top: 48px; }
