/* V7 desktop composition is retained on narrow screens through its viewport settings. */
@layer responsive {
  @media (min-width: 1550px) {
    .hero {
      min-height: 800px;
    }
    .hero-visual {
      max-height: 720px;
    }
    .hero h1 {
      font-size: 83px;
    }
  }
  @media (max-width: 1200px) {
    .container {
      width: calc(100% - 72px);
    }
    .header-inner {
      width: calc(100% - 48px);
      gap: 20px;
    }
    .main-navigation {
      gap: 17px;
      font-size: 11px;
    }
    .brand img {
      width: 102px;
    }
    .brand > span {
      font-size: 6px;
    }
    .nav-rfq {
      padding-inline: 12px;
      gap: 12px;
    }
    .hero {
      gap: 28px;
      min-height: 670px;
    }
    .hero-visual {
      min-height: 535px;
    }
    .hero h1 {
      font-size: 61px;
    }
    .hero-actions {
      gap: 18px;
    }
    .hero-actions .button {
      padding-inline: 16px;
      font-size: 12px;
    }
    .hero-actions .text-link {
      font-size: 11px;
    }
    .hero-footnote {
      margin-top: 32px;
    }
    .engineering-layout,
    .resources-layout,
    .rfq-layout,
    .comparison-layout,
    .checklist-layout {
      gap: 55px;
    }
    .product-grid {
      gap: 18px;
    }
    .product-description h3 {
      font-size: 16px;
    }
    .rfq-copy h2 {
      font-size: 40px;
    }
    .rfq-form-wrap {
      padding: 30px;
    }
    .capability-feature-copy {
      padding: 35px;
      gap: 25px;
    }
    .capability-feature-copy h3 {
      font-size: 32px;
    }
    .process-explorer {
      gap: 40px;
    }
    .process-hero {
      gap: 55px;
    }
    .process-hero h1 {
      font-size: 64px;
    }
  }
  @media (max-width: 1020px) {
    .header-inner {
      height: 77px;
    }
    .menu-toggle {
      display: block;
    }
    .main-navigation {
      position: absolute;
      top: 76px;
      left: 0;
      right: 0;
      background: #fff;
      max-height: calc(100dvh - 77px);
      overflow-y: auto;
      padding: 20px 36px 30px;
      display: none;
      align-items: stretch;
      gap: 0;
      border-bottom: 1px solid var(--line);
      white-space: normal;
    }
    .menu-open .main-navigation {
      display: flex;
      flex-direction: column;
    }
    .main-navigation > a:not(.button),
    .nav-dropdown > summary {
      padding: 15px 0;
      border-bottom: 1px solid var(--line);
      font-size: 16px;
    }
    .nav-rfq {
      align-self: flex-start;
      margin-top: 22px;
    }
    .dropdown-panel {
      position: static;
      padding: 10px 0 10px 16px;
      display: block;
      box-shadow: none;
      border-bottom: 0;
    }
    .dropdown-intro {
      display: none;
    }
    .dropdown-panel strong {
      font-size: 14px;
    }
    .dropdown-panel a > span {
      font-size: 11px;
    }
    .menu-open .menu-toggle > span:first-child {
      transform: translateY(3px) rotate(45deg);
    }
    .menu-open .menu-toggle > span:last-child {
      transform: translateY(-3px) rotate(-45deg);
    }
    html {
      scroll-padding-top: 90px;
    }
    section[id],
    div[id] {
      scroll-margin-top: 90px;
    }
    .hero {
      padding-top: 35px;
      padding-bottom: 40px;
      min-height: 615px;
      gap: 30px;
    }
    .hero h1 {
      font-size: 54px;
    }
    .hero-copy > p {
      font-size: 14px;
    }
    .hero-copy > .eyebrow {
      font-size: 8px;
    }
    .hero-visual {
      min-height: 505px;
      padding-right: 18px;
    }
    .hero-actions {
      gap: 14px;
    }
    .hero-image-label {
      left: 20px;
      right: 20px;
      bottom: 20px;
    }
    .hero-image-label > strong {
      font-size: 18px;
    }
    .capability-ribbon > .container {
      gap: 20px;
    }
    .capability-ribbon a {
      font-size: 13px;
      padding-left: 18px;
    }
    .section {
      padding-block: 80px;
    }
    .intro-layout {
      grid-template-columns: 0.23fr 1fr;
      gap: 35px;
    }
    .intro-bottom {
      gap: 28px;
    }
    .section-heading {
      gap: 35px;
    }
    .section-heading > p {
      max-width: 275px;
      font-size: 13px;
    }
    .product-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 35px 25px;
    }
    .product-image-button {
      aspect-ratio: 4/3.6;
    }
    .product-description h3 {
      font-size: 20px;
    }
    .product-description p {
      font-size: 12px;
    }
    .capability-row {
      grid-template-columns: 25px 1fr 1fr 40px;
      gap: 20px;
    }
    .capability-row h3 {
      font-size: 22px;
    }
    .capability-row p {
      font-size: 12px;
    }
    .engineering-layout {
      gap: 40px;
    }
    .engineering-image {
      min-height: 520px;
    }
    .engineering-copy h2 {
      font-size: 35px;
    }
    .technical-points > div {
      gap: 15px;
    }
    .technical-points h3 {
      font-size: 17px;
    }
    .resources-layout {
      gap: 45px;
    }
    .rfq-layout {
      grid-template-columns: 0.85fr 1.15fr;
      gap: 35px;
    }
    .rfq-copy h2 {
      font-size: 35px;
    }
    .rfq-form-wrap {
      padding: 25px;
    }
    .rfq-copy > p {
      font-size: 13px;
    }
    .form-row {
      gap: 16px;
    }
    .footer-top {
      gap: 45px;
    }
    .process-hero h1 {
      font-size: 55px;
    }
    .process-hero {
      grid-template-columns: 1.6fr 0.65fr;
      gap: 40px;
    }
    .process-hero-aside {
      padding-left: 30px;
    }
    .process-hero-aside > p {
      font-size: 25px;
    }
    .process-big-number {
      font-size: 90px;
    }
    .process-hero-description {
      font-size: 13px;
    }
    .process-explorer {
      gap: 35px;
    }
    .diagram-wrap {
      padding: 20px 12px;
    }
    .process-stage strong {
      font-size: 18px;
    }
    .process-stage {
      gap: 16px;
    }
    .detail-photo {
      height: 610px;
    }
    .comparison-layout,
    .checklist-layout {
      gap: 55px;
    }
    .resources-layout h2 {
      font-size: 37px;
    }
  }
  @media (max-width: 760px) {
    .container {
      width: calc(100% - 40px);
    }
    .header-inner {
      width: calc(100% - 40px);
      height: 72px;
    }
    .brand img {
      width: 108px;
    }
    .brand > span {
      font-size: 6px;
    }
    .main-navigation {
      top: 71px;
      max-height: calc(100dvh - 72px);
      padding-inline: 24px;
    }
    .section {
      padding-block: 66px;
    }
    .hero {
      grid-template-columns: 1fr;
      gap: 30px;
      min-height: auto;
      padding-top: 37px;
      padding-bottom: 25px;
    }
    .hero-copy {
      padding: 0;
    }
    .hero-copy > .eyebrow {
      font-size: 8px;
      margin-bottom: 25px;
    }
    .hero h1 {
      font-size: clamp(45px, 8.5vw, 65px);
      line-height: 1.035;
      letter-spacing: -0.05em;
    }
    .hero h1 > br:first-of-type {
      display: block;
    }
    .hero-copy > p {
      max-width: 470px;
      font-size: 14px;
      margin-top: 23px;
    }
    .hero-actions {
      margin-top: 24px;
      gap: 23px;
    }
    .hero-actions .button {
      font-size: 12px;
      padding: 16px 19px;
    }
    .hero-actions .text-link {
      font-size: 12px;
    }
    .hero-footnote {
      display: none;
    }
    .hero-visual {
      height: 480px;
      min-height: 0;
      max-height: none;
      padding-right: 18px;
    }
    .hero-product {
      object-position: center 45%;
    }
    .hero-image-label > strong {
      font-size: 22px;
    }
    .hero-vertical-label {
      font-size: 7px;
    }
    .capability-ribbon > .container {
      grid-template-columns: 1fr;
      gap: 0;
      padding-block: 18px;
    }
    .capability-ribbon .container > span {
      display: none;
    }
    .capability-ribbon a {
      border: 0;
      border-bottom: 1px solid var(--line);
      padding: 15px 0;
      font-size: 14px;
    }
    .capability-ribbon a:last-child {
      border: 0;
    }
    .intro-layout {
      display: block;
    }
    .intro-layout > .eyebrow {
      padding: 0;
      margin-bottom: 25px;
    }
    .intro-layout h2 {
      font-size: 34px;
      line-height: 1.16;
    }
    .intro-bottom {
      grid-template-columns: 1fr;
      gap: 17px;
      margin-top: 23px;
      font-size: 14px;
    }
    .section-heading {
      display: block;
      margin-bottom: 32px;
    }
    .section-heading .eyebrow {
      margin-bottom: 18px;
    }
    h2 {
      font-size: 36px;
    }
    .section-heading > p {
      max-width: 450px;
      font-size: 13px;
      margin-top: 23px;
    }
    .catalog-toolbar {
      display: block;
      padding-bottom: 10px;
    }
    .filter-group {
      gap: 22px;
      overflow: auto;
      white-space: nowrap;
    }
    .filter-button {
      font-size: 11px;
      padding: 15px 0;
    }
    .product-search {
      border-top: 1px solid var(--line);
      padding-top: 7px;
      margin-top: 5px;
    }
    .product-search input {
      width: 100%;
    }
    .product-grid {
      gap: 30px 18px;
    }
    .product-image-button {
      aspect-ratio: 3/4;
    }
    .product-description > .eyebrow {
      font-size: 7px;
    }
    .product-description h3 {
      font-size: 18px;
      line-height: 1.2;
    }
    .product-description p {
      font-size: 11px;
    }
    .product-description {
      padding-top: 15px;
    }
    .image-open {
      width: 30px;
      height: 30px;
      right: 10px;
      bottom: 10px;
    }
    .product-index {
      top: 10px;
      left: 10px;
    }
    .catalog-note {
      display: block;
      margin-top: 23px;
      padding-top: 25px;
    }
    .catalog-note > .text-link {
      margin-top: 15px;
      font-size: 12px;
    }
    .capability-feature {
      grid-template-columns: 1fr;
    }
    .capability-feature-copy {
      padding: 28px 24px;
      gap: 22px;
    }
    .capability-feature-copy h3 {
      font-size: 31px;
      margin: 16px 0;
    }
    .capability-feature-copy p {
      font-size: 13px;
    }
    .capability-feature-copy .button {
      font-size: 11px;
      gap: 17px;
      padding-inline: 16px;
    }
    .capability-principle {
      padding: 22px;
    }
    .flow-line {
      padding: 15px 0;
      gap: 50px;
    }
    .flow-arrow {
      font-size: 70px;
    }
    .capability-principle > .eyebrow {
      font-size: 7px;
    }
    .capability-row {
      grid-template-columns: 22px 1fr 42px;
      padding: 29px 0;
      gap: 12px 16px;
    }
    .capability-row h3 {
      font-size: 23px;
    }
    .capability-row p {
      grid-column: 2;
      grid-row: 2;
      font-size: 12px;
    }
    .capability-row > .circle-link {
      grid-column: 3;
      grid-row: 1/3;
      width: 40px;
      height: 40px;
    }
    .engineering-layout {
      grid-template-columns: 1fr;
      gap: 36px;
    }
    .engineering-image {
      height: 380px;
      min-height: 0;
      order: 2;
    }
    .engineering-copy h2 {
      font-size: 37px;
    }
    .engineering-copy > p {
      font-size: 14px;
    }
    .engineering-section {
      padding-top: 10px;
    }
    .technical-points > div {
      padding: 20px 0;
    }
    .technical-points h3 {
      font-size: 19px;
    }
    .technical-points p {
      font-size: 13px;
    }
    .project-steps {
      grid-template-columns: 1fr;
      gap: 32px;
      margin-top: 38px;
    }
    .project-steps li {
      padding-top: 20px;
    }
    .project-steps h3 {
      margin: 17px 0 12px;
    }
    .project-steps p {
      max-width: none;
    }
    .resources-layout {
      grid-template-columns: 1fr;
      gap: 36px;
    }
    .resources-layout > div:first-child {
      max-width: none;
    }
    .resources-layout h2 {
      font-size: 37px;
    }
    .resources-layout > div > p {
      font-size: 14px;
      margin-top: 23px;
    }
    .faq-list summary {
      font-size: 15px;
      padding-block: 22px;
    }
    .faq-list details > p {
      font-size: 13px;
      padding-right: 12px;
    }
    .rfq-layout {
      grid-template-columns: 1fr;
      gap: 35px;
    }
    .rfq-copy h2 {
      font-size: 37px;
    }
    .rfq-copy > p {
      font-size: 14px;
      max-width: 470px;
    }
    .rfq-checklist {
      margin: 25px 0;
      font-size: 12px;
    }
    .rfq-form-wrap {
      padding: 27px 23px;
    }
    .form-heading > h3 {
      font-size: 23px;
    }
    .form-row {
      gap: 20px;
    }
    .rfq-form input,
    .rfq-form select,
    .rfq-form textarea {
      font-size: 16px;
    }
    .form-footnote,
    .preview-notice {
      font-size: 11px;
    }
    .footer-top {
      grid-template-columns: 1fr 1fr;
      gap: 35px 25px;
      padding-block: 48px;
    }
    .footer-top > div:first-child {
      grid-column: 1/-1;
    }
    .footer-top > div > p {
      font-size: 17px;
      margin-top: 22px;
    }
    .footer-links {
      font-size: 11px;
      gap: 14px;
    }
    .footer-links > .eyebrow {
      font-size: 8px;
    }
    .footer-bottom {
      display: flex;
      flex-wrap: wrap;
      font-size: 9px;
      padding-block: 22px;
      gap: 15px;
      justify-content: space-between;
    }
    .footer-bottom > span:last-child {
      width: 100%;
    }
    .breadcrumb {
      padding-top: 22px;
      font-size: 9px;
      gap: 9px;
      flex-wrap: wrap;
    }
    .process-hero {
      display: block;
      padding-top: 35px;
      padding-bottom: 42px;
    }
    .process-hero h1 {
      font-size: clamp(43px, 7.8vw, 61px);
    }
    .process-hero .eyebrow {
      font-size: 8px;
      margin-bottom: 23px;
    }
    .process-hero-lead {
      font-size: 23px;
      margin-top: 24px;
    }
    .process-hero-description {
      font-size: 14px;
    }
    .process-hero .button {
      font-size: 12px;
    }
    .process-hero-aside {
      display: none;
    }
    .section-navigation > .container {
      gap: 25px;
      justify-content: flex-start;
      min-height: 59px;
      width: calc(100% - 40px);
    }
    .section-navigation span {
      display: none;
    }
    .section-navigation a {
      font-size: 11px;
      min-height: 48px;
      display: flex;
      align-items: center;
    }
    .process-explorer {
      grid-template-columns: 1fr;
      gap: 30px;
      margin-top: 30px;
    }
    .diagram-wrap {
      padding: 22px 10px;
    }
    .casting-diagram {
      margin-top: 10px;
    }
    .diagram-caption {
      max-width: 270px;
      font-size: 9px;
    }
    .diagram-top {
      padding-inline: 10px;
    }
    .process-stage-list > .eyebrow {
      margin-bottom: 16px;
    }
    .process-stage strong {
      font-size: 21px;
    }
    .process-stage > span > span {
      font-size: 13px;
    }
    .source-note {
      font-size: 11px;
    }
    .considerations-table {
      margin-right: 0;
      padding-right: 0;
    }
    .considerations-table table {
      min-width: 720px;
    }
    .considerations-table tbody th {
      font-size: 14px;
      padding-right: 25px;
    }
    .considerations-table tbody td {
      font-size: 12px;
    }
    .detail-photo {
      height: 460px;
      order: 2;
    }
    .detail-photo > div {
      left: 15px;
      right: 15px;
      bottom: 15px;
      padding: 15px;
    }
    .comparison-layout,
    .checklist-layout {
      grid-template-columns: 1fr;
      gap: 37px;
    }
    .comparison-layout > div > p,
    .checklist-layout > div > p {
      max-width: none;
      font-size: 14px;
    }
    .comparison-rows > div > p {
      font-size: 21px;
    }
    .comparison-rows > .comparison-note {
      font-size: 12px;
    }
    .rfq-items h3 {
      font-size: 23px;
    }
    .rfq-items p {
      font-size: 13px;
    }
    .checklist-section + .resources-section {
      padding-top: 10px;
    }
    .product-dialog {
      width: calc(100vw - 24px);
      max-height: 94dvh;
    }
    .dialog-layout {
      grid-template-columns: 1fr;
      min-height: 0;
    }
    .dialog-image-stage {
      min-height: 0;
      height: 310px;
    }
    .dialog-image {
      height: 310px;
      object-fit: contain;
    }
    .dialog-copy {
      padding: 27px 24px;
    }
    .dialog-copy h2 {
      font-size: 32px;
      margin-block: 14px;
    }
    .dialog-description {
      font-size: 13px;
    }
    .photo-disclosure {
      margin: 18px 0;
      padding-block: 14px;
    }
    .dialog-inquiry {
      font-size: 12px;
    }
    .dialog-pagination {
      padding-top: 22px;
    }
    .dialog-close {
      width: 40px;
      height: 40px;
      top: 10px;
      right: 10px;
    }
    .not-found h1 {
      font-size: 43px;
    }
  }
  @media (max-width: 390px) {
    .container {
      width: calc(100% - 32px);
    }
    .header-inner {
      width: calc(100% - 32px);
    }
    .hero h1 {
      font-size: clamp(33px, 10vw, 39px);
    }
    .hero-actions {
      gap: 14px;
    }
    .hero-actions .button {
      padding-inline: 15px;
      font-size: 11px;
      gap: 14px;
    }
    .hero-actions .text-link {
      font-size: 11px;
      gap: 10px;
    }
    .hero-visual {
      height: 420px;
    }
    .product-grid {
      gap: 27px 14px;
    }
    .filter-group {
      gap: 17px;
    }
    .filter-button {
      font-size: 10px;
    }
    .product-description h3 {
      font-size: 17px;
    }
    .form-row {
      grid-template-columns: 1fr;
      gap: 0;
    }
    .rfq-form-wrap {
      padding: 25px 20px;
    }
    .capability-feature-copy {
      padding: 25px 20px;
      gap: 15px;
    }
    .capability-feature-copy h3 {
      font-size: 29px;
    }
    .process-hero h1 {
      font-size: 42px;
    }
    h2 {
      font-size: 33px;
    }
    .resources-layout h2,
    .engineering-copy h2,
    .rfq-copy h2 {
      font-size: 34px;
    }
    .section-navigation > .container {
      width: calc(100% - 32px);
    }
  }
  @media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
      animation: none !important;
      transition: none !important;
    }
    .reveal.is-awaiting {
      opacity: 1;
      transform: none;
    }
    .hero-product {
      transform: none;
    }
  }
  @media print {
    .site-header,
    .hero-actions,
    .section-navigation,
    .rfq-section,
    .menu-toggle,
    .site-footer,
    .dialog-close {
      display: none;
    }
    .container {
      width: 100%;
    }
    .section {
      padding-block: 30px;
    }
    .reveal.is-awaiting {
      opacity: 1;
      transform: none;
    }
    a {
      text-decoration: underline;
    }
    body {
      font-size: 12px;
    }
    h1 {
      font-size: 40px;
    }
    h2 {
      font-size: 30px;
    }
    .hero {
      min-height: 0;
    }
    .hero-visual {
      min-height: 0;
      height: 400px;
    }
    .product-grid {
      grid-template-columns: repeat(4, 1fr);
    }
  }
}
