@font-face {
  font-family: "HQ Geist";
  src: url("fonts/geist-variable.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 100 900;
}

@font-face {
  font-family: "HQ Fraunces";
  src: url("fonts/fraunces-normal-100-900.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 100 900;
}

@font-face {
  font-family: "HQ Fraunces";
  src: url("fonts/fraunces-italic-100-900.woff2") format("woff2");
  font-display: swap;
  font-style: italic;
  font-weight: 100 900;
}

:root {
  color-scheme: dark;
  --hq-black: #000;
  --hq-white: #fff;
  --hq-copy: rgba(255, 255, 255, .70);
  --hq-muted: rgba(255, 255, 255, .50);
  --hq-rule: rgba(255, 255, 255, .10);
  --hq-rule-strong: rgba(255, 255, 255, .50);
  --hq-display: clamp(3rem, 1.65rem + 3.85vw, 4rem);
  --hq-heading: clamp(2rem, .5rem + 3.75vw, 3.5rem);
  --hq-body: clamp(.875rem, .75rem + .3125vw, 1rem);
  --hq-gutter: clamp(1.25rem, 5.55vw, 5rem);
}

* { box-sizing: border-box; }
html { background: var(--hq-black); scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--hq-black);
  color: var(--hq-white);
  font-family: "HQ Geist", Arial, sans-serif;
  font-size: var(--hq-body);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }

.hq-page { background: var(--hq-black); }
.hq-nav {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px var(--hq-gutter);
  color: var(--hq-white);
}
.hq-mark {
  display: inline-flex;
  align-items: center;
  color: var(--hq-white);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -.09em;
  line-height: .7;
  text-decoration: none;
}
.hq-nav-links, .hq-nav-links a {
  display: flex;
  align-items: center;
}
.hq-nav-links { gap: 22px; }
.hq-nav-links > a:not(.hq-button), .hq-footer a, .hq-eyebrow, .hq-status, .hq-panel-label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .16em;
  line-height: 14px;
  text-transform: uppercase;
}
.hq-nav-links > a:not(.hq-button) {
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
  transition: color .2s ease;
}
.hq-nav-links > a:not(.hq-button):hover, .hq-nav-links > a:not(.hq-button):focus-visible { color: var(--hq-white); }

.hq-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 0;
  color: var(--hq-black);
  background: var(--hq-white);
  font: 400 11px/14px "HQ Geist", Arial, sans-serif;
  letter-spacing: .16em;
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity .2s ease, background .2s ease, border-color .2s ease;
}
.hq-button:hover, .hq-button:focus-visible { opacity: .9; }
.hq-button--secondary {
  color: var(--hq-white);
  background: transparent;
  border-color: var(--hq-rule-strong);
}
.hq-button--secondary:hover, .hq-button--secondary:focus-visible {
  opacity: 1;
  background: rgba(255, 255, 255, .1);
  border-color: var(--hq-white);
}

.hq-hero {
  position: relative;
  display: grid;
  min-height: calc(100svh - 106px);
  overflow: hidden;
  isolation: isolate;
  background: var(--hq-black);
}
.hq-hero-media, .hq-hero-media::after, .hq-ascii { position: absolute; inset: 0; }
.hq-hero-media {
  z-index: -3;
  background: #000 center / cover no-repeat;
}
.hq-hero-media::after {
  content: "";
  background: linear-gradient(90deg, rgba(0, 0, 0, .58), rgba(0, 0, 0, .08) 48%, rgba(0, 0, 0, .36)), linear-gradient(0deg, rgba(0, 0, 0, .5), transparent 48%);
}
.hq-ascii {
  z-index: -1;
  overflow: hidden;
  color: rgba(255, 255, 255, .46);
  font: 9px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 6px;
  opacity: .6;
  pointer-events: none;
  white-space: pre-wrap;
  word-break: break-all;
}
.hq-hero-inner {
  display: grid;
  width: min(1240px, calc(100% - (var(--hq-gutter) * 2)));
  min-height: calc(100svh - 106px);
  grid-template-columns: minmax(0, 1fr) minmax(300px, .85fr);
  gap: clamp(48px, 9vw, 144px);
  align-items: center;
  justify-self: center;
  padding: 108px 0 106px;
}
.hq-copy { max-width: 650px; }
.hq-eyebrow { margin: 0 0 16px; color: rgba(255, 255, 255, .72); }
.hq-title {
  max-width: 650px;
  margin: 0;
  color: var(--hq-white);
  font-size: var(--hq-display);
  font-weight: 400;
  letter-spacing: -.06em;
  line-height: 1;
}
.hq-title em {
  font-family: "HQ Fraunces", Georgia, serif;
  font-weight: 300;
  font-style: italic;
}
.hq-lede {
  max-width: 530px;
  margin: 18px 0 0;
  color: var(--hq-copy);
  font-size: 16px;
  line-height: 24px;
}
.hq-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hq-panel {
  align-self: center;
  border-top: 1px solid var(--hq-rule-strong);
  border-bottom: 1px solid var(--hq-rule);
}
.hq-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 0 0 15px;
  color: var(--hq-muted);
}
.hq-panel-label { margin: 0; }
.hq-panel-row {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 16px 0;
  border-top: 1px solid var(--hq-rule);
}
.hq-check {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  margin-top: 2px;
  border: 1px solid var(--hq-white);
  color: var(--hq-white);
  font-size: 12px;
  line-height: 1;
}
.hq-row-number { color: var(--hq-muted); font-size: 11px; letter-spacing: .12em; }
.hq-panel-title { margin: 0; color: var(--hq-white); font-size: 16px; font-weight: 400; line-height: 1.25; }
.hq-panel-copy { margin: 4px 0 0; color: var(--hq-copy); font-size: 13px; line-height: 1.4; }
.hq-status { align-self: center; color: rgba(255, 255, 255, .7); letter-spacing: .12em; }
.hq-status::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 7px 1px 0; background: var(--hq-white); }

.hq-footer {
  display: grid;
  grid-template-columns: minmax(170px, 1.5fr) repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 64px);
  padding: 30px var(--hq-gutter) 28px;
  background: var(--hq-black);
  border-top: 1px solid var(--hq-rule);
}
.hq-footer-brand { margin: 0; color: var(--hq-muted); font-size: 13px; line-height: 1.45; }
.hq-footer-heading { margin: 0 0 9px; color: var(--hq-muted); }
.hq-footer a { display: block; width: fit-content; color: var(--hq-white); font-size: 10px; letter-spacing: .13em; text-decoration: none; }
.hq-footer a:hover, .hq-footer a:focus-visible { opacity: .7; }

@media (max-width: 760px) {
  .hq-hero-media::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, .58), rgba(0, 0, 0, .33) 56%, rgba(0, 0, 0, .62)), linear-gradient(90deg, rgba(0, 0, 0, .42), rgba(0, 0, 0, .24));
  }
  .hq-nav { min-height: 60px; padding-top: 16px; padding-bottom: 16px; }
  .hq-mark { font-size: 25px; }
  .hq-nav-links a:not(.hq-button) { display: none; }
  .hq-nav-links { gap: 0; }
  .hq-hero { min-height: 844px; }
  .hq-hero-inner {
    width: calc(100% - 40px);
    min-height: 844px;
    grid-template-columns: 1fr;
    gap: 22px;
    align-content: center;
    padding: 84px 0 38px;
  }
  .hq-title { font-size: clamp(2.85rem, 11vw, 3.3rem); }
  .hq-lede { max-width: 335px; margin-top: 14px; font-size: 14px; line-height: 20px; }
  .hq-actions { margin-top: 20px; }
  .hq-panel { max-width: 350px; }
  .hq-panel-head { padding-bottom: 10px; }
  .hq-panel-row { grid-template-columns: 22px 1fr; gap: 9px; padding: 10px 0; }
  .hq-panel-row .hq-status { display: none; }
  .hq-panel-title { font-size: 14px; }
  .hq-panel-copy { font-size: 12px; }
  .hq-footer { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; padding-top: 42px; }
  .hq-footer-brand { grid-column: 1 / -1; }
}

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