:root {
  --ink: #0b0d12;
  --ink-soft: #171a22;
  --paper: #f5f6f8;
  --white: #ffffff;
  --muted: #969ba8;
  --line: rgba(255,255,255,.13);
  --blue: #5b7cfa;
  --blue-light: #91a6ff;
  --orange: #f26a2e;
  --radius: 22px;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: "Segoe UI", Aptos, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, audio { font: inherit; }
.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: .65rem 1rem;
  color: var(--ink);
  background: var(--white);
  border-radius: 8px;
}

.site-header {
  width: min(calc(100% - 40px), var(--max));
  min-height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 20;
}
.brand { display: inline-flex; align-items: baseline; gap: .55rem; text-decoration: none; }
.brand-mark { font: 700 1.6rem/1 "Segoe UI", Aptos, sans-serif; letter-spacing: -.12em; }
.brand-mark span { color: var(--blue-light); }
.brand-name { color: var(--muted); font: 500 .95rem/1 "Segoe UI", Aptos, sans-serif; letter-spacing: .04em; }
.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav a { color: #c7cad3; font-size: .92rem; text-decoration: none; transition: color .2s ease; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--white); }
.main-nav .nav-contact { border: 1px solid var(--line); padding: .55rem 1rem; border-radius: 999px; }
.menu-toggle { display: none; }

.hero {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  position: relative;
}
.eyebrow, .media-label {
  margin: 0 0 1rem;
  color: var(--blue-light);
  font: 600 .76rem/1.2 "Segoe UI", Aptos, sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
}
h1, h2, h3 { font-family: "Segoe UI", Aptos, sans-serif; letter-spacing: -.04em; }
h1 {
  margin: 0;
  font-size: clamp(3rem, 6.3vw, 6rem);
  line-height: .98;
  font-weight: 600;
}
h1 em { color: var(--blue-light); font-style: normal; }
.hero-text { max-width: 570px; margin: 1.6rem 0 0; color: #d2d5dd; font-size: clamp(1rem, 1.6vw, 1.24rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .7rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: .92rem;
  transition: transform .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--blue); color: var(--white); }
.button-primary:hover { background: #6d89ff; }
.button-quiet { border: 1px solid var(--line); color: #d9dbe2; }

.hero-visual {
  min-height: clamp(570px, 64vw, 760px);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  overflow: hidden;
  border-radius: 30px;
  background: #14171e;
  box-shadow: 0 36px 100px rgba(0,0,0,.35);
  margin-top: clamp(30px, 5vw, 62px);
}
.hero-visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 46% center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(270deg, rgba(5,7,11,.95) 0%, rgba(5,7,11,.76) 44%, rgba(5,7,11,.08) 78%), linear-gradient(0deg, rgba(5,7,11,.42), transparent 50%); }
.hero-visual .hero-copy { position: relative; z-index: 1; width: min(650px, 62%); padding: clamp(42px, 7vw, 86px); }
audio { display: block; width: 100%; height: 42px; color-scheme: dark; }

.capabilities {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 22px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.capability { padding: clamp(25px, 3vw, 38px); border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.025); }
.capability .eyebrow { margin-bottom: 1.7rem; }
.capability h2 { margin: 0; font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1.15; }
.capability > p:last-child { margin: 1rem 0 0; color: var(--muted); font-size: .94rem; }

.section { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: 130px 0; }
.section-heading { display: grid; grid-template-columns: .5fr 1.1fr 1fr; gap: 40px; align-items: start; margin-bottom: 54px; }
.section-heading .eyebrow { padding-top: .65rem; }
.section-heading h2, .profile h2, .contact h2 { margin: 0; font-size: clamp(2.25rem, 4.4vw, 4.4rem); line-height: 1.05; }
.section-heading > p:last-child { margin: .5rem 0 0; color: #aeb2bd; }

.release-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.release-card {
  min-width: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.025);
}
.release-cover { display: block; width: 150px; height: 150px; max-width: none; object-fit: contain; align-self: start; border-right: 1px solid var(--line); }
.release-body { min-width: 0; min-height: 150px; padding: 17px 18px; display: flex; flex-direction: column; align-items: flex-start; }
.release-meta { width: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .45rem; align-items: center; margin-bottom: .9rem; color: var(--blue-light); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }
.status { padding: .34rem .62rem; border: 1px solid rgba(145,166,255,.45); border-radius: 999px; color: #c8d2ff; font-size: .68rem; letter-spacing: .04em; white-space: nowrap; }
.status-live { color: #d9f8e6; border-color: rgba(88,202,132,.38); }
.status-muted { color: #adb1bc; border-color: rgba(255,255,255,.15); }
.release-card h3 { margin: 0; font-size: clamp(1.08rem, 1.7vw, 1.45rem); line-height: 1.12; }
.release-title { margin: .35rem 0 .8rem; color: #aeb2bd; font-size: .92rem; }
.release-card audio { margin-top: auto; }
.release-card .text-link { margin-top: .65rem; font-size: .82rem; }
.text-link { display: inline-block; margin-top: 1.2rem; color: var(--blue-light); text-underline-offset: .24em; }

.section-light { width: 100%; max-width: none; background: var(--paper); color: var(--ink); padding-inline: max(20px, calc((100vw - var(--max))/2)); }
.section-light .section-heading > p:last-child { color: #555c69; }
.section-light .eyebrow, .section-light .media-label { color: #425fca; }
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.video-card { background: var(--white); border: 1px solid #dfe1e7; border-radius: var(--radius); overflow: hidden; }
.video-shell { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #11141a; }
.video-shell > img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.55); }
.video-shell iframe { width: 100%; height: 100%; border: 0; }
.video-play {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%,-50%);
  border: 0;
  border-radius: 999px;
  padding: .75rem 1rem;
  background: rgba(255,255,255,.94);
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
}
.video-play:hover { background: var(--blue); color: var(--white); }
.video-play span { margin-right: .45rem; }
.video-meta { padding: 22px 24px 26px; }
.video-meta .media-label { margin-bottom: .6rem; }
.video-meta h3 { margin: 0; font-size: 1.35rem; }
.production-note { margin-top: 18px; display: grid; grid-template-columns: .9fr 1.1fr; background: var(--ink); color: var(--white); border-radius: var(--radius); overflow: hidden; }
.production-note img { width: 100%; height: 100%; min-height: 330px; object-fit: cover; }
.production-note > div { padding: clamp(34px, 5vw, 74px); align-self: center; }
.production-note h3 { margin: 0; font-size: clamp(2rem, 3.5vw, 3.4rem); line-height: 1.08; }
.production-note p:last-child { color: #b5b9c4; }

.profile { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(44px, 8vw, 120px); align-items: center; }
.profile-image { min-height: 590px; border-radius: var(--radius); background: url("assets/legacy-header.jpg") center/cover no-repeat; filter: grayscale(1); }
.profile-copy p:not(.eyebrow) { max-width: 690px; color: #b7bbc5; }
.profile-copy .button { margin-top: 1rem; }

.references { border-top: 1px solid var(--line); }
.reference-list { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.reference-list span { padding: 1.2rem 0; border-bottom: 1px solid var(--line); color: #cdd0d8; }
.reference-list span:nth-child(odd) { padding-right: 2rem; }

.contact { padding: 150px 20px; text-align: center; background: var(--blue); }
.contact .eyebrow { color: #dce3ff; }
.contact-mail { display: inline-block; margin-top: 1.5rem; font: 600 clamp(1.7rem, 5vw, 5rem)/1.1 "Segoe UI", Aptos, sans-serif; letter-spacing: -.04em; text-underline-offset: .15em; }
.contact-note { color: #e4e8ff; }

.site-footer { width: min(calc(100% - 40px), var(--max)); min-height: 120px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; color: var(--muted); font-size: .84rem; }
.site-footer p { margin: 0; }
.site-footer nav { display: flex; gap: 1.2rem; }
.site-footer nav a { text-underline-offset: .25em; }

.legal-page { min-height: calc(100vh - 206px); }
.legal-main { width: min(calc(100% - 40px), 820px); margin: 0 auto; padding: clamp(70px, 10vw, 130px) 0; }
.legal-main h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); }
.legal-main h2 { margin: 3rem 0 .5rem; font-size: clamp(1.35rem, 3vw, 2rem); }
.legal-main h3 { margin: 2rem 0 .45rem; font-size: 1.15rem; letter-spacing: -.015em; }
.legal-main h4 { margin: 1.4rem 0 .35rem; font-size: 1rem; }
.legal-main p { color: #c3c7d0; }
.legal-main li { color: #c3c7d0; margin-bottom: .5rem; }
.legal-main a { color: var(--blue-light); }
.legal-card { margin-top: 3rem; padding: clamp(24px, 4vw, 42px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-soft); }
.legal-card address { font-style: normal; color: #d7dae2; }
.legal-note { padding-left: 1rem; border-left: 3px solid var(--blue); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .button { transition: none; }
}

@media (max-width: 900px) {
  .menu-toggle { display: grid; width: 44px; height: 44px; padding: 11px; gap: 5px; align-content: center; background: transparent; border: 1px solid var(--line); border-radius: 50%; color: white; }
  .menu-toggle span:not(.sr-only) { display: block; height: 1px; background: currentColor; }
  .main-nav { position: absolute; top: 76px; left: 0; right: 0; display: none; padding: 22px; background: #12151c; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 40px rgba(0,0,0,.35); }
  .main-nav.is-open { display: grid; }
  .main-nav a { padding: .35rem 0; }
  .main-nav .nav-contact { margin-top: .4rem; text-align: center; }
  .capabilities { grid-template-columns: 1fr; }
  .profile { grid-template-columns: 1fr; gap: 44px; }
  .section-heading { grid-template-columns: 1fr; gap: 8px; }
  .section-heading .eyebrow { padding: 0; }
  .release-grid { grid-template-columns: 1fr; }
  .profile-image { min-height: 380px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .site-header, .hero, .capabilities, .section, .site-footer { width: min(calc(100% - 28px), var(--max)); }
  .site-header { min-height: 72px; }
  .hero-visual { min-height: 640px; margin-top: 18px; border-radius: 20px; }
  .hero-visual > img { object-position: 34% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(5,7,11,.97) 0%, rgba(5,7,11,.82) 46%, rgba(5,7,11,.08) 78%); }
  .hero-visual .hero-copy { width: 100%; padding: 34px 24px; }
  h1 { font-size: clamp(2.8rem, 14vw, 4.4rem); }
  .section { padding: 88px 0; }
  .section-light { width: 100%; padding-inline: 14px; }
  .release-card { grid-template-columns: 108px minmax(0, 1fr); }
  .release-cover { width: 108px; height: 108px; }
  .release-body { min-height: 108px; padding: 13px 14px; }
  .release-meta { align-items: flex-start; margin-bottom: .65rem; }
  .release-card h3 { font-size: 1rem; }
  .release-title { font-size: .84rem; }
  .release-card audio { grid-column: 1 / -1; }
  .video-grid { grid-template-columns: 1fr; }
  .production-note { grid-template-columns: 1fr; }
  .production-note img { min-height: 230px; }
  .reference-list { grid-template-columns: 1fr; }
  .reference-list span:nth-child(odd) { padding-right: 0; }
  .contact { padding: 100px 16px; }
  .site-footer { padding: 30px 0; flex-direction: column; align-items: flex-start; }
}
