﻿/* ========================================================================
   Responsive: max-width: 1024px
   ======================================================================== */
@media (max-width: 1024px) {
body {    
    font-size: 16px;
    line-height: 1.4;
  }
}

/* ========================================================================
   Responsive: max-width: 980px
   ======================================================================== */
@media (max-width: 980px) {
.site-header {
    position: sticky;
    top: 0;
    background: #fff;
    box-shadow: none !important;
    border: 0 !important;
    outline: 0 !important;
    backdrop-filter: none;
    z-index: 100;
  }

  .site-header.is-scrolled {
    background: #fff;
    box-shadow: none !important;
    border: 0 !important;
  }

  .site-header::before,
  .site-header::after,
  .nav-shell::before,
  .nav-shell::after {
    content: none !important;
    display: none !important;
  }

  .site-header.is-scrolled .nav-shell {
    min-height: 80px;
  }

  .site-header.is-scrolled .brand-mark {
    font-size: 32px;
    color: #2f2a83;
  }

  .site-header.is-scrolled .main-nav a {
    padding: 14px 0;
  }
  .nav-shell {
    position: relative;
    grid-template-columns: minmax(96px, 1fr) auto minmax(96px, 1fr);
    min-height: 80px;
    border: 0 !important;
    box-shadow: none !important;
  }

  .brand {
    position: relative;
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    transform: none;
    z-index: 2;
  }

  .site-header.is-scrolled .brand img {
    width: 80px;
  }

  .nav-actions {
    position: relative;
    grid-column: 1 / -1;
    grid-row: 1;
    justify-self: stretch;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    width: 100%;
    padding-right: 48px;
    pointer-events: none;
    overflow: visible;
    transform: none;
    z-index: 3;
  }

  .nav-actions a {
    pointer-events: auto;
  }

  .nav-actions a.line-icon {
    margin-right: auto;
  }

  .nav-toggle {
    display: block;
    position: relative;
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    transform: none;
    z-index: 4;
  }

  .nav-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    inset: 80px 0 auto 0;
    display: none;
    gap: 0;
    padding: 12px 20px 20px;
    background: #fff;
    border: 0 !important;
    box-shadow: none !important;
    transform: none;
  }

  .main-nav.is-open {
    display: grid;
  }

  .main-nav a {
    padding: 14px 0;
    border-bottom: 0 !important;
  }

  .main-nav a::after {
    display: none;
  }
  .hero {
    margin-top: 0px;
    min-height: clamp(430px, 62vw, 560px);
    background: #1f2424;
  }

  .hero-video {
    opacity: 1;
    filter: saturate(.96) contrast(1.02) brightness(.92);
    transform: scale(1.12);
    transform-origin: center;
    object-position: center center;
  }

  .hero-panel {
    width: 60%;
    height: 100%;
    clip-path: polygon(0 0, 100% 0, 76% 100%, 0 100%);
    background: rgba(108, 169, 188, .54);
    backdrop-filter: none;
  }

  .hero-content {
    min-height: clamp(430px, 62vw, 560px);
    align-content: center;
    text-shadow: 0 8px 22px rgba(0,0,0,.26);
  }
  .service-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-grid .service-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc((100% - 26px) / 2);
    justify-self: center;
  }

  .product-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .process {
    background: linear-gradient(to bottom, #fff 0 10%, var(--blue-light) 30% 100%);
  }

  .story-layout,
  .event-card {
    grid-template-columns: 1fr;
  }

  .story-band{ padding-bottom: 0;}
  .story-photo {
    padding: 0 25%;
  }
  .story-copy{
    position: relative;
    margin-top: -10%;
  }

  .event-image{ 
    width: 320px;
    margin-left: auto;
    margin-right: auto;
  }  
  .event-list{ text-align: center;}

  .subpage {
    margin-top: 0;
  }

  .page-hero-grid,
  .product-hero-grid,
  .contact-stage-grid,
  .event-feed,
  .split-story-grid,
  .mission-grid,
  .why-grid,
  .mini-calendar,
  .lab-grid,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .event-hero-board {
    grid-template-columns: 1fr;
    align-items: center;
  }

  .hero-ticket {
    max-width: 360px;
  }

  .ribbon-track,
  .diagonal-steps,
  .catalog-grid,
  .contact-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .diagonal-steps article {
    transform: none;
  }

  .event-facts {
    position: static;
  }

  .product-orbit {
    min-height: 410px;
  }

  .contact-stage {
    background:
      linear-gradient(160deg, rgba(234,242,246,.96) 0 72%, rgba(39,30,102,.9) 72% 100%),
      url("assets/images/index/img_process01.jpg") center / cover;
  }

  .about-media-frame img {
    min-height: 420px;
  }

  .why-photo::before {
    inset: -18px -18px 18px 18px;
  }

  .about-recast .container {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .about-recast .about-nameplate {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
  }

  .about-recast .about-profile-head {
    grid-column: 1;
    grid-row: 2;
    margin: -70px 28px 0;
  }

  .mission-board .mission-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .mission-board .mission-copy,
  .why-copy {
    margin: 0;
  }

  .why-photo img {
    min-height: 440px;
  }

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

  .product-orbit-compact {
    width: min(100%, 620px);
    min-height: 520px;
    justify-self: center;
  }

  .product-hero-panel {
    max-width: 560px;
  }

  .product-page-strip {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .product-detail-item,
  .product-detail-item:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .product-single-hero-grid,
  .product-single-layout {
    grid-template-columns: 1fr;
  }

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

  .event-detail-simple-layout {
    grid-template-columns: 1fr;
  }

  .event-detail-summary {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px 28px;
  }

  .event-detail-summary dl {
    margin: 0;
  }

  .event-schedule-list a {
    grid-template-columns: 100px 1fr;
  }

  .event-schedule-list span {
    grid-column: 2;
  }

  .product-single-hero-grid {
    min-height: auto;
    padding: 34px 0 46px;
  }

  .product-single-hero img {
    max-width: 360px;
  }

  .product-single-copy {
    position: static;
  }

  .product-detail-item:nth-child(even) img {
    order: 0;
  }

  .about-hero .page-hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 42px 0 56px;
  }

  .about-hero .cluster-frame {
    max-width: 520px;
    padding-bottom: 52px;
  }

  .contact-map-panel iframe {
    height: 340px;
  }

  .about-recast .container {
    grid-template-columns: 1fr;
    padding-top: 46px;
  }

  .about-recast .about-profile-head {
    grid-column: auto;
    grid-row: auto;
    max-width: 720px;
    padding: 32px;
  }

  .about-recast .about-profile-head::after {
    left: -14px;
  }

  .about-recast .about-profile-head {
    margin-bottom: 30px;
  }

  .about-recast .about-nameplate {
    grid-column: auto;
    grid-row: auto;
    justify-self: center;
    width: min(100%, 520px);
    min-height: 340px;
  }

  .mission-board .mission-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .mission-board .mission-copy,
  .why-copy {
    padding: 32px;
  }

  .about-media-frame img {
    min-height: 360px;
    aspect-ratio: 16 / 10;
  }

.about-hero .page-hero-grid,
  .product-hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 42px 0 56px;
    gap: 30px;
  }

  .product-orbit-compact,
  .about-hero .cluster-frame {
    width: min(100%, 520px);
    max-width: 520px;
    justify-self: center;
  }

  .product-orbit-compact {
    min-height: 360px;
  }

  .contact-main-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-panel {
    position: static;
  }
}

/* ========================================================================
   Responsive: max-width: 640px
   ======================================================================== */
@media (max-width: 640px) {
.container {
    width: min(100% - 28px, 1120px);
  }

  .nav-shell {
    gap: 10px;
    min-height: 80px;
  }

  .brand-mark {
    font-size: 30px;
  }

  .site-header.is-scrolled .nav-shell {
    min-height: 80px;
  }

  .site-header.is-scrolled .brand-mark {
    font-size: 30px;
  }

  .brand-name {
    font-size: 8px;
  }

  .nav-actions {
    display: flex;
    gap: 5px;
  }

  .nav-actions a {
    font-size: 9px;
  }

  .nav-actions a.line {
    font-size: 7px;
  }

  .nav-toggle {
    width: 38px;
    padding: 8px;
  }

  .main-nav {
    inset: 80px 0 auto 0;
  }

  .hero {    
    margin-top: 0;
    min-height: 420px;
  }

  .hero-panel {
    width: 88%;
    height: 100%;
    clip-path: polygon(0 0, 100% 0, 72% 100%, 0 100%);
    background: rgba(108, 169, 188, .56);
  }

  .hero-content {   
    padding: 0;
    min-height: 420px;
    align-content: center;
  }

  .hero-video {
    opacity: 1;
    filter: saturate(.96) contrast(1.02) brightness(.92);
    transform: scale(1.18);
    object-position: 56% center;
  }

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

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

  .service-grid .service-card:last-child:nth-child(odd) {
    grid-column: auto;
    width: 100%;
  }

  .service-card {
    min-height: 230px;
  }

  .process-image,
  .product-card {
    min-height: 210px;
  }

  .story-copy {
    padding: 34px 24px;
  }

  .event-card {
    gap: 26px;
  }

  .highlight .event-image a,
  .highlight .event-image img {
    min-height: 300px;
  }

  .highlight .event-image div {
    padding: 0 24px 28px;
  }

  .highlight .event-image strong {
    max-width: 230px;
    font-size: clamp(24px, 8vw, 34px);
  }

  .page-hero-grid,
  .product-hero-grid,
  .contact-stage-grid {
    min-height: auto;
    padding: 48px 0 64px;
    gap: 28px;
  }

  .page-hero h1,
  .product-hero h1,
  .contact-stage h1,
  .detail-title-card h1 {
    font-size: clamp(34px, 12vw, 48px);
  }

  .cluster-frame {
    padding: 0 0 58px;
  }

  .cluster-frame::before {
    inset: 18% 0 0 20%;
  }

  .cluster-frame span {
    width: 125px;
    right: 4%;
  }

  .tilted-mosaic {
    display: block;
  }

  .tilted-mosaic img {
    min-height: 0;
    aspect-ratio: 4 / 3;
    margin-top: 14px;
    transform: none !important;
  }

  .about-profile-head {
    text-align: left;
  }

  .about-recast {
    padding-top: 48px;
  }

  .about-nameplate {
    min-height: 270px;
  }

  .about-recast .about-nameplate {
    min-height: 350px;
    clip-path: polygon(0 0, 100% 0, 100% 86%, 18% 100%, 0 76%);
  }

  .about-recast .about-profile-head {
    margin: -42px 14px 0;
    padding: 30px 24px;
  }

  .about-recast .about-profile-head::before {
    inset: 12px;
  }

  .about-recast .about-profile-head h2 {
    font-size: clamp(38px, 13vw, 56px);
  }

  .about-proof-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .mission-board .mission-large::before {
    inset: -14px 14px 14px -14px;
  }

  .mission-mini-gallery,
  .why-mini-gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
  }

  .mission-mini-gallery img:nth-child(1),
  .mission-mini-gallery img:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
  }

  .mission-copy,
  .why-copy {
    padding: 24px 0 0;
    box-shadow: none;
  }

  .about-media-frame img {
    min-height: 300px;
  }

  .mission-mini-gallery,
  .why-mini-gallery {
    gap: 6px;
  }

  .why-photo::before {
    display: none;
  }

  .ribbon-track,
  .diagonal-steps,
  .contact-info-grid,
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .ribbon-track article,
  .contact-info-grid article {
    min-height: 170px;
  }

  .event-hero-board {
    min-height: auto;
    padding: 48px 0 64px;
  }

  .featured-event div {
    margin: 0;
    padding: 24px;
  }

  .calendar-list a,
  .lab-list article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .detail-hero {
    min-height: auto;
    padding: 250px 0 0;
  }

  .detail-hero-image::after {
    background: linear-gradient(to bottom, rgba(255,255,255,.12), rgba(255,255,255,.96));
  }

  .detail-title-card {
    padding: 28px 24px;
  }

  .catalog-grid {
    grid-auto-rows: 260px;
  }

  .catalog-card.large,
  .catalog-card.tall,
  .catalog-card.wide {
    grid-column: auto;
    grid-row: auto;
  }

  .product-orbit {
    min-height: 330px;
  }

  .product-orbit img {
    border-width: 6px;
  }

  .contact-form {
    padding: 24px;
  }

.product-orbit-compact {
    width: 100%;
    min-height: 360px;
  }

  .product-orbit-compact img {
    border-width: 6px;
  }

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

  .product-hero-grid {
    min-height: auto;
  }

  .product-orbit-compact {
    min-height: 360px;
  }

  .other-collection-grid {
    grid-template-columns: 1fr;
  }

  .product-hero-panel {
    min-height: 300px;
  }

  .product-hero-panel div {
    margin: 0 18px 18px;
    padding: 18px 20px;
  }

  .product-page-card div {
    min-height: 0;
  }

  .product-detail-item dl {
    grid-template-columns: 1fr;
  }

  .product-single-hero-grid {
    min-height: auto;
    padding: 48px 0 68px;
  }

  .product-single-copy dl {
    grid-template-columns: 1fr;
  }

  .media-gallery {
    gap: 8px;
  }

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

  .event-simple-title {
    min-height: auto;
    padding: 48px 0 62px;
  }

  .event-simple-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .event-detail-title {
    min-height: auto;
    padding: 34px 0 42px;
  }

  .event-detail-title h1 {
    font-size: clamp(30px, 10vw, 42px);
  }

  .event-detail-summary {
    display: block;
    padding: 22px;
  }

  .event-detail-summary dl {
    margin-top: 16px;
  }

  .event-detail-copy img {
    margin-bottom: 24px;
  }

  .event-adjacent-nav {
    grid-template-columns: 1fr;
  }

  .event-adjacent-slot.is-next {
    text-align: left;
  }

  .event-adjacent-all {
    width: 100%;
    min-height: 64px;
  }

  .event-simple-card div {
    min-height: auto;
    padding: 22px;
  }

  .event-schedule-list a {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px 0;
  }

  .event-schedule-list span {
    grid-column: auto;
  }

  .gallery-lightbox {
    padding: 18px;
  }

  .gallery-lightbox button {
    top: 14px;
    right: 14px;
  }

  .about-hero .page-hero-grid {
    min-height: auto;
    padding: 38px 0 54px;
  }

  .about-hero .cluster-frame {
    padding-bottom: 48px;
  }

  .about-hero .cluster-frame img {
    aspect-ratio: 4 / 3;
  }

  .about-hero .cluster-frame span {
    left: 16px;
    bottom: 0;
    width: calc(100% - 32px);
    min-height: 64px;
    padding: 14px 16px;
  }

  .contact-map-panel {
    margin-bottom: 20px;
  }

  .contact-map-panel iframe {
    height: 280px;
  }

  .about-recast {
    padding: 48px 0 64px;
    background: #fff;
  }

  .about-recast .about-profile-head {
    text-align: left;
    margin-bottom: 22px;
    padding-left: 14px;
  }

  .about-recast .about-profile-head {
    padding: 24px;
  }

  .about-recast .about-profile-head::after {
    left: 0;
  }

  .about-recast .about-profile-head p {
    font-size: 16px;
  }

  .about-proof-row {
    display: grid;
    justify-content: start;
  }

  .about-recast .about-nameplate {
    width: 100%;
    min-height: 300px;
  }

  .about-recast .about-nameplate strong {
    font-size: clamp(34px, 12vw, 48px);
    margin: 0 24px 134px;
  }

  .about-recast .about-nameplate::before {
    inset: 14px;
  }

  .about-hero-stats {
    left: 18px;
    right: 18px;
    bottom: 18px;
    grid-template-columns: 1fr;
  }

  .about-hero-stats span {
    min-height: 64px;
  }

  .mission-board .mission-copy,
  .why-copy {
    padding: 24px;
  }

  .mission-mini-gallery,
  .why-mini-gallery {
    grid-template-columns: 1fr 1fr;
  }

.about-hero .page-hero-grid,
  .product-hero-grid {
    padding: 38px 0 54px;
    gap: 24px;
  }

  .about-hero .page-hero-copy h1,
  .product-hero h1 {
    font-size: clamp(34px, 12vw, 48px);
  }

  .product-orbit-compact {
    min-height: 300px;
  }

  .product-orbit-compact img {
    border-width: 6px;
  }

  .contact-simple-title {
    min-height: auto;
    padding: 38px 0 54px;
  }

  .contact-simple-title h1 {
    font-size: clamp(34px, 12vw, 48px);
  }

  .contact-detail-panel,
  .contact-form-panel {
    padding: 22px;
  }

  .contact-methods {
    grid-template-columns: 1fr;
  }

  .contact-methods a {
    min-height: 76px;
  }

  .contact-main-section .contact-map-panel iframe {
    height: 260px;
  }

  .process-image {
    justify-content: center;
  }

  .process-image span {

    right: 20%;

  }
}

/* ========================================================================
   Responsive: prefers-reduced-motion: reduce
   ======================================================================== */
@media (prefers-reduced-motion: reduce) {
*,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}



