/* Local presentation layer: keep the exported application bundle intact. */
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("./fonts/dm-sans-latin-variable.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("./fonts/manrope-latin-variable.woff2") format("woff2");
}

:root {
  --font-body: "DM Sans", "Segoe UI", sans-serif;
  --font-display: "Manrope", "Segoe UI", sans-serif;
  --hero-logo-scale: 3;
  --muted: #adb8d0;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  font-optical-sizing: auto;
}

button, input, select, textarea { font-family: var(--font-body); }

h1, h2, h3, .scene-caption > b {
  font-family: var(--font-display);
  font-feature-settings: "ss01" on;
}

h2 {
  font-size: clamp(40px, 4.5vw, 72px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.055em;
  text-wrap: balance;
}

p { font-size: 16px; line-height: 1.8; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: .18em;
}

.nav-shell > nav a, .nav-cta { font-size: 13px; font-weight: 500; }
.button { font-weight: 600; letter-spacing: -.01em; }
.inline-link { font-size: 14px; font-weight: 500; }

/* Real imagery stays below content and never captures pointer input. */
main > section { position: relative; isolation: isolate; }

main > section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: var(--section-image, url("./ambient-architecture.webp"));
  background-size: cover;
  background-repeat: no-repeat;
  background-position: var(--section-position, center);
  opacity: var(--section-image-opacity, .16);
  filter: saturate(.5);
}

.hero {
  --section-image-opacity: .8;
  --section-position: center right;
  background: #080e20;
  grid-template-columns: 1fr;
  min-height: max(960px, 100svh);
  padding-top: 180px;
  padding-bottom: 140px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, #080e20 0%, #080e20f5 26%, #080e20e8 38%, #080e2099 48%, transparent 66%),
    linear-gradient(180deg, #080e20c9 0%, transparent 24%, transparent 72%, #080e20 100%);
}

.hero-copy { max-width: 690px; }
.hero .eyebrow { max-width: none; font-size: 10px; letter-spacing: .16em; }

.hero h1 {
  margin: 32px 0 30px;
  font-size: clamp(82px, 8.2vw, 136px);
  font-weight: 550;
  line-height: 1.02;
  letter-spacing: -.07em;
}

.hero h1 em { color: #b7c6ff; }
.title-period { margin-left: 16px; }
.hero-copy > p { max-width: 31em; color: #bbc5db; font-size: 18px; line-height: 1.75; }
.hero-note { color: #a4b2ce; font-size: 12px; line-height: 1.7; }

/* Three times the original sculpture scale; the hero becomes its frame. */
.hero-art {
  position: absolute;
  top: 145px;
  left: 59%;
  width: 41%;
  height: calc(100% - 240px);
  max-width: none;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  aspect-ratio: auto;
  overflow: visible;
  z-index: auto;
  isolation: auto;
}

.hero-art::after, .gallery-horizon { display: none; }
.gallery-light { opacity: .4; }

.hero .logo-scene {
  transform: scale(var(--hero-logo-scale));
  transform-origin: 50% 46%;
  filter: drop-shadow(12px 30px 34px #02041388);
}

.scene-index {
  z-index: 3;
  top: 15px;
  left: 0;
  right: 15%;
  text-align: right;
  color: #a0afd0;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .16em;
}

.scene-caption { bottom: 110px; left: 0; right: 15%; text-align: right; z-index: 3; text-shadow: 0 2px 16px #020413; }
.scene-caption > span { color: #9aaacc; font-family: var(--font-body); font-size: 9px; }
.scene-caption > b { color: #e3eaff; font-size: 22px; letter-spacing: -.035em; }
.scene-controls { bottom: 35px; left: auto; right: 15%; transform: none; }
.scene-controls > div, .scene-controls .pause-button { background: #0b132be6; backdrop-filter: blur(12px); }
.scene-controls button { min-height: 40px; padding: 10px 15px; font-family: var(--font-body); font-size: 12px; }
.hero-bottom { z-index: 3; font-family: var(--font-body); font-size: 9px; font-weight: 500; letter-spacing: .16em; }

.intro {
  --section-image: url("./studio-sculpture.webp");
  --section-image-opacity: .065;
  --section-position: left 58%;
}
.intro::before { mask-image: linear-gradient(90deg, #000, transparent 88%); }
.intro h2 > span { color: #9aaad0; }
.intro-grid .large-copy { font-size: clamp(22px, 2vw, 28px); letter-spacing: -.025em; line-height: 1.5; }
.intro-grid p:not(.large-copy) { font-size: 16px; color: #b1bdd5; }
.ecosystem h3 { font-size: 29px; font-weight: 500; letter-spacing: -.045em; }
.ecosystem p { color: #a8b6d1; font-size: 14px; }
.ecosystem > div > span { font-family: var(--font-body); font-size: 11px; }

.solutions { --section-image-opacity: .24; --section-position: center right; }
.solutions::before { mask-image: linear-gradient(90deg, transparent, #000); }
.section-heading > p { color: #b1bdd5; font-size: 16px; line-height: 1.75; }
.solution-list h3 { font-size: 19px; font-weight: 500; letter-spacing: -.025em; }
.solution-list h3 button { line-height: 1.45; }
.service-detail p { color: #b1bdd5; font-size: 15px; }
.service-number { font-family: var(--font-body); font-size: 11px; }
.tags > span { font-size: 11px; line-height: 1.5; }
.service-detail .inline-link { font-size: 13px; }
.solution-visual { background-color: #111b30; }

.automation {
  --section-image: url("./studio-sculpture.webp");
  --section-image-opacity: .075;
  --section-position: right 35%;
}
.automation::before { mask-image: linear-gradient(90deg, transparent 15%, #000); }
.automation-copy > p, .studio-copy > p { color: #b1bdd5; font-size: 17px; line-height: 1.8; }
.demo-track p { font-size: 15px; }
.demo-track small { font-size: 10px; }
.demo-footnote { font-size: 12px; line-height: 1.7; }
.demo-play { font-weight: 500; font-size: 14px; }

.software { --section-image-opacity: .045; --section-position: center 70%; }
.software::before { filter: grayscale(1); mix-blend-mode: multiply; }
.software .section-heading > p { color: #4d617e; }
.system-slide { background: #f5f7fcf5; }
.product-copy h3 { font-weight: 550; letter-spacing: -.045em; line-height: 1.2; }
.product-copy p, .product-copy li { font-size: 16px; line-height: 1.75; }
.showcase-toolbar > p, .system-slide-heading { font-weight: 500; }

.studio { --section-image-opacity: .2; --section-position: right top; }
.studio::before { mask-image: linear-gradient(90deg, transparent, #000); }
.principle h3 { font-size: 19px; font-weight: 550; letter-spacing: -.025em; }
.principle p { color: #b1bdd5; font-size: 15px; }

.process { --section-image-opacity: .22; --section-position: center bottom; }
.process::before { transform: scaleX(-1); mask-image: linear-gradient(90deg, transparent, #000); }
.process > div > p { font-size: 16px; }
.process-list h3 button { font-family: var(--font-display); font-size: 20px; font-weight: 500; letter-spacing: -.03em; }
.process-list article > p { color: #b1bdd5; font-size: 15px; }

.industries {
  --section-image: url("./studio-sculpture.webp");
  --section-image-opacity: .045;
  --section-position: center 60%;
}
.industries > div > span:not(:only-child) { color: #bac6de; font-size: 14px; }
.industries > p { color: #a4b2ce; font-size: 15px; }

.contact { --section-image-opacity: .075; --section-position: right center; }
.contact::before { filter: grayscale(1); mix-blend-mode: multiply; mask-image: linear-gradient(90deg, transparent 20%, #000); }
.contact h2 { font-weight: 550; letter-spacing: -.06em; }
.contact-bottom p { font-size: 17px; line-height: 1.75; }
.contact .eyebrow { font-size: 10px; }
.contact-location { font-family: var(--font-body); font-size: 10px; letter-spacing: .13em; }
.interest-label { font-size: 14px; font-weight: 500; }

@media (min-width: 761px) and (max-width: 1100px) {
  .hero { min-height: 900px; }
  .hero-copy { max-width: 570px; }
  .hero h1 { font-size: clamp(78px, 8.5vw, 94px); }
  .hero-copy > p { max-width: 27em; font-size: 17px; }
  .scene-index { font-size: 8px; }
  .scene-caption > b { font-size: 18px; }
  .scene-controls { right: 18%; gap: 8px; }
  .scene-controls button { padding-inline: 10px; font-size: 11px; }
  .ecosystem p { font-size: 13px; }
}

@media (max-width: 760px) {
  :root { --hero-logo-scale: 1.35; }
  .hero { display: flex; flex-direction: column; min-height: 0; padding: 133px 24px 95px; }
  .hero::after { background: linear-gradient(180deg, #080e2099 0%, #080e2044 38%, transparent 65%, #080e20 100%); }
  .hero-copy { width: 100%; max-width: none; }
  .hero .eyebrow { max-width: 29em; font-size: 9px; line-height: 1.8; letter-spacing: .14em; }
  .hero h1 { margin: 28px 0; font-size: clamp(70px, 16.8vw, 110px); line-height: 1.05; }
  .hero-copy > p { font-size: 17px; line-height: 1.75; }
  .hero-note { font-size: 12px; }
  .hero-art { position: relative; top: auto; left: auto; width: 100%; max-width: 500px; height: auto; aspect-ratio: .83; margin: 30px 0 20px; z-index: 2; }
  .hero .logo-scene { height: 70%; top: 0; left: -3%; transform-origin: 50% 50%; }
  .scene-index { top: 0; left: 0; right: 0; text-align: center; font-size: 8px; }
  .scene-caption { bottom: 63px; left: 0; right: 0; text-align: center; }
  .scene-caption > b { font-size: 19px; }
  .scene-caption > span { font-size: 8px; }
  .scene-controls { bottom: 0; left: 50%; right: auto; transform: translateX(-50%); }
  .scene-controls button { min-height: 40px; padding-inline: 13px; font-size: 11px; }
  .hero-bottom { font-size: 7px; letter-spacing: .07em; }
  h2, .intro h2, .section-heading h2, .automation h2, .studio h2 { font-size: clamp(36px, 9.7vw, 48px); line-height: 1.15; letter-spacing: -.05em; }
  .intro-grid .large-copy { font-size: 23px; }
  .intro-grid p:not(.large-copy), .service-detail p, .principle p, .process-list article > p { font-size: 16px; }
  .section-heading > p { font-size: 16px; }
  .ecosystem h3 { font-size: 26px; }
  .ecosystem p { font-size: 14px; }
  .solution-list h3 { font-size: 18px; }
  .service-detail .inline-link { font-size: 14px; }
  .tags > span { font-size: 12px; }
  .automation-copy > p, .studio-copy > p { font-size: 16px; }
  .process-list h3 button { font-size: 18px; }
  .industries > div > span:not(:only-child) { font-size: 13px; }
  .contact h2 { font-size: clamp(45px, 11vw, 76px); line-height: 1.1; }
  .contact .eyebrow { font-size: 9px; }
}

@media (max-width: 380px) {
  .hero { padding-inline: 20px; }
  .hero h1 { font-size: clamp(58px, 17.5vw, 66px); }
  .hero-actions .button { font-size: 13px; }
  .hero-bottom { font-size: 6.5px; }
}

@media (forced-colors: active) {
  main > section::before, .hero::after { display: none; }
}
