/* REPLIK: the public "coming soon" page. REPLIK's own look: a dark stage and one lime accent (printstudio/src/theme.css). */
:root {
  --rk-bg: #0d0e0c;
  --rk-raise: #151613;
  --rk-raise-2: #1c1d19;
  --rk-line: #2a2b26;
  --rk-ink: #f1f0ea;
  --rk-muted: #a8a79d;
  --rk-lime: #d6f26b;
  --rk-lime-hover: #e3f78f;
  --rk-on-lime: #141a00;
  --rk-danger: #ff9c8a;
  --rk-pad: clamp(20px, 5vw, 64px);
  --rk-max: 1240px;
  --rk-radius: 22px;
  --rk-sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", system-ui, Roboto, sans-serif;
  --rk-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--rk-bg);
  color: var(--rk-ink);
  font: 400 17px/1.55 var(--rk-sans);
  -webkit-font-smoothing: antialiased;
}

/* The dotted stage the app draws, faint, behind the whole page. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgb(255 255 255 / 0.055) 1px, transparent 1.2px);
  background-size: 22px 22px;
  pointer-events: none;
}

a { color: var(--rk-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--rk-lime); }
:focus-visible { outline: 2px solid var(--rk-lime); outline-offset: 3px; border-radius: 6px; }

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

.rk-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.rk-skip {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 10;
  padding: 10px 14px;
  background: var(--rk-lime);
  color: var(--rk-on-lime);
  border-radius: 10px;
  font-weight: 650;
}
.rk-skip:focus { top: 12px; }

/* Top bar */
.rk-top {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--rk-pad);
  background: rgb(13 14 12 / 0.82);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid rgb(255 255 255 / 0.06);
}
.rk-brand { display: inline-flex; color: var(--rk-ink); }
.rk-brand svg { width: 116px; height: auto; }
.rk-nav { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 28px); font-size: 15px; }
.rk-nav a { color: var(--rk-muted); text-decoration: none; }
.rk-nav a:hover { color: var(--rk-ink); }
.rk-nav .rk-nav-cta {
  color: var(--rk-on-lime);
  background: var(--rk-lime);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 650;
}
.rk-nav .rk-nav-cta:hover { color: var(--rk-on-lime); background: var(--rk-lime-hover); }
@media (max-width: 760px) { .rk-nav a:not(.rk-nav-cta) { display: none; } }

/* Hero */
.rk-hero {
  max-width: var(--rk-max);
  margin: 0 auto;
  padding: clamp(28px, 6vw, 72px) var(--rk-pad) clamp(48px, 7vw, 96px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.rk-soon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 10px;
  border: 1px solid var(--rk-line);
  border-radius: 999px;
  color: var(--rk-muted);
  font: 600 13px/1.3 var(--rk-mono);
  text-transform: uppercase;
}
.rk-soon a { color: var(--rk-ink); }
.rk-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rk-lime); }
.rk-hero h1 {
  margin-top: 22px;
  font-size: clamp(42px, 6.2vw, 84px);
  line-height: 0.98;
  font-weight: 700;
}
.rk-lead { margin-top: 22px; max-width: 34em; color: var(--rk-muted); font-size: clamp(17px, 1.6vw, 20px); }

.rk-notify { margin-top: 32px; max-width: 520px; }
.rk-form label { display: block; margin-bottom: 10px; font-weight: 600; font-size: 15px; }
.rk-row { display: flex; gap: 8px; padding: 6px; background: var(--rk-raise); border: 1px solid var(--rk-line); border-radius: 999px; }
.rk-row:focus-within { border-color: rgb(214 242 107 / 0.6); }
.rk-row input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  border: 0;
  background: transparent;
  color: var(--rk-ink);
  font: inherit;
  font-size: 16px;
}
.rk-row input::placeholder { color: #75746b; }
.rk-row input:focus { outline: none; }
.rk-row input[aria-invalid="true"] { color: var(--rk-danger); }
.rk-row button, .rk-button {
  flex: none;
  padding: 11px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--rk-lime);
  color: var(--rk-on-lime);
  font: 650 16px/1.2 var(--rk-sans);
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease;
}
.rk-row button:hover, .rk-button:hover { background: var(--rk-lime-hover); color: var(--rk-on-lime); }
.rk-row button[aria-disabled="true"] { opacity: 0.7; cursor: progress; }
.rk-extra { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rk-error { min-height: 1.4em; margin-top: 8px; color: var(--rk-danger); font-size: 14px; }
.rk-error:empty { min-height: 0; margin: 0; }
.rk-note { margin-top: 10px; color: var(--rk-muted); font-size: 13.5px; }
.rk-done { padding: 18px 20px; background: var(--rk-raise); border: 1px solid rgb(214 242 107 / 0.35); border-radius: 18px; }
.rk-done:focus { outline: none; }
.rk-done-title { font-weight: 700; color: var(--rk-lime); margin-bottom: 4px; }

.rk-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.rk-chips li {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--rk-raise-2);
  color: var(--rk-muted);
  font-size: 14px;
}

.rk-hero-shot { position: relative; margin: 0; }

/* The hero picture: one piece, four settings, changing like in the app. */
.rk-live-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--rk-radius);
  background: var(--rk-raise);
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.6), 0 0 0 1px rgb(255 255 255 / 0.06);
}
/* The next picture fades in over the last one, which stays until it is covered. */
.rk-live-frame img,
.rk-stage-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0s 0.7s;
}
.rk-live-frame img.is-on,
.rk-stage-photo img.is-on { opacity: 1; z-index: 1; transition: opacity 0.7s ease-out; }
.rk-live-progress { position: absolute; inset: 0 0 auto; z-index: 2; height: 3px; background: rgb(255 255 255 / 0.14); display: none; }
.rk-live-progress i { display: block; height: 100%; background: var(--rk-lime); transform: scaleX(0); transform-origin: left; }
.rk-live-bar { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; display: none; align-items: center; gap: 8px; }
.rk-js .rk-live-bar { display: flex; }
.rk-js .rk-live-progress { display: block; }
.rk-live-rooms {
  display: flex;
  gap: 2px;
  min-width: 0;
  padding: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  border-radius: 999px;
  background: rgb(13 14 12 / 0.86);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.1);
}
.rk-live-rooms button,
.rk-pack-tabs button {
  flex: none;
  padding: 9px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--rk-ink);
  font: 600 14px/1.2 var(--rk-sans);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease-out, color 0.15s ease-out;
}
.rk-live-rooms button:hover,
.rk-pack-tabs button:hover { background: rgb(255 255 255 / 0.08); }
.rk-live-rooms button[aria-pressed="true"],
.rk-pack-tabs button[aria-pressed="true"] { background: var(--rk-lime); color: var(--rk-on-lime); }
/* Inside the pill (a scrolling row would clip a ring around it), dark on the lime one. */
.rk-live-rooms button:focus-visible,
.rk-pack-tabs button:focus-visible { outline-offset: -3px; border-radius: 999px; }
.rk-live-rooms button[aria-pressed="true"]:focus-visible,
.rk-pack-tabs button[aria-pressed="true"]:focus-visible { outline-color: var(--rk-on-lime); }
.rk-toggle:focus-visible { border-radius: 50%; }
.rk-toggle {
  flex: none;
  display: none;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-left: auto;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgb(13 14 12 / 0.86);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.1);
  color: var(--rk-ink);
  cursor: pointer;
}
.rk-js .rk-toggle { display: grid; }
.rk-toggle:hover { color: var(--rk-lime); }
.rk-toggle svg { width: 14px; height: 14px; fill: currentColor; }
.rk-toggle .rk-ico-play,
.rk-toggle.is-paused .rk-ico-pause { display: none; }
.rk-toggle.is-paused .rk-ico-play { display: inline; }

.rk-hero-shot figcaption,
.rk-shot p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--rk-muted);
  font-size: 14px;
}
.rk-tag {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--rk-lime);
  color: var(--rk-on-lime);
  font: 700 10.5px/1.3 var(--rk-mono);
}

/* Sections */
.rk-section {
  max-width: var(--rk-max);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 120px) var(--rk-pad) 0;
}
.rk-heading { max-width: 760px; }
.rk-kicker { color: var(--rk-lime); font: 600 13px/1.3 var(--rk-mono); text-transform: uppercase; }
.rk-heading h2 { margin-top: 14px; font-size: clamp(32px, 4.2vw, 56px); line-height: 1.04; font-weight: 700; }
.rk-heading > p:not(.rk-kicker) { margin-top: 16px; color: var(--rk-muted); font-size: clamp(16px, 1.4vw, 19px); }

/* Gallery: one tall picture and five beside it. */
.rk-gallery {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: clamp(12px, 1.6vw, 20px);
  margin: clamp(28px, 4vw, 48px) 0 0;
  padding: 0;
  list-style: none;
}
.rk-shot { margin: 0; }
.rk-shot img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 16px;
  background: var(--rk-raise);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.05);
}
.rk-shot-tall { grid-row: span 2; }
.rk-shot-tall img { height: calc(100% - 34px); aspect-ratio: auto; }
.rk-shot p strong { color: var(--rk-ink); font-weight: 600; }
@media (max-width: 880px) {
  .rk-gallery { grid-template-columns: 1fr 1fr; }
  .rk-shot-tall { grid-column: 1 / -1; grid-row: auto; }
  .rk-shot-tall img { height: auto; aspect-ratio: 4 / 5; }
}

/* How it works: three steps and a picture of the app doing them. */
.rk-flow {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(14px, 2vw, 24px);
  margin-top: clamp(28px, 4vw, 48px);
}
.rk-flow-steps { display: grid; grid-auto-rows: 1fr; gap: 10px; margin: 0; padding: 0; list-style: none; }
.rk-flow-steps li { display: grid; }
.rk-flow-steps button {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: center;
  column-gap: 16px;
  row-gap: 4px;
  width: 100%;
  padding: 20px 22px 22px;
  overflow: hidden;
  border: 1px solid var(--rk-line);
  border-radius: 18px;
  background: var(--rk-raise);
  color: var(--rk-muted);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease-out, background-color 0.15s ease-out;
}
.rk-flow-steps button:hover { background: var(--rk-raise-2); }
.rk-flow-steps button[aria-current="step"] { border-color: rgb(214 242 107 / 0.5); background: var(--rk-raise-2); }
.rk-step-n { display: inline-block; color: var(--rk-lime); font: 600 14px/1 var(--rk-mono); }
.rk-flow-steps .rk-step-n { grid-row: span 2; padding-top: 7px; }
.rk-flow-steps strong { color: var(--rk-ink); font-size: 21px; font-weight: 650; line-height: 1.2; }
.rk-flow-note { font-size: 15.5px; line-height: 1.4; }
.rk-flow-meter { position: absolute; inset: auto 0 0; height: 3px; background: var(--rk-lime); transform: scaleX(0); transform-origin: left; }
.rk-flow-steps li.is-done .rk-flow-meter { transform: none; opacity: 0.3; }

.rk-stage-wrap { position: relative; min-width: 0; }
.rk-stage-wrap > .rk-toggle { position: absolute; right: 12px; bottom: 12px; z-index: 4; background: var(--rk-raise-2); }
.rk-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--rk-line);
  border-radius: var(--rk-radius);
  background: var(--rk-raise);
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}
.rk-stage-top {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 8px 16px;
  border-bottom: 1px solid var(--rk-line);
  color: var(--rk-muted);
  font: 500 12px/1.3 var(--rk-mono);
}
.rk-stage-mark { flex: none; width: 22px; height: 22px; color: var(--rk-ink); }
.rk-stage-file { min-width: 0; padding: 6px 12px; overflow: hidden; border-radius: 999px; background: var(--rk-raise-2); text-overflow: ellipsis; white-space: nowrap; transition: opacity 0.3s ease-out; }
.rk-stage-file b { margin-right: 6px; color: var(--rk-ink); font-weight: 600; }
.rk-stage[data-phase="empty"] .rk-stage-file { opacity: 0; }
.rk-stage-device { display: inline-flex; flex: none; align-items: center; gap: 8px; margin-left: auto; }
.rk-stage-device i { width: 6px; height: 6px; border-radius: 50%; background: var(--rk-lime); }
.rk-stage-body {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
  gap: clamp(16px, 2.6vw, 32px);
  align-items: center;
  padding: clamp(16px, 2.6vw, 32px);
}
.rk-stage-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 14px; background: var(--rk-bg); box-shadow: 0 0 0 1px rgb(255 255 255 / 0.06); }
/* The first samples replace the picture at once; the next ones settle into it. */
.rk-stage-photo img[data-photo="noise-1"].is-on { transition: none; }
.rk-stage-drop {
  position: absolute;
  inset: 12px;
  z-index: 2;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 4px;
  border: 1.5px dashed #55564e;
  border-radius: 10px;
  background: var(--rk-bg);
  color: var(--rk-muted);
  font-size: 13.5px;
  text-align: center;
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.3s ease-out, transform 0.3s ease-out, border-color 0.15s ease-out;
}
.rk-stage-drop svg { width: 28px; height: 28px; margin-bottom: 6px; fill: none; stroke: var(--rk-lime); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.rk-stage-drop b { color: var(--rk-ink); font-size: 16px; font-weight: 650; }
.rk-stage[data-phase="empty"] .rk-stage-drop { opacity: 1; transform: none; }
.rk-stage-drop.is-hot { border-color: var(--rk-lime); border-style: solid; }
.rk-stage-badge {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 2;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--rk-lime);
  color: var(--rk-on-lime);
  font: 700 10.5px/1.3 var(--rk-mono);
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.25s ease-out, transform 0.25s ease-out;
}
.rk-stage[data-phase="done"] .rk-stage-badge { opacity: 1; transform: none; }

.rk-stage-panel { display: grid; gap: clamp(14px, 2vw, 22px); align-content: center; min-width: 0; }
.rk-stage-group { transition: opacity 0.3s ease-out; }
.rk-js .rk-stage-group { opacity: 0.35; }
.rk-js .rk-flow[data-step="2"] .rk-stage-group[data-group="filament"],
.rk-js .rk-flow[data-step="2"] .rk-stage-group[data-group="scene"],
.rk-js .rk-flow[data-step="3"] .rk-stage-group[data-group="render"] { opacity: 1; }
.rk-stage-group > p:first-child { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 10px; color: var(--rk-muted); font: 600 11px/1.3 var(--rk-mono); text-transform: uppercase; }
.rk-stage-group em { color: var(--rk-ink); font-style: normal; }
.rk-stage-swatches { display: flex; gap: 8px; }
.rk-stage-swatches span { width: 30px; height: 30px; border-radius: 9px; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.14); }
.rk-stage-swatches span.is-on { outline: 2px solid var(--rk-lime); outline-offset: 2px; }
.rk-sw-bone { background: #efe9de; }
.rk-sw-sage { background: #8e9e82; }
.rk-sw-amber { background: #d4a23a; }
.rk-sw-coral { background: #e8735e; }
.rk-sw-navy { background: #22324f; }
.rk-stage-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.rk-stage-chips span { padding: 7px 12px; border: 1px solid var(--rk-line); border-radius: 999px; background: var(--rk-raise-2); color: var(--rk-muted); font-size: 13px; line-height: 1.2; }
.rk-stage-chips span.is-on { border-color: var(--rk-lime); background: var(--rk-lime); color: var(--rk-on-lime); font-weight: 600; }
.rk-stage-render { display: inline-block; padding: 9px 20px; border-radius: 999px; background: var(--rk-lime); color: var(--rk-on-lime); font-size: 14px; font-weight: 650; line-height: 1.2; }
.rk-stage-progress { height: 4px; margin-top: 14px; overflow: hidden; border-radius: 2px; background: var(--rk-raise-2); }
.rk-stage-progress i { display: block; height: 100%; background: var(--rk-lime); transform: scaleX(0); transform-origin: left; }
.rk-stage[data-phase="done"] .rk-stage-progress i { transform: none; }
.rk-stage-count { margin-top: 8px; color: var(--rk-muted); font: 500 12px/1.3 var(--rk-mono); font-variant-numeric: tabular-nums; }
.rk-stage-saved {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid rgb(214 242 107 / 0.4);
  border-radius: 12px;
  color: var(--rk-muted);
  font: 500 12px/1.3 var(--rk-mono);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}
.rk-stage-saved span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rk-stage-saved svg,
.rk-pack-zip svg { flex: none; width: 14px; height: 14px; fill: none; stroke: var(--rk-lime); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rk-stage-saved b { margin-right: 6px; color: var(--rk-ink); font-weight: 600; }
.rk-stage[data-phase="done"] .rk-stage-saved { opacity: 1; transform: none; }

/* The pointer and the file it carries: placed by replik.js, moved with transforms only. */
.rk-stage-cursor,
.rk-stage-chipfile { position: absolute; left: 0; top: 0; z-index: 3; opacity: 0; transition: transform 0.7s ease-out, opacity 0.25s ease-out; }
.rk-stage-cursor svg { display: block; width: 20px; height: 20px; margin: -2px 0 0 -4px; fill: var(--rk-ink); stroke: var(--rk-bg); stroke-width: 1.2; stroke-linejoin: round; }
.rk-stage-cursor i { position: absolute; left: -14px; top: -14px; width: 28px; height: 28px; border: 2px solid var(--rk-lime); border-radius: 50%; opacity: 0; }
.rk-flow.is-playing .rk-stage-cursor { opacity: 1; }
.rk-stage-chipfile span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid #55564e;
  border-radius: 10px;
  background: var(--rk-raise-2);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.5);
  color: var(--rk-ink);
  font: 500 12px/1.2 var(--rk-mono);
  white-space: nowrap;
  transform: translate(-50%, -50%);
}
.rk-stage-chipfile svg { width: 15px; height: 15px; fill: none; stroke: var(--rk-lime); stroke-width: 1.2; stroke-linejoin: round; }
.rk-stage-chipfile.is-on { opacity: 1; }

@media (max-width: 880px) {
  .rk-flow { grid-template-columns: 1fr; }
  .rk-flow-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .rk-flow-steps button { grid-template-columns: 1fr; padding: 12px 12px 14px; border-radius: 14px; }
  .rk-flow-steps .rk-step-n { grid-row: auto; padding-top: 0; font-size: 12px; }
  .rk-flow-steps strong { font-size: 15.5px; }
  .rk-flow-note { display: none; }
  .rk-stage-device { display: none; }
}
@media (max-width: 640px) {
  .rk-stage-body { grid-template-columns: 1fr; }
  .rk-stage-photo { aspect-ratio: 1; }
  .rk-stage-panel { gap: 14px; padding-right: 44px; }
}

/* Packs: the photos of each one, at their own formats, all the same height. */
.rk-packs-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 32px; }
.rk-pack-tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border: 1px solid var(--rk-line); border-radius: 26px; background: var(--rk-raise); }
.rk-packs { margin-top: clamp(24px, 3.4vw, 40px); }
.rk-pack[hidden] { display: none; }
.rk-js .rk-packs:not(.is-seen) li,
.rk-js .rk-packs:not(.is-seen) .rk-pack-zip { opacity: 0; }
.rk-pack ul { display: flex; gap: clamp(8px, 1.2vw, 14px); margin: 0; padding: 0; list-style: none; }
/* Each photo takes a share of the row equal to its format, so the row's photos end up equally tall. */
.rk-pack li { flex: 1 1 0; min-width: 0; }
.rk-pack img { width: 100%; height: auto; object-fit: cover; border-radius: 12px; background: var(--rk-raise); box-shadow: 0 0 0 1px rgb(255 255 255 / 0.06); }
.rk-ar-1x1 img { aspect-ratio: 1; }
.rk-ar-4x5 img { aspect-ratio: 4 / 5; }
.rk-ar-3x2 img { aspect-ratio: 3 / 2; }
.rk-ar-16x9 img { aspect-ratio: 16 / 9; }
.rk-ar-9x16 img { aspect-ratio: 9 / 16; }
.rk-pack li.rk-ar-4x5 { flex-grow: 0.8; }
.rk-pack li.rk-ar-3x2 { flex-grow: 1.5; }
.rk-pack li.rk-ar-16x9 { flex-grow: 1.7778; }
.rk-pack li.rk-ar-9x16 { flex-grow: 0.5625; }
/* Rows no taller than 300 px: each pack as wide as its formats add up to at that height. */
.rk-pack-listing ul { max-width: 1182px; }
.rk-pack-landing ul { max-width: 1462px; }
.rk-pack-social ul { max-width: 737px; }
.rk-pack-turnaround ul { max-width: 1002px; }
.rk-pack li p { display: flex; flex-wrap: wrap; gap: 0 8px; margin-top: 10px; color: var(--rk-ink); font-size: 14px; line-height: 1.35; }
.rk-pack li p span { color: var(--rk-lime); font: 600 12px/1.6 var(--rk-mono); }
.rk-pack li p em { color: var(--rk-muted); font: 500 12px/1.6 var(--rk-mono); }
.rk-pack-zip { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; padding: 10px 14px; border: 1px solid rgb(214 242 107 / 0.4); border-radius: 12px; color: var(--rk-muted); font: 500 13px/1.3 var(--rk-mono); }
.rk-pack-zip b { color: var(--rk-ink); font-weight: 600; }
@media (max-width: 640px) {
  .rk-pack-tabs { width: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  /* Small screens: the row scrolls sideways, photos 190 px tall. */
  .rk-pack ul { max-width: none; margin: 0 calc(var(--rk-pad) * -1); padding: 0 var(--rk-pad); overflow-x: auto; scrollbar-width: none; }
  .rk-pack li, .rk-pack li[class] { flex: none; }
  .rk-pack img { width: auto; height: 190px; }
  .rk-pack li p { max-width: 150px; }
}

/* Editions */
.rk-editions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); margin-top: clamp(28px, 4vw, 48px); }
.rk-edition {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.8vw, 36px);
  background: var(--rk-raise);
  border: 1px solid var(--rk-line);
  border-radius: var(--rk-radius);
}
.rk-edition-studio { border-color: rgb(214 242 107 / 0.35); }
.rk-edition h3 { font-size: 26px; }
.rk-edition header p { margin-top: 4px; color: var(--rk-muted); font-size: 15px; }
.rk-plus { margin-top: 20px; color: var(--rk-lime); font-weight: 600; font-size: 15px; }
.rk-edition ul { flex: 1; display: flex; flex-wrap: wrap; gap: 8px; align-content: start; margin: 20px 0 28px; padding: 0; list-style: none; }
.rk-plus + ul { margin-top: 12px; }
.rk-edition li { padding: 8px 13px; border-radius: 999px; background: var(--rk-raise-2); font-size: 15px; line-height: 1.3; }
.rk-edition-studio li { box-shadow: inset 0 0 0 1px rgb(214 242 107 / 0.22); }
.rk-soon-button {
  align-self: flex-start;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px dashed rgb(214 242 107 / 0.5);
  color: var(--rk-lime);
  font: 600 14px/1.2 var(--rk-mono);
  text-transform: uppercase;
}
@media (max-width: 880px) { .rk-editions { grid-template-columns: 1fr; } }

/* Local */
.rk-local .rk-heading {
  max-width: none;
  padding: clamp(28px, 4vw, 56px);
  border-radius: var(--rk-radius);
  background: var(--rk-raise);
  border: 1px solid var(--rk-line);
}
.rk-local .rk-heading > p:not(.rk-kicker) { max-width: 40em; }

/* FAQ */
.rk-faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.rk-faq-list { display: grid; gap: 10px; }
.rk-faq details { background: var(--rk-raise); border: 1px solid var(--rk-line); border-radius: 16px; }
.rk-faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.rk-faq summary::-webkit-details-marker { display: none; }
.rk-faq summary::after { content: "+"; color: var(--rk-lime); font: 500 22px/1 var(--rk-mono); }
.rk-faq details[open] summary::after { content: "−"; }
.rk-faq details p { padding: 0 20px 18px; color: var(--rk-muted); }
@media (max-width: 880px) { .rk-faq { grid-template-columns: 1fr; } }

/* Closing line */
.rk-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: clamp(56px, 8vw, 112px); }
.rk-end h2 { font-size: clamp(30px, 4vw, 52px); line-height: 1.05; max-width: 14em; }
.rk-button { display: inline-block; padding: 14px 24px; }

/* Sections ease in once as they come into view (replik.js marks them). */
.rk-js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease-out, transform 0.5s ease-out; }
.rk-js [data-reveal].is-in { opacity: 1; transform: none; }
.rk-js .rk-gallery [data-reveal]:nth-child(2) { transition-delay: 0.08s; }
.rk-js .rk-gallery [data-reveal]:nth-child(3) { transition-delay: 0.16s; }
.rk-js .rk-gallery [data-reveal]:nth-child(4) { transition-delay: 0.08s; }
.rk-js .rk-gallery [data-reveal]:nth-child(5) { transition-delay: 0.16s; }
.rk-shot img { transition: transform 0.2s ease-out; }
@media (hover: hover) { .rk-shot:hover img { transform: scale(1.015); } }

@media (prefers-reduced-motion: reduce) {
  .rk-js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .rk-js .rk-packs:not(.is-seen) li, .rk-js .rk-packs:not(.is-seen) .rk-pack-zip { opacity: 1; }
  .rk-live-frame img, .rk-live-frame img.is-on,
  .rk-stage-photo img, .rk-stage-photo img.is-on,
  .rk-stage *, .rk-shot img { transition: none; }
}

/* Footer */
.rk-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 24px var(--rk-pad) 32px;
  border-top: 1px solid var(--rk-line);
  color: var(--rk-muted);
  font-size: 14px;
}
.rk-foot ul { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; list-style: none; }
.rk-foot a { color: var(--rk-muted); }
.rk-foot a:hover { color: var(--rk-ink); }

@media (max-width: 880px) {
  .rk-hero { grid-template-columns: 1fr; }
  .rk-hero-shot { max-width: 520px; }
}
@media (max-width: 480px) {
  .rk-row { flex-direction: column; border-radius: 20px; }
  .rk-row button { width: 100%; padding: 13px 20px; }
  .rk-live-rooms button { padding: 9px 10px; font-size: 13px; }
  .rk-pack-zip { display: flex; }
}

/* Download (the Mac app) */
.rk-hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 26px 0 22px; }
.rk-hero-cta span { color: var(--rk-muted); font-size: 14px; }
.rk-download-card { display: grid; gap: 12px; justify-items: start; margin-top: 24px; padding: 28px; background: var(--rk-raise); border: 1px solid var(--rk-line); border-radius: var(--rk-radius); }
.rk-download-meta { color: var(--rk-ink); font: 500 14px/1.5 var(--rk-mono); font-variant-numeric: tabular-nums; }
.rk-download-note { color: var(--rk-muted); font-size: 14.5px; }
.rk-edition .rk-button { align-self: flex-start; }
.rk-plan-note { margin: 12px 0 0; color: var(--rk-muted); font-size: 13.5px; line-height: 1.5; text-wrap: pretty; }
