@font-face {
  font-family: "Anjoman Max";
  src: url("../fonts/AnjomanMaxVF.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --space: #05060b;
  --pearl: #f2f0f5;
  --muted: #a5a6b5;
  --silver: #c5c9de;
  --dawn: #d8bb9e;
  --line: rgb(214 217 242 / 13%);
  --gutter: clamp(1.5rem, 5vw, 5.5rem);
  --shell: 78rem;
  --section-pad: clamp(3rem, 4.5vw, 4.5rem);
  background: var(--space);
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--pearl); background: var(--space); font-family: "Anjoman Max", Tahoma, sans-serif; font-weight: 420; font-size: 1rem; line-height: 1.9; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
h1, h2, h3 { font-weight: 560; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
a:hover, a:focus, a:active, a:visited { text-decoration: none; }
button { font: inherit; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
button, a { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
::selection { background: #c5c9de; color: #05060b; }
:focus-visible { outline: 2px solid var(--dawn); outline-offset: 7px; border-radius: 3px; }
.shell { width: min(var(--shell), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.section-space { padding-block: var(--section-pad); }
.skip-link { position: fixed; z-index: 100; top: 1rem; right: 1rem; padding: .6rem 1.2rem; background: var(--pearl); color: var(--space); transform: translateY(-200%); }
.skip-link:focus { transform: none; }

/* Quiet framing lets the horizon remain the opening's focal point. */
.site-header { position: absolute; inset: 0 0 auto; z-index: 5; }
.header-inner { height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { flex-shrink: 0; display: inline-block; width: 160px; }
.brand img { width: 100%; }
.main-nav { display: flex; gap: 2.5rem; font-size: .875rem; color: #c8c8d2; }
.main-nav a { padding-block: .7rem; transition: color .2s; }
.main-nav a:hover { color: #fff; }
.header-contact { display: inline-flex; align-items: center; gap: 1.5rem; min-height: 44px; font-size: .85rem; padding: .35rem 1.2rem; border: 1px solid rgb(255 255 255 / 24%); border-radius: 100px; transition: background .2s, border-color .2s; }
.header-contact:hover { background: rgb(255 255 255 / 7%); border-color: rgb(255 255 255 / 50%); }
.header-contact span { font-family: Arial, sans-serif; font-size: 1.1rem; }

.hero { position: relative; min-height: 740px; height: 100svh; max-height: 1250px; isolation: isolate; overflow: hidden; }
.hero-art { position: absolute; inset: 30% -1.5% -13.5%; z-index: -3; transform: translate3d(var(--pan-x, 0px), var(--pan-y, 0px), 0); mask-image: linear-gradient(180deg, transparent, #000 18%); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 65%; }
.planet-weather { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.planet-weather.is-ready { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgb(5 6 11 / 12%), transparent 40%, transparent 72%, var(--space) 100%); }
.starlight { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }
.hero-content { padding-top: clamp(10rem, 18svh, 17rem); text-align: center; }
.hero h1 { font-size: clamp(3.25rem, 6.7vw, 6.75rem); font-weight: 620; line-height: 1.35; letter-spacing: -.035em; text-wrap: balance; }
.hero-period { color: #a32235; font-weight: 950; }
.hero-content > p { margin-top: 1rem; font-size: clamp(1rem, 1.4vw, 1.25rem); color: #c1c1ce; font-weight: 370; text-wrap: balance; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 2rem; min-height: 50px; padding: .6rem 1.6rem; border-radius: 100px; font-size: .9rem; font-weight: 520; transition: background .25s, border-color .25s; }
.button span { font-family: Arial, sans-serif; font-size: 1.25rem; line-height: 1; }
.button-light { background: var(--pearl); color: #15151f; border: 1px solid var(--pearl); }
.button-light:hover { background: #d9dbea; border-color: #d9dbea; }
.hero .button { margin-top: 2rem; }
.hero-foot { position: absolute; bottom: 2.5rem; inset-inline: 0; display: flex; align-items: center; justify-content: space-between; }
.explore { display: inline-flex; align-items: center; gap: .85rem; color: #c7c6d2; font-size: .75rem; min-height: 44px; }
.scroll-line { width: 1px; height: 2rem; background: linear-gradient(transparent, #b0b1c4); }
.motion-toggle { display: inline-flex; align-items: center; gap: .65rem; min-height: 44px; padding: .4rem .6rem; background: transparent; border: 0; cursor: pointer; color: #b8b8c8; font-size: .7rem; }
.motion-toggle:hover { color: #fff; }
.motion-toggle:disabled { cursor: default; }
.motion-icon { width: 9px; height: 10px; border-inline: 2px solid currentColor; }
.motion-toggle[aria-pressed="true"] .motion-icon { width: 0; height: 0; border: 5px solid transparent; border-right: 0; border-left: 8px solid currentColor; }

/* A single entrance; the rest of the page is readable from the start. */
@keyframes dawn-arrives { from { opacity: .4; transform: scale(1.035); } to { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: no-preference) {
  .hero-art img { animation: dawn-arrives 3.8s cubic-bezier(.2, .6, .3, 1) both; }
}
html[data-motion="off"] .hero-art img { animation: none; }

.section-label { font-size: .83rem; color: var(--silver); margin-bottom: 1.5rem; font-weight: 430; }
h2 { font-size: clamp(2rem, 3.25vw, 3.25rem); line-height: 1.55; letter-spacing: -.025em; text-wrap: balance; }
.introduction { display: grid; grid-template-columns: 1fr 1fr; gap: 8%; align-items: start; }
.intro-copy { padding-top: 2.6rem; max-width: 35rem; }
.intro-copy > p { color: #c0bfca; font-size: 1.05rem; line-height: 2.15; }
.intro-copy > p + p { color: var(--muted); margin-top: 1.1rem; }
.text-link { display: inline-flex; align-items: center; gap: 1.25rem; min-height: 44px; margin-top: 1.5rem; font-size: .88rem; color: var(--pearl); }
.text-link:hover { color: var(--dawn); }
.text-link span { font-family: Arial, sans-serif; font-size: 1.15rem; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 3rem; margin-bottom: 3.5rem; }
.section-heading > p { color: var(--muted); font-size: .95rem; margin-bottom: .4rem; }
.service { display: grid; grid-template-columns: 1fr 1.2fr .85fr; gap: 5%; align-items: start; padding-block: 2.6rem; border-top: 1px solid var(--line); }
.service:last-child { border-bottom: 1px solid var(--line); }
.service-title { display: flex; gap: 1.25rem; align-items: center; }
.service-title svg { flex-shrink: 0; width: 32px; height: 32px; color: #b5bad1; }
.service h3 { font-size: 1.25rem; font-weight: 510; }
.service > p { font-size: .95rem; color: var(--muted); line-height: 2; }
.service ul { padding-inline-start: 1rem; color: #c4c3ce; font-size: .82rem; line-height: 2.25; }
.service li::before { content: ""; display: inline-block; width: 3px; height: 3px; margin-inline-end: .7rem; border-radius: 50%; background: #6e728e; vertical-align: middle; }

.product-section { position: relative; isolation: isolate; display: flex; align-items: center; min-height: clamp(500px, 40vw, 660px); overflow: hidden; }
.product-layout { position: relative; pointer-events: none; }
.product-copy { width: 45%; pointer-events: auto; }
.product-copy > p:not(.section-label) { color: var(--muted); max-width: 30rem; margin-top: 1.5rem; line-height: 2.1; }
.button-outline { border: 1px solid rgb(255 255 255 / 28%); color: var(--pearl); margin-top: 2rem; }
.button-outline:hover { border-color: var(--silver); background: rgb(255 255 255 / 5%); }
.product-visual { position: absolute; display: block; inset: 0; width: 100%; height: 100%; z-index: -1; background: #000; mask-image: linear-gradient(180deg, transparent, #000 17%, #000 82%, transparent); }
.product-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 42% center; transform: scale(.65); transform-origin: 28% center; }
.product-visual:focus-visible { outline-offset: -8px; }

.process .section-heading { align-items: center; }
.process h2 { font-size: clamp(1.8rem, 2.8vw, 2.8rem); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.steps li { border-top: 1px solid var(--line); padding-top: 1.5rem; }
.step-number { font-size: .82rem; color: var(--silver); }
.steps h3 { font-size: 1.15rem; margin-block: 1.1rem .65rem; font-weight: 500; }
.steps p { font-size: .88rem; color: var(--muted); max-width: 14rem; }
.labs { display: grid; grid-template-columns: 1fr 1fr; align-items: start; column-gap: 8%; row-gap: 2rem; border-block: 1px solid var(--line); padding-block: var(--section-pad); }
.labs h2 { font-size: clamp(1.7rem, 2.5vw, 2.4rem); }
.labs-copy { color: var(--muted); max-width: 30rem; padding-top: .2rem; }
.labs .section-label { margin-bottom: .65rem; }
.labs .text-link { margin-top: .6rem; }
.lab-projects { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.lab-project { border-top: 1px solid var(--line); padding-top: 1.5rem; }
.project-status { display: flex; align-items: center; gap: .6rem; color: var(--muted); font-size: .72rem; }
.project-status span { width: 5px; height: 5px; border: 1px solid #a0a1b5; border-radius: 50%; }
.lab-project h3 { font-size: 1.15rem; margin-block: 1rem .7rem; font-weight: 530; }
.lab-project > p:last-child { font-size: .85rem; color: var(--muted); line-height: 2; }
.labs .labs-notify { grid-column: 1 / -1; justify-self: start; margin-top: 0; }

.contact { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding-bottom: 14rem; }
.contact-inner { position: relative; }
.contact h2 { font-size: clamp(2.6rem, 4.5vw, 4.5rem); line-height: 1.45; font-weight: 530; }
.contact-inner > p:not(.section-label) { margin-top: 1.8rem; color: var(--muted); font-size: .95rem; }
.contact .section-label { margin-bottom: 1rem; }
.email-link { display: inline-flex; gap: 1.5rem; align-items: center; font-family: Arial, sans-serif; font-size: clamp(1.2rem, 2vw, 1.8rem); font-weight: 400; margin-top: 2.5rem; }
.email-link:hover { color: var(--dawn); }
.email-link span { color: var(--dawn); }
.contact-landscape { position: absolute; z-index: -1; inset: 38% 0 -23%; overflow: hidden; mask-image: linear-gradient(180deg, transparent, #000 25%, #000 88%, transparent); }
.contact-landscape img { width: 100%; height: 100%; object-fit: cover; object-position: center 70%; }
@keyframes mars-drift {
  from { transform: scale(1.025) translate3d(-.6%, .3%, 0); }
  to { transform: scale(1.085) translate3d(.6%, -.6%, 0); }
}
html[data-motion] .contact-landscape img { animation: mars-drift 18s ease-in-out infinite alternate; animation-play-state: paused; }
html[data-motion="on"] .contact.is-visible .contact-landscape img { animation-play-state: running; }
.site-footer { display: flex; gap: 2rem; align-items: center; justify-content: space-between; min-height: 135px; border-top: 1px solid var(--line); padding-block: 2rem; }
.site-footer .brand { width: 120px; opacity: .65; }
.site-footer small { font-size: .7rem; color: #9696a6; }
.back-top { min-width: 44px; min-height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-family: Arial, sans-serif; font-size: 1.15rem; }
.back-top:hover { border-color: var(--silver); }

@media (min-width: 1800px) {
  .hero-content { padding-top: 20svh; }
}
@media (max-width: 1000px) {
  .header-inner { height: 96px; }
  .brand { width: 140px; }
  .main-nav { gap: 1.6rem; }
  .introduction { gap: 6%; }
  .service { grid-template-columns: 1fr 1.3fr; gap: 1.5rem 2rem; }
  .service ul { grid-column: 2; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
  .section-heading { gap: 2rem; }
  .steps { gap: 1.25rem; }
  .lab-projects { grid-template-columns: 1fr 1fr; }
  .site-footer { gap: 1.25rem; }
  .site-footer small { max-width: 28rem; }
}
@media (max-width: 700px) {
  :root { --gutter: 1.5rem; }
  .header-inner { height: 90px; gap: 1rem; flex-wrap: wrap; align-content: center; }
  .brand { width: 128px; }
  .header-contact { min-height: 40px; font-size: .76rem; gap: .75rem; padding: .25rem .95rem; }
  .main-nav { order: 3; width: 100%; justify-content: center; font-size: .75rem; gap: 2rem; margin-top: -.3rem; }
  .main-nav a { padding-block: .3rem; }
  .hero { height: 100svh; min-height: 720px; max-height: 1000px; }
  .hero-content { padding-top: clamp(12rem, 27svh, 16rem); }
  .hero h1 { font-size: clamp(2.55rem, 8.8vw, 3.8rem); line-height: 1.45; letter-spacing: -.04em; }
  .hero-content > p { max-width: 18rem; margin: 1rem auto 0; font-size: .95rem; line-height: 2; }
  .hero .button { margin-top: 1.8rem; }
  .hero-art img { object-position: 50% 70%; }
  .hero-art { inset-block-start: 46%; inset-block-end: -11.5%; }
  .hero-foot { bottom: 1.75rem; }
  .motion-toggle { font-size: .66rem; }
  .explore { font-size: .7rem; }
  .introduction { grid-template-columns: 1fr; gap: 1.8rem; }
  .intro-copy { padding-top: 0; }
  .intro-copy > p { font-size: 1rem; }
  h2 { font-size: clamp(1.9rem, 6.5vw, 2.7rem); }
  .section-label { margin-bottom: 1rem; }
  .section-heading { display: block; margin-bottom: 2.5rem; }
  .section-heading > p { margin-top: 1.5rem; font-size: .9rem; }
  .service { grid-template-columns: 1fr; gap: 1.1rem; padding-block: 2rem; }
  .service-title { gap: 1rem; }
  .service ul { grid-column: 1; gap: .25rem 1rem; font-size: .76rem; }
  .service h3 { font-size: 1.2rem; }
  .service > p { font-size: .9rem; }
  .product-layout { align-self: start; }
  .product-copy { width: 100%; }
  .product-visual { top: auto; bottom: var(--section-pad); height: 320px; }
  .product-visual img { object-position: 18% center; transform-origin: 50% center; }
  .product-copy > p:not(.section-label) { font-size: .95rem; }
  .product-section { min-height: 0; padding-bottom: calc(320px + var(--section-pad)); }
  .steps { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
  .steps p { font-size: .83rem; }
  .steps h3 { font-size: 1.05rem; }
  .process h2 { font-size: 1.9rem; }
  .labs { grid-template-columns: 1fr; gap: 1.5rem; }
  .labs-copy { font-size: .95rem; }
  .lab-projects { gap: 1.8rem 1.5rem; }
  .lab-project h3 { font-size: 1.05rem; }
  .lab-project > p:last-child { font-size: .8rem; }
  .contact { padding-bottom: 12rem; }
  .contact-landscape { inset-block-start: 32%; inset-block-end: -10%; }
  .contact h2 { font-size: clamp(2rem, 8.4vw, 2.8rem); }
  .site-footer { flex-wrap: wrap; padding-block: 2rem; }
  .site-footer .brand { width: 110px; }
  .site-footer small { order: 3; width: 100%; max-width: none; font-size: .67rem; }
  .back-top { margin-inline-start: auto; }
}
@media (max-width: 360px) {
  :root { --gutter: 1.1rem; }
  .hero h1 { font-size: 2.4rem; }
  .hero-content { padding-top: 12rem; }
  .brand { width: 114px; }
  .main-nav { gap: 1.5rem; }
  .steps { gap: 1.6rem 1rem; }
  .lab-projects { grid-template-columns: 1fr; }
  .contact h2 { font-size: 1.85rem; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-art { transform: none !important; }
}
