@media (min-width: 2000px) {
  :root {
    --shell: min(100% - 144px, 2080px);
    --content: min(100% - 144px, 1760px);
  }

  body {
    font-size: 18px;
  }

  .hero-content {
    grid-template-columns: minmax(700px, 0.9fr) minmax(620px, 1.1fr);
  }

  .hero-component-wrap {
    width: min(43vw, 980px);
  }

  .operation-item {
    min-height: 400px;
  }

  .js .history-track {
    width: 480vw;
    grid-template-columns: repeat(6, 80vw);
  }
}

@media (max-width: 1340px) {
  :root {
    --shell: min(100% - 56px, 1260px);
    --content: min(100% - 56px, 1160px);
    --header-height: 82px;
    --header-logo-width: 198px;
    --header-logo-height: 66px;
  }

  .header-inner {
    grid-template-columns: 202px 1fr auto;
    gap: 20px;
  }

  .brand {
    width: 158px;
    height: 56px;
  }

  .nav-list {
    gap: 16px;
  }

  .nav-list a {
    font-size: 0.7rem;
  }

  .header-cta {
    font-size: 0.7rem;
    padding-inline: 13px;
  }

  .hero-content {
    grid-template-columns: minmax(500px, 0.95fr) minmax(350px, 1.05fr);
  }

  .hero-copy h1 {
    font-size: clamp(4.2rem, 7.4vw, 7.3rem);
  }

  .hero-component-wrap {
    width: 47vw;
    margin-left: -8vw;
  }

  .contact-layout {
    grid-template-columns: minmax(350px, 0.72fr) minmax(520px, 1.28fr);
    gap: 70px;
  }

  .story-phase {
    grid-template-columns: 0.25fr minmax(330px, 0.7fr) minmax(400px, 0.9fr);
    gap: 45px;
  }

  .js .history-track {
    width: 540vw;
    grid-template-columns: repeat(6, 90vw);
  }
}

@media (max-width: 1100px) {
  :root {
    --shell: min(100% - 44px, 1000px);
    --content: min(100% - 44px, 940px);
  }

  .primary-nav,
  .header-cta {
    display: none;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .primary-nav.is-open {
    position: fixed;
    z-index: 99;
    top: 0;
    left: 0;
    display: grid;
    width: 100vw;
    max-width: none;
    height: 100dvh;
    padding: 120px 32px 40px;
    overflow-y: auto;
    background: rgba(2, 8, 18, 0.98);
    justify-self: stretch;
    place-items: center;
  }

  .primary-nav.is-open .nav-list {
    width: min(100%, 560px);
    flex-direction: column;
    align-items: stretch;
  }

  .primary-nav.is-open .nav-list a {
    display: flex;
    min-height: 62px;
    border-bottom: 1px solid var(--line);
    align-items: center;
    font-size: 1rem;
  }

  .primary-nav.is-open .nav-list a::after {
    bottom: -1px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .home-hero {
    height: 150vh;
    min-height: 1040px;
  }

  .hero-content {
    grid-template-columns: minmax(420px, 0.98fr) minmax(300px, 1.02fr);
  }

  .hero-copy h1 {
    font-size: clamp(3.9rem, 8vw, 6rem);
  }

  .hero-component-wrap {
    width: 49vw;
    margin-left: -11vw;
  }

  .hero-statement,
  .hero-transition {
    display: none;
  }

  .numbers-layout,
  .history-intro-grid,
  .process-layout,
  .range-grid,
  .video-layout,
  .contact-layout,
  .location-grid,
  .legal-content {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .machine-layout {
    grid-template-columns: 1fr;
  }

  .machine-summary {
    position: relative;
    top: auto;
    min-height: 0;
  }

  .numbers-intro,
  .history-intro h2,
  .process-nav,
  .contact-sidebar,
  .legal-nav {
    position: static;
  }

  .numbers-intro h2,
  .history-intro h2,
  .process-nav h2,
  .component-gallery-title h2,
  .range-copy h2,
  .contact-sidebar h2 {
    max-width: 14ch;
  }

  .split-feature {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .split-feature__media {
    min-height: 620px;
  }

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

  .operation-item:nth-child(1),
  .operation-item:nth-child(5) {
    grid-column: span 1;
  }

  .project-teaser-grid {
    grid-template-columns: 0.82fr 1.18fr;
    gap: 60px;
  }

  .project-collage {
    min-height: 560px;
  }

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

  .page-hero__content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .page-hero__aside {
    max-width: 62ch;
  }

  .history-track,
  .js .history-track {
    width: auto;
    height: auto;
    transform: none !important;
    grid-template-columns: repeat(2, 1fr);
  }

  .history-progress {
    display: none;
  }

  .legacy-layout {
    grid-template-columns: 1fr;
  }

  .legacy-visual {
    min-height: 620px;
  }

  .js .history-timeline {
    height: auto;
  }

  .js .history-timeline__sticky {
    position: relative;
    height: auto;
    overflow: visible;
  }

  .js .history-timeline__label {
    position: relative;
    left: auto;
    padding: 80px 0 30px;
  }

  .history-panel,
  .js .history-panel {
    min-height: 650px;
    padding-top: 70px;
  }

  .project-summary-grid {
    grid-template-columns: 1fr;
  }

  .story-phase {
    min-height: 0;
    grid-template-columns: 0.24fr 1fr;
  }

  .story-phase__media,
  .story-phase:nth-child(even) .story-phase__media {
    grid-column: 2;
    order: initial;
  }

  .careers-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .range-axis {
    min-height: 470px;
  }

  .legal-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
  }

  .legal-nav li {
    border: 0;
  }
}

@media (max-width: 820px) {
  :root {
    --shell: min(100% - 34px, 760px);
    --content: min(100% - 34px, 720px);
    --header-height: 74px;
    --header-logo-width: 170px;
    --header-logo-height: 58px;
  }

  body {
    font-size: 16px;
  }

  .section {
    padding-block: 88px;
  }

  .brand {
    width: 150px;
    height: 52px;
  }

  .home-hero {
    height: auto;
    min-height: 0;
  }

  .hero-stage {
    position: relative;
    display: flex;
    min-height: 920px;
    padding: calc(var(--header-height) + 50px) 0 46px;
    align-items: flex-end;
  }

  .hero-photo {
    inset: 0;
  }

  .hero-photo img {
    object-position: 54% 42%;
  }

  .hero-photo::after {
    background:
      linear-gradient(0deg, rgba(2, 8, 18, 0.99) 9%, rgba(2, 8, 18, 0.78) 54%, rgba(2, 8, 18, 0.38) 100%),
      linear-gradient(90deg, rgba(2, 8, 18, 0.42), rgba(2, 8, 18, 0.08));
  }

  .hero-content {
    display: block;
    height: auto;
  }

  .hero-copy {
    padding-top: 330px;
  }

  .hero-copy h1 {
    max-width: 10ch;
    font-size: clamp(3.4rem, 12vw, 5.6rem);
  }

  .hero-component-wrap {
    position: absolute;
    top: 130px;
    right: -10%;
    width: 76vw;
    max-width: 580px;
    margin: 0;
    opacity: 0.8;
    transform: rotate(-8deg) !important;
  }

  .scroll-cue,
  .hero-axis {
    display: none;
  }

  .number-item {
    min-height: 150px;
    grid-template-columns: minmax(120px, 0.6fr) 1fr;
  }

  .split-feature__media {
    min-height: 520px;
  }

  .split-feature__content h2 {
    max-width: 12ch;
  }

  .operation-item {
    min-height: 300px;
  }

  .materials-band {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .component-gallery-head {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .component-gallery-copy {
    max-width: 720px;
  }

  .component-gallery {
    display: grid;
    min-height: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .component-shot,
  .component-shot--01,
  .component-shot--02,
  .component-shot--03,
  .component-shot--04,
  .component-shot--05,
  .component-shot--06 {
    position: relative;
    inset: auto;
    width: auto;
    z-index: auto;
  }

  .component-shot--01,
  .component-shot--02 {
    grid-column: span 2;
  }

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

  .component-gallery {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .component-shot--01,
  .component-shot--02 {
    grid-column: auto;
  }

  .project-teaser-grid {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .project-collage {
    min-height: 620px;
  }

  .final-cta-inner {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .page-hero {
    min-height: 720px;
    padding-bottom: 60px;
  }

  .page-hero--compact {
    min-height: 520px;
  }

  .page-hero h1 {
    font-size: clamp(3.3rem, 11vw, 5.5rem);
  }

  .page-index {
    display: none;
  }

  .history-track,
  .js .history-track {
    grid-template-columns: 1fr;
  }

  .history-panel,
  .js .history-panel {
    min-height: 580px;
  }

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

  .process-scene {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .process-scene__number {
    font-size: 4.2rem;
  }

  .range-board {
    overflow-x: auto;
  }

  .range-axis {
    min-width: 680px;
  }

  .machine-toolbar {
    position: static;
    align-items: stretch;
  }

  .filter-button {
    flex: 1 1 30%;
  }

  .machine-count {
    width: 100%;
    margin: 12px 0 0;
  }

  .machine-item {
    grid-template-columns: 54px 1fr auto;
    gap: 14px;
  }

  .machine-category {
    grid-column: 2;
  }

  .machine-quantity {
    grid-row: 1 / span 2;
    grid-column: 3;
  }

  .story-phase {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .story-phase__number {
    font-size: 5rem;
  }

  .story-phase__media,
  .story-phase:nth-child(even) .story-phase__media {
    grid-column: 1;
  }

  .story-phase__media,
  .story-phase__media img {
    min-height: 460px;
  }

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

  .form-field--wide {
    grid-column: auto;
  }

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

@media (max-width: 520px) {
  :root {
    --shell: calc(100% - 32px);
    --content: calc(100% - 32px);
  }

  .section {
    padding-block: 76px;
  }

  h2 {
    font-size: clamp(2.25rem, 12vw, 3.8rem);
  }

  .button-row {
    align-items: stretch;
  }

  .button-row .button {
    width: 100%;
  }

  .hero-stage {
    min-height: 860px;
  }

  .hero-copy {
    padding-top: 300px;
  }

  .hero-copy h1 {
    margin-bottom: 22px;
  }

  .hero-copy .lede {
    font-size: 1.05rem;
  }

  .hero-component-wrap {
    top: 120px;
    right: 3%;
    width: 82vw;
  }

  .number-item {
    display: block;
    min-height: 0;
  }

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

  .number-item:nth-child(7) {
    grid-column: auto;
  }

  .number-value {
    display: block;
    margin-bottom: 20px;
  }

  .number-label {
    max-width: none;
  }

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

  .split-feature__media {
    min-height: 390px;
  }

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

  .operation-item {
    min-height: 270px;
    padding: 30px;
  }

  .operation-index {
    margin-bottom: 50px;
  }

  .component-gallery-head {
    margin-bottom: 50px;
  }

  .component-gallery-copy {
    padding-left: 18px;
  }

  .component-shot figcaption {
    min-width: 78%;
    padding: 11px 13px 13px;
  }

  .project-collage {
    min-height: 460px;
  }

  .project-collage__large {
    inset: 0 0 18% 0;
  }

  .project-collage__small {
    width: 64%;
    border-width: 8px;
  }

  .final-cta {
    padding-block: 84px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
  }

  .page-hero {
    min-height: 680px;
    padding-top: calc(var(--header-height) + 70px);
  }

  .page-hero__aside {
    padding-left: 18px;
  }

  .history-panel,
  .js .history-panel {
    min-height: 530px;
    padding: 56px 28px 40px;
  }

  .history-date {
    font-size: 4rem;
  }

  .legacy-card {
    min-height: 0;
    padding: 38px 28px;
  }

  .legacy-visual {
    min-height: 430px;
  }

  .legacy-card {
    grid-template-columns: 54px 1fr;
    column-gap: 20px;
  }

  .legacy-card svg {
    width: 48px;
    height: 48px;
  }

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

  .process-spec-list li:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }

  .range-board {
    margin-inline: -16px;
    padding: 20px 0;
  }

  .filter-button {
    flex-basis: 47%;
  }

  .machine-summary {
    padding: 28px 22px;
  }

  .machine-summary__metrics {
    grid-template-columns: 1fr 1fr;
  }

  .material-groups {
    grid-template-columns: 1fr;
  }

  .machine-item {
    grid-template-columns: 42px 1fr;
  }

  .machine-category {
    grid-column: 2;
  }

  .machine-quantity {
    grid-row: auto;
    grid-column: 2;
    justify-self: start;
  }

  .story-phase__media,
  .story-phase__media img {
    min-height: 330px;
  }

  .video-placeholder__label span {
    width: 68px;
    height: 68px;
  }

  .contact-form {
    margin-inline: -16px;
    padding: 32px 20px;
  }

  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .form-actions .button {
    width: 100%;
  }

  .contact-details li {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .location-placeholder {
    min-height: 430px;
    padding: 32px 18px;
  }

  .legal-hero {
    padding-top: calc(var(--header-height) + 70px);
  }

  .legal-nav {
    display: block;
  }

  .legal-nav li {
    border-bottom: 1px solid rgba(6, 21, 46, 0.2);
  }
}

@media (max-width: 1100px) {
  .values-layout {
    grid-template-columns: 1fr;
  }

  .values-intro {
    position: static;
  }

  .process-scene--with-media {
    grid-template-columns: 1fr;
  }

  .process-scene__media {
    min-height: 500px;
  }

  .workshop-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .workshop-shot--wide {
    min-height: 620px;
    grid-row: auto;
    grid-column: 1 / -1;
  }

  .project-summary-photo {
    min-height: 520px;
  }

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

  .story-phase__media,
  .story-phase:nth-child(even) .story-phase__media {
    grid-column: auto;
    order: initial;
  }

  .machine-item {
    grid-template-columns: minmax(0, 1fr) minmax(150px, 0.45fr) 70px;
  }
}

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

  .value-card {
    min-height: 250px;
  }

  .process-scene__media {
    min-height: 430px;
  }

  .workshop-gallery {
    grid-template-columns: 1fr;
  }

  .workshop-shot,
  .workshop-shot--wide {
    min-height: 520px;
    grid-column: auto;
  }

  .machine-item {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .machine-category {
    grid-column: 1;
  }

  .machine-quantity {
    grid-row: 1 / span 2;
    grid-column: 2;
  }

  .project-summary-photo,
  .location-photo {
    min-height: 520px;
  }
}

@media (max-width: 520px) {
  .value-card {
    min-height: 0;
  }

  .process-scene__media,
  .workshop-shot,
  .workshop-shot--wide,
  .project-summary-photo,
  .location-photo {
    min-height: 380px;
  }

  .machine-item {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .machine-category {
    grid-column: 1;
  }

  .machine-quantity {
    grid-row: 1 / span 2;
    grid-column: 2;
  }

  .video-link-panel {
    min-height: 320px;
    padding: 32px 24px;
  }
}
