/* OrbitA. Every section is one full window: moving image behind, a few words in front. One typeface (Archivo, wide). */
@font-face { font-family: "Archivo"; src: url("assets/fonts/archivo-latin.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }

:root {
  --night: #03060f;
  --orange: #ff6b00;
  --white: #f4f6fb;
  --soft: rgba(244, 246, 251, 0.82);
  --pad: clamp(22px, 6vw, 96px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-snap-type: y proximity; }
body { margin: 0; background: var(--night); color: var(--white); font-family: "Archivo", system-ui, sans-serif; font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
h1, h2, p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }

/* Top bar: wordmark left, five quiet links right */
.bar { position: fixed; inset: 0 0 auto 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; padding: 22px var(--pad); background: linear-gradient(to bottom, rgba(3, 6, 15, 0.7), rgba(3, 6, 15, 0)); }
.mark { display: flex; align-items: center; gap: 9px; text-decoration: none; font-stretch: 120%; font-weight: 640; font-size: 1.02rem; letter-spacing: -0.01em; }
.mark svg { width: 20px; height: 20px; }
.bar nav { display: flex; gap: clamp(16px, 2.6vw, 40px); font-size: 0.82rem; font-stretch: 108%; }
.bar nav a { text-decoration: none; opacity: 0.75; }
.bar nav a:hover { opacity: 1; }

/* A panel is one window */
.panel { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; scroll-snap-align: start; }
.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--night); }
.panel::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(3, 6, 15, 0.9) 0%, rgba(3, 6, 15, 0.25) 42%, rgba(3, 6, 15, 0) 62%), linear-gradient(90deg, rgba(3, 6, 15, 0.55) 0%, rgba(3, 6, 15, 0) 55%); }
.panel-right::after { background: linear-gradient(to top, rgba(3, 6, 15, 0.9) 0%, rgba(3, 6, 15, 0.25) 42%, rgba(3, 6, 15, 0) 62%), linear-gradient(270deg, rgba(3, 6, 15, 0.55) 0%, rgba(3, 6, 15, 0) 55%); }
.copy { position: relative; z-index: 2; display: grid; gap: 10px; justify-items: start; padding: 0 var(--pad) clamp(64px, 12vh, 130px); max-width: calc(34rem + 2 * var(--pad)); }
.panel-right { justify-content: flex-end; }
.panel-right .copy { text-align: left; }

h1 { font-stretch: 122%; font-weight: 560; font-size: clamp(2.6rem, 5.6vw, 4.6rem); letter-spacing: -0.02em; line-height: 1; }
h2 { font-stretch: 118%; font-weight: 540; font-size: clamp(1.35rem, 2.1vw, 1.8rem); letter-spacing: -0.01em; line-height: 1.1; text-wrap: balance; }
.sub { font-stretch: 108%; font-weight: 420; font-size: clamp(0.98rem, 1.25vw, 1.12rem); color: var(--soft); }
.copy p:not(.sub) { color: var(--soft); max-width: 34ch; font-size: 0.94rem; }
.panel-hero .copy { max-width: none; gap: 12px; padding-bottom: clamp(70px, 13vh, 140px); }

.btn { display: inline-flex; align-items: center; margin-top: 10px; font: inherit; font-stretch: 108%; font-weight: 560; font-size: 0.84rem; color: var(--white); background: rgba(3, 6, 15, 0.2); border: 1px solid rgba(244, 246, 251, 0.6); padding: 10px 24px; cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--white); color: var(--night); }

.panel-contact { align-items: center; justify-content: center; text-align: center; }
.panel-contact::after { background: rgba(3, 6, 15, 0.55); }
.panel-contact .copy { justify-items: center; padding-bottom: 0; }
.foot { position: absolute; z-index: 2; left: 0; right: 0; bottom: 26px; text-align: center; font-size: 0.82rem; color: var(--soft); font-stretch: 108%; }

dialog { border: 0; padding: 0; background: #000; width: min(1280px, 94vw); overflow: visible; }
dialog video { display: block; width: 100%; height: auto; }
dialog::backdrop { background: rgba(2, 4, 12, 0.92); }
.film-close { position: absolute; right: 0; top: -44px; background: none; border: 1px solid rgba(244, 246, 251, 0.6); color: var(--white); font: inherit; font-size: 0.9rem; padding: 6px 18px; cursor: pointer; }

@media (max-width: 760px) {
  .bar nav a:not(:last-child) { display: none; }
  .panel-right { justify-content: flex-start; }
  .panel::after, .panel-right::after { background: linear-gradient(to top, rgba(3, 6, 15, 0.92) 0%, rgba(3, 6, 15, 0.3) 50%, rgba(3, 6, 15, 0) 72%); }
  .panel-contact::after { background: rgba(3, 6, 15, 0.55); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; scroll-snap-type: none; } }
