/* CINERIS for iPad + iPhone. Ash, ink and one ultramarine signal.
   Type: Bricolage Grotesque (variable opsz/wght/wdth) and Martian Mono (variable wdth/wght). */

@font-face { font-family: "Bricolage"; src: url("media/fonts/bricolage-grotesque-var.woff2") format("woff2"); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Martian"; src: url("media/fonts/martian-mono-var.woff2") format("woff2"); font-weight: 100 800; font-stretch: 75% 112.5%; font-display: swap; }

body.x {
  --ash: #dcdfdc;
  --ash-hi: #eceeec;
  --ink: #0b0c0d;
  --ink-2: #151718;
  --signal: #2a3bff;
  --signal-hi: #5664ff;
  --bg: var(--ash);
  --fg: var(--ink);
  --mute: rgba(11, 12, 13, 0.56);
  --rule: rgba(11, 12, 13, 0.14);
  --spring: cubic-bezier(0.32, 0.72, 0, 1);
  --out: cubic-bezier(0.16, 1, 0.3, 1);
  --display: "Bricolage", "Helvetica Neue", Arial, sans-serif;
  --mono: "Martian", ui-monospace, Menlo, monospace;
  /* the same left edge as the shared .v3-shell column (1440px), so full-bleed sections line up with the boxed ones on wide screens */
  --gut: max(var(--v3-gutter), calc((100% - var(--v3-shell)) / 2 + var(--v3-gutter)));
  background: var(--bg);
  color: var(--fg);
  font-family: var(--display);
  font-variation-settings: "opsz" 14;
  font-size: 17px;
  line-height: 1.55;
  transition: background-color .6s var(--out), color .6s var(--out);
}
body.x[data-theme="dark"] { --bg: var(--ink); --fg: #e4e7e4; --mute: rgba(228, 231, 228, 0.56); --rule: rgba(228, 231, 228, 0.13); }
body.x::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.x ::selection { background: var(--signal); color: #fff; }
.x :focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
.x-main { overflow-x: clip; width: 100%; max-width: 100%; }

/* --------------------------------------------------------- header on ash */
.x .v3-header { color: var(--fg); transition: background-color .5s var(--out), color .5s var(--out), transform .45s var(--out), border-color .5s; }
.x .v3-header.is-solid { background: color-mix(in srgb, var(--bg) 78%, transparent); border-bottom-color: var(--rule); }
.x .v3-brand span, .x .v3-links a, .x .v3-store { font-family: var(--mono); font-stretch: 88%; font-size: 11.5px; letter-spacing: .08em; font-weight: 500; }
.x .v3-links a { color: var(--mute); }
.x .v3-links a:hover, .x .v3-links a[aria-current="page"], .x .v3-links a[aria-current="true"] { color: var(--fg); }
.x .v3-links .v3-new::before { background: var(--signal); box-shadow: none; }
.x .v3-store { border-radius: 999px; border-color: var(--rule); height: 34px; }
.x .v3-store:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.x .v3-menu span { background: currentColor; }
body.x:not([data-theme="dark"]) .v3-brand img { filter: invert(1); }
@media (max-width: 1080px) {
  .x .v3-links { background: var(--bg); }
  .x .v3-links a { font-family: var(--display); font-size: 30px; font-weight: 600; letter-spacing: -.02em; color: var(--fg); border-color: var(--rule); }
  .x .v3-header.menu-open { background: var(--bg); }
}

/* --------------------------------------------------------------- shared */
.x-h2 {
  font-family: var(--display); font-variation-settings: "opsz" 96; font-weight: 700; font-stretch: 84%;
  font-size: clamp(2.6rem, 6.4vw, 6.4rem); line-height: .92; letter-spacing: -.045em; text-wrap: balance;
}
.x-lede { margin-top: 28px; max-width: 52ch; color: var(--mute); font-size: clamp(1rem, 1.25vw, 1.15rem); }
.x-btn {
  display: inline-flex; align-items: center; gap: 14px; height: 56px; padding: 0 8px 0 26px; border-radius: 999px;
  background: var(--fg); color: var(--bg); text-decoration: none; font-weight: 600; font-size: 16px; letter-spacing: -.01em;
  transition: transform .5s var(--spring), background-color .3s;
}
.x-btn:active { transform: scale(.97); }
.x-orb { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--signal); color: #fff; transition: transform .6s var(--spring); }
.x-orb svg { width: 14px; height: 14px; }
.x-btn:hover .x-orb { transform: translate(3px, -2px) scale(1.06) rotate(45deg); }
.x-store {
  display: inline-flex; align-items: center; height: 56px; padding: 0 24px; border-radius: 999px;
  border: 1px solid var(--rule); color: var(--mute); cursor: default; user-select: none;
  font-family: var(--mono); font-stretch: 88%; font-size: 12px; letter-spacing: .04em;
}
.x-link { color: var(--fg); font-weight: 600; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 3px; transition: background-size .5s var(--spring); }
.x-link:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ----------------------------------------------------------------- hero */
.x-hero { position: relative; height: 230vh; }
.x-hero-pin { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; perspective: 1600px; }
.x-shader { position: absolute; inset: 0; width: 100%; height: 100%; }
.x-hero-vignette { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom, transparent 70%, var(--bg)), radial-gradient(120% 80% at 70% 110%, rgba(11, 12, 13, .16), transparent 60%); }
.x-hero-copy { position: relative; z-index: 3; padding: calc(var(--v3-header) + clamp(28px, 7vh, 88px)) var(--gut) 0; }
/* the name first: the wordmark (masked so it takes the section colour), then what it is */
.x-hero-brand { display: flex; flex-direction: column; gap: 18px; margin-bottom: clamp(30px, 5.2vh, 58px); }
.x-brand-mark {
  display: block; width: clamp(220px, 25vw, 420px); aspect-ratio: 1447 / 140; background: var(--fg);
  -webkit-mask: url(media/brand/cineris_wordmark.svg) left center / contain no-repeat; mask: url(media/brand/cineris_wordmark.svg) left center / contain no-repeat;
}
/* sentence case on purpose: Apple product names are never set in capitals */
.x-brand-for { font-family: var(--mono); font-stretch: 88%; font-weight: 450; font-size: 13px; letter-spacing: .01em; color: var(--mute); }
.x-hero-title {
  font-variation-settings: "opsz" 96; font-weight: 740; font-stretch: 80%;
  font-size: clamp(2.8rem, 6.8vw, 7.6rem); line-height: .92; letter-spacing: -.036em;
}
/* each line rises out of its own mask: no letter games, no rotation */
.x-hero-title .ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.x-hero-title .ln > span { display: inline-block; will-change: transform; }
.x-hero-sub { margin-top: clamp(38px, 5.6vh, 62px); max-width: 44ch; font-size: clamp(1.02rem, 1.3vw, 1.2rem); color: var(--mute); }
.x-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(22px, 3.4vh, 36px); }
.js .x-hero-stage { opacity: 0; }
.x-hero-stage { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.x-hero-ipad {
  position: absolute; width: min(74vw, 1260px); right: -6vw; bottom: -14vh;
  transform-origin: 50% 50%;
}
.x-hero-iphone {
  position: absolute; width: min(36vw, 600px); left: 40vw; bottom: 4vh;
}

/* ------------------------------------------------------------ statement */
.x-statement { padding: clamp(120px, 20vh, 220px) var(--gut) clamp(140px, 22vh, 240px); }
.x-statement-text {
  max-width: 1380px; font-variation-settings: "opsz" 96; font-weight: 640; font-stretch: 86%;
  font-size: clamp(2.1rem, 5.3vw, 5.6rem); line-height: 1.02; letter-spacing: -.04em; text-wrap: pretty;
}
.x-statement-text .wd { opacity: .13; transition: none; }
.x-pill { display: inline-block; width: 1.9em; height: .82em; border-radius: 999px; overflow: hidden; vertical-align: -.04em; margin: 0 .08em; background: var(--ink) center / cover no-repeat; }
.x-pill video { width: 100%; height: 100%; object-fit: cover; }
.x-pill-phone { width: 1.6em; background-size: 112% auto; }

/* ------------------------------------------------------------ the stack */
.x-stack { padding: 0 var(--gut) clamp(80px, 14vh, 160px); display: grid; gap: 0; }
.x-card {
  position: sticky; top: calc(var(--v3-header) + 18px + var(--i) * 14px);
  height: min(78vh, 780px); margin-bottom: 40vh; /* the dwell: a card sits whole and readable before the next one rises */ border-radius: 34px; padding: 7px;
  background: rgba(11, 12, 13, .07); box-shadow: inset 0 0 0 1px rgba(11, 12, 13, .06);
  transform-origin: 50% 0;
}
.x-card > * { position: relative; }
.x-card > .x-card-shade { position: absolute; inset: 7px; border-radius: 27px; background: #0b0c0d; opacity: 0; pointer-events: none; z-index: 2; }
.x-card::before { content: ""; position: absolute; inset: 7px; border-radius: 27px; background: var(--ink-2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
.x-card:nth-child(2)::before { background: #c7cbc8; }
.x-card:nth-child(4)::before { background: var(--signal); }
.x-card { display: grid; grid-template-columns: minmax(320px, 1fr) 1.7fr; grid-template-rows: minmax(0, 1fr); align-items: center; color: #e4e7e4; overflow: hidden; }
.x-card:nth-child(2) { color: var(--ink); }
.x-card-copy { padding: clamp(28px, 4vw, 64px); align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; }
.x-card-tag { font-family: var(--mono); font-stretch: 88%; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; opacity: .7; }
.x-card h3 { font-variation-settings: "opsz" 96; font-weight: 700; font-stretch: 82%; font-size: clamp(2.2rem, 3.9vw, 3.9rem); text-wrap: balance; line-height: .94; letter-spacing: -.045em; margin-top: auto; }
.x-card-copy > p:last-child { margin-top: 22px; max-width: 40ch; opacity: .74; font-size: 16.5px; }
/* the device fits the card's height as well as its width, so a wide screen never pushes the copy out of the card */
.x-card-media { height: 100%; min-height: 0; display: grid; place-items: center; padding: clamp(16px, 2.4vw, 40px) clamp(10px, 2vw, 32px) clamp(16px, 2.4vw, 40px) 0; }
.x-card-dev { width: auto; height: auto; max-width: 100%; max-height: 100%; }

/* -------------------------------------------------------------- engines */
.x-engines { position: relative; }
.x-engines-pin { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; gap: clamp(32px, 6vh, 64px); padding: calc(var(--v3-header) + 24px) 0 40px; overflow: hidden; }
.x-engines .x-h2 { padding: 0 var(--gut); }
.x-engines-track { display: flex; gap: 18px; padding: 0 var(--gut); width: max-content; perspective: 1200px; }
.x-eng { width: clamp(300px, 34vw, 520px); flex: none; transform-style: preserve-3d; transition: transform .8s var(--spring); }
.x-eng-media { border-radius: 22px; padding: 5px; background: rgba(228, 231, 228, .06); box-shadow: inset 0 0 0 1px rgba(228, 231, 228, .08); overflow: hidden; }
.x-eng-media img { width: 100%; aspect-ratio: 1800 / 785; object-fit: cover; border-radius: 17px; transition: transform 1.2s var(--spring), filter .6s; filter: saturate(.9); }
.x-eng:hover .x-eng-media img { transform: scale(1.06); filter: saturate(1.1); }
.x-eng h3 { display: flex; align-items: baseline; gap: 12px; margin-top: 18px; font-weight: 700; font-stretch: 80%; font-size: 26px; letter-spacing: -.03em; }
.x-eng h3 span { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .04em; color: var(--signal-hi); }
.x-eng p { margin-top: 6px; color: var(--mute); max-width: 40ch; font-size: 15.5px; }

/* ----------------------------------------------------------------- film */
.x-film { height: 220vh; position: relative; }
/* the chamber loop is a 2.45:1 render: it opens into a scope-width band, never stretched to fill a tall screen */
.x-film-frame { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; background: #050506; clip-path: inset(24% 20% 24% 20% round 36px); }
.x-film-frame video { position: absolute; left: 0; top: 50%; width: 100%; height: auto; aspect-ratio: 1104 / 450; max-width: none; object-fit: cover; translate: 0 -50%; transform: scale(1.12); }
.x-film-line {
  /* sits inside the lower edge of the video band (the band is 100vw / 2.45 tall, centred), never in the cropped black */
  position: absolute; left: var(--gut); bottom: max(clamp(28px, 8vh, 90px), calc(50% - 20.4vw + clamp(18px, 3vw, 56px))); color: #f2f3f2; text-shadow: 0 2px 40px rgba(0,0,0,.5);
  font-variation-settings: "opsz" 96; font-weight: 700; font-stretch: 78%; font-size: clamp(2.6rem, 8vw, 8.8rem); line-height: .9; letter-spacing: -.04em;
}

/* --------------------------------------------------------------- listen */
.x-listen { padding: clamp(80px, 14vh, 150px) 0 clamp(120px, 18vh, 200px); }
.x-marquee { overflow: hidden; margin-bottom: clamp(60px, 10vh, 110px); border-block: 1px solid var(--rule); padding: 18px 0; }
.x-marquee-track { display: flex; align-items: center; width: max-content; animation: x-marq 105s linear infinite; }
.x-marquee span { font-weight: 700; font-stretch: 76%; font-size: clamp(2rem, 4vw, 3.6rem); letter-spacing: -.035em; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--mute); padding: 0 .5em; }
.x-marquee i { width: 10px; height: 10px; border-radius: 50%; background: var(--signal); flex: none; }
@keyframes x-marq { to { transform: translateX(-50%); } }
.x-player { margin-top: clamp(40px, 7vh, 80px); display: grid; grid-template-columns: 1.05fr 1fr; gap: 14px; }
.x-now { position: sticky; top: calc(var(--v3-header) + 20px); align-self: start; border-radius: 30px; padding: 6px; background: rgba(228, 231, 228, .05); box-shadow: inset 0 0 0 1px rgba(228, 231, 228, .09); }
.x-viz { width: 100%; height: clamp(220px, 34vh, 340px); border-radius: 24px; background: #08090a; }
.x-now-meta { padding: 24px 22px 6px; }
.x-now-cat, .x-now-tech, .x-time { font-family: var(--mono); font-stretch: 86%; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--mute); }
.x-now-name { margin-top: 8px; font-weight: 700; font-stretch: 78%; font-size: clamp(2.2rem, 3.8vw, 3.6rem); letter-spacing: -.045em; line-height: .95; }
.x-now-desc { margin-top: 12px; color: var(--mute); max-width: 52ch; font-size: 15.5px; min-height: 3.1em; }
.x-now-tech { margin-top: 14px; color: var(--signal-hi); }
.x-transport { display: grid; grid-template-columns: auto auto auto 1fr auto; align-items: center; gap: 10px; padding: 18px 18px 18px; }
.x-tbtn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--rule); background: transparent; display: grid; place-items: center; cursor: pointer; transition: transform .5s var(--spring), background-color .3s; }
.x-tbtn svg { width: 16px; height: 16px; fill: currentColor; }
.x-tbtn:hover { background: rgba(228, 231, 228, .08); }
.x-tbtn:active { transform: scale(.94); }
.x-tbtn-main { width: 62px; height: 62px; border: 0; background: var(--signal); color: #fff; }
.x-tbtn-main:hover { background: var(--signal-hi); }
.x-tbtn-main svg { width: 20px; height: 20px; }
.x-tbtn .i-pause, .x-player.is-playing .x-tbtn .i-play { display: none; }
.x-player.is-playing .x-tbtn .i-pause { display: block; }
.x-progress { height: 30px; position: relative; cursor: pointer; margin: 0 8px; }
.x-progress::before, .x-progress span { content: ""; position: absolute; left: 0; top: 14px; height: 2px; border-radius: 2px; }
.x-progress::before { right: 0; background: var(--rule); }
.x-progress span { width: 0; background: var(--fg); }
.x-tracks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; align-content: start; }
.x-lib { min-width: 0; }
.x-player-status { padding: 4px 2px 16px; min-height: 3.2em; color: var(--mute); font-size: 13px; line-height: 1.5; }
.x-more { width: 100%; min-height: 48px; margin-top: 14px; padding: 12px 18px; border: 1px solid var(--rule); border-radius: 18px; background: transparent; color: var(--fg); font: inherit; font-size: 14px; cursor: pointer; }
.x-more:hover { background: rgba(228, 231, 228, .08); }
.x-more[hidden], .x-audio-fallback[hidden] { display: none; }
.x-audio-fallback audio { width: 100%; }
.x-progress { touch-action: pan-y; }
.x-progress:focus-visible { outline: 2px solid var(--signal-hi); }
.x-filter { display: flex; gap: 6px; margin-bottom: 10px; }
.x-filter button {
  padding: 11px 16px; border-radius: 999px; border: 0; background: rgba(228, 231, 228, .035); color: var(--mute); cursor: pointer;
  font-family: var(--mono); font-stretch: 86%; font-size: 11px; letter-spacing: .05em; text-transform: uppercase;
  transition: background-color .35s var(--out), color .35s var(--out), transform .5s var(--spring);
}
.x-filter button span { margin-left: 6px; opacity: .6; }
.x-filter button:hover { background: rgba(228, 231, 228, .08); color: var(--fg); }
.x-filter button:active { transform: scale(.97); }
.x-filter button[aria-pressed="true"] { background: var(--fg); color: #08090a; }
.x-filter button:focus-visible { outline: 2px solid var(--signal-hi); outline-offset: 2px; }
.x-track[hidden] { display: none; }
.x-track button {
  width: 100%; display: grid; grid-template-columns: 26px 1fr; grid-template-rows: auto auto; column-gap: 10px; row-gap: 10px; align-items: center; text-align: left;
  padding: 14px 14px 12px; border-radius: 18px; border: 0; background: rgba(228, 231, 228, .035); cursor: pointer;
  transition: background-color .35s var(--out), transform .5s var(--spring);
}
.x-track button:hover { background: rgba(228, 231, 228, .08); }
.x-track button:active { transform: scale(.98); }
.x-track .i { font-family: var(--mono); font-size: 10.5px; color: var(--mute); }
.x-track .t b { display: block; font-weight: 650; font-stretch: 84%; font-size: 17px; letter-spacing: -.02em; line-height: 1.1; }
.x-track .t small { display: block; margin-top: 3px; font-family: var(--mono); font-stretch: 86%; font-size: 9.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--mute); }
.x-track canvas { grid-column: 1 / -1; width: 100%; height: 18px; }
.x-track.is-on button { background: var(--signal); color: #fff; }
.x-track.is-on .i, .x-track.is-on .t small { color: rgba(255, 255, 255, .72); }

/* ---------------------------------------------------------------- bento */
.x-bento-wrap { padding: clamp(120px, 20vh, 220px) 0 clamp(80px, 12vh, 140px); }
.x-bento { margin-top: clamp(40px, 7vh, 72px); display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(260px, auto); grid-auto-flow: dense; gap: 10px; }
.x-tile {
  position: relative; overflow: hidden; border-radius: 30px; padding: clamp(26px, 3vw, 44px);
  background: var(--ash-hi); box-shadow: inset 0 0 0 1px rgba(11, 12, 13, .06), 0 1px 0 rgba(255, 255, 255, .6);
  --mx: 50%; --my: 50%;
}
.x-tile::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(42, 59, 255, .10), transparent 60%); }
.x-tile:hover::after { opacity: 1; }
.x-tile h3 { font-weight: 700; font-stretch: 82%; font-size: clamp(1.7rem, 2.6vw, 2.6rem); line-height: .98; letter-spacing: -.04em; max-width: 18ch; }
.x-tile p { margin-top: 14px; color: var(--mute); max-width: 46ch; font-size: 16px; }
.x-tile-auv3 { grid-column: span 4; grid-row: span 2; background: var(--ink); color: #e4e7e4; min-height: 640px; display: flex; flex-direction: column; }
.x-tile-auv3 p { color: rgba(228, 231, 228, .6); }
.x-tile-auv3 h3, .x-tile-auv3 p { position: relative; z-index: 1; max-width: 24ch; }
.x-tile-auv3 p { max-width: 34ch; }
.x-tile-dev { display: block; width: min(86%, 760px); height: auto; margin: auto auto 0; padding-top: 32px; }
.x-tile-presets { grid-column: span 2; background: var(--signal); color: #fff; }
.x-tile-presets p { color: rgba(255, 255, 255, .75); }
.x-tile .x-num { margin: 0 0 6px; font-variation-settings: "opsz" 96; font-weight: 800; font-stretch: 75%; font-size: clamp(5rem, 9vw, 8.6rem); line-height: .8; letter-spacing: -.06em; color: #fff; font-variant-numeric: tabular-nums; }
.x-tile-presets h3 { font-size: clamp(1.3rem, 1.8vw, 1.7rem); }
.x-tile-privacy { grid-column: span 2; display: flex; flex-direction: column; }
.x-tile-privacy .x-link { margin-top: auto; align-self: flex-start; }
.x-tile-phones { grid-column: span 6; display: grid; grid-template-columns: .8fr 1.6fr; align-items: center; gap: 24px; min-height: 420px; }
/* side by side, straight-on, never overlapping; widths keep the real scale
   (iPhone Pro Max 163 mm wide in landscape, iPhone Duo open about 165 mm; the bezel art has its own margins) */
.x-tile-phones-media { display: flex; align-items: flex-end; justify-content: center; gap: 4%; }
.x-tile-phone { flex: 1 1 0; min-width: 0; width: 100%; height: auto; }
.x-tile-duo { flex: 1.035 1 0; min-width: 0; width: 100%; height: auto; }

/* ------------------------------------------------------------------ faq */
.x-faq { padding: clamp(80px, 12vh, 140px) 0 clamp(140px, 22vh, 240px); }
.x-faq-grid { display: grid; grid-template-columns: .8fr 1.6fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.x-faq .x-h2 { position: sticky; top: calc(var(--v3-header) + 30px); font-size: clamp(2.6rem, 5vw, 5rem); }
.x-qa { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 3vw, 48px); }
.x-qa > div { padding: 24px 0 26px; border-top: 1px solid var(--rule); }
.x-qa dt { font-weight: 650; font-stretch: 86%; font-size: 20px; letter-spacing: -.02em; }
.x-qa dd { margin: 8px 0 0; color: var(--mute); font-size: 15.5px; }
.x-qa a { color: var(--fg); }
.x-qa code { font-family: var(--mono); font-size: .85em; }

/* ------------------------------------------------------------------ cta */
.x-cta { position: relative; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: clamp(36px, 7vh, 72px); padding: 120px var(--gut); overflow: hidden; }
.x-cta-mask {
  display: block; width: min(92vw, 1500px); aspect-ratio: 1447 / 140;
  -webkit-mask: url("media/brand/cineris_wordmark.svg") center / contain no-repeat; mask: url("media/brand/cineris_wordmark.svg") center / contain no-repeat;
  background: #2a2c2e;
}
.x-cta-mask video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.6); }
.x-cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.x-btn-dark { background: #e4e7e4; color: var(--ink); }

/* -------------------------------------------------------- footer & theme */
.x .v3-footer { background: var(--ink); border-top-color: rgba(228, 231, 228, .1); }
.x .v3-footer, .x .v3-footer a, .x .v3-footer p { font-family: var(--display); }

/* -------------------------------------------------- no-JS / reduced motion */
html:not(.js) .x-statement-text .wd { opacity: 1; }
html:not(.js) .x-hero { height: auto; }
html:not(.js) .x-hero-pin { position: relative; height: auto; min-height: 100vh; }
html:not(.js) .x-film { height: auto; }
html:not(.js) .x-film-frame { position: relative; clip-path: none; }
html:not(.js) .x-engines-track { overflow-x: auto; width: auto; }


/* ---------------------------------------------------------------- hands */
.x-hands { padding: clamp(100px, 16vh, 190px) 0 clamp(110px, 18vh, 200px); overflow: hidden; }
.x-hands-grid { display: grid; grid-template-columns: 1fr minmax(300px, 460px); gap: clamp(40px, 8vw, 150px); align-items: center; }
.x-hands-kicker { font-family: var(--mono); font-stretch: 88%; font-size: 13px; letter-spacing: .01em; color: var(--mute); margin-bottom: 22px; }
.x-hands-copy .x-lede { max-width: 38ch; }
.x-hands-sound { margin-top: clamp(26px, 4vh, 40px); }
.x-hands-sound .x-wave { opacity: .35; transition: opacity .4s var(--out); }
.x-hands-sound[aria-pressed="true"] .x-wave { opacity: 1; }
.x-hands-frame { margin: 0; justify-self: end; width: 100%; padding: 8px; border-radius: 40px; background: rgba(228, 231, 228, .05); box-shadow: inset 0 0 0 1px rgba(228, 231, 228, .09); will-change: transform; }
.x-hands-frame video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 32px; background: #050506; }
.x-hands-frame figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 14px 14px 6px; font-family: var(--mono); font-stretch: 88%; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.x-hands-frame figcaption span:first-child { color: var(--fg); }

/* ------------------------------------------------------------- mobile */
@media (max-width: 900px) {
  .x-hero { height: 170vh; }
  .x-hero-title { font-size: clamp(2.4rem, 10.4vw, 4.4rem); }
  .x-brand-mark { width: min(62vw, 300px); }
  .x-hero-copy { padding-top: calc(var(--v3-header) + 28px); }
  .x-hero-ipad { width: 128vw; right: -38vw; bottom: -4vh; }
  .x-hero-iphone { width: 64vw; left: 2vw; bottom: 3vh; }
  .x-statement-text { font-size: clamp(1.9rem, 8.4vw, 3rem); }
  .x-card { grid-template-columns: 1fr; grid-template-rows: auto 1fr; height: auto; min-height: 76vh; margin-bottom: 10vh; border-radius: 26px; top: calc(var(--v3-header) + 10px + var(--i) * 8px); }
  .x-card::before { border-radius: 20px; }
  .x-card > .x-card-shade { border-radius: 20px; }
  .x-card-copy { padding: 26px 22px 8px; }
  .x-card h3 { margin-top: 18px; font-size: clamp(2rem, 9vw, 2.8rem); }
  .x-card-media { padding: 0 0 20px; }
  .x-card-dev { width: 100%; max-height: none; }
  .x-engines-pin { padding-bottom: 60px; }
  .x-engines-track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
  .x-engines-track::-webkit-scrollbar { display: none; }
  .x-eng { width: 82vw; scroll-snap-align: start; }
  .x-film { height: 170vh; }
  .x-film-frame { clip-path: inset(38% 8% 38% 8% round 24px); }
  .x-film-frame video { left: -35%; width: 170%; }
  .x-film-line { bottom: max(28px, calc(50% - 34.6vw + 22px)); font-size: clamp(2.2rem, 9vw, 4.4rem); }
  .x-player { grid-template-columns: 1fr; }
  .x-now { position: relative; top: 0; }
  /* Keep touch scrolling on the document. The library reveals six more rows per tap. */
  .x-tracks { grid-template-columns: 1fr; }
  .x-filter { flex-wrap: wrap; }
  .x-filter button { padding: 12px; }
  .x-now-name { overflow-wrap: anywhere; }
  .x-transport { padding: 14px 10px; gap: 8px; }
  .x-progress { margin-inline: 0; }
  .x-transport { grid-template-columns: auto auto auto 1fr; }
  .x-time { display: none; }
  .x-bento { grid-template-columns: 1fr; }
  .x-tile-auv3, .x-tile-presets, .x-tile-privacy, .x-tile-phones { grid-column: auto; grid-row: auto; }
  .x-tile-auv3 { min-height: 520px; }
  .x-tile-dev { width: 100%; }
  .x-tile-phones { grid-template-columns: 1fr; }
  .x-faq-grid, .x-qa { grid-template-columns: 1fr; }
  .x-hands-grid { grid-template-columns: 1fr; }
  .x-hands-frame { justify-self: center; max-width: 420px; }
  .x-faq .x-h2 { position: static; }
  .x-cta { min-height: 80vh; }
}

/* A short landscape viewport cannot contain a pinned product scene. Keep its content in flow. */
@media (max-width: 900px) and (max-height: 500px) {
  .x-hero { height: auto; }
  .x-hero-pin { position: relative; height: auto; overflow: visible; perspective: none; padding-bottom: 36px; }
  .x-hero-title { font-size: 44px; }
  .x-hero-stage { position: relative; display: grid; grid-template-columns: 1fr .5745fr; align-items: end; gap: 24px; margin: 40px var(--v3-gutter) 0; opacity: 1; }
  .x-hero-ipad, .x-hero-iphone { position: static; width: 100%; max-width: 100%; }
  .x-card { position: relative; top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .x-hero { height: auto; }
  .x-hero-pin { position: relative; height: auto; min-height: 100vh; }
  .x-statement-text .wd { opacity: 1 !important; }
  .x-film { height: auto; }
  .x-film-frame { position: relative; clip-path: inset(0 round 0); height: 80vh; }
  .x-film-frame video { transform: none; }
  .x-engines-track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; }
  .x-eng { scroll-snap-align: start; }
  .x-marquee-track { animation: none; }
  .x-card { position: relative; top: 0; }
  body.x { transition: none; }
}

/* sections carry their own theme when scripts are off */
html:not(.js) [data-theme="dark"] { --bg: #0b0c0d; --fg: #e4e7e4; --mute: rgba(228, 231, 228, 0.56); --rule: rgba(228, 231, 228, 0.13); background: var(--bg); color: var(--fg); }
.x-hero-title { white-space: nowrap; }
@media (max-width: 900px) { .x-hero-title { white-space: normal; } }

/* ------------------------------------------------- privacy, support, notices */
.cn-page { max-width: 1180px; margin: 0 auto; padding: calc(var(--v3-header) + clamp(48px, 10vh, 120px)) var(--v3-gutter) clamp(100px, 16vh, 180px); }
.cn-kicker { font-family: var(--mono); font-stretch: 88%; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.cn-kicker b { color: var(--fg); font-weight: 600; margin-right: 8px; }
.cn-page-title { margin-top: 18px; font-variation-settings: "opsz" 96; font-weight: 700; font-stretch: 82%; font-size: clamp(2.4rem, 5.4vw, 5.2rem); line-height: .94; letter-spacing: -.04em; max-width: 20ch; text-wrap: balance; }
.cn-page-meta { margin-top: 18px; font-family: var(--mono); font-stretch: 88%; font-size: 11.5px; color: var(--mute); }
.cn-summary { margin-top: clamp(32px, 6vh, 56px); padding: clamp(24px, 3vw, 36px); border-radius: 26px; background: var(--ink); color: #e4e7e4; font-size: clamp(1.1rem, 1.6vw, 1.4rem); line-height: 1.45; letter-spacing: -.01em; max-width: 62ch; }
.cn-legal { margin-top: clamp(48px, 8vh, 88px); }
.cn-legal section { display: grid; grid-template-columns: minmax(200px, .7fr) 1.6fr; gap: clamp(16px, 4vw, 64px); padding: 30px 0 34px; border-top: 1px solid var(--rule); }
.cn-legal h2 { font-weight: 650; font-stretch: 86%; font-size: 21px; letter-spacing: -.02em; line-height: 1.2; }
.cn-legal .b { color: var(--mute); max-width: 66ch; }
.cn-legal .b p + p, .cn-legal .b p + ul, .cn-legal .b ul + p, .cn-legal .b p + ol { margin-top: 12px; }
.cn-legal .b strong { color: var(--fg); font-weight: 600; }
.cn-legal .b a { color: var(--fg); }
.cn-legal ul li, .cn-legal ol li { position: relative; padding-left: 22px; }
.cn-legal ul li + li, .cn-legal ol li + li { margin-top: 8px; }
.cn-legal ul li::before { content: ""; position: absolute; left: 2px; top: .68em; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); }
.cn-steps { counter-reset: s; }
.cn-steps li { counter-increment: s; padding-left: 34px !important; }
.cn-steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: .2em; font-family: var(--mono); font-size: 11px; color: var(--signal); }
.cn-legal code, .cn-notices { font-family: var(--mono); font-size: .86em; }
.cn-notices { margin-top: clamp(40px, 7vh, 72px); padding: clamp(20px, 3vw, 36px); border-radius: 22px; background: var(--ash-hi); box-shadow: inset 0 0 0 1px var(--rule); white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12.5px; line-height: 1.65; color: var(--mute); overflow-x: auto; }
.cn-page-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(48px, 8vh, 80px); }
.cn-btn-line { display: inline-flex; align-items: center; height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--rule); text-decoration: none; font-weight: 600; letter-spacing: -.01em; transition: background-color .3s, color .3s, transform .5s var(--spring); }
.cn-btn-line:hover { background: var(--fg); color: var(--bg); }
.cn-btn-line:active { transform: scale(.97); }
@media (max-width: 760px) { .cn-legal section { grid-template-columns: 1fr; } }

/* the shared shell zeroes margins with `.v3 p, .v3 h1...` (one class + one element), which beat the
   single-class rules above; restate those spacings with the body class so they actually apply */
body.x .x-lede { margin-top: 28px; }
body.x .x-hero-brand { margin-bottom: clamp(30px, 5.2vh, 58px); }
body.x .x-hero-sub { margin-top: clamp(38px, 5.6vh, 62px); }
body.x .x-now-name { margin-top: 8px; }
body.x .x-now-desc { margin-top: 12px; }
body.x .x-now-tech { margin-top: 14px; }
body.x .x-hands-kicker { margin-bottom: 22px; }
body.x .cn-page-title { margin-top: 18px; }
body.x .cn-page-meta { margin-top: 18px; }
body.x .cn-summary { margin-top: clamp(32px, 6vh, 56px); }
