/* styles/guerin-responsive.css — Fluid layout (structure breakpoints only) */

/* Phone: ≤480px — comfortable side gutters */
@media (max-width: 480px) {
  :root {
    --fluid-gutter: clamp(1.25rem, 5vw, 1.75rem);
    --fluid-section-prose: clamp(0.875rem, 2.8vw, 0.9375rem);
    --fluid-section-prose-gap: clamp(0.75rem, 2.5vw, 1rem);
  }
}

/* Tablet / phone: ≤768px */
@media (max-width: 768px) {
  html {
    scroll-snap-type: y proximity;
    scroll-padding-top: var(--nav-height);
  }

  /* Patents: scroll freely inside section when card is tall */
  #patents.section-fullscreen,
  #patents {
    scroll-snap-align: start !important;
    scroll-snap-stop: always !important;
  }

  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  body.is-mobile-nav-open {
    overflow: hidden;
  }

  main,
  .site-section,
  .section-shell,
  .container {
    max-width: 100%;
    box-sizing: border-box;
  }

  /* ── Phone: each nav target = one full black page (hero-style canvas) ── */
  .site-section.section-fullscreen {
    min-height: 100dvh;
    min-height: 100svh;
    height: auto;
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    scroll-margin-top: 0;
    padding-top: calc(var(--nav-height) + 0.65rem);
    padding-bottom: max(1rem, env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
    overflow-x: clip;
    background: #000000 !important;
  }

  /* Quiet sections — exactly one screen, content distributed */
  #about,
  #systems,
  #founders {
    min-height: 100dvh !important;
    min-height: 100svh !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start !important;
    overflow: hidden !important;
    background: #000000 !important;
    scroll-snap-align: start !important;
    scroll-snap-stop: always !important;
    padding-top: calc(var(--nav-height) + 0.65rem) !important;
  }

  /* Taller carousels — snap on nav, grow if content needs scroll */
  #products,
  #patents,
  #collaborations {
    scroll-snap-align: start !important;
    scroll-snap-stop: always !important;
    position: relative;
    isolation: isolate;
    z-index: 1;
    contain: layout style;
    background: #000000 !important;
    padding-top: calc(var(--nav-height) + 0.65rem) !important;
  }

  #collaborations {
    min-height: 100dvh !important;
    min-height: 100svh !important;
    height: auto !important;
    max-height: none !important;
    justify-content: flex-start !important;
    overflow-x: clip !important;
    overflow-y: visible !important;
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom, 0px)) !important;
  }

  #founders {
    padding-bottom: max(0.5rem, env(safe-area-inset-bottom, 0px)) !important;
  }

  #founders > .container.section-shell {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.35rem;
    overflow: hidden;
  }

  /* Subtle atmosphere only — base stays pure black */
  .tech-atmosphere::before {
    opacity: 0.22;
  }

  #about.about-stage {
    background: #000000 !important;
    overflow: hidden !important;
    isolation: isolate;
    scroll-margin-top: 0;
    padding: 0 !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    min-height: 100svh !important;
    max-height: 100dvh !important;
  }

  #systems,
  #products {
    isolation: isolate;
    overflow-x: clip;
    overflow-y: visible;
  }

  #patents {
    isolation: isolate;
    overflow-x: clip;
    overflow-y: visible;
  }

  /* Products / Patents: full-page snap + internal scroll when tall */
  #products {
    height: auto !important;
    max-height: none !important;
    min-height: 100dvh !important;
    overflow-x: clip !important;
    overflow-y: visible !important;
    justify-content: flex-start !important;
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom, 0px)) !important;
  }

  #products > .container.section-shell {
    max-height: none !important;
  }

  #about .about-stage__frame {
    padding-top: calc(var(--nav-height) + 0.5rem);
    padding-bottom: 1.75rem;
    padding-left: clamp(1.25rem, 5vw, 2rem);
    padding-right: clamp(1.25rem, 5vw, 2rem);
    height: auto;
  }

  #about .about-stage__eyebrow {
    position: relative;
    top: auto;
    left: auto;
    font-size: clamp(1.5rem, 7vw, 2rem);
    text-align: left;
    margin-bottom: 1.25rem;
  }

  #about .about-stage__copy {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
    max-width: 24rem;
    margin-left: 0;
    margin-right: auto;
    text-align: left;
  }

  #about .about-stage__copy p {
    font-size: clamp(0.8125rem, 3.4vw, 0.9375rem);
    text-align: left;
    margin-bottom: 0.5rem;
  }

  #about .about-bg-image {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 100% 30%;
  }

  .site-section.section-fullscreen > .container,
  .site-section.section-fullscreen > .container.section-shell {
    margin-top: 0;
    margin-bottom: 0;
    flex: 0 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: var(--space-2);
    width: 100%;
    max-height: calc(100svh - var(--nav-height) - var(--space-4));
    padding-left: var(--fluid-gutter);
    padding-right: var(--fluid-gutter);
  }

  /* Tall carousels + partner strip — never cap shell height (was clipping CTAs) */
  #products > .container.section-shell,
  #patents > .container.section-shell,
  #collaborations > .container.section-shell {
    max-height: none !important;
    overflow: visible;
    flex: 1 1 auto;
    min-height: 0;
    justify-content: flex-start !important;
    gap: var(--space-2);
  }

  /* Phone Collaboration: heading stays top; logos directly under it */
  #collaborations .collab-stage.section-content-after {
    flex: 0 0 auto !important;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start !important;
    align-items: stretch;
  }

  #collaborations .section-title-block--uniform {
    margin-bottom: 0.85rem !important;
    flex-shrink: 0;
  }

  #collaborations .collab-logo-stack {
    flex: 0 0 auto;
  }

  /* Collaboration heading light — continuous sweep, no opacity flash */
  #collaborations .section-eyebrow::after {
    left: 0 !important;
    right: auto !important;
    bottom: -0.4rem !important;
    width: 3.5rem !important;
    height: 2px !important;
    border-radius: 2px;
    opacity: 1 !important;
    transform: none !important;
    background: linear-gradient(
      90deg,
      rgba(56, 189, 248, 0.15) 0%,
      rgba(125, 211, 252, 1) 45%,
      rgba(255, 255, 255, 0.95) 50%,
      rgba(125, 211, 252, 1) 55%,
      rgba(56, 189, 248, 0.15) 100%
    ) !important;
    background-size: 220% 100% !important;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.45);
    animation: collab-heading-light-sweep 2.6s linear infinite !important;
  }

  /* Heading sits directly above content — top-left, not flush to viewport top */
  .site-section .section-title-block--uniform {
    margin-left: 0;
    margin-right: auto;
    margin-bottom: var(--space-1);
    text-align: left;
    width: 100%;
    flex-shrink: 0;
  }

  .site-section .section-body-copy {
    margin-bottom: var(--space-2);
  }

  .site-section .section-eyebrow {
    display: inline-block;
  }

  .site-section .section-eyebrow::after {
    left: 0;
    transform: none;
    animation: none;
    opacity: 0.75;
  }

  .site-section .section-body-copy {
    margin-left: 0;
    margin-right: auto;
    text-align: left;
    max-width: 100%;
    width: 100%;
    flex-shrink: 0;
  }

  .site-section .section-body-copy p {
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    text-align: left;
    text-align-last: left;
  }

  .section-lead {
    text-align: left;
    text-align-last: left;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  #products .section-lead--products {
    text-align: justify;
    text-align-last: left;
    max-width: 100%;
  }

  #products .product-slide-description--short {
    display: block;
    text-align: left;
    font-size: 0.8125rem;
    line-height: 1.5;
    padding-inline: var(--space-1);
  }

  #products .product-slide {
    height: 100%;
  }

  #products .product-nav-in-slide,
  #products .carousel-nav--below-box {
    display: flex !important;
    width: 100%;
    min-height: 44px;
  }

  #products .product-carousel-arrow {
    display: flex !important;
    min-width: 44px;
    min-height: 44px;
  }

  #products .product-carousel-arrow[hidden] {
    display: none !important;
  }

  #products .product-dl-row,
  #products .product-brief-card {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 0.85rem;
    width: 100%;
    margin: var(--space-3) 0 var(--space-2);
    position: relative;
    z-index: 5;
    pointer-events: auto !important;
    touch-action: manipulation;
    min-height: 48px;
  }

  #products .product-dl-label,
  #products .product-brief-card__label {
    display: inline-block !important;
    white-space: nowrap;
    font-size: 0.625rem;
    letter-spacing: 0.06em;
    pointer-events: none;
  }

  #products .product-brief-card .spec-dl-btn,
  #products .product-dl-row .spec-dl-btn {
    width: 52px;
    height: 52px;
    min-width: 52px;
    min-height: 52px;
    pointer-events: none;
  }

  #products .carousel-hint--in-card {
    display: none !important;
  }

  .patent-feature-card .product-dl-row {
    justify-content: flex-start;
    margin: var(--space-2) 0 var(--space-3);
  }

  .product-slide-title--in-box {
    font-size: var(--font-size-lg);
    margin-top: var(--space-2);
    text-align: center;
    width: 100%;
  }

  .section-body-copy--collab .section-lead,
  .section-body-copy--collab .section-lead--secondary {
    -webkit-line-clamp: unset;
    line-clamp: unset;
    display: block;
  }

  .site-section .section-content-after {
    margin-top: 0;
    width: 100%;
    max-width: 100%;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
  }

  .section-body-copy--justify p {
    text-align: left;
    text-align-last: left;
  }

  #about .section-body-copy {
    flex: 0 1 auto;
    display: block;
  }

  #about .section-body-copy p {
    text-align: left;
    text-align-last: left;
  }

  .section-body-copy--collab {
    margin-bottom: var(--space-1);
  }

  /* Mobile: slightly tighter title block with subhead */
  .section-title-block--uniform {
    margin-bottom: var(--space-3);
  }

  .section-subhead {
    font-size: clamp(0.8125rem, 3.2vw, 0.9375rem);
    margin-top: 0.75rem;
  }

  /* ── Grids: stack patents/founders; single column systems ── */
  .grid-2,
  .grid-3,
  .grid-4,
  .collab-detail-grid,
  .founders-wrapper .grid-2 {
    grid-template-columns: 1fr !important;
    gap: var(--space-3) !important;
  }

  .systems-capability-grid {
    grid-template-columns: 1fr !important;
    gap: var(--space-3) !important;
    flex: 1 1 auto;
    align-content: stretch;
  }

  #systems .section-eyebrow {
    font-size: clamp(2rem, 9.5vw, 2.85rem) !important;
    letter-spacing: -0.03em;
  }

  #systems .section-lead {
    font-size: clamp(0.8125rem, 3.2vw, 0.9375rem);
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }

  .capability-card {
    padding: 1.05rem 1.15rem !important;
    min-height: clamp(7.25rem, 17vh, 9.5rem) !important;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.65rem;
    box-sizing: border-box;
  }

  .capability-card__title {
    font-size: clamp(1.05rem, 4.4vw, 1.3rem) !important;
    margin-bottom: 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
  }

  .capability-card p {
    font-size: clamp(0.8rem, 3.1vw, 0.9rem) !important;
    line-height: 1.5 !important;
    margin-top: 0 !important;
    flex: 1 1 auto;
  }

  .collab-glass-card {
    width: var(--collab-card-width);
    padding: var(--space-4) var(--space-3) var(--space-3);
    min-height: 9.5rem;
    height: 9.5rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .founders-wrapper .equal-card-grid,
  .founders-wrapper .grid-2,
  .founders-grid {
    align-items: stretch;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100%;
    max-width: none;
    gap: var(--space-2) !important;
  }

  .clickable-founder-card {
    height: 100%;
    padding: 0 !important;
  }

  #founders .founder-card__media {
    aspect-ratio: 3 / 4;
    min-height: clamp(8.5rem, 24vh, 13rem);
    max-height: clamp(10.5rem, 28vh, 14.5rem);
  }

  #founders .founder-photo,
  #founders .founder-photo--suhas,
  #founders .founder-photo--abhilash {
    object-fit: cover;
    object-position: center 14%;
    transform: none;
    filter: grayscale(1) contrast(1.12) brightness(0.9);
  }

  #founders.founders-section--light {
    background: #FAFAFA !important;
  }

  #founders.founders-section--light .founders-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.65rem !important;
  }

  #founders.founders-section--light .founder-photo,
  #founders.founders-section--light .founder-photo--suhas,
  #founders.founders-section--light .founder-photo--abhilash {
    filter: none;
  }

  #patents.section-fullscreen,
  #founders.section-fullscreen {
    scroll-snap-stop: normal;
  }

  .patent-card-expand {
    margin-top: var(--space-1);
  }

  #patents {
    min-height: 100dvh !important;
    min-height: 100svh !important;
    height: auto !important;
    max-height: none !important;
    justify-content: flex-start !important;
    overflow-x: clip !important;
    overflow-y: visible !important;
    padding-bottom: max(1.75rem, env(safe-area-inset-bottom, 0px)) !important;
    scroll-snap-align: start !important;
    scroll-snap-stop: always !important;
    position: relative;
    isolation: isolate;
    z-index: 1;
    contain: layout style;
  }

  #patents .patents-strands {
    overflow: hidden;
  }

  #patents.section-fullscreen > .container.section-shell {
    flex: 0 1 auto;
    max-height: none !important;
    min-height: 0;
    gap: var(--space-2);
    justify-content: flex-start;
    overflow: visible;
  }

  /* ── Patents phone: horizontal SURA ↔ SUSA swipe + arrows ── */
  #patents .section-body-copy {
    margin-bottom: var(--space-2);
    flex-shrink: 0;
  }

  #patents .section-lead,
  #patents .section-subhead {
    -webkit-line-clamp: unset;
    line-clamp: unset;
    display: block;
  }

  #patents .section-content-after {
    align-items: stretch;
    flex: 0 1 auto;
    min-height: 0;
    width: 100%;
  }

  .patent-carousel-container {
    gap: 0;
    justify-content: flex-start;
    width: 100%;
    flex: 0 1 auto;
    min-height: 0;
  }

  .patent-carousel-track-wrapper {
    order: 1;
    flex: 0 1 auto;
    width: 100%;
    min-height: 0;
    overflow: hidden;
  }

  .patent-carousel-track {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch;
    width: 100%;
    transform: translateX(0);
    will-change: transform;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .patent-carousel-track > .patent-border-glow {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .patent-feature-card {
    text-align: center;
    height: auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .patent-feature-card__media {
    flex: 0 0 auto;
    min-height: 0;
    max-height: clamp(8rem, 34vw, 11rem);
    overflow: hidden;
    cursor: default;
  }

  .patent-feature-card__media img {
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: clamp(8rem, 34vw, 11rem);
    object-fit: cover;
    object-position: center 42%;
  }

  .patent-feature-card__body {
    flex: 0 0 auto;
    padding: var(--space-3);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .patent-feature-card__title {
    font-size: clamp(1.25rem, 5vw, 1.5rem);
    margin-bottom: 0.125rem;
    text-align: center;
  }

  .patent-feature-card__subtitle {
    margin-bottom: var(--space-1);
    font-size: 0.625rem;
    text-align: center;
  }

  .patent-feature-card__meta-line {
    margin: var(--space-1) 0;
    font-size: 0.5625rem;
    line-height: 1.45;
    text-align: center;
  }

  .patent-feature-card__copy {
    font-size: 0.75rem;
    line-height: 1.45;
    margin-bottom: var(--space-3);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    text-align: center;
    max-width: 22rem;
  }

  .patent-feature-card__link {
    display: none !important;
  }

  .patent-brief-card {
    position: relative;
    z-index: 5;
    pointer-events: auto !important;
    touch-action: manipulation;
    margin: 0.35rem auto 0;
    padding: 0.85rem;
    min-height: 4.75rem;
    width: min(100%, 16.5rem);
    align-self: center;
  }

  #patents .carousel-hint--in-card {
    display: none !important;
  }

  /* Arrows under the image — swipe left/right between SURA and SUSA */
  #patents .patent-nav-in-slide {
    display: flex !important;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    gap: 1.75rem;
    padding: 0.35rem 0 0.65rem;
    order: 0;
  }

  #patents .patent-carousel-arrow {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(10, 14, 20, 0.72);
    color: #fff;
    touch-action: manipulation;
  }

  #patents .patent-carousel-arrow[hidden] {
    display: none !important;
  }

  #patents .patent-carousel-arrow:not([hidden]) {
    display: inline-flex !important;
  }

  /* ── Collaboration: scrolling marquee + bullet points under headings ── */
  .collab-stage {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    min-height: 0;
  }

  .collab-marquee {
    display: block !important;
    max-width: 100%;
    margin-inline: auto;
    --collab-card-width: clamp(14rem, 82vw, 17.5rem);
    padding: var(--space-2) 0;
  }

  .collab-marquee__track {
    animation-duration: 24s;
  }

  .collab-glass-card__visual--logo {
    min-height: 4.5rem;
    margin-bottom: var(--space-2);
  }

  .collab-glass-card__name {
    font-size: var(--font-size-base);
    margin-bottom: 0;
  }

  .collab-partner-stack {
    display: none !important;
  }

  /* ── Systems: stronger glass gradient on capability cards ── */
  .systems-capability-grid .capability-card.glass-panel {
    background: linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.12) 0%,
      rgba(255, 255, 255, 0.04) 42%,
      rgba(63, 169, 245, 0.12) 100%
    );
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.12),
      0 10px 28px rgba(0, 0, 0, 0.42),
      0 0 18px rgba(63, 169, 245, 0.06);
  }

  .patent-nav-in-slide,
  .product-nav-in-slide {
    width: 100%;
  }

  .carousel-hint--in-card {
    display: block;
    padding: var(--space-1) var(--space-2) var(--space-1);
    text-align: center;
  }

  .site-section--collab-dark,
  .site-section--founders,
  .founders-wrapper {
    overflow-x: clip;
  }

  /* ── Founders: two wide cards, full faces ── */
  .founders-wrapper .grid-2 {
    gap: var(--space-2) !important;
  }

  .clickable-founder-card h3 {
    font-size: var(--font-size-base) !important;
  }

  .clickable-founder-card p {
    font-size: 0.8125rem !important;
    line-height: 1.55 !important;
    margin-top: var(--space-2) !important;
  }

  #founders .founder-card__bio {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
  }

  .clickable-founder-card .founder-cta-link {
    margin-top: var(--space-2);
    font-size: 0.6875rem;
  }

  .founders-wrapper {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
  }

  #founders .founders-particle-text {
    height: clamp(4.5rem, 12vh, 6.5rem);
    min-height: 4.5rem;
    margin: 0.25rem auto 0;
    flex-shrink: 0;
  }

  .founders-section-cta {
    position: relative;
    z-index: 1001;
    display: flex !important;
    justify-content: center;
    align-items: center;
    margin-top: 0.65rem !important;
    margin-bottom: 0 !important;
    padding: 0.25rem var(--space-3);
    padding-bottom: 0.15rem;
    flex-shrink: 0;
    pointer-events: auto;
    isolation: isolate;
    touch-action: manipulation;
    min-height: 52px;
    scroll-snap-align: none;
  }

  .founders-cta--desktop-only {
    display: none !important;
  }

  .founders-cta--mobile-only {
    display: inline-flex;
    min-width: 11.5rem;
    min-height: 52px;
  }

  .founders-section-cta .cta-skeuo-pill__face {
    min-height: 48px;
    padding: 0.9rem 3rem;
    letter-spacing: 0.2em;
  }

  .contact-overlay.is-active {
    z-index: 9999 !important;
  }

  body.contact-overlay-open .nav-menu,
  body.contact-overlay-open .nav-menu.is-mobile-open {
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .nav-menu-contact--mobile .cta-skeuo-pill--menu {
    position: relative;
    z-index: 5;
    pointer-events: auto;
  }

  footer[data-od-id="footer-block"] {
    background: linear-gradient(
      180deg,
      #080e18 0%,
      #04060c 45%,
      #000000 100%
    ) !important;
  }

  /* ── Media constraints ── */
  img,
  video,
  svg {
    max-width: 100%;
    height: auto;
  }

  .product-carousel-container,
  .product-carousel-track-wrapper,
  .section-shell,
  .container {
    overflow-x: clip;
  }

  /* ── Products: image fills width, nav below image ── */
  .product-carousel-container {
    padding: 0 !important;
    width: 100%;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-2);
  }

  .product-carousel-track-wrapper {
    order: 1;
  }

  #products .product-image-container {
    overflow: visible;
    min-height: clamp(11rem, 40vw, 15rem);
    max-height: none;
    width: 100%;
    margin-bottom: var(--space-1);
    padding: var(--space-2) 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    border: none;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
  }

  #products .product-image-container img {
    display: block;
    width: 100%;
    max-width: 100%;
    max-height: none;
    height: clamp(10rem, 38vw, 14rem);
    margin: 0 auto;
    object-fit: contain;
    object-position: center center;
    border: none;
    border-radius: 0;
    background: transparent;
    padding: 0;
    box-sizing: border-box;
    filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.6));
  }

  #products .product-slide {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    background: #000000;
    padding: var(--space-3);
  }

  #products .product-slide-title--in-box {
    min-height: auto;
    font-size: var(--font-size-lg);
    margin-top: var(--space-2);
    margin-bottom: 0;
    text-align: center;
    width: 100%;
  }

  #products .carousel-hint--in-card {
    margin-top: var(--space-2);
    padding-top: 0;
  }

  .product-slide-description--long {
    min-height: 7.5rem;
  }

  .site-section--products .product-slide {
    text-align: left;
    padding: var(--space-3);
  }

  .product-slide-title {
    min-height: auto;
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-2);
  }

  .product-slide-description {
    font-size: 0.8125rem;
    line-height: 1.55;
  }

  /* ── Hero: scroll frame sequence (inside first page only) ── */
  #home.hero-seq {
    margin-top: 0;
    padding-top: 0;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  #home.hero-seq .hero-seq__track {
    height: 360vh;
    min-height: 360vh;
  }

  #home.hero-seq .hero-seq__sticky {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: 100svh;
    height: 100dvh;
    min-height: 100svh;
    min-height: 100dvh;
    overflow: hidden;
    background: #000;
  }

  #home.hero-seq .hero-bg-video {
    display: none !important;
  }

  #home.hero-seq .hero-seq__canvas {
    display: block !important;
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    object-fit: cover;
  }

  .hero-section .hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.18) 0%,
      rgba(0, 0, 0, 0.08) 36%,
      rgba(0, 0, 0, 0.42) 100%
    );
  }

  .hero-seq__orbit-ring {
    width: min(78vmin, 22rem);
    height: min(78vmin, 22rem);
    top: 50%;
  }

  .hero-seq__arc-svg {
    width: min(78vmin, 22rem);
    height: min(78vmin, 22rem);
    top: 41%;
    transform: translate(-50%, -58%);
  }

  .hero-seq__arc-text {
    font-size: 38px;
    letter-spacing: 0.12em;
  }

  .hero-seq__beat--slogan .hero-seq__headline {
    max-width: min(36rem, 100%) !important;
  }

  .hero-seq__beat--slogan[data-beat="3"] .hero-seq__headline {
    max-width: 100% !important;
    white-space: nowrap !important;
    font-size: clamp(0.92rem, 4vw, 1.3rem) !important;
    letter-spacing: -0.02em;
    padding-inline: 0.25rem;
  }

  .hero-seq__headline {
    font-size: clamp(1.15rem, 5.2vw, 1.75rem);
  }

  .hero-seq__cta,
  .hero-seq__name-label {
    display: none !important;
  }

  .hero-container-layout {
    padding-top: calc(var(--nav-height) + var(--space-3));
    padding-bottom: var(--space-6);
    min-height: 100dvh;
    min-height: 100svh;
    flex: 1;
    justify-content: center;
    box-sizing: border-box;
  }

  .hero-title-large {
    font-size: clamp(1.35rem, 5.8vw, 2.25rem);
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-title-large .hero-line:nth-child(2) {
    align-self: center;
  }

  .hero-subtitle-typewriter {
    font-size: clamp(0.78rem, 3.1vw, 1rem);
    max-width: 100%;
    width: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-subtitle-typewriter .hero-line:nth-child(2) {
    align-self: center;
  }

  .hero-container-layout--centered .hero-main-left--stack {
    transform: none;
  }

  .section-eyebrow {
    font-size: clamp(1.5rem, 6.5vw, 2.25rem);
  }

  /* ── Consent banner ── */
  .consent-banner {
    left: var(--fluid-gutter);
    right: var(--fluid-gutter);
    max-width: none;
  }

  .consent-banner__actions {
    justify-content: stretch;
  }

  .consent-banner__actions .btn-consent-reject,
  .consent-banner__actions .btn-accent {
    flex: 1 1 auto;
    min-width: 0;
  }

  /* ── Nav: transparent over hero video/stars; solid after scroll ── */
  .nav-header {
    background: transparent !important;
    border-bottom: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
  }

  .nav-header.is-scrolled {
    background: rgba(0, 0, 0, 0.88) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  html.hero-seq-nav-clear .nav-header,
  html.hero-seq-nav-clear .nav-header.is-scrolled,
  html.nav-over-space .nav-header,
  html.nav-over-space .nav-header.is-scrolled,
  html:not(.nav-on-founders) .nav-header,
  html:not(.nav-on-founders) .nav-header.is-scrolled,
  .nav-header.is-hero-clear,
  .nav-header.is-hero-clear.is-scrolled {
    background: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .nav-header:not(.is-scrolled) .brand-text,
  .nav-header:not(.is-scrolled) .mobile-menu-trigger {
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.9);
  }

  .nav-logo .brand-text {
    font-size: clamp(0.58rem, 2.8vw, 0.7rem);
    letter-spacing: 0.05em;
    max-width: none;
    overflow: visible;
    text-overflow: unset;
    white-space: nowrap;
  }

  footer .brand-text {
    max-width: none;
    overflow: visible;
    text-overflow: unset;
    white-space: normal;
  }

  .nav-cta--mobile {
    display: none !important;
  }

  .nav-end {
    display: flex !important;
    align-items: center;
    gap: 0.35rem;
    margin-left: auto;
    flex-shrink: 0;
    z-index: 2;
  }

  .nav-cta-bar-mobile,
  .nav-menu-contact--mobile {
    display: none !important;
  }

  /* ── Legal / privacy modal — fits phone viewport ── */
  .modal-content {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    max-height: min(92dvh, 640px);
    margin: 0;
    padding: var(--space-5) var(--space-4) max(var(--space-5), env(safe-area-inset-bottom));
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    transform: translateY(100%);
  }

  .modal-content.is-active {
    transform: translateY(0);
  }

  .legal-modal-title {
    font-size: clamp(1.25rem, 5vw, 1.5rem);
    padding-right: var(--space-10);
  }

  .legal-modal-scroll {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .modal-body-mount {
    padding-top: var(--space-2) !important;
  }

  /* CTA sits above consent banner — avoid mis-taps on Privacy link */
  body.consent-banner-visible #founders .founders-section-cta {
    margin-bottom: 9rem;
  }

  /* Call to action overlay: phone uses static green wash (Radar unmounted) */
  .contact-overlay.is-active::before {
    animation: none !important;
    background-size: auto !important;
  }

  .contact-overlay.is-active.contact-overlay--radar-static::before {
    background:
      radial-gradient(ellipse 80% 60% at 50% 40%, rgba(1, 151, 101, 0.18), transparent 58%),
      #000000 !important;
  }

  .contact-overlay.is-active {
    z-index: 1100;
  }

  .nav-logo .brand-logo-img {
    height: 2rem !important;
    width: 2rem !important;
    margin-right: 0.55rem !important;
  }

  .nav-menu {
    display: none;
  }

  .nav-container {
    justify-content: space-between;
  }

  .mobile-menu-trigger {
    display: flex !important;
    min-width: 44px;
    min-height: 44px;
    touch-action: manipulation;
  }

  .mobile-only {
    display: block !important;
  }

  .mobile-only.inline {
    display: inline-block !important;
  }

  .desktop-only {
    display: none !important;
  }

  .nav-menu.is-mobile-open {
    display: flex !important;
  }

  button,
  .nav-link,
  .btn-enquiry-pill,
  .contact-submit-btn {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
}

/* Laptop: 769px–1024px */
@media (min-width: 769px) and (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

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

/* Desktop: 769px+ */
@media (min-width: 769px) {
  .hero-section.fullscreen-container {
    min-height: 100dvh;
    height: 100dvh;
  }

  #home.hero-seq {
    min-height: 0;
    height: auto;
    overflow: visible;
  }

  .grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--fluid-gap);
  }

  .grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--fluid-gap);
  }

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

  .mobile-menu-trigger {
    display: none !important;
  }
}

/* Large desktop: 1440px+ */
@media (min-width: 1440px) {
  :root {
    --fluid-container-max: min(100%, 100rem);
  }
}

/* TV / ultra-wide: 1920px+ */
@media (min-width: 1920px) {
  :root {
    --fluid-container-max: 100rem;
    --fluid-gap: clamp(1.5rem, 2vw, 3.5rem);
  }
}

@media (max-width: 768px) {
  .hero-bg-controls {
    left: 50% !important;
    bottom: var(--space-4) !important;
    transform: translateX(-50%) !important;
    gap: var(--space-1) !important;
  }

  .bg-control-btn {
    padding: var(--space-1) var(--space-2) !important;
    font-size: 0.65rem !important;
  }

  .philosophy-process-box {
    padding: var(--space-4) var(--space-4) var(--space-4) 3rem !important;
  }

  .process-line-container {
    left: 1.5rem !important;
  }

  .stage-bullet-marker {
    left: -2.375rem !important;
    width: 1.375rem !important;
    height: 1.375rem !important;
    font-size: 0.625rem !important;
  }

  .stage-content-card {
    padding: var(--space-3) !important;
  }

  .stage-title {
    font-size: var(--font-size-xs) !important;
  }

  /* Spec / founder drawers must fully open on phone */
  .drawer-content {
    width: 100%;
    max-width: none;
    height: 100dvh;
    height: 100svh;
    padding: var(--space-4);
    padding-bottom: max(var(--space-6), env(safe-area-inset-bottom, 0px));
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .drawer-content.is-active {
    right: 0;
  }

  /* Founders: one full phone screen — cards + CTA + particle fill the viewport */
  #founders.section-fullscreen,
  #founders.founders-section--light {
    justify-content: flex-start !important;
    overflow: hidden !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
  }

  #founders .container.section-shell {
    max-height: none !important;
    overflow: hidden !important;
    justify-content: space-between;
    gap: 0.35rem;
  }

  #founders .founders-grid,
  #founders.founders-section--light .founders-grid,
  .founders-wrapper .equal-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.65rem !important;
  }

  #founders .founder-card__media,
  #founders.founders-section--light .founder-card__media {
    flex: 0 0 auto;
    min-height: clamp(8rem, 22vh, 12.5rem) !important;
    max-height: clamp(10rem, 26vh, 13.5rem) !important;
    aspect-ratio: 3 / 4;
  }

  #founders.founders-section--light .founder-card__body {
    margin-top: -1.1rem;
    padding: 1.05rem 0.65rem 0.7rem;
  }

  #founders .founder-card__credentials,
  #founders.founders-section--light .founder-card__credentials {
    display: none !important;
  }

  #founders .founders-section-cta,
  #founders.founders-section--light .founders-section-cta {
    display: flex !important;
    justify-content: center;
    margin-top: 0.65rem !important;
    margin-bottom: 0 !important;
    padding-top: 0;
    padding-bottom: 0.15rem;
  }

  #founders .founders-cta-solid,
  #founders.founders-section--light .founders-cta-solid--brand {
    width: min(100%, 18rem);
    min-height: 52px;
  }
}

@media (max-width: 480px) {
  #founders.founders-section--light .founder-card__body {
    padding: 0.95rem 0.55rem 0.6rem;
  }

  #founders.founders-section--light .founder-card__name {
    font-size: 0.82rem;
  }

  #founders .founder-card__bio,
  #founders.founders-section--light .founder-card__bio {
    font-size: 0.625rem !important;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  #founders .founder-card__credentials {
    display: none;
  }

  #founders .founder-cta-link {
    font-size: 0.5625rem;
    margin-top: 0.35rem;
  }

  #founders .founders-section-cta,
  #founders.founders-section--light .founders-section-cta {
    margin-top: 0.5rem !important;
  }
}
