/* HOME v2: Restoration Counseling homepage (2026-10-18). Loaded only on the homepage via the `extra_css` front-matter key.
   Scoped to main.rv; the shared header and footer keep site.css. */
.rv { --sun-soft: #fbe9a6; --sage: #dce3de; }
.rv section { padding: clamp(80px, 10vw, 124px) 0; position: relative; }
.rv h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.3rem, 4.6vw, 3.6rem); line-height: 1.05; color: var(--green-900); margin: 10px 0 18px; }
.rv h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.6rem; line-height: 1.15; color: var(--green-900); }
.rv mark { background: linear-gradient(transparent 55%, var(--sun-soft) 55% 92%, transparent 92%); color: inherit; padding: 0 .06em; font-style: normal; }
.rv .rv-big { font-size: clamp(1.12rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--green-900); }
.rv p + p { margin-top: 14px; }
.rv-link { display: inline-flex; gap: 8px; margin-top: 22px; font-weight: 600; color: var(--green-900); text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.rv-link::after { content: "\2192"; transition: transform .2s; }
.rv-link:hover::after { transform: translateX(4px); }
.rv-head { max-width: 760px; margin-bottom: 40px; }

/* hero */
.rv .rv-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 96px); background: radial-gradient(900px 600px at 82% 30%, #efe7d8 0%, rgba(239,231,216,0) 70%), var(--cream); overflow: hidden; }
.rv-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.rv-eyebrow { font-family: var(--font-body); font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); margin: 0; }
.rv-display { font-family: var(--font-display); font-weight: 400; font-size: clamp(3rem, 6.6vw, 5.4rem); line-height: 1; color: var(--green-900); margin: 18px 0 22px; letter-spacing: -0.01em; }
.rv-lead { font-size: clamp(1.05rem, 1.4vw, 1.17rem); color: var(--ink-soft); max-width: 34em; }
.rv .button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.rv-avail { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: .92rem; color: var(--ink-muted); }
.rv-dot { width: 9px; height: 9px; border-radius: 50%; background: #5c9a6b; box-shadow: 0 0 0 4px rgba(92,154,107,.2); flex: none; }
.rv-hero-media { position: relative; padding-bottom: 90px; justify-self: center; width: 100%; max-width: 460px; }
.rv-hero-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: 220px 220px 4px 4px; box-shadow: var(--shadow-lg); }

/* breathing pacer */
.rv-breathe { position: absolute; left: -56px; right: 30px; bottom: 0; display: flex; align-items: center; gap: 18px; background: var(--bone); border: 1px solid var(--border); border-radius: 4px; padding: 18px 20px; box-shadow: var(--shadow-md); }
.rv-orb { position: relative; width: 74px; height: 74px; flex: none; display: grid; place-items: center; }
.rv-orb::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--gold); opacity: .6; }
.rv-orb-core { width: 64px; height: 64px; background: url(../img/sunflower.webp) center / contain no-repeat; transform: scale(var(--s, .62)) rotate(var(--r, 0deg)); transition: transform 4s cubic-bezier(.45,0,.55,1); }
.rv-breathe[data-phase="out"] .rv-orb-core { transition-duration: 6s; }
.rv-b-title { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.15; color: var(--green-900); margin: 0; }
.rv-b-cue { font-size: .95rem; color: var(--ink-soft); margin: 4px 0 0 !important; min-height: 1.5em; }
.rv-b-btn { margin-top: 10px; font: 600 .85rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--green-900); background: transparent; border: 1px solid var(--green-900); border-radius: 2px; padding: 10px 14px; cursor: pointer; min-height: 40px; }
.rv-b-btn[aria-pressed="true"] { background: var(--green-900); color: #fff; }
.rv-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 34px; margin-top: clamp(40px, 5vw, 64px) !important; padding-top: 24px !important; border-top: 1px solid var(--border); font-size: .95rem; color: var(--ink-soft); }
.rv-trust strong { color: var(--green-900); }
@media (max-width: 900px) { .rv-hero-grid { grid-template-columns: minmax(0, 1fr); } .rv-hero-media { max-width: 380px; } .rv-breathe { left: -10px; right: -10px; } }
@media (max-width: 520px) { .rv .button-row .button { width: 100%; text-align: center; } .rv-breathe { position: relative; left: auto; right: auto; margin: -50px 6px 0; } .rv-hero-media { padding-bottom: 0; } }

/* you are not alone */
.rv .rv-alone { background: var(--bone); }
.rv-alone-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.rv-alone-grid > div:first-child p:not(.rv-big):not(.eyebrow) { color: var(--ink-soft); }
.rv-voices { background: var(--green-900); color: #e6ece8; padding: clamp(26px, 3.5vw, 40px); border-radius: 4px; }
.rv-voices .rv-voices-label { font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #e3c995; margin: 0 0 14px; }
.rv-voices ul { list-style: none; display: grid; gap: 4px; padding: 0; margin: 0; }
.rv-voices li { font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.25; color: #fff; }
.rv-voices .rv-voices-foot { margin-top: 18px !important; font-size: 1.02rem; color: #e6ece8; }
@media (max-width: 860px) { .rv-alone-grid { grid-template-columns: minmax(0, 1fr); } }

/* which of these sounds familiar */
.rv .rv-familiar { background: var(--sand); }
.rv-head p { color: var(--ink-soft); }
.rv-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.rv-chip { font: 500 .98rem/1.3 var(--font-body); color: var(--green-900); background: var(--bone); border: 1px solid var(--border); border-radius: 999px; padding: 11px 18px; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; min-height: 44px; text-align: left; }
.rv-chip:hover { border-color: var(--green-700); }
.rv-chip[aria-pressed="true"] { background: var(--green-900); color: #fff; border-color: var(--green-900); }
.rv-chip[aria-pressed="true"]::before { content: "\2713  "; color: var(--sun); }
.rv-match { margin: 22px 0 26px !important; font-size: 1.05rem; color: var(--green-900); min-height: 1.6em; }
.rv-match b { font-weight: 600; }
.rv-cards { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 0; margin: 0; }
.rv-card { position: relative; background: var(--bone); border: 1px solid var(--border); border-radius: 4px; padding: 26px 24px; display: flex; flex-direction: column; transition: opacity .35s, transform .35s, box-shadow .35s, border-color .35s; }
.rv-card .rv-n { font-family: var(--font-display); font-size: 1.1rem; color: var(--gold-text); margin-bottom: 10px; }
.rv-card h3 { margin-bottom: 8px; }
.rv-card p { color: var(--ink-soft); font-size: .98rem; }
.rv-card a { margin-top: auto; padding-top: 16px; font-weight: 600; color: var(--green-900); text-decoration: none; }
.rv-card a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.rv-familiar.has-pick .rv-card { opacity: .5; }
.rv-familiar.has-pick .rv-card.lit { opacity: 1; border-color: var(--gold); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.rv-card.lit::after { content: "Sounds like you"; position: absolute; top: 18px; right: 18px; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; background: var(--sun-soft); color: var(--green-900); padding: 4px 9px; border-radius: 2px; }
.rv-note { margin-top: 26px !important; font-size: .95rem; color: var(--ink-soft); }
.rv-note a { color: var(--green-900); font-weight: 600; }
@media (max-width: 980px) { .rv-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .rv-cards { grid-template-columns: 1fr; } }

/* catie */
.rv .rv-catie { background: var(--cream); }
.rv-catie-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.rv-catie-photo { margin: 0; position: relative; }
.rv-catie-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; box-shadow: 18px 18px 0 -2px var(--sand); }
.rv-catie-photo figcaption { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: .9rem; color: var(--ink-soft); }
.rv-badge { font-family: var(--font-display); font-size: 1.1rem; background: var(--green-900); color: #fff; padding: 4px 10px; border-radius: 2px; }
.rv-catie p:not(.rv-big):not(.eyebrow) { color: var(--ink-soft); }
@media (max-width: 860px) { .rv-catie-grid { grid-template-columns: minmax(0, 1fr); } }

/* why */
.rv .rv-why { background: var(--bone); }
.rv-why-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding: 0; margin: 0; border-top: 1px solid var(--border); }
.rv-why-grid li { padding: 28px 24px 8px 0; border-right: 1px solid var(--border-soft); margin-right: 24px; }
.rv-why-grid li:last-child { border-right: 0; margin-right: 0; }
.rv-why-grid h3 { font-size: 1.4rem; margin-bottom: 8px; }
.rv-why-grid p { color: var(--ink-soft); font-size: .98rem; }
@media (max-width: 980px) { .rv-why-grid { grid-template-columns: 1fr 1fr; } .rv-why-grid li { border-right: 0; margin-right: 0; padding-right: 20px; } }
@media (max-width: 560px) { .rv-why-grid { grid-template-columns: 1fr; } }

/* steps tabs */
.rv .rv-steps { background: var(--cream); }
.rv-steps-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.rv-steps-grid > div:first-child p { color: var(--ink-soft); }
.rv-tabs { background: var(--bone); border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.rv-tablist { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--border); }
.rv-step { display: flex; align-items: center; gap: 10px; font: 600 .92rem/1.25 var(--font-body); color: var(--ink-soft); background: transparent; border: 0; border-bottom: 3px solid transparent; padding: 18px 16px; cursor: pointer; text-align: left; min-height: 64px; }
.rv-step span { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1px solid var(--gold); font-family: var(--font-display); font-size: 1rem; color: var(--green-900); }
.rv-step[aria-selected="true"] { color: var(--green-900); border-bottom-color: var(--sun); background: #fff; }
.rv-step[aria-selected="true"] span { background: var(--green-900); color: #fff; border-color: var(--green-900); }
.rv-panel { padding: clamp(24px, 3vw, 36px); }
.rv-pn { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); margin: 0 0 6px; }
.rv-panel h3 { font-size: 2rem; margin-bottom: 10px; }
.rv-panel p:not(.rv-pn) { font-size: 1.08rem; color: var(--ink-soft); }
@media (max-width: 860px) { .rv-steps-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .rv-step { flex-direction: column; align-items: flex-start; font-size: .82rem; padding: 14px 10px; } }

/* local */
.rv .rv-local { background: var(--bone); }
.rv-local-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.rv-local figure { margin: 0; }
.rv-local img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; }
.rv-local p { color: var(--ink-soft); }
.rv-contact { list-style: none; display: grid; gap: 10px; padding: 0; margin: 22px 0 0; }
.rv-contact li { display: flex; gap: 10px; align-items: flex-start; }
.rv-contact span { min-width: 0; overflow-wrap: anywhere; }   /* lets the email address wrap on 320px screens */
.rv-contact svg { width: 22px; height: 22px; flex: none; padding: 4px; border-radius: 50%; background: var(--green-100); color: var(--green-900); margin-top: 1px; }
.rv-contact a { color: var(--green-900); font-weight: 600; }
@media (max-width: 860px) { .rv-local-grid { grid-template-columns: minmax(0, 1fr); } }

/* cta */
.rv .rv-cta { background: var(--cream); }
.rv-cta-box { background: var(--green-900); color: #e6ece8; border-radius: 4px; padding: clamp(36px, 6vw, 72px); text-align: center; }
.rv-cta-box .eyebrow { color: var(--gold); }
.rv-cta-box h2 { color: #fff; }
.rv-cta-box p { color: #cfd8d2; }
.rv-cta-box .button-row { justify-content: center; }
.rv-cta-box .button--green { background: var(--sun); color: var(--green-900); border-color: var(--sun); }
.rv-cta-box .button--outline { color: #fff; border-color: rgba(255,255,255,.6); }
.rv-cta-box .rv-avail { justify-content: center; color: #cfd8d2; }


/* reveals: only when JS adds .rv-fx */
.rv-fx .rv [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .9s cubic-bezier(.2,.7,.2,1) var(--d, 0ms), transform .9s cubic-bezier(.2,.7,.2,1) var(--d, 0ms); }
.rv-fx .rv [data-reveal].in { opacity: 1; transform: none; }

/* sunflower mark from the logo */
.rv-hero-media > picture, .rv-hero-media > img { position: relative; z-index: 1; display: block; }
.rv-breathe { z-index: 2; }
.rv-sunspin { position: absolute; z-index: 0; width: 132%; aspect-ratio: 1; left: -16%; top: -14%; pointer-events: none;
  background: var(--sun); opacity: .32;
  -webkit-mask: url(../img/sunflower-mask.webp) center / contain no-repeat; mask: url(../img/sunflower-mask.webp) center / contain no-repeat; }
@media (prefers-reduced-motion: no-preference) { .rv-sunspin { animation: rv-spin 90s linear infinite; } }
@keyframes rv-spin { to { transform: rotate(360deg); } }
.rv-sunmark { position: absolute; pointer-events: none; aspect-ratio: 1; background: var(--sun);
  -webkit-mask: url(../img/sunflower-mask.webp) center / contain no-repeat; mask: url(../img/sunflower-mask.webp) center / contain no-repeat; }
.rv-voices, .rv-cta-box { position: relative; overflow: hidden; }
.rv-voices > :not(.rv-sunmark), .rv-cta-box > :not(.rv-sunmark) { position: relative; }
.rv-sm-voices { width: 300px; right: -90px; bottom: -90px; opacity: .1; }
.rv-sm-cta { width: 420px; left: -140px; top: -120px; opacity: .08; }
@media (max-width: 900px) { .rv-sunspin { width: 118%; left: -9%; top: -8%; } }

/* Site override: the local section uses Catie's portrait staircase photo (2:3), so show it uncropped and centered
   instead of the preview's 3:2 landscape crop. */
.rv-local figure { justify-self: center; width: 100%; max-width: 440px; }
.rv-local img { aspect-ratio: auto; height: auto; box-shadow: 18px 18px 0 -2px var(--sand); }
/* Site override: home-v2.js runs its own scroll reveals ([data-reveal]), so turn off the sitewide site.js fade-in
   inside .rv. Otherwise both animate the same blocks. */
.rv .fade-in { opacity: 1; transform: none; }
