/* ==========================================================================
   The Difference Makers Network ATR
   --------------------------------------------------------------------------
   Monochrome system. No hue anywhere. Hierarchy is carried by value, weight,
   scale, and space. The only place metal appears literally is the pathway
   rail, where polished stone is the point.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */

:root {
  /* Cool neutral ramp */
  --ink:       #0D0F12;
  --ink-2:     #14171B;
  --ink-3:     #1D2126;
  --graphite:  #2B3037;
  --steel:     #464D57;
  --slate:     #6E7783;
  --silver:    #9BA3AE;
  --platinum:  #C6CCD4;
  --mist:      #E3E6EA;
  --paper:     #F5F6F8;
  --white:     #FFFFFF;

  /* Semantic */
  --bg:          var(--paper);
  --fg:          var(--ink);
  --fg-muted:    #565E69;
  --fg-faint:    #5F666F;
  --rule:        rgba(13, 15, 18, 0.13);
  --rule-strong: rgba(13, 15, 18, 0.30);

  --on-dark:        #EDEFF2;
  --on-dark-muted:  rgba(237, 239, 242, 0.68);
  --on-dark-faint:  rgba(237, 239, 242, 0.58);
  --rule-dark:      rgba(237, 239, 242, 0.14);
  --rule-dark-str:  rgba(237, 239, 242, 0.30);

  /* Polished stone — used once, on the pathway rail */
  --metal: linear-gradient(118deg,
    #F7F8FA 0%, #BFC6CF 24%, #FFFFFF 44%,
    #A4ACB7 60%, #E6E9ED 82%, #C9CFD7 100%);

  /* Type */
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body:    "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --t-display-xl: clamp(2.75rem, 8.2vw, 7rem);
  --t-display-l:  clamp(2.1rem, 5vw, 4rem);
  --t-h2:         clamp(1.7rem, 3.2vw, 2.7rem);
  --t-h3:         clamp(1.1rem, 1.4vw, 1.3rem);
  --t-lead:       clamp(1.02rem, 1.3vw, 1.2rem);
  --t-body:       1rem;
  --t-small:      0.9125rem;
  --t-label:      0.7rem;

  /* Space */
  --s-1: 0.25rem; --s-2: 0.5rem;  --s-3: 0.75rem; --s-4: 1rem;
  --s-5: 1.5rem;  --s-6: 2rem;    --s-7: 3rem;    --s-8: 4rem;

  --shell: 1240px;
  --shell-narrow: 760px;
  --gutter: clamp(1.25rem, 5vw, 4rem);

  --radius: 2px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --header-h: 72px;
}

/* ---------- 2. Reset ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--t-body);
  font-weight: 400;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

img, svg, video { max-width: 100%; display: block; }
img { height: auto; }

/* Headlines: slightly condensed Archivo, cut tight. The width contrast
   against wide-tracked mono labels is the typographic idea. */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "wdth" 88;
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0 0 var(--s-4);
  text-wrap: balance;
}

p { margin: 0 0 var(--s-4); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
a { color: inherit; }
ul, ol { margin: 0 0 var(--s-4); padding-left: 1.15rem; }
li { margin-bottom: var(--s-2); }
address { font-style: normal; }
hr { border: 0; border-top: 1px solid var(--rule); margin: var(--s-7) 0; }

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

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.band--ink :focus-visible,
.band--ink2 :focus-visible,
.band--graphite :focus-visible,
.site-header :focus-visible,
.hero :focus-visible,
.page-hero :focus-visible,
.site-footer :focus-visible { outline-color: var(--white); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--white); color: var(--ink);
  padding: 0.9rem 1.4rem;
  font-family: var(--font-mono); font-size: var(--t-label);
  letter-spacing: 0.14em; text-transform: uppercase;
}
.skip-link:focus { left: var(--s-4); top: var(--s-4); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 3. Layout ---------- */

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

.band { padding-block: clamp(3.5rem, 8vw, 7rem); position: relative; }
.band--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.band--ink      { background: var(--ink);      color: var(--on-dark); }
.band--ink2     { background: var(--ink-2);    color: var(--on-dark); }
.band--graphite { background: var(--graphite); color: var(--on-dark); }
.band--stone    { background: var(--mist); }
.band--white    { background: var(--white); }

.band--ink h1, .band--ink h2, .band--ink h3,
.band--ink2 h1, .band--ink2 h2, .band--ink2 h3,
.band--graphite h1, .band--graphite h2, .band--graphite h3 { color: var(--white); }

.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
  .split--even { grid-template-columns: 1fr 1fr; }
  .split--sticky > :first-child { position: sticky; top: calc(var(--header-h) + 2.5rem); }
}
.stack > * + * { margin-top: var(--s-5); }

/* ---------- 4. Type helpers ---------- */

/* Wide-tracked mono against condensed display headlines */
.label {
  font-family: var(--font-mono);
  font-size: var(--t-label);
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin: 0 0 var(--s-5);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--rule);
  display: block;
}
.band--ink .label, .band--ink2 .label, .band--graphite .label {
  color: var(--on-dark-faint); border-bottom-color: var(--rule-dark);
}

.lead { font-size: var(--t-lead); line-height: 1.6; color: var(--fg-muted); }
.band--ink .lead, .band--ink2 .lead, .band--graphite .lead { color: var(--on-dark-muted); }

.section-head { max-width: 44ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: var(--t-h2); }

.rule { height: 1px; background: var(--rule); border: 0; margin: 0; }
.band--ink .rule, .band--ink2 .rule { background: var(--rule-dark); }

/* ---------- 5. Buttons ---------- */
/* Filled = maximum value contrast against its surface. No colour, no sheen. */

.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.85rem 1.5rem; min-height: 46px;
  background: var(--ink); color: var(--white);
  border: 1px solid var(--ink); border-radius: var(--radius);
  font-family: var(--font-body); font-size: var(--t-small);
  font-weight: 550; letter-spacing: 0.005em;
  text-decoration: none; cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:hover { background: var(--graphite); border-color: var(--graphite); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--rule-strong); }
.btn--ghost:hover { background: transparent; border-color: var(--ink); }

.band--ink .btn, .band--ink2 .btn, .band--graphite .btn,
.hero .btn, .page-hero .btn, .site-footer .btn {
  background: var(--white); color: var(--ink); border-color: var(--white);
}
.band--ink .btn:hover, .band--ink2 .btn:hover, .band--graphite .btn:hover,
.hero .btn:hover, .page-hero .btn:hover, .site-footer .btn:hover {
  background: var(--platinum); border-color: var(--platinum);
}
.band--ink .btn--ghost, .band--ink2 .btn--ghost, .band--graphite .btn--ghost,
.hero .btn--ghost, .page-hero .btn--ghost, .site-footer .btn--ghost {
  background: transparent; color: var(--on-dark); border-color: var(--rule-dark-str);
}
.band--ink .btn--ghost:hover, .band--ink2 .btn--ghost:hover, .band--graphite .btn--ghost:hover,
.hero .btn--ghost:hover, .page-hero .btn--ghost:hover, .site-footer .btn--ghost:hover {
  background: transparent; border-color: var(--white); color: var(--white);
}

.btn .arrow { transition: transform 0.3s var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }

.tlink {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 550; font-size: var(--t-small); text-decoration: none;
  border-bottom: 1px solid var(--rule-strong); padding-bottom: 1px;
  transition: border-color 0.25s var(--ease);
}
.tlink:hover { border-bottom-color: currentColor; }
.tlink .arrow { transition: transform 0.3s var(--ease-out); }
.tlink:hover .arrow { transform: translateX(3px); }

/* ---------- 6. Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13, 15, 18, 0.94);
  backdrop-filter: saturate(120%) blur(12px);
  -webkit-backdrop-filter: saturate(120%) blur(12px);
  border-bottom: 1px solid var(--rule-dark);
  color: var(--on-dark);
}

.nav-shell {
  max-width: var(--shell); margin-inline: auto;
  padding: 0 var(--gutter); min-height: var(--header-h);
  display: flex; align-items: center; gap: var(--s-5);
}

.brand {
  display: flex; align-items: center; gap: 0.65rem;
  text-decoration: none; color: inherit; margin-right: auto; padding-block: 0.6rem;
}
.brand-mark {
  width: 34px; height: 34px; flex: none; border-radius: var(--radius);
  display: grid; place-items: center;
  background: var(--white); color: var(--ink);
  font-family: var(--font-display); font-weight: 700;
  font-variation-settings: "wdth" 82;
  font-size: 0.85rem; letter-spacing: 0.01em; overflow: hidden;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong {
  font-family: var(--font-display); font-size: 0.9rem; font-weight: 600;
  font-variation-settings: "wdth" 88; letter-spacing: -0.012em; color: var(--white);
}
.brand-text small {
  font-family: var(--font-mono); font-size: 0.575rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-dark-faint);
}

.primary-nav { display: flex; align-items: center; gap: 0.1rem; }
.primary-nav a {
  text-decoration: none; font-size: 0.86rem; font-weight: 450;
  padding: 0.5rem 0.65rem; border-radius: var(--radius);
  color: var(--on-dark-muted); white-space: nowrap;
  transition: color 0.2s var(--ease);
}
.primary-nav a:hover { color: var(--white); }
.primary-nav a[aria-current="page"] { color: var(--white); }

.nav-cta {
  margin-left: 0.6rem;
  background: var(--white) !important; color: var(--ink) !important;
  padding: 0.55rem 1.1rem !important; font-weight: 600 !important;
  transition: background 0.2s var(--ease) !important;
}
.nav-cta:hover { background: var(--platinum) !important; }

.menu-toggle {
  display: none; align-items: center; gap: 0.5rem;
  background: none; border: 1px solid var(--rule-dark-str);
  border-radius: var(--radius); color: var(--on-dark);
  padding: 0.55rem 0.8rem; min-height: 44px;
  font-family: var(--font-mono); font-size: 0.66rem;
  letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer;
}
.menu-toggle .bars { display: grid; gap: 4px; width: 16px; }
.menu-toggle .bars i {
  display: block; height: 1px; background: currentColor;
  transition: transform 0.28s var(--ease), opacity 0.18s var(--ease);
}
.menu-toggle[aria-expanded="true"] .bars i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars i:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .bars i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1100px) {
  .menu-toggle { display: inline-flex; }
  .primary-nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 0; padding: var(--s-5) var(--gutter) var(--s-8);
    background: var(--ink); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity 0.26s var(--ease), transform 0.26s var(--ease), visibility 0.26s;
  }
  .primary-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .primary-nav a {
    font-size: 1.3rem; font-family: var(--font-display); font-weight: 600;
    font-variation-settings: "wdth" 88;
    padding: 0.85rem 0; border-bottom: 1px solid var(--rule-dark); border-radius: 0;
  }
  .nav-cta { margin: var(--s-5) 0 0 !important; text-align: center; padding: 0.95rem !important; }
}

/* ---------- 7. Hero ---------- */

.hero {
  position: relative; background: var(--ink); color: var(--on-dark);
  padding-block: clamp(4rem, 10vw, 8.5rem) clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}

/* Static scored panel lines. Technical drawing, not atmosphere. */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(90deg, rgba(237,239,242,0.05) 0 1px, transparent 1px 118px);
  mask-image: linear-gradient(180deg, #000 0%, transparent 88%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 88%);
}

.hero-inner { position: relative; }

.hero h1 {
  font-size: var(--t-display-xl);
  font-variation-settings: "wdth" 84;
  font-weight: 600;
  letter-spacing: -0.038em;
  line-height: 0.94;
  max-width: 16ch;
  margin-bottom: var(--s-5);
  color: var(--white);
}
/* Emphasis by luminance, not hue */
.hero h1 .quiet { color: #767E8A; }
.hero h1 .hi { color: var(--white); }

.hero-lead { max-width: 54ch; font-size: var(--t-lead); color: var(--on-dark-muted); }
.hero-actions { margin-top: clamp(1.75rem, 3vw, 2.5rem); }

.hero-foot {
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  padding-top: var(--s-5);
  border-top: 1px solid var(--rule-dark);
  display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-7);
  font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-faint);
}

.page-hero {
  background: var(--ink); color: var(--on-dark);
  padding-block: clamp(3.25rem, 7vw, 5.5rem);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(90deg, rgba(237,239,242,0.05) 0 1px, transparent 1px 118px);
  mask-image: linear-gradient(180deg, #000 0%, transparent 92%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 92%);
}
.page-hero > * { position: relative; }
.page-hero h1 {
  font-size: var(--t-display-l);
  font-variation-settings: "wdth" 84;
  letter-spacing: -0.032em; max-width: 20ch; color: var(--white);
}
.page-hero .lead { max-width: 60ch; }

/* ---------- 8. Audience fork ---------- */

.doors { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
@media (min-width: 860px) { .doors { grid-template-columns: repeat(3, 1fr); } }

.door {
  background: var(--paper);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex; flex-direction: column; gap: var(--s-3);
  text-decoration: none; color: inherit; position: relative;
  transition: background 0.3s var(--ease);
}
.door:hover, .door:focus-visible { background: var(--white); }

.door-num {
  font-family: var(--font-mono); font-size: var(--t-label);
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-faint);
}
.door h3 { font-size: 1.45rem; margin: 0; letter-spacing: -0.028em; }
.door p { color: var(--fg-muted); font-size: var(--t-small); margin: 0; }
.door-go {
  margin-top: auto; padding-top: var(--s-5);
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 550; font-size: var(--t-small);
}
.door .arrow { transition: transform 0.3s var(--ease-out); }
.door:hover .arrow { transform: translateX(4px); }

/* ---------- 9. ATR letters ---------- */

.atr-list { border-top: 1px solid var(--rule-dark); }
.band--stone .atr-list, .band--white .atr-list { border-top-color: var(--rule); }

.atr-row {
  display: grid; grid-template-columns: auto 1fr;
  gap: clamp(1.25rem, 4vw, 3.5rem); align-items: start;
  padding: clamp(1.75rem, 4vw, 2.75rem) 0;
  border-bottom: 1px solid var(--rule-dark);
}
.band--stone .atr-row, .band--white .atr-row { border-bottom-color: var(--rule); }

.atr-letter {
  font-family: var(--font-display);
  font-size: clamp(3.25rem, 8vw, 6rem);
  font-weight: 700; font-variation-settings: "wdth" 76;
  line-height: 0.82; letter-spacing: -0.05em;
  width: clamp(2.5rem, 7vw, 4.5rem);
  color: #767E8A;
  transition: color 0.5s var(--ease);
}
.atr-row.is-in .atr-letter { color: var(--white); }
.band--stone .atr-letter { color: #6E747E; }
.band--stone .atr-row.is-in .atr-letter { color: var(--ink); }

.atr-body h3 { font-size: clamp(1.35rem, 2.3vw, 1.9rem); margin-bottom: var(--s-3); }
.atr-body p { color: var(--on-dark-muted); max-width: 62ch; margin: 0; }
.band--stone .atr-body p, .band--white .atr-body p { color: var(--fg-muted); }

/* ---------- 10. The pathway rail ---------- */

.pathway-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: 1fr; }
@media (min-width: 940px) { .pathway-grid { grid-template-columns: 250px minmax(0, 1fr); } }

.stoop { display: none; position: sticky; top: calc(var(--header-h) + 3rem); align-self: start; }
@media (min-width: 940px) { .stoop { display: block; } }

.stoop-steps { display: flex; flex-direction: column-reverse; gap: 5px; }

.stoop-step {
  position: relative; height: 50px;
  background: rgba(237, 239, 242, 0.05);
  border: 1px solid var(--rule-dark);
  display: flex; align-items: center; padding-left: 0.9rem;
  font-family: var(--font-mono); font-size: 0.66rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--on-dark-faint);
  overflow: hidden;
  transition: color 0.5s var(--ease), border-color 0.5s var(--ease);
  width: 64%;
}
.stoop-step:nth-child(2) { width: 80%; }
.stoop-step:nth-child(3) { width: 96%; }

/* Polished stone edge — the one literal material in the design */
.stoop-step::before {
  content: ""; position: absolute; inset: 0;
  background: var(--metal); opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.stoop-step > span { position: relative; z-index: 1; }
.stoop-step.is-active { color: var(--ink); border-color: var(--platinum); }
.stoop-step.is-active::before { opacity: 1; }

.stoop-door {
  margin-bottom: 9px; height: 74px; width: 64%;
  border: 1px solid var(--rule-dark); border-bottom: 0;
  border-radius: 60px 60px 0 0;
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 0.62rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-dark-faint);
  transition: border-color 0.6s var(--ease), color 0.6s var(--ease);
}
.stoop.is-complete .stoop-door { border-color: var(--platinum); color: var(--white); }

.stoop-caption {
  margin-top: var(--s-5);
  font-family: var(--font-mono); font-size: 0.63rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--on-dark-faint); line-height: 1.7;
}

.phases { border-top: 1px solid var(--rule-dark); }
.phase {
  padding: clamp(2rem, 4.5vw, 3rem) 0;
  border-bottom: 1px solid var(--rule-dark);
  display: grid; grid-template-columns: auto 1fr;
  gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start;
}
@media (max-width: 719px) { .phase { grid-template-columns: 1fr; gap: var(--s-4); } }

.phase-num {
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--on-dark-faint); padding-top: 0.5rem;
  white-space: nowrap; transition: color 0.5s var(--ease);
}
@media (max-width: 719px) { .phase-num { padding-top: 0; white-space: normal; } }
.phase.is-active .phase-num { color: var(--white); }

.phase h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); margin-bottom: var(--s-3); }
.phase p { color: var(--on-dark-muted); max-width: 60ch; margin: 0; }

.phase-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: var(--s-4); padding: 0; list-style: none; }
.phase-tags li {
  margin: 0; font-family: var(--font-mono); font-size: 0.65rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--on-dark-faint);
  border: 1px solid var(--rule-dark); border-radius: var(--radius);
  padding: 0.3rem 0.65rem;
}

/* ---------- 11. Specification grid ---------- */
/* Replaces card-with-icon-chip. Reads as a spec sheet: hairline cells,
   mono index, no ornament. */

.spec { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
@media (min-width: 640px)  { .spec { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .spec { grid-template-columns: repeat(3, 1fr); } }

.band--ink .spec, .band--ink2 .spec, .band--graphite .spec {
  background: var(--rule-dark); border-color: var(--rule-dark);
}

.spec-cell {
  background: var(--bg);
  padding: clamp(1.4rem, 2.4vw, 1.9rem);
  display: flex; flex-direction: column;
  transition: background 0.3s var(--ease);
}
.band--stone .spec-cell { background: var(--mist); }
.band--white .spec-cell { background: var(--white); }
.band--ink .spec-cell { background: var(--ink); }
.band--ink2 .spec-cell { background: var(--ink-2); }
.spec-cell:hover { background: var(--white); }
.band--ink .spec-cell:hover, .band--ink2 .spec-cell:hover { background: var(--ink-3); }

.spec-index {
  font-family: var(--font-mono); font-size: var(--t-label);
  letter-spacing: 0.16em; color: var(--fg-faint); margin-bottom: var(--s-4);
}
.band--ink .spec-index, .band--ink2 .spec-index { color: var(--on-dark-faint); }

.spec-cell h3 { font-size: var(--t-h3); margin: 0 0 var(--s-2); letter-spacing: -0.018em; }
.spec-cell p { font-size: var(--t-small); color: var(--fg-muted); margin: 0; }
.band--ink .spec-cell p, .band--ink2 .spec-cell p { color: var(--on-dark-muted); }

.spec-cell--link { text-decoration: none; color: inherit; }
.spec-cell--link .spec-go {
  margin-top: auto; padding-top: var(--s-5);
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: var(--font-mono); font-size: 0.64rem;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.spec-cell--link .arrow { transition: transform 0.3s var(--ease-out); }
.spec-cell--link:hover .arrow { transform: translateX(4px); }

/* ---------- 12. Checklist ---------- */

.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.checks li {
  display: grid; grid-template-columns: auto 1fr; align-items: start;
  gap: 0.85rem; margin: 0; padding: var(--s-4) 0;
  border-bottom: 1px solid var(--rule); font-size: var(--t-small);
}
.checks li:first-child { border-top: 1px solid var(--rule); }
.checks svg { width: 15px; height: 15px; margin-top: 0.3rem; color: var(--fg-faint); }
.band--ink .checks li, .band--graphite .checks li { border-color: var(--rule-dark); }
.band--ink .checks li:first-child, .band--graphite .checks li:first-child { border-top-color: var(--rule-dark); }
.band--ink .checks svg, .band--graphite .checks svg { color: var(--on-dark-faint); }
@media (min-width: 760px) { .checks--two { grid-template-columns: 1fr 1fr; column-gap: var(--s-7); } }

/* ---------- 13. Counters ---------- */

.counters { display: grid; gap: 1px; background: var(--rule); border-block: 1px solid var(--rule); }
@media (min-width: 720px) { .counters { grid-template-columns: repeat(4, 1fr); } }

.counter { background: var(--bg); padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1rem, 2vw, 1.5rem); }
.counter b {
  display: block; font-family: var(--font-display);
  font-size: clamp(2.75rem, 5vw, 4.25rem); font-weight: 600;
  font-variation-settings: "wdth" 76;
  line-height: 1; letter-spacing: -0.04em;
  color: var(--ink); font-variant-numeric: tabular-nums;
}
.counter span {
  display: block; margin-top: var(--s-4);
  font-family: var(--font-mono); font-size: 0.66rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-faint); line-height: 1.7;
}

/* ---------- 14. People ---------- */

.people { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); }

.person {
  text-align: left; background: none; border: 0; padding: 0;
  font: inherit; color: inherit; cursor: pointer; display: block; width: 100%;
}
.person-photo {
  display: block;
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  background: var(--ink-2); margin-bottom: var(--s-4);
  border: 1px solid var(--rule);
}
.band--ink .person-photo, .band--ink2 .person-photo { border-color: var(--rule-dark); }
.person-photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.06);
  transition: transform 0.7s var(--ease-out);
}
.person:hover .person-photo img, .person:focus-visible .person-photo img { transform: scale(1.03); }

.person-photo .monogram {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 600;
  font-variation-settings: "wdth" 78; letter-spacing: -0.03em;
  color: var(--silver); background: var(--ink-2);
}

.person h3 { font-size: 1.02rem; margin-bottom: 0.25rem; letter-spacing: -0.018em; }
.person .role { font-size: 0.82rem; color: var(--fg-muted); line-height: 1.5; margin: 0; }
.band--ink .person .role, .band--ink2 .person .role { color: var(--on-dark-muted); }
.person .more {
  display: inline-flex; align-items: center; gap: 0.4rem; margin-top: var(--s-3);
  font-family: var(--font-mono); font-size: 0.62rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-faint);
}
.band--ink .person .more, .band--ink2 .person .more { color: var(--on-dark-faint); }
.person:hover .more { color: var(--fg); }
.band--ink .person:hover .more, .band--ink2 .person:hover .more { color: var(--white); }

/* ---------- 15. Partner strip ---------- */

.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee + .marquee { margin-top: 1px; }
.marquee-track { display: flex; gap: 1px; width: max-content; animation: slide 62s linear infinite; }
.marquee--rev .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }

.chip {
  flex: none; padding: 0.85rem 1.4rem;
  font-size: 0.84rem; font-weight: 400;
  color: var(--fg-muted); background: var(--paper);
  white-space: nowrap; border: 0;
}
.band--ink .chip, .band--ink2 .chip { background: var(--ink-2); color: var(--on-dark-muted); }
.band--stone .chip { background: var(--white); }

/* ---------- 16. Callout ---------- */

.callout {
  border-left: 1px solid var(--ink);
  padding: var(--s-2) 0 var(--s-2) var(--s-5);
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  font-weight: 500; font-variation-settings: "wdth" 92;
  line-height: 1.35; letter-spacing: -0.022em;
}
.callout p { margin: 0; }
.band--ink .callout { border-left-color: var(--white); }

/* ---------- 17. FAQ ---------- */

.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 1.3rem 2.5rem 1.3rem 0;
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 600;
  font-variation-settings: "wdth" 90; letter-spacing: -0.018em;
  position: relative; transition: opacity 0.2s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { opacity: 0.62; }
.faq summary::after {
  content: ""; position: absolute; right: 0.4rem; top: 50%;
  width: 9px; height: 9px;
  border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq details p { padding: 0 3rem var(--s-5) 0; color: var(--fg-muted); margin: 0; }

/* ---------- 18. Forms ---------- */

.form { display: grid; gap: var(--s-4); }
.field { display: grid; gap: 0.4rem; }
.field label {
  font-family: var(--font-mono); font-size: var(--t-label);
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-faint);
}
.field input, .field select, .field textarea {
  font: inherit; font-size: var(--t-small); color: var(--fg);
  background: var(--white);
  border: 1px solid var(--rule-strong); border-radius: var(--radius);
  padding: 0.8rem 0.95rem; min-height: 46px; width: 100%;
  transition: border-color 0.2s var(--ease);
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink);
}
.field-row { display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.form-note { font-size: 0.8rem; color: var(--fg-faint); }

/* ---------- 19. Notice ---------- */

.notice { border: 1px solid var(--rule-strong); padding: clamp(1.5rem, 3vw, 2.25rem); background: transparent; }
.notice .label { margin-bottom: var(--s-3); }
.notice p { color: var(--fg-muted); margin: 0; }
.band--ink .notice, .band--ink2 .notice { border-color: var(--rule-dark-str); }
.band--ink .notice p, .band--ink2 .notice p { color: var(--on-dark-muted); }

/* ---------- 20. CTA ---------- */

.cta-block { text-align: center; max-width: 60ch; margin-inline: auto; }
.cta-block h2 { font-size: var(--t-h2); }
.cta-block .label { border-bottom: 0; padding-bottom: 0; }
.cta-block .btn-row { justify-content: center; margin-top: var(--s-6); }

/* ---------- 21. Footer ---------- */

.site-footer {
  background: var(--ink); color: var(--on-dark-muted);
  padding-block: clamp(3rem, 6vw, 5rem) var(--s-6); font-size: var(--t-small);
}
.footer-grid { display: grid; gap: clamp(2rem, 4vw, 3rem); grid-template-columns: 1fr; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }

.site-footer h2 {
  font-size: 1.2rem; color: var(--white); margin-bottom: var(--s-3);
  font-variation-settings: "wdth" 88;
}
.site-footer h3 {
  font-family: var(--font-mono); font-size: var(--t-label); font-weight: 400;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--on-dark-faint); margin-bottom: var(--s-4);
}
.footer-links { display: grid; gap: 0.55rem; }
.footer-links a {
  text-decoration: none; color: var(--on-dark-muted); width: fit-content;
  transition: color 0.2s var(--ease);
}
.footer-links a:hover { color: var(--white); }
.site-footer a { color: var(--on-dark-muted); }

.footer-bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: var(--s-5);
  border-top: 1px solid var(--rule-dark);
  display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); justify-content: space-between;
  font-family: var(--font-mono); font-size: 0.64rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-faint);
}

/* ---------- 22. Dialog ---------- */

.bio-dialog {
  border: 1px solid var(--rule-strong); padding: 0;
  max-width: 620px; width: min(94vw, 620px);
  border-radius: var(--radius); background: var(--white); color: var(--fg);
  box-shadow: 0 30px 80px rgba(13, 15, 18, 0.30);
}
.bio-dialog::backdrop { background: rgba(13, 15, 18, 0.74); }
.bio-dialog-inner { padding: clamp(1.75rem, 4vw, 2.75rem); position: relative; }
.bio-dialog h2 { font-size: 1.5rem; margin-bottom: 0.35rem; padding-right: 2.5rem; }
.bio-dialog .role {
  font-family: var(--font-mono); font-size: var(--t-label);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-faint); margin-bottom: var(--s-5); line-height: 1.7;
}
.bio-dialog .bio { color: var(--fg-muted); margin: 0; }
.dialog-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 36px; height: 36px;
  border: 1px solid var(--rule); background: var(--white);
  border-radius: var(--radius); font-size: 1.05rem; line-height: 1;
  cursor: pointer; color: var(--fg);
  transition: background 0.2s var(--ease);
}
.dialog-close:hover { background: var(--mist); }

/* ---------- 23. Motion ---------- */
/* Short travel, no bounce. Movement should be barely noticed. */

html.js [data-reveal] {
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  transition-delay: var(--delay, 0ms);
}
html.js [data-reveal].is-in { opacity: 1; transform: none; }

.reveal-line { display: block; overflow: hidden; }
.reveal-line > span {
  display: block; transform: translateY(104%);
  animation: lineUp 0.9s var(--ease-out) forwards;
  animation-delay: var(--delay, 0ms);
}
@keyframes lineUp { to { transform: translateY(0); } }

.fade-up { opacity: 0; animation: fadeUp 0.7s var(--ease-out) forwards; animation-delay: var(--delay, 0ms); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important; scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .reveal-line > span { transform: none; }
  .fade-up { opacity: 1; }
  .marquee-track { animation: none; }
}

/* ---------- 24. Small screens ---------- */

@media (max-width: 560px) {
  .brand-text strong { font-size: 0.82rem; }
  .brand-text small { font-size: 0.53rem; letter-spacing: 0.16em; }
  .brand-mark { width: 31px; height: 31px; }
  .btn { width: 100%; justify-content: center; }
  .btn-row { gap: var(--s-2); }
  .hero-foot { font-size: 0.63rem; gap: var(--s-2) var(--s-5); }
  .faq summary { font-size: 0.98rem; padding-right: 2rem; }
  .faq details p { padding-right: 0; }
  .checks--two { grid-template-columns: 1fr; }
}

[id] { scroll-margin-top: calc(var(--header-h) + 1.5rem); }
@media (max-height: 620px) { .stoop { position: static; } }

@media print {
  .site-header, .site-footer, .btn, .marquee { display: none !important; }
  body { background: #fff; color: #000; }
  .band { padding-block: 1rem; }
}


/* ---------- 25. Merge additions (existing tokens only) ---------- */

.person .summary {
  font-size: var(--t-small); color: var(--fg-muted);
  line-height: 1.55; margin: 0.55rem 0 0;
}
.band--ink .person .summary, .band--ink2 .person .summary { color: var(--on-dark-muted); }

.site-footer .footer-logo {
  display: block; width: 96px; height: auto; margin-bottom: var(--s-4);
}

/* Stabilization/additions pass 2 */

.bio-dialog { max-height: 90vh; }
.bio-dialog-inner { max-height: 84vh; overflow-y: auto; overscroll-behavior: contain; }
.bio-dialog .bio { white-space: pre-line; }

button.door { font: inherit; text-align: left; cursor: pointer; width: 100%; color: inherit; }
@media (min-width: 860px) { .doors--two { grid-template-columns: repeat(2, 1fr); } }

.spec-cell ul { margin: var(--s-3) 0 0; }
.spec-cell li { font-size: var(--t-small); color: var(--fg-muted); margin-bottom: 0.35rem; }
.band--ink .spec-cell li, .band--ink2 .spec-cell li { color: var(--on-dark-muted); }

/* Final client-feedback pass */
.hero-logo {
  display: inline-block; background: #fff; border-radius: var(--radius);
  padding: 0.45rem 0.55rem; line-height: 0; margin-bottom: var(--s-4);
}
.hero-logo img { height: 60px; width: auto; display: block; }
.people--exec { grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); max-width: 44rem; }

/* ==========================================================================
   COLOR EDITION — "Bridge & Brick" theme layer
   Navy = trust and structure. Gold = opportunity and the bridge. Brick =
   Baltimore rowhouses, the stoop, home. Appended as an override layer;
   the monochrome system below remains untouched.
   ========================================================================== */

:root {
  /* Repaint the neutral ramp warm-navy */
  --ink:       #0F1B2D;
  --ink-2:     #142438;
  --ink-3:     #1B2E47;
  --graphite:  #1E3A5C;
  --steel:     #3F5877;
  --slate:     #5F7392;
  --silver:    #93A3B8;
  --platinum:  #C3CEDC;
  --mist:      #E4E9F0;
  --paper:     #FAF7F0;

  /* Semantic repaint */
  --fg:          #10192A;
  --fg-muted:    #4A5568;
  --fg-faint:    #566072;
  --rule:        rgba(16, 25, 42, 0.14);
  --rule-strong: rgba(16, 25, 42, 0.32);
  --on-dark:        #F3EFE6;
  --on-dark-muted:  rgba(243, 239, 230, 0.72);
  --on-dark-faint:  rgba(243, 239, 230, 0.60);
  --rule-dark:      rgba(243, 239, 230, 0.16);
  --rule-dark-str:  rgba(243, 239, 230, 0.34);

  /* Accents */
  --gold:       #D9A441;
  --gold-deep:  #B9871F;
  --gold-soft:  #F3DFAE;
  --brick:      #B14A2C;
  --brick-deep: #93401F;
  --navy:       #152A45;

  /* Brass rail replaces polished steel */
  --metal: linear-gradient(118deg,
    #F5E3B8 0%, #D9A441 24%, #FFF3D6 44%,
    #B9871F 60%, #EAD9A8 82%, #D9A441 100%);
}

/* Warm the stone band */
.band--stone { background: #F0E9DC; }

/* Eyebrow labels */
.label { color: var(--brick); border-color: rgba(177, 74, 44, 0.35); }
.band--ink .label, .band--ink2 .label, .band--graphite .label,
.hero .label, .page-hero .label { color: var(--gold); border-color: rgba(217, 164, 65, 0.45); }

/* Hero highlight word + reveal accent */
.hero h1 .hi { color: var(--gold); }
.hero h1 .quiet { color: rgba(243, 239, 230, 0.42); }

/* Buttons: gold primary with navy text */
.btn { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.btn:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: #FFF; }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn--ghost:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.nav-cta { background: var(--gold) !important; color: var(--navy) !important; border-color: var(--gold) !important; }
.nav-cta:hover { background: var(--gold-soft) !important; }

/* A.T.R. letters */
.atr-letter { color: rgba(217, 164, 65, 0.38); }
.atr-row.is-in .atr-letter { color: var(--gold); }
.band--stone .atr-letter { color: rgba(177, 74, 44, 0.55); }
.band--stone .atr-row.is-in .atr-letter { color: var(--brick); }

/* Callouts get the brick spine */
.callout { border-left-color: var(--brick); background: rgba(217, 164, 65, 0.09); }
.band--ink .callout, .band--ink2 .callout { border-left-color: var(--gold); background: rgba(217, 164, 65, 0.08); }

/* Spec grid + checks */
.spec-index { color: var(--brick); }
.band--ink .spec-index, .band--ink2 .spec-index { color: var(--gold); }
.checks .icon { color: var(--brick); }
.band--ink .checks .icon, .band--ink2 .checks .icon { color: var(--gold); }

/* Doors + cards */
.door-num { color: var(--brick); }
.band--ink .door-num, .band--ink2 .door-num { color: var(--gold); }
.door-go, .spec-go, .more, .tlink { color: var(--brick); }
.band--ink .tlink, .band--ink2 .tlink, .band--graphite .tlink { color: var(--gold); }
.door:hover .door-go, .spec-cell--link:hover .spec-go, .person:hover .more { color: var(--brick-deep); }

/* Headshots in full color */
.person-photo img { filter: none; }

/* Stoop + phases */
.stoop-door { background: var(--gold); color: var(--navy); }
.phase-num { color: var(--gold); }

/* Chips */
.chip { border-color: rgba(217, 164, 65, 0.4); color: var(--on-dark-muted); }

/* Notices */
.notice { border-color: rgba(177, 74, 44, 0.4); }
.notice .label { color: var(--brick); }
.band--ink2 .notice .label { color: var(--gold); }

/* Forms + focus */
:focus-visible { outline-color: var(--brick); }
.band--ink :focus-visible, .band--ink2 :focus-visible, .band--graphite :focus-visible,
.site-header :focus-visible, .hero :focus-visible, .page-hero :focus-visible,
.site-footer :focus-visible { outline-color: var(--gold); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold-deep); }

/* Footer + header accents */
.site-footer h3 { color: var(--gold); }
.footer-links a:hover, .site-footer address a:hover { color: var(--gold); }
.primary-nav a[aria-current="page"] { color: var(--gold); }
.brand-text small { color: var(--gold); letter-spacing: 0.14em; }

/* Bio dialog accent */
.bio-dialog .role { color: var(--brick); }
.dialog-close:hover { color: var(--brick); }
