/* Layout: full-bleed video bands on black; work shown as vertical "reel" strips with broadcast-style metadata; one cream band for the practical part (what I solve / how I work). */
:root {
  --ink: #151515;
  --ink-2: #1e1d1b;
  --ink-3: #2a2826;
  --cream: #F3F0EA;
  --cream-2: #e6e1d7;
  --orange: #E0662F;
  --muted: #a39d93;
  --muted-dark: #5a554e;
  --line: rgba(243, 240, 234, .14);
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --wrap: 1240px;
  --gut: max(16px, env(safe-area-inset-left, 0px));
  --gut-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--ink);
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.wrap {
  max-width: calc(var(--wrap) + 64px);
  margin: 0 auto;
  padding-left: max(32px, env(safe-area-inset-left, 0px));
  padding-right: max(32px, env(safe-area-inset-right, 0px));
}
@media (max-width: 640px) {
  .wrap { padding-left: var(--gut); padding-right: var(--gut-r); }
}

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-weight: 800; font-stretch: 112%; font-size: clamp(2.5rem, 7.2vw, 6.2rem); line-height: .92; text-transform: uppercase; }
h2 { font-weight: 800; font-stretch: 112%; font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: .95; text-transform: uppercase; }
h3 { font-weight: 700; font-size: 1.35rem; line-height: 1.15; }
.dot { color: var(--orange); }
.label {
  font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin: 0;
}
.label b { color: var(--orange); font-weight: 500; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 36em; color: var(--cream-2); margin: 0; }
p { margin: 0; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(21, 21, 21, .86);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: block; flex: 0 0 auto; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a {
  text-decoration: none; font-size: .9rem; font-weight: 600; color: var(--cream-2);
  letter-spacing: .02em;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--orange); }
.langs { display: flex; gap: 2px; font-family: var(--mono); font-size: .78rem; }
.langs a {
  text-decoration: none; padding: 4px 7px; border-radius: 3px; color: var(--muted);
}
.langs a[aria-current="true"] { color: var(--ink); background: var(--cream); }
.langs a:hover { color: var(--cream); }
.cta-head {
  text-decoration: none; background: var(--orange); color: var(--ink); font-weight: 700;
  font-size: .85rem; padding: 9px 14px; border-radius: 3px; white-space: nowrap;
}
.menu-btn { display: none; }
@media (max-width: 900px) {
  .nav { display: none; }
  .langs { margin-left: auto; }
  .cta-head { padding: 8px 11px; }
}
@media (max-width: 420px) {
  .brand img { height: 24px; }
  .cta-head { display: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: #000; }
.hero video { width: 100%; height: min(78vh, 760px); min-height: 520px; object-fit: cover; opacity: .78; }
.hero .over {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(180deg, rgba(21,21,21,0) 30%, rgba(21,21,21,.86) 100%);
}
.hero .over .wrap { width: 100%; padding-bottom: clamp(28px, 6vh, 64px); display: grid; gap: 22px; }
.hero .meta { display: flex; gap: 18px; flex-wrap: wrap; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700;
  font-size: .98rem; padding: 14px 20px; border-radius: 3px; border: 1px solid var(--cream);
  color: var(--cream); background: transparent; cursor: pointer; font-family: var(--body);
}
.btn.solid { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.btn:hover { transform: translateY(-1px); }
.btn .arr { font-family: var(--mono); }
@media (max-width: 640px) {
  .hero video { height: 82vh; min-height: 560px; }
  .btn { width: 100%; justify-content: space-between; }
}
.rec {
  display: inline-flex; align-items: center; gap: 8px;
}
.rec::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange);
  animation: blink 1.6s steps(2) infinite;
}
@keyframes blink { 50% { opacity: .15; } }

/* ---------- sections ---------- */
section { padding-block: clamp(64px, 10vw, 120px); }
.sec-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head.split { grid-template-columns: 1fr 1fr; align-items: end; gap: 32px; }
@media (max-width: 800px) { .sec-head.split { grid-template-columns: 1fr; } }

/* ---------- case studies ---------- */
.case { display: grid; gap: 28px; padding-block: 40px; border-top: 1px solid var(--line); }
.case:first-of-type { border-top: 0; padding-top: 0; }
.case-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 40px; align-items: start; }
@media (max-width: 860px) { .case-top { grid-template-columns: 1fr; gap: 20px; } }
.case-title { display: grid; gap: 10px; }
.case-title h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; font-stretch: 108%; text-transform: uppercase; line-height: 1; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); }
.facts > div { padding: 16px 18px; border-left: 1px solid var(--line); display: grid; gap: 8px; align-content: start; min-width: 0; }
.facts > div:first-child { border-left: 0; }
.facts p:not(.label) { font-size: .95rem; color: var(--cream-2); }
@media (max-width: 640px) {
  .facts { grid-template-columns: 1fr; }
  .facts > div { border-left: 0; border-top: 1px solid var(--line); }
  .facts > div:first-child { border-top: 0; }
}

/* reel strip: horizontal scroll of 9:16 clips */
.strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px;
  scrollbar-width: thin; scrollbar-color: var(--ink-3) transparent;
}
.strip.fit { grid-auto-columns: minmax(200px, 280px); }
@media (max-width: 640px) { .strip, .strip.fit { grid-auto-columns: 68%; } }
.reel {
  position: relative; aspect-ratio: 9 / 16; max-width: 100%; background: var(--ink-2); border: 0; padding: 0;
  cursor: pointer; scroll-snap-align: start; overflow: hidden; border-radius: 2px; color: var(--cream);
  text-align: left; font: inherit;
}
.reel.wide { aspect-ratio: 16 / 9; }
.reel video, .reel img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.reel:hover video, .reel:hover img { transform: scale(1.03); }
.reel .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 12px 12px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.78));
  display: flex; justify-content: space-between; align-items: end; gap: 8px;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
}
.reel .play {
  width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: var(--ink);
  display: grid; place-items: center; flex: 0 0 auto; font-size: .8rem;
}
.reel .tc { position: absolute; top: 10px; left: 12px; font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; color: var(--cream); opacity: .85; }

/* product row: two reels + two vertical stills */
.quad { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.quad figure { margin: 0; aspect-ratio: 9 / 16; overflow: hidden; background: var(--ink-2); max-width: 100%; }
.quad figure img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
@media (max-width: 760px) { .quad { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* photo grid */
.photos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.photos figure { margin: 0; overflow: hidden; background: var(--ink-2); }
.photos img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; cursor: zoom-in; }
.photos .p-v img { aspect-ratio: 2 / 3; }
.photos .c2 { grid-column: span 2; }
.photos .c3 { grid-column: span 3; }
.photos .c4 { grid-column: span 4; }
@media (max-width: 760px) {
  .photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photos .c2, .photos .c3 { grid-column: span 1; }
  .photos .c4 { grid-column: span 2; }
}

/* more sports row */
.more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 760px) { .more { grid-template-columns: 1fr; } }
.more .tile { display: grid; gap: 14px; align-content: start; }
.mini { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mini img, .mini .reel { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; cursor: zoom-in; }

/* ---------- cream band ---------- */
.band { background: var(--cream); color: var(--ink); }
.band .label { color: var(--muted-dark); }
.band .lead { color: #3b3833; }
.solve { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.solve > div { padding: 22px 20px 26px 0; display: grid; gap: 10px; align-content: start; min-width: 0; }
.solve > div + div { padding-left: 20px; border-left: 1px solid rgba(21,21,21,.18); }
.solve h3 { font-size: 1.1rem; }
.solve p { font-size: .95rem; color: #3b3833; }
@media (max-width: 1000px) {
  .solve { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .solve > div, .solve > div + div { padding: 20px 16px 20px 0; border-left: 0; border-bottom: 1px solid rgba(21,21,21,.18); }
}
@media (max-width: 560px) { .solve { grid-template-columns: 1fr; } }

.steps { list-style: none; padding: 0; margin: clamp(48px, 7vw, 80px) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: s; }
.steps li { counter-increment: s; padding: 22px 22px 26px 0; border-top: 1px solid rgba(21,21,21,.3); display: grid; gap: 8px; min-width: 0; }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--mono); font-size: .8rem; color: var(--orange); font-weight: 500; }
.steps b { font-size: 1.05rem; }
.steps span { font-size: .95rem; color: #3b3833; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- clients ---------- */
.clients { display: flex; flex-wrap: wrap; gap: 10px 40px; align-items: baseline; }
.clients span { font-family: var(--display); font-weight: 800; font-stretch: 112%; text-transform: uppercase; font-size: clamp(1.2rem, 2.6vw, 2rem); color: var(--cream); line-height: 1.1; }
.clients small { display: block; font-family: var(--mono); font-weight: 400; font-size: .68rem; letter-spacing: .12em; color: var(--muted); margin-top: 4px; font-stretch: 100%; }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.about img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: saturate(.9); }
.about .txt { display: grid; gap: 18px; }
.about .txt p:not(.label) { color: var(--cream-2); max-width: 34em; }
.credit { font-family: var(--mono); font-size: .68rem; color: var(--muted); letter-spacing: .08em; margin-top: 8px; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } .about img { max-width: 420px; } }

/* ---------- contact ---------- */
.contact { background: var(--orange); color: var(--ink); }
.contact .label { color: rgba(21,21,21,.7); }
.contact h2 { font-size: clamp(2.4rem, 7vw, 5.6rem); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-top: 32px; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.ways { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.way { display: flex; align-items: center; gap: 12px 16px; padding: 16px 0; border-bottom: 1px solid rgba(21,21,21,.25); flex-wrap: wrap; }
.way .label { flex: 0 0 7em; }
.way > a, .way > .val { flex: 1 1 auto; min-width: 0; }
.way a, .way .val { font-weight: 700; font-size: clamp(1rem, 2vw, 1.25rem); text-decoration: none; overflow-wrap: anywhere; }
.way a:hover { text-decoration: underline; }
.copy { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; background: var(--ink); color: var(--cream); border: 0; border-radius: 3px; padding: 6px 10px; cursor: pointer; }
.ask { display: grid; gap: 10px; }
.ask ul { margin: 0; padding-left: 1.1em; }
.ask li { margin: 4px 0; }

/* ---------- footer ---------- */
.foot { padding-block: 40px; border-top: 1px solid var(--line); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: center; }
.foot img { height: 44px; width: auto; }
.foot p { font-family: var(--mono); font-size: .7rem; color: var(--muted); letter-spacing: .08em; max-width: 44em; }

/* ---------- segment pages ---------- */
.seg-hero { padding-block: clamp(40px, 7vw, 88px); }
.seg-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.seg-grid .txt { display: grid; gap: 22px; }
.seg-grid .reel { max-width: 380px; width: 100%; justify-self: end; }
@media (max-width: 800px) { .seg-grid { grid-template-columns: 1fr; } .seg-grid .reel { justify-self: start; max-width: 300px; } }
.deliver { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.deliver > div { padding: 22px 22px 26px 0; display: grid; gap: 8px; align-content: start; border-bottom: 1px solid var(--line); min-width: 0; }
.deliver p:not(.label) { color: var(--cream-2); font-size: .97rem; }
@media (max-width: 860px) { .deliver { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .deliver { grid-template-columns: 1fr; } }
.phase { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.phase > div { background: var(--ink-2); padding: 24px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.phase ul { margin: 0; padding-left: 1.1em; color: var(--cream-2); font-size: .97rem; }
.phase li { margin: 5px 0; }
@media (max-width: 860px) { .phase { grid-template-columns: 1fr; } }
.events { display: flex; flex-wrap: wrap; gap: 8px; }
.events span { font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--line); padding: 7px 10px; border-radius: 2px; }

/* ---------- modal player / lightbox ---------- */
.modal {
  position: fixed; inset: 0; z-index: 100; background: rgba(10,10,10,.94);
  display: grid; place-items: center;
  padding: max(56px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(24px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
}
.modal video, .modal img { max-height: 86vh; max-width: 100%; width: auto; }
.modal .x {
  position: absolute; top: max(14px, env(safe-area-inset-top, 0px)); right: max(16px, env(safe-area-inset-right, 0px));
  background: var(--cream); color: var(--ink); border: 0; border-radius: 3px; font-family: var(--mono);
  font-size: .78rem; letter-spacing: .1em; padding: 9px 12px; cursor: pointer; text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
