:root {
  --gold: #fcd804;
  --gold-line: rgba(252, 216, 4, .30);
  --gold-line-soft: rgba(252, 216, 4, .17);
  --ink: #15121b;
  --purple: #24192d;
  --sans: Arial, Helvetica, sans-serif;
  --mono: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-snap-type: y mandatory; }
body {
  margin: 0;
  background: #120c17 url("moliri-space-background.jpg") center / cover fixed no-repeat;
  color: var(--ink);
  font-family: var(--sans);
}
main { overflow: clip; }
main > section { scroll-snap-align: start; scroll-snap-stop: always; }
a { color: inherit; text-decoration: none; }
.shell { width: min(1220px, calc(100% - 64px)); margin-inline: auto; }

/* Register the gradient stops so scrolling interpolates their transparency. */
@property --nav-shade-left {
  syntax: "<number>";
  inherits: true;
  initial-value: .50;
}
@property --nav-shade-right {
  syntax: "<number>";
  inherits: true;
  initial-value: .55;
}

.nav {
  --nav-shade-left: .50;
  --nav-shade-right: .55;
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--gold-line);
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  background: transparent;
  padding-inline: 24px;
  transition: --nav-shade-left 1s ease, --nav-shade-right 1s ease;
}
.nav::before {
  content: "";
  position: absolute;
  inset: 0 -100vw;
  border-bottom: 1px solid var(--gold-line-soft);
  background: transparent;
  z-index: -1;
  transition: background .28s ease;
}
/* A shallow, angled shade fades below the header without a hard background edge. */
.nav::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: calc(100% + 80px);
  transform: translateX(-50%);
  z-index: -2;
  pointer-events: none;
  background: linear-gradient(110deg,
    rgba(17, 10, 22, var(--nav-shade-left)) 0%,
    rgba(17, 10, 22, var(--nav-shade-right)) 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .98) 18%, rgba(0, 0, 0, .84) 38%, rgba(0, 0, 0, .55) 60%, rgba(0, 0, 0, .24) 78%, rgba(0, 0, 0, .06) 91%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .98) 18%, rgba(0, 0, 0, .84) 38%, rgba(0, 0, 0, .55) 60%, rgba(0, 0, 0, .24) 78%, rgba(0, 0, 0, .06) 91%, transparent 100%);
}
.brand img { width: 174px; height: auto; display: block; }
.nav nav { display: flex; align-items: center; gap: 38px; font: 600 13px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.nav a { transition: color .2s; }
.nav a:hover, .nav a:focus-visible, .nav a[aria-current="page"] { color: var(--gold); }

.hero {
  min-height: 100svh;
  color: #fff;
  background: transparent;
  position: relative;
  display: flex;
  flex-direction: column;
  border-bottom: 8px solid var(--gold);
  padding-top: 96px;
  padding-bottom: 58px;
}
.hero-grid { flex: 1; display: grid; grid-template-columns: minmax(0, .92fr) minmax(440px, 1.18fr); align-items: center; gap: 5vw; padding-block: 34px 24px; }
.eyebrow, .tag { color: var(--gold); text-transform: uppercase; font: 600 14px/1 var(--mono); letter-spacing: .16em; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 30px; max-width: 850px; font-size: clamp(54px, 6.1vw, 94px); line-height: .92; letter-spacing: -.065em; font-weight: 570; }
.hero-intro { max-width: 650px; color: #e7e1e6; font-size: 19px; line-height: 1.65; }
.hero-actions { display: flex; margin-top: 38px; }
.button { min-height: 56px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 30px; border: 1px solid rgba(255,255,255,.35); text-transform: uppercase; font: 650 12px/1 var(--mono); letter-spacing: .08em; transition: .2s; }
.button.primary { background: var(--gold); color: #17121a; border-color: var(--gold); }
.button:hover { transform: translate(-3px, -3px); box-shadow: 4px 4px 0 rgba(255,255,255,.55); }

.mission-card { border: 1px solid var(--gold-line); position: relative; display: flex; flex-direction: column; justify-content: space-between; backdrop-filter: blur(4px); background: rgba(20,12,25,.24); }
.hero-visual-card { padding: 0; min-height: 0; aspect-ratio: 1.52; overflow: hidden; background: #17101c; box-shadow: 0 24px 70px rgba(7,3,10,.25); }
.hero-visual-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-visual-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,5,13,.28), transparent 34%, rgba(9,5,13,.30)); pointer-events: none; }
.visual-frame { position: absolute; z-index: 2; inset: 18px; border: 1px solid rgba(255,255,255,.38); pointer-events: none; }
.frame-corner { position: absolute; width: 24px; height: 24px; border-color: var(--gold); border-style: solid; }
.frame-tl { left: -1px; top: -1px; border-width: 3px 0 0 3px; }
.frame-tr { right: -1px; top: -1px; border-width: 3px 3px 0 0; }
.frame-bl { left: -1px; bottom: -1px; border-width: 0 0 3px 3px; }
.frame-br { right: -1px; bottom: -1px; border-width: 0 3px 3px 0; }
.visual-meta { position: absolute; z-index: 3; top: 42px; display: flex; flex-direction: column; gap: 6px; color: #ddd8df; font: 500 clamp(7px,.55vw,10px)/1.1 var(--mono); letter-spacing: .08em; text-transform: uppercase; text-shadow: 0 2px 8px #08050b; }
.visual-meta-left { left: 50px; }
.visual-meta-right { right: 50px; }
.visual-crosshair { position: absolute; z-index: 3; top: 43px; right: 180px; width: 24px; height: 24px; opacity: .65; background: linear-gradient(90deg, transparent 48%, #ddd 49%, #ddd 51%, transparent 52%), linear-gradient(0deg, transparent 48%, #ddd 49%, #ddd 51%, transparent 52%); }
.visual-flow { position: absolute; z-index: 3; right: 48px; bottom: 38px; color: var(--gold); font: 600 clamp(8px,.62vw,11px)/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; text-shadow: 0 2px 8px #08050b; }
.hero-footer { padding-block: 8px; display: flex; align-items: center; gap: 20px; text-transform: uppercase; font: 500 10px/1 var(--mono); letter-spacing: .13em; }
.hero-footer .line { height: 1px; background: var(--gold-line); flex: 1; }

.manifesto { min-height: 100svh; padding: 150px 70px; display: grid; grid-template-columns: minmax(220px,1fr) 2.5fr; gap: 8vw; align-items: center; border: 1px solid var(--gold-line-soft); border-block: 0; background: linear-gradient(120deg,rgba(24,17,30,.82),rgba(42,26,47,.78)); color: #fff; }
.section-label { text-transform: uppercase; font: 600 11px/1 var(--mono); letter-spacing: .13em; }
.section-label span { color: #817b78; margin-right: 24px; }
.manifesto-copy h2, .contact h2 { font-size: clamp(48px,6vw,86px); line-height: .95; letter-spacing: -.06em; font-weight: 570; margin-bottom: 34px; }
.manifesto-copy p { max-width: 760px; font-size: 17px; line-height: 1.55; color: #c7bec9; margin-bottom: 14px; }
.manifesto-side { height: 62%; display: flex; flex-direction: column; justify-content: space-between; }
.scale-mark { height: 230px; border-left: 1px solid #796d7d; border-bottom: 1px solid #796d7d; position: relative; }
.scale-mark i { position: absolute; bottom: 0; width: 1px; background: #796d7d; }
.scale-mark i:nth-child(1) { left: 20%; height: 25%; }
.scale-mark i:nth-child(2) { left: 45%; height: 48%; }
.scale-mark i:nth-child(3) { left: 70%; height: 72%; }
.scale-mark i:nth-child(4) { right: 0; height: 100%; background: var(--gold); }
.scale-mark::after { content: "STRUCTURE SCALE"; position: absolute; bottom: -28px; left: 0; color: #817587; font: 500 9px/1 var(--mono); letter-spacing: .12em; }
.scale-mark span { position: absolute; right: 10px; top: 8px; color: var(--gold); font-size: 34px; }

.work { min-height: 100svh; padding: 118px 40px 94px; background: rgba(18,13,23,.84); color: #fff; display: flex; flex-direction: column; justify-content: center; border-inline: 1px solid var(--gold-line-soft); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 38px; }
.section-head > p { margin: 0; color: #c1b9c3; max-width: 350px; }
.work-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; border-top: 1px solid var(--gold-line); border-left: 1px solid var(--gold-line); }
.work-card { min-height: min(510px,58svh); padding: 28px; border-right: 1px solid var(--gold-line); border-bottom: 1px solid var(--gold-line); display: flex; flex-direction: column; justify-content: space-between; position: relative; background: #211a26; color: #fff; transition: transform .25s, box-shadow .25s; }
.work-card:hover { transform: translate(-6px,-6px); box-shadow: 8px 8px 0 var(--gold); z-index: 2; }
.work-card.feature { background: var(--gold); color: var(--ink); }
.work-card.dark-card { background: #302036; color: #fff; }
.card-no { font: 500 11px/1 var(--mono); }
.work-card h3 { font-size: 36px; letter-spacing: -.045em; margin: 10px 0 16px; }
.work-card p:last-child { color: #bdb3c0; line-height: 1.55; }
.work-card.feature p:last-child { color: #50484d; }
.work-card.feature .tag { color: #17121a; }
.tech-mark { height: 160px; position: relative; align-self: stretch; }
.truss { border: 2px solid #17121a; transform: skewY(-8deg); }
.truss i { position: absolute; background: #17121a; }
.truss i:nth-child(1), .truss i:nth-child(2) { width: 2px; height: 113%; top: -10%; }
.truss i:nth-child(1) { left: 25%; }
.truss i:nth-child(2) { right: 25%; }
.truss i:nth-child(3) { width: 100%; height: 2px; top: 50%; transform: rotate(20deg); }
.truss i:nth-child(4) { width: 100%; height: 2px; top: 50%; transform: rotate(-20deg); }
.weld::before, .weld::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%) rotate(45deg); width: 92px; height: 92px; border: 2px solid #a89fac; }
.weld::after { width: 45px; height: 45px; background: var(--gold); }
.weld i { position: absolute; left: 50%; top: 0; width: 2px; height: 160px; background: #a89fac; }
.orbit::before { content: ""; position: absolute; inset: 8px 28px; border: 1px solid #86788a; border-radius: 50%; transform: rotate(-18deg); }
.orbit::after { content: ""; position: absolute; width: 22px; height: 22px; background: var(--gold); left: 16%; top: 32%; }
.orbit i { position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; background: #fff; }

.contact { min-height: 100svh; padding-block: 120px; display: flex; align-items: center; }
.contact-box { width: 100%; position: relative; overflow: hidden; background: rgba(25,21,29,.80); color: #fff; padding: 80px; min-height: 520px; border: 1px solid var(--gold-line); border-bottom: 8px solid var(--gold); }
.contact-box .eyebrow, .contact-box h2, .contact-box .button, .contact-details { position: relative; z-index: 1; }
.contact-details { color: #d0c8d2; font: 500 11px/1.8 var(--mono); text-transform: uppercase; letter-spacing: .08em; margin-top: 34px; }
.contact-name { display: block; margin-bottom: 8px; color: #fff; font-size: 16px; font-weight: 600; text-transform: none; letter-spacing: 0; }
.contact-grid { position: absolute; right: -5%; top: -20%; width: 48%; height: 140%; opacity: .16; background: linear-gradient(90deg,transparent 49%,var(--gold) 50%,transparent 51%),linear-gradient(0deg,transparent 49%,var(--gold) 50%,transparent 51%); background-size: 64px 64px; transform: rotate(18deg); }
.contact-welding-art { position: absolute; right: 0; bottom: -10%; z-index: 0; width: 100%; height: 120%; object-fit: cover; object-position: right bottom; opacity: .36; pointer-events: none; mask-image: linear-gradient(90deg, transparent 32%, #000 62%); }

.footer { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); z-index: 20; height: 58px; border-top: 1px solid var(--gold-line); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 34px; color: #e1dce3; background: transparent; padding-inline: 24px; font: 500 10px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; text-shadow: 0 1px 5px rgba(0,0,0,.6); }
.footer::before { content: ""; position: absolute; inset: 0 -100vw; background: rgba(17,10,22,.17); border-top: 1px solid var(--gold-line-soft); z-index: -1; transition: background .28s ease; }
.footer a:hover { color: var(--gold); }
.frame-scrolled .nav { --nav-shade-left: .76; --nav-shade-right: .86; }
.frame-scrolled .subpage-shell > .nav { --nav-shade-left: .94; --nav-shade-right: .98; }
.frame-scrolled .footer::before { background: rgba(17,10,22,.72); }
.section-rail { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 25; display: flex; flex-direction: column; gap: 8px; }
.section-rail a { width: 28px; height: 28px; border: 1px solid rgba(255,255,255,.3); background: rgba(16,10,21,.58); color: #fff; display: grid; place-items: center; font: 500 8px/1 var(--mono); transition: background .25s,color .25s,border-color .25s,transform .25s; }
.section-rail a:hover, .section-rail a:focus-visible, .section-rail a.active { background: var(--gold); color: var(--ink); border-color: var(--gold); transform: translateX(-4px); }
.section-rail a.active { box-shadow: 0 0 0 3px rgba(252,216,4,.16); }

.subpage-shell { min-height: 100svh; color: #fff; background: linear-gradient(120deg,rgba(17,10,22,.36),rgba(31,19,35,.24)); padding: 96px 0 58px; }
.subpage-hero { min-height: 56svh; padding: 110px 70px 80px; display: grid; grid-template-columns: 190px 1fr; gap: 7vw; align-items: center; border-inline: 1px solid var(--gold-line-soft); background: linear-gradient(120deg,rgba(23,16,29,.48),rgba(49,29,51,.38)); }
.subpage-index { height: 220px; display: flex; flex-direction: column; justify-content: space-between; color: var(--gold); font: 600 13px/1 var(--mono); }
.subpage-index i { display: block; width: 1px; height: 165px; background: linear-gradient(var(--gold),rgba(252,216,4,.05)); }
.subpage-hero h1 { font-size: clamp(58px,7vw,102px); line-height: .9; letter-spacing: -.065em; font-weight: 570; margin: 22px 0 34px; max-width: 900px; }
.subpage-intro { max-width: 760px; color: #d2cad4; font-size: 20px; line-height: 1.65; }
@media (min-width: 851px) {
  .subpage-hero.robots-hero,
  .subpage-hero.subpage-hero--wide { grid-template-columns: 160px minmax(0, 1fr); column-gap: clamp(32px, 5vw, 72px); }
}
.product-list { border-top: 1px solid var(--gold-line); background: rgba(19,14,24,.52); }
.product-row { min-height: 230px; padding: 42px 50px; display: grid; grid-template-columns: 70px 1.1fr 1.4fr auto; gap: 40px; align-items: start; border-bottom: 1px solid var(--gold-line-soft); transition: background .2s; }
.product-row:hover { background: rgba(57,37,61,.72); }
.product-number { color: #958b99; font: 500 10px/1 var(--mono); }
/* Unnumbered rows start at the normal padding, without a spare number column. */
.product-list--unnumbered .product-row { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) auto; }
@media (max-width: 1150px) {
  .product-list--unnumbered .product-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
  .product-list--unnumbered .product-row .status { grid-column: 1 / -1; }
}
@media (max-width: 850px) {
  .product-list--unnumbered .product-row { grid-template-columns: minmax(0, 1fr); }
  .product-list--unnumbered .product-row > p,
  .product-list--unnumbered .product-row .status { grid-column: 1; }
}
.product-row h2 { font-size: 34px; line-height: 1.05; letter-spacing: -.04em; margin: 12px 0 0; }
.product-row h2 a:hover { color: var(--gold); }
.product-row > p { color: #bdb4c0; line-height: 1.65; margin: 0; }
.status { padding: 9px 11px; border: 1px solid rgba(252,216,4,.5); color: var(--gold); white-space: nowrap; text-transform: uppercase; font: 600 9px/1 var(--mono); letter-spacing: .1em; }
.page-note { margin-bottom: 0; padding: 48px 50px; color: #d3cad5; background: rgba(45,28,49,.46); border-inline: 1px solid var(--gold-line-soft); font-size: 18px; line-height: 1.6; }
.next-page { min-height: 76px; padding: 18px 50px; display: flex; align-items: center; justify-content: space-between; background: rgba(16,11,21,.58); border-top: 1px solid var(--gold-line-soft); text-transform: uppercase; font: 600 10px/1 var(--mono); letter-spacing: .1em; }
.next-page > span { color: #8f8493; }
.next-page a { font-size: 14px; color: var(--gold); display: flex; gap: 24px; align-items: center; }
.next-page a:hover { text-decoration: underline; }

.media-grid { display: grid; gap: 1px; background: var(--gold-line-soft); border: 1px solid var(--gold-line-soft); }
.media-count-1 { grid-template-columns: 1fr; }
.media-count-2 { grid-template-columns: repeat(2,1fr); }
.media-count-3 { grid-template-columns: repeat(3,1fr); }
.media-placeholder { min-height: 340px; padding: 28px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(145deg,rgba(51,34,55,.88),rgba(18,13,23,.92)); color: #fff; }
.media-placeholder::before { content: ""; position: absolute; inset: 24px; border: 1px solid var(--gold-line-soft); background: linear-gradient(135deg,transparent 49.7%,rgba(252,216,4,.25) 50%,transparent 50.3%),linear-gradient(45deg,transparent 49.7%,rgba(252,216,4,.10) 50%,transparent 50.3%); }
.media-placeholder span, .media-placeholder strong, .media-placeholder small { position: relative; z-index: 1; }
.media-placeholder span { position: absolute; top: 44px; left: 44px; color: var(--gold); font: 600 9px/1 var(--mono); letter-spacing: .12em; }
.media-placeholder strong { font-size: 24px; letter-spacing: -.03em; margin: 0 16px 8px; }
.media-placeholder small { color: #aaa0ad; margin-inline: 16px; font: 500 10px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .08em; }

.detail-hero { min-height: 75svh; padding: 120px 70px 80px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 7vw; align-items: center; background: linear-gradient(120deg,rgba(23,16,29,.48),rgba(49,29,51,.38)); border-inline: 1px solid var(--gold-line-soft); }
.detail-hero h1 { font-size: clamp(62px,7vw,104px); line-height: .88; letter-spacing: -.065em; font-weight: 570; margin: 24px 0 34px; }
.detail-hero > div > p:last-child { max-width: 650px; color: #d0c7d2; font-size: 19px; line-height: 1.65; }
.detail-image { min-height: 470px; }
.detail-overview { padding: 100px 70px; display: grid; grid-template-columns: 1fr 2.5fr; gap: 7vw; background: rgba(20,14,25,.52); border-inline: 1px solid var(--gold-line-soft); }
.detail-overview h2 { font-size: 48px; letter-spacing: -.05em; margin: 0 0 28px; }
.detail-overview p { max-width: 760px; color: #c4bbc7; font-size: 18px; line-height: 1.7; }
.spec-section { padding: 100px 70px; background: rgba(42,26,47,.50); border-inline: 1px solid var(--gold-line-soft); }
.spec-table { margin-top: 48px; border-top: 1px solid var(--gold-line); }
.spec-row { min-height: 68px; padding: 16px 0; display: grid; grid-template-columns: 1fr 2fr; gap: 30px; align-items: center; border-bottom: 1px solid var(--gold-line-soft); }
.spec-row span { color: #a69ba9; font: 500 10px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.spec-row strong { font-size: 15px; font-weight: 520; }
.spec-note { color: #a69ba9; margin: 24px 0 0; font-size: 12px; }

@media (max-width: 1150px) {
  .nav nav { gap: 17px; font-size: 11px; }
  .product-row { grid-template-columns: 45px 1fr 1.3fr; }
  .product-row .status { grid-column: 2/4; justify-self: start; }
}

@media (max-width: 850px) {
  html { scroll-snap-type: y proximity; }
  .shell { width: min(100% - 36px,700px); }
  .nav { min-height: 76px; }
  .brand img { width: 128px; }
  .nav nav a { display: none; }
  .hero { padding-top: 76px; }
  .hero-grid { grid-template-columns: 1fr; padding-block: 70px 40px; }
  .mission-card { min-height: 220px; }
  .visual-meta { top: 34px; }
  .visual-meta-left { left: 40px; }
  .visual-meta-right { right: 40px; }
  .visual-crosshair { top: 35px; right: 160px; }
  .visual-flow { right: 38px; bottom: 32px; }
  .manifesto { padding: 110px 36px; grid-template-columns: 1fr; gap: 48px; }
  .manifesto-side { height: auto; gap: 45px; }
  .scale-mark { height: 100px; }
  .work-grid, .media-count-2, .media-count-3 { grid-template-columns: 1fr; }
  .work-card { min-height: 430px; }
  .work { padding: 110px 18px 90px; }
  .contact-box { padding: 50px 28px; }
  .contact-grid { width: 75%; }
  .contact-welding-art { opacity: .16; mask-image: linear-gradient(90deg, transparent 12%, #000 100%); }
  .footer { height: 52px; }
  .section-rail { display: none; }
  .hero-footer span:first-child { display: none; }
  .subpage-shell { padding-top: 76px; }
  .subpage-hero { grid-template-columns: 1fr; padding: 90px 36px 70px; gap: 30px; }
  .subpage-index { height: auto; flex-direction: row; }
  .subpage-index i { height: 1px; width: 75%; background: linear-gradient(90deg,var(--gold),rgba(252,216,4,.05)); }
  .product-row { grid-template-columns: 35px 1fr; padding: 36px 28px; gap: 25px; }
  .product-row > p, .product-row .status { grid-column: 2; }
  .page-note, .next-page { padding-inline: 28px; }
  .next-page { align-items: flex-start; flex-direction: column; justify-content: center; gap: 12px; }
  .media-placeholder { min-height: 300px; }
  .detail-hero { grid-template-columns: 1fr; padding: 90px 36px 70px; }
  .detail-overview { grid-template-columns: 1fr; padding: 80px 36px; }
  .spec-section { padding: 80px 36px; }
  .spec-row { grid-template-columns: 1fr; gap: 8px; }
  .detail-image { min-height: 360px; }
}

@media (max-width: 520px) {
  body { background-attachment: fixed; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { justify-content: space-between; }
  .hero-grid { padding-top: 60px; }
  .hero-copy h1, .subpage-hero h1, .detail-hero h1 { font-size: 50px; }
  .manifesto-copy h2, .contact h2 { font-size: 44px; }
  .manifesto-copy p { font-size: 15px; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 28px; }
  .work { padding-block: 100px 80px; }
  .footer { gap: 12px; font-size: 8px; letter-spacing: .04em; }
  .contact { padding-block: 90px; }
  .contact-box { min-height: 490px; }
  .subpage-intro { font-size: 17px; }
  .product-row h2 { font-size: 28px; }
  .next-page a { font-size: 12px; }
  .detail-overview h2 { font-size: 38px; }
  .media-placeholder strong { font-size: 20px; }
  .visual-meta-right, .visual-crosshair { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nav, .button, .work-card { transition: none; }
}

/* Readability adjustments; the supplied page content and desktop layout stay intact. */
.nav nav { font-size: 14px; line-height: 1.3; letter-spacing: .035em; }
.eyebrow, .tag, .button, .section-label, .subpage-index {
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: .05em;
}
.visual-meta, .visual-flow { font-size: 12px; line-height: 1.3; letter-spacing: .035em; }
.hero-footer, .footer { font-size: 12px; line-height: 1.4; letter-spacing: .04em; }
.card-no, .product-number, .contact-details, .spec-row span {
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: .035em;
}
.status, .next-page, .media-placeholder span, .media-placeholder small, .scale-mark::after {
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: .04em;
}
.section-rail a { font-size: 12px; }
.spec-note { font-size: 14px; line-height: 1.6; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

@media (max-width: 850px) {
  .nav { padding: 16px; flex-wrap: wrap; gap: 12px; background: transparent; }
  .nav nav { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
  .nav nav a { display: flex; align-items: center; justify-content: center; min-height: 40px; border: 1px solid var(--gold-line-soft); font-size: 12px; letter-spacing: 0; }
  .hero, .subpage-shell { padding-top: 162px; }
  .manifesto { scroll-margin-top: 162px; }
  .section-label span { margin-right: 14px; }
}

@media (max-width: 520px) {
  .footer { font-size: 12px; }
  .next-page a { font-size: 14px; line-height: 1.5; }
  .visual-meta-left { left: 30px; }
  .visual-flow { right: 28px; font-size: 11px; }
}

@media (max-width: 380px) {
  .nav nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero, .subpage-shell { padding-top: 202px; }
  .manifesto { scroll-margin-top: 202px; }
}



.nav { padding-right: 0; }
.hero-footer { display: none; }
.consistent-menu #contact { scroll-snap-align: end; }
.nav nav {
  gap: 0;
  align-self: stretch;
  align-items: stretch;
  border-right: 0;
  box-shadow: inset -.5px 0 rgba(252, 216, 4, .32);
}
.nav nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border: 0;
  box-shadow: inset .5px 0 rgba(252, 216, 4, .32);
  border-radius: 0;
  color: var(--gold);
  background-color: transparent;
  transition: color .18s ease, background-color .18s ease;
}
.nav nav a[aria-current="page"] { color: #fff; }
/* Keep the menu transparent both at the top and while scrolling. */
.frame-scrolled .nav nav a { background-color: transparent; }
.nav nav a:hover, .nav nav a:focus-visible {
  color: #fff;
  background-color: rgba(8, 5, 12, .32);
}
.footer { gap: 16px; align-items: stretch; padding-inline: 0; color: #fff; }
.footer > span, .footer > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 20px;
  border: 0;
  box-shadow: inset .5px 0 rgba(252, 216, 4, .32), inset -.5px 0 rgba(252, 216, 4, .32);
  border-radius: 0;
  transition: color .18s ease, background-color .18s ease;
}
.footer > span { justify-self: start; }
.footer > a { gap: 5px; justify-self: end; }
.footer > a:hover, .footer > a:focus-visible {
  color: var(--gold);
  background-color: rgba(8, 5, 12, .32);
  text-shadow: none;
}
.section-rail a {
  width: 76px;
  height: 32px;
  padding-inline: 10px;
  font-size: 12px;
  letter-spacing: .02em;
}
@media (min-width: 851px) and (max-width: 1150px) {
  .nav nav a { padding-inline: 7px; }
}
@media (min-width: 851px) and (max-width: 1000px) {
  .nav nav a { padding-inline: 4px; }
}
@media (max-width: 850px) {
  .nav nav { gap: 0; }
  .nav nav a { min-height: 40px; padding: 0; }
  .hero, .subpage-shell { padding-top: 162px; }
  .manifesto { scroll-margin-top: 162px; }
}
@media (min-width: 381px) and (max-width: 850px) {
  .nav nav { grid-template-columns: 1fr 1fr 1.2fr; }
}
@media (max-width: 380px) {
  .hero, .subpage-shell { padding-top: 202px; }
  .manifesto { scroll-margin-top: 202px; }
}
@media (prefers-reduced-motion: reduce) {
  .nav nav a, .footer > a, .footer > span { transition: none; }
}



.manifesto.middle-section-boxed,
.work.middle-section-boxed {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  min-height: 100svh;
  padding: 120px 0;
  gap: 0;
  border: 0;
  background: transparent;
  scroll-margin-top: 0;
}
.middle-section-box {
  width: 100%;
  flex: 0 0 auto;
  color: #fff;
  background: rgba(25, 21, 29, .80);
  border: 1px solid var(--gold-line);
  border-bottom: 8px solid var(--gold);
}
.manifesto > .middle-section-box {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 2.5fr;
  align-items: center;
  gap: 8vw;
  padding: 80px 70px;
}
.work > .middle-section-box { padding: 60px 40px; }
@media (max-width: 850px) {
  .manifesto.middle-section-boxed,
  .work.middle-section-boxed { padding-block: 182px 90px; }
  .manifesto > .middle-section-box {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 50px 36px;
  }
  .work > .middle-section-box { padding: 40px 18px; }
}
@media (max-width: 380px) {
  .manifesto.middle-section-boxed,
  .work.middle-section-boxed { padding-top: 222px; }
}


/* Preserve the existing image grids; show complete images without cropping hardware. */
.media-grid:has(.media-artwork) { scroll-margin-top: 96px; }
.media-artwork {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #17131c;
  color: #fff;
}
.media-artwork img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  background: #111116;
}
.media-artwork figcaption { flex: 1; padding: 22px 28px 24px; border-top: 1px solid var(--gold-line-soft); }
.media-artwork strong { display: block; margin-bottom: 9px; font-size: 22px; line-height: 1.2; letter-spacing: -.025em; }
.media-artwork small { display: block; color: #bcb2c0; font-size: 12px; line-height: 1.5; letter-spacing: .04em; text-transform: uppercase; }
.detail-hero .media-artwork { align-self: center; min-height: 0; border: 1px solid var(--gold-line-soft); }
@media (max-width: 850px) {
  .media-grid:has(.media-artwork) { scroll-margin-top: 162px; }
  .media-artwork figcaption { padding: 20px 24px; }
  .media-artwork strong { font-size: 20px; }
}
@media (max-width: 380px) {
  .media-grid:has(.media-artwork) { scroll-margin-top: 202px; }
}



.robot-capabilities {
  padding: 56px 50px 64px;
  margin-block: 0;
  color: #fff;
  background: rgba(25, 21, 29, .44);
  border-inline: 1px solid var(--gold-line-soft);
  scroll-margin-top: 96px;
}
.capabilities-heading { margin-bottom: 30px; }
.capabilities-heading .tag { margin-bottom: 16px; }
.capabilities-heading h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -.04em;
  font-weight: 570;
}
.capabilities-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.capability-box {
  padding: 32px;
  border: 1px solid var(--gold-line);
  background: rgba(25, 21, 29, .34);
}
.capability-number {
  display: block;
  margin-bottom: 36px;
  color: var(--gold);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: .06em;
}
.capability-box h3 { margin-bottom: 16px; font-size: 30px; line-height: 1.12; letter-spacing: -.035em; }
.capability-box p { margin-bottom: 0; max-width: 48ch; color: #d3cad5; font-size: 17px; line-height: 1.65; }
@media (max-width: 850px) {
  .robot-capabilities { padding: 40px 28px 44px; scroll-margin-top: 162px; }
  .capabilities-grid { grid-template-columns: 1fr; gap: 16px; }
  .capability-box { padding: 28px; }
  .capability-box h3 { font-size: 28px; }
}
@media (max-width: 380px) {
  .robot-capabilities { padding-inline: 20px; scroll-margin-top: 202px; }
  .capability-box { padding: 24px; }
}


.contact.contact-with-news {
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 32px;
}
.latest-news { width: 100%; color: #fff; scroll-snap-align: start; scroll-margin-top: 120px; }
.latest-news-header { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.contact .latest-news h2 { margin: 0; font-size: 30px; line-height: 1.2; letter-spacing: -.035em; font-weight: 570; }
.all-updates { flex-shrink: 0; color: var(--gold); font-size: 14px; line-height: 1.5; }
.all-updates:hover { text-decoration: underline; text-underline-offset: 4px; }
.latest-news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 26px 56px 28px 28px;
  border: 1px solid var(--gold-line);
  background: rgba(25, 21, 29, .72);
  transition: background-color .18s ease, border-color .18s ease;
}
.news-card time, .news-entry time { color: #c7bec9; font-size: 13px; line-height: 1.5; }
.news-card h3 { margin: 0; font-size: 24px; line-height: 1.2; letter-spacing: -.025em; }
.news-card p { margin: 0; color: #d3cad5; font-size: 15px; line-height: 1.55; }
.news-arrow { position: absolute; right: 26px; bottom: 28px; color: var(--gold); font-size: 20px; }
.news-card:hover, .news-card:focus-visible { background: rgba(25, 21, 29, .86); border-color: rgba(252, 216, 4, .5); }
.news-page { scroll-snap-type: none; }
.news-intro { padding: 72px 50px 44px; background: rgba(25, 21, 29, .42); }
.news-intro h1 { font-size: clamp(44px, 5vw, 68px); line-height: 1.02; margin-bottom: 20px; }
.news-intro > p:last-child { margin: 0; color: #d3cad5; font-size: 18px; line-height: 1.6; }
.news-entries { background: rgba(25, 21, 29, .52); }
.news-entry { padding: 44px 50px; border-top: 1px solid var(--gold-line); scroll-margin-top: 120px; }
.news-entry h2 { margin: 14px 0 18px; font-size: 32px; line-height: 1.15; letter-spacing: -.035em; }
.news-entry p { max-width: 720px; margin: 0; color: #d3cad5; font-size: 18px; line-height: 1.65; }
.news-entry .news-more { display: inline-block; margin-top: 20px; color: var(--gold); font-size: 15px; line-height: 1.5; }
.news-entry .news-more:hover { text-decoration: underline; text-underline-offset: 4px; }
@media(max-width:850px) {
  .latest-news-grid { grid-template-columns: 1fr; }
  .visual-home .latest-news-grid > .news-card:not(:first-child) { display: none; }
  .latest-news, .news-entry { scroll-margin-top: 182px; }
  .news-intro, .news-entry { padding: 36px 28px; }
}
@media(max-width:600px) {
  .latest-news-header { flex-wrap: wrap; gap: 12px; }
  .contact .latest-news h2 { font-size: 27px; }
  .latest-news-grid { grid-template-columns: 1fr; gap: 14px; }
  .news-card { padding: 24px 52px 26px 24px; }
  .news-card h3 { font-size: 22px; }
  .news-entry h2 { font-size: 28px; }
}
@media(max-width:380px) {
  .latest-news, .news-entry { scroll-margin-top: 222px; }
}
@media(prefers-reduced-motion:reduce) { .news-card { transition: none; } }


/* Open hero and photographic development stages, based on the supplied references. */
.visual-home .hero { border-bottom: 8px solid var(--gold); }
.visual-home .hero-grid {
  position: relative;
  display: flex;
  align-items: center;
  width: min(1320px, calc(100% - 160px));
  min-height: calc(100svh - 162px);
  padding-block: 50px 80px;
}
.visual-home .hero-copy { position: relative; z-index: 3; width: 39%; max-width: 480px; }
.visual-home .hero-copy .eyebrow { font-size: 14px; letter-spacing: .15em; margin-bottom: 22px; }
.visual-home .hero-copy h1 {
  max-width: 10.5ch;
  font-size: clamp(54px, 5.2vw, 82px);
  line-height: .97;
  letter-spacing: -.055em;
  font-weight: 700;
  margin-bottom: 28px;
}
.visual-home .hero-intro { max-width: 480px; font-size: 16px; line-height: 1.6; }
.visual-home .hero-actions { gap: 7px; margin-top: 26px; }
.visual-home .hero-actions .button { min-height: 50px; padding-inline: 18px; font-size: 12px; gap: 18px; white-space: nowrap; }
.hero-hardware-scene {
  position: absolute;
  container-type: inline-size;
  width: min(76vw, 1120px);
  aspect-ratio: 3 / 2;
  left: 35%;
  top: 49%;
  transform: translateY(-50%);
  margin: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-hardware { display: block; width: 100%; height: 100%; object-fit: contain; }
.hero-hardware-scene--gouache .hero-hardware {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 14%, #000 91%, transparent), linear-gradient(to bottom, transparent, #000 11%, #000 88%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 14%, #000 91%, transparent), linear-gradient(to bottom, transparent, #000 11%, #000 88%, transparent);
  mask-composite: intersect;
}
/* Point to the tool, flat chassis and truss in the approved Gouache scene. */
.hero-hardware-scene--gouache .callout-tools {
  --callout-x: 66%; --callout-y: 27%;
  --callout-label-x: -2cqw; --callout-label-y: -8cqw;
  --callout-line-length: 8.246cqw; --callout-line-angle: -14.036deg;
}
.hero-hardware-scene--gouache .callout-robots {
  --callout-x: 46%; --callout-y: 49%;
  --callout-label-x: -14cqw; --callout-label-y: -20cqw;
  --callout-line-length: 24.413cqw; --callout-line-angle: -34.992deg;
}
.hero-hardware-scene--gouache .callout-infrastructure {
  --callout-x: 78%; --callout-y: 68%;
  --callout-label-x: -12cqw; --callout-label-y: -6cqw;
  --callout-line-length: 13.416cqw; --callout-line-angle: -63.435deg;
}
.hero-hardware-scene figcaption { position: absolute; right: 20%; bottom: 2%; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: #d3cad5; }
.hero-callout {
  position: absolute;
  left: var(--callout-x);
  top: var(--callout-y);
  transform: translate(calc(-50% + var(--callout-label-x)), calc(-100% + var(--callout-label-y)));
  display: block;
  padding: 7px 12px;
  border: 1px solid rgba(252,216,4,.65);
  background: rgba(16,10,21,.78);
  color: #fff;
  font-size: 14px;
  line-height: 1.3;
  pointer-events: auto;
  transition: background-color .2s, color .2s;
}
.hero-callout:hover, .hero-callout:focus-visible { color: var(--gold); background: rgba(16,10,21,.96); }
.hero-callout span { position: absolute; display: block; height: var(--callout-line-length); width: 1px; top: calc(100% + 1px); left: 50%; background: var(--gold); transform: rotate(var(--callout-line-angle)); transform-origin: top; pointer-events: none; }
.hero-callout span::after { content: ''; position: absolute; bottom: -5px; left: -5px; width: 10px; height: 10px; border: 2px solid var(--gold); background: rgba(16,10,21,.35); }
/* Anchor each connector to the current render; offsets scale with the image. */
.callout-tools {
  --callout-x: 24.5%; --callout-y: 49.5%;
  --callout-label-x: -8cqw; --callout-label-y: -5cqw;
  --callout-line-length: 9.434cqw; --callout-line-angle: -57.995deg;
}
.callout-robots {
  --callout-x: 44%; --callout-y: 43%;
  --callout-label-x: 6cqw; --callout-label-y: -13cqw;
  --callout-line-length: 14.318cqw; --callout-line-angle: 24.775deg;
}
.callout-infrastructure {
  --callout-x: 68.5%; --callout-y: 78%;
  --callout-label-x: 6cqw; --callout-label-y: -12cqw;
  --callout-line-length: 13.416cqw; --callout-line-angle: 26.565deg;
}
.hero-development-path { position: absolute; z-index: 4; top: min(calc(49% + min(25.3333vw, 373.333px) + 22px), calc(100% - 42px)); left: 53%; display: flex; align-items: center; gap: 22px; white-space: nowrap; }
.hero-development-path a { color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.hero-development-path a:first-child, .hero-development-path a:hover { color: var(--gold); }
.hero-development-path > span { color: #ddd6df; font-size: 20px; }

.visual-home .work.work-showcase {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
  padding: 126px 0 90px;
  border: 0;
  background: transparent;
  color: #fff;
  scroll-margin-top: 0;
}
.showcase-heading { text-align: center; margin-bottom: 24px; }
.showcase-heading .eyebrow { margin-bottom: 16px; font-size: 14px; letter-spacing: .13em; }
.showcase-heading h2 { font-size: clamp(36px, 4vw, 60px); font-weight: 700; line-height: 1.03; letter-spacing: -.045em; margin-bottom: 16px; }
.showcase-heading > p:last-child { color: #e7e1e6; font-size: 17px; line-height: 1.5; margin-bottom: 0; }
.showcase-gallery {
  --photo-height: clamp(230px, 35svh, 430px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 28px;
  padding-top: 20px;
}
.showcase-card { min-width: 0; display: block; color: #fff; }
.showcase-media { display: block; height: var(--photo-height); border: 1px solid rgba(252,216,4,.52); overflow: hidden; background: rgba(16,10,21,.4); transition: height .25s ease, border-color .2s; }
.showcase-card.is-featured .showcase-media { border-color: var(--gold); }
.showcase-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.showcase-tools img { object-position: 48% center; }
.showcase-robots img { object-position: 50% center; }
.showcase-infrastructure img { object-position: 51% center; }
.showcase-card:hover .showcase-media { border-color: var(--gold); }
.showcase-card:hover img { transform: scale(1.025); }
.showcase-card h3 { position: relative; display: flex; align-items: baseline; gap: 9px; margin: 0; padding-block: 15px 12px; border-bottom: 1px solid rgba(252,216,4,.35); font-size: clamp(22px, 2.3vw, 34px); font-weight: 650; line-height: 1.1; letter-spacing: -.035em; white-space: nowrap; }
.showcase-card h3 > span:first-child { font-weight: 500; }
.showcase-card.is-featured h3::after { content: ''; position: absolute; left: 0; bottom: -2px; height: 3px; width: 44%; background: var(--gold); }
.showcase-link-arrow { margin-left: auto; font-size: 20px; color: var(--gold); }
.showcase-card p { min-height: 42px; font-size: 15px; line-height: 1.5; color: #d3cad5; margin: 12px 0 0; }
.showcase-controls { display: flex; justify-content: center; align-items: center; gap: 28px; margin-top: 12px; }
.showcase-controls button { position: relative; min-height: 40px; padding: 6px 3px; color: #fff; background: transparent; border: 0; font: 500 12px/1.4 Arial, Helvetica, sans-serif; text-transform: uppercase; letter-spacing: .04em; cursor: pointer; }
.showcase-controls button[aria-pressed="true"] { color: var(--gold); }
.showcase-controls button[aria-pressed="true"]::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--gold); }
.showcase-controls button:hover { color: var(--gold); }
.showcase-controls button:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.showcase-controls .showcase-step { width: 38px; border: 1px solid rgba(252,216,4,.45); font-size: 19px; }
.showcase-note { margin: 15px 0 0; text-align: right; color: #bcb2c0; font-size: 10px; line-height: 1.4; letter-spacing: .04em; }

/* Why Moliri: space solar power and a positive future on Earth. */
.visual-home .manifesto.why-moliri {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  min-height: 100svh;
  padding: 122px 0 82px;
  border: 0;
  background: transparent;
  scroll-margin-top: 0;
}
.visual-home .why-moliri > .middle-section-box {
  display: block;
  padding: 0;
  border: 1px solid var(--gold-line);
  border-bottom: 8px solid var(--gold);
  background: rgba(20, 17, 27, .86);
  overflow: hidden;
}
.why-layout { display: grid; grid-template-columns: minmax(0, .76fr) minmax(0, 1.24fr); align-items: stretch; }
.why-scene { position: relative; margin: 0; min-height: 100%; overflow: hidden; border-right: 1px solid var(--gold-line); background: #0a101a; }
.why-scene img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.why-story { min-width: 0; padding: 38px 40px 30px; }
.why-heading .eyebrow { margin-bottom: 21px; font-size: 14px; line-height: 1.4; letter-spacing: .12em; }
.why-heading h2 { font-family: var(--heading, var(--sans)); font-size: clamp(33px, 3.2vw, 45px); font-weight: 650; line-height: 1.13; letter-spacing: -.045em; margin: 0 0 23px; }
.why-heading h2 > span { color: var(--gold); }
.why-premise { color: #f2f1f6; font-size: 16px; line-height: 1.65; margin: 0; }
.why-scene figcaption { position: absolute; left: 16px; bottom: 16px; max-width: calc(100% - 32px); padding: 6px 9px; background: rgba(10, 15, 24, .8); color: #edeef2; font-size: 11px; line-height: 1.5; }
.why-purpose { display: grid; gap: 21px; margin-top: 26px; }
.why-story-block h3 { color: #fff; font-size: 15px; font-weight: 600; line-height: 1.4; letter-spacing: 0; margin: 0 0 7px; }
.why-purpose p { margin: 0; color: #e8e5ec; font-size: 15px; line-height: 1.65; }
.why-links { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px 24px; margin-top: 25px; padding-top: 19px; border-top: 1px solid var(--gold-line-soft); }
.why-next { display: inline-flex; align-items: center; gap: 16px; color: var(--gold); font-size: 13px; font-weight: 600; line-height: 1.5; }
.why-next > span:last-child { font-size: 20px; }
.why-next:hover { color: #fff; }
.why-next:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; }

/* Main-index copy: consistent paragraph type with compact, visible breaks. */
.why-copy-compact .why-premise,
.why-copy-compact .why-purpose p { font-family: var(--sans); font-size: 15px; font-weight: 400; line-height: 1.65; color: #e8e5ec; }
.why-copy-compact .why-purpose { gap: 18px; margin-top: 20px; }
.why-copy-compact .why-story-block p + p { margin-top: 12px; }

@media (min-width: 851px) and (max-width: 1150px) {
  .visual-home .hero-grid { width: calc(100% - 120px); }
  .visual-home .hero-copy { width: 44%; }
  .visual-home .hero-copy h1 { font-size: 58px; }
  .hero-hardware-scene { left: 39%; width: 76vw; }
  .hero-callout { font-size: 11px; padding: 6px 8px; }
  .callout-infrastructure {
    --callout-label-x: -4cqw; --callout-label-y: -9cqw;
    --callout-line-length: 9.849cqw; --callout-line-angle: -23.962deg;
  }
  .hero-development-path { left: 48%; gap: 12px; }
  .showcase-gallery { gap: 16px; }
  .showcase-card h3 { gap: 6px; font-size: 23px; }
}
@media (min-width: 851px) and (max-height: 760px) {
  .visual-home .hero-grid { padding-top: 30px; padding-bottom: 65px; }
  .visual-home .hero-copy h1 { font-size: clamp(52px, 4.4vw, 68px); }
  .visual-home .hero-copy .eyebrow { margin-bottom: 16px; }
  .visual-home .hero-intro { font-size: 15px; }
  .hero-development-path { top: auto; bottom: 20px; }
  .visual-home .work.work-showcase { padding-top: 118px; padding-bottom: 75px; }
  .showcase-heading { margin-bottom: 14px; }
  .showcase-heading h2 { font-size: 38px; margin-bottom: 10px; }
  .showcase-heading > p:last-child { font-size: 15px; }
  .showcase-gallery { --photo-height: 25svh; padding-top: 10px; }
  .showcase-card h3 { font-size: 25px; padding-block: 12px 9px; }
  .showcase-card p { margin-top: 8px; min-height: 36px; font-size: 13px; }
  .showcase-controls { margin-top: 5px; }
  .showcase-note { margin-top: 8px; }
  .visual-home .manifesto.why-moliri { padding-block: 114px 76px; }
  .why-heading h2 { font-size: 39px; margin-bottom: 17px; }
  .why-heading .eyebrow { margin-bottom: 17px; }
}
@media (max-width: 850px) {
  html.visual-home-page { scroll-snap-type: y proximity; }
  .visual-home .hero-grid { display: flex; flex-direction: column; align-items: stretch; width: calc(100% - 48px); min-height: 0; padding: 48px 0 32px; }
  .visual-home .hero-copy { width: 100%; max-width: 620px; }
  .visual-home .hero-copy h1 { max-width: 13ch; font-size: clamp(45px, 8vw, 66px); }
  .visual-home .hero-intro { max-width: 540px; font-size: 17px; }
  .visual-home .hero-actions { flex-direction: row; align-items: stretch; flex-wrap: wrap; }
  .hero-hardware-scene { position: relative; left: auto; top: auto; transform: none; width: calc(100% + 36px); margin: 22px -18px 0; aspect-ratio: auto; }
  .hero-hardware { height: auto; aspect-ratio: 3 / 2; }
  .hero-callouts { display: none; }
  .hero-callout { position: static; font-size: 11px; padding: 8px; }
  .hero-callout span { display: none; }
  .hero-hardware-scene figcaption { position: static; text-align: right; margin: 12px 22px 0; }
  .hero-development-path { position: static; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
  .hero-development-path a { font-size: 11px; }
  .visual-home .work.work-showcase { min-height: 0; padding: 190px 0 90px; }
  .showcase-heading { text-align: left; margin-bottom: 32px; }
  .showcase-heading h2 { max-width: 13ch; font-size: clamp(38px, 7vw, 56px); }
  .showcase-heading > p:last-child { font-size: 16px; }
  .showcase-gallery, .work-showcase[data-featured] .showcase-gallery { grid-template-columns: 1fr; gap: 30px; padding-top: 0; }
  .showcase-media, .showcase-card.is-featured .showcase-media { height: auto; aspect-ratio: 4 / 3; }
  .showcase-card h3 { font-size: 28px; }
  .showcase-card p { min-height: 0; font-size: 15px; }
  .showcase-controls { display: none; }
  .showcase-note { text-align: left; margin-top: 24px; }
  .visual-home .manifesto.why-moliri { width: calc(100% - 48px); min-height: 0; padding-block: 182px 90px; }
  .why-layout { grid-template-columns: 1fr; }
  .why-story { padding: 28px 25px; }
  .why-heading .eyebrow { margin-bottom: 21px; }
  .why-heading h2 { font-size: clamp(29px, 5.7vw, 45px); letter-spacing: -.04em; margin-bottom: 19px; }
  .why-scene { min-height: 0; height: auto; aspect-ratio: 2 / 3; border-right: 0; border-bottom: 1px solid var(--gold-line); }
  .why-scene figcaption { left: 10px; bottom: 10px; max-width: calc(100% - 20px); font-size: 10px; }
  .why-purpose p { font-size: 15px; }
  .why-next { font-size: 12px; }
}
@media (max-width: 380px) {
  .visual-home .hero-copy h1 { font-size: 43px; }
  .visual-home .hero-actions .button { padding-inline: 12px; font-size: 11px; gap: 12px; }
  .visual-home .work.work-showcase { padding-top: 230px; }
  .visual-home .manifesto.why-moliri { width: calc(100% - 32px); padding-top: 222px; }
  .why-story { padding-inline: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-callout, .showcase-gallery, .showcase-media, .showcase-media img { transition: none; }
}


/* Shared type trial: Montserrat headings and Inter for reading/UI text.
   Self-hosted Google Fonts; redistribution licenses are in assets/fonts/. */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('../assets/fonts/montserrat-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('../assets/fonts/montserrat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --sans: 'Inter', Arial, sans-serif;
  --mono: 'Inter', Arial, sans-serif;
  --heading: 'Montserrat', Arial, sans-serif;
}
body { font-optical-sizing: auto; }
h1, h2, h3 { font-family: var(--heading); }
h1, .subpage-hero h1, .detail-hero h1,
.visual-home .hero-copy h1 {
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: -.04em;
}
.manifesto-copy h2, .contact h2, .showcase-heading h2,
.detail-overview h2, .news-entry h2 { line-height: 1.09; letter-spacing: -.035em; font-weight: 600; }
.product-row h2, .news-card h3 { line-height: 1.16; letter-spacing: -.025em; font-weight: 600; }
.showcase-card h3 { font-size: clamp(22px, 2.05vw, 30px); font-weight: 600; letter-spacing: -.035em; line-height: 1.15; }
.showcase-controls button { font-family: var(--sans); letter-spacing: .015em; }
.nav nav { letter-spacing: .015em; font-weight: 600; }
.eyebrow, .tag, .section-label, .button { letter-spacing: .06em; }
.footer { font-family: var(--sans); font-size: 13px; font-weight: 500; line-height: 1.5; letter-spacing: 0; text-shadow: none; }
.contact-details { font-family: var(--sans); font-size: 15px; font-weight: 400; line-height: 1.85; letter-spacing: 0; text-transform: none; color: #ede8ee; }
.contact-name { font-family: var(--heading); font-size: 16px; line-height: 1.5; font-weight: 600; margin-bottom: 12px; }
.hero-callout, .hero-development-path a, .section-rail a { font-family: var(--sans); }
.showcase-card p { line-height: 1.6; }
@media (min-width: 851px) and (max-width: 1150px) {
  .showcase-card h3 { font-size: 22px; gap: 5px; }
  .showcase-link-arrow { font-size: 16px; }
}
@media (min-width: 851px) and (max-width: 1000px) {
  .showcase-card h3 { font-size: 19px; }
}
@media (min-width: 851px) and (max-height: 760px) {
  .contact-box { padding-block: 48px; }
}
@media (max-width: 850px) {
  .showcase-card h3 { font-size: 26px; }
  /* Keep the footer in the page flow, visible only when reaching the end. */
  .footer {
    position: relative;
    inset: auto;
    transform: none;
    z-index: 1;
    height: auto;
    min-height: 52px;
    gap: 12px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    font-size: 12px;
    scroll-snap-align: end;
  }
  .footer > span, .footer > a { min-height: 52px; padding-inline: 12px; white-space: nowrap; }
  .subpage-shell { padding-bottom: 0; }
  .contact-details { font-size: 14px; line-height: 1.8; }
}
@media (max-width: 380px) {
  .showcase-card h3 { font-size: 23px; }
}

/* Team: a scroll section between the company story and contact, with no menu entry. */
.visual-home .team-section {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 102px 0 102px;
  color: #fff;
}
.team-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 2fr); gap: 26px; align-items: center; }
.team-intro { min-width: 0; }
.team-intro .eyebrow { margin-bottom: 22px; font-size: 13px; letter-spacing: .09em; }
.team-intro h2 { margin: 0 0 26px; font-size: clamp(42px, 4vw, 60px); line-height: 1.04; font-weight: 650; letter-spacing: -.045em; }
.team-intro h2 span { display: block; }
.team-intro > p:not(.eyebrow) { max-width: 36ch; margin: 0; color: #f0ebf2; font-size: 16px; line-height: 1.65; }
.team-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.team-actions .button { min-height: 46px; padding-inline: 18px; gap: 20px; font-size: 11px; }
.team-members { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.team-card { display: flex; flex-direction: column; min-width: 0; margin: 0; border: 1px solid rgba(252,216,4,.40); background: rgba(20,13,25,.72); }
.team-card img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 38%; border-bottom: 1px solid rgba(252,216,4,.40); }
.team-card figcaption { flex: 1; padding: 18px; }
.team-card h3 { margin: 0; padding-bottom: 12px; border-bottom: 1px solid var(--gold-line-soft); color: var(--gold); font-size: clamp(21px, 1.85vw, 27px); font-weight: 600; line-height: 1.2; letter-spacing: -.035em; }
.team-profile-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; margin-block: -7px; color: var(--gold); text-decoration: none; transition: color .18s ease; }
.team-profile-arrow { flex: none; font-size: 20px; font-weight: 400; }
.team-profile-link:hover, .team-profile-link:focus-visible { color: #fff; }
.team-profile-link:focus-visible { outline: 1px solid var(--gold); outline-offset: 5px; }
.team-card figcaption p { margin: 12px 0 0; color: #fff; font-size: 11px; font-weight: 600; line-height: 1.5; letter-spacing: .14em; text-transform: uppercase; }
@media (min-width: 851px) and (max-width: 1420px) {
  .visual-home .team-section { width: calc(100% - 200px); }
  .team-layout { gap: 20px; }
  .team-members { gap: 16px; }
  .team-intro h2 { font-size: clamp(36px, 4vw, 54px); }
}
@media (min-width: 851px) and (max-height: 760px) {
  .visual-home .team-section { padding-block: 94px 96px; }
  .team-card img { height: clamp(280px, 48svh, 400px); aspect-ratio: auto; }
  .team-intro h2 { font-size: clamp(36px, 3.4vw, 50px); }
  .team-intro > p:not(.eyebrow) { font-size: 15px; line-height: 1.6; }
}
@media (max-width: 1100px) {
  .visual-home .team-section { padding-block: 122px 82px; }
  .team-layout { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .team-intro { max-width: 680px; }
  .team-intro h2 span { display: inline; }
  .team-intro > p:not(.eyebrow) { max-width: 60ch; }
}
@media (max-width: 850px) {
  .visual-home .team-section { width: calc(100% - 48px); min-height: 0; padding-block: 182px 90px; }
  .team-intro h2 { max-width: 12ch; font-size: clamp(40px, 7vw, 56px); }
  .team-card h3 { font-size: 24px; }
  .team-card figcaption p { letter-spacing: .09em; }
}
@media (max-width: 600px) {
  .team-members { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .team-card h3 { font-size: 26px; }
}
@media (max-width: 380px) {
  .visual-home .team-section { width: calc(100% - 32px); padding-top: 222px; }
}

/* Compact, progressively enhanced mobile navigation. Desktop remains unchanged. */
.nav-toggle { display: none; }
@media (max-width: 850px) {
  .mobile-nav-ready { --mobile-header-height: 76px; }
  .nav.nav--collapsible {
    z-index: 30;
    height: var(--mobile-header-height);
    min-height: var(--mobile-header-height);
    padding: 0 16px;
    flex-wrap: nowrap;
    gap: 16px;
  }
  .nav--collapsible .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    min-height: 44px;
    padding: 0;
    border: 1px solid var(--gold);
    border-radius: 0;
    color: var(--ink);
    background: var(--gold);
    font: 600 13px/1 var(--sans);
    letter-spacing: .04em;
    text-transform: uppercase;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .nav-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
  .nav-toggle-icon { display: grid; gap: 4px; width: 18px; }
  .nav-toggle-icon > span { display: block; height: 1px; background: currentColor; }
  .is-menu-open .nav-toggle-icon > span:first-child { transform: translateY(5px) rotate(45deg); }
  .is-menu-open .nav-toggle-icon > span:nth-child(2) { opacity: 0; }
  .is-menu-open .nav-toggle-icon > span:last-child { transform: translateY(-5px) rotate(-45deg); }
  .nav.nav--collapsible > nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: auto;
    right: 16px;
    width: min(240px, calc(100% - 32px));
    max-height: calc(100svh - var(--mobile-header-height) - 24px);
    max-height: calc(100dvh - var(--mobile-header-height) - 24px);
    overflow-y: auto;
    overscroll-behavior: contain;
    grid-template-columns: minmax(0, 1fr);
    border: 1px solid var(--gold-line);
    box-shadow: none;
    background: rgba(17, 10, 22, .96);
  }
  .nav.nav--collapsible.is-menu-open > nav { display: grid; }
  .nav.nav--collapsible.is-menu-open { --nav-shade-left: .90; --nav-shade-right: .96; }
  .nav.nav--collapsible > nav > a {
    justify-content: flex-start;
    min-height: 52px;
    padding: 14px 20px;
    border: 0;
    border-bottom: 1px solid var(--gold-line-soft);
    font-size: 14px;
    letter-spacing: .035em;
  }
  .nav.nav--collapsible > nav > a:last-child { border-bottom: 0; }
  .mobile-nav-ready .hero,
  .mobile-nav-ready .subpage-shell { padding-top: var(--mobile-header-height); }
  .mobile-nav-ready .manifesto,
  .mobile-nav-ready .media-grid:has(.media-artwork),
  .mobile-nav-ready .robot-capabilities { scroll-margin-top: var(--mobile-header-height); }
  .mobile-nav-ready .latest-news,
  .mobile-nav-ready .news-entry { scroll-margin-top: calc(var(--mobile-header-height) + 20px); }
  .mobile-nav-ready .visual-home .work.work-showcase { padding-top: calc(var(--mobile-header-height) + 28px); }
  .mobile-nav-ready .visual-home .manifesto.why-moliri { padding-top: calc(var(--mobile-header-height) + 20px); scroll-margin-top: 0; }
}
