/* ==========================================================================
   Nathan Stockbridge · Workshop design system (light)
   Bone paper, graphite ink, one ember point. Hanken Grotesk headlines,
   Newsreader voice, IBM Plex Mono labels.
   ========================================================================== */

:root {
  --bone: #f5f3ee;
  --paper: #fbfaf7;
  --stone: #dcd7ce;
  --stone-2: #e9e4da;
  --graphite: #1a1b1c;
  --ink-2: #3a3b3d;
  --muted: #55524c;
  --muted-2: #7a766e;
  --ember: #d0572a;
  --ember-deep: #a5421d;
  --ember-wash: rgba(208, 87, 42, 0.08);
  --rule: rgba(26, 27, 28, 0.14);
  --rule-2: rgba(26, 27, 28, 0.22);

  --font: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --display: var(--font);

  /* Legacy names, kept so inline styles and older pages still resolve */
  --ink: var(--graphite);
  --navy: var(--bone);
  --navy-2: var(--paper);
  --navy-3: var(--stone-2);
  --gold: var(--ember-deep);
  --gold-soft: var(--ember-deep);
  --gold-dim: var(--ember-wash);
  --fog: var(--ink-2);
  --mist: var(--muted);
  --line: var(--rule-2);

  --header-h: 4.75rem;
  --container-max: 1280px;
  --gutter: clamp(1rem, 5vw, 5rem);
  --radius: 6px;
  --radius-lg: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  color: var(--graphite);
  background: var(--bone);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

[hidden] {
  display: none !important;
}

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

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

p a:not(.btn),
.fine a,
.muted a {
  color: var(--graphite);
  text-decoration: underline;
  text-decoration-color: var(--ember);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.2em;
}

p a:not(.btn):hover {
  color: var(--ember-deep);
}

::selection {
  background: var(--ember);
  color: var(--bone);
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.mark:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
  border-radius: var(--radius);
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--graphite);
  color: var(--bone);
  padding: 0.6rem 1rem;
  z-index: 100;
  border-radius: var(--radius);
}

.skip:focus {
  left: 1rem;
  top: 1rem;
}

.dot {
  color: var(--ember);
}

.label,
.eyebrow,
.kicker {
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow {
  margin: 0 0 1rem;
}

.eyebrow::before {
  content: "●";
  color: var(--ember);
  margin-right: 0.6em;
  font-size: 0.85em;
}

.eyebrow--plain::before {
  content: none;
}

.kicker {
  margin: 0 0 1.1rem;
  color: var(--muted-2);
}

.kicker b {
  font-weight: 500;
  color: var(--ember-deep);
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: var(--header-h);
  padding: 0.75rem var(--gutter);
  background: rgba(245, 243, 238, 0.94);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--rule);
  display: flex;
  justify-content: center;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  max-width: var(--container-max);
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 2.75rem;
  color: var(--graphite);
}

.mark__logo {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.mark__name {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.mark__tag {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
  padding-left: 0.85rem;
  margin-left: 0.15rem;
  border-left: 1px solid var(--rule-2);
  white-space: nowrap;
}

/* Legacy badge, if any page still uses it */
.mark__badge {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 2px solid var(--graphite);
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2rem);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-2);
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  transition: color 0.2s var(--ease);
}

.nav a:not(.nav__cta):hover {
  color: var(--ember-deep);
}

.nav__cta {
  gap: 0.6rem;
  padding: 0 1.1rem;
  background: var(--graphite);
  color: var(--bone) !important;
  border-radius: var(--radius);
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s var(--ease);
}

.nav__cta::after {
  content: "→";
  color: var(--ember);
}

.nav__cta:hover {
  background: var(--ink-2);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.25rem;
  padding: 0 1.35rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease),
    color 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--graphite);
  color: var(--bone);
}

.btn--primary::after {
  content: "→";
  color: var(--ember);
  transition: transform 0.25s var(--ease);
}

.btn--primary:hover {
  background: var(--ink-2);
}

.btn--primary:hover::after {
  transform: translateX(3px);
}

.btn--ghost {
  background: transparent;
  color: var(--graphite);
  border-color: var(--rule-2);
}

.btn--ghost:hover {
  border-color: var(--graphite);
}

.btn--light {
  background: var(--bone);
  color: var(--graphite);
}

.btn--light::after {
  content: "→";
  color: var(--ember);
}

.btn--light:hover {
  background: #fff;
}

.btn--link {
  min-height: 2.75rem;
  padding: 0;
  border: none;
  background: none;
  color: var(--graphite);
  justify-content: flex-start;
  gap: 0.5rem;
  text-decoration: underline;
  text-decoration-color: var(--ember);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.3em;
}

.btn--link::after {
  content: "→";
  color: var(--ember);
}

.btn--link:hover {
  transform: none;
  color: var(--ember-deep);
}

/* ==========================================================================
   Layout
   ========================================================================== */

.wrap {
  width: 100%;
  max-width: calc(var(--container-max) + (var(--gutter) * 2));
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(4rem, 9vw, 6.5rem);
  padding-inline: var(--gutter);
  max-width: calc(var(--container-max) + (var(--gutter) * 2));
  margin: 0 auto;
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 0.5rem);
}

.section--tint,
.section--band {
  max-width: none;
  background: var(--stone-2);
  padding-inline: max(var(--gutter), calc((100% - var(--container-max)) / 2));
}

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

.section__intro {
  max-width: 46rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section h2,
.contact h2,
.about h2,
.h2 {
  margin: 0 0 1rem;
  font-family: var(--font);
  font-weight: 600;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--graphite);
  text-wrap: balance;
}

.section__intro p:not([class]),
.about__copy > p:not([class]),
.contact__inner > p:not([class]),
.body-lg {
  margin: 0;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.voice {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.45;
  color: var(--muted);
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding: clamp(3rem, 7vw, 5.5rem) var(--gutter) clamp(2rem, 4vw, 3.5rem);
}

.hero__inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 2.5rem;
  align-items: end;
  max-width: var(--container-max);
  margin: 0 auto;
}

.hero__content {
  grid-column: span 9;
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.hero__content .eyebrow {
  margin: 0;
}

.hero__brand {
  margin: 0;
  font-weight: 600;
  font-size: clamp(3rem, 8.6vw, 8rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: var(--graphite);
  text-wrap: balance;
}

.hero__row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 1.5rem 2rem;
  align-items: end;
}

.hero__support {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.45;
  color: var(--muted);
  max-width: 34ch;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero__actions .btn {
  width: 100%;
  min-height: 3.6rem;
}

.hero__actions .btn--link {
  min-height: 2.75rem;
  width: auto;
}

.hero__fine {
  margin: 0;
  max-width: 62ch;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero__portrait {
  grid-column: 10 / span 3;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0;
  align-self: start;
  padding-top: 1.25rem;
}

.hero__portrait::before {
  content: "";
  position: absolute;
  top: 0;
  right: -1.1rem;
  width: 42%;
  aspect-ratio: 1;
  background: var(--ember);
  border-radius: var(--radius);
}

.hero__portrait img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
  filter: saturate(1.03) contrast(1.03) sepia(0.05);
}

.hero__meta {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--muted);
}

/* Bottleneck diagram */
.diagram {
  max-width: calc(var(--container-max) + (var(--gutter) * 2));
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(3rem, 6vw, 4.5rem);
}

.diagram__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--rule-2);
}

.diagram__panel {
  margin: 0;
  padding: 1.75rem 0 0;
}

.diagram__panel + .diagram__panel {
  border-left: 1px solid var(--rule-2);
  padding-left: clamp(1rem, 3vw, 2.5rem);
}

.diagram__panel:first-child {
  padding-right: clamp(1rem, 3vw, 2.5rem);
}

.diagram__panel figcaption {
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.diagram__panel figcaption b {
  color: var(--graphite);
  font-weight: 500;
}

.diagram svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.diagram text {
  font-family: var(--mono);
}

/* Proof strip */
.proof {
  max-width: calc(var(--container-max) + (var(--gutter) * 2));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.proof__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 2px solid var(--graphite);
  border-bottom: 1px solid var(--rule);
}

.proof__list li {
  padding: 1.5rem 1.5rem 1.75rem 0;
}

.proof__list li + li {
  padding-left: 1.5rem;
  border-left: 1px solid var(--rule);
}

.proof__list strong {
  display: block;
  font-weight: 600;
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--graphite);
  margin-bottom: 0.5rem;
}

.proof__list span {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

/* ==========================================================================
   Who it's for
   ========================================================================== */

.signals {
  list-style: none;
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--graphite);
}

.signals li {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 1.6rem 1.5rem 1.75rem 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  line-height: 1.3;
  color: var(--graphite);
}

.signals li:nth-child(even) {
  padding-left: 1.5rem;
  padding-right: 0;
  border-left: 1px solid var(--rule);
}

.signals li svg {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.signals span {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--font);
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.fit {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.fit .h2 {
  font-size: clamp(2.5rem, 5.4vw, 4.25rem);
}

.fit__media {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}

.signals--plain {
  grid-template-columns: 1fr;
}

/* ==========================================================================
   Figures (photos + illustrations)
   ========================================================================== */

.shot {
  margin: 0;
  position: relative;
}

.shot img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  background: var(--stone-2);
}

.shot figcaption {
  margin-top: 0.75rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--muted);
}

.shot--crop img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ==========================================================================
   Approach: stages + scope
   ========================================================================== */

.stages {
  list-style: none;
  margin: 0 0 clamp(3rem, 6vw, 4.5rem);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: 24px;
  border-top: 2px solid var(--graphite);
  counter-reset: stage;
}

.stages li {
  counter-increment: stage;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1.75rem;
}

.stages li::before {
  content: "0" counter(stage);
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted-2);
  order: -2;
}

.stages svg {
  width: 48px;
  height: 48px;
  order: -1;
}

.stages strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--graphite);
}

.stages span {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.scope {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.scope__lists {
  display: grid;
  gap: 1.25rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.25rem;
}

.panel {
  padding: clamp(1.4rem, 3vw, 2rem);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
}

.panel--muted {
  background: transparent;
  border-style: dashed;
  border-color: var(--rule-2);
}

.panel h3 {
  margin: 0 0 1.1rem;
  font-family: var(--mono);
  font-weight: 400;
  font-size: 0.8125rem;
  text-transform: uppercase;
  color: var(--muted);
}

.panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--ink-2);
}

.panel li {
  position: relative;
  padding-left: 1.35rem;
  line-height: 1.5;
}

.panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.6rem;
  height: 2px;
  background: var(--graphite);
}

.panel--muted li::before {
  background: var(--muted-2);
  width: 0.45rem;
  height: 0.45rem;
  top: 0.45em;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid var(--muted-2);
}

.panel li + li {
  margin-top: 0.7rem;
}

.panel__note {
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
}

/* ==========================================================================
   Diagnostic
   ========================================================================== */

.diag {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.diag__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  margin-top: 1.75rem;
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 2rem;
  margin: 2rem 0 0;
}

.facts div {
  padding-top: 0.85rem;
  border-top: 1px solid var(--graphite);
}

.facts dt {
  font-family: var(--mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.facts dd {
  margin: 0;
  color: var(--graphite);
  font-weight: 500;
}

.facts dd a {
  text-decoration: underline;
  text-decoration-color: var(--ember);
  text-underline-offset: 0.2em;
}

/* ==========================================================================
   Scorecard feature (dark panel)
   ========================================================================== */

.feature {
  max-width: calc(var(--container-max) + (var(--gutter) * 2));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.feature__panel {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding: clamp(2rem, 6vw, 4.5rem);
  background: var(--graphite);
  color: var(--bone);
  border-radius: var(--radius-lg);
}

.feature__panel .kicker {
  color: #a9a59c;
}

.feature__panel .kicker b {
  color: var(--ember);
}

.feature__panel h2 {
  margin: 0 0 1.25rem;
  font-weight: 600;
  font-size: clamp(2.4rem, 5.6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--bone);
  text-wrap: balance;
}

.feature__panel p:not(.kicker):not(.fine) {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  line-height: 1.5;
  color: #d6d2c9;
  max-width: 36rem;
}

.feature__panel .btn {
  margin-top: 2rem;
}

.feature__panel .fine {
  margin-top: 1rem;
  font-family: var(--font);
  font-size: 0.9rem;
  color: #a9a59c;
}

.gauge-card {
  border: 1px solid #3a3b3d;
  border-radius: 8px;
  overflow: hidden;
}

.gauge-card svg {
  width: 100%;
  height: auto;
  padding: 1.25rem 1rem 0.25rem;
}

.gauge-card__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.15rem;
  border-top: 1px solid #3a3b3d;
  font-family: var(--mono);
  font-size: 0.8125rem;
  text-transform: uppercase;
}

.gauge-card__row span:first-child {
  color: #a9a59c;
}

.gauge-card__row span:last-child {
  text-align: right;
}

/* Tools (homepage) */
.tools {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.tool {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s var(--ease), transform 0.25s var(--ease);
}

.tool:hover {
  border-color: var(--graphite);
}

/* ==========================================================================
   Work, testimonials, about
   ========================================================================== */

.work {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.work__side {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}

.results {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--graphite);
}

.results .panel,
.result {
  padding: 1.6rem 0;
  background: none;
  border: none;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 0.5rem 2rem;
}

.results .panel h3 {
  margin: 0;
  font-family: var(--font);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--graphite);
  line-height: 1.3;
}

.results .panel h3 small {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--mono);
  font-weight: 400;
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--muted);
}

.results .panel p {
  margin: 0;
  color: var(--ink-2);
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: clamp(3rem, 6vw, 4.5rem);
}

.testimonial {
  margin: 0;
  padding-top: 1.5rem;
  border-top: 2px solid var(--graphite);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.testimonial blockquote {
  margin: 0;
}

.testimonial blockquote p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.7vw, 1.35rem);
  line-height: 1.45;
  color: var(--graphite);
}

.testimonial figcaption strong {
  display: block;
  color: var(--graphite);
  font-weight: 600;
}

.testimonial figcaption span {
  font-family: var(--mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--muted);
}

.results__reviews {
  margin: 1.75rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.results__reviews a {
  color: var(--graphite);
  text-decoration: underline;
  text-decoration-color: var(--ember);
  text-underline-offset: 0.2em;
}

.section--band > .about {
  max-width: none;
  padding-inline: 0;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.about__copy {
  max-width: 44rem;
}

.about__copy > p + p {
  margin-top: 1rem;
}

.about__lead {
  font-family: var(--serif) !important;
  font-size: clamp(1.25rem, 2vw, 1.55rem) !important;
  line-height: 1.45 !important;
  color: var(--graphite) !important;
}

.roles h3 {
  margin: 0 0 0.5rem;
  font-family: var(--mono);
  font-weight: 400;
  font-size: 0.8125rem;
  text-transform: uppercase;
  color: var(--muted);
}

.roles ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--graphite);
}

.roles li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.1rem 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--rule);
}

.roles strong {
  color: var(--graphite);
  font-weight: 600;
}

.roles li span:not(.roles__years) {
  grid-column: 1;
  color: var(--muted);
  font-size: 0.95rem;
}

.roles__years {
  grid-column: 2;
  grid-row: 1;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact {
  scroll-margin-top: var(--header-h);
}

.contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.contact__inner h2 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.contact__email {
  margin: 1.5rem 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.contact__email a {
  color: var(--graphite);
  text-decoration: underline;
  text-decoration-color: var(--ember);
  text-underline-offset: 0.2em;
}

.contact__fine {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--rule);
  padding: 2rem var(--gutter) 2.5rem;
  color: var(--muted);
  font-size: 0.9rem;
  display: flex;
  justify-content: center;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: var(--container-max);
}

.site-footer p {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.site-footer a {
  text-decoration: underline;
  text-decoration-color: var(--ember);
  text-underline-offset: 0.2em;
}

.mark--footer .mark__logo {
  width: 28px;
  height: 28px;
}

.mark--footer .mark__name {
  font-size: 0.95rem;
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1100px) {
  .mark__tag {
    display: none;
  }

  .hero__content {
    grid-column: span 8;
  }

  .hero__portrait {
    grid-column: 9 / span 4;
  }

  .hero__row {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .hero__actions .btn--primary {
    width: auto;
  }

  .stages {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 2rem;
  }
}

@media (max-width: 860px) {
  .proof__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof__list li:nth-child(3) {
    padding-left: 0;
    border-left: none;
  }

  .proof__list li:nth-child(n + 3) {
    border-top: 1px solid var(--rule);
  }

  .fit,
  .scope,
  .diag,
  .work,
  .about,
  .contact__inner,
  .feature__panel,
  .tool {
    grid-template-columns: 1fr;
  }

  .work__side {
    position: static;
  }

  .fit__media {
    position: static;
    max-width: 30rem;
  }

  .gauge-card {
    max-width: 26rem;
  }

  .testimonials {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  :root {
    --header-h: 4rem;
  }

  body {
    font-size: 1rem;
  }

  .site-header {
    padding-block: 0.5rem;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero__inner {
    row-gap: 1.5rem;
  }

  .hero__content {
    grid-column: 1 / -1;
    order: 1;
  }

  .hero__portrait {
    grid-column: 1 / -1;
    order: 0;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding-top: 0.6rem;
  }

  .hero__portrait::before {
    width: 2.75rem;
    right: auto;
    left: 3.25rem;
  }

  .hero__portrait img {
    width: 5.5rem;
    flex-shrink: 0;
  }

  .hero__brand {
    font-size: clamp(2.75rem, 13vw, 4rem);
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn--primary {
    width: 100%;
  }

  .diagram__inner {
    grid-template-columns: 1fr;
  }

  .diagram__panel + .diagram__panel {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--rule-2);
    margin-top: 1.75rem;
  }

  .diagram__panel:first-child {
    padding-right: 0;
  }

  .signals {
    grid-template-columns: 1fr;
  }

  .signals li,
  .signals li:nth-child(even) {
    padding: 1.35rem 0;
    border-left: none;
    flex-direction: row;
    align-items: flex-start;
  }

  .signals li svg {
    width: 32px;
    height: 32px;
  }

  .stages {
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  .stages li {
    display: grid;
    grid-template-columns: 2.5rem 1fr;
    grid-template-rows: auto auto;
    column-gap: 1rem;
    row-gap: 0.2rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--rule);
  }

  .stages li::before {
    display: none;
  }

  .stages svg {
    grid-row: span 2;
    width: 40px;
    height: 40px;
  }

  .split,
  .results .panel,
  .facts,
  .tools {
    grid-template-columns: 1fr;
  }

  .contact__actions .btn {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .nav a:not(.nav__cta) {
    display: none;
  }

  .proof__list {
    grid-template-columns: 1fr;
  }

  .proof__list li,
  .proof__list li + li {
    padding: 1.1rem 0;
    border-left: none;
  }

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

@media (max-width: 560px) {
  .site-header__inner {
    gap: 0.75rem;
  }

  .mark {
    gap: 0.6rem;
  }

  .mark__name {
    font-size: 0.98rem;
  }
}

@media (max-width: 480px) {
  .mark__ops {
    display: none;
  }
}

@media (max-width: 330px) {
  .mark__name {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .js .reveal,
  .js .reveal.is-in {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .btn:hover {
    transform: none;
  }
}
