/* ==========================================================================
   Siroco Media — site styles
   Shared by every page. Colours and fonts are set once, here at the top.
   ========================================================================== */

:root {
  --black: #000000;
  --white: #ffffff;
  --light: #f4f4f3;        /* off-white section background */
  --grey-text: #6b6b6b;
  --accent: #76dbf2;       /* button blue */
  --field: rgba(20, 20, 24, 0.82); /* contact form fields */

  --font-display: "League Gothic", "Oswald", "Arial Narrow", Impact, sans-serif;
  --font-body: "Raleway", "Helvetica Neue", Arial, sans-serif;

  --slant: 7vw;            /* height of the diagonal section edges */
  --wrap: 1180px;          /* max content width */
  --gutter: max(20px, 4vw);
  --radius: 14px;
  color-scheme: light;
}

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

html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
  letter-spacing: 0;
}
h1 { font-size: clamp(50px, 11vw, 168px); line-height: 1; }
h2 { font-size: clamp(38px, 4.2vw, 58px); }
h3 { font-size: clamp(30px, 3.2vw, 44px); }
h4 { font-size: clamp(20px, 1.6vw, 24px); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

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

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 1000;
  background: var(--white); color: var(--black); padding: 8px 14px;
}
.skip-link:focus { left: 8px; }

/* ---------- layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.center { text-align: center; }

section { position: relative; }
.sec { padding-block: clamp(64px, 9vw, 130px); }
.bg-black { background: var(--black); color: var(--white); }
.bg-white { background: var(--white); color: var(--black); }
.bg-light { background: var(--light); color: var(--black); }

/* Diagonal bottom edge: the next section slides up underneath it. */
.slant {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--slant)), 0 100%);
  padding-bottom: calc(clamp(64px, 9vw, 130px) + var(--slant));
}
.slant + section {
  margin-top: calc(-1 * var(--slant));
  padding-top: calc(clamp(64px, 9vw, 130px) + var(--slant));
}
.slant + section.hero-after { padding-top: calc(48px + var(--slant)); }

/* ---------- header ---------- */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter);
  color: var(--white);
}
.site-header .logo img { height: 46px; width: auto; }
.site-nav { display: flex; gap: clamp(20px, 2.6vw, 44px); }
.site-nav a {
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 0.01em;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: currentColor; }

.menu-toggle {
  display: none;
  background: none; border: 0; color: inherit; cursor: pointer;
  width: 44px; height: 44px; padding: 10px; margin-right: -10px;
}
.menu-toggle span { display: block; height: 1.5px; background: currentColor; margin: 6px 0; transition: transform .25s, opacity .25s; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 400;
  background: var(--black); color: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.mobile-menu a { font-family: var(--font-display); font-size: 44px; text-decoration: none; line-height: 1.1; }
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.menu-open { overflow: hidden; }
.menu-open .site-header { position: fixed; }

@media (max-width: 800px) {
  .site-nav { display: none; }
  .menu-toggle { display: block; }
  .site-header { padding-top: 16px; padding-bottom: 16px; }
  .site-header .logo img { height: 38px; }
}

/* ---------- footer ---------- */
.site-footer { background: var(--black); color: var(--white); position: relative; z-index: 0; }
.site-footer .wrap {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px;
  padding-block: 50px;
  font-size: 12px;
}
.site-footer .ig { justify-self: center; display: inline-flex; }
.site-footer .ig svg { width: 18px; height: 18px; fill: currentColor; }
.site-footer .btc { justify-self: end; }
.site-footer .btc img { height: 34px; width: auto; }
@media (max-width: 640px) {
  .site-footer .wrap { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 22px; }
  .site-footer .btc { justify-self: center; }
}

/* ---------- full-bleed media backgrounds ---------- */
.media-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; background: #111; }
.media-bg > img { width: 100%; height: 100%; object-fit: cover; }
.media-bg .yt-bg {
  position: absolute; top: 50%; left: 50%; border: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0; transition: opacity 1s;
}
.media-bg .yt-bg.is-ready { opacity: 1; }
.media-bg .shade { position: absolute; inset: 0; background: rgba(0,0,0,var(--shade, 0)); }
.has-bg > .wrap, .has-bg > .inner { position: relative; z-index: 1; }

.pause-btn {
  position: relative; z-index: 2;
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border: 0; background: none; color: var(--white);
  cursor: pointer; opacity: .85;
}
.pause-btn svg { width: 16px; height: 16px; fill: currentColor; }
.pause-btn .i-play { display: none; }
.pause-btn.is-paused .i-play { display: block; }
.pause-btn.is-paused .i-pause { display: none; }

/* ---------- home ---------- */
.home-hero { height: 100vh; height: 100svh; min-height: 520px; }
.home-hero .media-bg { background: #000; }

.what-we-do { text-align: center; }
.what-we-do h2 { margin-bottom: clamp(28px, 3vw, 44px); }
.service-tiles {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  max-width: 1180px; margin: 0 auto;
}
.tile {
  position: relative; display: block; aspect-ratio: 1 / 0.97;
  border-radius: var(--radius); overflow: hidden; color: var(--white); text-decoration: none;
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile:hover img { transform: scale(1.04); }
.tile > span {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: clamp(30px, 2.6vw, 40px);
}
.swoosh { position: relative; display: inline-block; padding-bottom: 6px; }
.swoosh::after {
  content: ""; position: absolute; left: -6%; right: -6%; bottom: -4px; height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 10' preserveAspectRatio='none'%3E%3Cpath d='M2 7 C 30 2, 70 1, 118 4' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.swoosh.dark::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 10' preserveAspectRatio='none'%3E%3Cpath d='M2 7 C 30 2, 70 1, 118 4' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
}
@media (max-width: 760px) {
  .service-tiles { grid-template-columns: 1fr; gap: 12px; max-width: 460px; }
}

.partners h2 { text-align: center; margin-bottom: clamp(36px, 4vw, 60px); }
.partner-logos {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: clamp(32px, 4.5vw, 70px) clamp(40px, 8vw, 130px);
  max-width: 1200px; margin: 0 auto;
}
.partner-logos img { height: clamp(54px, 6.5vw, 96px); width: auto; max-width: 230px; object-fit: contain; }

/* ---------- portfolio index ---------- */
.portfolio-hero {
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center; text-align: center; color: var(--white);
}
.portfolio-links { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(10px, 2vw, 30px); }
.portfolio-links a { font-family: var(--font-display); font-size: clamp(56px, 6vw, 84px); text-decoration: none; line-height: 1.15; transition: opacity .2s; }
.portfolio-links a:hover { opacity: .75; }

/* ---------- page heroes (video / photography / web design) ---------- */
.page-hero { min-height: 100vh; min-height: 100svh; color: var(--white); display: flex; align-items: center; }
.page-hero.is-tall { min-height: 130vh; align-items: flex-start; padding-top: clamp(90px, 9vw, 130px); }
.page-hero .inner { width: 100%; text-align: center; padding-inline: var(--gutter); }
.page-hero h1 { margin-bottom: .25em; }
.page-hero .sub { font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 36px); line-height: 1.3; max-width: 1000px; margin: 0 auto; text-wrap: balance; }

.intro { text-align: center; }
.intro h2 { margin-bottom: 26px; }
.intro p { max-width: 640px; margin-inline: auto; font-size: 14px; }

/* ---------- alternating feature rows (video + web design) ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 6vw, 110px); }
.feature > * { min-width: 0; }
.feature .copy h3 { margin-bottom: 22px; }
.feature .copy p { font-size: 13.5px; max-width: 440px; }
.feature .copy .credits { font-style: italic; }
.feature .media { display: flex; justify-content: center; }
.feature.flip .media { order: -1; }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .feature.flip .media { order: 0; }
  .feature .copy p { max-width: none; }
}

/* social embeds */
.embed-ig { width: 100%; max-width: 330px; }
.embed-ig .instagram-media { min-width: 0 !important; width: 100% !important; margin: 0 !important; }
.embed-tt { width: 100%; max-width: 330px; }
.embed-tt iframe { display: block; width: 100%; height: 740px; border: 0; background: #fff; border-radius: 8px; }
.embed-fallback {
  display: block; padding: 18px; border: 1px solid currentColor; border-radius: 8px;
  font-size: 13px; text-align: center; opacity: .8;
}

/* 16:9 video players */
.player {
  position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; overflow: hidden;
}
.player iframe, .player video, .player img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.player .play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: none; border: 0; cursor: pointer; color: var(--white);
}
.player .play svg { width: 74px; height: 74px; filter: drop-shadow(0 2px 8px rgba(0,0,0,.4)); transition: transform .2s; }
.player .play:hover svg { transform: scale(1.08); }
.player.missing { display: flex; align-items: center; justify-content: center; text-align: center; color: #aaa; font-size: 13px; padding: 20px; border: 1px dashed #555; }

/* media that runs to the page edge, like the original */
.bleed-right { margin-right: calc(-1 * var(--gutter)); }
.bleed-left { margin-left: calc(-1 * var(--gutter)); }
@media (min-width: 1400px) {
  .bleed-right { margin-right: calc(-1 * (100vw - var(--wrap)) / 2); }
  .bleed-left { margin-left: calc(-1 * (100vw - var(--wrap)) / 2); }
}
@media (max-width: 860px) { .bleed-right, .bleed-left { margin-inline: calc(-1 * var(--gutter)); } }

.shot { border-radius: 6px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,.18); }
.shot img { width: 100%; height: auto; }
.caption { font-size: 11px; font-style: italic; margin-top: 10px; }

.pager { display: flex; justify-content: space-between; gap: 20px; padding-block: 60px; }
.pager a { display: inline-flex; align-items: center; gap: 14px; font-family: var(--font-display); font-size: clamp(30px, 2.6vw, 38px); text-decoration: none; }
.pager a:only-child.next { margin-left: auto; }
.pager svg { width: 14px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.5; }

/* ---------- photography gallery ---------- */
.wrap.wide { max-width: calc(1440px + 2 * var(--gutter)); }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 2.2vw, 31px); max-width: 1440px; margin: 0 auto; }
.gallery button { padding: 0; border: 0; background: #111; cursor: zoom-in; aspect-ratio: 4 / 3; overflow: hidden; display: block; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s, transform .6s; }
.gallery button:hover img { transform: scale(1.02); }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }

.lightbox {
  position: fixed; inset: 0; z-index: 900; background: rgba(0,0,0,.96);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: calc(100vw - 140px); max-height: calc(100vh - 80px); object-fit: contain; width: auto; height: auto; }
.lightbox button { position: absolute; background: none; border: 0; color: var(--white); cursor: pointer; padding: 16px; }
.lightbox button svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.4; }
.lightbox .lb-close { top: 8px; right: 8px; }
.lightbox .lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lightbox img { max-width: 100vw; } }

/* ---------- about ---------- */
.about { color: var(--white); padding-top: clamp(140px, 14vw, 220px); padding-bottom: clamp(80px, 10vw, 160px); }
.about .lead { text-align: center; max-width: 620px; margin: 0 auto; }
.about .lead h2 { font-size: clamp(46px, 5vw, 66px); margin-bottom: 26px; }
.about .lead p { font-family: var(--font-display); font-size: clamp(19px, 1.5vw, 22px); line-height: 1.5; }
.about .lead .pause-btn { margin-top: 6px; }
.founder { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 110px); align-items: stretch; margin-top: clamp(40px, 4vw, 56px); }
.founder > * { min-width: 0; }
.founder .photo { border-radius: 6px; overflow: hidden; background: #000; }
.founder .photo img { width: 100%; height: 100%; object-fit: cover; }
.founder .card {
  background: rgba(255,255,255,.92); color: var(--black); border-radius: 6px;
  padding: clamp(28px, 3vw, 44px); font-size: 13.5px; display: flex; flex-direction: column; justify-content: center;
}
.founder .card h4 { font-family: var(--font-body); font-weight: 700; font-size: 14px; margin-bottom: 14px; }
@media (max-width: 800px) { .founder { grid-template-columns: 1fr; } .founder .photo { aspect-ratio: 4/3; } }

/* ---------- services ---------- */
.services-hero { color: var(--white); padding-top: clamp(130px, 12vw, 170px); }
.services-hero .cols { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 6vw, 100px); }
.services-hero .cols > * { min-width: 0; }
.services-hero p { font-size: 14.5px; }
.services-hero .media-bg { --shade: .55; }
@media (max-width: 800px) { .services-hero .cols { grid-template-columns: 1fr; } }

.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(30px, 5vw, 70px); max-width: 1000px; margin: 0 auto; text-align: center; }
.offer > * { min-width: 0; }
.offer img { width: 100%; aspect-ratio: 1 / 1.17; object-fit: cover; border-radius: var(--radius); margin-bottom: 22px; }
.offer h4 { margin-bottom: 18px; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.offer p { font-size: 12.5px; line-height: 1.7; }
@media (max-width: 800px) { .offers { grid-template-columns: 1fr; max-width: 380px; } }

.reviews h2 { text-align: center; margin-bottom: clamp(30px, 3vw, 48px); }
.review-stack { display: grid; grid-template-columns: repeat(12, 1fr); row-gap: 10px; max-width: 1000px; margin: 0 auto; }
.review { margin: 0; grid-column: 1 / span 7; border-radius: 6px; padding: clamp(22px, 2.2vw, 32px); font-family: var(--font-display); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; position: relative; overflow: hidden; }
.review:nth-child(even) { grid-column: 6 / span 7; }
.review cite { display: block; margin-top: 16px; font-family: var(--font-body); font-size: 11.5px; font-style: italic; }
.review.dark { background: var(--black); color: var(--white); }
.review.outline { background: var(--white); border: 1.5px solid var(--black); }
.review.grey { background: var(--light); }
.review.photo { color: var(--white); font-size: clamp(30px, 3vw, 44px); line-height: 1.25; min-height: 200px; display: flex; flex-direction: column; justify-content: center; }
.review.photo .media-bg { --shade: .25; }
.review.photo blockquote, .review.photo cite { position: relative; z-index: 1; }
.review blockquote { margin: 0; }
@media (max-width: 800px) { .review, .review:nth-child(even) { grid-column: 1 / -1; } }

.cta { color: var(--white); text-align: center; padding-block: clamp(70px, 8vw, 110px); }
.cta .media-bg { --shade: .35; }
.cta h2 { margin-bottom: 18px; }
.cta p { font-family: var(--font-display); font-size: clamp(18px, 1.5vw, 22px); }
.cta u { text-underline-offset: 3px; }

.btn {
  display: inline-block; background: var(--accent); color: var(--black); text-decoration: none;
  font-family: var(--font-body); font-size: 13px; letter-spacing: .02em;
  padding: 18px 34px; border: 0; border-radius: 0; cursor: pointer; transition: filter .2s, transform .2s;
}
.btn:hover { filter: brightness(1.07); transform: translateY(-1px); }
.cta .btn { margin-top: 16px; }

/* ---------- contact ---------- */
.contact { color: var(--white); min-height: 100vh; padding-top: clamp(150px, 12vw, 190px); padding-bottom: 120px; }
.contact .lines { text-align: center; display: grid; gap: clamp(14px, 2vw, 34px); margin-bottom: clamp(26px, 3vw, 40px); }
.contact .lines h2 { font-size: clamp(36px, 3.6vw, 52px); overflow-wrap: anywhere; }
.contact form { max-width: 690px; margin: 0 auto; display: grid; gap: 20px; font-size: 12.5px; }
.contact fieldset { border: 0; padding: 0; margin: 0; }
.contact legend { padding: 0; margin-bottom: 6px; }
.contact .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.contact label { display: block; margin-bottom: 4px; }
.contact label small, .contact legend small { opacity: .6; font-size: 11px; margin-left: 4px; }
.contact input, .contact textarea {
  width: 100%; background: var(--field); color: var(--white); border: 1px solid rgba(255,255,255,.1);
  font: inherit; font-size: 15px; padding: 7px 10px; border-radius: 0;
}
.contact textarea { min-height: 84px; resize: vertical; }
.contact .submit { text-align: center; margin-top: 6px; }
.contact .btn { padding: 16px 28px; }
.contact .form-note { text-align: center; font-size: 13px; min-height: 1.4em; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 520px) { .contact .row2 { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--white); }
.notfound p { margin-top: 18px; }

/* ---------- gentle fade-in on scroll (only once JS has loaded) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .tile img, .gallery img { transition: none; }
}
.partner-logos .break { flex-basis: 100%; height: 0; }
@media (max-width: 640px) { .partner-logos .break { display: none; } }

/* vertical (9:16) video, sized like the Instagram reels beside it */
.player.vertical { aspect-ratio: 9 / 16; max-width: 330px; border-radius: 8px; }
.player video { object-fit: contain; background: #000; }
