/* Nonlinear Media — page components (layered on colors_and_type.css + site.css) */

/* Nav without the icon row */
.nav-brand { font-size: 22px; }

/* Shared */
.nm-section { padding-top: 96px; padding-bottom: 96px; }
.nm-tint { background: var(--hz-white); }
.nm-head { max-width: 760px; margin-bottom: 44px; }
.nm-head .lead { margin-top: 20px; }
.nm-lead { font-size: 19px; line-height: 1.6; max-width: 640px; color: rgba(55,7,29,0.82); }
.nm-link {
  font-family: var(--font-body);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--hz-bright-blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nm-link:hover { opacity: 0.75; }
.nm-ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 36px; }
.nm-ctas .nm-link { margin-left: 8px; }
.nm-date {
  font-family: var(--font-body);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(55,7,29,0.55);
}
@media (max-width: 880px) { .nm-section { padding-top: 72px; padding-bottom: 72px; } }

/* Hero (home + inner pages with photo) */
.nm-hero { padding: 64px 48px 96px; position: relative; overflow: hidden; }
.nm-hero-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center;
  position: relative; z-index: 1;
}
.nm-hero .h-display { font-size: clamp(48px, 7vw, 96px); }
.nm-hero .h-1 { max-width: 15ch; }
.nm-hero-body { font-size: 20px; line-height: 1.55; color: rgba(55,7,29,0.8); max-width: 560px; margin-top: 28px; }
.nm-hero-photo { justify-self: end; width: 100%; max-width: 460px; }
.nm-hero-photo .frame {
  border-radius: 32px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg);
}
.nm-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.nm-caption { margin-top: 14px; font-size: 14px; color: rgba(55,7,29,0.7); }
.nm-caption strong { color: var(--hz-burgundy); }
.nm-squiggle { position: absolute; top: -12%; right: -10%; width: 58%; max-width: 820px; opacity: 0.28; pointer-events: none; z-index: 0; }
@media (max-width: 880px) {
  .nm-hero { padding: 32px 24px 64px; }
  .nm-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .nm-hero-photo { justify-self: stretch; max-width: 100%; }
  .nm-hero-body { font-size: 18px; }
}

/* Partner strip */
.nm-strip { padding-top: 56px; padding-bottom: 56px; border-top: 1px solid rgba(55,7,29,0.08); border-bottom: 1px solid rgba(55,7,29,0.08); }
.nm-strip-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.nm-strip-names { display: flex; flex-wrap: wrap; gap: 14px 34px; align-items: center; margin-top: 22px; }
.nm-strip-names span { font-family: var(--font-body); font-weight: 800; font-size: 19px; letter-spacing: -0.01em; color: rgba(55,7,29,0.78); }

/* Perspective */
.nm-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.nm-split p { font-size: 18px; line-height: 1.65; margin: 0 0 22px; color: rgba(55,7,29,0.85); }
@media (max-width: 880px) { .nm-split { grid-template-columns: 1fr; gap: 28px; } }

/* Offer cards */
.nm-offers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.nm-offer {
  background: var(--hz-white); border: 1px solid rgba(55,7,29,0.1); border-radius: 28px;
  overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit;
  transition: transform .18s ease, border-color .18s ease;
}
.nm-offer:hover { transform: translateY(-3px); border-color: rgba(43,124,255,0.45); }
.nm-offer-img { aspect-ratio: 16 / 10; overflow: hidden; }
.nm-offer-img img { width: 100%; height: 100%; object-fit: cover; }
.nm-offer-body { padding: 32px 32px 34px; display: flex; flex-direction: column; flex: 1; }
.nm-offer-body p { font-size: 16px; line-height: 1.6; margin: 14px 0 24px; color: rgba(55,7,29,0.8); }
.nm-offer-body .nm-link { margin-top: auto; }
@media (max-width: 880px) { .nm-offers { grid-template-columns: 1fr; } }

/* Work cards (recent work, latest campaigns) */
.nm-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.nm-card {
  background: var(--hz-white); border: 1px solid rgba(55,7,29,0.1); border-radius: 24px;
  padding: 28px 26px 26px; display: flex; flex-direction: column;
}
.nm-card h3 { font-size: 23px; margin: 12px 0 10px; }
.nm-card p { font-size: 15px; line-height: 1.6; margin: 0 0 20px; color: rgba(55,7,29,0.8); }
.nm-card-links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px 20px; }
.nm-brand { font-family: var(--font-body); font-weight: 800; font-size: 13px; letter-spacing: 0.04em; color: var(--hz-bright-blue); }
@media (max-width: 980px) { .nm-cards { grid-template-columns: 1fr; } }

/* Coverage row */
.nm-coverage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(55,7,29,0.16); border-left: 1px solid rgba(55,7,29,0.16); }
.nm-coverage a {
  border-right: 1px solid rgba(55,7,29,0.16); border-bottom: 1px solid rgba(55,7,29,0.16);
  padding: 26px 26px 24px; text-decoration: none; color: var(--hz-burgundy); display: flex; flex-direction: column; gap: 10px;
  transition: background .15s ease;
}
.nm-coverage a:hover { background: rgba(43,124,255,0.05); }
.nm-coverage .pr-title { font-size: 19px; }
@media (max-width: 880px) { .nm-coverage { grid-template-columns: 1fr; } }

/* Featured cases */
.nm-cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.nm-case {
  background: var(--hz-white); border: 1px solid rgba(55,7,29,0.1); border-radius: 28px;
  overflow: hidden; display: flex; flex-direction: column;
}
.nm-case-img { aspect-ratio: 16 / 9; overflow: hidden; }
.nm-case-img img { width: 100%; height: 100%; object-fit: cover; }
.nm-case-body { padding: 30px 30px 30px; display: flex; flex-direction: column; flex: 1; }
.nm-case-body h3 { font-size: 26px; margin: 10px 0 12px; }
.nm-case-body p { font-size: 16px; line-height: 1.6; margin: 0 0 18px; color: rgba(55,7,29,0.82); }
.nm-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.nm-meta li {
  font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px;
  background: rgba(43,124,255,0.08); color: var(--hz-burgundy);
}
.nm-case-body .nm-card-links { margin-top: auto; }
@media (max-width: 880px) { .nm-cases { grid-template-columns: 1fr; } }

/* Audience metrics */
.nm-metrics { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 36px; }
.nm-metric { background: var(--hz-white); border: 1px solid rgba(55,7,29,0.1); border-radius: 22px; padding: 24px 28px; min-width: 220px; }
.nm-metric-value { font-family: var(--font-heading); font-size: 44px; line-height: 1; color: var(--hz-burgundy); }
.nm-metric-label { font-size: 14px; margin-top: 10px; color: rgba(55,7,29,0.72); }
.nm-note { font-size: 13px; color: rgba(55,7,29,0.55); margin-top: 16px; }

/* Formats / topics list */
.nm-list { border-top: 1px solid rgba(55,7,29,0.16); }
.nm-list-item { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; padding: 30px 0; border-bottom: 1px solid rgba(55,7,29,0.16); }
.nm-list-item h3 { font-size: 25px; }
.nm-list-item p { font-size: 16px; line-height: 1.6; margin: 0; color: rgba(55,7,29,0.82); }
.nm-list-item p + p { margin-top: 12px; }
.nm-list-item strong { color: var(--hz-burgundy); }
.nm-tag {
  display: inline-block; margin-top: 12px; font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px;
  background: rgba(249,245,148,0.7); color: var(--hz-burgundy);
}
@media (max-width: 880px) { .nm-list-item { grid-template-columns: 1fr; gap: 12px; } }

/* Roster */
.nm-roster { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(55,7,29,0.14); border-left: 1px solid rgba(55,7,29,0.14); }
.nm-roster span {
  border-right: 1px solid rgba(55,7,29,0.14); border-bottom: 1px solid rgba(55,7,29,0.14);
  padding: 22px 20px; font-family: var(--font-heading); font-size: 21px; color: var(--hz-burgundy);
}
@media (max-width: 880px) { .nm-roster { grid-template-columns: repeat(2, 1fr); } .nm-roster span { font-size: 18px; padding: 18px 16px; } }

/* Engagements */
.nm-engagements { border-top: 1px solid rgba(55,7,29,0.16); }
.nm-engagement { display: grid; grid-template-columns: 220px 1fr 170px; gap: 24px; padding: 26px 4px; border-bottom: 1px solid rgba(55,7,29,0.16); align-items: baseline; }
.nm-engagement .pr-title { font-size: 21px; }
.nm-engagement .nm-role { font-size: 15px; color: rgba(55,7,29,0.7); margin-top: 6px; }
@media (max-width: 880px) { .nm-engagement { grid-template-columns: 1fr; gap: 6px; } }

/* Bio box */
.nm-bio { background: var(--hz-white); border: 1px solid rgba(55,7,29,0.1); border-radius: 28px; padding: 36px 36px; max-width: 820px; }
.nm-bio p { font-size: 17px; line-height: 1.65; margin: 0 0 16px; color: rgba(55,7,29,0.85); }
.nm-bio p:last-child { margin-bottom: 0; }

/* Photo pair / community */
.nm-photos { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; margin-top: 36px; }
.nm-photos div { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-md); }
.nm-photos img { width: 100%; height: 100%; object-fit: cover; }
.nm-photos .wide { grid-column: span 8; aspect-ratio: 3 / 2; }
.nm-photos .tall { grid-column: span 4; }
@media (max-width: 880px) { .nm-photos .wide, .nm-photos .tall { grid-column: span 12; } .nm-photos .tall { aspect-ratio: 4 / 5; } }

/* Facts */
.nm-facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(55,7,29,0.14); max-width: 820px; }
.nm-facts li { display: grid; grid-template-columns: 160px 1fr; gap: 20px; padding: 18px 4px; border-bottom: 1px solid rgba(55,7,29,0.14); font-size: 17px; }
.nm-facts li span:first-child { font-weight: 800; font-size: 13px; letter-spacing: 0.06em; color: rgba(55,7,29,0.6); padding-top: 3px; }
@media (max-width: 600px) { .nm-facts li { grid-template-columns: 1fr; gap: 4px; } }

/* Contact form */
.nm-form-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.nm-form {
  background: var(--hz-white); border: 1px solid rgba(55,7,29,0.12); border-radius: 28px; padding: 36px;
  display: flex; flex-direction: column; gap: 18px;
}
.nm-form label { display: flex; flex-direction: column; gap: 8px; font-weight: 700; font-size: 14px; }
.nm-form label .opt { font-weight: 400; color: rgba(55,7,29,0.55); }
.nm-form input, .nm-form select, .nm-form textarea {
  font: inherit; font-weight: 400; font-size: 16px; color: var(--hz-burgundy);
  border: 1px solid rgba(55,7,29,0.22); border-radius: 14px; padding: 13px 14px; background: var(--hz-cream);
}
.nm-form input:focus, .nm-form select:focus, .nm-form textarea:focus { outline: 2px solid var(--hz-bright-blue-40); border-color: var(--hz-bright-blue); }
.nm-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.nm-fieldset { border: 0; margin: 0; padding: 18px 0 0; border-top: 1px dashed rgba(55,7,29,0.18); display: flex; flex-direction: column; gap: 18px; }
.nm-fieldset[hidden] { display: none; }
.nm-fieldset legend { font-family: var(--font-heading); font-size: 20px; padding: 0 0 6px; }
.nm-form-status { font-size: 15px; line-height: 1.5; margin: 0; }
.nm-form-status.ok { color: #1c7a43; }
.nm-form-status.err { color: #b3261e; }
.nm-form-success { text-align: left; }
.nm-form-success h2 { font-size: 30px; }
.nm-aside p { font-size: 17px; line-height: 1.6; color: rgba(55,7,29,0.82); }
.nm-aside a { color: var(--hz-bright-blue); }
@media (max-width: 880px) {
  .nm-form-wrap { grid-template-columns: 1fr; gap: 32px; }
  .nm-form { padding: 26px 22px; }
  .nm-form-row { grid-template-columns: 1fr; }
}

/* Closing CTA */
.nm-closing { padding-top: 110px; padding-bottom: 110px; position: relative; overflow: hidden; }
.nm-closing .path-bg { bottom: -35%; right: -12%; width: 58%; opacity: 0.2; }
.nm-closing .section-inner { position: relative; z-index: 1; }

/* Footer link row */
.nm-footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.nm-footer-links a { color: inherit; text-decoration: none; }
.nm-footer-links a:hover { color: var(--hz-bright-blue); }

/* Small screens: long buttons wrap */
@media (max-width: 600px) {
  .nm-ctas .btn, .nm-closing .btn { white-space: normal; max-width: 100%; }
}

/* Speaking proof row (directly under the hero) */
.nm-proof-section { padding-top: 0; padding-bottom: 72px; }
.nm-proof-row { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid rgba(55,7,29,0.16); border-bottom: 1px solid rgba(55,7,29,0.16); }
.nm-proof-cell { padding: 22px 18px 22px 0; display: flex; flex-direction: column; gap: 6px; }
.nm-proof-cell + .nm-proof-cell { padding-left: 18px; border-left: 1px solid rgba(55,7,29,0.12); }
.nm-proof-title { font-family: var(--font-heading); font-size: 17px; line-height: 1.3; color: var(--hz-burgundy); }
.nm-proof-role { font-size: 13px; color: rgba(55,7,29,0.62); }
@media (max-width: 980px) {
  .nm-proof-row { grid-template-columns: 1fr 1fr; }
  .nm-proof-cell, .nm-proof-cell + .nm-proof-cell { padding: 18px 14px 18px 0; border-left: 0; border-bottom: 1px solid rgba(55,7,29,0.1); }
}
@media (max-width: 880px) { .nm-proof-section { padding-bottom: 56px; } }

/* Topic cards: single column for easy scanning */
.nm-topics { display: flex; flex-direction: column; gap: 18px; max-width: 900px; }
.nm-topic {
  display: grid; grid-template-columns: 56px 1fr; gap: 20px;
  background: var(--hz-white); border: 1px solid rgba(55,7,29,0.1); border-radius: 24px; padding: 30px 32px;
}
.nm-topic-num { font-family: var(--font-body); font-weight: 800; font-size: 13px; letter-spacing: 0.12em; color: var(--hz-bright-blue); padding-top: 10px; }
.nm-topic h3 { font-size: clamp(24px, 2.4vw, 30px); }
.nm-topic-who { font-size: 15px; font-weight: 700; color: rgba(55,7,29,0.7); margin: 10px 0 12px; }
.nm-topic p:last-child { font-size: 16px; line-height: 1.6; margin: 0; color: rgba(55,7,29,0.84); }
@media (max-width: 600px) { .nm-topic { grid-template-columns: 1fr; gap: 6px; padding: 24px 22px; } .nm-topic-num { padding-top: 0; } }

/* Keep long select options and form columns inside the viewport */
.nm-form-wrap > * { min-width: 0; }
.nm-form select, .nm-form input, .nm-form textarea { width: 100%; max-width: 100%; min-width: 0; }
.nm-form-row > * { min-width: 0; }

/* ---- Logo marquee (home) ---- */
.nm-marquee { overflow: hidden; margin-top: 30px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.nm-marquee-track { display: flex; width: max-content; animation: nm-marquee 60s linear infinite; }
.nm-marquee:hover .nm-marquee-track { animation-play-state: paused; }
.nm-logo-set { display: flex; align-items: center; gap: 64px; list-style: none; margin: 0; padding: 0 32px; }
.nm-logo-set li { display: flex; align-items: center; height: 44px; }
.nm-logo-set img { display: block; width: auto; opacity: 0.85; }
@keyframes nm-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 700px) { .nm-logo-set { gap: 44px; padding: 0 22px; } .nm-logo-set img { transform: scale(0.85); } }
@media (prefers-reduced-motion: reduce) {
  .nm-marquee { -webkit-mask-image: none; mask-image: none; }
  .nm-marquee-track { animation: none; width: auto; }
  .nm-logo-set { flex-wrap: wrap; justify-content: center; row-gap: 26px; }
  .nm-logo-set[aria-hidden="true"] { display: none; }
}

/* ---- Newsletter essay list (home) ---- */
.nm-essays { list-style: none; margin: 4px 0 30px; padding: 0; border-top: 1px solid rgba(55,7,29,0.16); }
.nm-essays li { border-bottom: 1px solid rgba(55,7,29,0.16); }
.nm-essays a { display: block; padding: 16px 4px; text-decoration: none; color: var(--hz-burgundy); transition: background .15s ease; }
.nm-essays a:hover { background: rgba(43,124,255,0.05); }
.nm-essays .nm-date { display: block; margin-bottom: 4px; }
.nm-essay-title { font-family: var(--font-heading); font-size: 21px; line-height: 1.3; }

/* ---- About subtitle ---- */
.nm-subtitle { font-family: var(--font-heading); font-size: 28px; line-height: 1.25; margin-top: 14px; color: var(--hz-burgundy); }

/* ---- Partnership metrics: total first ---- */
.nm-metric-total { background: var(--hz-burgundy); border-color: var(--hz-burgundy); }
.nm-metric-total .nm-metric-value { color: var(--hz-cream); }
.nm-metric-total .nm-metric-label { color: rgba(255,251,243,0.8); }
.nm-metrics:has(.nm-metric-total) { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 900px; }
.nm-metrics:has(.nm-metric-total) .nm-metric { min-width: 0; }
@media (max-width: 700px) {
  .nm-metrics:has(.nm-metric-total) { grid-template-columns: 1fr 1fr; gap: 12px; }
  .nm-metrics:has(.nm-metric-total) .nm-metric-total { grid-column: 1 / -1; }
  .nm-metrics:has(.nm-metric-total) .nm-metric { padding: 20px; }
}

/* ---- Case images: 4:3, creatives shown whole ---- */
.nm-case-img { aspect-ratio: 4 / 3; }
.nm-case-img.contain img { object-fit: contain; padding: 18px; }

/* ---- Home hero: logo strip sits inside the hero so it shows above the fold ---- */
.nm-home-hero { padding-top: 40px; padding-bottom: 40px; }
.nm-home-hero .nm-hero-grid { gap: 36px 64px; }
.nm-home-hero .h-display { font-size: clamp(44px, 5.4vw, 80px); }
.nm-home-hero .nm-hero-body { margin-top: 22px; font-size: 19px; }
.nm-home-hero .nm-ctas { margin-top: 28px; }
.nm-home-hero .nm-hero-photo { max-width: 380px; }
.nm-hero-strip { grid-column: 1 / -1; min-width: 0; padding-top: 24px; border-top: 1px solid rgba(55,7,29,0.1); }
.nm-hero-strip .nm-marquee { margin-top: 18px; }
@media (max-width: 880px) {
  .nm-home-hero { padding-top: 20px; padding-bottom: 48px; }
  .nm-home-hero .nm-hero-grid { display: flex; flex-direction: column; gap: 26px; }
  .nm-home-hero .h-display { font-size: clamp(38px, 10.5vw, 56px); }
  .nm-home-hero .nm-hero-body { font-size: 16.5px; margin-top: 14px; }
  .nm-home-hero .nm-ctas { margin-top: 20px; gap: 10px; }
  .nm-hero-strip { order: 2; padding-top: 18px; }
  .nm-hero-strip .nm-marquee { margin-top: 12px; }
  .nm-home-hero .nm-hero-photo { order: 3; }
}
/* tighter pass so the logos clear the fold on laptops and phones */
.nm-home-hero { padding-top: 28px; }
.nm-home-hero .nm-hero-grid { grid-template-columns: 1.4fr 0.6fr; gap: 26px 56px; }
.nm-home-hero .h-display { font-size: clamp(44px, 5vw, 76px); }
.nm-home-hero .nm-hero-body { max-width: 620px; }
.nm-home-hero .nm-hero-photo { max-width: 290px; }
.nm-home-hero .nm-caption { margin-top: 10px; }
.nm-hero-strip { padding-top: 18px; }
.nm-hero-strip .nm-marquee { margin-top: 10px; }
.nm-hero-strip .nm-logo-set li { height: 40px; }
@media (max-width: 880px) {
  .nm-home-hero { padding-top: 18px; }
  .nm-home-hero .nm-hero-grid { gap: 22px; }
  .nm-home-hero .nm-hero-photo { max-width: 100%; }
  .nm-home-hero .nm-ctas .nm-link { display: none; }
  .nm-home-hero .nm-ctas .btn { padding-top: 13px; padding-bottom: 13px; }
  .nm-hero-strip { padding-top: 14px; }
  .nm-hero-strip .nm-strip-row h2 { font-size: 18px; }
  .nm-hero-strip .nm-logo-set li { height: 34px; }
}
.nm-home-hero .h-display { font-size: clamp(44px, 4.8vw, 66px); }
@media (max-width: 880px) { .nm-home-hero .h-display { font-size: clamp(34px, 9.4vw, 52px); } }
@media (min-width: 881px) { .nm-home-hero .nm-hero-photo { max-width: 268px; } }
.nm-hero-strip { overflow: hidden; }
@media (max-width: 880px) { .nm-home-hero .nm-hero-grid { align-items: stretch; } .nm-hero-strip { width: 100%; } }
@media (max-width: 880px) {
  .nm-hero-strip .nm-strip-row { flex-wrap: nowrap; gap: 12px; }
  .nm-hero-strip .nm-strip-row .h-3 { font-size: 18px; line-height: 1.2; white-space: nowrap; }
  .nm-hero-strip .nm-strip-row .nm-link { font-size: 10.5px; letter-spacing: 0.1em; white-space: nowrap; }
}
/* photo 20% larger on desktop (268 -> 322px) */
@media (min-width: 881px) {
  .nm-home-hero .nm-hero-grid { grid-template-columns: 1.3fr 0.7fr; }
  .nm-home-hero .nm-hero-photo { max-width: 322px; }
}
@media (min-width: 881px) {
  .nm-home-hero .nm-hero-grid { column-gap: 44px; }
  .nm-home-hero .h-display { font-size: clamp(42px, 4.3vw, 62px); }
}
@media (min-width: 881px) {
  .nm-home-hero { padding-top: 14px; }
  .nm-home-hero .nm-hero-grid { row-gap: 18px; }
  .nm-home-hero .nm-caption { margin-top: 8px; font-size: 13px; line-height: 1.4; }
  .nm-hero-strip { padding-top: 14px; }
}
@media (min-width: 881px) {
  .nm-home-hero .nm-hero-photo { max-width: min(322px, calc((100vh - 272px) * 0.8)); min-width: 240px; }
}

/* ---- Nov 9: hero alignment, strip spacing, 4 offer cards, Meet Hannah ---- */
@media (min-width: 881px) { .nm-home-hero .nm-hero-grid { align-items: start; } .nm-home-hero .h-display { margin-top: 0; } }
.nm-hero-strip .nm-marquee { margin-top: 22px; }
@media (max-width: 880px) { .nm-hero-strip .nm-marquee { margin-top: 16px; } }
.nm-offer-ctas { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
div.nm-offer:hover { transform: none; border-color: rgba(55,7,29,0.1); }
.nm-meet { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: center; }
.nm-meet-photo { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-md); max-width: 440px; }
.nm-meet-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.nm-meet-list { list-style: none; margin: 26px 0 0; padding: 0; }
.nm-meet-list li { position: relative; padding: 13px 0 13px 30px; border-top: 1px solid rgba(55,7,29,0.12); font-size: 17px; line-height: 1.5; color: rgba(55,7,29,0.88); }
.nm-meet-list li:last-child { border-bottom: 1px solid rgba(55,7,29,0.12); }
.nm-meet-list li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 9px; height: 9px; border-radius: 50%; background: var(--hz-bright-blue); }
@media (max-width: 880px) { .nm-meet { grid-template-columns: 1fr; gap: 32px; } .nm-meet-photo { max-width: 100%; } }
@media (min-width: 881px) { .nm-home-hero .nm-hero-photo { max-width: min(322px, calc((100vh - 292px) * 0.8)); } }
.nm-hero .nm-speak-h1 { max-width: 20ch; }
.nm-hero .nm-speak-h1 { max-width: none; font-size: clamp(34px, 3.7vw, 54px); line-height: 1.12; }

/* ---- Nov 9b ---- */
/* more room above the hero on tall screens; logos land near the bottom of the first screen */
@media (min-width: 881px) {
  .nm-home-hero { padding-top: clamp(24px, calc(100vh - 690px), 96px); }
  .nm-home-hero .nm-hero-photo { max-width: min(322px, calc((100vh - 304px) * 0.8)); }
}
/* secondary links line up with the button */
.nm-offer-ctas .nm-link { margin-top: 0; }
/* recent partnership cards with images */
.nm-card-media { padding: 0; overflow: hidden; }
.nm-card-img { aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; }
.nm-card-img img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.nm-card-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.nm-card-body h3 { font-size: 23px; margin: 10px 0 10px; }
/* newsletter list: title, subtitle, type */
.nm-essays a { padding: 18px 4px; }
.nm-essay-title { display: block; }
.nm-essay-sub { display: block; margin-top: 6px; font-size: 15px; line-height: 1.5; color: rgba(55,7,29,0.75); }
.nm-essay-meta { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 12px; color: rgba(55,7,29,0.6); }
.nm-essay-type { font-weight: 700; font-size: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(43,124,255,0.1); color: var(--hz-burgundy); }
.nm-meet-list { margin-top: 22px; }
.nm-meet-quote { margin: 26px 0 0; padding: 0 0 0 20px; border-left: 3px solid var(--hz-bright-blue); font-family: var(--font-heading); font-style: italic; font-size: 24px; line-height: 1.35; color: var(--hz-burgundy); }
/* coverage cards with screenshots */
.nm-cov-img { display: block; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; margin-bottom: 18px; background: #fff; border: 1px solid rgba(55,7,29,0.08); }
.nm-cov-img img { width: 100%; height: 100%; display: block; object-fit: cover; }
.nm-cov-img.contain img { object-fit: contain; object-position: center top; padding: 6px; }
@media (min-width: 881px) { .nm-home-hero { padding-top: clamp(24px, calc(100vh - 700px), 150px); } }
@media (max-width: 880px) { .nm-home-hero { padding-top: 34px; } }
.nm-card-img { position: relative; overflow: hidden; }
.nm-card-img img { position: absolute; inset: 0; }
.nm-card-img { aspect-ratio: 1 / 1; }
.nm-card-img img { padding: 12px; }
/* top padding 10% tighter */
@media (min-width: 881px) { .nm-home-hero { padding-top: clamp(22px, calc((100vh - 700px) * 0.9), 135px); } }
@media (max-width: 880px) { .nm-home-hero { padding-top: 31px; } }
/* Nonlinear News cover in the left column */
.nm-nn-cover { display: block; margin-top: 32px; max-width: 340px; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-md); transition: transform .18s ease; }
.nm-nn-cover:hover { transform: translateY(-3px); }
.nm-nn-cover img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
@media (max-width: 880px) { .nm-nn-cover { max-width: 220px; margin-top: 22px; } }
/* Read Nonlinear News: list on the left, heading + cover on the right (mirrors Meet Hannah below) */
@media (min-width: 881px) { .nm-split-rev > :first-child { order: 2; } }
/* Read Nonlinear News: heading on top, text left, cover right (mirrors Meet Hannah below) */
.nm-nn { align-items: start; }
.nm-nn-side { display: flex; justify-content: flex-end; }
.nm-nn .nm-nn-cover { margin-top: 0; width: 100%; max-width: 440px; }
@media (max-width: 880px) { .nm-nn-side { justify-content: flex-start; } .nm-nn .nm-nn-cover { max-width: 240px; } }

/* =====================================================================
   Consistency pass (Nov 9): one type scale and one spacing rhythm on every page.
   Hero H1 > section H2 > card/subsection H3. Heroes start at the same height
   below the nav; every content section uses the same vertical padding.
   ===================================================================== */
:root {
  --nm-h1: clamp(40px, 4.4vw, 64px);
  --nm-h2: clamp(34px, 3.6vw, 52px);
  --nm-h3: clamp(26px, 2.3vw, 32px);
  --nm-section-y: 96px;
  --nm-hero-top: 72px;
  --nm-hero-bottom: 96px;
}
@media (max-width: 880px) {
  :root { --nm-h1: clamp(34px, 9.4vw, 44px); --nm-h2: clamp(30px, 8vw, 38px); --nm-h3: 26px; --nm-section-y: 72px; --nm-hero-top: 32px; --nm-hero-bottom: 64px; }
}

/* Hero headline: same size and line height on every page (home included) */
main > section:first-child h1.h-display,
main > section:first-child h1.h-1 { font-size: var(--nm-h1); line-height: 1.05; letter-spacing: -0.01em; max-width: none; }

/* Hero spacing (inner pages); the homepage keeps its fold-aware top padding */
.nm-hero:not(.nm-home-hero), .bp-hero { padding-top: var(--nm-hero-top); padding-bottom: var(--nm-hero-bottom); }
.bp-hero-inner { padding-top: 0; }
@media (min-width: 881px) { .nm-hero .nm-hero-grid { align-items: start; } }

/* Hero intro paragraph: same size and spacing everywhere */
.nm-hero .nm-hero-body, .bp-hero .bp-sub { font-family: var(--font-body); font-size: 19px; line-height: 1.55; color: rgba(55,7,29,0.8); margin-top: 22px; max-width: 600px; }
.nm-hero .nm-subtitle { font-size: 26px; margin-top: 14px; }
.nm-hero .nm-ctas, .bp-hero .nm-ctas { margin-top: 28px; }

/* Section headings */
.section:not(.dark) h2.h-1, h2.nm-sec-title { font-size: var(--nm-h2); line-height: 1.06; }
h2.nm-sec-title { margin-bottom: 44px; }
.nm-head { margin-bottom: 44px; }
.nm-head .nm-lead { margin-top: 18px !important; }

/* Card and subsection titles */
.nm-offer-body h3.h-2, .nm-topic h3.h-2, h3.h-2 { font-size: var(--nm-h3); line-height: 1.12; }

/* Closing band: same size as the hero headline on every page */
.section.dark h2.h-display, .section.dark h2.h-1 { font-size: var(--nm-h1); line-height: 1.05; }

/* Vertical rhythm: every content section and the closing band share one padding */
.nm-section, .section.dark.nm-closing, .press-page-section { padding-top: var(--nm-section-y); padding-bottom: var(--nm-section-y); }
/* phones: one tighter hero intro size on every page (keeps the homepage logos above the fold) */
@media (max-width: 880px) {
  .nm-hero .nm-hero-body, .bp-hero .bp-sub { font-size: 16.5px; margin-top: 14px; }
  .nm-hero .nm-ctas, .bp-hero .nm-ctas { margin-top: 20px; }
  .nm-hero .nm-subtitle { font-size: 22px; }
}
/* hero layout: same column split and photo size on every page with a portrait */
@media (min-width: 881px) {
  .nm-hero:not(.nm-home-hero) .nm-hero-grid { grid-template-columns: 1.3fr 0.7fr; column-gap: 44px; }
  .nm-hero:not(.nm-home-hero) .nm-hero-photo { max-width: 340px; }
}
/* speaking proof row: 3 across, 2 rows */
@media (min-width: 981px) {
  .nm-proof-row { grid-template-columns: repeat(3, 1fr); }
  .nm-proof-cell:nth-child(3n+1) { padding-left: 0; border-left: 0; }
  .nm-proof-cell:nth-child(n+4) { border-top: 1px solid rgba(55,7,29,0.12); }
}
