/* ryva.tv coming soon (/, /thanks/): one full-screen card, measured from the Sooner waitlist template
   (sooner-waitlist.framer.website). Full-bleed photo, kinetic grid on top, logo, kicker, two-line condensed
   serif title, the waitlist form that opens on hover, the count line, the footer. Fonts are self-hosted. */
@font-face { font-family: "Libre Caslon Condensed"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/soon/libre-caslon-condensed-latin.woff2) format("woff2"); }
@font-face { font-family: "Intel One Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/soon/intel-one-mono-latin.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/soon/inter-latin.woff2) format("woff2"); }
@font-face { font-family: "General Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/soon/general-sans-500.woff2) format("woff2"); }

:root {
  --serif: "Libre Caslon Condensed", "Times New Roman", serif;
  --mono: "Intel One Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --gen: "General Sans", "Inter", system-ui, -apple-system, Arial, sans-serif;
  --fg: #fff;
  --fg-8: rgb(255 255 255 / .8);
  --glass: rgb(255 255 255 / .1);
  --open: cubic-bezier(.25, 1, .5, 1);   /* the template's spring (bounce 0, 0.6 s), as a curve */
  --soft: cubic-bezier(.3, 1.2, .5, 1);  /* its button spring (bounce 0.2, 0.4 s) */
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: #000; color: var(--fg); font-family: var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- the card ---------- */
.soon { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  width: 100%; height: 100vh; height: 100svh; min-height: 680px; padding: 20px; overflow: clip; background: #000; }
.media { position: absolute; inset: 0; z-index: 0; display: flex; align-items: center; justify-content: center; overflow: clip; }
.media picture { position: relative; z-index: 0; flex: none; width: 100%; height: 100%; }
.media img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--open); }
.media img.is-in { opacity: 1; }
.grid { position: absolute; left: 0; right: 0; top: 0; z-index: 2; width: 100%; height: 100vh; height: 100svh; opacity: .6; pointer-events: none; }
.soon > :not(.media) { position: relative; z-index: 3; }
.spacer { flex: none; width: 100%; height: 45px; }

/* ---------- the middle ---------- */
.hero { display: flex; flex-direction: column; align-items: center; gap: 40px; width: 100%; max-width: 1440px; }
.brand { display: block; height: 24px; }
.brand img { display: block; height: 24px; width: auto; }
.head { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; }
.kicker, .note { margin: 0; font: 400 12px/1.2 var(--mono); letter-spacing: -.02em; text-transform: uppercase; white-space: pre; }
.title { margin: 0; font: 400 54px/1 var(--serif); letter-spacing: -.05em; text-align: center; white-space: pre; font-kerning: normal; }
.act { display: flex; flex-direction: column; align-items: center; gap: 30px; width: 100%; }
.note { min-height: 1.2em; text-align: center; transition: opacity .3s var(--open); }
.note.is-swap { opacity: 0; }
.note.is-bad { white-space: normal; max-width: 34ch; }

/* ---------- the waitlist form: only the button shows; on hover (or focus, or once typed in) it opens to
   the left and the email field slides into view, like the template's "Variant 1" → hover ---------- */
.wl { position: relative; display: flex; flex-direction: row; align-items: center; justify-content: flex-end; gap: 5px;
  width: 189px; height: 45px; margin: 0; padding: 0; overflow: clip; cursor: pointer; transition: width .6s var(--open); }
.wl:hover, .wl:focus-within, .wl.is-open { width: 444px; cursor: auto; }
.wl .field { position: relative; flex: none; align-self: stretch; width: 250px; background: var(--glass); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.wl input { display: block; width: 100%; height: 100%; margin: 0; padding: 0 20px; border: 0; border-radius: 0; background: transparent; color: var(--fg);
  font: 400 14px/1.2 var(--sans); letter-spacing: 0; outline: none; caret-color: var(--fg); -webkit-appearance: none; appearance: none; }
.wl input::placeholder { color: var(--fg-8); opacity: 1; }
.wl input:focus-visible { box-shadow: inset 0 0 0 1px rgb(255 255 255 / .55); }
.wl input:-webkit-autofill { -webkit-text-fill-color: var(--fg); transition: background-color 9999s; }
.wl button { position: relative; flex: none; display: flex; align-items: center; justify-content: center; height: 45px; padding: 14px 26px; margin: 0;
  border: 0; border-radius: 0; background: rgb(0 0 0 / 0); color: var(--fg); cursor: pointer; white-space: pre;
  font: 400 14px/1.2 var(--mono); letter-spacing: -.04em; -webkit-tap-highlight-color: transparent;
  transition: background-color .4s var(--soft), -webkit-backdrop-filter .4s var(--soft), backdrop-filter .4s var(--soft), opacity .2s; }
.wl button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--fg); pointer-events: none; }
.wl:hover button, .wl:focus-within button, .wl.is-open button { background: var(--glass); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.wl button:focus-visible { outline: 1px solid rgb(255 255 255 / .7); outline-offset: 3px; }
.wl button:active { background: rgb(255 255 255 / .16); }
.wl.is-busy button { opacity: .6; pointer-events: none; }
.wl.is-busy input { opacity: .7; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ts-box { position: absolute; left: 50%; top: calc(100% + 8px); transform: translateX(-50%); }

/* ---------- the footer ---------- */
.foot { display: flex; align-items: center; justify-content: center; width: 100%; max-width: 1440px; }
.foot-in { display: flex; flex: 1 0 0; align-items: center; justify-content: space-between; min-width: 0; }
.copy { margin: 0; font: 500 12px/18px var(--gen); text-transform: uppercase; white-space: pre; }
.links { display: flex; align-items: center; gap: 20px; margin: 0; padding: 0; list-style: none; }
.links a { display: block; font: 400 12px/18px var(--sans); text-transform: uppercase; color: var(--fg-8); white-space: pre; transition: opacity .4s var(--soft); }
.links a:hover { opacity: .7; }
.links a:focus-visible { outline: 1px solid rgb(255 255 255 / .7); outline-offset: 3px; }

/* ---------- thanks (/thanks/) ---------- */
.soon.is-thanks { justify-content: center; padding-bottom: 154px; }  /* the block sits a little above the middle, as on the template */
.thx { display: flex; flex-direction: column; align-items: center; text-align: center; }
.thx h1 { margin: 0; font: 400 50px/1 var(--sans); letter-spacing: -.07em; white-space: pre; }
.thx .lead { width: 420px; max-width: 100%; margin: 10px 0 0; font: 400 16px/1.4 var(--sans); letter-spacing: -.03em; color: var(--fg-8); }
.thx .wl-link { position: relative; display: flex; align-items: center; height: 45px; margin-top: 25px; padding: 14px 26px; font: 400 14px/1.2 var(--mono); letter-spacing: -.04em; white-space: pre;
  transition: background-color .4s var(--soft), -webkit-backdrop-filter .4s var(--soft), backdrop-filter .4s var(--soft); }
.thx .wl-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--fg); }
.thx .wl-link:hover { background: var(--glass); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.thx .wl-link:focus-visible { outline: 1px solid rgb(255 255 255 / .7); outline-offset: 3px; }
.thx .follow { margin: 24px 0 0; font: 400 10px/24px var(--sans); letter-spacing: -.01em; color: rgb(126 126 126); }
.thx .links { margin-top: 10px; }
.thx .grid { opacity: .6; }

/* ---------- tablet ---------- */
@media (min-width: 810px) and (max-width: 1199.98px) {
  .soon { padding: 32px; }
  .media picture { width: 130%; height: 120%; }
}

/* ---------- phone ---------- */
@media (max-width: 809.98px) {
  .media picture { width: 140%; height: 115%; }
  .wl, .wl:hover, .wl:focus-within, .wl.is-open { flex-direction: column; justify-content: center; width: min(310px, 100%); height: auto; overflow: visible; cursor: auto; transition: none; }
  .wl .field { align-self: stretch; width: 100%; height: 45px; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
  .wl input { text-align: center; font-size: 16px; }  /* 16px: iOS doesn't zoom into the field */
  .wl input::placeholder { font-size: 14px; }
  .wl button, .wl:hover button, .wl:focus-within button, .wl.is-open button { width: 189px; background: rgb(0 0 0 / 0); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .wl button:active { background: var(--glass); }
  .foot-in { flex-direction: column; justify-content: flex-end; gap: 20px; }
  .links { order: 0; }
  .copy { order: 1; font-size: 9px; line-height: 13.5px; }
  .links a { font-size: 10px; line-height: 15px; }
  .thx h1 { font-size: 40px; letter-spacing: -.07em; }
  .thx .lead { width: 251px; font-size: 12px; line-height: 1.4; }
}

@media (prefers-reduced-motion: reduce) {
  .wl, .wl button, .media img, .note, .links a { transition: none; }
}

/* ---------- consent (EU/UK/EEA, or "Privacy choices"): a glass bar in the landing's type ---------- */
.ck { position: fixed; left: 50%; bottom: 20px; z-index: 10; display: flex; align-items: center; gap: 20px; width: min(560px, calc(100% - 40px)); padding: 14px 14px 14px 20px;
  transform: translateX(-50%); background: rgb(0 0 0 / .45); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14); }
.ck p { flex: 1; margin: 0; font: 400 12px/1.4 var(--mono); letter-spacing: -.02em; text-transform: uppercase; }
.ck a { text-decoration: underline; text-underline-offset: 2px; }
.ck-b { display: flex; gap: 6px; flex: none; }
.ck button { height: 36px; padding: 0 14px; border: 0; background: var(--glass); color: var(--fg); font: 400 13px/1 var(--mono); letter-spacing: -.04em; cursor: pointer; }
.ck button[data-ck="yes"] { background: var(--fg); color: #000; }
.ck button:focus-visible { outline: 1px solid rgb(255 255 255 / .7); outline-offset: 2px; }
@media (max-width: 809.98px) { .ck { flex-direction: column; align-items: stretch; gap: 10px; bottom: 12px; } .ck-b button { flex: 1; } }
