:root {
  --paper: #faf9f7;
  --panel: #fff;
  --ink: #141414;
  --muted: #6e6a66;
  --line: #ebe8e4;
  --red: #d7001d;
  --display: "Figtree", "Zen Kaku Gothic New", sans-serif;
  --body: "Figtree", "Zen Kaku Gothic New", sans-serif;
  --gutter: clamp(24px, 4vw, 64px);
  --radius-xl: 20px;  /* panels: same radius as cards, one R across the page */
  --radius-lg: 20px;  /* mid cards (SHOP Figma: 20) */
  --radius-md: 16px;  /* small cards / thumbnails (SHOP: 16) */
  --radius-full: 999px;
  --shadow: none; /* SHOP Figma: flat surfaces, 1px line */
  --content: 1400px;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; scrollbar-gutter: stable; }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle, rgba(20,20,20,.07) 1.4px, transparent 1.8px) 0 0 / 18px 18px,
    var(--paper);
  font-family: var(--body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  color: #fff;
  background: var(--ink);
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform .25s ease;
}
.skip-link:focus { transform: translateY(0); }

.pointer-parallax-target {
  --pointer-parallax-x: 0px;
  --pointer-parallax-y: 0px;
  --pointer-parallax-rotate: 0deg;
  translate: var(--pointer-parallax-x) var(--pointer-parallax-y);
  rotate: var(--pointer-parallax-rotate);
  will-change: translate, rotate;
}

.project-index a:focus-visible,
.channel-link:focus-visible,
.news-row:focus-visible,
.back-link:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

.inner-main {
  width: min(var(--content), 100%);
  margin: 0 auto;
  padding: 40px var(--gutter) 80px;
}
.page-intro {
  min-height: 270px;
  display: grid;
  grid-template-columns: minmax(160px, .4fr) minmax(0, 1.6fr);
  align-items: end;
  gap: 48px;
  margin-bottom: 24px;
  padding: clamp(32px, 5vw, 72px);
  background: var(--panel);
  border: 0;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}
.page-kicker {
  align-self: start;
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
}
.page-intro h1,
.page-intro .page-display-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(56px, 6.7vw, 96px);
  font-weight: 700;
  letter-spacing: -1.4px;
  line-height: .94;
  text-transform: uppercase;
}
.page-intro-copy {
  max-width: 560px;
  margin: 24px 0 0 auto;
  color: var(--muted);
  font-size: clamp(19px, 1.7vw, 24px);
  line-height: 1.6;
}
.content-page .page-intro {
  min-height: 0;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 3vw, 40px);
}
.content-page .inner-main {
  width: 100%;
  box-sizing: border-box;
}
.content-page .page-intro h1 {
  width: 100%;
  min-width: 0;
  max-width: 1100px;
  font-size: clamp(40px, 6vw, 96px);
  letter-spacing: -1.2px;
  line-height: .98;
  overflow-wrap: anywhere;
}
.content-page .page-intro .news-intro-copy { margin-top: 0; }
.content-page .news-intro-copy,
.content-page .page-intro h1 > span {
  width: 100%;
  min-width: 0;
  display: block;
}

/* Projects */
.projects-page .inner-main,
.news-index-page .inner-main {
  width: 100%;
  max-width: none;
  padding: 0;
  background: var(--panel);
}
.projects-page .page-intro,
.news-index-page .page-intro {
  min-height: 0;
  display: block;
  margin: 0;
  padding: clamp(56px, 5vw, 80px) clamp(40px, 5vw, 72px) clamp(48px, 5vw, 72px);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.page-breadcrumb {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.page-breadcrumb a { text-decoration: none; }
.page-breadcrumb a:hover { text-decoration: underline; text-underline-offset: 4px; }
.projects-intro-copy,
.news-intro-copy { margin-top: clamp(24px, 3vw, 40px); }
.projects-page .page-intro h1,
.news-index-page .page-intro h1 {
  max-width: 1280px;
  font-size: clamp(36px, 3.4vw, 48px);
  letter-spacing: -.6px;
  line-height: 1.1;
  text-transform: none;
}
.projects-layout {
  display: grid;
  grid-template-columns: minmax(260px, .45fr) minmax(0, 1fr);
  align-items: start;
  gap: 0;
  margin-top: 0;
  padding: 0;
  color: #fff;
  background: var(--ink);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.project-index {
  position: sticky;
  top: 96px;
  padding: clamp(52px, 6vw, 88px) clamp(28px, 4vw, 68px);
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}
.project-index-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 24px;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
  text-align: left;
  text-transform: uppercase;
  cursor: default;
}
.project-index-toggle span { display: none; color: var(--ink); font-size: 24px; line-height: 1; }
.project-index-group + .project-index-group { margin-top: 28px; }
.project-index-group > span {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.project-index nav { display: grid; gap: 3px; }
.project-index a {
  min-height: 38px;
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  color: rgba(255,255,255,.9);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease, transform .2s ease;
}
.project-index a:hover { color: var(--muted); transform: translateX(3px); }
.project-index a.is-active {
  color: #fff;
  background: transparent;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.project-stream {
  min-width: 0;
  padding: clamp(52px, 6vw, 88px) 8px 8px 0; /* top aligns with the index heading */
  background: var(--ink);
}
/* The stream label duplicated the index heading (and "News / Category" on
   articles, which build-news.mjs still emits), so it is hidden. */
.project-stream-label { display: none; }
.project-detail {
  min-width: 0;
  overflow: hidden;
  scroll-margin-top: 104px;
  background: var(--panel);
  color: var(--ink);
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: none;
}
.project-detail + .project-detail { margin-top: 8px; }
.project-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  padding: clamp(28px, 4vw, 56px);
}
.project-type {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.project-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 700;
  letter-spacing: -.6px;
  line-height: 1.05;
}
.project-order {
  color: var(--muted);
  font-family: var(--display);
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 700;
  letter-spacing: -.6px;
  line-height: 1;
}
.project-cover {
  height: clamp(360px, 44vw, 640px);
  position: relative;
  overflow: hidden;
  background: #eee;
}
.project-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.8,.2,1);
}
.project-cover[data-fit="contain"] img { object-fit: contain; }
.project-cover[data-tone="happy"] { background: #acd3df; }
.project-cover[data-tone="hoopla"] { background: linear-gradient(180deg, #08a9c8 0 42%, #83df03 42%); }
.project-cover[data-tone="babies"] { background: #10e990; }
.project-cover[data-tone="bichi"] { background: #91be58; }
.project-cover[data-tone="maddie"] { background: #14234b; }
.project-cover[data-tone="huggles"] { display: grid; place-items: center; padding: 32px; background: var(--mist, #faf9f7); color: var(--muted); }
.project-cover.project-cover--video {
  height: auto;
  aspect-ratio: 16 / 9;
  background: #111;
}
.project-video {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: inherit;
}
.project-video-poster {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: inherit;
  color: inherit;
  cursor: pointer;
  opacity: 1;
  transition: opacity .3s ease;
}
.project-video-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 52%, rgba(0,0,0,.16));
  pointer-events: none;
}
.project-video-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), filter .2s ease;
}
.project-video-play {
  width: clamp(58px, 6vw, 78px);
  height: clamp(58px, 6vw, 78px);
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 32px rgba(0,0,0,.2);
  transform: translate(-50%, -50%);
  transition: background-color .15s ease;
}
.project-video-play::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid var(--ink);
}
.project-video-frame,
.project-video-local {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 2;
  inset: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}
.project-video-local {
  object-fit: cover;
  background: #111;
}
.project-video.is-ready .project-video-poster {
  opacity: 0;
  pointer-events: none;
}
.project-video.is-ready .project-video-frame,
.project-video.is-ready .project-video-local {
  opacity: 1;
  pointer-events: auto;
}
.project-video noscript {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #111;
}
.project-video noscript a { color: #fff; }
.project-cover[data-tone="ibloom"] {
  display: grid;
  place-items: center;
  padding: 32px;
  background:
    radial-gradient(circle at 18% 16%, rgba(255,255,255,.9) 0 10%, transparent 10.5%),
    linear-gradient(145deg, #fff8fc, #f4d7e6 56%, #e9ddf4);
}
.project-cover-placeholder {
  max-width: 420px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -.6px;
  line-height: 1;
  text-align: center;
}
@media (hover:hover) and (pointer:fine) {
  .project-detail:hover .project-cover:not(.project-cover--video):not(.project-cover--carousel) img { transform: scale(1.025); }
  .project-video-poster:hover img { transform: scale(1.02); filter: saturate(1.04); }
  .project-video-poster:hover .project-video-play { background: var(--ink); }
  .project-video-poster:hover .project-video-play::before { border-left-color: #fff; }
}
.project-video-poster:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -8px;
}
.project-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, .8fr);
  gap: clamp(32px, 6vw, 80px);
  padding: clamp(32px, 5vw, 72px);
}
.project-lead {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 600;
  letter-spacing: -.2px;
  line-height: 1.4;
}
.project-description {
  margin: 24px 0 0;
  color: #343434;
  font-size: 17px;
  line-height: 1.75;
}
.project-facts {
  display: grid;
  align-content: start;
  margin: 0;
  border-top: 1px solid var(--ink);
}
.project-facts div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.project-facts dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.project-facts dd { margin: 0; font-weight: 700; }
.project-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 clamp(32px, 5vw, 72px) clamp(32px, 5vw, 72px);
}
.projects-page .inner-footer,
.news-index-page .inner-footer { margin: 8px; }
.channel-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 24px;
  color: #fff;
  background: var(--ink);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .8px;
  text-decoration: none;
  text-transform: uppercase;
  /* Same button rule as the home page: ink fill, red + springy grow on hover. */
  transition: background-color .2s ease, scale .32s cubic-bezier(.2,.8,.2,1);
}
.channel-link--shop { min-width: 112px; }
@media (hover: hover) and (pointer: fine) {
  .channel-link:not(.is-pending):hover {
    background: #3a3a3a;
    scale: 1.06;
    transition: background-color .2s ease, scale .52s cubic-bezier(.34,1.9,.5,1);
  }
}
.channel-link--social {
  width: 48px;
  min-width: 48px;
  padding: 0;
  gap: 0;
  border-radius: 50%;
}
.channel-icon { width: 22px; height: 22px; display: block; }
.channel-link.is-pending {
  color: #777;
  background: #ededed;
  border: 1px dashed rgba(0,0,0,.18);
  cursor: not-allowed;
}
.channel-empty {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* News */
.news-layout { border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
.news-index nav { gap: 2px; }
.news-index .news-index-link {
  min-height: 0;
  display: grid;
  gap: 5px;
  align-items: start;
  padding: 11px 8px;
  line-height: 1.28;
}
.news-index-link time {
  color: rgba(255,255,255,.58);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}
.news-index-link span {
  display: block;
  font-size: 15px;
  font-weight: 600;
}
.news-index .news-index-link.is-active {
  color: #fff;
  background: transparent;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.news-index .news-index-link.is-active time { color: rgba(255,255,255,.72); }
.news-stream { padding-right: 8px; padding-bottom: 8px; }
.news-results {
  display: grid;
  gap: 8px;
  padding: 0;
  background: var(--ink);
}
.news-row {
  min-width: 0;
  display: grid;
  grid-template-columns: 140px 160px minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(24px, 3vw, 42px);
  color: var(--ink);
  background: var(--panel);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: background-color .25s ease;
}
@media (hover: hover) {
  .news-row:hover { background: #f2f1ee; }
}
.news-row-meta { display: grid; gap: 7px; }
.news-row-meta time,
.news-row-category {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.news-row-category { color: var(--muted); }
.news-row-thumb {
  width: 160px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin: 0;
  overflow: hidden;
  background: var(--paper);
  border-radius: var(--radius-md);
}
.news-row-thumb img { width: 84%; height: 84%; object-fit: contain; }
.news-row-thumb[data-fit="cover"] img { width: 100%; height: 100%; object-fit: cover; }
.news-row-copy { min-width: 0; }
.news-row-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 700;
  letter-spacing: -.2px;
  line-height: 1.3;
}
.news-row-copy p {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}
.news-row-action {
  display: inline-block;
  margin-top: 22px;
  padding-bottom: 2px;
  color: var(--ink);
  border-bottom: 2px solid var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* Article */
.news-article-page .news-article-intro {
  min-height: 0;
  display: block;
  padding-bottom: clamp(28px, 3vw, 40px);
}
.news-article-kicker {
  margin: 20px 0 0;
  font-family: var(--display);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700;
  letter-spacing: -.2px;
  line-height: 1.2;
}
.article-shell {
  max-width: 1120px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--panel);
  border: 0;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}
.news-stream .article-shell {
  max-width: none;
  margin: 0;
  color: var(--ink);
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: none;
}
.news-stream .article-heading { padding: clamp(28px, 3vw, 48px); }
.news-stream .article-heading h1 {
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: 1.1;
  letter-spacing: -.6px;
}
.news-stream .back-link { margin-bottom: 24px; }
.news-stream .article-meta { margin-bottom: 16px; }
.article-heading { padding: clamp(32px, 6vw, 80px); }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 56px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.article-heading h1 {
  max-width: 930px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(36px, 3.4vw, 48px);
  font-weight: 700;
  letter-spacing: -.6px;
  line-height: 1.08;
}
.article-hero {
  width: calc(100% - clamp(32px, 6vw, 80px) * 2);
  max-height: 720px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--paper);
  border-radius: var(--radius-lg);
}
.article-hero img {
  height: auto;
  width: 100%;
  max-height: 720px;
  object-fit: contain;
}
.article-hero[data-fit-cover] { aspect-ratio: 16 / 9; }
.article-hero[data-fit-cover] img { height: 100%; object-fit: cover; }
.article-body {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) clamp(32px, 6vw, 80px);
}
.article-standfirst {
  margin: 0 0 40px;
  font-family: var(--display);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 600;
  letter-spacing: -.2px;
  line-height: 1.4;
}
.article-body a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.article-body a:hover { text-decoration-thickness: 2px; }
.article-body p:not(.article-standfirst) {
  margin: 0 0 24px;
  color: #2f2f2f;
  font-size: 18px;
  line-height: 1.85;
}
.article-source {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.article-source a {
  font-weight: 700;
  text-underline-offset: 5px;
}

.inner-footer {
  position: relative;
  margin: 80px 8px 8px;
  overflow: hidden;
  background: #fff;
  border-radius: var(--radius-xl);
}
.inner-footer-content {
  width: min(var(--content), 100%);
  min-height: 180px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "brand nav"
    "meta nav";
  align-content: center;
  align-items: center;
  gap: 12px 64px;
  margin: 0 auto;
  padding: 36px var(--gutter);
}
.inner-footer-brand { grid-area: brand; align-self: end; }
.inner-footer-brand img { width: 160px; height: auto; display: block; }
.inner-footer-nav { grid-area: nav; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 24px; }
.inner-footer-nav a,
.inner-footer-meta {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}
.inner-footer-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.inner-footer-meta { grid-area: meta; align-self: start; margin: 0; color: var(--muted); text-align: left; }

@media (max-width: 980px) {
  .inner-footer-content { column-gap: 40px; }
  .inner-footer-nav { gap: 7px 24px; }
  .inner-footer-nav::after { content: ""; flex-basis: 100%; height: 0; order: 1; }
  .inner-footer-nav a:nth-child(n+5) { order: 2; }
  .page-intro { grid-template-columns: 1fr; gap: 32px; }
  .page-intro-copy { margin-left: 0; }
  .projects-layout {
    grid-template-columns: minmax(180px, .42fr) minmax(0, 1fr);
    gap: 0;
  }
  .project-index {
    top: 88px;
    padding: 44px 20px;
    border-radius: 0;
  }
  .project-stream { padding-top: 44px; }
  .project-index-toggle {
    margin-bottom: 18px;
    font-size: 13px;
  }
  .project-index-group + .project-index-group { margin-top: 22px; }
  .project-index a { padding-right: 8px; padding-left: 8px; font-size: 13px; }
  .project-copy { grid-template-columns: 1fr; }
  .news-row { grid-template-columns: 112px 120px minmax(0, 1fr); }
  .news-row-thumb { width: 120px; }
  .news-row-copy h2 { font-size: clamp(22px, 3vw, 30px); }
  .news-row-copy p { display: none; }
}

@media (max-width: 720px) {
  /* 64px panels crowd 390px screens; keep three tiers, step the large one down. */
  .inner-main { padding-top: 16px; padding-bottom: 56px; }
  .projects-page .inner-main,
  .news-index-page .inner-main { padding: 0; }
  .projects-page .page-intro,
  .news-index-page .page-intro {
    min-height: 0;
    margin: 0;
    padding: 40px 22px 32px;
  }
  .projects-intro-copy,
  .news-intro-copy { margin-top: 20px; }
  .projects-page .page-intro h1,
  .news-index-page .page-intro h1 { font-size: clamp(28px, 8vw, 36px); line-height: 1.1; }
  .page-intro { min-height: 0; gap: 20px; margin-bottom: 16px; padding: 28px 22px; border-radius: var(--radius-xl); }
  .page-intro h1,
  .page-intro .page-display-title { font-size: clamp(44px, 12vw, 56px); }
  .content-page .page-intro h1 { font-size: clamp(32px, 9vw, 40px); }
  .page-intro-copy { font-size: 18px; }
  .project-index { padding-right: 18px; padding-left: 18px; border-radius: 0; }
  .project-index-groups { grid-template-columns: 1fr; }
  .project-index-group + .project-index-group { margin-top: 24px; }
  .project-index nav { grid-template-columns: 1fr; }
  .project-detail { border-radius: var(--radius-lg); }
  .project-heading { grid-template-columns: 1fr; padding: 28px 22px; }
  .project-order { display: none; }
  .project-heading h2 { font-size: clamp(30px, 8.6vw, 36px); }
  .project-cover { height: clamp(300px, 92vw, 520px); }
  .project-copy { padding: 32px 22px; }
  .project-description { font-size: 16px; }
  .project-facts div { grid-template-columns: 92px minmax(0, 1fr); }
  .project-channels { padding: 0 22px 32px; }
  .channel-link { min-height: 46px; padding: 0 16px; font-size: 14px; }
  .channel-link--social { width: 44px; min-width: 44px; padding: 0; }
  .news-layout { border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
  .news-row {
    grid-template-columns: 84px minmax(0, 1fr);
    grid-template-areas:
      "meta meta"
      "thumb copy";
    align-items: start;
    gap: 16px 18px;
    padding: 22px;
    border-radius: var(--radius-lg);
  }
  .news-row-meta { grid-area: meta; }
  .news-row-thumb { grid-area: thumb; width: 84px; }
  .news-row-copy { grid-area: copy; }
  .news-row-copy h2 { font-size: 20px; }
  .news-row-action { margin-top: 16px; }
  .article-shell { border-radius: var(--radius-xl); }
  .article-heading { padding: 32px 22px; }
  .back-link { margin-bottom: 40px; }
  .article-heading h1 { font-size: clamp(30px, 8.6vw, 36px); }
  .article-hero { width: calc(100% - 32px); border-radius: var(--radius-md); }
  .article-body { padding: 48px 22px; }
  .article-body p:not(.article-standfirst) { font-size: 16px; }
  .inner-footer { margin: 56px 6px 6px; border-radius: var(--radius-xl); }
  .inner-footer-content { grid-template-columns: 1fr; grid-template-areas: "brand" "nav" "meta"; align-items: start; gap: 28px; }
  .inner-footer-nav { justify-content: start; }
  .inner-footer-nav { display: grid; grid-template-columns: repeat(2, max-content); gap: 14px 48px; }
  .inner-footer-nav::after { content: none; }
  .inner-footer-nav a:nth-child(n+5) { order: 0; }
}

@media (max-width: 640px) {
  /* The dark panel framed the cards on three sides only (the index moves to the
     bottom sheet here), so on phones the cards sit on the page background. */
  .projects-layout { grid-template-columns: 1fr; background: transparent; border-radius: 0; }
  .project-stream,
  .news-stream { padding: 16px 16px 24px; background: transparent; }
  .news-results { gap: 12px; background: transparent; }
  .project-detail + .project-detail { margin-top: 12px; }
  .project-detail,
  .news-row,
  .news-stream .article-shell { box-shadow: 0 10px 30px rgba(20,20,20,.08), 0 1px 2px rgba(20,20,20,.04); }
  .project-index {
    max-height: 68px;
    position: fixed;
    z-index: 170;
    top: auto;
    right: var(--gutter);
    bottom: 12px;
    left: var(--gutter);
    overflow: hidden;
    padding: 0 18px;
    color: var(--ink);
    background: rgba(255,255,255,.98);
    border: 1px solid rgba(0,0,0,.07);
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 48px rgba(0,0,0,.14);
    backdrop-filter: blur(14px);
    transition: max-height .45s cubic-bezier(.2,.8,.2,1), padding .35s ease;
  }
  .project-index.is-open {
    max-height: min(72vh, 560px);
    overflow-y: auto;
    padding-bottom: 24px;
  }
  .project-index-toggle {
    min-height: 66px;
    margin: 0;
    position: sticky;
    z-index: 2;
    top: 0;
    color: var(--ink);
    background: rgba(255,255,255,.98);
    cursor: pointer;
  }
  .project-index-toggle span { display: block; transition: transform .3s ease; }
  .project-index.is-open .project-index-toggle span { transform: rotate(45deg); }
  .project-index-groups { display: none; gap: 24px; padding-top: 8px; }
  .project-index.is-open .project-index-groups { display: grid; }
  .project-index-group + .project-index-group { margin-top: 0; }
  .project-index-group > span { color: var(--muted); }
  .project-index a { color: var(--ink); }
  .project-index a.is-active {
    color: #fff;
    background: var(--ink);
    text-decoration: none;
  }
  .project-index nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-index nav { grid-template-columns: 1fr; }
  .news-index .news-index-link { padding: 12px 8px; }
  .projects-page .inner-main { padding-bottom: 132px; }
  .projects-page .inner-footer { margin: 6px; padding-bottom: 88px; }
  .news-page .inner-main { padding-bottom: 132px; }
  .news-page .inner-footer { margin: 6px; padding-bottom: 88px; }
}

/* License with us (contact) */
.contact-stream { min-width: 0; }
.contact-body {
  max-width: 860px;
  padding: clamp(32px, 6vw, 80px);
}
.contact-body .article-standfirst { margin-bottom: 32px; }
.contact-button {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
  color: #fff;
  background: var(--red);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  transition: background-color .2s ease, scale .32s cubic-bezier(.2,.8,.2,1);
}
@media (hover: hover) and (pointer: fine) {
  .contact-button:hover {
    background: var(--ink);
    scale: 1.04;
    transition: background-color .2s ease, scale .52s cubic-bezier(.34,1.9,.5,1);
  }
}
.contact-button:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.contact-subhead {
  margin: clamp(40px, 5vw, 56px) 0 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.contact-note {
  max-width: 640px;
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.7;
}
@media (max-width: 720px) {
  .contact-button { width: 100%; padding: 0 20px; font-size: 14px; }
  .contact-facts div { grid-template-columns: 1fr; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-button:hover { scale: 1; }
}
