/* =========================================================================
   777 ENTERPRISES — 777enterprisesllc.com
   Monochrome technical-document aesthetic. Mono type, paper ground, oxide
   accent used only for signal. One stylesheet, no framework, no build step.
   ========================================================================= */

/* ---------- 1. TOKENS ---------------------------------------------------- */

:root {
  /* ground + ink */
  --paper:        #f2f0ea;
  --paper-2:      #e9e6dd;
  --paper-3:      #dedad0;
  --card:         #faf9f6;
  --ink:          #14130f;
  --ink-2:        #4a473f;
  --ink-3:        #7c786c;
  --rule:         #c9c4b6;
  --rule-soft:    #ddd8cb;

  /* signal */
  --signal:       #9c3418;
  --signal-soft:  rgba(156, 52, 24, 0.10);

  /* type */
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", SFMono-Regular, Menlo,
          Consolas, "Liberation Mono", monospace;
  --pixel: "Silkscreen", var(--mono);

  /* metrics */
  --nav-h:      54px;
  --ticker-h:   30px;
  --gut:        clamp(18px, 4.2vw, 56px);
  --maxw:       1320px;
  --radius:     2px;

  --t: 180ms cubic-bezier(0.2, 0.7, 0.3, 1);

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper:      #131311;
    --paper-2:    #1b1a17;
    --paper-3:    #24231f;
    --card:       #191816;
    --ink:        #eceae3;
    --ink-2:      #b0ada3;
    --ink-3:      #817d72;
    --rule:       #3a3833;
    --rule-soft:  #2a2925;
    --signal:     #e0714c;
    --signal-soft: rgba(224, 113, 76, 0.14);
  }
}

/* ---------- 2. RESET ----------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.62;
  font-variant-ligatures: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 0; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--ink); color: var(--paper); }

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
}

/* ---------- 3. PRIMITIVES ------------------------------------------------ */

.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.mono-label {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  line-height: 1.4;
}

.rule { border-top: 1px solid var(--rule); }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  z-index: 999;
}
.skip:focus { left: 8px; top: 8px; }

/* chips ------------------------------------------------------------------- */

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }

.chip {
  font-size: 9.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-2);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 3px 9px 2px;
  white-space: nowrap;
}

.chip--solid { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* buttons ----------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background var(--t), color var(--t), transform var(--t);
}
.btn:hover { background: var(--ink); color: var(--paper); transform: translateY(-1px); }
.btn .arw { transition: transform var(--t); }
.btn:hover .arw { transform: translateX(3px); }

.btn--fill { background: var(--ink); color: var(--paper); }
.btn--fill:hover { background: var(--signal); border-color: var(--signal); color: #fff; }

.btn--sm { padding: 8px 15px; font-size: 10px; }

.btn--block { width: 100%; justify-content: center; }

/* ---------- 4. NAV ------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--nav-h);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--rule);
}

.nav__in {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }

.brand__mark {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: var(--pixel);
  font-size: 9px;
  letter-spacing: -0.04em;
  line-height: 1;
  padding-top: 1px;
}

.brand__name {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand__name span { color: var(--ink-3); font-weight: 400; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.nav__links a {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color var(--t), border-color var(--t);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--signal); }

.nav__cta { display: flex; gap: 8px; flex: 0 0 auto; }

.nav__burger {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  padding: 7px 11px;
  cursor: pointer;
}

@media (max-width: 1080px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }

  /* Open state: the bar grows and the panel lives in normal flow, so the
     links and the call-to-action can never overlap at any content height. */
  .nav--open {
    height: auto;
    background: var(--paper);
  }
  .nav--open .nav__in {
    height: auto;
    flex-wrap: wrap;
    padding-top: 12px;
    padding-bottom: 16px;
  }
  .nav--open .nav__links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    order: 3;
    margin: 6px 0 0;
  }
  .nav--open .nav__links a {
    width: 100%;
    padding: 13px 0;
    font-size: 12px;
    border-bottom: 1px solid var(--rule-soft);
  }
  .nav--open .nav__cta {
    display: flex;
    width: 100%;
    order: 4;
    margin-top: 14px;
  }
  .nav--open .nav__cta .btn { flex: 1; justify-content: center; }
}

/* ---------- 5. TICKER ---------------------------------------------------- */

.ticker {
  height: var(--ticker-h);
  border-bottom: 1px solid var(--rule);
  background: var(--paper-2);
  overflow: hidden;
  display: flex;
  align-items: center;
  position: relative;
}

.ticker__track {
  display: flex;
  flex: 0 0 auto;
  animation: ticker 46s linear infinite;
  will-change: transform;
}

.ticker:hover .ticker__track { animation-play-state: paused; }

.ticker__group { display: flex; flex: 0 0 auto; }

.ticker__item {
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
  white-space: nowrap;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.ticker__item::after {
  content: "+";
  color: var(--signal);
  font-size: 11px;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
}

/* ---------- 6. HERO ------------------------------------------------------ */

.hero { padding: clamp(36px, 6vw, 74px) 0 clamp(30px, 5vw, 56px); }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.88fr);
  gap: clamp(26px, 4vw, 58px);
  align-items: start;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: clamp(18px, 3vw, 30px);
  flex-wrap: wrap;
}

.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--signal);
  flex: 0 0 auto;
}
.dot--live { animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.35; transform: scale(0.8); }
}

.hero__title {
  font-family: var(--pixel);
  font-weight: 700;
  font-size: clamp(29px, 5.25vw, 74px);
  line-height: 0.98;
  letter-spacing: -0.01em;
  margin: 0 0 clamp(18px, 2.4vw, 28px);
  text-transform: uppercase;
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: none;
}
.hero__title em { font-style: normal; color: var(--signal); }

.hero__lede {
  font-size: clamp(13px, 1.15vw, 15px);
  line-height: 1.72;
  color: var(--ink-2);
  max-width: 54ch;
  margin: 0 0 22px;
}
.hero__lede strong { color: var(--ink); font-weight: 700; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: clamp(26px, 4vw, 44px);
}

.contactline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px clamp(16px, 3vw, 40px);
  padding-top: 20px;
  border-top: 1px solid var(--rule);
}
@media (max-width: 520px) { .contactline { grid-template-columns: 1fr 1fr; } }
.contactline dt { font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.contactline dd { margin: 0; font-size: 13px; }
.contactline dd a { border-bottom: 1px solid var(--rule); transition: border-color var(--t), color var(--t); }
.contactline dd a:hover { color: var(--signal); border-bottom-color: var(--signal); }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
}

/* ---------- 7. STAT STRIP ------------------------------------------------ */

.stats {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper-2);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: clamp(20px, 2.6vw, 30px) clamp(14px, 2vw, 26px);
  border-left: 1px solid var(--rule);
}
.stat:first-child { border-left: 0; }

.stat__k { font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.stat__v {
  font-family: var(--pixel);
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1.1;
  margin: 8px 0 6px;
}
.stat__n { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); line-height: 1.5; }

@media (max-width: 820px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--rule); }
}

/* ---------- 8. SECTIONS -------------------------------------------------- */

.section { padding: clamp(52px, 7vw, 104px) 0; border-top: 1px solid var(--rule); }
.section--flush { border-top: 0; }
.section--tint { background: var(--paper-2); }

.section__head {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: clamp(14px, 3vw, 40px);
  align-items: start;
  margin-bottom: clamp(30px, 4vw, 54px);
}

.section__num {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--signal);
  padding-top: 6px;
}

.section__title {
  font-family: var(--pixel);
  font-size: clamp(22px, 3.6vw, 42px);
  line-height: 1.06;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.section__sub {
  font-size: 13px;
  color: var(--ink-2);
  max-width: 68ch;
  margin: 0;
  line-height: 1.7;
}

@media (max-width: 700px) {
  .section__head { grid-template-columns: 1fr; gap: 8px; }
  .section__num { padding-top: 0; }
}

/* ---------- 9. CAPABILITY ROWS ------------------------------------------ */

.caps { border-top: 1px solid var(--rule); }

.cap {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) minmax(0, 1.35fr);
  gap: clamp(14px, 3vw, 40px);
  padding: clamp(24px, 3.2vw, 38px) 0;
  border-bottom: 1px solid var(--rule);
  transition: background var(--t);
}
.cap:hover { background: var(--card); }

.cap__num { font-size: 10px; letter-spacing: 0.14em; color: var(--signal); }

.cap__title {
  font-size: clamp(17px, 1.8vw, 23px);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.cap__for {
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  line-height: 1.6;
}

.cap__body { font-size: 13px; color: var(--ink-2); margin: 0 0 16px; line-height: 1.72; }
.cap__body strong { color: var(--ink); }

@media (max-width: 860px) {
  .cap { grid-template-columns: 1fr; gap: 10px; }
}

/* ---------- 10. PROJECT CARDS ------------------------------------------- */

.projects { display: grid; gap: 0; border-top: 1px solid var(--rule); }

.project {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) minmax(0, 1.45fr) 128px;
  gap: clamp(14px, 2.6vw, 36px);
  padding: clamp(26px, 3.4vw, 40px) 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
  transition: background var(--t);
}
.project:hover { background: var(--card); }

.project__num { font-size: 10px; letter-spacing: 0.14em; color: var(--signal); padding-top: 4px; }

.project__name {
  font-family: var(--pixel);
  font-size: clamp(18px, 2.2vw, 27px);
  line-height: 1.08;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.project__meta {
  font-size: 9.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-3);
  line-height: 1.7;
  margin-bottom: 12px;
}

.project__tagline {
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.5;
}

.project__body { font-size: 12.5px; color: var(--ink-2); margin: 0 0 14px; line-height: 1.72; }
.project__body + .project__body { margin-top: -4px; }
.project__body strong { color: var(--ink); font-weight: 700; }

.project__links { display: flex; flex-direction: column; gap: 7px; padding-top: 4px; }

.linkout {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 9.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 7px 10px;
  transition: border-color var(--t), background var(--t), color var(--t);
}
.linkout:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.linkout--muted { color: var(--ink-3); border-style: dashed; pointer-events: none; }

@media (max-width: 1000px) {
  .project { grid-template-columns: 86px minmax(0, 1fr); }
  .project__links { grid-column: 2; flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .project { grid-template-columns: 1fr; gap: 10px; }
  .project__links { grid-column: 1; }
}

/* ---------- 11. PUBLICATIONS -------------------------------------------- */

.pubs { border-top: 1px solid var(--rule); }

.pub {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) 150px;
  gap: clamp(14px, 3vw, 36px);
  padding: clamp(22px, 2.8vw, 32px) 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
  transition: background var(--t);
}
.pub:hover { background: var(--card); }

.pub__year { font-family: var(--pixel); font-size: 16px; color: var(--signal); }

.pub__title {
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 700;
  line-height: 1.42;
  margin: 0 0 8px;
  letter-spacing: -0.005em;
}

.pub__authors { font-size: 12px; color: var(--ink-2); margin: 0 0 8px; line-height: 1.6; }
.pub__authors b { color: var(--ink); font-weight: 700; border-bottom: 1px solid var(--signal); }

.pub__venue { font-size: 9.5px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--ink-3); }

.pub__note { font-size: 12px; color: var(--ink-2); margin: 10px 0 0; line-height: 1.7; }

.pub__links { display: flex; flex-direction: column; gap: 6px; padding-top: 3px; }

@media (max-width: 860px) {
  .pub { grid-template-columns: 60px minmax(0, 1fr); }
  .pub__links { grid-column: 2; flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .pub { grid-template-columns: 1fr; gap: 8px; }
  .pub__links { grid-column: 1; }
}

/* ---------- 12. TIMELINE ------------------------------------------------- */

.timeline { border-top: 1px solid var(--rule); }

.tl {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: clamp(14px, 3vw, 40px);
  padding: clamp(22px, 2.8vw, 32px) 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}

.tl__when { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--signal); padding-top: 4px; }
.tl__what { font-size: clamp(15px, 1.6vw, 19px); font-weight: 700; margin: 0 0 5px; line-height: 1.32; }
.tl__where { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 10px; }
.tl__body { font-size: 12.5px; color: var(--ink-2); margin: 0 0 12px; line-height: 1.72; }

@media (max-width: 700px) { .tl { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- 13. PANELS / FORM ------------------------------------------- */

.panel {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: clamp(20px, 2.6vw, 30px);
}

.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.panel__title { font-size: 16px; font-weight: 700; margin: 0; letter-spacing: -0.01em; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 4px 10px 3px;
}

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
@media (max-width: 520px) { .form__row { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }

.field > label {
  font-size: 9.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.field input,
.field select,
.field textarea {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 11px 12px;
  width: 100%;
  transition: border-color var(--t), background var(--t);
}
.field textarea { resize: vertical; min-height: 108px; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--card);
}

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%),
                    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 34px;
}

.form__foot {
  font-size: 9.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: center;
  margin-top: 12px;
}

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__status {
  font-size: 12px;
  line-height: 1.6;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px dashed var(--rule);
  border-radius: var(--radius);
  color: var(--ink-2);
}
.form__status[hidden] { display: none !important; }
.form__status--ok { border-color: var(--signal); border-style: solid; background: var(--signal-soft); color: var(--ink); }
.form__status--err { border-color: var(--signal); color: var(--ink); }

/* ---------- 14. RECEIPT -------------------------------------------------- */

.receipt {
  background: var(--card);
  border: 1px solid var(--rule);
  padding: clamp(20px, 2.6vw, 28px);
  font-size: 11.5px;
  line-height: 1.9;
  position: relative;
}

.receipt::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -9px;
  height: 9px;
  background:
    repeating-linear-gradient(135deg, var(--card) 0 6px, transparent 6px 12px);
  filter: drop-shadow(0 1px 0 var(--rule));
}

.receipt__head {
  text-align: center;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px dashed var(--rule);
}
.receipt__head h3 {
  font-family: var(--pixel);
  font-size: 15px;
  margin: 0 0 6px;
  letter-spacing: 0.04em;
}
.receipt__head p { margin: 0; font-size: 9.5px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-3); }

.receipt__line {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px dotted var(--rule-soft);
  padding: 3px 0;
}
.receipt__line span:first-child { color: var(--ink-3); text-transform: uppercase; font-size: 9.5px; letter-spacing: 0.12em; }
.receipt__line span:last-child { text-align: right; }

.receipt__total {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--rule);
  font-weight: 700;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.receipt__foot {
  text-align: center;
  margin-top: 16px;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ---------- 15. GENERIC GRIDS ------------------------------------------- */

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 30px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 30px); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }

@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* stack cards ------------------------------------------------------------- */

.stackcard {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: clamp(18px, 2.2vw, 24px);
  background: var(--card);
}
.stackcard h3 {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
  color: var(--signal);
}
.stackcard ul { margin: 0; padding: 0; list-style: none; }
.stackcard li {
  font-size: 12px;
  color: var(--ink-2);
  padding: 5px 0 5px 16px;
  position: relative;
  line-height: 1.6;
}
.stackcard li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--ink-3);
}
.stackcard li b { color: var(--ink); font-weight: 700; }

/* bullet list ------------------------------------------------------------- */

.blist { margin: 0; padding: 0; list-style: none; }
.blist li {
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.72;
  padding: 6px 0 6px 20px;
  position: relative;
  border-bottom: 1px solid var(--rule-soft);
}
.blist li:last-child { border-bottom: 0; }
.blist li::before {
  content: "▸";
  position: absolute;
  left: 2px;
  color: var(--signal);
  font-size: 10px;
  top: 8px;
}
.blist li b { color: var(--ink); font-weight: 700; }

/* callout ----------------------------------------------------------------- */

.callout {
  border-left: 2px solid var(--signal);
  padding: 4px 0 4px 18px;
  margin: 22px 0;
  font-size: 13px;
  line-height: 1.72;
  color: var(--ink-2);
}
.callout b { color: var(--ink); }

/* ---------- 16. CTA BAND ------------------------------------------------- */

.cta {
  border-top: 1px solid var(--rule);
  background: var(--ink);
  color: var(--paper);
  padding: clamp(46px, 6vw, 80px) 0;
}

.cta__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 4vw, 48px);
  flex-wrap: wrap;
}

.cta__title {
  font-family: var(--pixel);
  font-size: clamp(22px, 4vw, 46px);
  line-height: 1.04;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.cta__sub { font-size: 13px; color: color-mix(in srgb, var(--paper) 66%, transparent); margin: 0; max-width: 52ch; line-height: 1.7; }

.cta .btn {
  border-color: var(--paper);
  color: var(--paper);
}
.cta .btn:hover { background: var(--paper); color: var(--ink); }
.cta .btn--fill { background: var(--paper); color: var(--ink); }
.cta .btn--fill:hover { background: var(--signal); border-color: var(--signal); color: #fff; }

/* ---------- 17. FOOTER --------------------------------------------------- */

.footer { border-top: 1px solid var(--rule); padding: clamp(38px, 4.6vw, 60px) 0 28px; background: var(--paper-2); }

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  margin-bottom: clamp(30px, 4vw, 48px);
}
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

.footer h4 {
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 14px;
}
.footer ul { margin: 0; padding: 0; list-style: none; }
.footer li { margin-bottom: 8px; }
.footer li a { font-size: 12px; color: var(--ink-2); transition: color var(--t); }
.footer li a:hover { color: var(--signal); }

.footer__blurb { font-size: 12px; color: var(--ink-2); line-height: 1.72; max-width: 40ch; margin: 14px 0 0; }

.footer__bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  font-size: 9.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ---------- 18. REVEAL --------------------------------------------------- */

.rv { opacity: 0; transform: translateY(12px); transition: opacity 520ms ease, transform 520ms cubic-bezier(0.2, 0.7, 0.3, 1); }
.rv.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; }
}

/* ---------- 19. PRINT ---------------------------------------------------- */

@media print {
  .nav, .ticker, .cta, .footer, .hero__actions, .form, .btn { display: none !important; }
  body { background: #fff; color: #000; font-size: 10pt; }
  .section { padding: 12pt 0; border-top: 1px solid #999; }
  a { text-decoration: underline; }
}

/* ---------- 20. NARROW-SCREEN NAV TRIM ----------------------------------
   Keep the brand and the menu button on one row on small phones. */

@media (max-width: 560px) {
  .nav__in { gap: 12px; }
  .brand__name { font-size: 10.5px; letter-spacing: 0.14em; }
  .brand__name span { display: none; }
}
