/* ==========================================================================
   Quiet Revolt Media Group - public site
   Brand rules (QRMG Brand Guidelines, via Website Framework & Developer Brief):
   black field, red signal, white clarity, no soft gradients,
   deliberate rather than frenetic motion.
   Type: Poppins substitutes licensed Gotham site-wide. The master logo is a
   locked asset and is used exactly as supplied, in its own typeface.
   ========================================================================== */

:root {
  --black: #101820;
  --black-deep: #0a0e13;
  --black-lift: #161f29;
  --red: #c10230;
  --red-bright: #e10a3a;
  --ivory: #d6d1c4;
  --muted: #a49f95;
  --white: #fff;
  --line: rgba(214, 209, 196, 0.16);
  --line-soft: rgba(214, 209, 196, 0.08);
  --chip: #f4f2ed;

  --font: "Poppins", system-ui, -apple-system, sans-serif;

  --shell: 1440px;
  --gut: clamp(1.25rem, 4vw, 4.5rem);
  --header-h: 92px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
  margin: 0;
  background: var(--black);
  color: var(--ivory);
  font-family: var(--font);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5 {
  margin: 0;
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--white);
}

p { margin: 0; }

::selection { background: var(--red); color: var(--white); }

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

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--red);
  color: var(--white);
  padding: 0.85rem 1.4rem;
  font-weight: 600;
  z-index: 200;
}
.skip:focus { left: 0; }

/* --------------------------------------------------------------- primitives */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--red);
  flex: none;
}

.h-display {
  font-size: clamp(2.6rem, 7.6vw, 6.2rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.035em;
}

.h-section {
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  font-weight: 600;
  text-transform: uppercase;
}

.lede {
  font-size: clamp(1.02rem, 1.35vw, 1.2rem);
  color: var(--ivory);
  line-height: 1.7;
  max-width: 62ch;
}

.muted { color: var(--muted); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  padding: 1.02rem 1.7rem;
  border: 1px solid var(--line);
  color: var(--white);
  background: transparent;
  cursor: pointer;
  font-family: var(--font);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease),
              color 0.35s var(--ease);
}
.btn:hover { background: var(--white); border-color: var(--white); color: var(--black); }
.btn--signal { background: var(--red); border-color: var(--red); }
.btn--signal:hover { background: var(--red-bright); border-color: var(--red-bright); color: var(--white); }
.btn .arw { transition: transform 0.35s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }

.rule {
  height: 1px;
  background: var(--line-soft);
  border: 0;
  margin: 0;
}

/* ------------------------------------------------------------------- header */

.hdr {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.hdr.is-stuck {
  background: rgba(16, 24, 32, 0.94);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
}
.hdr__in {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gut);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.hdr__logo img { height: 46px; width: auto; }

.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav__link {
  position: relative;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ivory);
  padding-block: 0.4rem;
  transition: color 0.3s var(--ease);
  white-space: nowrap;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.35s var(--ease);
}
.nav__link:hover { color: var(--white); }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { width: 100%; }
.nav__link[aria-current="page"] { color: var(--white); }

.nav__group { position: relative; }
.nav__panel {
  position: absolute;
  top: calc(100% + 0.9rem);
  left: -1.1rem;
  min-width: 250px;
  background: var(--black-lift);
  border: 1px solid var(--line-soft);
  padding: 0.55rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.nav__group:hover .nav__panel,
.nav__group:focus-within .nav__panel {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.nav__panel a {
  display: block;
  padding: 0.68rem 0.9rem;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--ivory);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.nav__panel a:hover { background: rgba(193, 2, 48, 0.16); color: var(--white); }

.hdr__cta { display: inline-flex; }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--white);
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--black);
  padding: calc(var(--header-h) + 2rem) var(--gut) 3rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.drawer.is-open { opacity: 1; visibility: visible; }
.drawer a {
  display: block;
  font-size: 1.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--white);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.drawer a.sub {
  font-size: 0.95rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.03em;
  color: var(--muted);
  padding-left: 1.2rem;
}

/* --------------------------------------------------------------------- hero */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-block: calc(var(--header-h) + 3rem) clamp(2.5rem, 6vh, 4.5rem);
  overflow: hidden;
  background: var(--black-deep);
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media video,
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Flat scrim, not a soft gradient: keeps the type legible over moving footage. */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(10, 14, 19, 0.62);
}
.hero__scrim::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(16, 24, 32, 0.3);
}
.hero__in { position: relative; z-index: 2; width: 100%; }

.hero h1 { max-width: 16ch; }
.hero h1 em { font-style: normal; color: var(--red-bright); }
.hero__sub {
  margin-top: 1.6rem;
  font-size: clamp(1.05rem, 1.5vw, 1.32rem);
  font-weight: 400;
  color: var(--ivory);
  max-width: 46ch;
}
.hero__ctas {
  margin-top: 2.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}
.hero__cue {
  margin-top: 3rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__cue i {
  width: 46px;
  height: 1px;
  background: var(--muted);
  display: block;
  transform-origin: left;
  animation: cue 2.6s var(--ease) infinite;
}
@keyframes cue {
  0%, 100% { transform: scaleX(0.35); opacity: 0.5; }
  50% { transform: scaleX(1); opacity: 1; }
}

/* --------------------------------------------------------------- proof strip */

.proof {
  border-block: 1px solid var(--line-soft);
  background: var(--black-deep);
}
.proof__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.proof__cell {
  padding: clamp(2rem, 3.4vw, 3rem) clamp(1rem, 2vw, 2rem);
  border-left: 1px solid var(--line-soft);
}
.proof__cell:first-child { border-left: 0; }
.proof__n {
  font-size: clamp(1.9rem, 3.2vw, 2.9rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
}
.proof__n span { color: var(--red-bright); }
.proof__l {
  margin-top: 0.7rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  line-height: 1.5;
}

/* ------------------------------------------------------------------ sections */

.sec { padding-block: clamp(4.5rem, 10vw, 8.5rem); }
.sec--tight { padding-block: clamp(3.5rem, 7vw, 6rem); }
.sec--lift { background: var(--black-deep); }

.sec__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.sec__head--solo { grid-template-columns: minmax(0, 1fr); }

/* -------------------------------------------------------- compact list rows */

.clist { border-top: 1px solid var(--line-soft); }

.crow {
  border-bottom: 1px solid var(--line-soft);
}
.crow__btn {
  width: 100%;
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 2.6rem);
  padding: clamp(1.3rem, 2.4vw, 2rem) 0;
  background: transparent;
  border: 0;
  color: inherit;
  font-family: var(--font);
  text-align: left;
  cursor: pointer;
  position: relative;
  transition: padding-inline 0.45s var(--ease);
}
.crow__btn::before {
  content: "";
  position: absolute;
  inset: 0 -1.5rem;
  background: var(--black-lift);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s var(--ease);
}
.crow__btn:hover::before { opacity: 1; }
.crow__btn:hover { padding-inline: 1.5rem; }

/* Marks sit on a light tile rather than being recoloured. Most supplied node
   and partner logos are dark marks that disappear on the black field, and a
   partner's registered mark may only be used in the form they supply, so
   reversing it out to white is not ours to do. */
.crow__thumb {
  width: 168px;
  aspect-ratio: 2 / 1;
  background: var(--chip);
  border: 1px solid var(--line-soft);
  display: grid;
  place-items: center;
  padding: 0.35rem;
  overflow: hidden;
}
/* A few marks are supplied reversed (white artwork, e.g. INK Global). Those
   keep the dark field they were drawn for instead of being altered. */
.crow__thumb--dark { background: var(--black-lift); border-color: var(--line); }
.crow__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.6s var(--ease);
}
.crow__btn:hover .crow__thumb img { transform: scale(1.05); }

.crow__name {
  display: block;
  font-size: clamp(1.35rem, 2.8vw, 2.1rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  color: var(--white);
  line-height: 1.06;
}
.crow__cat {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.82rem;
  letter-spacing: 0.055em;
  color: var(--muted);
  max-width: 54ch;
}
.crow__status {
  display: inline-block;
  margin-top: 0.7rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red-bright);
  border: 1px solid rgba(193, 2, 48, 0.5);
  padding: 0.28rem 0.6rem;
}

.crow__act {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.35s var(--ease);
}
.crow__btn:hover .crow__act { color: var(--white); }
.crow__act svg { transition: transform 0.4s var(--ease); }
.crow__btn:hover .crow__act svg { transform: translate(4px, -4px); }
.crow__btn[aria-expanded="true"] .crow__act svg { transform: rotate(90deg); }

/* expanding detail panel */
.cpanel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.6s var(--ease);
}
.cpanel[data-open="true"] { grid-template-rows: 1fr; }
.cpanel__in { overflow: hidden; }
.cpanel__body {
  padding: 0.5rem 0 clamp(2rem, 4vw, 3.2rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.8rem, 4vw, 4rem);
  border-left: 2px solid var(--red);
  padding-left: clamp(1.2rem, 3vw, 2.4rem);
}
.cpanel__body > p { color: var(--ivory); line-height: 1.75; }
/* partner rows carry body copy only, no lead bios */
.cpanel__body--solo { grid-template-columns: minmax(0, 1fr); max-width: 78ch; }

.bio { display: flex; gap: 1.2rem; align-items: flex-start; }
.bio + .bio { margin-top: 1.8rem; padding-top: 1.8rem; border-top: 1px solid var(--line-soft); }
.bio__pic {
  width: 92px;
  height: 92px;
  flex: none;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 0.5s var(--ease);
}
.bio:hover .bio__pic { filter: grayscale(0); }
.bio__pic--empty {
  width: 92px;
  height: 92px;
  flex: none;
  background: var(--black-lift);
  border: 1px dashed var(--line);
  display: grid;
  place-items: center;
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  padding: 0.4rem;
  line-height: 1.3;
}
.bio__role {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red-bright);
  margin-bottom: 0.3rem;
}
.bio__name {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.55rem;
}
.bio__txt { font-size: 0.9rem; line-height: 1.7; color: var(--muted); }

/* --------------------------------------------------------------- node cards */

.ncards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.ncard {
  background: var(--black);
  padding: clamp(1.5rem, 2.4vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  min-height: 244px;
  transition: background 0.4s var(--ease);
}
.ncard:hover { background: var(--black-lift); }
.ncard__logo {
  background: var(--chip);
  width: 132px;
  height: 66px;
  display: grid;
  place-items: center;
  padding: 0.25rem;
  flex: none;
}
.ncard__logo img { width: 100%; height: 100%; object-fit: contain; }
.ncard__name {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--white);
  line-height: 1.25;
}
.ncard__cat { display: block; font-size: 0.8rem; color: var(--muted); margin-top: auto; line-height: 1.5; }

/* completes the 4-across grid on the eighth cell */
.ncard--more {
  justify-content: center;
  gap: 0.7rem;
  background: var(--black-lift);
}
.ncard--more .ncard__name { font-size: 1.15rem; }
.ncard--more span:last-child { color: var(--red-bright); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; }

/* ------------------------------------------------------------------ marquee */

.marq {
  border-block: 1px solid var(--line-soft);
  padding-block: clamp(1.6rem, 3vw, 2.4rem);
  overflow: hidden;
  background: var(--black-deep);
}
.marq__track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: slide 34s linear infinite;
}
.marq__track span {
  font-size: clamp(1.6rem, 3.6vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(214, 209, 196, 0.36);
  white-space: nowrap;
}
.marq__track span:nth-child(even) {
  color: var(--red);
  -webkit-text-stroke: 0;
}
@keyframes slide {
  to { transform: translateX(-50%); }
}

/* ---------------------------------------------------------- partner ribbon */

.pribbon {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
/* INK's mark is white artwork with a red block; desaturating it just reads as a
   muddy grey box, so the reversed tile keeps its colour. */
.pribbon a.is-reversed { background: var(--black-lift); }
.pribbon a.is-reversed img { filter: none; opacity: 0.92; }
.pribbon a {
  background: var(--chip);
  aspect-ratio: 2 / 1;
  display: grid;
  place-items: center;
  padding: 0.5rem;
  transition: filter 0.4s var(--ease);
}
/* Same treatment as the compact-list thumbs: every mark fills the tile off the
   shared 800x1000 canvas, so all six land at identical scale and position
   instead of floating at their own size. */
.pribbon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.78;
  transition: opacity 0.4s var(--ease), filter 0.4s var(--ease);
}
.pribbon a:hover img { opacity: 1; filter: grayscale(0); }

/* ---------------------------------------------------------------- contact cta */

.cta {
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
  border-top: 1px solid var(--line-soft);
}
.cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.cta__list { display: flex; flex-direction: column; }
.cta__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ivory);
  transition: color 0.3s var(--ease), padding-left 0.4s var(--ease);
}
.cta__row:first-child { border-top: 1px solid var(--line-soft); }
.cta__row:hover { color: var(--white); padding-left: 0.6rem; }
.cta__row svg { color: var(--red-bright); transition: transform 0.4s var(--ease); flex: none; }
.cta__row:hover svg { transform: translateX(5px); }

/* ------------------------------------------------------------------- footer */

.ftr {
  background: var(--black-deep);
  border-top: 1px solid var(--line-soft);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}
.ftr__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.8rem, 4vw, 3.5rem);
}
.ftr__logo img { height: 52px; margin-bottom: 1.2rem; }
.ftr h5 {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.1rem;
}
.ftr ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.62rem; }
.ftr li a { font-size: 0.86rem; color: var(--muted); transition: color 0.3s var(--ease); }
.ftr li a:hover { color: var(--white); }
.ftr__tag { font-size: 0.92rem; font-weight: 600; color: var(--red-bright); letter-spacing: 0.02em; }
.ftr__base {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ------------------------------------------------------------- page banner */

.pbanner {
  padding-block: calc(var(--header-h) + clamp(3.5rem, 8vw, 6.5rem)) clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line-soft);
  background: var(--black-deep);
}
.pbanner h1 { max-width: 18ch; }
.pbanner__lede { margin-top: 1.5rem; }

.statement {
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1.18;
  max-width: 24ch;
  border-left: 3px solid var(--red);
  padding-left: clamp(1rem, 2vw, 1.6rem);
}

/* --------------------------------------------------------------- stub page */

.stub {
  min-height: 74svh;
  display: flex;
  align-items: center;
  padding-block: calc(var(--header-h) + 4rem) 5rem;
}
.stub__note {
  margin-top: 1.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-bright);
  border: 1px solid rgba(193, 2, 48, 0.45);
  padding: 0.5rem 0.9rem;
}

/* ------------------------------------------------------------------- motion */

[data-rise] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
[data-rise].is-in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- responsive */

@media (max-width: 1080px) {
  .nav, .hdr__cta { display: none; }
  .burger { display: block; }
  .ncards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof__grid { grid-template-columns: repeat(2, 1fr); }
  .proof__cell:nth-child(3) { border-left: 0; }
  .proof__cell:nth-child(n + 3) { border-top: 1px solid var(--line-soft); }
  .ftr__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 860px) {
  .sec__head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .cpanel__body { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  :root { --header-h: 68px; }
  .crow__btn { grid-template-columns: 116px minmax(0, 1fr); gap: 1rem; }
  .crow__thumb { width: 116px; }
  .crow__act { grid-column: 2; margin-top: 0.4rem; }
  .hero__ctas .btn { width: 100%; justify-content: space-between; }
  .ncards { grid-template-columns: minmax(0, 1fr); }
  .proof__grid { grid-template-columns: minmax(0, 1fr); }
  .proof__cell { border-left: 0; }
  .proof__cell + .proof__cell { border-top: 1px solid var(--line-soft); }
  .ftr__grid { grid-template-columns: minmax(0, 1fr); }
  .bio { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-rise] { opacity: 1; transform: none; }
}

/* ==========================================================================
   Jesper motion layer (Tracy, Jul 31 call): ivory paper sections, film grain,
   shutter page transitions, crossed scrolling ribbons, rotating circle badge,
   preview-list rows with a circular mouse-follow lead photo.
   Mechanics imitate the Jesper template; all code and assets are our own.
   ========================================================================== */

:root {
  --paper: #eceade;
  --paper-deep: #e4e1d2;
  --ink: #12100b;
  --ink-soft: #6e695d;
  --paper-line: rgba(18, 16, 11, 0.14);
  --paper-line-soft: rgba(18, 16, 11, 0.08);
}

/* ------------------------------------------------------------- film grain */

.grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  overflow: hidden;
}
.grain::before {
  content: "";
  position: absolute;
  inset: -10rem;
  background-image: url(/assets/brand/bg-noise.png);
  background-position: 50%;
  opacity: 0.5;
  animation: grain-shift 0.9s steps(2) infinite;
}
@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-3rem, 2rem); }
  50% { transform: translate(2rem, -2.6rem); }
  75% { transform: translate(-1.6rem, -1.4rem); }
  100% { transform: translate(2.4rem, 1.8rem); }
}

/* -------------------------------------------------- shutter page transition */

.shutter {
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
  visibility: hidden;
}
.shutter.is-active { visibility: visible; pointer-events: all; }
.shutter__half {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50.2%; /* slight overlap kills the hairline seam mid-animation */
  background: var(--black-deep);
  transform: scaleX(0);
  overflow: hidden;
}
.shutter__half::after {
  content: "";
  position: absolute;
  inset: -10rem;
  background-image: url(/assets/brand/bg-noise.png);
  opacity: 0.9;
  animation: grain-shift 0.7s steps(2) infinite;
}
.shutter__half--top { top: 0; transform-origin: center left; border-bottom: 1px solid rgba(214, 209, 196, 0.1); }
.shutter__half--bottom { bottom: 0; transform-origin: center right; }
.shutter__logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  opacity: 0;
  width: clamp(190px, 26vw, 330px);
}
.shutter__logo img { width: 100%; height: auto; }

.shutter.is-covered .shutter__half { transform: scaleX(1); }
.shutter.is-covered .shutter__logo { opacity: 1; }

.shutter.is-closing .shutter__half,
.shutter.is-opening .shutter__half {
  transition: transform 0.7s cubic-bezier(0.85, 0, 0.15, 1);
}
.shutter.is-closing .shutter__logo { transition: opacity 0.32s ease 0.38s; opacity: 1; }
.shutter.is-closing .shutter__half { transform: scaleX(1); }
.shutter.is-opening .shutter__half { transform: scaleX(0); }
.shutter.is-opening .shutter__logo { transition: opacity 0.25s ease; opacity: 0; }

/* --------------------------------------------------------- paper (ivory) mode */

.sec--paper {
  background: var(--paper);
  color: var(--ink);
  position: relative;
}
.sec--paper .h-section,
.sec--paper .h-display,
.sec--paper h3 { color: var(--ink); }
.sec--paper .eyebrow { color: var(--ink); }
.sec--paper .lede { color: var(--ink); }
.sec--paper .muted,
.sec--paper .proof__l { color: var(--ink-soft); }
.sec--paper .btn { color: var(--ink); border-color: var(--paper-line); }
.sec--paper .btn:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.sec--paper .btn--signal { background: var(--red); border-color: var(--red); color: var(--white); }
.sec--paper .btn--signal:hover { background: var(--red-bright); border-color: var(--red-bright); }

.sec--paper .ncards { background: var(--paper-line-soft); border-color: var(--paper-line-soft); }
.sec--paper .ncard { background: var(--paper); }
.sec--paper .ncard:hover { background: var(--paper-deep); }
.sec--paper .ncard__name { color: var(--ink); }
.sec--paper .ncard__cat { color: var(--ink-soft); }
.sec--paper .ncard__logo { border: 1px solid var(--paper-line-soft); }
.sec--paper .ncard--more { background: var(--paper-deep); }

.sec--paper .pribbon { background: var(--paper-line-soft); border-color: var(--paper-line-soft); }
.sec--paper .pribbon a { background: var(--chip); }

/* ---------------------------------------------------- rotating circle badge */

.spin-badge {
  position: absolute;
  top: clamp(2rem, 5vw, 4.5rem);
  right: var(--gut);
  width: clamp(110px, 12vw, 168px);
  aspect-ratio: 1;
  z-index: 3;
  pointer-events: none;
}
.spin-badge svg {
  width: 100%;
  height: 100%;
  animation: spin-badge-rotate 16s linear infinite;
}
.spin-badge text {
  font-family: var(--font);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 6.5px;
  text-transform: uppercase;
  fill: var(--red);
}
.spin-badge__dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  transform: translate(-50%, -50%);
}
@keyframes spin-badge-rotate { to { transform: rotate(360deg); } }
@media (max-width: 640px) { .spin-badge { display: none; } }

/* ------------------------------------------------------- scrolling ribbons */

.ribbon {
  overflow: hidden;
  white-space: nowrap;
  user-select: none;
}
.ribbon__track {
  display: inline-flex;
  align-items: center;
  will-change: transform;
}
.ribbon__chunk {
  display: inline-flex;
  align-items: center;
  gap: 2.2rem;
  padding-right: 2.2rem;
  font-size: clamp(1.7rem, 4vw, 3.4rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.ribbon__chunk svg { width: 0.85em; height: 0.85em; flex: none; }

/* single ribbon on the dark field (homepage) */
.ribbon--band {
  border-block: 1px solid var(--line-soft);
  padding-block: clamp(1.6rem, 3vw, 2.4rem);
  background: var(--black-deep);
}
.ribbon--band .ribbon__chunk {
  color: transparent;
  -webkit-text-stroke: 1px rgba(214, 209, 196, 0.4);
}
.ribbon--band .ribbon__chunk em {
  font-style: normal;
  color: var(--red);
  -webkit-text-stroke: 0;
}
.ribbon--band .ribbon__chunk svg { fill: var(--red); }

/* crossed ribbons (Gen TV) */
.ribbon-x {
  position: relative;
  padding-block: clamp(6rem, 15vw, 11rem);
  overflow: hidden;
}
.ribbon-x .ribbon {
  position: absolute;
  left: -6vw;
  right: -6vw;
  top: 50%;
  padding-block: clamp(0.8rem, 1.6vw, 1.3rem);
}
.ribbon-x .ribbon--a {
  transform: translateY(-50%) rotate(-5deg);
  background: var(--red);
  z-index: 2;
}
.ribbon-x .ribbon--a .ribbon__chunk { color: var(--white); }
.ribbon-x .ribbon--a .ribbon__chunk svg { fill: var(--white); }
.ribbon-x .ribbon--b {
  transform: translateY(-50%) rotate(5deg);
  background: var(--ink);
  z-index: 1;
}
.ribbon-x .ribbon--b .ribbon__chunk { color: var(--paper); }
.ribbon-x .ribbon--b .ribbon__chunk svg { fill: var(--red-bright); }
.ribbon-x .ribbon__chunk {
  font-size: clamp(1.3rem, 2.8vw, 2.4rem);
  font-weight: 600;
}

/* ------------------------------------------- preview list + follow circle */

.plist { border-top: 1px solid var(--paper-line); }
.plist__row {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 2.6rem);
  width: 100%;
  padding: clamp(1.3rem, 2.4vw, 2rem) 0;
  border: 0;
  border-bottom: 1px solid var(--paper-line);
  background: transparent;
  color: inherit;
  font-family: var(--font);
  text-align: left;
  cursor: pointer;
  transition: opacity 0.4s var(--ease);
}
/* the black-versus-gray pass: the list dims, the hovered row stays ink */
.plist.is-hovering .plist__row { opacity: 0.34; }
.plist.is-hovering .plist__row:hover { opacity: 1; }

.plist__thumb {
  width: 168px;
  aspect-ratio: 2 / 1;
  background: var(--chip);
  border: 1px solid var(--paper-line-soft);
  display: grid;
  place-items: center;
  padding: 0.35rem;
  overflow: hidden;
}
.plist__thumb img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.6s var(--ease); }
.plist__row:hover .plist__thumb img { transform: scale(1.05); }
.plist__thumb--dark { background: var(--black-lift); }

.plist__name {
  display: block;
  font-size: clamp(1.35rem, 2.8vw, 2.1rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1.06;
}
.plist__cat {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.82rem;
  letter-spacing: 0.055em;
  color: var(--ink-soft);
  max-width: 54ch;
}
.plist__status {
  display: inline-block;
  margin-top: 0.7rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  border: 1px solid rgba(193, 2, 48, 0.5);
  padding: 0.28rem 0.6rem;
}
.plist__act {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: color 0.35s var(--ease);
}
.plist__row:hover .plist__act { color: var(--ink); }
.plist__act svg { transition: transform 0.4s var(--ease); }
.plist__row:hover .plist__act svg { transform: translate(4px, -4px); }
.plist__row[aria-expanded="true"] .plist__act svg { transform: rotate(90deg); }

/* detail panels inside a paper list */
.sec--paper .cpanel__body { border-left-color: var(--red); }
.sec--paper .cpanel__body > p { color: var(--ink); }
.sec--paper .bio__name { color: var(--ink); }
.sec--paper .bio__txt { color: var(--ink-soft); }
.sec--paper .bio__role { color: var(--red); }
.sec--paper .bio + .bio { border-top-color: var(--paper-line-soft); }

/* the circular panel that rides with the mouse */
.plist-preview {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  width: clamp(170px, 16vw, 230px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  pointer-events: none;
  display: flex;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  border: 3px solid var(--red);
  background: var(--chip);
  box-shadow: 0 18px 50px rgba(18, 16, 11, 0.28);
}
.plist-preview.is-on { opacity: 1; transform: scale(1); }
.plist-preview img {
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}
.plist-preview img.is-logo { object-fit: contain; padding: 14%; filter: none; }
@media (max-width: 767px), (hover: none) { .plist-preview { display: none; } }

/* ------------------------------------------------------ paper page sections */

.pbanner--paper {
  background: var(--paper);
  border-bottom: 1px solid var(--paper-line-soft);
}
.pbanner--paper h1 { color: var(--ink); }
.pbanner--paper .lede { color: var(--ink); }
.pbanner--paper .eyebrow { color: var(--ink); }

@media (max-width: 640px) {
  .plist__row { grid-template-columns: 116px minmax(0, 1fr); gap: 1rem; }
  .plist__thumb { width: 116px; }
  .plist__act { grid-column: 2; margin-top: 0.4rem; }
}

/* v4.1 proof strip runs three cells; the first carries a worded figure */
.proof__grid--three { grid-template-columns: repeat(3, 1fr); }
.proof__n .sm { font-size: 0.42em; font-weight: 600; letter-spacing: 0; }
@media (max-width: 1080px) {
  .proof__grid--three { grid-template-columns: minmax(0, 1fr); }
  .proof__grid--three .proof__cell { border-left: 0; }
  .proof__grid--three .proof__cell + .proof__cell { border-top: 1px solid var(--line-soft); }
}

/* compact-list rows sitting on paper (ecosystem and partners lists) */
.sec--paper .clist { border-top-color: var(--paper-line); }
.sec--paper .crow { border-bottom-color: var(--paper-line); }
.sec--paper .crow__btn::before { background: var(--paper-deep); }
.sec--paper .crow__name { color: var(--ink); }
.sec--paper .crow__cat { color: var(--ink-soft); }
.sec--paper .crow__act { color: var(--ink-soft); }
.sec--paper .crow__btn:hover .crow__act { color: var(--ink); }
.sec--paper .crow__status { color: var(--red); }
.sec--paper .crow__thumb { border-color: var(--paper-line-soft); }

/* black-versus-gray pass on crow rows driven by the plist hover state */
.plist.is-hovering .crow { opacity: 0.38; transition: opacity 0.4s var(--ease); }
.plist.is-hovering .crow:hover { opacity: 1; }
.plist .crow { transition: opacity 0.4s var(--ease); }

/* titled text blocks used by the v4.1 inner pages */
.blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.block { background: var(--black); padding: clamp(1.6rem, 2.6vw, 2.4rem); }
.block h3 {
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.85rem;
}
.block h3 em { font-style: normal; color: var(--red-bright); }
.block p { font-size: 0.92rem; line-height: 1.7; color: var(--muted); }
.block .big { font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 700; color: var(--white); letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 0.6rem; }
.sec--paper .blocks { background: var(--paper-line-soft); border-color: var(--paper-line-soft); }
.sec--paper .block { background: var(--paper); }
.sec--paper .block p { color: var(--ink-soft); }
.sec--paper .block .big { color: var(--ink); }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0.9rem 2.5rem; }
.checklist li { position: relative; padding-left: 1.6rem; font-size: 0.95rem; line-height: 1.6; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 0.52em; width: 0.7rem; height: 3px; background: var(--red); }
.checklist li strong { color: inherit; font-weight: 600; }

.fineprint { font-size: 0.74rem; color: var(--muted); letter-spacing: 0.03em; margin-top: 2rem; }
.sec--paper .fineprint { color: var(--ink-soft); }

/* contact doors are links */
a.block { display: block; transition: background 0.35s var(--ease); }
.sec--paper a.block:hover { background: var(--paper-deep); }
a.block:hover h3 em, a.block:hover h3 { color: var(--red); }

/* Contrast pass (David, Jul 31): nothing inherits white inside a paper
   section. Blanket rule catches .statement and any future heading level;
   the soft tone steps darker so supporting copy reads off the ivory too. */
.sec--paper h1, .sec--paper h2, .sec--paper h3, .sec--paper h4, .sec--paper h5,
.sec--paper .statement { color: var(--ink); }
.sec--paper .statement { border-left-color: var(--red); }
:root { --ink-soft: #575246; }

/* ------------------------------------------------------------ magic cursor
   The template's follow-ball, in brand red. mix-blend-mode: difference is
   what makes the letters flip contrast as the ball passes over them, on both
   the black and the paper fields. Desktop pointer devices only. */
body.has-magic-cursor,
body.has-magic-cursor a,
body.has-magic-cursor button { cursor: none; }

.cursor-dot,
.cursor-ball {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 400;
  pointer-events: none;
  border-radius: 50%;
}
.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--red-bright);
}
.cursor-ball {
  width: 36px;
  height: 36px;
  border: 2px solid var(--red-bright);
  background: var(--red-bright);
  background-clip: content-box;
  mix-blend-mode: difference;
  transition: width 0.35s var(--ease), height 0.35s var(--ease),
              opacity 0.3s var(--ease);
  opacity: 1;
}
/* idle: ring only (transparent fill via content-box against padding) */
.cursor-ball { padding: 15px; background-color: transparent; }
/* over links, buttons, and list rows: grow and fill, inverting what's under */
.cursor-ball.is-link {
  width: 90px;
  height: 90px;
  padding: 0;
  background-color: var(--red-bright);
}
/* over the preview-list rows the photo panel already carries the moment */
.cursor-ball.is-hidden { opacity: 0; }
@media (max-width: 1024px), (hover: none) {
  .cursor-dot, .cursor-ball { display: none; }
  body.has-magic-cursor, body.has-magic-cursor a, body.has-magic-cursor button { cursor: auto; }
}

/* idle ball rides filled so type flips contrast the moment it passes over */
.cursor-ball { padding: 0; background-color: var(--red-bright); opacity: 0.92; }
.cursor-ball.is-link { opacity: 1; }

/* Gen TV header artwork carries its own darkness; lighter scrim */
.hero__scrim--light { background: rgba(10, 14, 19, 0.3); }
.hero__scrim--light::after { background: rgba(16, 24, 32, 0.12); }

/* Tracy (WhatsApp, Jul 31): reverse colour reads grey, not turquoise. A
   neutral ball through the difference blend lands graphite over ivory and
   white over the dark field; the red dot keeps the brand accent. */
.cursor-ball {
  border-color: var(--white);
  background-color: var(--white);
  opacity: 0.85;
}
.cursor-ball.is-link { background-color: var(--white); opacity: 0.92; }

/* Tracy voice note (Jul 31, 11:27): on the paper lists the hover circle
   carries the lead photo, so the small square bio photos go; the gray rule
   under each logo row and the red left border on the panel text go; logos
   sit transparent on the ivory instead of on white tiles. INK Global stays
   on its dark tile: reversed white artwork vanishes on ivory. */
.sec--paper .bio__pic { display: none; }
.sec--paper .crow .plist__row { border-bottom: 0; }
.sec--paper .cpanel__body { border-left: 0; padding-left: 0; }
.sec--paper .crow__thumb:not(.crow__thumb--dark) {
  background: transparent;
  border-color: transparent;
}

/* Tracy round 3 (Jul 31 afternoon): kill the inversion blend for good, the
   turquoise reads off-brand wherever it lands. The ball is now the template's
   plain ring in brand red. Logos across the paper surfaces sit translucent
   with no tiles or borders; INK's new supplied mark holds its own on ivory. */
.cursor-ball {
  mix-blend-mode: normal;
  background-color: transparent !important;
  border: 2px solid var(--red-bright);
  opacity: 1;
}
.cursor-ball.is-link { opacity: 1; }
body.no-magic-cursor .cursor-dot,
body.no-magic-cursor .cursor-ball { display: none; }
body.no-magic-cursor, body.no-magic-cursor a, body.no-magic-cursor button { cursor: auto; }

.sec--paper .ncard__logo { background: transparent; border: 0; }
.sec--paper .pribbon,
.sec--paper .pribbon a { background: transparent; border: 0; }
.sec--paper .pribbon a.is-reversed { background: transparent; }
.sec--paper .pribbon a.is-reversed img { filter: grayscale(1); opacity: 0.78; }
.sec--paper .pribbon a:hover img { opacity: 1; filter: grayscale(0); }

/* ==========================================================================
   Sept 3 2026 round (Tracy's email + Website Framework & Copy v3)
   ========================================================================== */

/* ---------------------------------------------- homepage opening statement */
.hero__sub--2 {
  margin-top: 1.1rem;
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
  color: var(--muted);
  max-width: 58ch;
}

/* ------------------------------------------- the ecosystem, at a glance
   Seven marks, one colour, equal height, equal cell: no node reads as more
   prominent than another. The marks are the group's own, recoloured ivory. */
.glance {
  padding-block: clamp(3.5rem, 7vw, 6rem) clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line-soft);
  background: var(--black);
}
.glance .sec__head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.glance__marks {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.glance__marks a {
  background: var(--black);
  display: grid;
  place-items: center;
  min-height: 118px;
  padding: clamp(1.2rem, 2.2vw, 2rem) clamp(0.8rem, 1.6vw, 1.4rem);
  transition: background 0.4s var(--ease);
}
.glance__marks a:hover { background: var(--black-lift); }
.glance__marks img {
  width: auto;
  height: auto;
  max-height: clamp(30px, 3.6vw, 46px);
  max-width: 100%;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity 0.4s var(--ease);
}
.glance__marks a:hover img { opacity: 1; }
@media (max-width: 900px) {
  .glance__marks { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
}

/* ------------------------------------------------- the work: ledgers, proofs */
.ledger {
  margin: 0;
  display: grid;
  border-top: 1px solid var(--paper-line);
}
.ledger__row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
  gap: clamp(1rem, 3vw, 3rem);
  padding: clamp(1rem, 1.6vw, 1.3rem) 0;
  border-bottom: 1px solid var(--paper-line);
}
.ledger dt {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.2;
}
.ledger dd {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.65;
}
.ledger--slate dd { color: var(--ink); }
.ledger__note {
  margin-top: 1.4rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.ledger__note a { text-decoration: underline; text-underline-offset: 0.2em; color: var(--ink); }
@media (max-width: 640px) {
  .ledger__row { grid-template-columns: 1fr; gap: 0.35rem; }
}

.proofs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 5rem);
}
.proofs__item .h-section { font-size: clamp(1.4rem, 2.4vw, 2rem); }
.proofs__item .lede { margin-top: 1.1rem; }
.proofs__item .statement { margin-top: 1.8rem; }
@media (max-width: 900px) {
  .proofs { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------- who we are: banner */
.pbanner--who h1 {
  max-width: 34ch;
  font-size: clamp(1.7rem, 3.7vw, 3.3rem);
  letter-spacing: -0.025em;
  line-height: 1.08;
}
.pbanner--who .pbanner__lede { max-width: 68ch; }

/* -------------------------------------------------------- who we are: mission */
.mission {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--paper-line-soft);
  border: 1px solid var(--paper-line-soft);
}
.mission li {
  background: var(--paper);
  padding: clamp(1.4rem, 2.2vw, 2rem) clamp(1.1rem, 1.8vw, 1.6rem);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  min-height: 176px;
}
.mission__n {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--red);
}
@media (max-width: 1080px) {
  .mission { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
  .mission li { min-height: 0; }
}

/* ------------------------------------------ who we are: the seven-stage journey */
.journey {
  list-style: none;
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem clamp(0.3rem, 0.7vw, 0.6rem);
}
.journey__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  width: clamp(88px, 8.6vw, 118px);
  text-align: center;
  opacity: 0;
  transform: translateY(14px);
}
.journey__icon {
  width: 60px;
  height: 60px;
  border: 1px solid var(--paper-line);
  border-radius: 50%;
  background: var(--chip);
  color: var(--ink);
  display: grid;
  place-items: center;
}
.journey__icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.journey__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.3;
}
.journey__arrow {
  width: clamp(22px, 2.5vw, 34px);
  color: var(--red);
  opacity: 0;
  margin-bottom: 1.9rem; /* sits level with the icon, not the label */
}
.journey__arrow svg {
  display: block;
  width: 100%;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
}
.journey.is-in .journey__step { animation: jstep 0.7s var(--ease) forwards; animation-delay: var(--d); }
.journey.is-in .journey__arrow { animation: jfade 0.5s var(--ease) forwards; animation-delay: var(--d); }
.journey.is-in .journey__arrow svg { animation: jdraw 0.55s var(--ease) forwards; animation-delay: var(--d); }
@keyframes jstep { to { opacity: 1; transform: none; } }
@keyframes jfade { to { opacity: 1; } }
@keyframes jdraw { to { stroke-dashoffset: 0; } }
@media (max-width: 760px) {
  .journey { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
  .journey__step { flex-direction: row; width: auto; text-align: left; gap: 1rem; }
  .journey__arrow { transform: rotate(90deg); margin: 0.2rem 0 0.2rem 11px; width: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .journey__step, .journey__arrow { opacity: 1; transform: none; animation: none !important; }
  .journey__arrow svg { stroke-dashoffset: 0; animation: none !important; }
  .journey__arrow { transform: none; }
  @media (max-width: 760px) { .journey__arrow { transform: rotate(90deg); } }
}

/* ---------------------------------- who we are: crossed ribbons, ink + paper
   Tracy's Jesper reference: one dark band, one light band, crossing. */
.ribbon-x--who .ribbon--a { background: var(--paper-deep); border-block: 1px solid var(--paper-line); }
.ribbon-x--who .ribbon--a .ribbon__chunk { color: var(--ink); }
.ribbon-x--who .ribbon--a .ribbon__chunk svg { fill: var(--red); }
.ribbon-x--who .ribbon--b { background: var(--ink); }
.ribbon-x--who .ribbon--b .ribbon__chunk { color: var(--paper); }
.ribbon-x--who .ribbon--b .ribbon__chunk svg { fill: var(--red-bright); }
.ribbon-x--who .ribbon__chunk { font-size: clamp(1.2rem, 2.5vw, 2.2rem); }

/* -------------------------------------- who we are: the seven parts, long form
   Tracy's 3 Sep layout mock: mark + name + visit link across the top, body
   copy and lead bios on the left, the node still on the right at 50%. */
.wnodes {
  display: grid;
  gap: clamp(3rem, 7vw, 6rem);
}
.wnode {
  border-top: 1px solid var(--paper-line);
  padding-top: clamp(2rem, 4vw, 3rem);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.wnode__head {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  justify-items: start;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
}
.wnode__logo {
  /* Tracy, 10 Sep voice note: no tile, no border, the mark sits straight on
     the ivory like every other logo surface on the paper field */
  width: 132px;
  aspect-ratio: 2 / 1;
  background: transparent;
  border: 0;
  display: grid;
  place-items: center;
  padding: 0;
}
.wnode__logo img { width: 100%; height: 100%; object-fit: contain; }
.wnode__name {
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1.05;
}
.wnode__cat {
  margin-top: 0.45rem;
  font-size: 0.82rem;
  letter-spacing: 0.055em;
  color: var(--ink-soft);
}
.wnode__act {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.wnode__act svg { transition: transform 0.4s var(--ease); }
.wnode__act:hover svg { transform: translate(4px, -4px); }
.wnode__status {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  border: 1px solid rgba(193, 2, 48, 0.5);
  padding: 0.28rem 0.6rem;
  white-space: nowrap;
}
.wnode__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.wnode__body {
  color: var(--ink);
  line-height: 1.75;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  border-left: 2px solid var(--red);
  padding-left: clamp(1rem, 2.4vw, 1.8rem);
}
.wnode__leads { margin-top: clamp(1.8rem, 3vw, 2.6rem); }
.wnode .bio + .bio { border-top-color: var(--paper-line); }
.wnode .bio__pic { width: 128px; height: 128px; border-radius: 50%; }
.wnode .bio__name { color: var(--ink); }
.wnode .bio__txt { color: var(--ink-soft); }
.wnode__fig {
  margin: 0;
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}
.wnode__fig img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  opacity: 0.5;
  filter: grayscale(1);
}
@media (max-width: 900px) {
  .wnode__grid { grid-template-columns: 1fr; }
  .wnode__fig { position: static; order: -1; }
  .wnode__head { grid-template-columns: auto minmax(0, 1fr); }
  .wnode__act, .wnode__status { grid-column: 2; justify-self: start; }
  .wnode .bio__pic { width: 96px; height: 96px; }
}

/* ==========================================================================
   Sept 9 2026 round (Tracy's "QRMG Website Changes" email)
   ========================================================================== */

/* ------------------------------------------- photographic panel backgrounds
   Tracy: "add an image to the background, apply a screen filter with 40%
   transparency". Screen over the black field can only lift it, never muddy
   it, and 0.4 is her number. --art-pos sets the crop focus per panel. */
.sec--art {
  position: relative;
  overflow: hidden;
  background: var(--black);
}
.sec--art .sec__art {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.sec--art .sec__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--art-pos, 50% 45%);
  filter: grayscale(1);
  opacity: 0.4;
  mix-blend-mode: screen;
}
.sec--art > .shell { position: relative; z-index: 1; }

/* -------------------------------- the ecosystem: the seven parts with a rail
   Tracy's 9 Sep layout mock: the seven parts move here from Who We Are, and
   each lead's photo sits static in a rail to the left of the bio, aligned
   with the body copy's left edge. No hover circle, no hidden photos. */
:root {
  --rail: 150px;
  --rail-gap: clamp(1.4rem, 2.6vw, 2.6rem);
}
.wnode__head { padding-left: calc(var(--rail) + var(--rail-gap)); }
.wnode__grid {
  grid-template-columns: var(--rail) minmax(0, 1.05fr) minmax(0, 0.95fr);
  column-gap: var(--rail-gap);
}
.wnode__copy {
  grid-column: 1 / 3;
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
  column-gap: var(--rail-gap);
}
.wnode__body { grid-column: 2; }
.wnode__leads { grid-column: 1 / -1; }
.wnode__fig { grid-column: 3; margin-left: clamp(0rem, 2.4vw, 2.6rem); }

.sec--paper .wnode .bio__pic { display: block; }
.wnode .bio {
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
  column-gap: var(--rail-gap);
  align-items: start;
}
.wnode .bio + .bio { margin-top: 1.8rem; padding-top: 0; border-top: 0; }
.wnode .bio + .bio > div { padding-top: 1.8rem; border-top: 1px solid var(--paper-line); }
.wnode .bio + .bio .bio__pic { margin-top: 1.8rem; }
.wnode .bio__pic {
  width: var(--rail);
  height: var(--rail);
  border-radius: 50%;
  object-fit: cover;
  justify-self: center;
  filter: grayscale(1);
}
@media (max-width: 1180px) {
  :root { --rail: 112px; }
}
@media (max-width: 900px) {
  /* single column again: this block sits after the older 900px rule, so the
     three-column template above would otherwise win on phones */
  .wnode__grid { grid-template-columns: minmax(0, 1fr); }
  .wnode__head { padding-left: 0; }
  .wnode__copy { grid-column: auto; display: block; }
  .wnode__body, .wnode__leads, .wnode__fig { grid-column: auto; }
  .wnode__fig { margin-left: 0; }
  .wnode .bio { grid-template-columns: 96px minmax(0, 1fr); column-gap: 1.2rem; }
  .wnode .bio__pic { width: 96px; height: 96px; justify-self: start; }
}
@media (max-width: 640px) {
  .wnode .bio { grid-template-columns: 80px minmax(0, 1fr); column-gap: 1rem; }
  .wnode .bio__pic { width: 80px; height: 80px; }
}

/* ------------------------------------------- the ecosystem: video header
   Tracy, 9 Sep: a montage of the offerings behind the page title, the
   homepage hero pattern reused. Capped a little under the homepage hero so
   the ribbons and the first node show on arrival at laptop heights. */
.hero--eco { min-height: min(100svh, 880px); }
.hero--eco h1 { max-width: 18ch; }
.hero__sub--eco { max-width: 64ch; }

/* ------------------------------------------ who we are: video header
   Tracy, 10 Sep: her clip library loops behind the opening statement. The
   h1 here is a two-sentence statement rather than a headline, so it keeps
   the smaller pbanner--who type scale instead of the display size. */
.hero--who { min-height: min(100svh, 880px); }
.hero--who h1 {
  max-width: 34ch;
  font-size: clamp(1.7rem, 3.7vw, 3.3rem);
  letter-spacing: -0.025em;
  line-height: 1.08;
}
.hero__sub--who { max-width: 68ch; }

/* ------------------------------------------- the work: node links on the ledger */
.ledger__link {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.6rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.ledger__link svg { transition: transform 0.4s var(--ease); }
.ledger__link:hover svg { transform: translate(3px, -3px); }
.ledger__link--dev { color: var(--ink-soft); }

/* ------------------------------------------- the work: businesses worked with
   Tracy's monotone marks, transparent on the ivory like every other logo
   surface on the paper field (no tiles, no borders). */
.worked {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--paper-line);
}
.logowall {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: clamp(0.6rem, 1.4vw, 1.2rem) clamp(0.8rem, 2vw, 2rem);
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
}
.logowall div {
  aspect-ratio: 5 / 4;
  display: grid;
  place-items: center;
  padding: 0.35rem;
}
.logowall img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.78;
  transition: opacity 0.4s var(--ease);
}
.logowall div:hover img { opacity: 1; }
@media (max-width: 1080px) { .logowall { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 480px) { .logowall { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ------------------------------------------------- the work: work samples
   Four cards across per business, her 800x1000 visuals as supplied. */
.samples { display: grid; gap: clamp(2.6rem, 5vw, 4.5rem); }
.samples__row { display: grid; gap: 1.2rem; }
.samples__label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line-soft);
}
.samples__name {
  font-size: clamp(1.05rem, 1.7vw, 1.4rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1.1;
}
.samples__link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}
.samples__link svg { color: var(--red-bright); transition: transform 0.4s var(--ease); }
.samples__link:hover { color: var(--white); }
.samples__link:hover svg { transform: translateX(4px); }
.samples__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.8rem, 1.6vw, 1.4rem);
}
.samples__card {
  margin: 0;
  overflow: hidden;
  background: var(--black-lift);
  aspect-ratio: 4 / 5;
}
.samples__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.samples__card:hover img { transform: scale(1.04); }
@media (max-width: 900px) {
  .samples__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
