.floating-nav-shell{height:96px;border:0;background:transparent;position:fixed;inset:0 0 auto;z-index:100;padding-top:14px;pointer-events:none}
.floating-nav{width:min(var(--container),calc(100% - 96px));height:68px;margin-inline:auto;padding:0 26px 0 28px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:40px;background:rgba(255,255,255,.94);border:1px solid #dedede;border-radius:9px;box-shadow:0 2px 8px rgba(17,17,17,.035);backdrop-filter:blur(12px);pointer-events:auto}
.floating-brand{display:flex;align-items:center;gap:12px;width:max-content;font-size:18px}
.floating-brand img{width:34px;height:34px;object-fit:contain}
.floating-brand b{font-weight:600}
.floating-nav nav{display:flex;gap:42px;align-items:center}
.floating-nav nav a{font-size:14px;transition:color .2s}
.floating-nav nav a:hover{color:var(--red)}
.floating-nav .nav-cta{justify-self:end;min-width:114px;min-height:42px;padding:9px 20px;border-radius:5px;font-size:14px}
.floating-nav .menu-c{justify-self:end}
.hero-visual::before{display:none}
@media(max-width:1100px){.floating-nav{width:calc(100% - 56px)}}
@media(max-width:800px){.floating-nav-shell{height:84px;padding-top:10px}.floating-nav{width:calc(100% - 28px);height:64px;padding-inline:18px;grid-template-columns:1fr auto auto;gap:14px}.floating-nav nav{display:none;position:absolute;left:14px;right:14px;top:74px;background:#fff;border:1px solid var(--border);border-radius:8px;padding:24px;flex-direction:column;gap:24px}.floating-nav nav.open{display:flex}.floating-nav .nav-cta{font-size:0;min-width:42px;width:42px;padding:0}.floating-nav .nav-cta:after{content:"→";font-size:16px}.floating-brand img{width:31px;height:31px}.floating-brand{font-size:16px}}
@media(max-width:480px){.floating-nav .nav-cta{display:none}.floating-nav{grid-template-columns:1fr auto}.floating-brand b{font-size:15px}}

/* Mobile layout: keep the final variant compact, readable, and overflow-free. */
@media (max-width: 600px) {
  html {
    scroll-padding-top: 86px;
  }

  body {
    overflow-x: hidden;
  }

  .page-container {
    width: calc(100% - 32px);
  }

  .floating-nav-shell {
    height: 78px;
    padding-top: 8px;
  }

  .floating-nav {
    width: calc(100% - 24px);
    height: 60px;
    padding-inline: 14px;
  }

  .floating-nav nav {
    left: 12px;
    right: 12px;
    top: 68px;
    gap: 0;
    padding: 8px;
    box-shadow: 0 14px 35px rgba(17, 17, 17, .12);
  }

  .floating-nav nav a {
    width: 100%;
    padding: 12px 14px;
    border-radius: 6px;
  }

  .floating-nav nav a:hover {
    background: var(--surface);
  }

  .menu-c {
    min-width: 44px;
    min-height: 44px;
    padding: 0;
  }

  .hero {
    min-height: 0;
    height: auto;
    padding-top: 112px;
    padding-bottom: 64px;
    gap: 38px;
  }

  .hero h1 {
    font-size: clamp(38px, 11.4vw, 50px);
    line-height: .98;
    letter-spacing: -.055em;
  }

  .hero .eyebrow {
    margin-bottom: 18px;
  }

  .body-large {
    margin: 24px 0;
    font-size: 16px;
    line-height: 1.65;
  }

  .actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .actions .button {
    width: 100%;
    justify-content: space-between;
  }

  .hero-visual {
    height: 270px;
    align-self: auto;
  }

  .hero-visual::before {
    top: 0;
  }

  .hero-visual img {
    width: 570px;
    left: 50%;
    bottom: -82px;
    transform: translateX(-50%);
  }

  .coordinate {
    top: 18px;
    right: 8px;
  }

  .corner.tl {
    top: 0;
  }

  .corner.br {
    bottom: 0;
  }

  .section {
    padding-block: 72px;
  }

  .workshop-section {
    padding-bottom: 72px;
  }

  .workshop-copy,
  .workshop-action {
    padding: 26px 22px;
  }

  .workshop-copy h2 {
    font-size: 30px;
  }

  .workshop-copy > p:not(.eyebrow) {
    font-size: 15px;
  }

  .workshop-action {
    min-height: 250px;
  }

  .workshop-action strong {
    font-size: clamp(25px, 8.3vw, 34px);
  }

  .about {
    min-height: 480px;
    padding-block: 72px;
  }

  .about h2 {
    font-size: clamp(27px, 8vw, 34px);
    line-height: 1.35;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .section-heading h2,
  .achievements-top h2 {
    font-size: 34px;
  }

  .section-heading > p {
    margin-top: 16px;
    font-size: 15px;
  }

  .robot-bento {
    gap: 14px;
  }

  .robot-card,
  .robot-card.featured {
    height: min(118vw, 450px);
  }

  .card-copy {
    padding: 24px;
  }

  .card-copy h3 {
    margin-top: 20px;
    font-size: 28px;
  }

  .achievements-top {
    gap: 28px;
    margin-bottom: 28px;
  }

  .achievements-top .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .achievements-top .stats article {
    height: 132px;
    padding: 14px 8px;
  }

  .achievements-top .stats strong {
    font-size: 28px;
  }

  .achievement-table {
    overflow: visible;
    padding: 0 16px;
  }

  .achievement-table article {
    min-width: 0;
    min-height: 108px;
    grid-template-columns: 48px 14px minmax(0, 1fr);
    gap: 12px;
    padding: 18px 0;
  }

  .achievement-table time {
    font-size: 13px;
  }

  .achievement-table article > i {
    width: 8px;
    height: 8px;
  }

  .achievement-table article > i::before {
    left: 3px;
  }

  .achievement-table .event h3 {
    font-size: 16px;
  }

  .achievement-table .event span {
    display: block;
    font-size: 12px;
    line-height: 1.45;
  }

  .achievement-table article > p,
  .achievement-table .result {
    display: none;
  }

  .logo-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .logo-wall div {
    height: 112px;
    padding: 22px 16px;
    border-right: 1px solid var(--border) !important;
    border-bottom: 1px solid var(--border) !important;
  }

  .logo-wall div:nth-child(even) {
    border-right: 0 !important;
  }

  .logo-wall div:last-child {
    grid-column: 1 / -1;
    border-right: 0 !important;
    border-bottom: 0 !important;
  }

  .logo-wall img {
    max-height: 48px;
  }

  .partner-footer {
    margin-top: 24px;
  }

  .gallery-mosaic {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .gallery-mosaic figure,
  .gallery-mosaic .gallery-feature {
    height: 180px;
    margin: 0;
  }

  .gallery-mosaic .gallery-feature {
    grid-column: 1 / -1;
    height: 310px;
  }

  .gallery-mosaic figure:last-child {
    grid-column: 1 / -1;
  }

  .gallery-mosaic figcaption {
    padding: 38px 10px 10px;
    font-size: 11px;
  }

  .closing {
    margin-block: 72px;
    padding: 30px 22px;
    gap: 34px;
  }

  .closing h2 {
    font-size: 36px;
  }

  .closing > div:last-child > p {
    font-size: 16px;
    margin-bottom: 22px;
  }

  .footer {
    padding: 40px 0;
  }
}

.footer-brand {
  gap: 10px;
}

.footer-brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

/* Reference-led mobile composition and final QA overrides. */
@media (max-width: 600px) {
  .eyebrow {
    margin-bottom: 16px;
    font-size: 11px;
    line-height: 1.35;
    letter-spacing: .14em;
  }

  .robots {
    padding-top: 96px;
    scroll-margin-top: 76px;
  }

  .floating-nav {
    grid-template-columns: 1fr auto auto;
    gap: 8px;
  }

  .floating-nav .nav-cta {
    display: inline-flex;
    width: auto;
    min-width: 76px;
    min-height: 38px;
    padding: 8px 12px;
    gap: 8px;
    font-size: 12px;
  }

  .floating-nav .nav-cta::after {
    content: none;
  }

  .floating-brand {
    gap: 8px;
  }

  .floating-brand img {
    width: 28px;
    height: 28px;
  }

  .floating-brand b {
    font-size: 13px;
  }

  .menu-c {
    min-width: 38px;
    min-height: 38px;
    font-size: 0;
  }

  .menu-c span {
    font-size: 18px;
    line-height: 1;
  }

  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding-top: 108px;
    padding-bottom: 40px;
  }

  .hero-copy {
    display: contents;
  }

  .hero-copy .eyebrow {
    order: 1;
  }

  .hero-copy h1 {
    order: 2;
    margin-bottom: 24px;
  }

  .hero-copy .body-large {
    order: 3;
    margin: 0;
  }

  .hero-visual {
    order: 4;
    height: 300px;
    margin-top: 20px;
    overflow: hidden;
  }

  .hero-copy .actions {
    order: 5;
    margin-top: 8px;
  }

  .hero-visual::before {
    display: none;
  }

  .hero-visual img {
    width: 510px;
    left: 46%;
    bottom: -36px;
    opacity: .55;
  }

  .coordinate {
    top: 8px;
    right: 2px;
    font-size: 8px;
  }

  .hero-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 9px;
    background: rgba(255, 255, 255, .86);
    padding: 3px 5px;
  }

  .hero-label.sensor {
    left: 2px;
    top: 40%;
  }

  .hero-label.gait {
    right: 2px;
    bottom: 18px;
  }

  .corner {
    width: 28px;
    height: 28px;
  }

  .workshop {
    border-radius: 10px;
  }

  .tracks {
    margin-top: 28px;
  }

  .tracks article,
  .tracks article:first-child,
  .tracks article:last-child {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    column-gap: 10px;
    padding: 18px 0;
  }

  .tracks article i {
    grid-row: 1 / 3;
    margin: 3px 0 0;
  }

  .tracks article h3 {
    font-size: 15px;
  }

  .tracks article p {
    font-size: 12px;
  }

  .workshop-action {
    min-height: 235px;
  }

  .about {
    min-height: 400px;
  }

  .robot-card,
  .robot-card.featured {
    height: 390px;
    border-radius: 10px;
  }

  .robot-card.featured img {
    width: 112%;
    right: -30%;
    bottom: -4%;
  }

  .robot-card.fiav1 img {
    width: 115%;
    right: -20%;
    top: 35%;
  }

  .robot-card.phynix img {
    width: 105%;
    right: -21%;
    bottom: 0;
  }

  .achievements-top .stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .achievements-top .stats article {
    display: grid;
    grid-template-columns: 28px minmax(64px, auto) minmax(0, 1fr);
    column-gap: 12px;
    height: auto;
    min-height: 76px;
    padding: 12px 0;
    border: 0;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    text-align: left;
  }

  .achievements-top .stats article:last-child {
    border-bottom: 0;
  }

  .achievements-top .stats svg {
    width: 24px;
    height: 24px;
  }

  .achievements-top .stats strong {
    font-size: 25px;
    white-space: nowrap;
  }

  .achievements-top .stats span {
    font-size: 12px;
  }

  .achievement-table {
    border-inline: 0;
    border-radius: 0;
    padding: 0;
  }

  .achievement-table article {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    min-height: 100px;
  }

  .achievement-table article > i,
  .achievement-table article > i::before {
    display: none;
  }

  .achievement-table .event h3 {
    margin-bottom: 6px;
  }

  .achievement-table .event span {
    color: var(--muted);
  }

  .partners .section-heading h2 {
    font-size: 30px;
  }

  .logo-wall {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .partner-footer strong {
    font-size: 15px;
  }

  .partner-footer p {
    font-size: 12px;
  }

  .scenes .section-heading h2 br {
    display: none;
  }

  .gallery-mosaic {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-rows: auto;
    gap: 26px;
  }

  .gallery-mosaic figure,
  .gallery-mosaic .gallery-feature,
  .gallery-mosaic figure:last-child {
    grid-column: auto;
    grid-row: auto;
    height: 270px;
  }

  .gallery-mosaic figcaption {
    padding: 52px 14px 14px;
    font-size: 13px;
  }

  .closing {
    border-radius: 10px;
  }

  .footer > .page-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer .footer-brand {
    display: inline-flex;
    width: max-content;
  }

  .footer nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border-top: 1px solid var(--border);
  }

  .footer nav a {
    display: flex;
    justify-content: space-between;
    padding: 13px 0;
    border-bottom: 1px solid var(--border);
  }

  .footer nav a::after {
    content: "›";
    color: var(--muted);
  }

  .footer > div > p:last-child {
    justify-self: start;
  }
}

@media (max-width: 430px) {
  .hero h1 {
    font-size: clamp(39px, 10.15vw, 42px);
    line-height: 1.05;
    letter-spacing: -.045em;
  }

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

  .hero-copy .body-large {
    line-height: 1.7;
  }
}

@media (max-width: 360px) {
  .page-container {
    width: calc(100% - 24px);
  }

  .floating-nav .nav-cta {
    min-width: 68px;
    padding-inline: 9px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-visual {
    height: 270px;
  }

  .workshop-action strong {
    font-size: 24px;
  }
}

.workshop-action .workshop-cta {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border: 1px solid #fff;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--red);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 8px 24px rgba(94, 0, 6, 0.16);
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}

.workshop-action > strong {
  margin: 12px 0 28px;
  line-height: 1.1;
}

.workshop-action > span {
  margin-top: 16px;
  line-height: 1.5;
}

.workshop-action .workshop-cta:hover {
  background: #fff5f5;
  color: var(--red-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(94, 0, 6, 0.24);
}

.workshop-action .workshop-cta:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

@media (min-width: 1101px) {
  .workshop {
    grid-template-columns: 1.85fr 1fr;
  }

  .workshop-action {
    min-width: 0;
    padding: 42px 36px;
  }

  .workshop-action strong {
    font-size: clamp(34px, 2.5vw, 40px);
  }
}

/* Keep the complete hero line-art visible at every viewport size. */
.hero-visual img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  left: 0;
  bottom: 0;
  object-fit: contain;
  object-position: center bottom;
  transform: none;
}
