/* Ripple Player: the site. "White room": the film's white studio as the page.
   Type: Jost, served from this site (fonts/OFL.txt). Colours: the mark's own greys. */

@font-face { font-family: "Jost"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/jost-400.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/jost-500.woff2") format("woff2"); }

:root {
  --paper: #F1F1EF;
  --ink: #0A0A0B;
  --grey: #525250;
  --grey-2: #6A6A68;
  --rule: #D4D4D2;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(80px, 11vw, 160px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Jost", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--grey); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 8px; color: var(--paper); }

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* Header and footer */
header.site { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; padding-block: 28px; }
header.site .brand { display: block; }
header.site .brand img { height: 36px; width: auto; }
nav.top { display: flex; gap: 28px; font-size: 16px; }
nav.top a { text-decoration: none; }
nav.top a[aria-current="page"] { text-decoration: underline; }

/* Type */
h1 { margin: 0; font-weight: 500; font-size: clamp(52px, 8.4vw, 124px); line-height: 0.98; letter-spacing: -0.035em; text-wrap: balance; }
h2 { margin: 0; font-weight: 500; font-size: clamp(36px, 4.2vw, 60px); line-height: 1.02; letter-spacing: -0.025em; text-wrap: balance; }
.sub { margin: 24px auto 0; max-width: 620px; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.45; color: var(--grey); text-wrap: balance; }
.lede { margin: 20px 0 0; max-width: 30em; font-size: 20px; line-height: 1.5; color: var(--grey); }
.note { margin: 20px 0 0; max-width: 32em; font-size: 16px; line-height: 1.5; color: var(--grey-2); }

/* The top */
.hero { text-align: center; padding-top: clamp(32px, 6vw, 88px); }
.hero .mark { width: clamp(96px, 11vw, 160px); height: clamp(96px, 11vw, 160px); margin: 0 auto clamp(28px, 4vw, 48px); }
.avail { margin: 28px 0 0; display: inline-flex; align-items: center; gap: 12px; font-size: 16px; }
.avail img { width: 36px; height: 36px; border-radius: 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 26px; border-radius: 999px; background: var(--ink); color: var(--paper); text-decoration: none; font-size: 17px; font-weight: 500; }
.btn:hover { color: var(--paper); background: #2A2A29; }
.hero .btn { margin-top: 20px; }
.hero-media { position: relative; max-width: 660px; margin: clamp(24px, 4vw, 48px) auto 0; }
.hero-media img, .hero-media video { width: 100%; }
.hero-media video { aspect-ratio: 4 / 5; background: var(--paper); }
.film-toggle {
  position: absolute; right: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 10px 16px; border: 0; border-radius: 999px;
  background: rgba(10, 10, 11, 0.72); color: var(--paper);
  font: 500 15px/1 "Jost", ui-sans-serif, system-ui, sans-serif; cursor: pointer;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}

/* The waterline: the mark's lines, each thinner, each gap wider, each lighter */
.waterline { display: flex; flex-direction: column; margin-top: clamp(32px, 5vw, 64px); }
.waterline span { display: block; }
.waterline span:nth-child(1) { height: 5px; background: #525250; }
.waterline span:nth-child(2) { height: 4px; background: #6A6A68; margin-top: 8px; }
.waterline span:nth-child(3) { height: 3px; background: #848482; margin-top: 10px; }
.waterline span:nth-child(4) { height: 2px; background: #9E9E9C; margin-top: 12px; }
.waterline span:nth-child(5) { height: 2px; background: #B9B9B7; margin-top: 14px; }
.waterline span:nth-child(6) { height: 1px; background: #D4D4D2; margin-top: 16px; }

/* Sections */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: clamp(32px, 5vw, 80px); align-items: center; padding-top: var(--section); }
.split.first { padding-top: clamp(64px, 9vw, 128px); }
.center { text-align: center; padding-top: var(--section); }
.center .lede { margin-left: auto; margin-right: auto; max-width: 34em; text-wrap: balance; }
.points { margin: 36px 0 0; }
.points div { border-top: 1px solid var(--rule); padding-block: 18px; display: flex; flex-direction: column; gap: 6px; }
.points div:last-child { border-bottom: 1px solid var(--rule); }
.points dt { font-weight: 500; font-size: 18px; }
.points dd { margin: 0; font-size: 17px; line-height: 1.5; color: var(--grey); }
.flat { width: 100%; max-width: 470px; margin: clamp(24px, 4vw, 56px) auto 0; }
.phones { display: flex; gap: clamp(16px, 2.4vw, 32px); justify-content: center; align-items: flex-start; }
.phones img { width: 46%; max-width: 270px; border-radius: 14% / 6.45%; box-shadow: 0 34px 60px -28px rgba(10, 10, 11, 0.45); }
.phones img + img { margin-top: 48px; }
.deck { border-radius: 28px; width: 100%; }
.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: clamp(24px, 4vw, 56px); align-items: end; margin-top: clamp(24px, 4vw, 56px); }
.duo figure { margin: 0; display: flex; flex-direction: column; gap: 16px; align-items: center; }
.duo figcaption { font-size: 16px; color: var(--grey-2); }
.facts { margin: 0; padding-top: var(--section); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 32px; }
.facts div { border-top: 2px solid var(--ink); padding-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.facts dt { font-weight: 500; font-size: 19px; }
.facts dd { margin: 0; font-size: 17px; line-height: 1.5; color: var(--grey); }
.close { text-align: center; padding-top: clamp(96px, 12vw, 176px); padding-bottom: clamp(64px, 8vw, 112px); }
.close h2 { font-size: clamp(44px, 6.4vw, 96px); line-height: 1; letter-spacing: -0.035em; }
.close p { margin: 24px 0 0; font-size: 20px; color: var(--grey); }

footer.site .in { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-start; justify-content: space-between; padding-top: 40px; padding-bottom: max(48px, env(safe-area-inset-bottom, 0px)); }
footer.site .waterline { margin-top: 0; }
footer.site .mark { width: 44px; height: 44px; }
footer.site .small { margin: 0; flex: 1 1 480px; min-width: 0; font-size: 14px; line-height: 1.6; color: var(--grey-2); }
footer.site nav { display: flex; gap: 24px; font-size: 15px; }

/* Support, privacy and 404 */
.doc { max-width: 720px; padding-top: clamp(32px, 6vw, 72px); padding-bottom: clamp(64px, 8vw, 112px); }
.doc h1 { font-size: clamp(44px, 6vw, 72px); }
.doc h2 { font-size: clamp(26px, 3vw, 34px); margin-top: 56px; }
.doc .lede { max-width: none; }
.doc .meta { margin: 16px 0 0; font-size: 15px; color: var(--grey-2); }
.doc p, .doc li, .doc dd { font-size: 18px; line-height: 1.6; }
.doc p { margin: 16px 0 0; }
.doc ul, .doc ol { margin: 16px 0 0; padding-left: 1.3em; display: flex; flex-direction: column; gap: 8px; }
.doc dl { margin: 16px 0 0; }
.doc dt { font-weight: 500; font-size: 19px; margin-top: 24px; }
.doc dd { margin: 6px 0 0; color: var(--grey); }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}
.cta { display: flex; justify-content: center; }
.cta .btn { margin-top: 20px; }
.nowrap { white-space: nowrap; }
.avail > span { text-align: left; }
