:root {
  --bg: #fff8fc;
  --bg-soft: #fff1f8;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: rgba(255, 255, 255, 0.96);
  --surface-soft: rgba(255, 255, 255, 0.74);
  --text: #f6f8ff;
  --text-dark: #1f2333;
  --muted: #6d7287;
  --muted-light: rgba(246, 248, 255, 0.82);
  --line: rgba(25, 24, 49, 0.1);
  --line-light: rgba(255, 255, 255, 0.18);
  --primary: #5c66e7;
  --primary-strong: #3c47ba;
  --accent: #d65ab1;
  --accent-soft: rgba(214, 90, 177, 0.12);
  --primary-soft: rgba(92, 102, 231, 0.12);
  --shadow: 0 30px 80px rgba(43, 34, 73, 0.18);
  --shadow-soft: 0 18px 50px rgba(63, 40, 87, 0.1);
  --radius-xl: 32px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --max-width: 1380px;
  --content-width: 1040px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text-dark);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(214, 90, 177, 0.18), transparent 24%),
    radial-gradient(circle at 82% 10%, rgba(92, 102, 231, 0.16), transparent 24%),
    linear-gradient(180deg, #fff9fd 0%, #fff5fa 32%, #fcfbff 100%);
  overflow-x: hidden;
}

.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.5;
}

.glow-1 {
  width: 30rem;
  height: 30rem;
  top: -10rem;
  left: -6rem;
  background: rgba(220, 95, 182, 0.28);
}

.glow-2 {
  width: 26rem;
  height: 26rem;
  right: -7rem;
  top: 9rem;
  background: rgba(88, 104, 238, 0.18);
}

.glow-3 {
  width: 24rem;
  height: 24rem;
  left: 40%;
  bottom: 12rem;
  background: rgba(255, 173, 214, 0.18);
}

.grid-fade {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(63, 45, 79, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(63, 45, 79, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.25), transparent 74%);
}

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

button,
a {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  backdrop-filter: blur(22px);
  background: rgba(50, 71, 165, 0.92);
  border-bottom: 1px solid rgba(32, 30, 55, 0.07);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 34px rgba(68, 42, 87, 0.08);
  background: rgba(255, 249, 253, 0.92);
}

.header-shell {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand__logo {
  width: 26px;
  height: 34px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-copy strong,
.brand-copy span {
  color: #fff;
}

.brand-mark {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff84cf 0%, #525de3 100%);
  box-shadow: 0 0 0 7px rgba(214, 90, 177, 0.12);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.brand-copy span {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.header-links {
  display: inline-flex;
  align-items: center;
  gap: 24px;
}

.header-links a {
  color: var(--muted);
  font-size: 0.96rem;
  transition: color 0.2s ease;
}

.header-links a:hover,
.header-links a:focus-visible {
  color: #3f49c9;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.header-cta,
.cta-button,
.back-button {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, #565fe2 0%, #d95fb4 100%);
  box-shadow: 0 14px 28px rgba(132, 68, 139, 0.2);
}

.header-cta:hover,
.header-cta:focus-visible,
.back-button:hover,
.back-button:focus-visible,
.cta-button:hover,
.cta-button:focus-visible {
  transform: translateY(-1px);
}

.nav-toggle,
.mobile-close {
  display: none;
  border: 0;
  background: transparent;
  color: var(--text-dark);
  cursor: pointer;
}

.nav-toggle {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(29, 25, 56, 0.08);
  background: rgba(255, 255, 255, 0.84);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 999px;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(21, 16, 33, 0.46);
  padding: 16px;
}

.mobile-nav-panel {
  width: min(100%, 360px);
  margin-left: auto;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
  padding: 20px;
  display: grid;
  gap: 8px;
}

.mobile-nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.mobile-nav-top p {
  margin: 0 0 2px;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.mobile-nav-top strong {
  font-size: 1rem;
}

.mobile-nav-panel a {
  padding: 14px 14px;
  border-radius: 16px;
  color: var(--text-dark);
  background: rgba(246, 240, 247, 0.78);
}

.mobile-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.5rem;
  background: rgba(246, 240, 247, 0.78);
}

.page-shell {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 34px 24px 86px;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 30px;
}

.side-rail {
  position: static;
  top: auto;
  align-self: stretch;
  display: grid;
  gap: 18px;
}

.back-button,
.rail-card,
.hero-card,
.content-card,
.showcase-card,
.gallery-card,
.feature-band,
.related-card,
.site-footer {
  border: 1px solid rgba(43, 32, 64, 0.08);
}

.back-button {
  min-height: 54px;
  border-radius: 18px;
  border: 1px solid rgba(81, 62, 120, 0.1);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  color: var(--text-dark);
  font-weight: 700;
}

.rail-card {
  border-radius: 24px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
}

.rail-label,
.eyebrow,
.band-label,
.stacked-note-label {
  margin: 0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.rail-label,
.eyebrow,
.stacked-note-label {
  color: #6f5ea8;
}

.eyebrow.light {
  color: rgba(255, 255, 255, 0.82);
}

.mini-meta {
  display: grid;
  gap: 16px;
}

.mini-meta div {
  display: grid;
  gap: 4px;
}

.mini-meta span,
.progress-copy,
.heading-note,
.stack-note,
.footer-note,
.footer-meta span,
.related-card p,
.floating-panel span {
  color: var(--muted);
}

.mini-meta strong {
  font-size: 1rem;
}

.nav-card {
  display: grid;
  gap: 18px;
}

.nav-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.progress-copy {
  font-size: 0.84rem;
  white-space: nowrap;
}

.rail-progress {
  position: relative;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
}

.rail-progress-track,
.rail-progress-fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.rail-progress-track {
  background: rgba(107, 110, 138, 0.18);
}

.rail-progress-fill {
  width: 0;
  background: linear-gradient(90deg, #5a62e2 0%, #dc69b7 100%);
}

.section-nav {
  display: grid;
  gap: 10px;
}

.section-link {
  padding: 13px 14px;
  border-radius: 16px;
  background: rgba(246, 240, 247, 0.82);
  color: var(--muted);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.section-link:hover,
.section-link:focus-visible,
.section-link.is-active {
  background: linear-gradient(135deg, rgba(90, 98, 226, 0.12), rgba(220, 105, 183, 0.12));
  color: #2e3488;
}

.content-shell {
  display: grid;
  gap: 22px;
}

.hero-card,
.content-card,
.showcase-card,
.gallery-card,
.feature-band {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84) 0%, rgba(255, 255, 255, 0.74) 100%);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 28px;
  padding: 34px;
}

.hero-topline,
.metric-row,
.hero-insights,
.card-heading,
.card-grid,
.feature-band-body,
.feature-band-head,
.gallery-card-copy,
.related-grid,
.footer-shell {
  display: flex;
}

.hero-copy {
  display: grid;
  gap: 20px;
  align-content: start;
}

.hero-topline,
.card-heading,
.feature-band-head,
.gallery-card-copy {
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  color: #6c3f7b;
  background: linear-gradient(135deg, rgba(220, 105, 183, 0.14), rgba(93, 106, 229, 0.1));
  border: 1px solid rgba(214, 90, 177, 0.12);
}

.hero-card h1,
.content-card h2,
.showcase-copy h2,
.feature-band-head h2 {
  margin: 0;
  font-family: "Space Grotesk", "Inter", sans-serif;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.hero-card h1 {
  font-size: clamp(2.6rem, 4vw, 4.4rem);
  max-width: 12ch;
}

.hero-subtitle {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #393d51;
  max-width: 52ch;
}

.hero-summary,
.rich-text,
.feature-copy,
.feature-band-head p,
.related-card strong,
.cta-stack p,
.footer-note,
.footer-meta,
.footer-links-block,
.gallery-card-copy p,
.heading-note {
  font-size: 1rem;
  line-height: 1.7;
}

.hero-summary,
.heading-note,
.feature-band-head p,
.footer-note,
.cta-stack p {
  margin: 0;
  color: var(--muted);
}

.hero-insights,
.metric-row {
  gap: 14px;
  flex-wrap: wrap;
}

.insight-card,
.metric-card,
.stacked-note,
.band-panel,
.floating-panel,
.media-card,
.related-card,
.cta-stack {
  border-radius: 22px;
}

.insight-card,
.metric-card {
  min-width: 0;
  flex: 1 1 0;
  padding: 18px;
  border: 1px solid rgba(39, 31, 67, 0.08);
  background: rgba(255, 255, 255, 0.7);
}

.insight-card.highlight {
  background: linear-gradient(135deg, rgba(220, 105, 183, 0.12), rgba(93, 106, 229, 0.12));
}

.insight-card span,
.metric-card span,
.related-card p {
  display: block;
  margin-bottom: 7px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.insight-card strong,
.metric-card strong,
.stacked-note h3,
.related-card strong,
.gallery-card-copy h3 {
  font-size: 1rem;
  line-height: 1.45;
}

.metric-card strong {
  font-size: 1.4rem;
  color: #2a2f8f;
}

.quote-callout {
  display: grid;
  grid-template-columns: 3px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  max-width: 34rem;
}

.quote-callout p {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 700;
  color: #5d546d;
}

.quote-bar {
  width: 3px;
  align-self: stretch;
  border-radius: 999px;
  background: linear-gradient(180deg, #dc69b7 0%, #616aec 100%);
}

.compact-callout p {
  font-size: 1rem;
}

.inverted p {
  color: rgba(255, 255, 255, 0.9);
}

.hero-media {
  position: relative;
  min-width: 0;
}

.hero-image-shell,
.showcase-card img,
.media-card img,
.band-media img,
.gallery-card img,
.mosaic-grid img,
.related-card img {
  overflow: hidden;
  border-radius: 24px;
}

.hero-image-shell {
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.86), rgba(255, 239, 250, 0.68));
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), var(--shadow-soft);
}

.hero-image-shell img,
.media-card img,
.band-media img,
.showcase-card img,
.gallery-card img,
.mosaic-grid img,
.related-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, rgba(250, 236, 245, 0.88), rgba(240, 242, 255, 0.96));
}

/* Override: ensure hero image shell sizes to its image height */
.hero-image-shell {
  min-height: auto;
}
.hero-image-shell img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.floating-panel {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: min(270px, 72%);
  padding: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(14px);
}

.floating-panel span {
  display: block;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
}

.floating-panel p {
  margin: 0;
  color: var(--text-dark);
  line-height: 1.55;
}

.section-chips {
  display: none;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.section-chips::-webkit-scrollbar {
  display: none;
}

.section-chips a {
  padding: 11px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(42, 35, 66, 0.08);
  white-space: nowrap;
  color: #4d5270;
}

.content-card,
.showcase-card,
.gallery-card,
.related-work,
.gallery-mosaic {
  padding: 30px;
}

.showcase-card {
  display: grid;
  gap: 18px;
}

.showcase-copy {
  display: grid;
  gap: 10px;
}

.showcase-card img {
  aspect-ratio: 16 / 9;
}

.card-heading,
.split-heading,
.feature-band-head,
.mosaic-heading {
  margin-bottom: 20px;
}

.card-heading > div,
.feature-band-head > div,
.mosaic-heading > div {
  display: grid;
  gap: 8px;
}

.content-card h2,
.showcase-copy h2,
.feature-band-head h2,
.mosaic-heading h2 {
  font-size: clamp(1.75rem, 2vw, 2.5rem);
}

.card-grid {
  gap: 20px;
}

.two-col,
.engineering-grid,
.reflection-grid,
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.engineering-grid {
  grid-template-columns: 0.92fr 1.08fr;
}

.rich-text,
.feature-copy,
.reflection-side {
  display: grid;
  gap: 14px;
}

.rich-text p,
.rich-text ul,
.band-panel ol,
.stacked-note ul,
.related-card strong,
.cta-stack p {
  margin: 0;
}

.rich-text ul,
.band-panel ol,
.stacked-note ul,
.feature-points {
  padding-left: 20px;
  display: grid;
  gap: 10px;
}

.stacked-note {
  padding: 22px;
  background: linear-gradient(180deg, rgba(248, 241, 247, 0.9), rgba(255, 255, 255, 0.78));
  border: 1px solid rgba(65, 54, 95, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
  display: grid;
  align-content: start;
  gap: 16px;
}

.stacked-note h3 {
  margin: 0;
  font-family: "Space Grotesk", "Inter", sans-serif;
}

.outcome-note {
  gap: 18px;
}

.media-card {
  min-height: 100%;
  padding: 8px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(55, 46, 87, 0.08);
}

.tall-media {
  min-height: 400px;
}

.feature-band {
  padding: 30px;
  background: linear-gradient(135deg, #4c49a6 0%, #d461b1 100%);
  color: #fff;
}

.feature-band-head {
  margin-bottom: 24px;
}

.feature-band-body {
  gap: 22px;
  align-items: stretch;
}

.feature-copy,
.band-media {
  flex: 1 1 0;
}

.band-panel {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 22px;
  display: grid;
  gap: 14px;
}

.band-label {
  color: rgba(255, 255, 255, 0.7);
}

.band-panel ol {
  color: rgba(255, 255, 255, 0.92);
}

.band-media {
  min-height: 360px;
}

.band-media-main {
  height: 100%;
}

.band-media-main img {
  min-height: 100%;
}

.gallery-row,
.gallery-mosaic,
.related-work {
  display: grid;
  gap: 18px;
}

.gallery-card {
  display: grid;
  gap: 18px;
}

.gallery-card h3 {
  margin: 0;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 1.3rem;
}

.three-up-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.three-up-grid img {
  aspect-ratio: 4 / 5;
}

.mosaic-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mosaic-grid img {
  aspect-ratio: 1 / 1;
  border-radius: 20px;
}

/* Hide gallery placeholders 7-12 (keep first 6 visible) */
.mosaic-grid img:nth-of-type(n+7) {
  display: none !important;
}

.related-grid {
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.related-card {
  display: grid;
  gap: 14px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.related-card img {
  aspect-ratio: 1 / 1;
  border-radius: 18px;
}

.related-card div {
  display: grid;
  gap: 6px;
  padding: 4px 6px 10px;
}

.cta-button {
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, #5a62e2 0%, #dc69b7 100%);
  box-shadow: 0 14px 28px rgba(132, 68, 139, 0.18);
}

.cta-button.large {
  min-height: 56px;
  font-size: 1rem;
  width: fit-content;
}

.cta-stack {
  padding: 22px;
  background: rgba(249, 244, 248, 0.88);
  border: 1px solid rgba(57, 48, 89, 0.08);
  display: grid;
  gap: 14px;
}

.site-footer {
  margin: 0 24px 24px;
  border-radius: 30px;
  background: linear-gradient(135deg, #20254f 0%, #6e3d82 100%);
  box-shadow: 0 30px 80px rgba(43, 34, 73, 0.18);
}

.footer-shell {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px 30px;
  align-items: start;
  justify-content: space-between;
  gap: 28px;
}

.footer-brand-block,
.footer-links-block,
.footer-meta {
  display: grid;
  gap: 8px;
}

.footer-brand,
.footer-links-block a,
.footer-meta a,
.footer-meta span {
  color: var(--text);
}

.footer-brand {
  margin: 0;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 1.5rem;
}

.footer-links-block a,
.footer-meta a,
.footer-meta span {
  font-size: 0.96rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

img.media-fallback {
  object-fit: contain;
  padding: 18px;
}

@media (max-width: 1180px) {
  .page-shell {
    grid-template-columns: 1fr;
  }

  /* keep the side rail visible on small screens so the back button remains accessible */
  .side-rail {
    display: grid;
    position: static;
    top: auto;
    align-self: stretch;
    gap: 12px;
  }

  /* hide the larger navigation panel to save space but keep the back button */
  .side-rail .nav-card {
    display: none;
  }

  .section-chips {
    display: flex;
  }

  .hero-card {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .header-links,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .two-col,
  .engineering-grid,
  .reflection-grid,
  .feature-band-body,
  .footer-shell {
    grid-template-columns: 1fr;
    display: grid;
  }

  .feature-band-head,
  .card-heading,
  .gallery-card-copy {
    flex-direction: column;
    align-items: start;
  }

  .mosaic-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .header-shell,
  .page-shell,
  .site-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .page-shell {
    padding-top: 20px;
    padding-bottom: 70px;
  }

  .hero-card,
  .content-card,
  .showcase-card,
  .gallery-card,
  .feature-band,
  .gallery-mosaic,
  .related-work,
  .footer-shell {
    padding: 22px;
  }

  .hero-card h1 {
    max-width: none;
    font-size: clamp(2.2rem, 11vw, 3.2rem);
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .insight-card,
  .metric-card {
    flex: 1 1 100%;
  }

  .floating-panel {
    position: static;
    width: 100%;
    margin-top: 14px;
  }

  .three-up-grid {
    grid-template-columns: 1fr;
  }

  .mosaic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .footer-shell {
    gap: 18px;
  }
}

@media (max-width: 480px) {
  .mosaic-grid {
    grid-template-columns: 1fr;
  }

  .section-chips a,
  .section-link,
  .mobile-nav-panel a {
    font-size: 0.94rem;
  }
}
