/* Echo Division — echodivision.studio */

:root {
  --bg: #101211;
  --bg-alt: #171a17;
  --line: #2c302b;
  --text: #ebe8de;
  --muted: #a3a498;
  --khaki: #c4b37f;
  --red: #cf3a2c;
  --red-hover: #e04535;

  --paper: #e4dece;
  --ink: #1b1d1a;
  --ink-muted: #55574d;
  --paper-line: #c8c0ab;
  --olive: #565b3b;

  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", "Segoe UI", system-ui, sans-serif;

  --wrap: 1240px;
  --pad: clamp(16px, 4vw, 40px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--khaki); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

.skip { position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--text); color: var(--bg); padding: 8px 12px; }
.skip:focus { top: 12px; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; line-height: 1; margin: 0; letter-spacing: 0.01em; }
h2 { font-size: clamp(2.4rem, 4.6vw, 3.9rem); }
h3 { font-size: 1.6rem; }

.eyebrow {
  margin: 0 0 14px;
  font-family: var(--display); font-weight: 600; font-size: 15px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--khaki);
}

/* ---------- Icons ---------- */
.icon { width: 1.15em; height: 1.15em; fill: currentColor; flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 26px;
  font-family: var(--display); font-weight: 600; font-size: 18px;
  letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
  border: 0; transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn-primary {
  background: var(--red); color: #fff;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.btn-primary:hover { background: var(--red-hover); }
.btn-outline { border: 1px solid rgba(235, 232, 222, 0.45); color: var(--text); }
.btn-outline:hover { border-color: var(--text); background: rgba(235, 232, 222, 0.06); }
.btn-small { height: 40px; padding: 0 18px; font-size: 16px; }

.text-link {
  display: inline-block; margin-top: 8px;
  font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; border-bottom: 2px solid var(--red); padding-bottom: 2px;
}
.text-link:hover { color: var(--khaki); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  background: linear-gradient(180deg, rgba(10, 11, 10, 0.75), rgba(10, 11, 10, 0));
  transition: background-color 0.25s;
}
.header.is-solid { background: rgba(16, 18, 17, 0.97); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 32px; }

.wordmark {
  font-family: var(--display); font-weight: 700; font-size: 24px;
  letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
}
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; transition: color 0.2s; }
.nav a:hover, .nav a.is-current { color: var(--text); }
.menu-toggle {
  display: none; margin-left: auto;
  height: 40px; padding: 0 16px; background: none; border: 1px solid rgba(235, 232, 222, 0.4);
  font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: 0.08em; text-transform: uppercase;
}
.nav-mobile { display: grid; padding: 8px var(--pad) 24px; background: var(--bg); }
.nav-mobile[hidden] { display: none; }
.nav-mobile a:not(.btn) {
  padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none;
  font-family: var(--display); font-weight: 600; font-size: 24px; text-transform: uppercase; letter-spacing: 0.03em;
}
.nav-mobile .btn { margin-top: 20px; }

/* ---------- Hero ---------- */
.hero {
  --hero-h: min(100svh, 940px);
  --soldier-h: calc(var(--hero-h) * 0.9);
  --soldier-w: min(calc(var(--soldier-h) * 0.432), 30vw);
  --px: 0; --py: 0; --scroll: 0px;
  position: relative; isolation: isolate;
  min-height: var(--hero-h);
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -3; overflow: hidden; background: #0c0d0c; }
.hero-bg-img {
  position: absolute; inset: -4% -3%; width: 106%; height: 108%; object-fit: cover; object-position: 60% 45%;
  transform: translate3d(calc(var(--px) * -14px), calc(var(--py) * -8px + var(--scroll) * 0.12), 0) scale(1.02);
  animation: bg-in 2.4s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes bg-in { from { opacity: 0; filter: brightness(0.4); } }

.fog { position: absolute; left: -20%; width: 140%; pointer-events: none; opacity: 0.5; filter: blur(30px); }
.fog-a { bottom: 12%; height: 34%; background: radial-gradient(ellipse at 30% 50%, rgba(170, 180, 175, 0.3), transparent 60%), radial-gradient(ellipse at 75% 60%, rgba(160, 170, 165, 0.24), transparent 55%); animation: drift 38s ease-in-out infinite alternate; }
.fog-b { bottom: 0; height: 26%; background: radial-gradient(ellipse at 55% 70%, rgba(150, 160, 155, 0.28), transparent 60%); animation: drift 52s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translateX(-4%); } to { transform: translateX(5%); } }

.hero-shade {
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 11, 10, 0.7) 0%, rgba(10, 11, 10, 0) 24%),
    linear-gradient(0deg, rgba(16, 18, 17, 1) 0%, rgba(16, 18, 17, 0.85) 14%, rgba(16, 18, 17, 0) 42%),
    radial-gradient(ellipse at 50% 45%, transparent 45%, rgba(8, 9, 8, 0.55) 100%);
}

/* The title is split so the soldier can stand between the two words. */
.hero-title {
  position: absolute; z-index: 1; left: 0; right: 0; top: calc(var(--header-h) + var(--hero-h) * 0.07); margin: 0;
  display: grid; grid-template-columns: 1fr var(--soldier-w) 1fr; align-items: start;
  padding: 0 var(--pad);
  font-size: min(13.2vw, calc((100vw - var(--soldier-w)) / 5.3), calc(var(--hero-h) * 0.2));
  line-height: 0.82; letter-spacing: 0;
  transform: translate3d(calc(var(--px) * 6px), calc(var(--scroll) * 0.2), 0);
}
.word { display: block; text-shadow: 0 6px 40px rgba(0, 0, 0, 0.55); animation: word-in 1.3s cubic-bezier(0.2, 0.7, 0.2, 1) 0.35s both; }
.word-l { grid-column: 1; justify-self: end; margin-right: calc(var(--soldier-w) * -0.12); }
.word-r { grid-column: 3; justify-self: start; margin-left: calc(var(--soldier-w) * -0.12); color: var(--red); animation-delay: 0.5s; }
@keyframes word-in { from { opacity: 0; transform: translateY(40px); } }

.hero::after {
  content: ""; position: absolute; z-index: 1; left: 50%; bottom: 8%; width: calc(var(--soldier-w) * 2.6); height: calc(var(--soldier-h) * 0.95);
  transform: translateX(-38%); pointer-events: none;
  background: radial-gradient(ellipse at 50% 55%, rgba(214, 100, 44, 0.18), rgba(214, 100, 44, 0) 62%);
}
.hero-soldier {
  position: absolute; z-index: 2; left: 50%; bottom: 0; height: var(--soldier-h); aspect-ratio: 778 / 1800;
  margin-left: calc(var(--soldier-h) * 0.432 / -2);
  transform: translate3d(calc(var(--px) * 12px), calc(var(--py) * 6px + var(--scroll) * 0.05), 0);
  -webkit-mask-image: linear-gradient(180deg, #000 74%, transparent 99%);
          mask-image: linear-gradient(180deg, #000 74%, transparent 99%);
}
.hero-soldier img {
  width: 100%; height: 100%; object-fit: contain;
  filter: brightness(0.94) contrast(1.06);
  animation: soldier-in 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s both;
}
@keyframes soldier-in { from { opacity: 0; transform: translateY(36px) scale(0.98); } }

.hero-inner { position: relative; z-index: 5; width: 100%; padding-bottom: clamp(36px, 5vw, 64px); }
.hero-copy .btn { padding: 0 20px; font-size: 17px; }
.hero-copy { max-width: min(470px, calc((100% - var(--soldier-w)) / 2)); animation: word-in 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) 0.8s both; }

.kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; color: var(--text); font-weight: 500; }
.tag {
  background: var(--khaki); color: var(--ink);
  font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 3px 9px;
}
.hero-text { margin: 0 0 26px; font-size: 17px; color: #dcd9cf; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.facts-bar { position: relative; z-index: 5; border-top: 1px solid rgba(235, 232, 222, 0.14); background: rgba(16, 18, 17, 0.88); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 auto; }
.facts > div { padding: 20px 20px 20px 0; }
.facts > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.facts dt {
  font-family: var(--display); font-weight: 600; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--khaki); margin-bottom: 2px;
}
.facts dd { margin: 0; font-weight: 500; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-head { margin-bottom: clamp(36px, 5vw, 56px); }
.section-head-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }

.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split-top { align-items: start; }
.split-text h2 { margin-bottom: 24px; }
.split-text p { color: #cfccc2; margin: 0 0 18px; max-width: 54ch; }
.split-media { margin: 0; }
.split-media { position: relative; padding-bottom: 56px; }
.media-main { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.media-inset { position: absolute; left: -28px; bottom: 0; width: 44%; aspect-ratio: 16 / 9; object-fit: cover; border: 6px solid var(--bg); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5); }

/* ---------- Features ---------- */
.section-lead { max-width: 440px; margin: 0; color: var(--muted); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--bg); border: 1px solid var(--line); display: flex; flex-direction: column; overflow: hidden; }
.feature img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.6s ease; }
.feature:hover img { transform: scale(1.04); }
.feature-body { padding: 22px 24px 26px; border-top: 3px solid var(--khaki); position: relative; background: var(--bg); flex: 1; }
.feature h3 { margin-bottom: 10px; }
.feature p { margin: 0; color: #c4c1b7; font-size: 16px; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.shot { padding: 0; border: 0; background: #000; overflow: hidden; position: relative; }
.shot img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.5s ease, opacity 0.3s; }
.shot:hover img { transform: scale(1.03); opacity: 0.88; }
.shot-lg { grid-column: span 2; grid-row: span 2; }
.shot-lg img { aspect-ratio: auto; }

.lightbox { width: min(1360px, 94vw); padding: 0; border: 0; background: #000; color: var(--text); }
.lightbox::backdrop { background: rgba(0, 0, 0, 0.88); }
.lightbox img { width: 100%; max-height: calc(92vh - 56px); object-fit: contain; }
.lightbox-bar { display: flex; align-items: center; gap: 8px; height: 56px; padding: 0 12px; background: var(--bg); }
.lightbox-bar button { background: none; border: 0; padding: 8px 12px; font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.lightbox-bar button:hover { color: var(--text); }
#lightboxCount { color: var(--muted); font-size: 14px; }
#lightboxClose { margin-left: auto; }

/* ---------- Paper section (roadmap) ---------- */
.paper { background: var(--paper); color: var(--ink); }
.paper .eyebrow { color: var(--olive); }

.roadmap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.roadmap-progress { margin: 0 0 8px; font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); }
.roadmap-progress strong { color: var(--ink); font-weight: 700; }
.roadmap-bar { height: 6px; background: var(--paper-line); margin-bottom: 18px; }
.roadmap-bar i { display: block; height: 100%; background: var(--olive); transition: width 0.4s; }
.roadmap li.in_progress::before { background: linear-gradient(135deg, var(--olive) 50%, transparent 50%); border-color: var(--olive); }
.roadmap li.in_progress em { color: var(--olive); font-weight: 700; }
.roadmap { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.roadmap li {
  display: grid; grid-template-columns: 22px 1fr auto; gap: 14px; align-items: center;
  padding: 15px 0; border-bottom: 1px solid var(--paper-line);
  font-family: var(--display); font-weight: 600; font-size: 21px; text-transform: uppercase; letter-spacing: 0.02em;
}
.roadmap li::before { content: ""; width: 18px; height: 18px; border: 2px solid var(--ink); grid-column: 1; grid-row: 1; }
.roadmap li span { grid-column: 2; }
.roadmap em { grid-column: 3; font-style: normal; font-size: 14px; letter-spacing: 0.12em; color: var(--ink-muted); }
.roadmap li.done::before {
  background: var(--olive) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%23e4dece' stroke-width='2.4'/%3E%3C/svg%3E") center / 14px no-repeat;
  border-color: var(--olive);
}
.roadmap li.done em { color: var(--olive); font-weight: 700; }

.ea h3 { margin-bottom: 16px; }
.ea p { margin: 0 0 16px; color: #33352f; }

.specs { margin-top: clamp(56px, 8vw, 96px); }
.specs h3 { margin-bottom: 18px; }
.table-scroll { overflow-x: auto; }
.specs table { width: 100%; border-collapse: collapse; min-width: 560px; }
.specs th, .specs td { text-align: left; padding: 13px 16px 13px 0; border-bottom: 1px solid var(--paper-line); vertical-align: top; }
.specs thead th { border-bottom: 2px solid var(--ink); font-family: var(--display); font-size: 17px; letter-spacing: 0.1em; text-transform: uppercase; }
.specs tbody th { font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--olive); width: 140px; }
.note { margin: 16px 0 0; color: var(--ink-muted); font-size: 15px; }

/* ---------- Studio ---------- */
.studio-top { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.studio-intro h2 { margin-bottom: 24px; max-width: 14ch; }
.studio-intro p { color: #cfccc2; margin: 0 0 18px; max-width: 56ch; }
.studio-intro .studio-lead { font-size: 19px; color: var(--text); }
.studio-intro .actions { margin-top: 28px; }
.studio-photo { margin: 0; position: relative; }
.studio-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 62% 50%; }
.studio-photo figcaption { position: absolute; left: 0; bottom: 0; padding: 7px 14px; background: var(--khaki); color: var(--ink); font-family: var(--display); font-weight: 600; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; }

.studio-principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(24px, 4vw, 48px); margin-top: clamp(56px, 8vw, 96px); }
.studio-principles article { padding: 24px 0 8px; border-top: 1px solid var(--line-2, #3a3f38); position: relative; }
.studio-principles article::before { content: ""; position: absolute; top: -1px; left: 0; width: 48px; height: 3px; background: var(--khaki); }
.studio-principles h3 { margin-bottom: 10px; }
.studio-principles p { margin: 0; color: #c4c1b7; }

.studio-facts { margin: 0; border-top: 1px solid var(--line); }
.studio-facts > div { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.studio-facts dt { font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--khaki); padding-top: 2px; }
.studio-facts dd { margin: 0; font-weight: 500; }
.studio-facts-row { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.studio-facts-row > div { display: block; border-bottom: 0; padding: 18px 20px 18px 0; }
.studio-facts-row > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.studio-facts-row dt { padding: 0; margin-bottom: 2px; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card {
  display: flex; flex-direction: column; gap: 6px;
  padding: 26px 28px; border: 1px solid var(--line); border-left: 3px solid var(--khaki); background: var(--bg-alt);
  text-decoration: none; transition: border-color 0.2s, background-color 0.2s;
}
.contact-card:hover { border-color: var(--khaki); background: #1b1f1b; }
.contact-label { font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--khaki); }
.contact-mail { font-size: clamp(19px, 2vw, 25px); font-weight: 500; overflow-wrap: anywhere; }
.contact-hint { color: var(--muted); font-size: 15px; }

.socials { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.socials a {
  display: grid; grid-template-columns: 24px auto 1fr; align-items: center; gap: 14px;
  padding: 15px 6px; border-bottom: 1px solid var(--line); text-decoration: none;
  transition: background-color 0.2s, padding 0.2s;
}
.socials a:hover { background: var(--bg-alt); padding-left: 14px; padding-right: 14px; }
.socials .icon { width: 20px; height: 20px; color: var(--khaki); }
.social-name { font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: 0.05em; text-transform: uppercase; }
.social-handle { justify-self: end; color: var(--muted); font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 56px 0 32px; background: #0c0d0c; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer-brand .wordmark { font-size: 30px; }
.footer-brand p { margin: 10px 0 20px; color: var(--muted); font-size: 15px; max-width: 320px; }
.footer-social { display: flex; gap: 6px; flex-wrap: wrap; }
.footer-social a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--muted); transition: color 0.2s, border-color 0.2s; }
.footer-social a:hover { color: var(--text); border-color: var(--text); }
.footer-social .icon { width: 17px; height: 17px; }
.footer-col { display: grid; gap: 9px; align-content: start; }
.footer-col h3 { font-size: 15px; font-weight: 600; letter-spacing: 0.14em; color: var(--khaki); margin-bottom: 6px; }
.footer-col a { color: var(--muted); text-decoration: none; font-size: 15px; }
.footer-col a:hover { color: var(--text); }
.legal { padding-top: 24px; }
.legal p { margin: 0 0 6px; color: #7f8177; font-size: 14px; }
.legal a { color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .split, .roadmap-grid, .contact-layout, .studio-top { grid-template-columns: 1fr; }
  .studio-photo img { aspect-ratio: 16 / 10; }
  .studio-principles { grid-template-columns: 1fr; gap: 28px; }
  .studio-facts-row { grid-template-columns: 1fr 1fr; }
  .studio-facts-row > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .studio-facts-row > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .media-inset { left: 12px; }
  .features { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .actions .btn { flex: 1 1 100%; }
  .facts > div { padding: 14px 12px 14px 0; }
  .facts > div:nth-child(even) { padding-left: 12px; }
  .features { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .shot-lg { grid-column: 1 / -1; grid-row: auto; }
  .shot-lg img { aspect-ratio: 16 / 9; }
  .shot:last-child { grid-column: 1 / -1; }
  .roadmap li { font-size: 18px; }
  .contact-card { padding: 22px; }
  .social-handle { display: none; }
  .socials a { grid-template-columns: 24px 1fr; }
  .media-inset { width: 52%; }
}

/* Hero on tablets and phones: title and soldier up top, copy below. */
@media (max-width: 900px) {
  .hero { --soldier-h: clamp(380px, 120vw, 640px); --soldier-w: calc(var(--soldier-h) * 0.432); min-height: calc(var(--soldier-h) + 640px); }
  .hero-title { top: calc(var(--header-h) + 18px); grid-template-columns: 1fr; font-size: min(26vw, 8.6rem); line-height: 0.84; }
  .word-l, .word-r { grid-column: 1; justify-self: start; margin: 0; }
  .hero::after { display: none; }
  .hero-soldier { left: auto; right: -12%; margin-left: 0; bottom: auto; top: calc(var(--header-h) + 36px); }
  .hero-copy { max-width: 100%; }
  .hero-shade { background: linear-gradient(180deg, rgba(10, 11, 10, 0.7) 0%, rgba(10, 11, 10, 0) 18%), linear-gradient(0deg, rgba(16, 18, 17, 1) 30%, rgba(16, 18, 17, 0.6) 55%, rgba(16, 18, 17, 0) 75%); }
  .hero-bg-img { object-position: 78% 45%; }
}
@media (min-width: 601px) and (max-width: 900px) {
  .hero { min-height: calc(var(--soldier-h) + 290px); }
  .hero-copy { max-width: 52%; }
  .hero-shade { background: linear-gradient(180deg, rgba(10, 11, 10, 0.7) 0%, rgba(10, 11, 10, 0) 18%), linear-gradient(0deg, rgba(16, 18, 17, 1) 0%, rgba(16, 18, 17, 0.75) 22%, rgba(16, 18, 17, 0) 50%), linear-gradient(90deg, rgba(10, 11, 10, 0.55) 0%, rgba(10, 11, 10, 0) 55%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero *, .fog { animation: none !important; }
}

/* ==========================================================================
   v3: studio, team, news, press kit, article pages
   ========================================================================== */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.studio-about p { color: #cfccc2; margin: 0 0 18px; max-width: 56ch; }
.block-title { margin-bottom: 18px; }

.team-block { margin-top: clamp(48px, 7vw, 80px); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.member-card { background: var(--bg); border: 1px solid var(--line); padding: 20px; display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: start; }
.member-card img, .member-initials { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.member-initials { display: grid; place-items: center; background: #252a24; font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--khaki); }
.member-card h4 { margin: 0; font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 20px; letter-spacing: 0.03em; line-height: 1.1; }
.member-card .role { color: var(--khaki); font-size: 14px; margin: 2px 0 8px; }
.member-card p { margin: 0; color: #c4c1b7; font-size: 15px; grid-column: 1 / -1; }

.hiring { margin-top: clamp(40px, 6vw, 64px); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 28px 30px; border: 1px solid var(--khaki); background: #1c1f19; }
.hiring h3 { margin-bottom: 8px; }
.hiring-text p { margin: 0 0 8px; color: #d2cfc5; max-width: 70ch; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-card { background: var(--bg-alt); border: 1px solid var(--line); display: flex; flex-direction: column; text-decoration: none; transition: border-color 0.2s; }
.news-card:hover { border-color: var(--khaki); }
.news-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.news-card .news-body { padding: 18px 20px 22px; display: grid; gap: 8px; }
.news-card time { color: var(--khaki); font-family: var(--display); font-weight: 600; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; }
.news-card h3 { font-size: 1.5rem; }
.news-card p { margin: 0; color: #c4c1b7; font-size: 16px; }

.press .press-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.press h3 { margin-bottom: 14px; }
.press p { color: #33352f; }
.factsheet { margin: 0; border-top: 2px solid var(--ink); }
.factsheet > div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--paper-line); }
.factsheet dt { font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--olive); }
.factsheet dd { margin: 0; }
.factsheet a, .press a { color: var(--ink); }
.downloads { list-style: none; margin: 0 0 22px; padding: 0; border-top: 2px solid var(--ink); }
.downloads li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid var(--paper-line); }
.downloads a { font-family: var(--display); font-weight: 700; font-size: 19px; text-transform: uppercase; letter-spacing: 0.03em; }
.downloads span { color: var(--ink-muted); font-size: 15px; }
.press-contact { font-weight: 500; }

/* Article and simple pages (rendered by the site Worker) */
.page { padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) 0 clamp(64px, 9vw, 120px); }
.page-narrow { max-width: 760px; }
.page h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); margin-bottom: 16px; }
.page .meta { color: var(--khaki); font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 28px; }
.page .lead { font-size: 20px; color: #dcd9cf; margin: 0 0 32px; }
.page .cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin: 0 0 36px; border: 1px solid var(--line); }
.prose { font-size: 18px; line-height: 1.7; color: #d6d3c9; }
.prose h2 { font-size: 2rem; margin: 40px 0 12px; color: var(--text); }
.prose h3 { font-size: 1.5rem; margin: 30px 0 10px; color: var(--text); }
.prose p { margin: 0 0 20px; }
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--khaki); }
.prose code { background: var(--bg-alt); border: 1px solid var(--line); padding: 1px 6px; font-size: 0.9em; }
.back-link { display: inline-block; margin-bottom: 24px; color: var(--muted); text-decoration: none; font-family: var(--display); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.back-link:hover { color: var(--text); }
.news-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.news-row { display: grid; grid-template-columns: 240px 1fr; gap: 28px; padding: 28px 0; border-bottom: 1px solid var(--line); text-decoration: none; align-items: start; }
.news-row img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid var(--line); }
.news-row h2 { font-size: 2rem; margin: 6px 0 10px; }
.news-row p { margin: 0; color: #c4c1b7; }
.news-row:hover h2 { color: var(--khaki); }
.empty-note { color: var(--muted); font-size: 18px; }

@media (max-width: 980px) {
  .news-grid, .press .press-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .news-row { grid-template-columns: 1fr; gap: 14px; }
  .factsheet > div { grid-template-columns: 1fr; gap: 2px; }
}
