/* NextNV. Colors sampled from the logo: navy #1F3451, chevron orange
   #E9780D, silver #A1AFBF. Archivo (variable width) for display, Inter for text. */
@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #0a1a30;
  --navy: #1f3451;
  --navy-2: #13263f;
  --orange: #e9780d;
  --orange-hi: #ff8c1f;
  --silver: #a1afbf;
  --paper: #f5f3ee;
  --paper-2: #ebe7de;
  --text: #17202c;
  --muted: #566273;
  --line: rgba(31, 52, 81, 0.16);
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --pad: clamp(20px, 4vw, 40px);
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 17px/1.6 var(--body);
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; font-stretch: 112%; text-transform: uppercase; color: var(--navy); }
h3 { font-size: 21px; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--orange); color: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* The chevron from the logo's X, used as the section marker */
.chev {
  display: inline-block;
  width: 0.42em;
  height: 0.72em;
  margin-right: 0.38em;
  background: var(--orange);
  clip-path: polygon(0 0, 45% 0, 100% 50%, 45% 100%, 0 100%, 55% 50%);
  vertical-align: -0.02em;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 26, 48, 0.94);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.bar { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand img { width: 150px; }
#nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
#nav a {
  display: block; padding: 8px 12px; color: #dfe5ee; text-decoration: none;
  font: 600 14px/1 var(--display); font-stretch: 110%; text-transform: uppercase; letter-spacing: 0.04em;
  border-radius: var(--radius);
}
#nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.07); }
#nav .nav-yt { color: #fff; background: var(--orange); }
#nav .nav-yt:hover { background: var(--orange-hi); }
.menu-btn { display: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px;
  font: 700 15px/1 var(--display); font-stretch: 110%; text-transform: uppercase; letter-spacing: 0.04em;
  text-decoration: none; border-radius: var(--radius); border: 2px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-hi); }
.btn-line { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.btn-line:hover { border-color: #fff; }
.btn-line-dark { border-color: var(--navy); color: var(--navy); }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(233, 120, 13, 0.16), transparent 60%),
    linear-gradient(180deg, var(--ink), var(--navy-2));
}
.hero::before {
  /* basin-and-range ridgeline along the bottom */
  content: ""; position: absolute; left: 0; right: 0; bottom: 52px; height: 120px;
  background: rgba(255, 255, 255, 0.035);
  clip-path: polygon(0 100%, 0 70%, 8% 45%, 15% 62%, 24% 30%, 33% 58%, 41% 40%, 52% 66%, 61% 22%, 70% 55%, 79% 38%, 88% 60%, 95% 42%, 100% 55%, 100% 100%);
}
.hero-grid {
  position: relative; display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 64px);
  align-items: center; padding-top: clamp(48px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 104px);
}
.kicker {
  font: 700 14px/1 var(--display); font-stretch: 115%; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--silver); margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(46px, 7.2vw, 96px); font-weight: 900; font-stretch: 118%; text-transform: uppercase;
  line-height: 0.92; letter-spacing: -0.02em; margin-bottom: 24px;
}
.hero h1 .nl { display: block; color: var(--silver); }
.lede { font-size: clamp(17px, 1.5vw, 20px); color: #cfd7e3; max-width: 34em; margin-bottom: 30px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-video .player { box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08); }
.hero-video .vmeta { margin-top: 16px; color: #b9c3d1; }
.hero-vtitle { font: 700 clamp(19px, 1.8vw, 24px)/1.2 var(--display); margin: 8px 0 0; }

.ticker {
  position: relative; border-top: 1px solid rgba(255, 255, 255, 0.1); background: rgba(0, 0, 0, 0.18);
  overflow: hidden; white-space: nowrap; height: 52px; display: flex; align-items: center;
}
.ticker-track { display: inline-flex; animation: tick 48s linear infinite; }
.ticker span {
  font: 700 14px/1 var(--display); font-stretch: 115%; text-transform: uppercase; letter-spacing: 0.12em;
  color: #c3ccd8; padding: 0 22px; display: inline-flex; align-items: center;
}
.ticker span::after {
  content: ""; width: 7px; height: 11px; margin-left: 44px; background: var(--orange);
  clip-path: polygon(0 0, 45% 0, 100% 50%, 45% 100%, 0 100%, 55% 50%);
}
@keyframes tick { to { transform: translateX(-50%); } }

/* Player (click to load) */
.player {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0;
  border-radius: var(--radius); overflow: hidden; background: #000; cursor: pointer;
}
.player img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s, filter 0.3s; }
.player:hover img { transform: scale(1.03); filter: brightness(0.85); }
.play {
  position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; border-radius: 50%;
  background: var(--orange); display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); transition: transform 0.2s, background 0.2s;
}
.player:hover .play { transform: scale(1.08); background: var(--orange-hi); }
.play svg { width: 30px; height: 30px; fill: #fff; margin-left: 4px; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.sec-head h2 { margin: 0; }
.more { font: 700 14px/1 var(--display); font-stretch: 110%; text-transform: uppercase; letter-spacing: 0.06em; color: var(--navy); }
.more::after { content: " \203A"; color: var(--orange); }
.big { font-size: clamp(19px, 1.8vw, 23px); line-height: 1.45; color: var(--navy); font-weight: 500; }

.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 32px 24px; }
.vcard .player { margin-bottom: 14px; }
.vcard .play { width: 54px; height: 54px; }
.vcard .play svg { width: 24px; height: 24px; }
.vcard h3 { font-size: 18px; line-height: 1.25; font-weight: 700; margin: 6px 0 0; }
.vcard h3 a { text-decoration: none; }
.vcard h3 a:hover { color: var(--orange); }
.vmeta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); }
.tag {
  font: 700 11px/1 var(--display); font-stretch: 115%; text-transform: uppercase; letter-spacing: 0.1em;
  padding: 5px 8px; border-radius: 3px; background: var(--orange); color: #fff;
}
.vcard .tag, .tag-quiet { background: rgba(31, 52, 81, 0.1); color: var(--navy); }
.hero .tag-quiet { background: rgba(255, 255, 255, 0.12); color: #fff; }
.note { margin-top: 28px; font-size: 14px; color: var(--muted); }

.about { background: #fff; }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-photo { margin: 0; }
.about-photo img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.about-photo figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); }

.work-list {
  list-style: none; margin: 36px 0 0; padding: 0; counter-reset: w;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line);
}
.work-list li { counter-increment: w; padding: 28px 28px 32px 0; border-bottom: 1px solid var(--line); }
.work-list li:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.work-list li::before {
  content: ""; display: block; width: 28px; height: 3px; margin-bottom: 18px; background: var(--orange);
}
.work-list p { color: var(--muted); font-size: 16px; margin: 0; }
.issues-h { margin-top: 64px; font-size: 15px; font-stretch: 115%; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.issues { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.issues li { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 22px 20px; }
.issues strong { display: block; font: 800 18px/1.1 var(--display); font-stretch: 110%; margin-bottom: 8px; }
.issues span { font-size: 14px; color: #c5cfdc; line-height: 1.45; display: block; }

.people { background: var(--paper-2); }
.people-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 28px; }
.person { display: grid; grid-template-columns: 200px 1fr; gap: 28px; background: #fff; border-radius: var(--radius); padding: 24px; align-items: start; }
.person img, .person-mark { width: 200px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.person-mark { background: linear-gradient(160deg, var(--navy), var(--ink)); display: grid; place-items: center; font-size: 96px; }
.person-mark .chev { margin: 0; }
.person h3 { font-size: 26px; font-stretch: 110%; margin-bottom: 4px; }
.role { font: 700 13px/1 var(--display); font-stretch: 115%; text-transform: uppercase; letter-spacing: 0.1em; line-height: 1.35; color: var(--orange); margin-bottom: 14px; }
.person p:last-child { color: var(--muted); font-size: 16px; margin: 0; }

.contact { background: var(--ink); color: #fff; }
.contact h2 { color: #fff; }
.contact .big { color: #d5dce6; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ccard {
  display: block; padding: 22px; border-radius: var(--radius); text-decoration: none;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); transition: border-color 0.15s, background 0.15s;
}
a.ccard:hover { border-color: var(--orange); background: rgba(233, 120, 13, 0.08); }
.ccard span { display: block; font: 700 12px/1 var(--display); font-stretch: 115%; text-transform: uppercase; letter-spacing: 0.1em; color: var(--silver); margin-bottom: 10px; }
.ccard strong { font-weight: 600; font-size: 17px; overflow-wrap: anywhere; }
.ccard-plain strong { font-weight: 400; font-size: 15px; line-height: 1.5; }

/* Inner pages */
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 900; font-stretch: 115%; text-transform: uppercase; color: var(--navy); }
.prose h2 { font-size: 22px; margin-top: 1.6em; }
.prose a:not(.btn) { color: var(--navy); text-decoration-color: var(--orange); text-underline-offset: 3px; }
.notfound .btn { margin: 0 10px 10px 0; }

/* Footer */
.site-footer { background: #06111f; color: #9fabbb; font-size: 15px; padding: 56px 0 28px; }
.foot { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; align-items: start; }
.foot-logo { width: 170px; margin-bottom: 14px; }
.site-footer address { font-style: normal; line-height: 1.7; }
.site-footer a { color: #dfe5ee; text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.foot-links { list-style: none; margin: 0; padding: 0; line-height: 2; }
.fine { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 13px; color: #6f7c8e; }

@media (max-width: 1080px) {
  .issues { grid-template-columns: repeat(3, 1fr); }
  .person { grid-template-columns: 1fr; }
  .person img, .person-mark { width: 100%; max-width: 260px; }
}
@media (max-width: 900px) {
  .menu-btn {
    display: grid; gap: 5px; width: 44px; height: 44px; place-content: center; background: none; border: 0; cursor: pointer;
  }
  .menu-btn span:not(.sr) { display: block; width: 24px; height: 2px; background: #fff; transition: transform 0.2s; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
  #nav { position: absolute; top: 68px; left: 0; right: 0; background: var(--ink); border-bottom: 1px solid rgba(255, 255, 255, 0.1); display: none; }
  #nav.open { display: block; }
  #nav ul { flex-direction: column; padding: 12px var(--pad) 20px; gap: 2px; }
  #nav a { padding: 14px 12px; font-size: 16px; }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .work-list { grid-template-columns: 1fr 1fr; }
  .work-list li, .work-list li:not(:nth-child(3n + 1)) { padding: 24px 20px 26px 0; border-left: 0; }
  .work-list li:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
  .people-grid { grid-template-columns: 1fr; }
  .person { grid-template-columns: 160px 1fr; }
  .person img, .person-mark { width: 160px; }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand img { width: 124px; }
  .vgrid { grid-template-columns: 1fr; }
  .work-list { grid-template-columns: 1fr; }
  .work-list li:nth-child(even) { padding-left: 0; border-left: 0; }
  .issues { grid-template-columns: 1fr; }
  .person { grid-template-columns: 1fr; padding: 18px; }
  .person img, .person-mark { width: 100%; max-width: none; aspect-ratio: 1; object-position: 50% 25%; }
  .person-mark { aspect-ratio: 3 / 1; font-size: 64px; }
  .contact-cards { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
  .actions .btn { flex: 1 1 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  *, *::before, *::after { transition: none !important; }
}
