/*
 * ReSpace site (respaceplugin.com), 2026-11-09.
 * The plug-in's own visual language (the plug-in repo rimb05/REverb, .interface-design/system.md): an acoustician's light
 * table at night. Warm graphite surfaces stepped by lightness only, plaster ink, and color that only
 * ever means "room": tungsten = the new room, slate = the original. The reverb is the only thing that
 * glows (the halo). Archivo, sentence case, a 4 px grid, borders instead of shadows.
 */
@font-face { font-family: "Archivo"; src: url("../fonts/Archivo-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/Archivo-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/Archivo-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo Expanded"; src: url("../fonts/ArchivoExpanded-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --inset: #100f0d;
  --canvas: #151412;
  --panel: #1a1916;
  --raised: #201f1b;
  --overlay: #282622;
  --ink: #ece7df;
  --ink2: #b5aea3;
  --ink3: #8a847a;
  --ink4: #5d5850;
  --line-soft: rgba(236, 231, 223, 0.045);
  --line: rgba(236, 231, 223, 0.075);
  --line-strong: rgba(236, 231, 223, 0.14);
  --line-focus: rgba(236, 231, 223, 0.32);
  --tungsten: #f0a65e;
  --slate: #8297aa;
  --core: #e9e3d8;
  --danger: #e0705e;
  --r-s: 4px;
  --r-m: 6px;
  --r-l: 10px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 400 17px/1.6 "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-color: var(--line-focus); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--tungsten); }
h1, h2, h3 { font-family: "Archivo Expanded", "Archivo", sans-serif; font-weight: 600; letter-spacing: -0.01em; margin: 0; }
p { margin: 0 0 16px; color: var(--ink2); }
:focus-visible { outline: 2px solid var(--line-focus); outline-offset: 3px; }

.rv-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---- navigation ---------------------------------------------------------------------------------- */
.rv-nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(21, 20, 18, 0.88);
  backdrop-filter: saturate(1.2) blur(12px);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid var(--line);
}
.rv-nav-in { display: flex; align-items: center; gap: 32px; height: 68px; }
.rv-brand { display: flex; flex-direction: column; gap: 5px; text-decoration: none; }
.rv-brand img { height: 28px; width: auto; }
.rv-brand span { font: 600 9.5px/1 "Archivo Expanded", sans-serif; letter-spacing: 0.32em; text-transform: uppercase; color: var(--ink3); }
.rv-links { display: flex; gap: 24px; margin-left: 8px; }
.rv-links a { color: var(--ink2); text-decoration: none; font-size: 15px; font-weight: 500; }
.rv-links a:hover { color: var(--ink); }
.rv-nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }

/* ---- buttons (the plug-in's Pill) ---------------------------------------------------------------- */
.rv-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px; border-radius: 999px;
  font: 600 15px/1 "Archivo", sans-serif; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
}
.rv-btn-primary { background: var(--tungsten); color: #1b1408; }
.rv-btn-primary:hover { background: #f4b679; }
.rv-btn-quiet { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.rv-btn-quiet:hover { background: var(--raised); border-color: var(--line-focus); }
.rv-btn-soon { border-color: var(--line); color: var(--ink3); background: var(--panel); cursor: default; }
.rv-btn-lg { height: 48px; padding: 0 24px; font-size: 16px; }

/* ---- hero ---------------------------------------------------------------------------------------- */
.rv-hero { position: relative; padding: 88px 0 40px; overflow: hidden; }
.rv-hero::before {
  /* the halo: the new room's light, behind everything */
  content: ""; position: absolute; left: 50%; top: 260px; width: 1300px; height: 760px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(240, 166, 94, 0.16), rgba(240, 166, 94, 0.05) 55%, transparent 75%);
  pointer-events: none;
}
.rv-hero-text { position: relative; max-width: 780px; }
.rv-eyebrow { font: 600 12px/1 "Archivo Expanded", sans-serif; letter-spacing: 0.24em; text-transform: uppercase; color: var(--tungsten); margin: 0 0 22px; }
.rv-hero h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.04; margin-bottom: 24px; }
.rv-hero h1 em { font-style: normal; color: var(--tungsten); }
.rv-lede { font-size: 20px; line-height: 1.55; color: var(--ink2); max-width: 690px; }
.rv-cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 32px; }
.rv-cta-note { font-size: 14px; color: var(--ink3); margin: 0; }
.rv-shot {
  position: relative; margin-top: 64px;
  border: 1px solid var(--line-strong); border-radius: var(--r-l); overflow: hidden;
  background: var(--inset);
}
.rv-shot img { width: 100%; }
.rv-caption { font-size: 14px; color: var(--ink3); margin: 14px 2px 0; }

/* ---- the halo strip (core + rooms, as the plug-in draws a sound) ---------------------------------- */
.rv-halo { margin: 0; }
.rv-halo svg { width: 100%; height: auto; display: block; }

/* ---- sections ------------------------------------------------------------------------------------ */
.rv-section { padding: 96px 0; border-top: 1px solid var(--line-soft); }
.rv-section h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.12; margin-bottom: 18px; max-width: 760px; }
.rv-section .rv-intro { font-size: 19px; max-width: 720px; }
.rv-kicker { font: 600 12px/1 "Archivo Expanded", sans-serif; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink3); margin: 0 0 18px; }

.rv-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.rv-step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-l); padding: 28px; }
.rv-step-n {
  width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--tungsten); color: var(--tungsten);
  display: flex; align-items: center; justify-content: center; font: 600 13px/1 "Archivo", sans-serif; margin-bottom: 20px;
}
.rv-step h3 { font-size: 19px; margin-bottom: 10px; }
.rv-step p { font-size: 16px; margin: 0; }

.rv-split { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; margin-top: 8px; }
.rv-split.rv-flip { grid-template-columns: 7fr 5fr; }
.rv-split.rv-flip .rv-split-text { order: 2; }
.rv-split .rv-shot { margin-top: 0; }
.rv-list { list-style: none; margin: 24px 0 0; padding: 0; }
.rv-list li { position: relative; padding: 10px 0 10px 22px; border-top: 1px solid var(--line-soft); color: var(--ink2); font-size: 16px; }
.rv-list li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 8px; height: 8px; border-radius: 50%; background: var(--tungsten); box-shadow: 0 0 10px rgba(240, 166, 94, 0.55); }
.rv-list li strong { color: var(--ink); font-weight: 600; }

.rv-types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 28px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
.rv-types div { background: var(--panel); padding: 16px 18px; }
.rv-types b { display: block; font: 600 22px/1.1 "Archivo Expanded", sans-serif; color: var(--ink); }
.rv-types span { font-size: 14px; color: var(--ink3); }

.rv-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.rv-mode { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-l); padding: 28px; }
.rv-mode h3 { font: 600 13px/1 "Archivo Expanded", sans-serif; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink2); margin-bottom: 16px; }
.rv-mode h3 i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--tungsten); margin-right: 10px; vertical-align: 1px; box-shadow: 0 0 10px rgba(240, 166, 94, 0.6); }
.rv-mode p:last-child { margin-bottom: 0; }

.rv-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; margin-top: 40px; }
.rv-spec { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.rv-spec dt { color: var(--ink3); font-size: 15px; }
.rv-spec dd { margin: 0; color: var(--ink); font-size: 16px; }

/* ---- trial / buy band ---------------------------------------------------------------------------- */
.rv-band {
  position: relative; overflow: hidden; margin-top: 8px;
  background: var(--panel); border: 1px solid var(--line-strong); border-radius: var(--r-l); padding: 48px;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center;
}
.rv-band::after {
  content: ""; position: absolute; right: -180px; top: -160px; width: 520px; height: 520px;
  background: radial-gradient(closest-side, rgba(240, 166, 94, 0.14), transparent 70%);
  pointer-events: none;
}
.rv-band h2 { margin-bottom: 12px; }
.rv-band p { margin: 0; }
.rv-band .rv-cta-row { margin-top: 0; justify-content: flex-end; position: relative; z-index: 1; }
.rv-price { font: 600 44px/1 "Archivo Expanded", sans-serif; color: var(--ink); flex-basis: 100%; text-align: right; margin-bottom: 8px; }
.rv-price small { display: block; font: 400 14px/1.4 "Archivo", sans-serif; color: var(--ink3); margin-top: 8px; }

/* ---- simple pages (trial, help, confirmation) ---------------------------------------------------- */
.rv-doc { padding: 72px 0 96px; }
.rv-doc-in { max-width: 720px; }
.rv-doc h1 { font-size: clamp(32px, 4.6vw, 46px); line-height: 1.1; margin-bottom: 20px; }
.rv-doc h2 { font-size: 22px; margin: 48px 0 14px; }
.rv-doc h3 { font-size: 17px; margin: 28px 0 8px; font-family: "Archivo", sans-serif; }
.rv-doc ol, .rv-doc ul { color: var(--ink2); padding-left: 22px; margin: 0 0 16px; }
.rv-doc li { margin: 6px 0; }
.rv-doc li::marker { color: var(--ink3); }
.rv-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-l); padding: 32px; margin-top: 28px; }
.rv-card > :last-child { margin-bottom: 0; }
.rv-note { border-left: 2px solid var(--tungsten); padding: 2px 0 2px 16px; color: var(--ink2); margin: 24px 0; }

/* Drupal's form markup inside the shell (the theme's own classes, styled here). */
.rv-form .form-item, .rv-form .js-form-item { margin: 0 0 18px; }
.rv-form label { display: block; font-size: 14px; font-weight: 600; color: var(--ink2); margin-bottom: 8px; }
.rv-form input[type="text"], .rv-form input[type="email"] {
  width: 100%; height: 46px; padding: 0 14px; border-radius: var(--r-m);
  background: var(--inset); color: var(--ink); border: 1px solid var(--line-strong);
  font: 400 16px/1 "Archivo", sans-serif;
}
.rv-form input[type="text"]:focus, .rv-form input[type="email"]:focus { outline: none; border-color: var(--tungsten); }
.rv-form .form-required::after, .rv-form .js-form-required::after { content: none; }
.rv-form .description, .rv-form .form-item__description { font-size: 14px; color: var(--ink3); margin-top: 6px; }
.rv-form input[type="submit"], .rv-form .form-submit {
  height: 48px; padding: 0 24px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--tungsten); color: #1b1408; font: 600 16px/1 "Archivo", sans-serif;
}
.rv-form input[type="submit"]:hover { background: #f4b679; }
.rv-form .form-actions { margin-top: 8px; }
.rv-messages { margin: 0 0 24px; }
.rv-msg { border-radius: var(--r-m); padding: 14px 16px; margin-bottom: 10px; border: 1px solid var(--line-strong); background: var(--raised); color: var(--ink); font-size: 16px; }
.rv-msg-status { border-color: rgba(240, 166, 94, 0.45); }
.rv-msg-error, .rv-msg-warning { border-color: rgba(224, 112, 94, 0.55); }
.rv-form .error, .rv-form input.error { border-color: var(--danger) !important; }

/* ---- footer -------------------------------------------------------------------------------------- */
.rv-foot { border-top: 1px solid var(--line); background: var(--inset); padding: 48px 0 40px; }
.rv-foot-in { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; }
.rv-foot img { height: 20px; width: auto; margin-bottom: 14px; opacity: 0.9; }
.rv-foot p { font-size: 14px; color: var(--ink3); margin: 0; }
.rv-foot-links { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: flex-start; }
.rv-foot-links a { color: var(--ink2); text-decoration: none; font-size: 14px; }
.rv-foot-links a:hover { color: var(--ink); }
.rv-legal { grid-column: 1 / -1; font-size: 12px !important; color: var(--ink4) !important; border-top: 1px solid var(--line-soft); padding-top: 20px; }

/* ---- small screens ------------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .rv-links { display: none; }
  .rv-steps, .rv-modes, .rv-specs { grid-template-columns: 1fr; }
  .rv-split, .rv-split.rv-flip { grid-template-columns: 1fr; gap: 32px; }
  .rv-split.rv-flip .rv-split-text { order: 0; }
  .rv-types { grid-template-columns: repeat(2, 1fr); }
  .rv-band { grid-template-columns: 1fr; padding: 32px; }
  .rv-band .rv-cta-row { justify-content: flex-start; }
  .rv-price { text-align: left; }
  .rv-foot-in { grid-template-columns: 1fr; }
  .rv-section { padding: 72px 0; }
}
@media (max-width: 520px) {
  .rv-nav-cta .rv-btn-quiet { display: none; }
  .rv-hero { padding-top: 56px; }
  .rv-spec { grid-template-columns: 1fr; gap: 4px; }
  body { font-size: 16px; }
  .rv-lede { font-size: 18px; }
}
