/* ===== SELF-HOSTED FONTS (no third-party request) ===== */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/newsreader-300.woff2') format('woff2');
}

@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/newsreader-300-italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/instrumentsans-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/instrumentsans-500.woff2') format('woff2');
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/ibmplexmono-400.woff2') format('woff2');
}


/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* ---- warm monochrome. no accent colour anywhere. ---- */
  --ground:      #17150F;
  --raised:      #211E17;
  --raised-hi:   #2A2620;

  --ink:         #EDEBE5;
  --ink-2:       #C9C5BC;
  --ink-3:       #8A867C;
  --ink-4:       #6E6A61;
  --ink-5:       #57534B;

  --rule:        rgba(237, 235, 229, 0.10);
  --rule-soft:   rgba(237, 235, 229, 0.055);
  --rule-strong: rgba(237, 235, 229, 0.20);
  --wash:        rgba(237, 235, 229, 0.02);

  --scrim-rgb:   12, 11, 9;
  --ink-rgb:     237, 235, 229;

  /* status is the one place a hue is allowed, and only as a 7px dot */
  --live:        #7E9B6E;
  --live-rgb:    126, 155, 110;

  --radius:      3px;

  --font:        'Instrument Sans', system-ui, -apple-system, sans-serif;
  --font-serif:  'Newsreader', Georgia, 'Times New Roman', serif;
  --font-mono:   'IBM Plex Mono', ui-monospace, SFMono-Regular, monospace;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  font-family: var(--font);
  background: var(--ground);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--ink); text-decoration: none; }
a:hover { color: #FFFFFF; }

::selection { background: rgba(var(--ink-rgb), 0.18); color: #FFFFFF; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 120px;
}

section { padding: 150px 0; position: relative; }


/* ===== SCROLL ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--delay, 0ms);
}

.fade-up.visible { opacity: 1; transform: translateY(0); }


/* ===== SCROLL PROGRESS ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 1px;
  width: 100%;
  transform-origin: left center;
  transform: scaleX(var(--page-progress, 0));
  background: var(--ink-3);
  z-index: 200;
  pointer-events: none;
}


/* ===== TYPOGRAPHY PRIMITIVES ===== */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-4);
}

.rule-label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-5);
}

.serif {
  font-family: var(--font-serif);
  font-weight: 300;
  letter-spacing: -0.02em;
}


/* ===== NAV ===== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 26px 0;
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}

#navbar.scrolled {
  background: rgba(var(--scrim-rgb), 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--rule);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-mark { display: flex; align-items: center; padding: 5px; margin: -5px; }

.nav-mark img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: block;
  object-fit: cover;
  filter: grayscale(1) contrast(1.06) brightness(0.94);
  border: 1px solid var(--rule);
  transition: transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
              filter 0.4s ease, border-color 0.4s ease;
}

.nav-mark:hover img {
  transform: rotate(360deg);
  filter: grayscale(0.15) contrast(1) brightness(1);
  border-color: var(--rule-strong);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
  list-style: none;
}

.nav-links a {
  font-size: 0.94rem;
  color: var(--ink-3);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--ink); }


/* ===== HERO ===== */
#hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 150px 0 110px;
}

#hero h1 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 5.2vw, 4.25rem);
  line-height: 1.14;
  letter-spacing: -0.022em;
  color: var(--ink);
  max-width: 15.5ch;
  text-wrap: pretty;
}

#hero h1 em { font-style: italic; }

.hero-sub {
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--ink-3);
  max-width: 46ch;
  margin-top: 2.6rem;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-top: 3rem;
}

.btn-primary,
.btn-secondary {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 26px;
  border-radius: var(--radius);
  transition: background 0.22s, border-color 0.22s, color 0.22s;
}

.btn-primary {
  background: var(--ink);
  color: var(--ground);
  border: 1px solid var(--ink);
}

.btn-primary:hover { background: #FFFFFF; border-color: #FFFFFF; color: var(--ground); }

.btn-secondary {
  border: 1px solid var(--rule-strong);
  color: var(--ink-3);
}

.btn-secondary:hover { border-color: var(--ink-3); color: var(--ink); }


/* ===== SECTION HEADERS ===== */
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid var(--rule);
}

.section-header h2 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(1.9rem, 3.2vw, 2.9rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  max-width: 20ch;
  text-wrap: pretty;
}

.section-header h2 em { font-style: italic; }

.section-lead { margin-top: 2.6rem; }


/* ===== FEATURED WORK ===== */
.featured {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
  margin-top: 2.8rem;
}

.feature {
  position: relative;
  display: block;
  height: 440px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #0F0E0C;
}

.feature-media,
.feature video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.72) brightness(0.6) contrast(1.05);
  transition: filter 0.6s ease, transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.feature video { opacity: 0; transition: opacity 0.6s ease, filter 0.6s ease, transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1); }
.feature video.is-ready { opacity: 1; }

.feature:hover .feature-media,
.feature:hover video.is-ready {
  filter: grayscale(0.28) brightness(0.72) contrast(1.05);
  transform: scale(1.025);
}

.feature-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(var(--scrim-rgb), 0.95) 0%,
    rgba(var(--scrim-rgb), 0.32) 54%,
    rgba(var(--scrim-rgb), 0) 100%);
}

.feature-body {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 32px;
}

.feature-tag {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #97928A;
  margin-bottom: 0.8rem;
}

.feature h3 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 1.85rem;
  letter-spacing: -0.015em;
  color: #F3F1EB;
}

.feature p {
  font-size: 0.94rem;
  line-height: 1.6;
  color: #9B968C;
  margin-top: 0.6rem;
  max-width: 40ch;
}


/* ===== WORK INDEX ===== */
.index { margin-top: 5rem; }

.index-row {
  display: block;
  padding: 30px 0;
  border-top: 1px solid var(--rule);
  transition: opacity 0.25s;
}

.index:last-child .index-row:last-of-type { border-bottom: 1px solid var(--rule); }

.index-grid {
  display: grid;
  grid-template-columns: 54px 34px minmax(0, 1fr) 210px 200px 24px;
  gap: 24px;
  align-items: center;
}

.index-no {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--ink-5);
}

.index-logo {
  width: 26px;
  height: 26px;
  border-radius: 5px;
  overflow: hidden;
  background: rgba(var(--ink-rgb), 0.06);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.index-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(1) brightness(1.25) opacity(0.62);
  transition: filter 0.28s;
}

.index-row:hover .index-logo img { filter: grayscale(0) brightness(1) opacity(1); }

.index-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 1.72rem;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.2;
}

.index-org,
.index-metric {
  font-size: 0.9rem;
  color: var(--ink-3);
}

.index-arrow {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  color: var(--ink-5);
  text-align: right;
  transition: transform 0.25s, color 0.25s;
}

.index-row:hover .index-arrow { color: var(--ink-3); transform: translateX(3px); }

.index-note {
  margin-top: 2.6rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--ink-5);
}


/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 90px;
  padding-top: 2.6rem;
  border-top: 1px solid var(--rule);
}

.contact-lead {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  max-width: 22ch;
  text-wrap: pretty;
}

.contact-lead em { font-style: italic; }

.contact-links {
  display: flex;
  flex-direction: column;
  margin-top: 2.6rem;
}

.contact-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  padding: 20px 0;
  border-top: 1px solid var(--rule-soft);
  font-size: 1.02rem;
  color: var(--ink-2);
  transition: color 0.2s;
}

.contact-item:last-child { border-bottom: 1px solid var(--rule-soft); }
.contact-item:hover { color: var(--ink); }

.contact-item span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-5);
}


/* ===== FOOTER ===== */
footer {
  padding: 2.4rem 0 3rem;
  border-top: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--ink-5);
  text-align: center;
}


/* ===== LOCKED PROJECT DETAILS ===== */
.lock-chip {
  display: inline-grid;
  place-items: center;
  color: var(--ink-5);
  transition: color 0.25s;
}

.lock-chip svg { width: 15px; height: 15px; display: block; }
.index-row:hover .lock-chip { color: var(--ink-3); }

.index-row.is-locked,
.index-row.is-locked * {
  cursor: url("images/cursor-lock.png") 16 16, pointer;
}

.lock-modal {
  margin: auto;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  background: var(--raised);
  color: var(--ink);
  padding: 0;
  max-width: 360px;
  width: calc(100% - 2.5rem);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.6);
}

.lock-modal::backdrop {
  background: rgba(var(--scrim-rgb), 0.76);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.lock-modal-inner { padding: 2.2rem 1.9rem 1.7rem; text-align: center; }

.lock-modal-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--rule-strong);
  color: var(--ink-3);
  margin-bottom: 1.1rem;
}

.lock-modal-icon svg { width: 20px; height: 20px; }

.lock-modal h2 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 1.55rem;
  letter-spacing: -0.015em;
  margin-bottom: 1.3rem;
}

.lock-modal-input {
  width: 100%;
  padding: 0.72rem 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--ink);
  background: var(--ground);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}

.lock-modal-input::placeholder { color: var(--ink-5); }
.lock-modal-input:focus { outline: none; border-color: var(--ink-3); }

.lock-modal-msg {
  min-height: 1.1em;
  margin-top: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}

.lock-modal-actions { display: flex; gap: 0.6rem; margin-top: 1rem; }

.lock-modal-actions button {
  flex: 1;
  padding: 0.68rem 1rem;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.lock-modal-cancel {
  background: transparent;
  border: 1px solid var(--rule-strong);
  color: var(--ink-3);
}

.lock-modal-cancel:hover { color: var(--ink); border-color: var(--ink-5); }

.lock-modal-go {
  background: var(--ink);
  border: 1px solid var(--ink);
  color: var(--ground);
}

.lock-modal-go:hover { background: #FFFFFF; border-color: #FFFFFF; }


/* ===== FOCUS / SCROLLBAR ===== */
:focus-visible {
  outline: 1px solid var(--ink-3);
  outline-offset: 3px;
  border-radius: 2px;
}

:focus:not(:focus-visible) { outline: none; }

* { scrollbar-width: thin; scrollbar-color: rgba(var(--ink-rgb), 0.14) transparent; }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: var(--ground); }
::-webkit-scrollbar-thumb {
  background: rgba(var(--ink-rgb), 0.12);
  border-radius: 100px;
  border: 2px solid var(--ground);
}
::-webkit-scrollbar-thumb:hover { background: rgba(var(--ink-rgb), 0.2); }


/* ===== RESPONSIVE ===== */
@media (max-width: 1080px) {
  .container, .nav-inner { padding: 0 64px; }
  .about-band,   .index-grid { grid-template-columns: 44px 30px minmax(0, 1fr) 24px; }
  .index-org, .index-metric { display: none; }
}

@media (max-width: 820px) {
  section { padding: 100px 0; }
  .featured { grid-template-columns: 1fr; }
  .feature { height: 340px; }
    }

@media (max-width: 600px) {
  .container, .nav-inner { padding: 0 24px; }
  #hero { padding: 110px 0 80px; }
  .nav-links { gap: 1.2rem; }
  .nav-links a { font-size: 0.82rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-secondary { text-align: center; }
      .about-facts { grid-template-columns: 1fr; gap: 1.2rem; }
  .index-title { font-size: 1.4rem; }
      .contact-item { flex-direction: column; gap: 0.3rem; align-items: flex-start; }
}


/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-up { opacity: 1; transform: none; transition: none; }
    .scroll-progress { display: none; }
  .feature video { opacity: 1; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===== MOBILE NAV ===== */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  cursor: pointer;
  padding: 12px;
  margin-right: -12px;
  min-height: 44px;
}

.nav-toggle:hover { color: var(--ink); }

@media (max-width: 700px) {
  .nav-toggle { display: block; }

  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--ground);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    padding: 0 24px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 90;
  }

  .nav-links li { width: 100%; border-bottom: 1px solid var(--rule-soft); }
  .nav-links li:first-child { border-top: 1px solid var(--rule-soft); }

  .nav-links a {
    display: flex;
    align-items: center;
    min-height: 64px;
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: 1.9rem;
    letter-spacing: -0.015em;
    color: var(--ink);
  }

  body.nav-open .nav-links { opacity: 1; pointer-events: auto; transform: translateY(0); }
  body.nav-open { overflow: hidden; }
  /* backdrop-filter makes the navbar the containing block for fixed children,
     which clipped the full-screen menu to the bar once the page was scrolled */
  body.nav-open #navbar { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav-toggle { position: relative; z-index: 95; }
}

/* ===== GENERATED TILE ARTWORK =====
   Amex product UI can't be shown, so these are original abstractions of what
   each product does — P2P value transfer, and enterprise program management. */
.feature-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.feature-art .art-ground { fill: #12110D; }
.feature-art .art-plate  { fill: rgba(237, 235, 229, 0.045); }
.feature-art .art-plate-2{ fill: rgba(237, 235, 229, 0.075); }
.feature-art .art-line   { stroke: rgba(237, 235, 229, 0.20); fill: none; }
.feature-art .art-line-2 { stroke: rgba(237, 235, 229, 0.11); fill: none; }
.feature-art .art-solid  { fill: rgba(237, 235, 229, 0.30); }
.feature-art .art-bright { fill: rgba(237, 235, 229, 0.62); }
.feature-art .art-dim    { fill: rgba(237, 235, 229, 0.14); }

.feature-art .art-flow {
  stroke: rgba(237, 235, 229, 0.42);
  stroke-width: 1.4;
  fill: none;
  stroke-dasharray: 5 12;
  animation: artFlow 3.4s linear infinite;
}

.feature-art .art-flow-b { animation-delay: -1.7s; }

@keyframes artFlow { to { stroke-dashoffset: -34; } }

.feature:hover .feature-art .art-bright { fill: rgba(237, 235, 229, 0.85); }

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

/* ===== CONTACT FORM ===== */
.contact-cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}

.contact-copy {
  font-size: 1rem;
  line-height: 1.72;
  color: var(--ink-3);
  max-width: 46ch;
  margin-top: 1.4rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.field { display: flex; flex-direction: column; gap: 0.55rem; }

.field > span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-5);
}

.field input,
.field textarea {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  transition: border-color 0.2s;
  width: 100%;
  min-height: 44px;
}

.field textarea { resize: vertical; }

.field input::placeholder,
.field textarea::placeholder { color: var(--ink-5); }

.field input:focus,
.field textarea:focus { outline: none; border-color: var(--ink-3); }

.contact-submit {
  align-self: flex-start;
  border: none;
  cursor: pointer;
  font-family: var(--font-mono);
  margin-top: 0.4rem;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .contact-cols { grid-template-columns: 1fr; gap: 3rem; }
}

/* text inside generated tile artwork */
.feature-art text { font-family: var(--font-mono); }
.feature-art .art-amount { font-family: var(--font-serif); font-weight: 300; fill: rgba(237,235,229,0.88); }
.feature-art .art-t      { fill: rgba(237,235,229,0.55); letter-spacing: 0.12em; }
.feature-art .art-t-dim  { fill: rgba(237,235,229,0.32); letter-spacing: 0.1em; }
.feature-art .art-t-in   { fill: rgba(237,235,229,0.78); }

/* ===== IMPACT ===== */
.impact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.impact-header { border-bottom: none; padding-bottom: 0; }

.impact-copy {
  font-size: 1.02rem;
  line-height: 1.72;
  color: var(--ink-3);
  max-width: 48ch;
  margin-top: 1.8rem;
}

.impact-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.6rem 3rem;
  margin-top: 3.4rem;
  padding-top: 2.6rem;
  border-top: 1px solid var(--rule);
}

.impact-stat dt {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 2.8rem;
  letter-spacing: -0.025em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
}

.impact-stat dd {
  margin: 0.7rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-4);
}



@media (max-width: 1080px) {
  .impact-grid { grid-template-columns: 1fr; gap: 3rem; }
  }

@media (max-width: 600px) {
  .impact-stats { gap: 2rem; }
  .impact-stat dt { font-size: 2.2rem; }


  .feature-body { left: 22px; right: 22px; bottom: 24px; }
  .feature h3 { font-size: 1.6rem; }
  /* the copy covers most of a phone-sized tile, so the scrim has to reach higher */
  .feature-scrim {
    background: linear-gradient(to top,
      rgba(var(--scrim-rgb), 0.96) 0%,
      rgba(var(--scrim-rgb), 0.78) 55%,
      rgba(var(--scrim-rgb), 0.2) 100%);
  }
}

/* password fields at 16px on touch screens so iOS doesn't zoom on focus */
@media (pointer: coarse) {
  .lock-modal-input, .page-lock-input { font-size: 16px; }
}


/* ===== HERO: ABOUT FOLDED IN ===== */
.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 72px;
  margin-top: 2.8rem;
  padding-top: 2.6rem;
  border-top: 1px solid var(--rule);
}

.hero-lede p {
  font-size: 1.02rem;
  line-height: 1.72;
  color: var(--ink-3);
  max-width: 56ch;
  margin-bottom: 1.1rem;
}

.hero-lede p:last-child { margin-bottom: 0; }
.hero-lede p strong { color: var(--ink-2); font-weight: 500; }

.about-facts {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-facts dt {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-5);
  margin-bottom: 0.4rem;
}

.about-facts dd { font-size: 0.88rem; line-height: 1.55; color: var(--ink-3); }

@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; gap: 2.4rem; }
}
@media (max-width: 820px) { .impact-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ===== HEADLINE TYPEWRITER ===== */
.tw { font-style: italic; }

.tw-caret {
  display: inline-block;
  width: 0.055em;
  height: 0.78em;
  margin-left: 0.06em;
  background: var(--ink-3);
  vertical-align: baseline;
  animation: twBlink 1.05s steps(1) infinite;
}

@keyframes twBlink { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .tw-caret { display: none; }
}

/* ===== FOOTER SOCIAL ===== */
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-social { display: flex; align-items: center; gap: 0.35rem; }

.footer-social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  color: var(--ink-5);
  transition: color 0.22s, background 0.22s;
}

.footer-social a:hover { color: var(--ink); background: var(--wash); }
.footer-social svg { width: 17px; height: 17px; display: block; }

@media (max-width: 600px) {
  .footer-inner { flex-direction: column; gap: 1.2rem; text-align: center; }
}

/* ===== PAGE-LEVEL LOCK ===== */
.page-lock {
  margin-top: 5rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 3.4rem 3rem;
  background: var(--wash);
  max-width: 640px;
}

.page-lock svg { width: 22px; height: 22px; color: var(--ink-3); display: block; margin-bottom: 1.3rem; }

.page-lock h3 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 1.6rem;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.page-lock > p {
  font-size: 0.98rem;
  line-height: 1.68;
  color: var(--ink-3);
  max-width: 46ch;
  margin: 0.8rem 0 1.8rem;
}

.page-lock-form { display: flex; gap: 0.6rem; max-width: 380px; }

.page-lock-input {
  flex-grow: 1;
  min-width: 0;
  padding: 0.75rem 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--ink);
  background: var(--ground);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
}

.page-lock-input::placeholder { color: var(--ink-5); }
.page-lock-input:focus { outline: none; border-color: var(--ink-3); }

.page-lock-form button {
  flex-shrink: 0;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--ground);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}

.page-lock-form button:hover { background: #FFFFFF; }

.page-lock-msg {
  min-height: 1.1em;
  margin-top: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-3);
}

/* trademark marks sit small and high, never scaling with the display type */
.tm {
  font-family: var(--font);
  font-size: 0.32em;
  font-weight: 400;
  top: -0.85em;
  margin-left: 0.12em;
  color: var(--ink-4);
  vertical-align: super;
  line-height: 0;
}

/* ===== LOCKED TILES ===== */
.feature.is-locked,
.feature.is-locked * {
  cursor: url("images/cursor-lock.png") 16 16, pointer;
}

.feature.is-locked .feature-tag::after {
  content: '';
  width: 13px;
  height: 13px;
  margin-left: 2px;
  background: currentColor;
  opacity: 0.75;
  -webkit-mask: url("images/cursor-lock.png") center / contain no-repeat;
  mask: url("images/cursor-lock.png") center / contain no-repeat;
}

/* ===== SMALL SCREENS: LABEL LEGIBILITY =====
   Last in the file so it wins over the base rules above — the mono
   micro-labels sit below 11px at desktop sizes. */
@media (max-width: 900px) {
  .rule-label, .feature-tag, .contact-item span, .field > span,
  .impact-stat dd, .about-facts dt { font-size: 0.7rem; }
}
