/* Motionsound: one dark, static page. No animation, no parallax.
   Layout: slim sticky header, then full-width sections on a 1180px column. */
:root {
  --bg: #0C0E12;
  --surface: #14171D;
  --line: #262B34;
  --text: #ECEEF1;
  --muted: #9CA4B0;
  --cyan: #44C8E8;   /* logo reels */
  --red: #F0472C;    /* logo ring */
  --f-display: "Archivo", "Segoe UI", system-ui, sans-serif;
  --f-body: "Archivo", "Segoe UI", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", Consolas, ui-monospace, monospace;
  --col: 1180px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--cyan); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.wrap {
  max-width: var(--col);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.skip { position: absolute; left: -999px; top: 8px; background: var(--cyan); color: var(--bg); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(12, 14, 18, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand img { width: 196px; }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; white-space: nowrap; }
.nav a:hover { color: var(--text); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 4px;
  font: 600 15px/1 var(--f-body); letter-spacing: 0.02em; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--cyan); color: var(--bg); }
.btn-primary:hover { background: #6BD6EF; }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--muted); }
.nav .btn { color: var(--bg); padding: 9px 16px; }

/* Tools dropdown */
.dropdown { position: relative; }
.dropdown summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px;
  color: var(--muted); font-size: 15px; font-weight: 500;
}
.dropdown summary::-webkit-details-marker { display: none; }
.dropdown summary::after {
  content: ""; width: 6px; height: 6px; margin-top: -3px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg);
}
.dropdown summary:hover, .dropdown[open] summary { color: var(--text); }
.dropdown[open] summary::after { margin-top: 3px; transform: rotate(-135deg); }
.dropdown ul {
  position: absolute; right: 0; top: calc(100% + 18px); min-width: 250px;
  list-style: none; margin: 0; padding: 6px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 6px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}
.dropdown ul a { display: block; padding: 10px 12px; border-radius: 4px; color: var(--text); text-decoration: none; font-size: 15px; font-weight: 500; }
.dropdown ul a:hover { background: var(--line); }
.dropdown small { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; font-weight: 400; }

/* three-line menu button, shown on narrow screens only */
.menu-btn {
  display: none; place-items: center; margin-left: auto;
  width: 44px; height: 44px; padding: 0; cursor: pointer;
  background: none; border: 1px solid var(--line); border-radius: 4px; color: var(--text);
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 18px; height: 2px; background: currentColor; position: relative;
}
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- type ---------- */
.eyebrow {
  margin: 0 0 14px;
  font: 500 13px/1.3 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--red);
}
h1, h2, h3 { font-family: var(--f-display); font-stretch: 112%; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(36px, 6vw, 68px); line-height: 1.04; font-weight: 700; letter-spacing: -0.015em; }
h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.1; font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 20px; line-height: 1.25; font-weight: 650; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 40em; margin: 20px 0 0; }
p { margin: 0; }

/* ---------- sections ---------- */
section { padding-block: clamp(64px, 9vw, 112px); border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 0; max-width: 46em; margin-bottom: 48px; }

.hero { border-top: 0; padding-block: clamp(56px, 8vw, 104px) 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
/* hero carousel: full width, swipe or use the arrows and dots; no auto-advance */
.hero-carousel { position: relative; margin-top: clamp(40px, 6vw, 72px); }
.hero-slides {
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%;
  margin: 0; padding: 0; list-style: none;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
}
.hero-slides::-webkit-scrollbar { display: none; }
.hero-slides li { position: relative; scroll-snap-align: start; background: #000; }
.hero-slides li::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(transparent, rgba(8, 9, 12, 0.85)); pointer-events: none; }
.hero-slides img { width: 100%; height: clamp(340px, 46vw, 78vh); object-fit: cover; object-position: var(--pos, 50% 50%); }
.hero-cap {
  position: absolute; z-index: 1; bottom: 26px;
  left: max(var(--gutter), (100% - var(--col)) / 2 + var(--gutter)); right: 170px;
  font-size: 15px; color: rgba(236, 238, 241, 0.8);
}
.hero-cap strong { display: block; font: 700 clamp(20px, 2vw, 26px)/1.2 var(--f-display); font-stretch: 112%; color: #fff; }
.hero-cap small { display: block; margin-top: 4px; font: 500 11px var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: rgba(236, 238, 241, 0.55); }
.hero-carousel .arrow { position: absolute; top: 50%; margin-top: -23px; background: rgba(12, 14, 18, 0.6); border-color: rgba(236, 238, 241, 0.25); }
.hero-carousel .arrow[hidden] { display: none; }
.hero-carousel .prev { left: 20px; }
.hero-carousel .next { right: 20px; }
.hero-dots { position: absolute; z-index: 1; bottom: 32px; right: max(20px, (100% - var(--col)) / 2 + 20px); display: flex; gap: 6px; }
.hero-dots[hidden] { display: none; }
.hero-dots button { width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.hero-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgba(236, 238, 241, 0.4); }
.hero-dots button[aria-current="true"]::before { background: var(--cyan); }

/* items in a grid: text blocks separated by a hairline, no cards */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 56px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.item { border-top: 1px solid var(--line); padding-top: 20px; }
.item h3 { margin-bottom: 10px; }
.item p { color: var(--muted); font-size: 16px; }

/* Notch reel button in Services; the video opens in .video-box */
.item .btn-play { margin-top: 20px; }
.btn-play::before { content: ""; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent var(--red); margin-right: 2px; }

/* tools */
.tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.tools h3 { font-size: 15px; font-family: var(--f-mono); font-stretch: 100%; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.tools ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tools li { border: 1px solid var(--line); border-radius: 3px; padding: 5px 10px; font-size: 15px; }

/* photos: a scroll-snap slider, three across on desktop; arrows and the viewer need the page script */
.slider-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.slider-top .section-head { margin-bottom: 0; }
.slider-nav { display: flex; align-items: center; gap: 10px; flex: none; }
.slider-nav[hidden] { display: none; }
.slider-count { font: 500 13px var(--f-mono); letter-spacing: 0.08em; color: var(--muted); margin-right: 8px; white-space: nowrap; }
.arrow {
  width: 46px; height: 46px; display: grid; place-items: center; padding: 0;
  border: 1px solid var(--line); border-radius: 50%; background: var(--bg); color: var(--text); cursor: pointer;
}
.arrow::before { content: ""; width: 10px; height: 10px; border: solid currentColor; border-width: 2px 2px 0 0; transform: translateX(-2px) rotate(45deg); }
.arrow.prev::before { transform: translateX(2px) rotate(-135deg); }
.arrow:hover:not(:disabled) { border-color: var(--cyan); color: var(--cyan); }
.arrow:disabled { opacity: 0.3; cursor: default; }

.slides {
  --per: 3; --gap: 20px; position: relative;
  display: grid; grid-auto-flow: column; gap: var(--gap);
  grid-auto-columns: calc((100% - (var(--per) - 1) * var(--gap)) / var(--per));
  margin: 0; padding: 0 0 4px; list-style: none;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.slides::-webkit-scrollbar { display: none; }
.slides li { scroll-snap-align: start; min-width: 0; }
.slides a { display: block; border-radius: 4px; overflow: hidden; background: var(--surface); }
.slides img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.slides a:hover img { opacity: 0.85; }
.slide-cap { margin-top: 14px; font-size: 15px; line-height: 1.45; color: var(--muted); }
.slide-cap strong { display: block; color: var(--text); font-weight: 600; font-size: 17px; }

.lightbox {
  width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 64px 84px 24px;
  border: 0; background: rgba(8, 9, 12, 0.97); color: var(--text);
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(8, 9, 12, 0.97); }
.lightbox figure { margin: 0; display: grid; gap: 14px; justify-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); width: auto; border-radius: 4px; }
.lightbox figcaption { color: var(--muted); font-size: 15px; text-align: center; }
.lightbox figcaption strong { color: var(--text); font-weight: 600; margin-right: 8px; }
.lightbox .arrow { position: absolute; top: 50%; margin-top: -23px; }
.lightbox .prev { left: 20px; }
.lightbox .next { right: 20px; }
.lightbox-close {
  position: absolute; top: 14px; right: 16px; width: 46px; height: 46px; padding: 0;
  border: 0; background: none; color: var(--text); font-size: 34px; line-height: 1; cursor: pointer;
}
.lightbox-close:hover { color: var(--cyan); }
.video-frame { width: min(100%, 1280px, (100vh - 120px) * 16 / 9); aspect-ratio: 16 / 9; background: #000; }
.video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }

/* collaborations: name on the left, what we did (and an optional link) on the right */
.collab-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.collab-list li {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 8px 40px;
  align-items: baseline; padding: 22px 0; border-top: 1px solid var(--line);
}
.collab-list h3 { font-size: clamp(20px, 2.2vw, 26px); }
.collab-list h3 a { color: var(--text); text-decoration: none; }
.collab-list h3 a::after { content: "\2197"; margin-left: 0.4em; font-size: 0.7em; color: var(--cyan); }
.collab-list h3 a:hover { color: var(--cyan); }
.collab-list p, .collab-list .closer { grid-column: 2; }
.collab-list p { color: var(--muted); }
.closer {
  justify-self: start; display: inline-flex; align-items: center; gap: 10px;
  color: var(--cyan); font-size: 15px; font-weight: 600; text-decoration: none;
}
.closer:hover { text-decoration: underline; }
.closer.soon { color: #D7DFE9; font-weight: 500; }
.closer.soon:hover { text-decoration: none; }
.closer span {
  padding: 2px 6px; border: 1px solid var(--line); border-radius: 3px;
  font: 500 11.5px/1.4 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}
.collab-more { margin-top: 28px; max-width: 60em; color: var(--muted); }

/* about */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.about h2 + p { margin-top: 20px; }
.about p + p { margin-top: 16px; }
.about .copy p { color: var(--muted); }
.about img { border-radius: 6px; aspect-ratio: 1170 / 540; object-fit: cover; }
.cta-band { margin-top: 64px; padding: 36px; background: var(--surface); border-radius: 6px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta-band p { font: 650 22px/1.3 var(--f-display); font-stretch: 112%; max-width: 32em; }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 56px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; color: var(--muted); }
.field label b { color: var(--red); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 4px;
  background: var(--surface); border: 1px solid var(--line); color: var(--text);
  font: 400 16px/1.4 var(--f-body);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.status { font-size: 15px; }
.status.ok { color: var(--cyan); }
.status.err { color: var(--red); }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 48px 40px; color: var(--muted); font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-start; justify-content: space-between; }
.site-footer img { width: 168px; margin-bottom: 14px; }
.site-footer p { max-width: 36em; }
.site-footer .copyright { margin-top: 8px; }
.footer-head { color: var(--text); margin-bottom: 8px; }
.footer-tools ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }

/* ---------- narrow screens ---------- */
@media (max-width: 980px) {
  .tools { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .about, .contact { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .slides { --per: 2; }
}
@media (max-width: 1000px) {
  .menu-btn { display: grid; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 4px max(20px, env(safe-area-inset-right, 0px)) 20px var(--gutter);
    background: var(--bg); border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav > a:not(.btn), .dropdown summary { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; color: var(--text); }
  .dropdown summary { justify-content: space-between; }
  .dropdown ul { position: static; min-width: 0; padding: 6px 0 10px; background: none; border: 0; box-shadow: none; }
  .dropdown ul a { padding: 10px 0 10px 14px; }
  .nav .btn { margin-top: 18px; justify-content: center; padding: 14px 16px; }
}
@media (max-width: 760px) {
  .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .collab-list li { grid-template-columns: minmax(0, 1fr); }
  .collab-list p, .collab-list .closer { grid-column: auto; }
  .slides { --per: 1.15; --gap: 14px; }
  .hero-carousel .arrow { display: none; }
  .hero-slides img { height: 420px; }
  .hero-cap { right: 20px; bottom: 54px; }
  .hero-dots { right: auto; left: var(--gutter); bottom: 14px; margin-left: -10px; }
  .slider-count { display: none; }
  .lightbox { padding: 56px 12px 84px; }
  .lightbox .arrow { top: auto; bottom: 18px; margin-top: 0; }
  .lightbox .prev { left: calc(50% - 56px); }
  .lightbox .next { right: calc(50% - 56px); }
  .form { grid-template-columns: minmax(0, 1fr); }
  .cta-band { padding: 24px; }
  .brand img { width: 160px; }
}
