/* ==========================================================================
   NEW THING MEDIA — DESIGN SYSTEM
   Version 2.0
   --------------------------------------------------------------------------
   Single source of truth for the NTM visual identity.
   Change a value here and it updates everywhere on the site.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */

:root {

  /* --- Brand colours ---------------------------------------------------- */
  --ntm-red:        #E5142B;
  --ntm-red-dark:   #B80D20;
  --ntm-red-tint:   #FDE7E9;

  --ntm-blue:       #1D4ED8;
  --ntm-blue-dark:  #1739A8;
  --ntm-blue-tint:  #E4EAFC;

  --ntm-pink:       #EC4899;
  --ntm-pink-dark:  #BE2A73;
  --ntm-pink-tint:  #FCE7F3;

  --ntm-yellow:     #FACC15;
  --ntm-yellow-dark:#A87C05;
  --ntm-yellow-tint:#FEF7DA;

  /* --- Neutrals --------------------------------------------------------- */
  --ntm-ink:        #0F0F14;
  --ntm-body:       #33333D;
  --ntm-muted:      #6B6B78;
  --ntm-faint:      #9A9AA6;
  --ntm-line:       #E4E4EA;
  --ntm-line-soft:  #F0F0F4;
  --ntm-wash:       #F7F7FA;
  --ntm-white:      #FFFFFF;

  /* --- Typography ------------------------------------------------------- */
  --ntm-font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --ntm-font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ntm-font-mono:    'IBM Plex Mono', ui-monospace, 'SF Mono', monospace;

  --ntm-t-mega:   clamp(2.75rem, 7vw,   5.5rem);
  --ntm-t-xxl:    clamp(2rem,   4.5vw,  3.25rem);
  --ntm-t-xl:     clamp(1.5rem, 3vw,    2.25rem);
  --ntm-t-lg:     clamp(1.25rem,2vw,    1.5rem);
  --ntm-t-md:     1.125rem;
  --ntm-t-body:   1.0625rem;
  --ntm-t-sm:     0.9375rem;
  --ntm-t-xs:     0.8125rem;
  --ntm-t-micro:  0.6875rem;

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

  /* --- Layout ----------------------------------------------------------- */
  --ntm-max:      1240px;
  --ntm-max-read: 720px;
  --ntm-gutter:   clamp(1.25rem, 4vw, 3rem);

  /* --- Radii & motion --------------------------------------------------- */
  --ntm-radius:    4px;
  --ntm-radius-lg: 10px;
  --ntm-radius-pill: 999px;
  --ntm-ease:      cubic-bezier(0.22, 1, 0.36, 1);
  --ntm-dur:       0.28s;
}

/* --------------------------------------------------------------------------
   2. TOPIC COLOUR SYSTEM
   A topic is just a colour label — not an assigned department. Apply
   .topic-{colour} to any card or section header and it picks up that accent.
   Add as many topics as you like; they all map onto four colours.
   -------------------------------------------------------------------------- */

.topic-red    { --topic: var(--ntm-red);    --topic-dark: var(--ntm-red-dark);    --topic-tint: var(--ntm-red-tint); }
.topic-blue   { --topic: var(--ntm-blue);   --topic-dark: var(--ntm-blue-dark);   --topic-tint: var(--ntm-blue-tint); }
.topic-pink   { --topic: var(--ntm-pink);   --topic-dark: var(--ntm-pink-dark);   --topic-tint: var(--ntm-pink-tint); }
.topic-yellow { --topic: var(--ntm-yellow); --topic-dark: var(--ntm-yellow-dark); --topic-tint: var(--ntm-yellow-tint); }

/* --------------------------------------------------------------------------
   3. RESET & BASE
   -------------------------------------------------------------------------- */

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

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

body {
  margin: 0;
  background: var(--ntm-white);
  color: var(--ntm-body);
  font-family: var(--ntm-font-body);
  font-size: var(--ntm-t-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 {
  font-family: var(--ntm-font-display);
  color: var(--ntm-ink);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 var(--ntm-s-4);
}

p { margin: 0 0 var(--ntm-s-4); }

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

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

button { font-family: inherit; cursor: pointer; }

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

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

/* --------------------------------------------------------------------------
   4. LAYOUT PRIMITIVES
   -------------------------------------------------------------------------- */

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

.ntm-wrap--read { max-width: var(--ntm-max-read); }

.ntm-section { padding-block: var(--ntm-s-8); }
.ntm-section--tight { padding-block: var(--ntm-s-6); }
.ntm-section--wash  { background: var(--ntm-wash); }
.ntm-section--ink   { background: var(--ntm-ink); color: #C9C9D2; }
.ntm-section--ink h1,
.ntm-section--ink h2,
.ntm-section--ink h3 { color: var(--ntm-white); }

.ntm-grid { display: grid; gap: var(--ntm-s-5); }
.ntm-grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.ntm-grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.ntm-grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }

@media (max-width: 900px) {
  .ntm-grid--3, .ntm-grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .ntm-grid--2, .ntm-grid--3, .ntm-grid--4 { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   5. SECTION HEADER
   A thick coloured rule above a heading. The recurring structural device.
   -------------------------------------------------------------------------- */

.ntm-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--ntm-s-4);
  border-top: 5px solid var(--topic, var(--ntm-ink));
  padding-top: var(--ntm-s-3);
  margin-bottom: var(--ntm-s-5);
  flex-wrap: wrap;
}

.ntm-head__title {
  font-family: var(--ntm-font-display);
  font-size: var(--ntm-t-xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ntm-ink);
  margin: 0;
}

.ntm-head__link {
  font-size: var(--ntm-t-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--topic, var(--ntm-ink));
  white-space: nowrap;
  transition: opacity var(--ntm-dur) var(--ntm-ease);
}
.ntm-head__link:hover { opacity: 0.6; }

/* --------------------------------------------------------------------------
   6. EYEBROWS & TAGS
   -------------------------------------------------------------------------- */

.ntm-eyebrow {
  display: inline-block;
  font-family: var(--ntm-font-mono);
  font-size: var(--ntm-t-micro);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ntm-muted);
  margin-bottom: var(--ntm-s-3);
}

.ntm-tag {
  display: inline-block;
  font-family: var(--ntm-font-mono);
  font-size: var(--ntm-t-micro);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ntm-white);
  background: var(--topic, var(--ntm-ink));
  padding: 4px 9px;
  line-height: 1.4;
}

.ntm-tag--outline {
  background: transparent;
  color: var(--topic, var(--ntm-ink));
  box-shadow: inset 0 0 0 1.5px currentColor;
}

/* --------------------------------------------------------------------------
   7. BUTTONS
   -------------------------------------------------------------------------- */

.ntm-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--ntm-s-2);
  font-family: var(--ntm-font-body);
  font-size: var(--ntm-t-sm);
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 0.85rem 1.6rem;
  border: 2px solid transparent;
  border-radius: var(--ntm-radius-pill);
  background: var(--ntm-ink);
  color: var(--ntm-white);
  transition: transform var(--ntm-dur) var(--ntm-ease),
              background var(--ntm-dur) var(--ntm-ease);
}
.ntm-btn:hover { transform: translateY(-2px); }

.ntm-btn--red   { background: var(--ntm-red); }
.ntm-btn--red:hover { background: var(--ntm-red-dark); }
.ntm-btn--blue  { background: var(--ntm-blue); }
.ntm-btn--blue:hover { background: var(--ntm-blue-dark); }

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

.ntm-btn--light {
  background: var(--ntm-white);
  color: var(--ntm-ink);
}

.ntm-btn--lg { padding: 1.05rem 2rem; font-size: 1rem; }

/* --------------------------------------------------------------------------
   8. HEADER
   -------------------------------------------------------------------------- */

.ntm-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ntm-white);
  border-bottom: 1px solid var(--ntm-line);
}

.ntm-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ntm-s-5);
  height: 68px;
}

.ntm-logo {
  font-family: var(--ntm-font-display);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ntm-ink);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.ntm-logo__mark {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--ntm-red);
  position: relative;
  flex-shrink: 0;
}
.ntm-logo__mark::after {
  content: '';
  position: absolute;
  inset: 7px 7px auto auto;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--ntm-yellow);
}

.ntm-nav {
  display: flex;
  align-items: center;
  gap: var(--ntm-s-5);
}

.ntm-nav a {
  font-size: var(--ntm-t-sm);
  font-weight: 500;
  color: var(--ntm-body);
  position: relative;
  padding-block: 4px;
  transition: color var(--ntm-dur) var(--ntm-ease);
}
.ntm-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--ntm-red);
  transition: width var(--ntm-dur) var(--ntm-ease);
}
.ntm-nav a:hover { color: var(--ntm-ink); }
.ntm-nav a:hover::after { width: 100%; }
.ntm-nav a.is-active { color: var(--ntm-ink); font-weight: 600; }
.ntm-nav a.is-active::after { width: 100%; }

/* The CTA button in the nav shouldn't get the underline treatment */
.ntm-nav a.ntm-btn::after { display: none; }
.ntm-nav a.ntm-btn:hover { color: var(--ntm-white); }

.ntm-burger {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  color: var(--ntm-ink);
}

@media (max-width: 860px) {
  .ntm-burger { display: block; }
  .ntm-nav {
    position: fixed;
    inset: 68px 0 auto 0;
    background: var(--ntm-white);
    border-bottom: 1px solid var(--ntm-line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--ntm-s-3) var(--ntm-gutter) var(--ntm-s-5);
    transform: translateY(-120%);
    transition: transform var(--ntm-dur) var(--ntm-ease);
    max-height: calc(100vh - 68px);
    overflow-y: auto;
  }
  .ntm-nav.is-open { transform: translateY(0); }
  .ntm-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--ntm-line-soft);
    font-size: 1.05rem;
  }
  .ntm-nav a::after { display: none; }
  .ntm-nav .ntm-btn { margin-top: var(--ntm-s-4); justify-content: center; }
}

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

/* --------------------------------------------------------------------------
   9. HERO
   -------------------------------------------------------------------------- */

.ntm-hero {
  padding-block: clamp(3rem, 8vw, 6rem) clamp(2.5rem, 6vw, 4.5rem);
  position: relative;
  overflow: hidden;
}

.ntm-hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

@media (max-width: 900px) {
  .ntm-hero__inner { grid-template-columns: 1fr; }
}

.ntm-hero__title {
  font-size: var(--ntm-t-mega);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.94;
  margin: 0 0 var(--ntm-s-5);
  color: var(--ntm-ink);
}

/* The rotating word in the headline */
.ntm-rotator {
  display: inline-block;
  position: relative;
  color: var(--ntm-red);
}
.ntm-rotator__word {
  display: inline-block;
  animation: ntm-flip 0.5s var(--ntm-ease);
}
@keyframes ntm-flip {
  from { opacity: 0; transform: translateY(0.35em) rotateX(-45deg); }
  to   { opacity: 1; transform: translateY(0) rotateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .ntm-rotator__word { animation: none; }
}

.ntm-hero__lede {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  color: var(--ntm-body);
  max-width: 46ch;
  margin-bottom: var(--ntm-s-6);
}

.ntm-hero__actions {
  display: flex;
  gap: var(--ntm-s-3);
  flex-wrap: wrap;
}

/* Hero collage — stacked colour blocks holding video stills */
.ntm-collage {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.ntm-collage__cell {
  border-radius: var(--ntm-radius-lg);
  overflow: hidden;
  position: relative;
  background: var(--ntm-wash);
  aspect-ratio: 3/4;
}
.ntm-collage__cell:nth-child(1) { grid-row: span 2; background: var(--ntm-red-tint); }
.ntm-collage__cell:nth-child(2) { aspect-ratio: 1/1; background: var(--ntm-blue-tint); }
.ntm-collage__cell:nth-child(3) { aspect-ratio: 1/1; background: var(--ntm-yellow-tint); }
.ntm-collage__cell:nth-child(4) { grid-column: span 2; aspect-ratio: 16/7; background: var(--ntm-pink-tint); }

.ntm-collage__cell img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.ntm-collage__badge {
  position: absolute;
  left: 10px; bottom: 10px;
  font-family: var(--ntm-font-mono);
  font-size: var(--ntm-t-micro);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--ntm-white);
  color: var(--ntm-ink);
  padding: 3px 8px;
  border-radius: var(--ntm-radius);
}

/* --------------------------------------------------------------------------
   10. CARDS
   -------------------------------------------------------------------------- */

.ntm-card {
  display: flex;
  flex-direction: column;
  border-top: 4px solid var(--topic, var(--ntm-ink));
  padding-top: var(--ntm-s-3);
  transition: transform var(--ntm-dur) var(--ntm-ease);
}
.ntm-card:hover { transform: translateY(-4px); }

.ntm-card__media {
  position: relative;
  border-radius: var(--ntm-radius);
  overflow: hidden;
  background: var(--topic-tint, var(--ntm-wash));
  aspect-ratio: 16/10;
  margin-bottom: var(--ntm-s-3);
}
.ntm-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ntm-ease);
}
.ntm-card:hover .ntm-card__media img { transform: scale(1.04); }

.ntm-card__tag {
  position: absolute;
  top: 10px; left: 10px;
}

.ntm-card__title {
  font-family: var(--ntm-font-display);
  font-size: var(--ntm-t-md);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ntm-ink);
  margin: 0 0 var(--ntm-s-2);
}
.ntm-card:hover .ntm-card__title { color: var(--topic-dark, var(--ntm-ink)); }

.ntm-card__excerpt {
  font-size: var(--ntm-t-sm);
  color: var(--ntm-muted);
  margin: 0 0 var(--ntm-s-3);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ntm-card__meta {
  margin-top: auto;
  font-family: var(--ntm-font-mono);
  font-size: var(--ntm-t-micro);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ntm-faint);
}

/* Feature card */
.ntm-card--feature {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--ntm-s-5);
  align-items: center;
}
.ntm-card--feature .ntm-card__media { aspect-ratio: 16/10; margin-bottom: 0; }
.ntm-card--feature .ntm-card__title { font-size: var(--ntm-t-xl); }
.ntm-card--feature .ntm-card__excerpt { -webkit-line-clamp: 3; font-size: var(--ntm-t-body); }
@media (max-width: 700px) {
  .ntm-card--feature { grid-template-columns: 1fr; }
  .ntm-card--feature .ntm-card__media { margin-bottom: var(--ntm-s-3); }
}

/* --------------------------------------------------------------------------
   11. VIDEO GRID
   -------------------------------------------------------------------------- */

.ntm-videogrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: var(--ntm-s-4);
}

.ntm-video {
  position: relative;
  border-radius: var(--ntm-radius-lg);
  overflow: hidden;
  aspect-ratio: 9/16;
  background: var(--ntm-ink);
  display: block;
  transition: transform var(--ntm-dur) var(--ntm-ease);
}
.ntm-video:hover { transform: translateY(-4px) scale(1.01); }
.ntm-video img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }

.ntm-video__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,15,20,0.85) 0%, rgba(15,15,20,0) 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--ntm-s-3);
}
.ntm-video__title {
  color: var(--ntm-white);
  font-family: var(--ntm-font-display);
  font-weight: 600;
  font-size: var(--ntm-t-sm);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.ntm-video__platform {
  position: absolute;
  top: 10px; right: 10px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.94);
  display: grid;
  place-items: center;
  font-size: 13px;
  color: var(--ntm-ink);
}
.ntm-video__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity var(--ntm-dur) var(--ntm-ease);
}
.ntm-video:hover .ntm-video__play { opacity: 1; }
.ntm-video__play span {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--ntm-red);
  color: var(--ntm-white);
  display: grid;
  place-items: center;
  font-size: 18px;
}

/* Filter chips */
.ntm-filters {
  display: flex;
  gap: var(--ntm-s-2);
  flex-wrap: wrap;
  margin-bottom: var(--ntm-s-5);
}
.ntm-filter {
  font-family: var(--ntm-font-body);
  font-size: var(--ntm-t-xs);
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--ntm-radius-pill);
  border: 1.5px solid var(--ntm-line);
  background: var(--ntm-white);
  color: var(--ntm-muted);
  transition: all var(--ntm-dur) var(--ntm-ease);
}
.ntm-filter:hover { border-color: var(--ntm-ink); color: var(--ntm-ink); }
.ntm-filter.is-active {
  background: var(--ntm-ink);
  border-color: var(--ntm-ink);
  color: var(--ntm-white);
}

/* --------------------------------------------------------------------------
   12. ARTICLE
   -------------------------------------------------------------------------- */

.ntm-article__head { padding-block: var(--ntm-s-7) var(--ntm-s-5); }

.ntm-article__title {
  font-size: var(--ntm-t-xxl);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: var(--ntm-s-4);
}

.ntm-article__standfirst {
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  color: var(--ntm-muted);
  line-height: 1.6;
  margin-bottom: var(--ntm-s-5);
}

.ntm-byline {
  display: flex;
  align-items: center;
  gap: var(--ntm-s-3);
  padding-block: var(--ntm-s-4);
  border-top: 1px solid var(--ntm-line);
  border-bottom: 1px solid var(--ntm-line);
}
.ntm-byline__avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--topic, var(--ntm-red));
  color: var(--ntm-white);
  display: grid;
  place-items: center;
  font-family: var(--ntm-font-display);
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.ntm-byline__name { font-weight: 600; color: var(--ntm-ink); font-size: var(--ntm-t-sm); }
.ntm-byline__meta { font-size: var(--ntm-t-xs); color: var(--ntm-muted); }

/* Body copy */
.ntm-prose { font-size: var(--ntm-t-body); line-height: 1.75; color: var(--ntm-body); }
.ntm-prose h2 {
  font-size: var(--ntm-t-lg);
  margin-top: var(--ntm-s-7);
  margin-bottom: var(--ntm-s-3);
}
.ntm-prose h3 {
  font-size: var(--ntm-t-md);
  margin-top: var(--ntm-s-6);
  margin-bottom: var(--ntm-s-2);
}
.ntm-prose a {
  color: var(--ntm-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}
.ntm-prose a:hover { background: var(--ntm-yellow); text-decoration: none; }

/* Pull quote */
.ntm-pullquote {
  border-left: 5px solid var(--topic, var(--ntm-red));
  padding: var(--ntm-s-2) 0 var(--ntm-s-2) var(--ntm-s-5);
  margin-block: var(--ntm-s-6);
  font-family: var(--ntm-font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -0.02em;
  color: var(--ntm-ink);
}

/* Inline fact box */
.ntm-factbox {
  background: var(--ntm-wash);
  border-radius: var(--ntm-radius-lg);
  padding: var(--ntm-s-5);
  margin-block: var(--ntm-s-6);
}
.ntm-factbox__label {
  font-family: var(--ntm-font-mono);
  font-size: var(--ntm-t-micro);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ntm-red);
  margin-bottom: var(--ntm-s-2);
}

/* --- SOURCES CHIPS --- */
.ntm-sources {
  border-top: 4px solid var(--ntm-ink);
  padding-top: var(--ntm-s-4);
  margin-block: var(--ntm-s-7);
}
.ntm-sources__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ntm-s-3);
  margin-bottom: var(--ntm-s-4);
  flex-wrap: wrap;
}
.ntm-sources__title {
  font-family: var(--ntm-font-display);
  font-size: var(--ntm-t-md);
  font-weight: 700;
  margin: 0;
}
.ntm-sources__count {
  font-family: var(--ntm-font-mono);
  font-size: var(--ntm-t-xs);
  color: var(--ntm-muted);
}
.ntm-chips { display: flex; flex-wrap: wrap; gap: var(--ntm-s-2); }
.ntm-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--ntm-t-xs);
  font-weight: 500;
  color: var(--ntm-body);
  background: var(--ntm-white);
  border: 1.5px solid var(--ntm-line);
  border-radius: var(--ntm-radius-pill);
  padding: 7px 14px;
  transition: all var(--ntm-dur) var(--ntm-ease);
}
.ntm-chip:hover {
  border-color: var(--ntm-blue);
  color: var(--ntm-blue);
  transform: translateY(-1px);
}
.ntm-chip__n {
  font-family: var(--ntm-font-mono);
  font-size: 10px;
  color: var(--ntm-faint);
}
.ntm-chip--more {
  border-color: var(--ntm-ink);
  color: var(--ntm-ink);
  font-weight: 600;
  cursor: pointer;
}
.ntm-sources__full { display: none; margin-top: var(--ntm-s-4); }
.ntm-sources__full.is-open { display: block; }
.ntm-sources__full ol {
  font-size: var(--ntm-t-sm);
  color: var(--ntm-muted);
  line-height: 1.7;
  padding-left: 1.2rem;
  margin: 0;
}
.ntm-sources__full li { margin-bottom: var(--ntm-s-2); }
.ntm-sources__full a { color: var(--ntm-blue); word-break: break-word; }

/* --------------------------------------------------------------------------
   13. FORMS
   -------------------------------------------------------------------------- */

.ntm-field { margin-bottom: var(--ntm-s-4); }
.ntm-label {
  display: block;
  font-size: var(--ntm-t-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ntm-ink);
  margin-bottom: var(--ntm-s-2);
}
.ntm-input,
.ntm-select,
.ntm-textarea {
  width: 100%;
  font-family: var(--ntm-font-body);
  font-size: var(--ntm-t-sm);
  color: var(--ntm-ink);
  background: var(--ntm-white);
  border: 1.5px solid var(--ntm-line);
  border-radius: var(--ntm-radius);
  padding: 0.75rem 0.9rem;
  transition: border-color var(--ntm-dur) var(--ntm-ease);
}
.ntm-input:focus,
.ntm-select:focus,
.ntm-textarea:focus {
  outline: none;
  border-color: var(--ntm-blue);
  box-shadow: 0 0 0 3px var(--ntm-blue-tint);
}
.ntm-textarea { min-height: 130px; resize: vertical; }
.ntm-hint { font-size: var(--ntm-t-xs); color: var(--ntm-muted); margin-top: 6px; }

/* Interest picker */
.ntm-picks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--ntm-s-3);
}
.ntm-pick {
  position: relative;
  border: 1.5px solid var(--ntm-line);
  border-radius: var(--ntm-radius-lg);
  padding: var(--ntm-s-4);
  cursor: pointer;
  transition: all var(--ntm-dur) var(--ntm-ease);
}
.ntm-pick:hover { border-color: var(--ntm-ink); }
.ntm-pick input { position: absolute; opacity: 0; }
.ntm-pick:has(input:checked) {
  border-color: var(--ntm-red);
  background: var(--ntm-red-tint);
}
.ntm-pick__name {
  font-family: var(--ntm-font-display);
  font-weight: 700;
  font-size: var(--ntm-t-sm);
  color: var(--ntm-ink);
  margin-bottom: 3px;
}
.ntm-pick__desc { font-size: var(--ntm-t-xs); color: var(--ntm-muted); line-height: 1.45; }

/* --------------------------------------------------------------------------
   14. PANELS
   -------------------------------------------------------------------------- */

.ntm-panel {
  border-radius: var(--ntm-radius-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
  position: relative;
  overflow: hidden;
}
.ntm-panel--ink { background: var(--ntm-ink); color: #C9C9D2; }
.ntm-panel--ink h2, .ntm-panel--ink h3 { color: var(--ntm-white); }
.ntm-panel--blue { background: var(--ntm-blue); color: rgba(255,255,255,0.85); }
.ntm-panel--blue h2, .ntm-panel--blue h3 { color: var(--ntm-white); }
.ntm-panel--red { background: var(--ntm-red); color: rgba(255,255,255,0.88); }
.ntm-panel--red h2, .ntm-panel--red h3 { color: var(--ntm-white); }
.ntm-panel--yellow { background: var(--ntm-yellow); color: #4A3A00; }
.ntm-panel--yellow h2, .ntm-panel--yellow h3 { color: #1A1400; }
.ntm-panel--outline { border: 2px solid var(--ntm-ink); }

.ntm-panel__split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--ntm-s-6);
  align-items: center;
}
@media (max-width: 780px) {
  .ntm-panel__split { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   15. PEOPLE
   -------------------------------------------------------------------------- */

.ntm-person { text-align: left; }
.ntm-person__photo {
  aspect-ratio: 1/1;
  border-radius: var(--ntm-radius-lg);
  background: var(--topic-tint, var(--ntm-wash));
  overflow: hidden;
  margin-bottom: var(--ntm-s-3);
  display: grid;
  place-items: center;
}
.ntm-person__photo img { width: 100%; height: 100%; object-fit: cover; }
.ntm-person__initials {
  font-family: var(--ntm-font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--topic, var(--ntm-ink));
}
.ntm-person__name {
  font-family: var(--ntm-font-display);
  font-weight: 700;
  font-size: var(--ntm-t-md);
  color: var(--ntm-ink);
  margin-bottom: 2px;
}
.ntm-person__role {
  font-family: var(--ntm-font-mono);
  font-size: var(--ntm-t-micro);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--topic, var(--ntm-muted));
  margin-bottom: var(--ntm-s-2);
}
.ntm-person__bio { font-size: var(--ntm-t-xs); color: var(--ntm-muted); line-height: 1.55; }

/* --------------------------------------------------------------------------
   16. FOOTER
   -------------------------------------------------------------------------- */

.ntm-footer {
  background: var(--ntm-ink);
  color: #9A9AA6;
  padding-block: var(--ntm-s-8) var(--ntm-s-5);
  margin-top: var(--ntm-s-8);
}
.ntm-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: var(--ntm-s-6);
  padding-bottom: var(--ntm-s-6);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (max-width: 780px) {
  .ntm-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .ntm-footer__grid { grid-template-columns: 1fr; }
}
.ntm-footer .ntm-logo { color: var(--ntm-white); margin-bottom: var(--ntm-s-3); }
.ntm-footer__col h4 {
  font-family: var(--ntm-font-mono);
  font-size: var(--ntm-t-micro);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ntm-faint);
  font-weight: 500;
  margin-bottom: var(--ntm-s-3);
}
.ntm-footer__col a {
  display: block;
  font-size: var(--ntm-t-sm);
  color: #C9C9D2;
  padding-block: 5px;
  transition: color var(--ntm-dur) var(--ntm-ease);
}
.ntm-footer__col a:hover { color: var(--ntm-white); }
.ntm-footer__base {
  display: flex;
  justify-content: space-between;
  gap: var(--ntm-s-4);
  padding-top: var(--ntm-s-5);
  font-size: var(--ntm-t-xs);
  flex-wrap: wrap;
}
.ntm-social { display: flex; gap: var(--ntm-s-3); }
.ntm-social a {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: grid; place-items: center;
  color: #C9C9D2;
  font-size: 15px;
  transition: all var(--ntm-dur) var(--ntm-ease);
}
.ntm-social a:hover { background: var(--ntm-red); border-color: var(--ntm-red); color: #fff; }

/* --------------------------------------------------------------------------
   17. UTILITIES
   -------------------------------------------------------------------------- */

.u-center      { text-align: center; }
.u-mb-0        { margin-bottom: 0 !important; }
.u-mb-2        { margin-bottom: var(--ntm-s-2) !important; }
.u-mb-4        { margin-bottom: var(--ntm-s-4) !important; }
.u-mb-6        { margin-bottom: var(--ntm-s-6) !important; }
.u-mt-6        { margin-top: var(--ntm-s-6) !important; }
.u-muted       { color: var(--ntm-muted); }
.u-measure     { max-width: 62ch; }
.u-measure-c   { max-width: 62ch; margin-inline: auto; }
.u-hl          { background: var(--ntm-yellow); padding: 0 4px; }
.u-sr {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}
