/* Omnikom.ai coming-soon page. One type family (Poppins 500/600), four sizes, one glass recipe, lime as a signal only. */

@font-face { font-family: Poppins; font-style: normal; font-weight: 500; font-display: block; src: url(../fonts/poppins-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 600; font-display: block; src: url(../fonts/poppins-latin-600-normal.woff2) format('woff2'); }

:root {
  --lime: #A8D41A;
  --ink: #f6f4ee;
  --flash: #fff7ed;
  --scene-tint: #5f6787;                 /* shown if the scene picture is missing */
  --fs-1: .875rem;                       /* 14: labels, notes, the cue, the footer line */
  --fs-2: 1rem;                          /* 16: body, fields, the button */
  --fs-3: clamp(1.125rem, .55vw + .95rem, 1.25rem);   /* 18 to 20: the vision paragraph, card titles */
  --fs-4: clamp(1.5rem, 1.9vw + .9rem, 2.5rem);       /* 24 to 40: the two statements */
  --gutter: 16px;
  --radius: 22px;
  --H: 100vh;                            /* the full screen, stable while a phone's address bar moves */
  --S: 100vh;                            /* the part of the screen that is always visible */
  color-scheme: dark;
}
@supports (height: 100lvh) { :root { --H: 100lvh; --S: 100svh; } }

*, *::before, *::after { box-sizing: border-box; }
html { background: #000; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #000; color: var(--ink); font: 500 var(--fs-2)/1.5 Poppins, system-ui, -apple-system, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, p { margin: 0; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: fixed; top: 12px; left: 12px; z-index: 20; padding: 12px 18px; border-radius: 12px; background: #000; color: var(--ink); font-size: var(--fs-1); text-decoration: none; transform: translateY(-200%); }
.skip:focus-visible { transform: none; }

/* ---------- the load */
.loader { position: fixed; inset: 0; z-index: 10; background: #000; pointer-events: none; }
.loader i { position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--lime); transform: scaleX(0); transform-origin: 0 50%; transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.is-ready .loader { opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s .6s; }
html:not(.js) .loader { display: none; }

/* ---------- the scene: one picture behind everything */
.scene { position: fixed; top: 0; left: 0; width: 100%; height: var(--H); z-index: 0; overflow: hidden; background: var(--scene-tint); contain: strict; }
.scene__pic { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url(../assets/scene-desktop.jpg) 50% 0 / cover no-repeat; transform-origin: 0 0; }
.scene__gl { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: block; opacity: 0; }
.scene__gl.is-on { opacity: 1; }
.scene__dim, .scene__flash { position: absolute; inset: 0; opacity: 0; }
.scene__dim { background: #05060c; }
.scene__flash { background: var(--flash); }
@media (max-aspect-ratio: 4/5) { .scene__pic { background-image: url(../assets/scene-portrait.jpg); } }

/* ---------- the opening, pinned */
.stage { position: fixed; top: 0; left: 0; width: 100%; height: var(--H); z-index: 3; background: #000; overflow: hidden; pointer-events: none; contain: strict; }
.stage.is-off { visibility: hidden; }
.stage__gl { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: block; }
.stage__still { position: absolute; inset: 0; }
.brand { position: absolute; top: clamp(22px, 4.5vh, 48px); left: 50%; height: clamp(34px, 4.6vw, 62px); aspect-ratio: 2330 / 546; transform: translateX(-50%); overflow: visible; }
.cue { position: absolute; left: 50%; bottom: clamp(20px, 4.5vh, 44px); display: flex; flex-direction: column; align-items: center; gap: 12px; transform: translateX(-50%); color: rgba(255, 255, 255, .66); font-size: var(--fs-1); line-height: 1; letter-spacing: .28em; text-indent: .28em; text-transform: uppercase; opacity: 0; }
.cue i { position: relative; display: block; width: 1px; height: 34px; overflow: hidden; background: rgba(255, 255, 255, .2); }
.cue i::after { content: ''; position: absolute; left: 0; top: 0; width: 1px; height: 14px; background: #fff; transform: translateY(-14px); animation: cue 2.4s cubic-bezier(.6, 0, .3, 1) infinite; }
@keyframes cue { to { transform: translateY(34px); } }
.is-film .brand { opacity: 0; }

/* ---------- the page that scrolls over the scene */
main, .footer { position: relative; z-index: 1; }
.beat--opening { height: calc(var(--H) * 2.6); }
.beat--arrival { height: calc(var(--H) * .9); }
.beat--vision { height: calc(var(--H) + var(--S)); }
.vision__pin { position: sticky; top: 0; display: flex; align-items: flex-end; justify-content: center; height: var(--S); padding: var(--gutter) var(--gutter) clamp(24px, 6.5vh, 72px); }

/* glass: a dark tint that keeps text readable over a bright sky, a 1 px light edge on top, a faint inner shadow */
.glass { border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); background: rgba(16, 18, 27, .9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 -36px 48px -36px rgba(0, 0, 0, .3), 0 30px 70px -36px rgba(0, 0, 0, .65); }
@supports ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
  .glass { background: rgba(12, 14, 22, .64); -webkit-backdrop-filter: blur(22px) saturate(1.35); backdrop-filter: blur(22px) saturate(1.35); }
}

.label { font-size: var(--fs-1); line-height: 1; letter-spacing: .08em; }
.dot { color: var(--lime); }
.headline { font-size: var(--fs-4); font-weight: 600; line-height: 1.16; letter-spacing: -.012em; text-wrap: balance; }
.lead { font-size: var(--fs-3); line-height: 1.62; }
.title { font-size: var(--fs-3); font-weight: 600; line-height: 1.3; }

.vision__panel { width: min(760px, 100%); padding: clamp(24px, 3.4vw, 44px); }
.vision__panel .headline { margin-top: 18px; }
.vision__panel .headline span { display: inline-block; }
.vision__panel .lead { margin-top: 20px; }
.w { display: inline-block; }

/* ---------- the waitlist */
.beat--waitlist { display: flex; align-items: center; justify-content: center; min-height: var(--S); padding: clamp(40px, 9vh, 96px) var(--gutter); }
.waitlist__card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 4.5vw, 64px); align-items: center; width: min(980px, 100%); padding: clamp(28px, 3.6vw, 48px); }
.slogan span { display: block; margin-top: .5em; }
.waitlist__body { display: flex; flex-direction: column; justify-content: center; }
.form { display: grid; gap: 16px; margin-top: 20px; }
.field { display: grid; gap: 6px; }
.field label { font-size: var(--fs-1); line-height: 1.3; }
.control { width: 100%; height: 48px; margin: 0; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .36); border-radius: 12px; background: rgba(255, 255, 255, .06); color: var(--ink); font: inherit; line-height: 1.2;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 -10px 14px -10px rgba(0, 0, 0, .3); -webkit-appearance: none; appearance: none; }
.control:focus-visible { outline-offset: 2px; }
.control[aria-invalid='true'] { border-color: #ffc9bd; }
select.control { padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none' stroke='%23f6f4ee' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; cursor: pointer; }
select.control option { background: #14161f; color: var(--ink); }
.field__error, .form__error { font-size: var(--fs-1); line-height: 1.35; color: #ffd3c9; }
.field--action { margin-top: 4px; }
.button { position: relative; width: 100%; height: 52px; padding: 0 24px; border: 0; border-radius: 12px; background: var(--lime); color: #0c1003; font: inherit; font-weight: 600; cursor: pointer; overflow: hidden; }
.button::after { content: ''; position: absolute; inset: 0; background: #fff; opacity: 0; transition: opacity .2s ease; }
.button:hover::after { opacity: .14; }
.button:active { transform: scale(.985); }
.button:focus-visible { outline-offset: 3px; }
.button[disabled] { opacity: .6; cursor: default; }
.button[disabled]::after { opacity: 0; }
.note { margin-top: 14px; font-size: var(--fs-1); line-height: 1.4; }
.trap { position: absolute; left: -200vw; top: 0; width: 1px; height: 1px; overflow: hidden; }
.done { display: flex; flex-direction: column; justify-content: center; }
.done:focus-visible { outline-offset: 8px; border-radius: 8px; }

/* ---------- the footer: looking down at the sea */
.footer { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 18px; min-height: calc(var(--H) * .62); padding: 48px var(--gutter) calc(40px + env(safe-area-inset-bottom, 0px)); text-align: center; }
.footer__brand { height: clamp(38px, 4.6vw, 62px); aspect-ratio: 2330 / 546; overflow: visible; }
.footer__line { font-size: var(--fs-1); line-height: 1.3; }

/* ---------- no film (reduced motion, no WebGL, no script): the same page as stills, top to bottom */
.is-still .stage, html:not(.js) .stage { position: absolute; }
.is-still .stage__gl, html:not(.js) .stage__gl { display: none; }
.is-still .stage__still, html:not(.js) .stage__still { background: #000 url(../assets/opening-still-desktop.jpg) 50% 50% / cover no-repeat; }
.is-still .cue, html:not(.js) .cue { display: none; }
.is-still .beat--opening, html:not(.js) .beat--opening { height: var(--H); }
.is-still .beat--arrival, html:not(.js) .beat--arrival { height: calc(var(--S) * .46); }
.is-still .beat--vision, html:not(.js) .beat--vision { height: auto; }
.is-still .vision__pin, html:not(.js) .vision__pin { position: static; height: auto; min-height: calc(var(--S) * .54); }
.is-still .footer, html:not(.js) .footer { background: linear-gradient(rgba(5, 6, 12, .5), rgba(5, 6, 12, .5)), var(--scene-tint) url(../assets/scene-desktop.jpg) 50% 100% / 170% auto no-repeat; }
.is-film .footer { background: none; }

/* ---------- phone: its own composition */
@media (max-width: 760px) {
  :root { --radius: 18px; }
  .brand { top: clamp(28px, 6vh, 56px); height: clamp(40px, 12.5vw, 54px); }
  .vision__pin { align-items: center; padding-bottom: var(--gutter); }
  .vision__panel { padding: 24px 20px 26px; }
  .vision__panel .label, .vision__panel .headline { text-align: center; }
  .vision__panel .headline { margin-top: 14px; }
  .vision__panel .lead { margin-top: 16px; font-size: var(--fs-2); line-height: 1.6; }
  .beat--waitlist { padding-top: 56px; padding-bottom: 56px; }
  .waitlist__card { grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 26px 20px 24px; }
  .slogan, .waitlist__body .title, .done { text-align: center; }
  .footer { min-height: calc(var(--H) * .5); }
  .is-still .footer, html:not(.js) .footer { background-size: auto 170%; }
}
@media (max-aspect-ratio: 4/5) {
  .is-still .stage__still, html:not(.js) .stage__still { background-image: url(../assets/opening-still-portrait.jpg); }
  .is-still .footer, html:not(.js) .footer { background-image: linear-gradient(rgba(5, 6, 12, .5), rgba(5, 6, 12, .5)), url(../assets/scene-portrait.jpg); }
}
@media (prefers-reduced-motion: reduce) {
  .cue i::after { animation: none; }
  .loader i, .button::after, .is-ready .loader { transition: none; }
}
