/* ============================================================
   ARC Recovery page — the calm half of "Train + Recover".
   Charcoal-to-stone gradient, black-and-white photography, a large
   italic serif for the moments of stillness, and ONE glowing amber orb
   (the booking button). Loaded after styles.css, scoped to .page-recovery.
   ============================================================ */

.page-recovery {
  --rv-ink: #f2f0ea;
  --rv-muted: #b5b2aa;
  --rv-line: rgba(242, 240, 234, 0.16);
  --rv-top: #161615;
  --rv-mid: #3b3a37;
  --rv-low: #6a6862;
  --rv-paper: #e9e6df;
  --rv-serif: 'Cormorant Garamond', 'Times New Roman', serif;
  background: linear-gradient(180deg, var(--rv-top) 0%, var(--rv-mid) 38%, var(--rv-low) 62%, var(--rv-mid) 82%, var(--rv-top) 100%);
  color: var(--rv-ink);
}

/* Header on dark */
.page-recovery .site-header {
  background: rgba(22, 22, 21, 0.86);
  border-bottom-color: var(--rv-line);
}
.page-recovery .brand-mark { filter: invert(1); }
.page-recovery .nav-links a:not(.btn) { color: var(--rv-ink); }
.page-recovery .nav-toggle span { background: var(--rv-ink); }
.page-recovery .nav-links .btn {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.page-recovery .nav-links .btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
@media (max-width: 860px) {
  .page-recovery .nav-links { background: var(--rv-top); }
  .page-recovery .nav-links li { border-bottom-color: var(--rv-line); }
}

/* Shared bits */
.rv-intro {
  font-family: var(--rv-serif);
  font-style: italic;
  font-size: clamp(1.7rem, 3.1vw, 2.35rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0;
  max-width: 16ch;
  margin: 0 0 1.25rem;
}
.rv-link {
  display: inline-flex;
  gap: 0.4em;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.rv-link:hover { color: var(--accent); }
.rv-heading {
  font-family: var(--rv-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin: 0 0 2.5rem;
}

/* ---- Hero ---- */
.rv-hero { padding: clamp(2rem, 5vw, 4rem) 0 0; }
.rv-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 0.8fr;
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: start;
}
.rv-hero-intro { padding-top: 2rem; }
.rv-hero-photo { margin: 0; }
.rv-hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
}
.rv-hero-card {
  position: relative;
  display: block;
  margin-top: 2rem;
  background: var(--rv-paper);
  color: #1b1b1a;
}
.rv-hero-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.rv-hero-card-label {
  display: block;
  padding: 0.9rem 3rem 1rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.35;
}
.rv-corner {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  background: #fff;
  color: #1b1b1a;
  font-size: 0.95rem;
  transition: background 0.18s ease;
}
.rv-hero-card:hover .rv-corner { background: var(--accent); color: #fff; }

/* The big italic line with the orb in the middle */
.rv-display {
  font-family: var(--rv-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(3.4rem, 8.4vw, 8rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.15em 0.25em;
  margin: clamp(-6rem, -8vw, -2rem) 0 0;
  position: relative;
  text-align: center;
}

/* ---- The one bright thing: the amber orb ---- */
.rv-orb {
  --size: clamp(6.5rem, 12vw, 9.5rem);
  width: var(--size);
  height: var(--size);
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-size: clamp(0.8rem, 1.2vw, 0.95rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;
  color: #1d130b;
  background: radial-gradient(circle at 35% 30%, #ffd9a8 0%, #f2a35f 38%, var(--accent) 70%, #a9461a 100%);
  box-shadow:
    0 0 0 6px rgba(232, 116, 59, 0.18),
    0 0 0 12px rgba(232, 116, 59, 0.08),
    0 0 60px 6px rgba(232, 116, 59, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.rv-orb:hover,
.rv-orb:focus-visible {
  transform: scale(1.05);
  box-shadow:
    0 0 0 8px rgba(232, 116, 59, 0.24),
    0 0 0 16px rgba(232, 116, 59, 0.1),
    0 0 80px 10px rgba(232, 116, 59, 0.45);
  outline: none;
}
.rv-orb-sm { --size: 3rem; font-size: 1.1rem; }
@media (prefers-reduced-motion: no-preference) {
  .rv-display .rv-orb { animation: rv-breathe 6s ease-in-out infinite; }
}
@keyframes rv-breathe {
  0%, 100% { box-shadow: 0 0 0 6px rgba(232,116,59,.18), 0 0 0 12px rgba(232,116,59,.08), 0 0 50px 4px rgba(232,116,59,.3); }
  50% { box-shadow: 0 0 0 10px rgba(232,116,59,.22), 0 0 0 20px rgba(232,116,59,.08), 0 0 80px 12px rgba(232,116,59,.42); }
}

/* ---- Cards row ---- */
.rv-cards {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1rem;
  margin-top: clamp(2.5rem, 6vw, 5rem);
}
.rv-card { position: relative; min-height: 15rem; overflow: hidden; }
.rv-card-photo { background: #2a2927; }
.rv-card-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
}
.rv-card-photo .rv-card-body {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  background: linear-gradient(180deg, rgba(22,22,21,0.55), rgba(22,22,21,0.1) 50%, rgba(22,22,21,0.6));
}
.rv-card-title {
  font-family: var(--rv-serif);
  font-style: italic;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0;
  max-width: 14ch;
  margin: 0;
}
.rv-card-stat,
.rv-card-price {
  border: 1px solid var(--rv-line);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.rv-card-price { background: var(--rv-paper); color: #1b1b1a; border-color: transparent; }
.rv-stat {
  font-family: var(--rv-serif);
  font-style: italic;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  line-height: 1;
  display: flex;
  gap: 0.6em;
  margin: 0;
}
.rv-card-note { font-size: 0.85rem; line-height: 1.5; color: var(--rv-muted); margin: 0; max-width: 30ch; }
.rv-card-price .rv-card-note { color: #55534e; }
.rv-card-kicker { font-size: 0.75rem; font-weight: 600; }
.rv-price {
  font-family: var(--rv-serif);
  font-style: italic;
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  line-height: 1;
  margin: 0.75rem 0 0.5rem;
}
.rv-card-price .rv-orb-sm { position: absolute; top: 1.25rem; right: 1.25rem; }

/* ---- Essentials ---- */
.rv-essentials { padding: clamp(4rem, 9vw, 7rem) 0 clamp(3rem, 6vw, 5rem); }
.rv-essentials .rv-heading { text-align: right; max-width: 12ch; margin-left: auto; }
.rv-essentials-grid {
  display: grid;
  grid-template-columns: 0.9fr 0.8fr 1.3fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.rv-essentials-intro p { color: var(--rv-muted); max-width: 32ch; }
.rv-essentials-photo { position: relative; margin: 0; }
.rv-essentials-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.rv-essentials-photo figcaption {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  background: #fff;
  color: #1b1b1a;
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  font-size: 0.8rem;
}
.rv-essentials-photo figcaption strong { font-size: 0.95rem; }
.rv-services { list-style: none; margin: 0; padding: 0; }
.rv-services li + li { border-top: 1px solid var(--rv-line); }
.rv-services a {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 1rem;
  padding: 1.1rem 0;
}
.rv-service-label { grid-column: 1; font-size: 0.75rem; color: var(--rv-muted); }
.rv-service-name {
  grid-column: 1;
  font-family: var(--rv-serif);
  font-style: italic;
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  line-height: 1.1;
}
.rv-service-note { grid-column: 1; font-size: 0.85rem; color: var(--rv-muted); }
.rv-service-arrow { grid-column: 2; grid-row: 1 / span 3; align-self: center; font-size: 1.1rem; transition: transform 0.18s ease, color 0.18s ease; }
.rv-services a:hover .rv-service-name,
.rv-services a:hover .rv-service-arrow { color: var(--accent); }
.rv-services a:hover .rv-service-arrow { transform: translate(2px, -2px); }

/* ---- Sauna gallery ---- */
.rv-sauna { padding: clamp(1rem, 3vw, 2rem) 0 clamp(3rem, 6vw, 5rem); }
.rv-sauna-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}
.rv-sauna-head .rv-heading { margin: 0; }
.rv-sauna-note { color: var(--rv-muted); max-width: 34ch; margin: 0 0 0.4rem; }
.rv-sauna-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: repeat(2, clamp(200px, 24vw, 340px));
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
}
.rv-sauna-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rv-sauna-tall { grid-row: 1 / span 2; }
.rv-sauna-wide { grid-column: 2 / span 2; }
/* Plunge gallery mirrors the sauna one: tall photo on the right */
.rv-gallery-flip .rv-sauna-tall { grid-column: 3; grid-row: 1 / span 2; }
.rv-gallery-flip .rv-sauna-wide { grid-column: 1 / span 2; grid-row: 1; }
.rv-plunge .rv-sauna-head { flex-direction: row-reverse; }
.rv-plunge .rv-heading { text-align: right; }

/* ---- How it works ---- */
.rv-how { padding: clamp(2rem, 5vw, 4rem) 0 clamp(4rem, 8vw, 6rem); }
.rv-how .rv-heading { text-align: center; }
.rv-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.rv-steps li {
  border-top: 1px solid var(--rv-line);
  padding-top: 1.25rem;
}
.rv-step-n {
  font-family: var(--rv-serif);
  font-style: italic;
  font-size: 2.25rem;
  line-height: 1;
  color: var(--accent);
}
.rv-steps h3 {
  margin: 0.5rem 0;
  font-family: var(--rv-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 1.1;
}
.rv-steps p { color: var(--rv-muted); font-size: 0.92rem; margin: 0; }
.rv-reward {
  text-align: center;
  margin: 2.5rem 0 0;
  font-family: var(--rv-serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
}

/* ---- Marquee ---- */
.rv-marquee {
  overflow: hidden;
  background: #0d0d0c;
  border-top: 1px solid var(--rv-line);
  border-bottom: 1px solid var(--rv-line);
  padding: 1.25rem 0;
}
.rv-marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 2.5rem;
  font-family: var(--rv-serif);
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.rv-marquee-track i { font-style: normal; font-family: 'Inter', sans-serif; font-size: 0.5em; color: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .rv-marquee-track { animation: rv-marquee 38s linear infinite; }
}
@keyframes rv-marquee {
  to { transform: translateX(-50%); }
}

/* ---- App ---- */
.rv-app { background: #0d0d0c; padding: clamp(3rem, 7vw, 5rem) 0; }
.rv-app-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
  align-items: center;
}
.rv-app-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  border: 1px solid var(--rv-line);
  padding: 1.75rem;
}
.rv-app-icon { width: 72px; height: 72px; border-radius: 18px; flex: none; }
.rv-app-title {
  font-family: var(--rv-serif);
  font-style: italic;
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1;
  margin: 0 0 0.5rem;
}
.rv-app-card p { color: var(--rv-muted); font-size: 0.95rem; max-width: 42ch; }
.rv-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.8rem 1.5rem 0.8rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(242, 240, 234, 0.45);
  color: var(--rv-ink);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.rv-whatsapp-logo { width: 1.6rem; height: 1.6rem; flex: none; }
.rv-whatsapp-text {
  display: flex;
  flex-direction: column;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
}
.rv-whatsapp-text small { font-weight: 400; font-size: 0.8rem; color: var(--rv-muted); margin-top: 0.15rem; }
.rv-whatsapp:hover,
.rv-whatsapp:focus-visible { background: var(--rv-paper); color: #1b1b1a; border-color: var(--rv-paper); }
.rv-whatsapp:hover .rv-whatsapp-text small,
.rv-whatsapp:focus-visible .rv-whatsapp-text small { color: #55534e; }

.page-recovery .footer { background: #0d0d0c; border-top: 1px solid var(--rv-line); }

/* Focus visibility on dark */
.page-recovery a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .rv-display { flex-wrap: wrap; white-space: normal; }
  .rv-hero-grid { grid-template-columns: 1fr 1fr; }
  .rv-hero-intro {
    grid-column: 1 / -1;
    padding-top: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    border-bottom: 1px solid var(--rv-line);
    padding-bottom: 1.5rem;
  }
  .rv-hero-intro .rv-intro { max-width: 24ch; margin: 0; }
  .rv-hero-intro .rv-link { flex: none; margin-bottom: 0.4rem; }
  .rv-display { margin-top: 1.5rem; }
  .rv-cards { grid-template-columns: 1fr 1fr; }
  .rv-card-photo { grid-column: 1 / -1; }
  .rv-essentials-grid { grid-template-columns: 1fr 1fr; }
  .rv-services { grid-column: 1 / -1; }
  .rv-app-grid { grid-template-columns: 1fr; }
  .rv-sauna-head { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .rv-plunge .rv-sauna-head { flex-direction: column; }
  .rv-plunge .rv-heading { text-align: left; }
}
@media (max-width: 600px) {
  .rv-hero-intro { flex-direction: column; align-items: flex-start; border-bottom: 0; padding-bottom: 0; }
  .rv-hero-intro .rv-intro { margin-bottom: 1.25rem; }
  .rv-hero-grid { grid-template-columns: 1fr; }
  .rv-hero-card { display: none; }
  .rv-cards { grid-template-columns: 1fr; }
  .rv-essentials .rv-heading { text-align: left; margin-left: 0; }
  .rv-essentials-grid { grid-template-columns: 1fr; }
  .rv-steps { grid-template-columns: 1fr; }
  .rv-app-card { flex-direction: column; }
  .rv-display { font-size: clamp(3rem, 15vw, 4.5rem); }
  .rv-sauna-grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 44vw; }
  .rv-sauna-tall { grid-row: span 2; }
  .rv-sauna-wide { grid-column: 1 / -1; grid-row: 1; }
  .rv-gallery-flip .rv-sauna-tall { grid-column: auto; grid-row: span 2; }
  .rv-gallery-flip .rv-sauna-wide { grid-column: 1 / -1; grid-row: 1; }
}

/* MBB lockup divider on the dark header */
.page-recovery .brand-divider { background: var(--rv-line); }
