:root {
  color-scheme: dark;
  --bg: #000;
  --main: #0a0a0a;
  --text: #f5f5f7;
  --muted: rgba(245, 245, 247, 0.72);
  --soft: rgba(245, 245, 247, 0.48);
  --line: rgba(252, 250, 248, 0.14);
  --line-strong: rgba(252, 250, 248, 0.25);
  --accent: #78cb89;
  --page-margin: 24px;
  --max: 1920px;
  font-family:
    Poppins, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit;
}

.grid-container {
  width: min(100%, var(--max));
  margin-inline: auto;
  padding-inline: var(--page-margin);
}

.site-ribbon {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 72px;
  padding: 22px var(--page-margin);
  background: transparent;
  pointer-events: none;
}

.ribbon-logo {
  position: relative;
  display: flex;
  align-items: center;
  width: 117px;
  pointer-events: auto;
}

.brand-logo-img {
  width: 100%;
  height: auto;
}

.title-block {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: flex-end;
  min-height: 100svh;
  overflow: hidden;
  padding: 150px 0 clamp(70px, 10vh, 128px);
  background: #0a4d79 url("/assets/cloud-hero-poster.jpg") center/cover no-repeat;
}

.title-block > .grid-container {
  position: relative;
  z-index: 2;
}

.hero-cloud-video,
.hero-cloud-overlay {
  position: absolute;
  inset: 0;
}

.hero-cloud-video {
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-cloud-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.32) 0%, rgba(0, 0, 0, 0.08) 48%, rgba(0, 0, 0, 0.16) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.08) 45%, rgba(0, 0, 0, 0.46) 78%, #000 100%);
  pointer-events: none;
}

.brand-lockup {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  width: min(180px, 48vw);
}

.title-block h1 {
  max-width: 1040px;
  margin: 0;
  color: var(--text);
  font-size: clamp(38px, 4.85vw, 68px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: 0;
  text-shadow: 0 18px 56px rgba(0, 0, 0, 0.24);
}

.content-rise {
  position: relative;
  z-index: 2;
  background: #000;
}

.mission-section {
  display: flex;
  flex-direction: column;
  gap: 86px;
  padding: 0 0 116px;
  background: #000;
}

.scroll-story {
  position: relative;
  min-height: 430svh;
  background: #000;
}

.scroll-story-sticky {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  min-height: 100svh;
  overflow: hidden;
  padding: 104px 0 92px;
}

.scroll-story-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.88fr) minmax(520px, 1fr);
  gap: clamp(48px, 6vw, 112px);
  align-items: center;
}

.story-copy {
  min-width: 0;
}

.story-copy .mono-label {
  margin-bottom: 28px;
  color: rgba(245, 245, 247, 0.72);
}

.story-heading {
  max-width: 1550px;
  margin: 0;
  color: var(--text);
  font-size: clamp(38px, 5vw, 78px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0;
}

.story-line {
  display: block;
  max-width: 10.8em;
}

.story-line-base {
  white-space: nowrap;
}

.story-line-data {
  max-width: 8em;
}

.story-line-workflows,
.story-line-models,
.story-line-production {
  opacity: var(--line-progress, 0);
  transform: translateY(calc((1 - var(--line-progress, 0)) * 0.92em));
  will-change: opacity, transform;
}

.story-line-workflows {
  --line-progress: var(--story-workflow-progress, 0);
  max-width: 10.9em;
}

.story-line-models {
  --line-progress: var(--story-model-progress, 0);
  max-width: 10.9em;
}

.story-line-production {
  --line-progress: var(--story-production-progress, 0);
  max-width: 10.4em;
}

.story-comma {
  display: inline;
  opacity: 0;
  transition: opacity 120ms linear;
}

.story-comma-data {
  opacity: var(--story-data-comma-progress, 0);
}

.story-comma-workflows {
  opacity: var(--story-workflow-comma-progress, 0);
}

.animated-word {
  color: transparent;
  background-image: url("/videos/genlift_motion.gif");
  background-position: 52% 51%;
  background-size: 805% 805%;
  -webkit-background-clip: text;
  background-clip: text;
}

.story-visual {
  position: relative;
  display: grid;
  min-height: clamp(580px, 72svh, 760px);
  place-items: center;
}

.story-card-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: clamp(128px, 13vw, 178px);
  gap: clamp(14px, 1.25vw, 22px);
  width: min(100%, 840px);
  transform-origin: center;
  transition:
    gap 700ms ease,
    transform 700ms ease;
}

.scroll-story[data-phase="3"] .story-card-grid {
  gap: clamp(10px, 0.8vw, 14px);
  transform: scale(0.9);
}

.story-image-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(252, 250, 248, 0.16);
  border-radius: 7px;
  background: #090909;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(38px) scale(0.96);
  transition:
    border-color 520ms ease,
    opacity 520ms ease,
    transform 620ms ease;
}

.story-image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0.72) 100%);
}

.story-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  filter: saturate(0.76) contrast(1.04);
}

.story-image-card span {
  position: absolute;
  right: 14px;
  bottom: 12px;
  left: 14px;
  z-index: 1;
  color: #fff;
  font-size: clamp(13px, 1vw, 16px);
  font-weight: 500;
  line-height: 1.1;
}

.story-data-card,
.scroll-story[data-phase="1"] .story-workflow-card,
.scroll-story[data-phase="2"] .story-workflow-card,
.scroll-story[data-phase="3"] .story-workflow-card,
.scroll-story[data-phase="3"] .story-model-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.scroll-story[data-phase="2"] .story-model-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.scroll-story[data-phase="3"] .story-image-card {
  border-color: rgba(120, 203, 137, 0.38);
}

.story-system-box {
  position: absolute;
  inset: clamp(8px, 1.4vw, 22px);
  z-index: 0;
  border: 1px solid rgba(120, 203, 137, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(42, 123, 155, 0.14), rgba(87, 199, 133, 0.08) 47%, rgba(237, 221, 83, 0.12)),
    rgba(255, 255, 255, 0.035);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 30px 100px rgba(42, 123, 155, 0.12);
  opacity: 0;
  transform: scale(0.94);
  transition:
    opacity 620ms ease,
    transform 700ms ease;
}

.story-system-box p {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: clamp(16px, 2vw, 28px);
  margin: 0;
  border: 1px solid rgba(245, 245, 247, 0.18);
  border-radius: 6px;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.54);
  color: rgba(245, 245, 247, 0.86);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
  transform: translateX(-50%);
  white-space: nowrap;
}

.story-flow-lines {
  position: absolute;
  inset: 10% 8% 7%;
  z-index: 1;
  overflow: visible;
  opacity: 0;
  pointer-events: none;
  transition: opacity 620ms ease 120ms;
}

.story-flow-lines path {
  fill: none;
  stroke: rgba(237, 221, 83, 0.72);
  stroke-dasharray: 1.5 2.4;
  stroke-linecap: round;
  stroke-width: 0.42;
  vector-effect: non-scaling-stroke;
}

.scroll-story[data-phase="3"] .story-system-box,
.scroll-story[data-phase="3"] .story-flow-lines {
  opacity: 1;
  transform: scale(1);
}

.divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, rgba(252, 250, 248, 0.35), rgba(252, 250, 248, 0.08));
}

.statement-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 56px;
  padding-top: 66px;
}

.mono-label {
  margin: 0;
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 15px;
  line-height: 1.3;
  white-space: nowrap;
}

.statement-row > p:last-child {
  max-width: 1180px;
  margin: 0;
  color: var(--text);
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 400;
  line-height: 1.1;
}

.category-marquee {
  position: relative;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 36px;
  overflow: hidden;
  border-top: 1px solid var(--line-strong);
  padding-top: 46px;
}

.marquee-track {
  overflow: hidden;
}

.marquee-track div {
  display: flex;
  width: max-content;
  gap: 72px;
  animation: scroll-logos 95s linear infinite;
}

.marquee-track span {
  color: rgba(245, 245, 247, 0.3);
  font-size: clamp(32px, 5vw, 82px);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

@keyframes scroll-logos {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.work-section {
  background: #000;
  padding: 110px 0 40px;
}

.work-intro {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 56px;
  border-top: 1px solid var(--line-strong);
  padding-top: 70px;
  margin-bottom: 110px;
}

.work-intro h2 {
  max-width: 980px;
  margin: 0;
  color: var(--text);
  font-size: clamp(34px, 5vw, 74px);
  font-weight: 500;
  line-height: 1.05;
}

.sector {
  padding: 0 0 140px;
}

.sector-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.44fr) minmax(0, 1fr);
  gap: clamp(44px, 7vw, 120px);
  align-items: start;
}

.sector-grid > h2 {
  position: sticky;
  top: 24px;
  margin: 0;
  color: var(--text);
  font-size: clamp(34px, 4.6vw, 72px);
  font-weight: 500;
  line-height: 1.05;
}

.card-stack {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(420px, auto);
  gap: 16px;
}

.work-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #070707;
}

.work-card.active {
  border-color: rgba(120, 203, 137, 0.72);
}

.work-card.tall {
  grid-row: span 2;
  min-height: 856px;
}

.work-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.84;
  filter: saturate(0.8) contrast(1.06);
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.22) 38%, rgba(0, 0, 0, 0.82) 100%),
    radial-gradient(circle at 40% 0%, rgba(255, 255, 255, 0.16), transparent 38%);
}

.work-card button {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: end;
  gap: 16px;
  width: 100%;
  border: 0;
  padding: 28px;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: padding 260ms ease;
}

.work-card button:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: -8px;
}

.work-card .tag {
  grid-column: 1 / -1;
  justify-self: start;
  border: 1px solid rgba(250, 250, 250, 0.18);
  border-radius: 6px;
  padding: 8px 11px;
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  line-height: 1;
}

.work-card strong {
  font-size: clamp(24px, 2.4vw, 42px);
  font-weight: 500;
  line-height: 1.04;
  transition: font-size 260ms ease;
}

.expand {
  position: relative;
  align-self: end;
  width: 30px;
  height: 30px;
}

.expand::before,
.expand::after {
  content: "";
  position: absolute;
  top: 14px;
  left: 0;
  width: 30px;
  height: 1.5px;
  background: #fff;
  transition: transform 260ms ease;
}

.expand::after {
  transform: rotate(90deg);
}

.work-card:is(:hover, :focus-within) .expand::after,
.work-card.active .expand::after {
  transform: rotate(0deg);
}

.work-card p {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 28px;
  left: 28px;
  max-height: 0;
  margin: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.3;
  opacity: 0;
  transition:
    max-height 260ms ease,
    opacity 260ms ease;
}

.work-card:is(:hover, :focus-within) button {
  padding-bottom: 172px;
}

.work-card:is(:hover, :focus-within) strong {
  font-size: clamp(22px, 2vw, 34px);
}

.work-card:is(:hover, :focus-within) p {
  max-height: 142px;
  opacity: 1;
}

.sector-detail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  min-height: clamp(430px, 42vw, 560px);
  margin-top: 34px;
  overflow: hidden;
  background: linear-gradient(
    90deg,
    rgba(42, 123, 155, 1) 0%,
    rgba(87, 199, 133, 1) 25%,
    rgba(237, 221, 83, 1) 50%,
    #edf6ff 50%,
    #edf6ff 100%
  );
  animation: detail-reveal 280ms ease;
}

.sector-detail[hidden] {
  display: none;
}

.detail-close {
  position: absolute;
  top: 24px;
  right: var(--page-margin);
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(16, 47, 41, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.detail-close::before,
.detail-close::after {
  content: "";
  position: absolute;
  top: 20px;
  left: 11px;
  width: 18px;
  height: 1.5px;
  background: #102f29;
}

.detail-close::before {
  transform: rotate(45deg);
}

.detail-close::after {
  transform: rotate(-45deg);
}

.detail-close:focus-visible {
  outline: 2px solid #102f29;
  outline-offset: 3px;
}

.sector-detail-media {
  display: grid;
  min-height: clamp(430px, 42vw, 560px);
  place-items: center;
  padding: clamp(34px, 5vw, 86px);
  background: linear-gradient(90deg, rgba(42, 123, 155, 1) 0%, rgba(87, 199, 133, 1) 50%, rgba(237, 221, 83, 1) 100%);
}

.sector-detail-media img {
  width: min(74%, 760px);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid rgba(4, 23, 35, 0.18);
  border-radius: 6px;
  box-shadow: 0 24px 70px rgba(14, 50, 92, 0.28);
  opacity: 0.96;
  filter: saturate(0.82) contrast(1.02);
}

.sector-detail-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: clamp(430px, 42vw, 560px);
  padding: clamp(42px, 6vw, 96px);
  background: #edf6ff;
  color: #12362c;
}

.detail-kicker {
  margin: 0 0 24px;
  color: #2c7352;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.sector-detail h3 {
  margin: 0;
  max-width: 680px;
  color: #102f29;
  font-size: clamp(28px, 3.2vw, 52px);
  font-weight: 500;
  line-height: 1.02;
}

.detail-summary {
  margin: 22px 0 0;
  max-width: 720px;
  color: rgba(16, 47, 41, 0.76);
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.34;
}

.detail-highlights {
  display: grid;
  gap: 0;
  max-width: 720px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.detail-highlights li {
  border-top: 1px solid rgba(18, 54, 44, 0.18);
  padding: 14px 0;
  color: #102f29;
  font-size: 16px;
  line-height: 1.3;
}

@keyframes detail-reveal {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.team-section,
.faq-section {
  background: #000;
  padding: 118px 0;
}

.team-grid,
.faq-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.6fr) minmax(0, 1fr);
  gap: clamp(48px, 8vw, 130px);
  align-items: start;
}

.team-grid h2,
.faq-grid h2 {
  position: sticky;
  top: 24px;
  margin: 0;
  color: var(--text);
  font-size: clamp(36px, 5vw, 70px);
  font-weight: 500;
  line-height: 1.04;
}

.team-intro {
  margin: 0;
  color: var(--text);
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.1;
}

.team-content {
  min-width: 0;
}

.team-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 52px;
}

.team-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #070707;
}

.team-card img {
  width: 100%;
  aspect-ratio: 1.05 / 1;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.86) contrast(1.03);
}

.team-card div {
  padding: 22px;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.72);
}

.team-card h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(22px, 2.2vw, 34px);
  font-weight: 500;
  line-height: 1.05;
}

.team-card p {
  margin: 10px 0 0;
  color: var(--soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  letter-spacing: 0.06em;
  line-height: 1.25;
  text-transform: uppercase;
}

.faq-list {
  border-top: 1px solid var(--line-strong);
}

.faq-item {
  border-bottom: 1px solid var(--line-strong);
}

.faq-item button {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  width: 100%;
  border: 0;
  padding: 26px 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.1;
}

.faq-item button span:last-child {
  position: relative;
  width: 28px;
  height: 28px;
}

.faq-item button span:last-child::before,
.faq-item button span:last-child::after {
  content: "";
  position: absolute;
  top: 13px;
  left: 0;
  width: 28px;
  height: 1.5px;
  background: #fff;
  transition: transform 260ms ease;
}

.faq-item button span:last-child::after {
  transform: rotate(90deg);
}

.faq-item.open button span:last-child::after {
  transform: rotate(0deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 260ms ease;
}

.faq-item.open .faq-answer {
  max-height: 260px;
}

.faq-answer p {
  max-width: 760px;
  margin: 0;
  padding: 0 0 30px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 18px;
  line-height: 1.35;
}

.footer-section {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.4) 50%, #000 100%),
    url("/assets/manufacturing-card-bg.webp") center/cover no-repeat;
}

.footer-grid h2 {
  max-width: 1040px;
  margin: 0;
  color: var(--text);
  font-size: clamp(56px, 9vw, 132px);
  font-weight: 500;
  line-height: 0.98;
}

.footer-grid p {
  margin: 34px 0 0;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.studio-credit {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  border-top: 1px solid rgba(250, 250, 250, 0.15);
  background: rgba(0, 0, 0, 0.4);
  padding: 24px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

@media (max-width: 980px) {
  :root {
    --page-margin: 16px;
  }

  .site-ribbon {
    min-height: 72px;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .ribbon-logo {
    width: 112px;
  }

  .title-block {
    min-height: 92svh;
    padding: 118px 0 74px;
  }

  .scroll-story {
    min-height: auto;
  }

  .scroll-story-sticky {
    position: relative;
    min-height: auto;
    padding: 96px 0 20px;
  }

  .scroll-story-grid {
    grid-template-columns: 1fr;
  }

  .story-heading {
    max-width: 900px;
  }

  .story-line {
    max-width: none;
  }

  .story-line-workflows,
  .story-line-models,
  .story-line-production {
    opacity: 1;
    transform: none;
  }

  .story-comma {
    opacity: 1;
  }

  .story-visual {
    min-height: auto;
  }

  .story-card-grid {
    grid-auto-rows: minmax(150px, 24vw);
    width: 100%;
    transform: scale(0.96);
  }

  .story-image-card {
    opacity: 1;
    transform: none;
  }

  .story-system-box,
  .story-flow-lines {
    opacity: 1;
    transform: none;
  }

  .statement-row,
  .category-marquee,
  .work-intro,
  .sector-grid,
  .team-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(420px, auto);
  }

  .work-card.tall {
    grid-row: auto;
    min-height: 520px;
  }

  .team-list {
    grid-template-columns: 1fr;
  }

  .sector-detail {
    grid-template-columns: 1fr;
    min-height: 0;
    background: #edf6ff;
  }

  .sector-detail-media {
    min-height: 320px;
    padding: 48px 20px;
  }

  .sector-detail-media img {
    width: min(84%, 560px);
  }

  .sector-grid > h2,
  .team-grid h2,
  .faq-grid h2 {
    position: relative;
    top: auto;
  }
}

@media (max-width: 640px) {
  .title-block h1 {
    font-size: 32px;
  }

  .story-heading,
  .work-intro h2 {
    font-size: 32px;
  }

  .story-copy .mono-label {
    margin-bottom: 18px;
  }

  .scroll-story-sticky {
    padding-top: 82px;
  }

  .scroll-story-grid {
    gap: 34px;
  }

  .story-card-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(150px, 46vw);
    transform: none;
  }

  .story-system-box,
  .story-flow-lines {
    display: none;
  }

  .statement-row > p:last-child {
    font-size: 24px;
  }

  .mission-section {
    padding: 88px 0;
  }

  .marquee-track div {
    gap: 42px;
  }

  .marquee-track span {
    font-size: 42px;
  }

  .sector {
    padding-bottom: 92px;
  }

  .work-card,
  .work-card.tall {
    min-height: 460px;
  }

  .work-card button {
    padding: 22px;
  }

  .work-card p {
    right: 22px;
    bottom: 22px;
    left: 22px;
    font-size: 16px;
  }

  .work-card:is(:hover, :focus-within) button {
    padding-bottom: 166px;
  }

  .work-card:is(:hover, :focus-within) strong {
    font-size: 25px;
  }

  .sector-detail-media {
    min-height: 240px;
    padding: 34px 16px;
  }

  .sector-detail-copy {
    padding: 28px 22px;
    min-height: 0;
  }

  .footer-section {
    min-height: 70vh;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
